From ef51049ed41b685c437a49f12d231f9b33937ee0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?lemon=E6=A9=AA?= <17633066053@163.com>
Date: Thu, 1 Jul 2021 11:16:46 +0800
Subject: [PATCH] =?UTF-8?q?=E5=88=86=E9=94=80=E5=95=86=E9=93=BA=E8=A7=A3?=
=?UTF-8?q?=E7=BB=91=EF=BC=8C=E4=BC=98=E5=8C=96=E5=95=86=E5=93=81=E5=94=AE?=
=?UTF-8?q?=E5=90=8E=E9=83=A8=E5=88=86=E7=9A=84=E6=B5=81=E7=A8=8B?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
api/goods.js | 5 +-
config/api.js | 2 +
manifest.json | 4 +-
pages/mine/distribution/history.vue | 35 ++++++--
pages/mine/distribution/home.vue | 8 +-
pages/mine/distribution/list.vue | 120 +++++++++++++++++++-------
pages/order/afterSales/afterSales.vue | 20 +++--
pages/order/myOrder.vue | 36 +++++---
pages/passport/codeLogin.vue | 5 +-
pages/tabbar/cart/cartList.vue | 3 +-
10 files changed, 173 insertions(+), 65 deletions(-)
diff --git a/api/goods.js b/api/goods.js
index 2545438..89097f9 100644
--- a/api/goods.js
+++ b/api/goods.js
@@ -197,10 +197,11 @@ export function distributionGoods(params) {
/**
* 选择分销商品 分销商品id
*/
-export function checkedDistributionGoods(id) {
+export function checkedDistributionGoods(params) {
return http.request({
- url: `/distributionGoods/checked/${id}`,
+ url: `/distributionGoods/checked/${params.id}`,
method: Method.GET,
+ params
});
}
diff --git a/config/api.js b/config/api.js
index 96131ba..eed88ad 100644
--- a/config/api.js
+++ b/config/api.js
@@ -6,6 +6,8 @@
const dev = {
common: "https://common-api.pickmall.cn",
buyer: "https://buyer-api.pickmall.cn",
+ // common: "http://192.168.0.109:8890",
+ // buyer: "http://192.168.0.109:8888",
};
// 生产环境
const prod = {
diff --git a/manifest.json b/manifest.json
index 852b56d..023f197 100644
--- a/manifest.json
+++ b/manifest.json
@@ -2,8 +2,8 @@
"name" : "lili商城",
"appid" : "__UNI__C100675",
"description" : "",
- "versionName" : "4.0.21",
- "versionCode" : 4000021,
+ "versionName" : "4.0.22",
+ "versionCode" : 4000022,
"transformPx" : false,
"app-plus" : {
"compatible" : {
diff --git a/pages/mine/distribution/history.vue b/pages/mine/distribution/history.vue
index dc03eb0..91db9fc 100644
--- a/pages/mine/distribution/history.vue
+++ b/pages/mine/distribution/history.vue
@@ -1,6 +1,7 @@