This commit is contained in:
2025-04-09 17:27:40 +08:00
parent f6a38a1246
commit 07b33ec35d
23 changed files with 1239 additions and 175 deletions

View File

@@ -3,7 +3,7 @@ package rpcserver
import (
"context"
"qnc-server/common/xerr"
"tyc-server/common/xerr"
"github.com/pkg/errors"
"github.com/zeromicro/go-zero/core/logx"

View File

@@ -2,8 +2,8 @@ package uniqueid
import (
"fmt"
"qnc-server/common/tool"
"time"
"tyc-server/common/tool"
)
// 生成sn单号

View File

@@ -14,7 +14,9 @@ const DB_ERROR uint32 = 100005
const DB_UPDATE_AFFECTED_ZERO_ERROR uint32 = 100006
const PARAM_VERIFICATION_ERROR uint32 = 100007
const CUSTOM_ERROR uint32 = 100008
const USER_NOT_FOUND uint32 = 100009
const LOGIN_FAILED uint32 = 200001
const LOGIC_QUERY_WAIT uint32 = 200002
const LOGIC_QUERY_ERROR uint32 = 200003
const LOGIC_QUERY_NOT_FOUND uint32 = 200004