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