|
@@ -142,7 +142,7 @@ class ProductDetailViewController: BaseViewController {
|
|
|
|
|
|
/// 获取商家商品列表
|
|
/// 获取商家商品列表
|
|
private func productListApi() {
|
|
private func productListApi() {
|
|
- SwiftMoyaNetWorkServiceProduct.shared().productListApi(page: 1, shopId: shopId ?? 0,desc: 1, fieldOrder: 0) {
|
|
|
|
|
|
+ SwiftMoyaNetWorkServiceProduct.shared().productListApi(page: 1, shopId: shopId ?? 0,desc: 1, fieldOrder: 1) {
|
|
[weak self] (productListModel) -> (Void) in
|
|
[weak self] (productListModel) -> (Void) in
|
|
let productSearchListModel = productListModel as? ProductSearchListModel
|
|
let productSearchListModel = productListModel as? ProductSearchListModel
|
|
self?.productDetailView.productSearchListModel = productSearchListModel
|
|
self?.productDetailView.productSearchListModel = productSearchListModel
|