소스 검색

fit:免费附件下载

wangshan 3 년 전
부모
커밋
be1db2c415
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      src/jfw/modules/subscribepay/src/entity/basePack.go

+ 1 - 0
src/jfw/modules/subscribepay/src/entity/basePack.go

@@ -108,6 +108,7 @@ func (this *UseBalanceStruct) fileConsume() (r map[string]interface{}, m string,
 	} else {
 		//判断免费用户是否有留资下载权限
 		if _, _, freeFileNum := jy.FreeExperience(this.UserId); freeFileNum == 1 {
+			r = fileAttachRpc(_fileName, _id)
 			//免费用户下载后取消下载权限
 			redis.PutKV(fmt.Sprintf(jy.PowerCacheFileKey, this.UserId), -1)
 		} else {