admin_licheb_1206

This commit is contained in:
dengbw
2021-12-06 10:54:08 +08:00
committed by lccsw
parent 369c715c4a
commit d8ceaa19c6
+6 -6
View File
@@ -352,9 +352,9 @@ class Member extends HD_Controller
//临时
foreach ($res_b as $key => $value) {
$res_b2 = $this->mdChannelBiz->select(['uid' => $value['uid']], '', 0, 0, 'biz_id');
$biz_id = $res_b2 ? array_unique(array_column($res_b2, 'biz_id')) : 0;
$biz_id && $biz_id = implode(',', $biz_id);
$this->userM->update(['biz_id' => $biz_id], ['id' => $value['uid']]);
$biz_id_up = $res_b2 ? array_unique(array_column($res_b2, 'biz_id')) : 0;
$biz_id_up && $biz_id_up = implode(',', $biz_id_up);
$this->userM->update(['biz_id' => $biz_id_up], ['id' => $value['uid']]);
}
//临时
if ($channel_uid) {
@@ -367,9 +367,9 @@ class Member extends HD_Controller
$this->mdChannelBiz->add($where);
//临时
$res_b2 = $this->mdChannelBiz->select(['uid' => $uid], '', 0, 0, 'biz_id');
$biz_id = $res_b2 ? array_unique(array_column($res_b2, 'biz_id')) : 0;
$biz_id && $biz_id = implode(',', $biz_id);
$this->userM->update(['biz_id' => $biz_id], ['id' => $uid]);
$biz_id_up = $res_b2 ? array_unique(array_column($res_b2, 'biz_id')) : 0;
$biz_id_up && $biz_id_up = implode(',', $biz_id_up);
$this->userM->update(['biz_id' => $biz_id_up], ['id' => $uid]);
//临时
}
}