文件:app/services/activity/promotions/StorePromotionsServices.php
行数:692左右
替换代码:
[$title, $desc] = $this->getPromotionsDesc((int)$data['promotions_type'], (int)$data['promotions_cate'], $data['promotions_type'] == 1 ? array_merge($promotions, ['is_limit' => $data['is_limit'], 'limit_num' => $data['limit_num']]) : $promotions);
如下图所示:替换这一行代码