您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 

23 行
410 B

  1. import apollo from "../../lib/apollo.js";
  2. async function GetCourier(filter, token="") {
  3. var res = await apollo.query(
  4. `
  5. query {
  6. couriers{
  7. id
  8. name
  9. duration
  10. price
  11. description
  12. }
  13. }
  14. `,
  15. token
  16. );
  17. return res;
  18. }
  19. module.exports = {
  20. GetCourier: GetCourier,
  21. };