Explorar o código

附件下载 接口修改

Jianghan hai 1 ano
pai
achega
afab84123e
Modificáronse 1 ficheiros con 2 adicións e 3 borrados
  1. 2 3
      src/jfw/modules/subscribepay/src/service/basePack.go

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

@@ -62,12 +62,11 @@ func (this *ResourcePack) ConsumePack() {
 			productName = "大客户平台"
 		}
 		resResp := config.Middleground.ResourceCenter.Haspowers(qutil.Int64All(this.GetSession("accountId")), qutil.Int64All(this.GetSession("entAccountId")),
-			qutil.Int64All(this.GetString("entId")), qutil.Int64All(this.GetSession("entUserId")))
+			qutil.Int64All(this.GetSession("entId")), qutil.Int64All(this.GetSession("entUserId")))
 		if resResp != nil && strings.Contains(strings.Join(resResp.Powers, ","), "bi_yx_topnet") {
-			log.Println("拓普查询--", resResp.Powers)
 			productName = "拓普情报权益"
 		}
-		log.Println(infoType, "----", remarks)
+		log.Println("----ConsumePack----", infoType, remarks, productName)
 		Ret, Msg, Code := entity.JyConsumePack(userId, productName, platform, remarks, this.Session())
 		if Msg != "" && Code == 0 {
 			return nil, fmt.Sprintf("%s 使用异常:%s", productName, Msg)