소스 검색

fix product_controller.go 116 log

abiao 5 년 전
부모
커밋
73ea4c0b81
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      go/gopath/src/fohow.com/apps/models/product_model/product_attr.go

+ 1 - 1
go/gopath/src/fohow.com/apps/models/product_model/product_attr.go

@@ -58,7 +58,7 @@ func GetProductAttrConfig(productId int64) (pa *ProductAttrConfig) {
 	pa = &ProductAttrConfig{}
 	if err := orm.NewOrm().QueryTable(pa).Filter("product_id", productId).Limit(1).
 		One(pa); err != nil {
-		beego.BeeLogger.Error("get product attr config by record_id=%s err=%s", productId, err)
+		//beego.BeeLogger.Error("get product attr config by record_id=%s err=%s", productId, err)
 		return nil
 	}
 	return pa