|
|
@ -187,7 +187,7 @@ class MendController extends ThinkController {
|
|
|
|
private function checkPromote($order_time,$account)
|
|
|
|
private function checkPromote($order_time,$account)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
$res = M("Spend","tab_")->field("promote_id")->where(["pay_time"=>array("EGT",$order_time),"user_account"=>$account])->group("promote_id")->select();
|
|
|
|
$res = M("Spend","tab_")->field("promote_id")->where(["pay_time"=>array("EGT",$order_time),"user_account"=>$account])->group("promote_id")->select();
|
|
|
|
if(count($res)>0) return true;
|
|
|
|
if(count($res)>1) return true;
|
|
|
|
return false;
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
//补链详情
|
|
|
|
//补链详情
|
|
|
|