|
@@ -5,9 +5,7 @@ namespace app\api\controller;
|
|
use app\common\controller\Api;
|
|
use app\common\controller\Api;
|
|
use app\common\model\Goods as GoodsModel;
|
|
use app\common\model\Goods as GoodsModel;
|
|
|
|
|
|
-/**
|
|
|
|
- * 数据套餐
|
|
|
|
- */
|
|
|
|
|
|
+
|
|
class Goods extends Api
|
|
class Goods extends Api
|
|
{
|
|
{
|
|
protected $noNeedLogin = ['*'];
|
|
protected $noNeedLogin = ['*'];
|
|
@@ -21,4 +19,4 @@ class Goods extends Api
|
|
$this->success('请求成功',GoodsModel::where('status',1)->select());
|
|
$this->success('请求成功',GoodsModel::where('status',1)->select());
|
|
}
|
|
}
|
|
|
|
|
|
-}
|
|
|
|
|
|
+}
|