order address apis

This commit is contained in:
2026-08-25 08:58:22 +08:00
parent 1c85f16c2e
commit a21b93f569
25 changed files with 1123 additions and 185 deletions
+7
View File
@@ -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 {
+2
View File
@@ -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 //服务连接超时时间 毫秒
)