日韩国产精品欧美一区二区,免费高清a毛片,日本a视频在线观看,欧美成人高清性色生活

競(jìng)拍秒購(gòu)電商核心源碼分享

單價(jià): 面議
發(fā)貨期限: 自買(mǎi)家付款之日起 天內(nèi)發(fā)貨
所在地: 廣東 東莞
有效期至: 長(zhǎng)期有效
發(fā)布時(shí)間: 2023-11-29 02:51
最后更新: 2023-11-29 02:51
瀏覽次數(shù): 124
采購(gòu)咨詢:
請(qǐng)賣家聯(lián)系我
發(fā)布企業(yè)資料
詳細(xì)說(shuō)明

競(jìng)拍秒購(gòu)電商核心源碼分享seline; background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; overflow-wrap: break-word;">競(jìng)拍秒購(gòu)電商核心源碼分享seline; background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; overflow-wrap: break-word;">競(jìng)拍秒購(gòu)電商核心源碼分享seline; background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; overflow-wrap: break-word;">競(jìng)拍秒購(gòu)電商核心源碼分享seline; background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; overflow-wrap: break-word;">競(jìng)拍秒購(gòu)電商核心源碼分享seline; background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; overflow-wrap: break-word;">競(jìng)拍秒購(gòu)電商核心源碼分享seline; background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; overflow-wrap: break-word;">競(jìng)拍秒購(gòu)電商核心源碼分享

if(!$spirit_id)return app(‘json’)->fail(‘參數(shù)錯(cuò)誤’);
$data1 = YueOrder::where([‘uid’=>$request->uid(),’cid’=>$spirit_id,’is_del’=>0])->whereDay(‘a(chǎn)dd_time’)->find();
if($data1 ) return app(‘json’)->fail(‘重復(fù)預(yù)約’);
$ = ActiveModel::find($spirit_id);
$user = $request->user();
if($->helpCard > $user->help_card)return app(‘json’)->fail(‘幫搶卡不足’);
$user = $request->user();
if($->jifen > $user[‘integral’] )return app(‘json’)->fail(‘積分不足’);

$cache_name = ‘cache_purchase_’.$request->uid();
if( cache($cache_name) )
return app(‘json’)->fail(‘請(qǐng)勿頻繁請(qǐng)求’);
cache($cache_name,1,2);
$redis = Redis::instance();
$s1 = ExperienceModel::where([‘uid’=>$request->uid(),’status’=>1,’order_id’=>0])->where(‘end_time’,’>’,time())->find();
if(!$s1)return app(‘json’)->fail(‘該場(chǎng)次沒(méi)有預(yù)約記錄’);
$s2 =ExperienceModel::where([‘uid’=>$request->uid(),’status’=>1])->where(‘order_id’,’>’,0)->where(‘end_time’,’>’,time())->find();
if($s2)return app(‘json’)->fail(‘已經(jīng)搶過(guò)了’);//判斷預(yù)約的記錄是否搶購(gòu)過(guò)
$yid = ExperienceModel::where([‘status’=>1,’order_id’=>0])->where(‘end_time’,’>’,time())->where(‘uid’,$request->uid())->value(‘id’);
$pid = $redis->rPop(‘T’);
if(!$pid)return app(‘json’)->fail(‘沒(méi)有搶到,請(qǐng)稍后再試’);


相關(guān)競(jìng)拍產(chǎn)品
相關(guān)競(jìng)拍產(chǎn)品
相關(guān)產(chǎn)品