Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
ylc.llewan.com
Project
Project
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
llewan
ylc.llewan.com
Commits
9570aa4a
Commit
9570aa4a
authored
Sep 22, 2018
by
734642908@qq.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
去掉验证
parent
1e08e10f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
14 deletions
+15
-14
EntryController.class.php
Application/Home/Controller/EntryController.class.php
+15
-14
No files found.
Application/Home/Controller/EntryController.class.php
View file @
9570aa4a
...
@@ -38,22 +38,23 @@ class EntryController extends BaseController
...
@@ -38,22 +38,23 @@ class EntryController extends BaseController
}
}
//竞拍用户邀请添加出价次数
//竞拍用户邀请添加出价次数
if
(
!
empty
(
$requestData
[
'auction_id'
])
&&
$uid
!=
$requestData
[
"reid"
])
{
// if(!empty($requestData['auction_id']) && $uid != $requestData["reid"]) {
//查询用户邀请记录
// //查询用户邀请记录
// $auctionWhere = array(
// $auctionWhere = array(
// 'uid'=>$uid
// 'uid'=>$uid
// ,'game_code'=>'ylc'
// ,'game_code'=>'ylc'
// ,'invite_user'=>$requestData["reid"]
// ,'invite_user'=>$requestData["reid"]
// ,'source'=>$requestData["auction_id"]
// ,'source'=>$requestData["auction_id"]
// );
// );
// $auctionNum = M("game_member_invite","",C("LEWAN_HEZI"))->where($auctionWhere)->count();
// $auctionNum = M("game_member_invite","",C("LEWAN_HEZI"))->where($auctionWhere)->count();
$auctionNum
=
0
;
// if($auctionNum < 1) {
if
(
$auctionNum
<
1
)
{
// $result = $userModel->auctionInvite($uid,$requestData['reid'],$requestData["auction_id"]);
$result
=
$userModel
->
auctionInvite
(
$uid
,
$requestData
[
'reid'
],
$requestData
[
"auction_id"
]);
// }
}
// }
if
(
!
empty
(
$requestData
[
'auction_id'
]))
{
$result
=
$userModel
->
auctionInvite
(
$uid
,
$requestData
[
'reid'
],
$requestData
[
"auction_id"
]);
}
}
}
}
echo
$this
->
formatRes
(
$result
);
echo
$this
->
formatRes
(
$result
);
}
}
...
...
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