PaymentServices.ts 524 B

123456789101112131415161718
  1. import { AppKernel } from "@scripts/app/AppKernel";
  2. import { UIViewID } from "@scripts/define/UIDefine";
  3. import { IGoodsConfig } from "@scripts/store/payStore/data";
  4. class PaymentServices {
  5. async startPayment(goods: IGoodsConfig) {
  6. if (!goods.choiseGear) {
  7. //打开选择支付方式的弹窗
  8. //goods.choiseGear = await AppKernel.ui.open(UIViewID)
  9. }
  10. }
  11. protected async getPaymentOrder(goods: IGoodsConfig) {
  12. }
  13. }
  14. export const paymentServices = new PaymentServices();