master
ELF 4 years ago
parent 6f36d729fa
commit fb0adfd0e9

@ -59,7 +59,7 @@ class Pay
$promote = M('promote', 'tab_')->field(['company_id', 'id'])->where(['id' => $promoteId])->find();
}
if ($promote) {
$company = M('promote_company', 'tab_')->field(['ali_partner', 'id'])->where(['id' => $promote['compnay_id']])->find();
$company = M('promote_company', 'tab_')->field(['ali_partner', 'id'])->where(['id' => $promote['company_id']])->find();
}
if ($company && $company['ali_partner'] == 1) {
return true;

Loading…
Cancel
Save