zhangguidong 2 years ago
parent
commit
798fd65838
3 changed files with 8 additions and 1 deletions
  1. 2 0
      app/data/controller/api/Order.php
  2. 2 0
      app/data/controller/api/User.php
  3. 4 1
      config/apidoc.php

+ 2 - 0
app/data/controller/api/Order.php

@@ -9,6 +9,8 @@ use app\data\model\ShopOrder;
 use app\data\model\ShopOrderItem;
 use app\data\service\OrderService;
 use think\admin\Controller;
+use hg\apidoc\annotation\Title;
+
 
 /**
  * 商品订单接口

+ 2 - 0
app/data/controller/api/User.php

@@ -4,6 +4,8 @@ namespace app\data\controller\api;
 
 
 use app\data\model\DataUserAddress;
+use hg\apidoc\annotation\Title;
+
 
 class User extends Auth
 {

+ 4 - 1
config/apidoc.php

@@ -23,9 +23,12 @@ return [
                         \app\data\controller\api\Area::class,
                         \app\data\controller\api\Weather::class,
                         \app\data\controller\api\User::class,
+                        \app\data\controller\api\Goods::class,
+
+                        \app\data\controller\api\Order::class,
+
 
                         \app\data\controller\api\auth\Address::class,
-                        \app\data\controller\api\auth\Order::class,