Commit 7a317c76 authored by 734642908@qq.com's avatar 734642908@qq.com

测模板

parent e27fa112
...@@ -225,7 +225,7 @@ class AuctionController extends BaseController ...@@ -225,7 +225,7 @@ class AuctionController extends BaseController
//竞拍胜出 //竞拍胜出
$model= new \Home\Model\AuctionModel(); $model= new \Home\Model\AuctionModel();
$goodsInfo = $model->awardSave($goodsInfo); $goodsInfo = $model->awardSave($goodsInfo);
$eee = curlPost('http://localhost/gitlab/ylc/wechat/auctionWin',$goodsInfo); $eee = curlPost('http://ylc.test.llewan.com/wechat/auctionWin',$goodsInfo);
} else { } else {
//没有用户参与报名竞拍 //没有用户参与报名竞拍
// $enrollNum = $GLOBALS["conn"]->NumRows($GLOBALS["conn"]->Query("select sysid from ".get_table("game_auction_enroll")." where game_code='hezi' and goods_id='".$goodsInfo['id']."'")); // $enrollNum = $GLOBALS["conn"]->NumRows($GLOBALS["conn"]->Query("select sysid from ".get_table("game_auction_enroll")." where game_code='hezi' and goods_id='".$goodsInfo['id']."'"));
...@@ -247,7 +247,7 @@ class AuctionController extends BaseController ...@@ -247,7 +247,7 @@ class AuctionController extends BaseController
//距离十分钟竞拍活动提醒 //距离十分钟竞拍活动提醒
if($tempStartTime <= (time()+600)) { if($tempStartTime <= (time()+600)) {
curlPost('http://localhost/gitlab/ylc/wechat/auctionTips',array('goods_id'=>$lval['id'],'time'=>$lval['start_time'])); curlPost('http://ylc.test.llewan.com/wechat/auctionTips',array('goods_id'=>$lval['id'],'time'=>$lval['start_time']));
} }
} }
//$lmid = strtotime($lval['start_time'])-time(); //获取一个用于分割的关键字,一般是首个元素 //$lmid = strtotime($lval['start_time'])-time(); //获取一个用于分割的关键字,一般是首个元素
......
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