Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
xiaozhan
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
冷斌
xiaozhan
Commits
e5ef5bac
Commit
e5ef5bac
authored
Feb 20, 2020
by
冷斌
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix bug
parent
7f2cff31
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
api/Appapi/Api/Charge.php
+3
-3
api/Appapi/Api/Red.php
+1
-1
api/Appapi/Model/Live.php
+2
-2
No files found.
api/Appapi/Api/Charge.php
View file @
e5ef5bac
...
...
@@ -7,19 +7,19 @@ class Api_Charge extends PhalApi_Api {
'getAliOrder'
=>
array
(
'uid'
=>
array
(
'name'
=>
'uid'
,
'type'
=>
'int'
,
'min'
=>
1
,
'require'
=>
true
,
'desc'
=>
'用户ID'
),
'changeid'
=>
array
(
'name'
=>
'changeid'
,
'type'
=>
'int'
,
'require'
=>
true
,
'desc'
=>
'充值规则ID'
),
'coin'
=>
array
(
'name'
=>
'coin'
,
'type'
=>
'string'
,
'require'
=>
true
,
'desc'
=>
'
萌豆
'
),
'coin'
=>
array
(
'name'
=>
'coin'
,
'type'
=>
'string'
,
'require'
=>
true
,
'desc'
=>
'
钻石
'
),
'money'
=>
array
(
'name'
=>
'money'
,
'type'
=>
'string'
,
'require'
=>
true
,
'desc'
=>
'充值金额'
),
),
'getWxOrder'
=>
array
(
'uid'
=>
array
(
'name'
=>
'uid'
,
'type'
=>
'int'
,
'min'
=>
1
,
'require'
=>
true
,
'desc'
=>
'用户ID'
),
'changeid'
=>
array
(
'name'
=>
'changeid'
,
'type'
=>
'string'
,
'require'
=>
true
,
'desc'
=>
'充值规则ID'
),
'coin'
=>
array
(
'name'
=>
'coin'
,
'type'
=>
'string'
,
'require'
=>
true
,
'desc'
=>
'
萌豆
'
),
'coin'
=>
array
(
'name'
=>
'coin'
,
'type'
=>
'string'
,
'require'
=>
true
,
'desc'
=>
'
钻石
'
),
'money'
=>
array
(
'name'
=>
'money'
,
'type'
=>
'string'
,
'require'
=>
true
,
'desc'
=>
'充值金额'
),
),
'getIosOrder'
=>
array
(
'uid'
=>
array
(
'name'
=>
'uid'
,
'type'
=>
'int'
,
'min'
=>
1
,
'require'
=>
true
,
'desc'
=>
'用户ID'
),
'changeid'
=>
array
(
'name'
=>
'changeid'
,
'type'
=>
'string'
,
'require'
=>
true
,
'desc'
=>
'充值规则ID'
),
'coin'
=>
array
(
'name'
=>
'coin'
,
'type'
=>
'string'
,
'require'
=>
true
,
'desc'
=>
'
萌豆
'
),
'coin'
=>
array
(
'name'
=>
'coin'
,
'type'
=>
'string'
,
'require'
=>
true
,
'desc'
=>
'
钻石
'
),
'money'
=>
array
(
'name'
=>
'money'
,
'type'
=>
'string'
,
'require'
=>
true
,
'desc'
=>
'充值金额'
),
),
);
...
...
api/Appapi/Api/Red.php
View file @
e5ef5bac
...
...
@@ -10,7 +10,7 @@ class Api_Red extends PhalApi_Api {
'stream'
=>
array
(
'name'
=>
'stream'
,
'type'
=>
'string'
,
'require'
=>
true
,
'desc'
=>
'流名'
),
'type'
=>
array
(
'name'
=>
'type'
,
'type'
=>
'int'
,
'require'
=>
true
,
'desc'
=>
'红包类型,0普通,1手气'
),
'type_grant'
=>
array
(
'name'
=>
'type_grant'
,
'type'
=>
'int'
,
'require'
=>
true
,
'desc'
=>
'发放类型,0立即 1延迟'
),
'coin'
=>
array
(
'name'
=>
'coin'
,
'type'
=>
'int'
,
'require'
=>
true
,
'desc'
=>
'
萌豆
'
),
'coin'
=>
array
(
'name'
=>
'coin'
,
'type'
=>
'int'
,
'require'
=>
true
,
'desc'
=>
'
钻石
'
),
'nums'
=>
array
(
'name'
=>
'nums'
,
'type'
=>
'int'
,
'require'
=>
true
,
'desc'
=>
'数量'
),
'des'
=>
array
(
'name'
=>
'des'
,
'type'
=>
'string'
,
'default'
=>
'恭喜发财,大吉大利'
,
'desc'
=>
'描述'
),
),
...
...
api/Appapi/Model/Live.php
View file @
e5ef5bac
...
...
@@ -308,7 +308,7 @@ class Model_Live extends PhalApi_Model_NotORM {
if
(
$islive
[
'type'
]
==
1
){
$rs
[
'type_msg'
]
=
md5
(
$islive
[
'type_val'
]);
}
else
if
(
$islive
[
'type'
]
==
2
){
$rs
[
'type_msg'
]
=
'本房间为收费房间,需支付'
.
$islive
[
'type_val'
]
.
'
萌豆
'
;
$rs
[
'type_msg'
]
=
'本房间为收费房间,需支付'
.
$islive
[
'type_val'
]
.
'
钻石
'
;
$rs
[
'type_val'
]
=
$islive
[
'type_val'
];
$isexist
=
DI
()
->
notorm
->
users_coinrecord
->
select
(
'id'
)
...
...
@@ -321,7 +321,7 @@ class Model_Live extends PhalApi_Model_NotORM {
}
}
else
if
(
$islive
[
'type'
]
==
3
){
$rs
[
'type_val'
]
=
$islive
[
'type_val'
];
$rs
[
'type_msg'
]
=
'本房间为计时房间,每分钟需支付'
.
$islive
[
'type_val'
]
.
'
萌豆
'
;
$rs
[
'type_msg'
]
=
'本房间为计时房间,每分钟需支付'
.
$islive
[
'type_val'
]
.
'
钻石
'
;
}
return
$rs
;
...
...
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