|
|
@@ -1,8 +1,6 @@
|
|
|
package product_controller
|
|
|
|
|
|
import (
|
|
|
- "github.com/astaxie/beego"
|
|
|
-
|
|
|
// "fmt"
|
|
|
"strconv"
|
|
|
"strings"
|
|
|
@@ -324,7 +322,7 @@ func (self *ProductController) GetProductSizesByPid() {
|
|
|
if prodSize != nil {
|
|
|
size := &product_model.ProductAttr{}
|
|
|
size.Id = attr.Id
|
|
|
- beego.BeeLogger.Warn("size_id --- %d", size.Id)
|
|
|
+ //beego.BeeLogger.Warn("size_id --- %d", size.Id)
|
|
|
size.Name = attr.Name
|
|
|
productKeyConfig.ProductAttr = append(productKeyConfig.ProductAttr, size)
|
|
|
}
|
|
|
@@ -338,7 +336,7 @@ func (self *ProductController) GetProductSizesByPid() {
|
|
|
if prodColor != nil {
|
|
|
size := &product_model.ProductAttr{}
|
|
|
size.Id = attr.Id
|
|
|
- beego.BeeLogger.Warn("color_id --- %d", size.Id)
|
|
|
+ //beego.BeeLogger.Warn("color_id --- %d", size.Id)
|
|
|
size.Name = attr.Name
|
|
|
productKeyConfig.ProductAttr = append(productKeyConfig.ProductAttr, size)
|
|
|
}
|