Explorar o código

商品资料part1

Aslee %!s(int64=3) %!d(string=hai) anos
pai
achega
2a8909c18b

+ 3 - 3
src/main/java/com/caimei365/user/service/impl/ClubServiceImpl.java

@@ -309,12 +309,12 @@ public class ClubServiceImpl implements ClubService {
         beansHistory.setUserId(userId);
         beansHistory.setArchiveId(archiveId);
         beansHistory.setBeansType(13);
-        beansHistory.setType(1);
-        beansHistory.setNum(500);
+        beansHistory.setType(2);
+        beansHistory.setNum(100);
         beansHistory.setPushStatus(0);
         beansHistory.setAddTime(new Date());
         registerMapper.insertBeansHistory(beansHistory);
-        beansNum = beansNum - 50;
+        beansNum = beansNum - 100;
         clubMapper.updateUserBeans(userId, beansNum);
         return ResponseJson.success("抵扣成功");
     }