feat: sku
This commit is contained in:
@@ -78,10 +78,9 @@ class SpuService extends BaseService
|
||||
*/
|
||||
public function add(): array
|
||||
{
|
||||
$date = $this->request->input('date',date('Y-m-d'));
|
||||
|
||||
$cycleInfo = $this->cycleModel->getInfoByDate($date);
|
||||
$cycleId = (int)$this->request->input('cycle_id');
|
||||
|
||||
$cycleInfo = $this->cycleModel->getInfoById($cycleId);
|
||||
if (empty($cycleInfo)) throw new ErrException('没有该周期,请刷新后重新上传');
|
||||
|
||||
$title = $this->request->input('title');
|
||||
|
||||
Reference in New Issue
Block a user