qifengquan преди 1 година
родител
ревизия
fd1e00ff16
променени са 2 файла, в които са добавени 8 реда и са изтрити 1 реда
  1. 7 1
      app/data/controller/api/PostageType.php
  2. 1 0
      config/apidoc.php

+ 7 - 1
app/data/controller/api/PostageType.php

@@ -1,8 +1,14 @@
 <?php
-
 namespace app\data\controller\api;
+
 use app\data\model\BasePostageType;
 use think\admin\Controller;
+use app\data\model\BasePostageRegion;
+use hg\apidoc\annotation\Param;
+use hg\apidoc\annotation\Returned;
+use hg\apidoc\annotation\Title;
+use think\Cache;
+use think\helper\Str;
 
 /**
  * @Title("配送方式模块")

+ 1 - 0
config/apidoc.php

@@ -22,6 +22,7 @@ return [
                         \app\data\controller\api\Index::class,
                         \app\data\controller\api\Login::class,
                         \app\data\controller\api\Area::class,
+                        \app\data\controller\api\PostageType::class,
                         \app\data\controller\api\Weather::class,
                         \app\data\controller\api\User::class,
                         \app\data\controller\api\Goods::class,