File was renamed from gc-user/src/main/java/com/xzx/gc/user/controller/FxSysController.java |
| | |
| | | import com.xzx.gc.common.constant.Constants; |
| | | import com.xzx.gc.common.request.BaseController; |
| | | import com.xzx.gc.model.JsonResult; |
| | | import com.xzx.gc.user.dto.ViewFxsysDto; |
| | | import com.xzx.gc.user.dto.ViewJhyInfoDto; |
| | | import com.xzx.gc.user.dto.ViewSettingDto; |
| | | import com.xzx.gc.user.service.FxSysService; |
| | | import com.xzx.gc.user.vo.ViewFxsysVo; |
| | | import com.xzx.gc.user.vo.ViewJhyInfoVo; |
| | | import com.xzx.gc.user.vo.ViewSettingVo; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import io.swagger.annotations.ApiResponse; |
| | |
| | | |
| | | @RestController |
| | | @Api(tags = {"分銷系統管理"}) |
| | | public class FxSysController extends BaseController { |
| | | public class AdminDistribController extends BaseController { |
| | | |
| | | @Autowired |
| | | private FxSysService fxSysService; |
| | |
| | | /** |
| | | * 查看分銷系統设置详情 |
| | | */ |
| | | @PostMapping(Constants.ADMIN_VIEW_PREFIX + "/fxsys/viewFxsys.json") |
| | | @ApiResponses({@ApiResponse( code = 200, message = "success", response = ViewFxsysVo.class)}) |
| | | @PostMapping(Constants.ADMIN_VIEW_PREFIX + "/distrib/setting.json") |
| | | @ApiResponses({@ApiResponse( code = 200, message = "success", response = ViewSettingVo.class)}) |
| | | @ApiOperation(value="分銷系統管理-查看分銷系統设置详情", notes="test: 仅0有正确返回") |
| | | public JsonResult<ViewFxsysVo> viewFxsys(@RequestBody ViewFxsysDto viewFxsysDto) { |
| | | Long id = viewFxsysDto.getId(); |
| | | ViewFxsysVo viewFxsysVo = fxSysService.viewFxsys(id); |
| | | return JsonResult.success(viewFxsysVo); |
| | | public JsonResult<ViewSettingVo> viewSetting(@RequestBody ViewSettingDto viewSettingDto) { |
| | | Long id = viewSettingDto.getId(); |
| | | ViewSettingVo viewSettingVo = fxSysService.viewSetting(id); |
| | | return JsonResult.success(viewSettingVo); |
| | | } |
| | | |
| | | |