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

28 行
519 B

  1. import apollo from "lib/apollo.js";
  2. async function GetCartProduct(token = "") {
  3. var res = await apollo.query(
  4. `
  5. query
  6. {
  7. carts
  8. {
  9. id
  10. product_otr
  11. product_name
  12. product_price
  13. product_color
  14. product_img{
  15. url
  16. }
  17. }
  18. }
  19. `,
  20. token,
  21. );
  22. return res;
  23. }
  24. module.exports = {
  25. GetCartProduct: GetCartProduct,
  26. };