Browse Source

feat:注释日志

wangshan 3 years ago
parent
commit
8c52f3ee4e

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

@@ -226,7 +226,7 @@ func (this *FindRecordStruct) FindJyConsumePackAllRecord() ([]map[string]interfa
 		"s_product": this.Name,
 		"s_month":   this.QueryTime,
 	}
-	log.Println("query:", query, "---", this.Page, this.PageSize)
+	// log.Println("query:", query, "---", this.Page, this.PageSize)
 	//当月
 	total := util.MQFW.Count(jyCC, query)
 	// query["s_month"] = this.QueryTime

+ 1 - 1
src/jfw/modules/subscribepay/src/entity/dataExportPackApi.go

@@ -29,7 +29,7 @@ func commonPost(path string, param url.Values) (map[string]interface{}, error) {
 	defer res.Body.Close()
 	bs, _ := ioutil.ReadAll(res.Body)
 	resMap := map[string]interface{}{}
-	log.Println("req", param.Encode(), "body:", string(bs), "err", err)
+	// log.Println("req", param.Encode(), "body:", string(bs), "err", err)
 	err = json.Unmarshal(bs, &resMap)
 	if err != nil {
 		return nil, fmt.Errorf("%s 请求中台返回内容异常 %s", path, string(bs))

+ 1 - 1
src/jfw/modules/subscribepay/src/util/msgremind.go

@@ -48,7 +48,7 @@ type unpaidOrder struct {
  *@param productType 产品类型
  */
 func (m *msgRemind) add(orderId, orderMoney, vipType, remindStatus int, orderCode, userId string, createTime int64, productType string) {
-	log.Println("未支付待提醒订单加入", orderId, orderCode, userId, createTime)
+	// log.Println("未支付待提醒订单加入", orderId, orderCode, userId, createTime)
 	m.unpaidOrders.Store(orderId, &unpaidOrder{
 		orderCode:    orderCode,
 		userId:       userId,