Browse Source

收货地址脱敏

master
jiazhipeng 9 months ago
parent
commit
f7732884fb
  1. 3
      pages/old/linkman/index.js
  2. 9
      pages/order/components/address/index.js
  3. 6
      pages/order/hotel/index.js
  4. 3
      pages/order/roadOrder/index.js
  5. 1
      pages/user/address/index.js

3
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){

9
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({

6
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=>{

3
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({

1
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){

Loading…
Cancel
Save