@ -39,10 +39,11 @@ class GoodSource extends GoodSourceModel
$this->error = '请补全信息';
return false;
}
return // 新增申请记录
$this->save(array_merge($data, [
$data['imgage_ids'] = json_encode($data['imgage_ids']);
return $this->save(array_merge($data, [
'user_id' => $userId,
'store_id' => $store_id
'store_id' => $store_id,
'created_at' => time(),
]));