afa hai 5 meses
pai
achega
e29333d616
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      app/api/controller/Shops.php

+ 2 - 2
app/api/controller/Shops.php

@@ -5,7 +5,7 @@ namespace app\api\controller;
 use app\common\model\UserEnterLog;
 use app\api\validate\Shop as ShopValidate;
 use app\common\model\ShopList;
-use think\facade\Db;
+use app\common\mode\ShopDelivery;
 use think\Exception;
 use think\facade\Request;
 use think\exception\ValidateException;
@@ -20,7 +20,7 @@ class Shops extends Base
     public function getPlatform(){
 
         $list  = site_config('addonsd.platform_list');
-        $this->success('提交成功', [$list]);
+        $this->success('提交成功', $list);
     }
 
     //获取店铺