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
5fc0e77d
Commit
5fc0e77d
authored
Sep 20, 2018
by
rlgy
3
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
807eb2cf
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
6 deletions
+5
-6
AwardJob.php
h5/job/AwardJob.php
+3
-3
JugdeAwardJob.php
h5/job/JugdeAwardJob.php
+2
-3
No files found.
h5/job/AwardJob.php
View file @
5fc0e77d
...
@@ -37,10 +37,9 @@ class AwardJob extends BaseObject implements JobInterface
...
@@ -37,10 +37,9 @@ class AwardJob extends BaseObject implements JobInterface
$result
=
Chain33Business
::
transToken
(
$this
->
from
,
$this
->
to
,
$this
->
amount
,
$this
->
note
,
$this
->
is_token
,
$this
->
token
);
$result
=
Chain33Business
::
transToken
(
$this
->
from
,
$this
->
to
,
$this
->
amount
,
$this
->
note
,
$this
->
is_token
,
$this
->
token
);
if
(
is_string
(
$result
))
{
if
(
is_string
(
$result
))
{
//派奖记录到数据库中
//派奖记录到数据库中
Yii
::
info
(
"派奖成功! 奖励[
{
$this
->
to
}
][
$this->token
][
$this->amount
]个"
,
__CLASS__
);
print
(
"派奖成功! 奖励[
{
$this
->
to
}
][
$this->token
][
$this->amount
]个
\n
"
);
}
else
{
}
else
{
Yii
::
info
(
"失败的派奖: [to]:
{
$this
->
to
}
, [amount]:
{
$this
->
amount
}
, [is_token] :
{
$this
->
is_token
}
, [token]:
{
$this
->
token
}
"
,
print
(
"失败的派奖: [to]:
{
$this
->
to
}
, [amount]:
{
$this
->
amount
}
, [is_token] :
{
$this
->
is_token
}
, [token]:
{
$this
->
token
}
\n
"
);
__CLASS__
);
}
}
}
}
}
}
\ No newline at end of file
h5/job/JugdeAwardJob.php
View file @
5fc0e77d
...
@@ -71,11 +71,10 @@ class JugdeAwardJob extends BaseObject implements JobInterface
...
@@ -71,11 +71,10 @@ class JugdeAwardJob extends BaseObject implements JobInterface
}
}
$guess_result
->
is_award
=
1
;
$guess_result
->
is_award
=
1
;
if
(
$guess_result
->
save
())
{
if
(
$guess_result
->
save
())
{
Yii
::
info
(
"第
{
$guess_result
->
stage
}
期开奖成功"
,
__CLASS__
);
print
(
"第
{
$guess_result
->
stage
}
期开奖成功
\n
"
);
}
else
{
}
else
{
Yii
::
warning
(
"第
{
$guess_result
->
stage
}
期开奖成功, 修改竞猜开奖情况失败"
,
__CLASS__
);
print
(
"第
{
$guess_result
->
stage
}
期开奖成功, 修改竞猜开奖情况失败
\n
"
);
}
}
print
"ok
\n
"
;
}
else
{
}
else
{
$loop
=
false
;
$loop
=
false
;
}
}
...
...
Ghost User
@ghost
mentioned in commit
29fb61ef
·
Sep 20, 2018
mentioned in commit
29fb61ef
mentioned in commit 29fb61ef4ebb908543eebdfad0c7c027fe1c23cf
Toggle commit list
Ghost User
@ghost
mentioned in commit
18b65952
·
Sep 20, 2018
mentioned in commit
18b65952
mentioned in commit 18b65952bf95eac8771340b90da114307ada6d9b
Toggle commit list
Ghost User
@ghost
mentioned in commit
627d9386
·
Sep 20, 2018
mentioned in commit
627d9386
mentioned in commit 627d93867b09839ef0c74c537ceef9acc7c78bc5
Toggle commit list
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