Procházet zdrojové kódy

Merge remote-tracking branch 'origin/master'

shuzhan před 2 roky
rodič
revize
fa54f42254

+ 1 - 0
common/src/main/java/com/jpsoft/education/modules/wechat/entity/AccessToken.java

@@ -3,6 +3,7 @@ package com.jpsoft.education.modules.wechat.entity;
 import lombok.Data;
 
 /**
+ *
  * @author 墨鱼_mo
  * @date 2019-12-11 15:29
  */

+ 0 - 1
common/src/main/java/com/jpsoft/education/modules/wechat/vo/UserInfo.java

@@ -4,7 +4,6 @@ import lombok.Data;
 
 /**
  * 微信通用接口凭证
- * 
  * @author lt
  * @date 2013-08-08
  */

+ 3 - 1
web/src/main/java/com/jpsoft/education/modules/base/controller/BuyLogController.java

@@ -220,9 +220,11 @@ public class BuyLogController {
         MessageResult<BuyLog> msgResult = new MessageResult<>();
 
         try {
+            Date now = new Date();
             buyLog.setModifyBy(subject);
-            buyLog.setModifyTime(new Date());
+            buyLog.setModifyTime(now);
             buyLog.setStatus("1");
+            buyLog.setBuyTime(now);
 
             int affectCount = buyLogService.update(buyLog);