From 3bc479edd86d90134d65e1a440545efad7835783 Mon Sep 17 00:00:00 2001 From: xpz2018 <107107461@qq.com> Date: Thu, 14 Jan 2021 16:55:22 +0800 Subject: [PATCH] no message --- pages/agent/index/index.js | 1 - pages/agent/index/index.wxml | 1 - pages/api/ztb.js | 2 +- pages/mall/index/index.js | 1 - 4 files changed, 1 insertion(+), 4 deletions(-) diff --git a/pages/agent/index/index.js b/pages/agent/index/index.js index 7b22c9f..158ab81 100644 --- a/pages/agent/index/index.js +++ b/pages/agent/index/index.js @@ -73,7 +73,6 @@ Page({ this.setData({ requesting: true }) } getFactoryPrice(this.data.form).then(result => { - //成功回调 if (result.data.records.length) { var respList = result.data.records let nowList = `orderList[${this.data.orderList.length}]` diff --git a/pages/agent/index/index.wxml b/pages/agent/index/index.wxml index 0e2a6da..924aef2 100644 --- a/pages/agent/index/index.wxml +++ b/pages/agent/index/index.wxml @@ -10,7 +10,6 @@ - diff --git a/pages/api/ztb.js b/pages/api/ztb.js index 5ae907f..eac6607 100644 --- a/pages/api/ztb.js +++ b/pages/api/ztb.js @@ -18,7 +18,7 @@ const getSuccessNotices = () => mPost(`/recycle-service/get/recently-order-succe // /get/all-paper-mill 获取全部纸厂列表 const getAllFactoryList = () => mGet(`/recycle-service/get/all-paper-mill`, null, zconfig) // /get/paper-mill-paper-category-price-list 获取纸厂品类价格信息列表 -const getFactoryPrice = () => mGet(`/recycle-service/get/paper-mill-paper-category-price-list`, null, zconfig) +const getFactoryPrice = (params) => mGet(`/recycle-service/get/paper-mill-paper-category-price-list`, params, zconfig) // /get/paper-mill-paper-category-price-details/{id} 获取纸厂品类价格信息详情 const getFactoryPriceDetail = (id) => mGet(`/recycle-service/get/paper-mill-paper-category-price-details/${id}`, null, zconfig) // /get/paper-mill-city 获取纸厂所有地区列表 diff --git a/pages/mall/index/index.js b/pages/mall/index/index.js index c078262..6a7641e 100644 --- a/pages/mall/index/index.js +++ b/pages/mall/index/index.js @@ -277,7 +277,6 @@ Component({ this.setData({ ['requesting[2]']: true }) } getFactoryPrice(this.data.form[2]).then(result => { - //成功回调 if (result.data.records.length) { var respList = result.data.records let nowList = `orderList2[${this.data.orderList2.length}]`