Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
haishi
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
冷斌
haishi
Commits
8712df7a
Commit
8712df7a
authored
Feb 21, 2020
by
冷斌
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix bug
parent
3c824971
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
api/Appapi/Api/Charge.php
+4
-4
api/Appapi/Api/Red.php
+0
-0
api/Appapi/Model/Live.php
+2
-2
No files found.
api/Appapi/Api/Charge.php
View file @
8712df7a
...
...
@@ -7,25 +7,25 @@ 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'
=>
'充值金额'
),
),
'update'
=>
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'
=>
'充值金额'
),
'touid'
=>
array
(
'name'
=>
'touid'
,
'type'
=>
'int'
,
'default'
=>
0
,
'desc'
=>
'上麦会员ID'
),
),
...
...
api/Appapi/Api/Red.php
View file @
8712df7a
This diff is collapsed.
Click to expand it.
api/Appapi/Model/Live.php
View file @
8712df7a
...
...
@@ -309,7 +309,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'
)
...
...
@@ -322,7 +322,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