|
@@ -500,6 +500,7 @@ func (this *OverseasCustomController) CustomLabelStatistics() {
|
|
|
|
|
|
keywords := this.GetString("Keywords", "")
|
|
|
sellerId, _ := this.GetInt("SellerId", 0)
|
|
|
+ customType, _ := this.GetInt("CustomType", 0)
|
|
|
|
|
|
obj := new(overseas_custom.Custom)
|
|
|
|
|
@@ -534,6 +535,15 @@ func (this *OverseasCustomController) CustomLabelStatistics() {
|
|
|
condition += ` AND m.seller_id=? `
|
|
|
pars = append(pars, sellerId)
|
|
|
}
|
|
|
+
|
|
|
+ if customType == 2 {
|
|
|
+ condition += ` AND m.is_hide=? `
|
|
|
+ pars = append(pars, 1)
|
|
|
+ } else {
|
|
|
+ condition += ` AND m.is_hide=? `
|
|
|
+ pars = append(pars, 0)
|
|
|
+ }
|
|
|
+
|
|
|
overseasLabelDataList, err := obj.GetCustomOverseasLabelTotal(condition, pars)
|
|
|
if err != nil {
|
|
|
br.Msg = "获取失败"
|