Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
hilo-user
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
chenweijian
hilo-user
Commits
b6b9a778
Commit
b6b9a778
authored
Jun 13, 2023
by
chenweijian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
错误码
parent
4ba02fe6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
3 deletions
+18
-3
3.9.0.sql
mysql/3.9.0.sql
+16
-1
cp_relation.go
route/cp_r/cp_relation.go
+2
-2
No files found.
mysql/3.9.0.sql
View file @
b6b9a778
...
...
@@ -193,4 +193,19 @@ VALUES (251, 'zh', "已解绑CP,CP值被清空,CP特权已消失"),
(
251
,
'ca'
,
"El CP se ha desvinculado, los puntos de CP se han borrado y el privilegio de CP ha desaparecido"
),
(
251
,
'hi'
,
"सीपी अनबाउंड हो गया है, सीपी पॉइंट क्लियर हो गए हैं, और सीपी विशेषाधिकार गायब हो गया है"
),
(
251
,
'vi'
,
"CP đã bị hủy liên kết, điểm CP đã bị xóa và đặc quyền CP đã biến mất"
),
(
251
,
'ur'
,
"CP کو غیر پابند کر دیا گیا ہے، CP پوائنٹس کو صاف کر دیا گیا ہے، اور CP کا استحقاق غائب ہو گیا ہے"
);
\ No newline at end of file
(
251
,
'ur'
,
"CP کو غیر پابند کر دیا گیا ہے، CP پوائنٹس کو صاف کر دیا گیا ہے، اور CP کا استحقاق غائب ہو گیا ہے"
);
INSERT
INTO
hilo
.
res_multi_text
(
msg_id
,
`language`
,
content
)
VALUES
(
258
,
'zh'
,
"已经过期"
),
(
258
,
'en'
,
"Already expired"
),
(
258
,
'ar'
,
"تم انتهاء صلاحيتها"
),
(
258
,
'tr'
,
"Zaten süresi dolmuş"
),
(
258
,
'id'
,
"Sudah kedaluwarsa"
),
(
258
,
'ru'
,
"Срок действия уже истек"
),
(
258
,
'ko'
,
"이미 만료됨"
),
(
258
,
'pt'
,
"Já expirou"
),
(
258
,
'th'
,
"หมดอายุแล้ว"
),
(
258
,
'ca'
,
"ya vencido"
),
(
258
,
'hi'
,
"पहले ही समाप्त हो चुका है"
),
(
258
,
'vi'
,
"Đã hết hạn"
),
(
258
,
'ur'
,
"پہلے ہی ختم ہو چکا ہے۔"
);
\ No newline at end of file
route/cp_r/cp_relation.go
View file @
b6b9a778
...
...
@@ -156,7 +156,7 @@ func ReplyCpInvite(c *gin.Context) (*mycontext.MyContext, error) {
return
myCtx
,
err
}
if
cpRecord
==
nil
||
cpRecord
.
Id
==
0
{
return
myCtx
,
m
yerr
.
WrapErr
(
bizerr
.
InvalidParameter
)
return
myCtx
,
m
sg
.
GetErrByLanguage
(
model
,
common
.
MSG_ID_ALREADY_EXPIRED
,
lang
,
comerr
.
AlreadyExpired
)
}
if
optType
==
1
{
// 接受的时候
...
...
@@ -316,7 +316,7 @@ func ReplyCpCancel(c *gin.Context) (*mycontext.MyContext, error) {
return
myCtx
,
err
}
if
cpCancel
==
nil
||
cpCancel
.
Id
==
0
{
return
myCtx
,
bizerr
.
InvalidParameter
return
myCtx
,
msg
.
GetErrByLanguage
(
model
,
common
.
MSG_ID_ALREADY_EXPIRED
,
lang
,
comerr
.
AlreadyExpired
)
}
if
optType
==
1
{
// 撤销,只有自己能撤销自己的申请
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment