master
wangning 7 years ago
parent 9a51b08d41
commit 601e678e09

@ -448,10 +448,13 @@ public class RetailAppController {
}
@RequestMapping(value = "/qrcode", method = RequestMethod.GET)
public JSONObject getQrcode(@ModelAttribute(RETAIL_DEVICE) JSONObject device,@RequestParam(required = false,defaultValue = "0") int client_id, QRCodeConfig config) {
public JSONObject getQrcode(@ModelAttribute(RETAIL_DEVICE) JSONObject device,@RequestParam(required = false,defaultValue = "0") int client_id, QRCodeConfig config,@RequestParam(required = false,defaultValue = "0") int app_client_ids) {
if(client_id==0){
client_id = device.getIntValue("client_id");
}
if(app_client_ids!=0){
client_id = app_client_ids;
}
return retailAppService.getQrcode(device,config,client_id);
}

Loading…
Cancel
Save