|
@@ -54,7 +54,7 @@ public class QRCodeController {
|
|
|
QRCode entity = qrcodeService.findFirst(qrcode);
|
|
|
|
|
|
if(status){
|
|
|
- qrcodeCallback(eid, qrcode.getSimple(), dataMap);
|
|
|
+ qrcodeCallback(eid, entity.getSimple(), dataMap);
|
|
|
entity.setStatus(2);
|
|
|
qrcodeService.update(entity);
|
|
|
return APIResult.ok("扫码成功");
|