feat:applyType

This commit is contained in:
苏竹红
2025-06-24 18:08:34 +08:00
parent 86e6c0a306
commit 84574c905a
3 changed files with 8 additions and 8 deletions

View File

@@ -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()));
}