Selaa lähdekoodia

小程序更新为token请求

shen 4 vuotta sitten
vanhempi
commit
e63d6c6e1e
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. 2 2
      go/gopath/src/fohow.com/apps/models/product_model/product.go

+ 2 - 2
go/gopath/src/fohow.com/apps/models/product_model/product.go

@@ -129,8 +129,8 @@ func GetLatest(page, perPage, recommend, priceSort, saleSort int64, ptype string
 			return ret
 		}
 	}
-	priceSql := ""
-	saleSql := ""
+	priceSql := "1"
+	saleSql := "1"
 	if priceSort == int64(1) {
 		//降序
 		priceSql = "-price"