pi.js 1009 B

12345678910111213141516171819202122232425262728
  1. // +----------------------------------------------------------------------
  2. // | CRMEB [ CRMEB赋能开发者,助力企业发展 ]
  3. // +----------------------------------------------------------------------
  4. // | Copyright (c) 2016~2023 https://www.crmeb.com All rights reserved.
  5. // +----------------------------------------------------------------------
  6. // | Licensed CRMEB并不是自由软件,未经许可不能去掉CRMEB相关版权
  7. // +----------------------------------------------------------------------
  8. // | Author: CRMEB Team <admin@crmeb.com>
  9. // +----------------------------------------------------------------------
  10. import request from "@/utils/request.js";
  11. export function piPay(data) {
  12. return request.post("pi/approve", data);
  13. }
  14. export function piPaySuccess(data) {
  15. return request.post("pi/complete", data);
  16. }
  17. export function piPayReadSuccess(data) {
  18. return request.post("pi/incomplete", data);
  19. }
  20. export function piPayCancel(data) {
  21. return request.post("pi/pi_pay_cancel", data);
  22. }