|
@@ -134,7 +134,11 @@ public class TmsStudentInfoController extends BaseController {
|
|
|
@GetMapping("/updateStudentAppCoachIdById")
|
|
|
@ApiOperation("根据学员ID绑定APP教练员")
|
|
|
public Response updateStuAppCoachIdById(TmsStudentInfoQrDTO studentInfoQrDTO) {
|
|
|
- return Response.success(studentInfoService.upStuAppCoachIdById(studentInfoQrDTO));
|
|
|
+ try {
|
|
|
+ return Response.success(studentInfoService.upStuAppCoachIdById(studentInfoQrDTO));
|
|
|
+ } catch (Exception e) {
|
|
|
+ return Response.success("系统开小差了,请重试");
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
|