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