diff --git a/platformapi/jdshopapi/store_page.go b/platformapi/jdshopapi/store_page.go index bddebfd1..91bf4101 100644 --- a/platformapi/jdshopapi/store_page.go +++ b/platformapi/jdshopapi/store_page.go @@ -444,7 +444,11 @@ func (a *API) PhoneSensltiveInfo(orderId, accessKey string) (fakeMobile string, "token": JdsMobileToken, }, true) if err == nil { - fakeMobile = result["model"].(map[string]interface{})["phone"].(string) + if result["model"].(map[string]interface{})["phone"] == nil { + fakeMobile = result["model"].(map[string]interface{})["mobile"].(string) + } else { + fakeMobile = result["model"].(map[string]interface{})["phone"].(string) + } } return fakeMobile, err }