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

24 行
403 B

  1. import apollo from "../../lib/apollo.js";
  2. async function GetProfile(token="") {
  3. var res = await apollo.query(
  4. `
  5. query{
  6. users{
  7. username
  8. email
  9. firstName
  10. lastNam
  11. telp
  12. address
  13. }
  14. }
  15. `,
  16. token
  17. );
  18. return res;
  19. }
  20. module.exports = {
  21. GetProfile:GetProfile,
  22. };