This commit is contained in:
邹宗楠
2023-03-10 19:53:36 +08:00
parent b333ab9a13
commit 35bcefb69c

View File

@@ -3,7 +3,7 @@ package tiktok_store
import ( import (
"errors" "errors"
"fmt" "fmt"
"github.com/xluohome/phonedata" "git.rosy.net.cn/baseapi/platformapi/tiktok_shop/ascription_place"
"regexp" "regexp"
"strings" "strings"
"time" "time"
@@ -240,7 +240,8 @@ func (p *PurchaseHandler) getOrder(vendorOrgCode, vendorOrderID, vendorStoreID s
// 抖音订单手机号和收货地址是否同城 // 抖音订单手机号和收货地址是否同城
order.PhoneAscription = "" order.PhoneAscription = ""
ascription, err := phonedata.Find(order.ConsigneeMobile) //ascription, err := phonedata.Find(order.ConsigneeMobile)
ascription, err := ascription_place.Find(order.ConsigneeMobile)
globals.SugarLogger.Debugf("=============ascription=:%s", utils.Format4Output(ascription, false)) globals.SugarLogger.Debugf("=============ascription=:%s", utils.Format4Output(ascription, false))
globals.SugarLogger.Debugf("=============err=:%v", err) globals.SugarLogger.Debugf("=============err=:%v", err)
if err != nil { if err != nil {