代码迁移
This commit is contained in:
parent
22232fbbf7
commit
539c46bbab
|
|
@ -226,12 +226,7 @@ public class BackReceiveController extends BaseController {
|
|||
@PostMapping("/endBack")
|
||||
public AjaxResult endBack(@RequestBody BackApplyInfo record) {
|
||||
try {
|
||||
int res = backReceiveService.endBack(record);
|
||||
if (res > 0) {
|
||||
return AjaxResult.success("接收成功");
|
||||
} else {
|
||||
return AjaxResult.error("接收失败");
|
||||
}
|
||||
return AjaxResult.success(backReceiveService.endBack(record));
|
||||
} catch (Exception e) {
|
||||
throw new RuntimeException(e);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue