Selaa lähdekoodia

Merge branch 'dev_v4.8.72_wh' of qmx/jy into feature/v4.8.72

王浩 1 vuosi sitten
vanhempi
commit
3d9fa8e1b5
1 muutettua tiedostoa jossa 3 lisäystä ja 2 poistoa
  1. 3 2
      src/jfw/modules/subscribepay/src/entity/basePack.go

+ 3 - 2
src/jfw/modules/subscribepay/src/entity/basePack.go

@@ -60,7 +60,7 @@ func (this *UseBalanceStruct) fileConsume() (r map[string]interface{}, m string,
 		} else {
 			r = fileAttachRpc(_fileName, _id)
 		}
-		go func(this *UseBalanceStruct, r map[string]interface{}) {
+		/*go func(this *UseBalanceStruct, r map[string]interface{}) {
 			data := make(map[string]interface{})
 			data["p_type"] = "大会员用户附件下载"
 			data["p_userid"] = this.UserId
@@ -72,7 +72,8 @@ func (this *UseBalanceStruct) fileConsume() (r map[string]interface{}, m string,
 			if util.MQFW.Save("filehistroy", data) == "" {
 				log.Println("大会员附件下载-历史记录异常:" + this.UserId)
 			}
-		}(this, r)
+		}(this, r)*/
+		this.saveJyConsumePackList()
 	} else {
 		isExists := false
 		//查询当月附件下载历史记录-如是已下载过的附件不再扣除次数