Commit 9570aa4a authored by 734642908@qq.com's avatar 734642908@qq.com

去掉验证

parent 1e08e10f
...@@ -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);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment