Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
token
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
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
wallet
token
Commits
a66dbfcb
Commit
a66dbfcb
authored
Oct 18, 2018
by
rlgy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
错误消息配置
parent
b043e979
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
27 additions
and
1 deletion
+27
-1
backend.php
common/messages/en-US/backend.php
+13
-0
backend.php
common/messages/zh-CN/backend.php
+13
-0
CoinReleaseCheck.php
common/models/psources/CoinReleaseCheck.php
+1
-1
No files found.
common/messages/en-US/backend.php
0 → 100644
View file @
a66dbfcb
<?php
/**
* Created by PhpStorm.
* User: rlgyzhcn
* Date: 18-10-18
* Time: 下午2:26
*/
return
[
'ErrInsufficientBalance'
=>
'Insufficient Balance'
,
'ErrWalletIsLocked'
=>
'Wallet Is Locked'
];
\ No newline at end of file
common/messages/zh-CN/backend.php
0 → 100644
View file @
a66dbfcb
<?php
/**
* Created by PhpStorm.
* User: rlgyzhcn
* Date: 18-10-18
* Time: 下午2:26
*/
return
[
'ErrInsufficientBalance'
=>
'余额不足'
,
'ErrWalletIsLocked'
=>
'钱包已锁定'
];
\ No newline at end of file
common/models/psources/CoinReleaseCheck.php
View file @
a66dbfcb
...
...
@@ -168,7 +168,7 @@ class CoinReleaseCheck extends BaseActiveRecord
);
if
(
is_array
(
$result
))
{
$trans
->
rollBack
();
throw
new
\Exception
(
$result
[
'msg'
]
,
$result
[
'code'
]);
throw
new
\Exception
(
Yii
::
t
(
'backend'
,
$result
[
'msg'
])
,
$result
[
'code'
]);
}
$trans
->
commit
();
Yii
::
$app
->
queue
->
delay
(
15
)
->
push
(
new
QueryTransJob
([
...
...
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