Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
shirne committed Jul 25, 2024
1 parent 5b6fc11 commit a3f2ef5
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
namespace app\admin\controller\credit;

use app\admin\controller\BaseController;
use app\admin\model\SpecificationsModel;
use app\admin\validate\GoodsCategoryValidate;
use app\common\facade\GoodsCategoryFacade;
use app\common\model\GoodsCategoryModel;
Expand Down Expand Up @@ -52,7 +51,6 @@ public function add($pid = 0)
$model = array('sort' => 99, 'pid' => $pid, 'specs' => []);
$this->assign('cate', $cate);
$this->assign('model', $model);
$this->assign('specs', SpecificationsModel::getList());
$this->assign('id', 0);
return $this->fetch('edit');
}
Expand Down Expand Up @@ -103,7 +101,6 @@ public function edit($id)

$this->assign('cate', $cate);
$this->assign('model', $model);
$this->assign('specs', SpecificationsModel::getList());
$this->assign('id', $id);
return $this->fetch();
}
Expand Down

0 comments on commit a3f2ef5

Please sign in to comment.