master
zhanglingsheng 5 years ago
parent 86f05872d2
commit 473fd31be1

@ -107,6 +107,8 @@ unset($_REQUEST['parent_id']);
$v['account'] = trim($v['account']);
if(in_array($v['account'], $oa_data)) {
M('promote','tab_')->where(['id' => $v['id']])->setField(['oa_associated' => 1]);
} else {
M('promote','tab_')->where(['id' => $v['id']])->setField(['oa_associated' => 0]);
}
}

Loading…
Cancel
Save