|
|
|
@ -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");
|
|
|
|
|
}
|
|
|
|
|