guozhaoshun 6 years ago
parent
commit
e9b87ff922

+ 1 - 1
rankin-user-service/src/main/java/cn/rankin/userservice/controller/QRCodeController.java

@@ -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("扫码成功");