优化补链记录

master
chenzhi 5 years ago
parent 9dcc55d472
commit 5f70aa78d8

@ -187,7 +187,7 @@ class MendController extends ThinkController {
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();
if(count($res)>0) return true;
if(count($res)>1) return true;
return false;
}
//补链详情

Loading…
Cancel
Save