|
|
@@ -36,7 +36,7 @@ class ProductController extends BaseController
|
|
|
ProductClass::check($info, $this->mainId);
|
|
|
$str = $post['date'] ?? '';
|
|
|
$presell = $post['presell'] ?? 0;
|
|
|
- if (empty($string)) {
|
|
|
+ if (empty($str)) {
|
|
|
util::fail('请填写预售日期');
|
|
|
}
|
|
|
$arr = json_decode($str, true);
|