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