shish 8 месяцев назад
Родитель
Сommit
8a5e356ef2
1 измененных файлов с 0 добавлено и 1 удалено
  1. 0 1
      app-hd/controllers/GoodsController.php

+ 0 - 1
app-hd/controllers/GoodsController.php

@@ -86,7 +86,6 @@ class GoodsController extends BaseController
     public function actionGetBySn()
     {
         $sn = Yii::$app->request->get('sn');
-        $sn = str_replace('#', '', $sn);
         $mainId = $this->mainId;
         $goods = GoodsClass::getByCondition(['mainId' => $mainId, 'sn' => $sn], true);
         GoodsClass::valid($goods, $this->mainId);