yuebin.chen 3 years ago
parent
commit
a9014165d0
1 changed files with 2 additions and 0 deletions
  1. 2 0
      项目/powder/powder.md

+ 2 - 0
项目/powder/powder.md

@@ -100,6 +100,8 @@ src/api/client/shop/order.js
 // 缓存数据:
 // 缓存数据:
 ctx.__info = info;
 ctx.__info = info;
 
 
+// 直接调用依赖接口:
+let data = (await infos.getExpressSelect.api(arg1, arg2)).data.data;
 
 
 // 都通过 make 调用依赖接口,能够直接拿到返回值
 // 都通过 make 调用依赖接口,能够直接拿到返回值
 let data = (await infos.getExpressSelect.make()).data.data;
 let data = (await infos.getExpressSelect.make()).data.data;