master
wangning 7 years ago
parent 264ec82506
commit 39185f20d9

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

Loading…
Cancel
Save