优化订单判断

master
chenzhi 5 years ago
parent 3e54338685
commit 9faec272e3

@ -173,8 +173,7 @@ class MendController extends ThinkController {
"pay_status"=>1, "pay_status"=>1,
"user_account"=>$account, "user_account"=>$account,
"pay_time"=>array("EGT",$order_time), "pay_time"=>array("EGT",$order_time),
"selle_status"=>1, "selle_status"=>1
"settle_check"=>1
); );
$flag = M("Spend","tab_")->where($map)->count(); $flag = M("Spend","tab_")->where($map)->count();
if($flag > 0) return true; if($flag > 0) return true;

Loading…
Cancel
Save