From f7732884fb5148b480651a7542d434d43ee27dfd Mon Sep 17 00:00:00 2001 From: jiazhipeng Date: Wed, 9 Jul 2025 11:22:43 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B6=E8=B4=A7=E5=9C=B0=E5=9D=80=E8=84=B1?= =?UTF-8?q?=E6=95=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/old/linkman/index.js | 3 ++- pages/order/components/address/index.js | 9 ++++++--- pages/order/hotel/index.js | 6 ++++-- pages/order/roadOrder/index.js | 3 ++- pages/user/address/index.js | 1 + 5 files changed, 15 insertions(+), 7 deletions(-) diff --git a/pages/old/linkman/index.js b/pages/old/linkman/index.js index f5389e2..1428193 100644 --- a/pages/old/linkman/index.js +++ b/pages/old/linkman/index.js @@ -55,7 +55,8 @@ Page({ user.user_post("user/getContactOrConsignee", { contactType:"CONTACT", offset: this.data.list.length, - limit: 10 + limit: 10, + tm_flag: true, }).then(res => { let list = this.data.list.concat(res.data),isMore = true; if(res.data.length<10){ diff --git a/pages/order/components/address/index.js b/pages/order/components/address/index.js index 98e5ad6..b105bf0 100644 --- a/pages/order/components/address/index.js +++ b/pages/order/components/address/index.js @@ -34,7 +34,8 @@ Component({ this.getLinkmanList() } else { userApi.user_post("user/getDefaultContact", { - contactType: "CONSIGNEE" + contactType: "CONSIGNEE", + tm_flag: true, }).then(res => { this.setData({ selectLinkman: res.data @@ -162,7 +163,8 @@ Component({ userApi.user_post("user/getContactOrConsignee", { contactType: "CONSIGNEE", offset: 0, - limit: 1000 + limit: 1000, + tm_flag: true, }).then(res => { let list = res.data; this.setData({ @@ -251,7 +253,8 @@ Component({ commonApi.user_post("token/check").then(res => { if (res.code == 1) { userApi.user_post("user/getDefaultContact", { - contactType: "CONSIGNEE" + contactType: "CONSIGNEE", + tm_flag: true, }).then(res => { console.log(res) this.setData({ diff --git a/pages/order/hotel/index.js b/pages/order/hotel/index.js index 131c265..057a25b 100644 --- a/pages/order/hotel/index.js +++ b/pages/order/hotel/index.js @@ -44,7 +44,8 @@ Page({ let CtripHotelCart = app.globalData.product; // 获取默认联系人 userApi.user_post("user/getDefaultContact",{ - contactType:"CONTACT" + contactType:"CONTACT", + tm_flag: true, }).then(res=>{ if(res.data){ this.setData({ @@ -193,7 +194,8 @@ Page({ userApi.user_post("user/getContactOrConsignee",{ contactType:"CONTACT", offset:0, - limit:1000 + limit:1000, + tm_flag: true, }).then(res=>{ let list = res.data; list.map(item=>{ diff --git a/pages/order/roadOrder/index.js b/pages/order/roadOrder/index.js index 333ef3a..ed17b65 100644 --- a/pages/order/roadOrder/index.js +++ b/pages/order/roadOrder/index.js @@ -103,7 +103,8 @@ Page({ userApi.user_post("user/getContactOrConsignee",{ contactType:"CONTACT", offset:0, - limit:1000 + limit:1000, + tm_flag: true, }).then(res=>{ let list = res.data; this.setData({ diff --git a/pages/user/address/index.js b/pages/user/address/index.js index 333927b..be0012c 100644 --- a/pages/user/address/index.js +++ b/pages/user/address/index.js @@ -49,6 +49,7 @@ Page({ contactType:"CONSIGNEE", offset: this.data.list.length, limit:10, + tm_flag: true, }).then(res=>{ let list = this.data.list.concat(res.data), isMore = true; if(res.data.length<10){