|
|
@@ -62,6 +62,11 @@ public class IntegrationFeignController {
|
|
|
@ResponseBody
|
|
|
@OperationLog(type = OperateType.FEIGN,description = "新增积分详情数据")
|
|
|
public VaultsResponse saveDetail(@RequestBody List<CustomerIntegration> customerIntegration){
|
|
|
- return iIntegralDetailService.saveDetail(customerIntegration);
|
|
|
+ try {
|
|
|
+ return iIntegralDetailService.saveDetail(customerIntegration);
|
|
|
+ }catch (Exception e){
|
|
|
+ return VaultsResponse.failed();
|
|
|
+ }
|
|
|
+
|
|
|
}
|
|
|
}
|