index.ts 1.3 KB

1234567891011121314151617181920212223242526
  1. import { request, handle } from '@kasite/uni-app-base';
  2. import { REQUEST_CONFIG } from '@/config';
  3. /**
  4. * 获取门诊退款金额
  5. */
  6. export const queryMemberRefundableMoney = async (queryData: any) => {
  7. let resp = handle.promistHandleNew(await request.doPost(`${REQUEST_CONFIG.BASE_URL}wsgw/smartPay/smartPayWs/QueryMemberRefundableMoney/callApiJSON.do`, queryData));
  8. return handle.catchPromiseNew(resp, () => resp);
  9. };
  10. export const applySelfServiceRefund = async (queryData: any) => {
  11. let resp = handle.promistHandleNew(await request.doPost(`${REQUEST_CONFIG.BASE_URL}wsgw/order/businessOrder/ApplySelfServiceRefund/callApiJSON.do`, queryData));
  12. return handle.catchPromiseNew(resp, () => resp);
  13. };
  14. export const querySelfRefundRecordInfo = async (queryData: any) => {
  15. let resp = handle.promistHandleNew(await request.doPost(`${REQUEST_CONFIG.BASE_URL}wsgw/smartPay/smartPayWs/QuerySelfRefundRecordInfo/callApiJSON.do`, queryData));
  16. return handle.catchPromiseNew(resp, () => resp);
  17. };
  18. export const querySelfRefundRecordList = async (queryData: any) => {
  19. let resp = handle.promistHandleNew(await request.doPost(`${REQUEST_CONFIG.BASE_URL}wsgw/smartPay/smartPayWs/QuerySelfRefundRecordList/callApiJSON.do`, queryData));
  20. return handle.catchPromiseNew(resp, () => resp);
  21. };