|
@@ -46,8 +46,8 @@ public class UserServiceApiController extends BaseApiController {
|
|
|
@RequestMapping(value = "/updateUseService",method = RequestMethod.POST)
|
|
@RequestMapping(value = "/updateUseService",method = RequestMethod.POST)
|
|
|
public Result updateUseService(InputUserServiceFollow us) {
|
|
public Result updateUseService(InputUserServiceFollow us) {
|
|
|
Result res =new Result();
|
|
Result res =new Result();
|
|
|
- if(us.getUid()==null) {
|
|
|
|
|
- res.getError().add(buildError(ErrorConstants.PARAM_ERROR, "用户编号"));
|
|
|
|
|
|
|
+ if(us.getOrderNo()==null) {
|
|
|
|
|
+ res.getError().add(buildError(ErrorConstants.PARAM_ERROR, "订单编号"));
|
|
|
}
|
|
}
|
|
|
res.data(userServiceService.updateUseService(us));
|
|
res.data(userServiceService.updateUseService(us));
|
|
|
return res;
|
|
return res;
|