yuebin.chen 3 anni fa
parent
commit
a9014165d0
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. 2 0
      项目/powder/powder.md

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

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