feat:applyType
This commit is contained in:
@@ -32,14 +32,14 @@ public class MiniPreFryQualificationApplyController {
|
||||
|
||||
@ApiOperation("预炸资质申请提交")
|
||||
@PostMapping("/submitApply")
|
||||
public ResponseResult<Boolean> submitApply(@RequestBody @Validated ApplyDTO dto) {
|
||||
public ResponseResult<Long> submitApply(@RequestBody @Validated ApplyDTO dto) {
|
||||
log.info("预炸资质申请提交:{}", JSONObject.toJSONString(dto));
|
||||
return ResponseResult.success(preFryQualificationApplyService.submitApply( dto, PartnerUserHolder.getUser()));
|
||||
}
|
||||
|
||||
@ApiOperation("预炸资质申请重新提交")
|
||||
@PostMapping("/reSubmitApply")
|
||||
public ResponseResult<Boolean> reSubmitApply(@RequestBody @Validated ApplyDTO dto) {
|
||||
public ResponseResult<Long> reSubmitApply(@RequestBody @Validated ApplyDTO dto) {
|
||||
log.info("预炸资质申请重新提交:{}", JSONObject.toJSONString(dto));
|
||||
return ResponseResult.success(preFryQualificationApplyService.reSubmitApply( dto, PartnerUserHolder.getUser()));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user