|
|
|
@ -319,9 +319,7 @@ public class RetailAppController {
|
|
|
|
|
|
|
|
|
|
@RequestMapping(value = "/modify/retail_surcharge", method = RequestMethod.PUT)
|
|
|
|
|
public JSONObject setCustomerPayForSurcharge(@ModelAttribute(CommonConsts.RETAIL_DEVICE) JSONObject device, @RequestBody JSONObject config) {
|
|
|
|
|
JSONObject result =retailAppService.updateRetailConfig(device, config.getBooleanValue("retail_surcharge"));
|
|
|
|
|
logger.info(result.toJSONString());
|
|
|
|
|
return result;
|
|
|
|
|
return retailAppService.updateRetailConfig(device, config.getBooleanValue("retail_surcharge"));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@RequestMapping(value = "/modify/require_remark", method = RequestMethod.PUT)
|
|
|
|
@ -551,4 +549,9 @@ public class RetailAppController {
|
|
|
|
|
return retailAppService.openimCheck(device);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@RequestMapping(value = "/openim/chat",method = RequestMethod.POST)
|
|
|
|
|
public void openimChat(@ModelAttribute(RETAIL_DEVICE) JSONObject device,@RequestBody JSONObject param) {
|
|
|
|
|
retailAppService.addUnreadMsg(device,param);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|