order address apis
This commit is contained in:
@@ -124,6 +124,13 @@ func DecryptPhone(phone string) (string, Error) {
|
||||
return newPhone, nil
|
||||
}
|
||||
|
||||
func DecryptPhoneReplace(mobile string) string {
|
||||
if len(mobile) < NumberEleven {
|
||||
return mobile
|
||||
}
|
||||
return mobile[:NumberThree] + "****" + mobile[NumberSeven:NumberEleven]
|
||||
}
|
||||
|
||||
func GetSearchPhone(mobile string) string {
|
||||
phone := StringEmpty
|
||||
if len(mobile) == 11 {
|
||||
|
||||
@@ -52,6 +52,7 @@ const (
|
||||
StoreAuthBind = 1 // 绑定
|
||||
StoreAuthUnBind = 2 // 解绑
|
||||
|
||||
StatusOk = 1 //正常
|
||||
StatusApply = 2 //申请
|
||||
StatusFirstVerify = 3 //一审
|
||||
StatusSecondVerify = 4 //二审
|
||||
@@ -61,6 +62,7 @@ const (
|
||||
StatusAdminSecondVerify = 14 //二审
|
||||
StatusAdminWaitPass = 19 //等待审核
|
||||
StatusAdminSecondRefuse = 16 //审核失败
|
||||
StatusDel = 7 //删除
|
||||
|
||||
RpcTimeOut = 5000 //服务连接超时时间 毫秒
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user