...
|
...
|
@@ -234,10 +234,11 @@ class User extends Backend |
|
|
}
|
|
|
}
|
|
|
|
|
|
foreach ($insert as $k => $v){
|
|
|
$id = $this->model->insertGetId($v);
|
|
|
if(!empty($col)){
|
|
|
$product[$k]['user_id'] = $id;
|
|
|
foreach ($insert as $k => $v) {
|
|
|
$v['status'] = 'normal';
|
|
|
$id = $this->model->insertGetId($v);
|
|
|
if (!empty($col)) {
|
|
|
$product[$k]['user_id'] = $id;
|
|
|
}
|
|
|
}
|
|
|
}
|
...
|
...
|
|