Browse Source

修复小程序编译时错误:Unexpected identifier 'as'。
去掉接口配置信息中的 as const

chenlei 1 năm trước cách đây
mục cha
commit
0e0aa14786

+ 7 - 1
README.md

@@ -6,7 +6,13 @@
 
 - node>=18
 - pnpm>=7.30
-- 稳定版本:node = 20.7.0 pnpm = 9.4.0
+- 稳定版本:
+  node = 20.7.0
+  pnpm = 9.4.0
+  ```
+  nvu install 20.7.0
+  npm install -g pnpm@9.4.0
+  ```
 
 ## 📂 快速开始
 

+ 2 - 1
scripts/getInterFace.js

@@ -217,7 +217,8 @@ const convert = {
         const resTypeSchema = convert.definitions(curPostInfo.responses[200].schema.$ref)
         resTypeStr = `    resType: {} as ${resTypeSchema},`
       }
-      urlsStr += `\n  /** ${curPostInfo.summary || curPostInfo.summary} */\n  ${urlName}: {\n    realUrl: '${k}' as const,${isUploadStr}\n${reqTypeStr}\n${resTypeStr}\n  },`
+      urlsStr += `\n  /** ${curPostInfo.summary || curPostInfo.summary} */\n  ${urlName}: {\n    realUrl: '${k}',${isUploadStr}\n${reqTypeStr}\n${resTypeStr}\n  },`
+      // urlsStr += `\n  /** ${curPostInfo.summary || curPostInfo.summary} */\n  ${urlName}: {\n    realUrl: '${k}' as const,${isUploadStr}\n${reqTypeStr}\n${resTypeStr}\n  },`
     }
     files.write(
       curps.webApiPath,

+ 56 - 0
src/types/schemas/strategy.d.ts

@@ -3392,6 +3392,42 @@ interface SnpPriceVO对象 {
   /** 中石化零售价(元/公斤) */
   snpPrice?: number
 }
+interface StationMap对象 {
+  /** 地址 */
+  address?: string
+  /** 城市 */
+  city?: string
+  /** 联系人 */
+  contacts?: string
+  /** 加气站名称 */
+  gasstationName?: string
+  /** undefined */
+  groad?: string
+  /** 主键id */
+  id?: string
+  /** 合作意向 */
+  intention?: string
+  /** 纬度 */
+  latitude?: string
+  /** 经度 */
+  longitude?: string
+  /** 业务经理姓名 */
+  managerName?: string
+  /** 手机号 */
+  mobile?: string
+  /** 省份 */
+  province?: string
+  /** 地区 */
+  region?: string
+  /** 备注 */
+  remark?: string
+  /** 所在路段及位置 */
+  road?: string
+  /** 站点类型:中石化站,社会站,中石油站,中海油站,合作经营站 */
+  stationType?: string
+  /** 车流量 */
+  truckFlow?: string
+}
 interface StatisticsGasstationParam {
   /** 日期 */
   date?: string
@@ -4035,6 +4071,18 @@ interface manPriceStandard对象 {
   /** 类型(1-定时生效 2-立即生效) */
   type?: number
 }
+interface 三方对接_关停或者重启站推送_参数实体类 {
+  /** 物流公司id(推送的三方id) */
+  orgId?: number
+  /** 推送加气站id列表 */
+  stations?: 三方对接_关停或者重启站推送_站状态[]
+}
+interface 三方对接_关停或者重启站推送_站状态 {
+  /** 加气站id */
+  gasstationId?: number
+  /** 状态(0:启用 1:停用) */
+  status?: number
+}
 interface 三方线上数据查询参数 {
   /** 查询结束时间,格式:yyyy-MM-dd HH:mm:ss */
   endTime?: string
@@ -4149,6 +4197,14 @@ interface 加气站交班信息管理表实体类 {
   /** 更新人姓名 */
   updaterName?: string
 }
+interface 加气站运营管理查询实体类 {
+  /** 查询结束日期 */
+  end?: string
+  /** 站id */
+  gasstationId?: number
+  /** 查询开始日期 */
+  start?: string
+}
 interface 加注机全量数据查询参数 {
   /** 加注机卡号 */
   cardNo?: string

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 147 - 147
src/utils/config/interFaces/account.ts


+ 91 - 91
src/utils/config/interFaces/allinpay.ts

@@ -1,547 +1,547 @@
 export default {
   /** 模拟生成网关充值订单 */
   gen_b2b_recharge: {
-    realUrl: '/allinpay/gen_gas_order/gen_b2b_recharge' as const,
+    realUrl: '/allinpay/gen_gas_order/gen_b2b_recharge',
     reqType: {} as RechargeOrder对象,
     resType: {} as any,
   },
   /** 模拟生成直销消费订单 */
   gen_direct_gasorder: {
-    realUrl: '/allinpay/gen_gas_order/gen_direct_gasorder' as const,
+    realUrl: '/allinpay/gen_gas_order/gen_direct_gasorder',
     reqType: {} as GasOrder对象,
     resType: {} as any,
   },
   /** 模拟生成经销消费订单 */
   gen_gasorder: {
-    realUrl: '/allinpay/gen_gas_order/gen_gasorder' as const,
+    realUrl: '/allinpay/gen_gas_order/gen_gasorder',
     reqType: {} as GasOrder对象,
     resType: {} as any,
   },
   /** 模拟生成提现订单 */
   gen_withdraw: {
-    realUrl: '/allinpay/gen_gas_order/gen_withdraw' as const,
+    realUrl: '/allinpay/gen_gas_order/gen_withdraw',
     reqType: {} as WithdrawOrder对象,
     resType: {} as any,
   },
   /** 模拟生成微信充值订单 */
   gen_wx_recharge: {
-    realUrl: '/allinpay/gen_gas_order/gen_wx_recharge' as const,
+    realUrl: '/allinpay/gen_gas_order/gen_wx_recharge',
     reqType: {} as RechargeOrder对象,
     resType: {} as any,
   },
   /** 模拟生成微信充值订单并完成消费,消费订单必传 */
   recharge_gasorder: {
-    realUrl: '/allinpay/gen_gas_order/recharge_gasorder' as const,
+    realUrl: '/allinpay/gen_gas_order/recharge_gasorder',
     reqType: {} as RechargeOrder对象,
     resType: {} as any,
   },
   /** 充值订单退款运维接口 */
   charge_refund: {
-    realUrl: '/allinpay/handle/charge_refund' as const,
+    realUrl: '/allinpay/handle/charge_refund',
     reqType: {} as 通用id参数,
     resType: {} as any,
   },
   /** 长城奥扬经销退款加气站失败,继续退款逻辑 */
   continue_refund: {
-    realUrl: '/allinpay/handle/continue_refund' as const,
+    realUrl: '/allinpay/handle/continue_refund',
     reqType: {} as GasOrder对象,
     resType: {} as any,
   },
   /** 卡车优惠账户余额处理 */
   coupons: {
-    realUrl: '/allinpay/handle/coupons' as const,
+    realUrl: '/allinpay/handle/coupons',
     reqType: {} as DateParam,
     resType: {} as any,
   },
   /** 拿指定订单在大象平台做消费 */
   daxiang_gasOrder: {
-    realUrl: '/allinpay/handle/daxiang_gasOrder' as const,
+    realUrl: '/allinpay/handle/daxiang_gasOrder',
     reqType: {} as HandleConsumeParam,
     resType: {} as any,
   },
   /** 物流公司直销充值成功,转账长城奥扬失败,继续转账业务逻辑 */
   direct_pay_continue: {
-    realUrl: '/allinpay/handle/direct_pay_continue' as const,
+    realUrl: '/allinpay/handle/direct_pay_continue',
     reqType: {} as RechargeOrder对象,
     resType: {} as any,
   },
   /** 直销订单加气站服务费分账成功,分账平台服务费失败,继续支付逻辑 */
   direct_split_continue: {
-    realUrl: '/allinpay/handle/direct_split_continue' as const,
+    realUrl: '/allinpay/handle/direct_split_continue',
     reqType: {} as GasOrder对象,
     resType: {} as any,
   },
   /** 直销加气订单加气站通联服务费退回,平台无操作 */
   directsales_gasstation_fee_back: {
-    realUrl: '/allinpay/handle/directsales_gasstation_fee_back' as const,
+    realUrl: '/allinpay/handle/directsales_gasstation_fee_back',
     reqType: {} as GasOrder对象,
     resType: {} as any,
   },
   /** 直销充值订单回调成功处理异常,继续平台充值逻辑 */
   directsales_recharge_order_continue: {
-    realUrl: '/allinpay/handle/directsales_recharge_order_continue' as const,
+    realUrl: '/allinpay/handle/directsales_recharge_order_continue',
     reqType: {} as RechargeOrder对象,
     resType: {} as any,
   },
   /** 手动下载提现电子回单 */
   download_withdrawReceipt: {
-    realUrl: '/allinpay/handle/download_withdrawReceipt' as const,
+    realUrl: '/allinpay/handle/download_withdrawReceipt',
     reqType: {} as WithdrawOrder对象,
     resType: {} as any,
   },
   /** 平台退款,通联不操作 */
   dx_gas_order_back: {
-    realUrl: '/allinpay/handle/dx_gas_order_back' as const,
+    realUrl: '/allinpay/handle/dx_gas_order_back',
     reqType: {} as GasOrder对象,
     resType: {} as any,
   },
   /** 直销-冲红订单(通联+平台) */
   gas_directsales_order_back: {
-    realUrl: '/allinpay/handle/gas_directsales_order_back' as const,
+    realUrl: '/allinpay/handle/gas_directsales_order_back',
     reqType: {} as GasOrder对象,
     resType: {} as any,
   },
   /** 经销-冲红订单(通联+平台) */
   gas_order_back: {
-    realUrl: '/allinpay/handle/gas_order_back' as const,
+    realUrl: '/allinpay/handle/gas_order_back',
     reqType: {} as GasOrder对象,
     resType: {} as any,
   },
   /** 经销-冲红订单(通联+平台)加气退款异常情况 */
   gas_order_back_continue: {
-    realUrl: '/allinpay/handle/gas_order_back_continue' as const,
+    realUrl: '/allinpay/handle/gas_order_back_continue',
     reqType: {} as GasOrder对象,
     resType: {} as any,
   },
   /** 获取通联会员账户余额,返回单位分 */
   get_balance: {
-    realUrl: '/allinpay/handle/get_balance' as const,
+    realUrl: '/allinpay/handle/get_balance',
     reqType: {} as GetBalanceParam,
     resType: {} as any,
   },
   /** 获取通联平台会员信息 */
   get_memberInfo: {
-    realUrl: '/allinpay/handle/get_memberInfo' as const,
+    realUrl: '/allinpay/handle/get_memberInfo',
     reqType: {} as TsyParam,
     resType: {} as any,
   },
   /** 直销加气通联侧大象平台分账退回到长城奥扬(单边账) */
   gwayamount_back: {
-    realUrl: '/allinpay/handle/gwayamount_back' as const,
+    realUrl: '/allinpay/handle/gwayamount_back',
     reqType: {} as GasOrder对象,
     resType: {} as any,
   },
   /** 单边账问题,处理消费订单,通联消费成功,但是大象平台没有获取到同步信息,需将整个流程跑完 */
   handle_tsy_success_gasOrder: {
-    realUrl: '/allinpay/handle/handle_tsy_success_gasOrder' as const,
+    realUrl: '/allinpay/handle/handle_tsy_success_gasOrder',
     reqType: {} as HandleConsumeParam,
     resType: {} as any,
   },
   /** 新营销加气通联侧加气站购气款退回到长城奥扬(单边账) */
   market_gasamount_back: {
-    realUrl: '/allinpay/handle/market_gasamount_back' as const,
+    realUrl: '/allinpay/handle/market_gasamount_back',
     reqType: {} as GasOrder对象,
     resType: {} as any,
   },
   /** 通联点对点消费,即一方付款至另外一方 */
   p2p_pay: {
-    realUrl: '/allinpay/handle/p2p_pay' as const,
+    realUrl: '/allinpay/handle/p2p_pay',
     reqType: {} as P2PPayParam,
     resType: {} as any,
   },
   /** 加气站清分服务费退回到长城奥扬(站服务费清分方式错误) */
   profit_back: {
-    realUrl: '/allinpay/handle/profit_back' as const,
+    realUrl: '/allinpay/handle/profit_back',
     reqType: {} as GasOrder对象,
     resType: {} as any,
   },
   /** 挂靠充值成功,但是消费失败,需在通联和大象平台重新消费 */
   rely_consume: {
-    realUrl: '/allinpay/handle/rely_consume' as const,
+    realUrl: '/allinpay/handle/rely_consume',
     reqType: {} as TsyParam,
     resType: {} as any,
   },
   /** 直销加气通联侧加气站分账退回到长城奥扬(单边账) */
   servicefee_back: {
-    realUrl: '/allinpay/handle/servicefee_back' as const,
+    realUrl: '/allinpay/handle/servicefee_back',
     reqType: {} as GasOrder对象,
     resType: {} as any,
   },
   /** 单边账问题,分账退款申请 */
   splitRefund: {
-    realUrl: '/allinpay/handle/splitRefund' as const,
+    realUrl: '/allinpay/handle/splitRefund',
     reqType: {} as SplitRefundParam,
     resType: {} as any,
   },
   /** 卡车圈出到物流公司 */
   transfer_carrier: {
-    realUrl: '/allinpay/handle/transfer_carrier' as const,
+    realUrl: '/allinpay/handle/transfer_carrier',
     reqType: {} as GasOrder对象,
     resType: {} as any,
   },
   /** 拿指定订单在通联平台做消费 */
   tsy_daxiang_gasOrder: {
-    realUrl: '/allinpay/handle/tsy_daxiang_gasOrder' as const,
+    realUrl: '/allinpay/handle/tsy_daxiang_gasOrder',
     reqType: {} as HandleConsumeParam,
     resType: {} as any,
   },
   /** 订单通联退账,单边账问题,大象业务逻辑不操作,只做通联退款 */
   tsy_gas_order_back: {
-    realUrl: '/allinpay/handle/tsy_gas_order_back' as const,
+    realUrl: '/allinpay/handle/tsy_gas_order_back',
     reqType: {} as GasOrder对象,
     resType: {} as any,
   },
   /** 微信支付回调-手工 */
   wxpay_trans: {
-    realUrl: '/allinpay/handle/wxpay_trans' as const,
+    realUrl: '/allinpay/handle/wxpay_trans',
     reqType: {} as RechargeOrder对象,
     resType: {} as any,
   },
   /** 请求绑定银行卡 */
   bind_bankCard: {
-    realUrl: '/allinpay/member/bind_bankCard' as const,
+    realUrl: '/allinpay/member/bind_bankCard',
     reqType: {} as BindCardParam,
     resType: {} as any,
   },
   /** 绑定手机 */
   bind_phone: {
-    realUrl: '/allinpay/member/bind_phone' as const,
+    realUrl: '/allinpay/member/bind_phone',
     reqType: {} as BindPhoneParam,
     resType: {} as any,
   },
   /**  身份证上传回调接口 */
   idcardCollect: {
-    realUrl: '/allinpay/member/callback/idcardCollect' as const,
+    realUrl: '/allinpay/member/callback/idcardCollect',
 
 
   },
   /** 创建会员回调 */
   memberCallBack: {
-    realUrl: '/allinpay/member/callback/memberCallBack' as const,
+    realUrl: '/allinpay/member/callback/memberCallBack',
 
 
   },
   /**  营业执照上传回调接口 */
   regnumCollect: {
-    realUrl: '/allinpay/member/callback/regnumCollect' as const,
+    realUrl: '/allinpay/member/callback/regnumCollect',
 
 
   },
   /** 电子签约(余额转账)更新回填字段 */
   signBalanceProtocol: {
-    realUrl: '/allinpay/member/callback/signBalanceProtocol' as const,
+    realUrl: '/allinpay/member/callback/signBalanceProtocol',
 
     resType: {} as ResponseEntity,
   },
   /** 电子签约更新回填字段 */
   signCallBack: {
-    realUrl: '/allinpay/member/callback/signCallBack' as const,
+    realUrl: '/allinpay/member/callback/signCallBack',
 
 
   },
   /** 合作协议签约更新回填字段 */
   signContract: {
-    realUrl: '/allinpay/member/callback/signContract' as const,
+    realUrl: '/allinpay/member/callback/signContract',
 
     resType: {} as ResponseEntity,
   },
   /** 自动发起平行加气站企业认证 */
   child_filler_auto_auth: {
-    realUrl: '/allinpay/member/child_filler_auto_auth' as const,
+    realUrl: '/allinpay/member/child_filler_auto_auth',
     reqType: {} as Org对象,
     resType: {} as boolean,
   },
   /** 查询卡 bin */
   get_bankCardBin: {
-    realUrl: '/allinpay/member/get_bankCardBin' as const,
+    realUrl: '/allinpay/member/get_bankCardBin',
     reqType: {} as GetBankCardBinParam,
     resType: {} as any,
   },
   /** getMemberInfo */
   get_memberInfo_1: {
-    realUrl: '/allinpay/member/get_memberInfo' as const,
+    realUrl: '/allinpay/member/get_memberInfo',
     reqType: {} as GetMemberInfoParam,
     resType: {} as any,
   },
   /** 普通用户个人身份证二要素认证,在个人中心(实名认证功能) */
   idcard: {
-    realUrl: '/allinpay/member/idcard' as const,
+    realUrl: '/allinpay/member/idcard',
     reqType: {} as 身份证二要素认证参数,
     resType: {} as boolean,
   },
   /** 个人车主(组织身份)身份证二要素认证 */
   idcard_auth: {
-    realUrl: '/allinpay/member/idcard_auth' as const,
+    realUrl: '/allinpay/member/idcard_auth',
     reqType: {} as 身份证二要素认证参数,
     resType: {} as boolean,
   },
   /** 渠道开户 */
   open_account: {
-    realUrl: '/allinpay/member/open_account' as const,
+    realUrl: '/allinpay/member/open_account',
     reqType: {} as OpenAccountParam,
     resType: {} as any,
   },
   /** 查询绑定银行卡状态 */
   query_bankCard: {
-    realUrl: '/allinpay/member/query_bankCard' as const,
+    realUrl: '/allinpay/member/query_bankCard',
     reqType: {} as QueryBankCardParam,
     resType: {} as any,
   },
   /** 提现协议查询 */
   query_withdraw_protocol: {
-    realUrl: '/allinpay/member/query_withdraw_protocol' as const,
+    realUrl: '/allinpay/member/query_withdraw_protocol',
     reqType: {} as QuerySignContractParam,
     resType: {} as any,
   },
   /** 发送验证码 */
   send_sms_code: {
-    realUrl: '/allinpay/member/send_sms_code' as const,
+    realUrl: '/allinpay/member/send_sms_code',
     reqType: {} as SendVerificationCodeParam,
     resType: {} as any,
   },
   /** 转账授权 */
   sign_balance_protocol: {
-    realUrl: '/allinpay/member/sign_balance_protocol' as const,
+    realUrl: '/allinpay/member/sign_balance_protocol',
     reqType: {} as SignBalanceProtocolParam,
     resType: {} as any,
   },
   /** 提现授权 */
   sign_withdraw_protocol: {
-    realUrl: '/allinpay/member/sign_withdraw_protocol' as const,
+    realUrl: '/allinpay/member/sign_withdraw_protocol',
     reqType: {} as SignContractProtocolParam,
     resType: {} as any,
   },
   /** 解除绑定银行卡 */
   unbind_bankCard: {
-    realUrl: '/allinpay/member/unbind_bankCard' as const,
+    realUrl: '/allinpay/member/unbind_bankCard',
     reqType: {} as UnBindCardParam,
     resType: {} as any,
   },
   /** 解除绑定手机 */
   unbind_phone: {
-    realUrl: '/allinpay/member/unbind_phone' as const,
+    realUrl: '/allinpay/member/unbind_phone',
     reqType: {} as UnBindPhoneParam,
     resType: {} as any,
   },
   /** 上传企业营业执照、身份证图片到通联 */
   upload_org_pic: {
-    realUrl: '/allinpay/member/upload_org_pic' as const,
+    realUrl: '/allinpay/member/upload_org_pic',
     reqType: {} as IdcardCollectParam,
     resType: {} as any,
   },
   /** 消费回调 */
   consumeCallBack: {
-    realUrl: '/allinpay/pay/callback/consumeCallBack' as const,
+    realUrl: '/allinpay/pay/callback/consumeCallBack',
 
 
   },
   /** 气瓶检测微信支付回调 */
   gctwxpay: {
-    realUrl: '/allinpay/pay/callback/gctwxpay' as const,
+    realUrl: '/allinpay/pay/callback/gctwxpay',
 
     resType: {} as ResponseEntity,
   },
   /** 微信充值通联单边账处理 */
   recharge: {
-    realUrl: '/allinpay/pay/callback/recharge' as const,
+    realUrl: '/allinpay/pay/callback/recharge',
 
     resType: {} as boolean,
   },
   /** 分账退款申请回调 */
   splitRefund_1: {
-    realUrl: '/allinpay/pay/callback/splitRefund' as const,
+    realUrl: '/allinpay/pay/callback/splitRefund',
 
 
   },
   /** 提现回调 */
   withdraw: {
-    realUrl: '/allinpay/pay/callback/withdraw' as const,
+    realUrl: '/allinpay/pay/callback/withdraw',
 
 
   },
   /** 微信支付回调 */
   wxpay: {
-    realUrl: '/allinpay/pay/callback/wxpay' as const,
+    realUrl: '/allinpay/pay/callback/wxpay',
 
     resType: {} as ResponseEntity,
   },
   /** 微信所属物流支付回调 */
   wxpay_carrier: {
-    realUrl: '/allinpay/pay/callback/wxpay_carrier' as const,
+    realUrl: '/allinpay/pay/callback/wxpay_carrier',
 
     resType: {} as ResponseEntity,
   },
   /** 微信个人支付回调 */
   wxpay_person: {
-    realUrl: '/allinpay/pay/callback/wxpay_person' as const,
+    realUrl: '/allinpay/pay/callback/wxpay_person',
 
     resType: {} as ResponseEntity,
   },
   /** 订单返现(strategy使用) */
   cashback: {
-    realUrl: '/allinpay/pay/cashback' as const,
+    realUrl: '/allinpay/pay/cashback',
     reqType: {} as 返现微信模板消息参数,
     resType: {} as any,
   },
   /** 物流公司B2B充值 */
   deposit_apply: {
-    realUrl: '/allinpay/pay/deposit_apply' as const,
+    realUrl: '/allinpay/pay/deposit_apply',
     reqType: {} as B2BDepositParam,
     resType: {} as any,
   },
   /** 物流公司B2B充值,弹出银联页面 */
   deposit_apply_confirm: {
-    realUrl: '/allinpay/pay/deposit_apply_confirm' as const,
+    realUrl: '/allinpay/pay/deposit_apply_confirm',
     reqType: {} as B2BDepositConfirmParam,
     resType: {} as any,
   },
   /** 加气站直销服务费用提现申请 */
   direct_gasstation_withdraw_apply: {
-    realUrl: '/allinpay/pay/direct_gasstation_withdraw_apply' as const,
+    realUrl: '/allinpay/pay/direct_gasstation_withdraw_apply',
     reqType: {} as WithdrawParam,
     resType: {} as any,
   },
   /** 气瓶检测微信支付 */
   gct_wxpay: {
-    realUrl: '/allinpay/pay/gct_wxpay' as const,
+    realUrl: '/allinpay/pay/gct_wxpay',
     reqType: {} as 气瓶检测订单微信支付参数,
     resType: {} as any,
   },
   /** 查询订单状态 */
   get_orderStatus: {
-    realUrl: '/allinpay/pay/get_orderStatus' as const,
+    realUrl: '/allinpay/pay/get_orderStatus',
 
     resType: {} as any,
   },
   /** 长城代物流公司B2B充值 */
   gway_deposit_apply: {
-    realUrl: '/allinpay/pay/gway_deposit_apply' as const,
+    realUrl: '/allinpay/pay/gway_deposit_apply',
     reqType: {} as B2BDepositParam,
     resType: {} as any,
   },
   /** 发起向物流公司B2B充值 */
   gway_deposit_start: {
-    realUrl: '/allinpay/pay/gway_deposit_start' as const,
+    realUrl: '/allinpay/pay/gway_deposit_start',
     reqType: {} as B2BDepositParam,
     resType: {} as any,
   },
   /** 小程序支付 */
   minapay: {
-    realUrl: '/allinpay/pay/minapay' as const,
+    realUrl: '/allinpay/pay/minapay',
     reqType: {} as WxpayParam,
     resType: {} as any,
   },
   /** 所属物流挂靠车微信支付(小程序支付) */
   minapay_carrier: {
-    realUrl: '/allinpay/pay/minapay_carrier' as const,
+    realUrl: '/allinpay/pay/minapay_carrier',
     reqType: {} as WxpayParam,
     resType: {} as any,
   },
   /** 驾驶员个人微信支付(小程序支付) */
   minapay_person: {
-    realUrl: '/allinpay/pay/minapay_person' as const,
+    realUrl: '/allinpay/pay/minapay_person',
     reqType: {} as WxpayParam,
     resType: {} as any,
   },
   /** 查询账户收支明细 */
   query_bankIn_expDetail: {
-    realUrl: '/allinpay/pay/query_bankIn_expDetail' as const,
+    realUrl: '/allinpay/pay/query_bankIn_expDetail',
     reqType: {} as QueryBankInExpDetailParam,
     resType: {} as any,
   },
   /** 查询账户资金流水分页列表 */
   query_cash_flow: {
-    realUrl: '/allinpay/pay/query_cash_flow' as const,
+    realUrl: '/allinpay/pay/query_cash_flow',
     reqType: {} as IPageParams<QueryCashFlowParam>,
     resType: {} as any,
   },
   /** 挂靠车余额消费 */
   rely_consume_1: {
-    realUrl: '/allinpay/pay/rely_consume' as const,
+    realUrl: '/allinpay/pay/rely_consume',
     reqType: {} as SelfConsumeParam,
     resType: {} as any,
   },
   /** 挂靠车余额消费 */
   rely_consume_v2: {
-    realUrl: '/allinpay/pay/rely_consume_v2' as const,
+    realUrl: '/allinpay/pay/rely_consume_v2',
     reqType: {} as RelyConsumeParam,
     resType: {} as any,
   },
   /** 自营车消费 */
   self_consume: {
-    realUrl: '/allinpay/pay/self_consume' as const,
+    realUrl: '/allinpay/pay/self_consume',
     reqType: {} as SelfConsumeParam,
     resType: {} as any,
   },
   /** 自营车直销消费 */
   self_consume_direct_v2: {
-    realUrl: '/allinpay/pay/self_consume_direct_v2' as const,
+    realUrl: '/allinpay/pay/self_consume_direct_v2',
     reqType: {} as SelfConsumeParam,
     resType: {} as any,
   },
   /** 直销模式自营车消费 */
   self_consume_directsales: {
-    realUrl: '/allinpay/pay/self_consume_directsales' as const,
+    realUrl: '/allinpay/pay/self_consume_directsales',
     reqType: {} as SelfConsumeParam,
     resType: {} as any,
   },
   /** 自营车经销消费 */
   self_consume_v2: {
-    realUrl: '/allinpay/pay/self_consume_v2' as const,
+    realUrl: '/allinpay/pay/self_consume_v2',
     reqType: {} as SelfConsumeParam,
     resType: {} as any,
   },
   /** 提现申请 */
   withdraw_apply: {
-    realUrl: '/allinpay/pay/withdraw_apply' as const,
+    realUrl: '/allinpay/pay/withdraw_apply',
     reqType: {} as WithdrawParam,
     resType: {} as any,
   },
   /** 服务号微信支付 */
   wxpay_1: {
-    realUrl: '/allinpay/pay/wxpay' as const,
+    realUrl: '/allinpay/pay/wxpay',
     reqType: {} as WxpayParam,
     resType: {} as any,
   },
   /** 个人微信支付退款分账退款回调 */
   split_person_refund: {
-    realUrl: '/allinpay/refund/callback/split_person_refund' as const,
+    realUrl: '/allinpay/refund/callback/split_person_refund',
 
     resType: {} as ResponseEntity,
   },
   /** 微信退款回调 */
   wxRefund: {
-    realUrl: '/allinpay/refund/callback/wxRefund' as const,
+    realUrl: '/allinpay/refund/callback/wxRefund',
 
     resType: {} as ResponseEntity,
   },
   /** 个人微信支付退款回调 */
   wx_person_refund: {
-    realUrl: '/allinpay/refund/callback/wx_person_refund' as const,
+    realUrl: '/allinpay/refund/callback/wx_person_refund',
 
     resType: {} as ResponseEntity,
   },
   /** 加气退款 */
   execute: {
-    realUrl: '/allinpay/refund/execute' as const,
+    realUrl: '/allinpay/refund/execute',
     reqType: {} as 订单退款参数,
     resType: {} as any,
   },
   /** 加气退款 */
   execute_yw: {
-    realUrl: '/allinpay/refund/execute_yw' as const,
+    realUrl: '/allinpay/refund/execute_yw',
     reqType: {} as 订单退款参数,
     resType: {} as any,
   },
   /** 操作记录 */
   log: {
-    realUrl: '/allinpay/refund/log' as const,
+    realUrl: '/allinpay/refund/log',
     reqType: {} as GasOrder对象,
     resType: {} as 订单退款参数,
   },
   /** 操作记录(智慧单站) */
   log_snp: {
-    realUrl: '/allinpay/refund/log_snp' as const,
+    realUrl: '/allinpay/refund/log_snp',
     reqType: {} as GasOrder对象,
     resType: {} as 订单退款参数,
   },

+ 9 - 9
src/utils/config/interFaces/index.ts

@@ -1,30 +1,30 @@
+import account from './account'
 import websocket from './websocket'
-import settle from './settle'
 import tms from './tms'
-import account from './account'
 import message from './message'
-import user from './user'
 import pay from './pay'
 import allinpay from './allinpay'
+import settle from './settle'
+import user from './user'
 import strategy from './strategy'
 
 export default {
+  /** 账户中心 */
+  account,
   /** websocket打印中心 */
   websocket,
-  /** 结算中心 */
-  settle,
   /** 运力中心 */
   tms,
-  /** 账户中心 */
-  account,
   /** 消息中心 */
   message,
-  /** 用户中心 */
-  user,
   /** 支付中心 */
   pay,
   /** 通联支付 */
   allinpay,
+  /** 结算中心 */
+  settle,
+  /** 用户中心 */
+  user,
   /** 运营策略中心 */
   strategy,
 }

+ 76 - 76
src/utils/config/interFaces/message.ts

@@ -1,394 +1,394 @@
 export default {
   /** 模拟收到加气订单-调用三个接口 */
   mockReceiveGasOrder: {
-    realUrl: '/message/Test/mockReceiveGasOrder' as const,
+    realUrl: '/message/Test/mockReceiveGasOrder',
     reqType: {} as GasOrder,
     resType: {} as string,
   },
   /** 小票机access_token伪刷新 */
   printerAccessTokenRefresh: {
-    realUrl: '/message/Test/printerAccessTokenRefresh' as const,
+    realUrl: '/message/Test/printerAccessTokenRefresh',
 
     resType: {} as string,
   },
   /** 小票打印机打印测试 */
   sendPrinterMessage: {
-    realUrl: '/message/Test/sendPrinterMessage' as const,
+    realUrl: '/message/Test/sendPrinterMessage',
     reqType: {} as GasOrder,
     resType: {} as string,
   },
   /** 微信模板消息测试 */
   sendTemplateMessage: {
-    realUrl: '/message/Test/sendTemplateMessage' as const,
+    realUrl: '/message/Test/sendTemplateMessage',
     reqType: {} as GasOrder,
     resType: {} as string,
   },
   /** 微信模板消息测试 */
   sendWxMessage: {
-    realUrl: '/message/Test/sendWxMessage' as const,
+    realUrl: '/message/Test/sendWxMessage',
     reqType: {} as GasOrder,
     resType: {} as string,
   },
   /** 微信access_token伪刷新 */
   wxAccessTokenRefresh: {
-    realUrl: '/message/Test/wxAccessTokenRefresh' as const,
+    realUrl: '/message/Test/wxAccessTokenRefresh',
 
     resType: {} as string,
   },
   /** 获取file_upload_log列表 */
   list: {
-    realUrl: '/message/file_upload_log/list' as const,
+    realUrl: '/message/file_upload_log/list',
     reqType: {} as IPageParams<FileUploadLog对象>,
     resType: {} as IPage<FileUploadLog对象>,
   },
   /** 添加消息 */
   add: {
-    realUrl: '/message/mc_message/add' as const,
+    realUrl: '/message/mc_message/add',
     reqType: {} as McMessageParam,
     resType: {} as boolean,
   },
   /** 删除消息 */
   del_batch: {
-    realUrl: '/message/mc_message/del_batch' as const,
+    realUrl: '/message/mc_message/del_batch',
     reqType: {} as IdsParam,
     resType: {} as boolean,
   },
   /** 管理后台查询消息详情 */
   find: {
-    realUrl: '/message/mc_message/find' as const,
+    realUrl: '/message/mc_message/find',
     reqType: {} as McMessage对象,
     resType: {} as McMessageResult,
   },
   /** 用户查询消息详情 */
   find_with_unread2read: {
-    realUrl: '/message/mc_message/find_with_unread2read' as const,
+    realUrl: '/message/mc_message/find_with_unread2read',
     reqType: {} as McMessage对象,
     resType: {} as McMessageResult,
   },
   /** 消息管理分页列表 */
   page_list: {
-    realUrl: '/message/mc_message/page_list' as const,
+    realUrl: '/message/mc_message/page_list',
     reqType: {} as IPageParams<McMessageQueryParam>,
     resType: {} as IPage<McMessageResult>,
   },
   /** 批量保存已读状态 */
   unread2read_batch: {
-    realUrl: '/message/mc_message/unread2read_batch' as const,
+    realUrl: '/message/mc_message/unread2read_batch',
     reqType: {} as IdsParam,
     resType: {} as boolean,
   },
   /** 修改消息 */
   update: {
-    realUrl: '/message/mc_message/update' as const,
+    realUrl: '/message/mc_message/update',
     reqType: {} as McMessageParam,
     resType: {} as boolean,
   },
   /** 用户消息中心分页列表 */
   user_page_list: {
-    realUrl: '/message/mc_message/user_page_list' as const,
+    realUrl: '/message/mc_message/user_page_list',
     reqType: {} as IPageParams<McMessageQueryParam>,
     resType: {} as IPage<McUserMessageResult>,
   },
   /** 用户未读消息提示 */
   user_unread_list: {
-    realUrl: '/message/mc_message/user_unread_list' as const,
+    realUrl: '/message/mc_message/user_unread_list',
 
     resType: {} as McUserMessageNoticeResult,
   },
   /** 用户未读消息提示 */
   user_unread_mails: {
-    realUrl: '/message/mc_message/user_unread_mails' as const,
+    realUrl: '/message/mc_message/user_unread_mails',
 
     resType: {} as McUserMessageNoticeResult,
   },
   /** 添加msg */
   add_1: {
-    realUrl: '/message/msg/add' as const,
+    realUrl: '/message/msg/add',
     reqType: {} as Msg对象,
     resType: {} as any,
   },
   /** 查找消息,(id必传) */
   find_1: {
-    realUrl: '/message/msg/find' as const,
+    realUrl: '/message/msg/find',
     reqType: {} as Msg对象,
     resType: {} as any,
   },
   /** 获取msg列表,toUserId必传 */
   list_1: {
-    realUrl: '/message/msg/list' as const,
+    realUrl: '/message/msg/list',
     reqType: {} as IPageParams<Msg对象>,
     resType: {} as any,
   },
   /** 添加msg_group */
   add_2: {
-    realUrl: '/message/msg_group/add' as const,
+    realUrl: '/message/msg_group/add',
     reqType: {} as MsgGroup对象,
     resType: {} as any,
   },
   /** 获取msg_group列表 */
   list_2: {
-    realUrl: '/message/msg_group/list' as const,
+    realUrl: '/message/msg_group/list',
     reqType: {} as IPageParams<MsgGroup对象>,
     resType: {} as any,
   },
   /** 修改msg_group */
   update_1: {
-    realUrl: '/message/msg_group/update' as const,
+    realUrl: '/message/msg_group/update',
     reqType: {} as MsgGroup对象,
     resType: {} as any,
   },
   /** 添加msg_id_gen */
   add_3: {
-    realUrl: '/message/msg_id_gen/add' as const,
+    realUrl: '/message/msg_id_gen/add',
     reqType: {} as MsgIdGen对象,
     resType: {} as any,
   },
   /** 获取msg_id_gen列表 */
   list_3: {
-    realUrl: '/message/msg_id_gen/list' as const,
+    realUrl: '/message/msg_id_gen/list',
     reqType: {} as IPageParams<MsgIdGen对象>,
     resType: {} as any,
   },
   /** 修改msg_id_gen */
   update_2: {
-    realUrl: '/message/msg_id_gen/update' as const,
+    realUrl: '/message/msg_id_gen/update',
     reqType: {} as MsgIdGen对象,
     resType: {} as any,
   },
   /** 发送sms通知 */
   send: {
-    realUrl: '/message/notify/send' as const,
+    realUrl: '/message/notify/send',
     reqType: {} as SmsSendLog对象,
     resType: {} as boolean,
   },
   /** 营业执照识别 */
   business_license: {
-    realUrl: '/message/ocr/business_license' as const,
+    realUrl: '/message/ocr/business_license',
     reqType: {} as ocr文字识别参数,
     resType: {} as 营业执照信息,
   },
   /** 驾驶证识别 */
   driver_license: {
-    realUrl: '/message/ocr/driver_license' as const,
+    realUrl: '/message/ocr/driver_license',
     reqType: {} as ocr文字识别参数,
     resType: {} as 驾驶证信息,
   },
   /** OCR识别身份证信息 */
   idcard: {
-    realUrl: '/message/ocr/idcard' as const,
+    realUrl: '/message/ocr/idcard',
     reqType: {} as ocr文字识别参数,
     resType: {} as 身份证信息,
   },
   /** 增值税发票识别 */
   receipt_license: {
-    realUrl: '/message/ocr/receipt_license' as const,
+    realUrl: '/message/ocr/receipt_license',
     reqType: {} as ocr识别参数,
     resType: {} as 增值税发票信息,
   },
   /** 增值税发票识别(上传文件) */
   receipt_license_file: {
-    realUrl: '/message/ocr/receipt_license_file' as const,
+    realUrl: '/message/ocr/receipt_license_file',
     isUpload: true,
 
     resType: {} as 增值税发票信息,
   },
   /** 行驶证识别 */
   vehicle_license: {
-    realUrl: '/message/ocr/vehicle_license' as const,
+    realUrl: '/message/ocr/vehicle_license',
     reqType: {} as ocr文字识别参数,
     resType: {} as 行驶证识别信息,
   },
   /** add */
   add_4: {
-    realUrl: '/message/printer/add' as const,
+    realUrl: '/message/printer/add',
     reqType: {} as Printer对象,
     resType: {} as string,
   },
   /** del */
   del: {
-    realUrl: '/message/printer/del' as const,
+    realUrl: '/message/printer/del',
     reqType: {} as Printer对象,
     resType: {} as string,
   },
   /** list */
   list_4: {
-    realUrl: '/message/printer/list' as const,
+    realUrl: '/message/printer/list',
     reqType: {} as Printer对象,
     resType: {} as Array<Printer对象>,
   },
   /** status */
   status: {
-    realUrl: '/message/printer/status' as const,
+    realUrl: '/message/printer/status',
     reqType: {} as Printer对象,
     resType: {} as AnyObject,
   },
   /** update */
   update_3: {
-    realUrl: '/message/printer/update' as const,
+    realUrl: '/message/printer/update',
     reqType: {} as Printer对象,
     resType: {} as boolean,
   },
   /** 添加栏目 */
   add_5: {
-    realUrl: '/message/qa_catalogs/add' as const,
+    realUrl: '/message/qa_catalogs/add',
     reqType: {} as QaCatalogs对象,
     resType: {} as any,
   },
   /** 删除栏目 */
   delete: {
-    realUrl: '/message/qa_catalogs/delete' as const,
+    realUrl: '/message/qa_catalogs/delete',
     reqType: {} as QaCatalogs对象,
     resType: {} as any,
   },
   /** 根据栏目id获取一级二级栏目信息 */
   get_parent_catalogs: {
-    realUrl: '/message/qa_catalogs/get_parent_catalogs' as const,
+    realUrl: '/message/qa_catalogs/get_parent_catalogs',
     reqType: {} as QaCatalogs对象,
     resType: {} as any,
   },
   /** 获取栏目列表 */
   list_5: {
-    realUrl: '/message/qa_catalogs/list' as const,
+    realUrl: '/message/qa_catalogs/list',
     reqType: {} as QaCatalogs对象,
     resType: {} as any,
   },
   /** 获取栏目分页列表 */
   page: {
-    realUrl: '/message/qa_catalogs/page' as const,
+    realUrl: '/message/qa_catalogs/page',
     reqType: {} as IPageParams<QaCatalogs对象>,
     resType: {} as any,
   },
   /** 修改栏目 */
   update_4: {
-    realUrl: '/message/qa_catalogs/update' as const,
+    realUrl: '/message/qa_catalogs/update',
     reqType: {} as QaCatalogs对象,
     resType: {} as any,
   },
   /** 添加qa_client */
   add_6: {
-    realUrl: '/message/qa_client/add' as const,
+    realUrl: '/message/qa_client/add',
     reqType: {} as QaClient对象,
     resType: {} as any,
   },
   /** 根据客户端id获取客户端名字 */
   get_client: {
-    realUrl: '/message/qa_client/get_client' as const,
+    realUrl: '/message/qa_client/get_client',
     reqType: {} as QaClient对象,
     resType: {} as any,
   },
   /** 获取客户端列表 */
   list_6: {
-    realUrl: '/message/qa_client/list' as const,
+    realUrl: '/message/qa_client/list',
     reqType: {} as QaClient对象,
     resType: {} as any,
   },
   /** 修改qa_client */
   update_5: {
-    realUrl: '/message/qa_client/update' as const,
+    realUrl: '/message/qa_client/update',
     reqType: {} as QaClient对象,
     resType: {} as any,
   },
   /** 添加问答 */
   add_7: {
-    realUrl: '/message/qa_content/add' as const,
+    realUrl: '/message/qa_content/add',
     reqType: {} as QaContentSaveParam,
     resType: {} as any,
   },
   /** 删除问答 */
   delete_1: {
-    realUrl: '/message/qa_content/delete' as const,
+    realUrl: '/message/qa_content/delete',
     reqType: {} as QaContent对象,
     resType: {} as any,
   },
   /** 查找一个问答 */
   find_2: {
-    realUrl: '/message/qa_content/find' as const,
+    realUrl: '/message/qa_content/find',
     reqType: {} as QaContent对象,
     resType: {} as any,
   },
   /** 查找一个问答配置的客户端ids */
   find_client_ids: {
-    realUrl: '/message/qa_content/find_client_ids' as const,
+    realUrl: '/message/qa_content/find_client_ids',
     reqType: {} as QaContent对象,
     resType: {} as any,
   },
   /** 根据条件获取问答分页列表 */
   page_1: {
-    realUrl: '/message/qa_content/page' as const,
+    realUrl: '/message/qa_content/page',
     reqType: {} as IPageParams<QaContentParam>,
     resType: {} as any,
   },
   /** 修改问答 */
   update_6: {
-    realUrl: '/message/qa_content/update' as const,
+    realUrl: '/message/qa_content/update',
     reqType: {} as QaContentSaveParam,
     resType: {} as any,
   },
   /** 问答是否有帮助 */
   use_or_no: {
-    realUrl: '/message/qa_content/use_or_no' as const,
+    realUrl: '/message/qa_content/use_or_no',
     reqType: {} as UseParam,
     resType: {} as any,
   },
   /** 添加问答客户端 */
   add_8: {
-    realUrl: '/message/qa_content_client/add' as const,
+    realUrl: '/message/qa_content_client/add',
     reqType: {} as QaContentClientParam,
     resType: {} as any,
   },
   /** 修改问答客户端 */
   update_7: {
-    realUrl: '/message/qa_content_client/update' as const,
+    realUrl: '/message/qa_content_client/update',
     reqType: {} as QaContentClientParam,
     resType: {} as any,
   },
   /** 根据手机号获取短信验证码发送日志 */
   find_sms_code_log: {
-    realUrl: '/message/sms_send_log/find_sms_code_log' as const,
+    realUrl: '/message/sms_send_log/find_sms_code_log',
     reqType: {} as MobileParam,
     resType: {} as SmsSendLog对象,
   },
   /** 获取sms_send_log列表 */
   list_7: {
-    realUrl: '/message/sms_send_log/list' as const,
+    realUrl: '/message/sms_send_log/list',
     reqType: {} as IPageParams<SmsSendLog对象>,
     resType: {} as IPage<SmsSendLog对象>,
   },
   /** 添加sms_template */
   add_9: {
-    realUrl: '/message/sms_template/add' as const,
+    realUrl: '/message/sms_template/add',
     reqType: {} as SmsTemplate对象,
     resType: {} as any,
   },
   /** 获取sms_template列表 */
   list_8: {
-    realUrl: '/message/sms_template/list' as const,
+    realUrl: '/message/sms_template/list',
     reqType: {} as IPageParams<SmsTemplate对象>,
     resType: {} as any,
   },
   /** 修改sms_template */
   update_8: {
-    realUrl: '/message/sms_template/update' as const,
+    realUrl: '/message/sms_template/update',
     reqType: {} as SmsTemplate对象,
     resType: {} as any,
   },
   /** 上传一个文件或图像 */
   file: {
-    realUrl: '/message/upload/file' as const,
+    realUrl: '/message/upload/file',
     isUpload: true,
 
     resType: {} as string,
   },
   /** 上传图像生成默认尺寸缩略图 */
   image: {
-    realUrl: '/message/upload/image' as const,
+    realUrl: '/message/upload/image',
     isUpload: true,
 
     resType: {} as string,
   },
   /** 上传图像生成指定尺寸缩略图 */
   thumb: {
-    realUrl: '/message/upload/thumb' as const,
+    realUrl: '/message/upload/thumb',
     isUpload: true,
     reqType: {} as {
       /** 缩略图的高度 */
@@ -400,67 +400,67 @@ export default {
   },
   /** 验证用户验证码 */
   code: {
-    realUrl: '/message/verify/code' as const,
+    realUrl: '/message/verify/code',
 
     resType: {} as boolean,
   },
   /** 获取验证码图片 */
   get_image: {
-    realUrl: '/message/verify_code/get_image' as const,
+    realUrl: '/message/verify_code/get_image',
 
     resType: {} as 图片验证码返回值,
   },
   /** 发送sms验证码 */
   send_1: {
-    realUrl: '/message/verify_code/send' as const,
+    realUrl: '/message/verify_code/send',
     reqType: {} as SmsSendLog对象,
     resType: {} as boolean,
   },
   /** 发送注册短信 */
   send_sms: {
-    realUrl: '/message/verify_code/send_sms' as const,
+    realUrl: '/message/verify_code/send_sms',
     reqType: {} as 发送短信_图形验证码辅助验证,
     resType: {} as boolean,
   },
   /** 验证用户验证码 */
   verify: {
-    realUrl: '/message/verify_code/verify' as const,
+    realUrl: '/message/verify_code/verify',
 
     resType: {} as boolean,
   },
   /** 发送物流账户余额不足的的微信模板消息 */
   send_carrierbalance_msg: {
-    realUrl: '/message/wx_template_message/send_carrierbalance_msg' as const,
+    realUrl: '/message/wx_template_message/send_carrierbalance_msg',
     reqType: {} as 返现微信模板消息参数,
     resType: {} as string,
   },
   /** 发送返现完成的微信模板消息 */
   send_cashback_msg: {
-    realUrl: '/message/wx_template_message/send_cashback_msg' as const,
+    realUrl: '/message/wx_template_message/send_cashback_msg',
     reqType: {} as 返现微信模板消息参数,
     resType: {} as string,
   },
   /** allUserinfo */
   all_userinfo: {
-    realUrl: '/message/wx_userinfo/all_userinfo' as const,
+    realUrl: '/message/wx_userinfo/all_userinfo',
     reqType: {} as 微信openid,
     resType: {} as WxUserinfo,
   },
   /** snsapi_base */
   snsapi_base: {
-    realUrl: '/message/wx_userinfo/snsapi_base' as const,
+    realUrl: '/message/wx_userinfo/snsapi_base',
     reqType: {} as 微信网页授权获取用户信息参数_授权后重定向参数,
     resType: {} as string,
   },
   /** snsapi_userinfo */
   snsapi_userinfo: {
-    realUrl: '/message/wx_userinfo/snsapi_userinfo' as const,
+    realUrl: '/message/wx_userinfo/snsapi_userinfo',
     reqType: {} as 微信网页授权获取用户信息参数_授权后重定向参数,
     resType: {} as WxWebPageUserinfo,
   },
   /** sendMsg */
   send_2: {
-    realUrl: '/test/msg/send' as const,
+    realUrl: '/test/msg/send',
 
     resType: {} as any,
   },

+ 112 - 112
src/utils/config/interFaces/pay.ts

@@ -1,673 +1,673 @@
 export default {
   /** 创建加气订单 */
   add: {
-    realUrl: '/pay/gas_order/add' as const,
+    realUrl: '/pay/gas_order/add',
     reqType: {} as GasOrder对象,
     resType: {} as any,
   },
   /** 创建加气订单 */
   add_v2: {
-    realUrl: '/pay/gas_order/add_v2' as const,
+    realUrl: '/pay/gas_order/add_v2',
     reqType: {} as GasOrder对象,
     resType: {} as any,
   },
   /** 取消订单for收银员 */
   cancel_forcashier: {
-    realUrl: '/pay/gas_order/cancel_forcashier' as const,
+    realUrl: '/pay/gas_order/cancel_forcashier',
     reqType: {} as GasOrder对象,
     resType: {} as any,
   },
   /** 物流客户订单查询接口,带时间 */
   list_withtime: {
-    realUrl: '/pay/gas_order/carrier/list_withtime' as const,
+    realUrl: '/pay/gas_order/carrier/list_withtime',
     reqType: {} as IPageParams<GasOrderListParam>,
     resType: {} as any,
   },
   /** 物流公司专享优惠订单查询接口,带时间 */
   list_withtime_1: {
-    realUrl: '/pay/gas_order/carrier_rebate/list_withtime' as const,
+    realUrl: '/pay/gas_order/carrier_rebate/list_withtime',
     reqType: {} as IPageParams<GasOrderListParam>,
     resType: {} as any,
   },
   /** 查询指定司机是否有待支付的订单 */
   driver_order_check: {
-    realUrl: '/pay/gas_order/driver_order_check' as const,
+    realUrl: '/pay/gas_order/driver_order_check',
     reqType: {} as 通用id参数,
     resType: {} as boolean,
   },
   /** 导出订单列表 */
   export: {
-    realUrl: '/pay/gas_order/export' as const,
+    realUrl: '/pay/gas_order/export',
     reqType: {} as ExcelExportParam,
 
   },
   /** 查找gas_order */
   find: {
-    realUrl: '/pay/gas_order/find' as const,
+    realUrl: '/pay/gas_order/find',
 
     resType: {} as any,
   },
   /** 统计日物流公司订单数 */
   find_carrier_order_total: {
-    realUrl: '/pay/gas_order/find_carrier_order_total' as const,
+    realUrl: '/pay/gas_order/find_carrier_order_total',
     reqType: {} as SumOrgOrderNumParam,
     resType: {} as any,
   },
   /** 查询加气站待支付订单数量,今日的 */
   find_gasstation_nopayorder_number: {
-    realUrl: '/pay/gas_order/find_gasstation_nopayorder_number' as const,
+    realUrl: '/pay/gas_order/find_gasstation_nopayorder_number',
     reqType: {} as GasstationIdParam,
     resType: {} as any,
   },
   /** 统计日加气站订单数 */
   find_gasstation_order_total: {
-    realUrl: '/pay/gas_order/find_gasstation_order_total' as const,
+    realUrl: '/pay/gas_order/find_gasstation_order_total',
     reqType: {} as SumOrgOrderNumParam,
     resType: {} as any,
   },
   /** 查找最新的一条订单for司机 */
   find_latest: {
-    realUrl: '/pay/gas_order/find_latest' as const,
+    realUrl: '/pay/gas_order/find_latest',
     reqType: {} as FindLatestParam,
     resType: {} as any,
   },
   /** 待支付订单详情for司机 */
   find_nopayfordriver: {
-    realUrl: '/pay/gas_order/find_nopayfordriver' as const,
+    realUrl: '/pay/gas_order/find_nopayfordriver',
     reqType: {} as Record<any, any>,
     resType: {} as any,
   },
   /** 待支付订单详情for司机 */
   find_unpayfordriver: {
-    realUrl: '/pay/gas_order/find_unpayfordriver' as const,
+    realUrl: '/pay/gas_order/find_unpayfordriver',
 
     resType: {} as GasOrder对象,
   },
   /** 根据司机id查询当前司机是否首次下单支付完成 */
   first_finished_order_check: {
-    realUrl: '/pay/gas_order/first_finished_order_check' as const,
+    realUrl: '/pay/gas_order/first_finished_order_check',
     reqType: {} as 通用id参数,
     resType: {} as boolean,
   },
   /** 加气站订单查询接口,带时间 */
   list_withtime_2: {
-    realUrl: '/pay/gas_order/gas/list_withtime' as const,
+    realUrl: '/pay/gas_order/gas/list_withtime',
     reqType: {} as IPageParams<GasOrderListParam>,
     resType: {} as any,
   },
   /** 查询加气站日订单数 */
   get_gasstation_order_total: {
-    realUrl: '/pay/gas_order/get_gasstation_order_total' as const,
+    realUrl: '/pay/gas_order/get_gasstation_order_total',
     reqType: {} as SumGasstationOrderNumParam,
     resType: {} as any,
   },
   /** 查询订单列表 */
   get_order_list: {
-    realUrl: '/pay/gas_order/get_order_list' as const,
+    realUrl: '/pay/gas_order/get_order_list',
     reqType: {} as IPageParams<GasOrderListParam>,
     resType: {} as GasOrderRes,
   },
   /** 查询订单优惠列表 */
   get_order_rebates: {
-    realUrl: '/pay/gas_order/get_order_rebates' as const,
+    realUrl: '/pay/gas_order/get_order_rebates',
     reqType: {} as 通用id参数,
     resType: {} as Array<GasOrderRebate对象>,
   },
   /** 查询订单 */
   get_orders: {
-    realUrl: '/pay/gas_order/get_orders' as const,
+    realUrl: '/pay/gas_order/get_orders',
     reqType: {} as IPageParams<订单查询参数实体类>,
     resType: {} as any,
   },
   /** 获取gas_order列表 */
   list: {
-    realUrl: '/pay/gas_order/list' as const,
+    realUrl: '/pay/gas_order/list',
     reqType: {} as IPageParams<GasOrder对象>,
     resType: {} as any,
   },
   /** 收银员管理端-查询加气订单 */
   list_for_gasstation: {
-    realUrl: '/pay/gas_order/list_for_gasstation' as const,
+    realUrl: '/pay/gas_order/list_for_gasstation',
     reqType: {} as IPageParams<GasOrderListParam>,
     resType: {} as any,
   },
   /** 通用订单查询接口,带时间 */
   list_withtime_3: {
-    realUrl: '/pay/gas_order/list_withtime' as const,
+    realUrl: '/pay/gas_order/list_withtime',
     reqType: {} as IPageParams<GasOrderListParam>,
     resType: {} as any,
   },
   /** 查询指定车辆是否有待支付的订单 */
   truck_order_check: {
-    realUrl: '/pay/gas_order/truck_order_check' as const,
+    realUrl: '/pay/gas_order/truck_order_check',
     reqType: {} as 通用id参数,
     resType: {} as boolean,
   },
   /** 修改gas_order */
   update: {
-    realUrl: '/pay/gas_order/update' as const,
+    realUrl: '/pay/gas_order/update',
     reqType: {} as GasOrder对象,
     resType: {} as any,
   },
   /** 司机创建气瓶检测预约订单 */
   add_1: {
-    realUrl: '/pay/gct_order/add' as const,
+    realUrl: '/pay/gct_order/add',
     reqType: {} as 气瓶检测订单查询参数,
     resType: {} as GctOrder对象,
   },
   /** 根据id取消气瓶检测订单 */
   cancel: {
-    realUrl: '/pay/gct_order/cancel' as const,
+    realUrl: '/pay/gct_order/cancel',
     reqType: {} as GctOrder对象,
     resType: {} as boolean,
   },
   /** 根据id查询气瓶检测订单详情 */
   get_by_id: {
-    realUrl: '/pay/gct_order/get_by_id' as const,
+    realUrl: '/pay/gct_order/get_by_id',
     reqType: {} as 通用id参数,
     resType: {} as GctOrder对象,
   },
   /** getDriverOrders */
   get_driver_appointed_order: {
-    realUrl: '/pay/gct_order/get_driver_appointed_order' as const,
+    realUrl: '/pay/gct_order/get_driver_appointed_order',
     reqType: {} as 司机预约检测订单查询参数,
     resType: {} as Array<GctOrder对象>,
   },
   /** 运营管理后台气瓶检测订单分页查询 */
   page_list: {
-    realUrl: '/pay/gct_order/page_list' as const,
+    realUrl: '/pay/gct_order/page_list',
     reqType: {} as IPageParams<气瓶检测订单查询参数>,
     resType: {} as IPage<GctOrder对象>,
   },
   /** 分页查询司机自己的气瓶检测订单 */
   page_list_for_driver: {
-    realUrl: '/pay/gct_order/page_list_for_driver' as const,
+    realUrl: '/pay/gct_order/page_list_for_driver',
     reqType: {} as IPageParams<气瓶检测订单查询参数>,
     resType: {} as IPage<GctOrder对象>,
   },
   /** 加气站的气瓶检测订单分页查询 */
   page_list_for_gasstation: {
-    realUrl: '/pay/gct_order/page_list_for_gasstation' as const,
+    realUrl: '/pay/gct_order/page_list_for_gasstation',
     reqType: {} as IPageParams<气瓶检测订单查询参数>,
     resType: {} as IPage<GctOrder对象>,
   },
   /** 加气站确认返还资料 */
   confirm_returned: {
-    realUrl: '/pay/gct_order_attach/confirm_returned' as const,
+    realUrl: '/pay/gct_order_attach/confirm_returned',
     reqType: {} as 气瓶检测订单附件信息,
     resType: {} as boolean,
   },
   /** 加气站确认签收资料 */
   confirm_signed: {
-    realUrl: '/pay/gct_order_attach/confirm_signed' as const,
+    realUrl: '/pay/gct_order_attach/confirm_signed',
     reqType: {} as 气瓶检测订单附件信息,
     resType: {} as boolean,
   },
   /** 根据订单id查询订单所有的资料 */
   list_1: {
-    realUrl: '/pay/gct_order_attach/list' as const,
+    realUrl: '/pay/gct_order_attach/list',
     reqType: {} as 通用id参数,
     resType: {} as Array<GctOrderAttach对象>,
   },
   /** 请求绑定银行卡 */
   bind_bankCard: {
-    realUrl: '/pay/member/bind_bankCard' as const,
+    realUrl: '/pay/member/bind_bankCard',
     reqType: {} as BindCardParam,
     resType: {} as any,
   },
   /** 绑定手机 */
   bind_phone: {
-    realUrl: '/pay/member/bind_phone' as const,
+    realUrl: '/pay/member/bind_phone',
     reqType: {} as BindPhoneParam,
     resType: {} as any,
   },
   /** childFillerAutoAuth */
   child_filler_auto_auth: {
-    realUrl: '/pay/member/child_filler_auto_auth' as const,
+    realUrl: '/pay/member/child_filler_auto_auth',
     reqType: {} as Org,
     resType: {} as boolean,
   },
   /** getBankCardBin */
   get_bankCardBin: {
-    realUrl: '/pay/member/get_bankCardBin' as const,
+    realUrl: '/pay/member/get_bankCardBin',
     reqType: {} as GetBankCardBinParam,
     resType: {} as any,
   },
   /** getMemberInfo */
   get_memberInfo: {
-    realUrl: '/pay/member/get_memberInfo' as const,
+    realUrl: '/pay/member/get_memberInfo',
     reqType: {} as GetMemberInfoParam,
     resType: {} as any,
   },
   /** 获取企业认证相关状态 */
   get_org_auth_info: {
-    realUrl: '/pay/member/get_org_auth_info' as const,
+    realUrl: '/pay/member/get_org_auth_info',
 
     resType: {} as any,
   },
   /** idcard */
   idcard: {
-    realUrl: '/pay/member/idcard' as const,
+    realUrl: '/pay/member/idcard',
     reqType: {} as 身份证二要素认证参数,
     resType: {} as boolean,
   },
   /** 渠道开户 */
   open_account: {
-    realUrl: '/pay/member/open_account' as const,
+    realUrl: '/pay/member/open_account',
     reqType: {} as OpenAccountParam,
     resType: {} as any,
   },
   /** 查询绑定银行卡状态 */
   query_bankCard: {
-    realUrl: '/pay/member/query_bankCard' as const,
+    realUrl: '/pay/member/query_bankCard',
     reqType: {} as QueryBankCardParam,
     resType: {} as any,
   },
   /** 提现协议查询 */
   query_withdraw_protocol: {
-    realUrl: '/pay/member/query_withdraw_protocol' as const,
+    realUrl: '/pay/member/query_withdraw_protocol',
     reqType: {} as QuerySignContractParam,
     resType: {} as any,
   },
   /** 发送验证码 */
   send_sms_code: {
-    realUrl: '/pay/member/send_sms_code' as const,
+    realUrl: '/pay/member/send_sms_code',
     reqType: {} as SendVerificationCodeParam,
     resType: {} as any,
   },
   /** 转账授权 */
   sign_balance_protocol: {
-    realUrl: '/pay/member/sign_balance_protocol' as const,
+    realUrl: '/pay/member/sign_balance_protocol',
     reqType: {} as SignBalanceProtocolParam,
     resType: {} as any,
   },
   /** 提现授权 */
   sign_withdraw_protocol: {
-    realUrl: '/pay/member/sign_withdraw_protocol' as const,
+    realUrl: '/pay/member/sign_withdraw_protocol',
     reqType: {} as SignContractProtocolParam,
     resType: {} as any,
   },
   /** 解除绑定银行卡 */
   unbind_bankCard: {
-    realUrl: '/pay/member/unbind_bankCard' as const,
+    realUrl: '/pay/member/unbind_bankCard',
     reqType: {} as UnbindBankCardParam,
     resType: {} as any,
   },
   /** 解除绑定手机 */
   unbind_phone: {
-    realUrl: '/pay/member/unbind_phone' as const,
+    realUrl: '/pay/member/unbind_phone',
     reqType: {} as UnBindPhoneParam,
     resType: {} as any,
   },
   /** 上传企业营业执照、身份证图片到通联 */
   upload_org_pic: {
-    realUrl: '/pay/member/upload_org_pic' as const,
+    realUrl: '/pay/member/upload_org_pic',
     reqType: {} as IdcardCollectParam,
     resType: {} as any,
   },
   /** idcardAuth */
   idcard_auth: {
-    realUrl: '/pay/member/vehicle_owner/idcard_auth' as const,
+    realUrl: '/pay/member/vehicle_owner/idcard_auth',
     reqType: {} as 身份证二要素认证参数,
     resType: {} as boolean,
   },
   /** 物流公司B2B充值 */
   deposit_apply: {
-    realUrl: '/pay/pay/deposit_apply' as const,
+    realUrl: '/pay/pay/deposit_apply',
     reqType: {} as B2BDepositParam,
     resType: {} as any,
   },
   /** 物流公司B2B充值,弹出银联页面 */
   deposit_apply_confirm: {
-    realUrl: '/pay/pay/deposit_apply_confirm' as const,
+    realUrl: '/pay/pay/deposit_apply_confirm',
     reqType: {} as B2BDepositConfirmParam,
     resType: {} as any,
   },
   /** 气瓶检测微信支付 */
   gct_wxpay: {
-    realUrl: '/pay/pay/gct_wxpay' as const,
+    realUrl: '/pay/pay/gct_wxpay',
     reqType: {} as 气瓶检测订单微信支付参数,
     resType: {} as any,
   },
   /** 长城奥扬代物流公司B2B充值(直销) */
   gway_deposit_apply: {
-    realUrl: '/pay/pay/gway_deposit_apply' as const,
+    realUrl: '/pay/pay/gway_deposit_apply',
     reqType: {} as B2BDepositParam,
     resType: {} as any,
   },
   /** 长城奥扬发起向物流公司B2B充值(直销) */
   gway_deposit_start: {
-    realUrl: '/pay/pay/gway_deposit_start' as const,
+    realUrl: '/pay/pay/gway_deposit_start',
     reqType: {} as B2BDepositParam,
     resType: {} as any,
   },
   /** 小程序支付 */
   minapay: {
-    realUrl: '/pay/pay/minapay' as const,
+    realUrl: '/pay/pay/minapay',
     reqType: {} as WxpayParam,
     resType: {} as any,
   },
   /** 订单支付 */
   order_pay: {
-    realUrl: '/pay/pay/order_pay' as const,
+    realUrl: '/pay/pay/order_pay',
     reqType: {} as OrderPayParam,
     resType: {} as any,
   },
   /** 查询账户收支明细 */
   query_bankIn_expDetail: {
-    realUrl: '/pay/pay/query_bankIn_expDetail' as const,
+    realUrl: '/pay/pay/query_bankIn_expDetail',
     reqType: {} as QueryBankInExpDetailParam,
     resType: {} as any,
   },
   /** 查询账户资金流水分页列表 */
   query_cash_flow: {
-    realUrl: '/pay/pay/query_cash_flow' as const,
+    realUrl: '/pay/pay/query_cash_flow',
     reqType: {} as IPageParams<QueryCashFlowParam>,
     resType: {} as any,
   },
   /** 挂靠车消费 */
   rely_consume: {
-    realUrl: '/pay/pay/rely_consume' as const,
+    realUrl: '/pay/pay/rely_consume',
     reqType: {} as SelfConsumeParam,
     resType: {} as any,
   },
   /** 自营车消费 */
   self_consume: {
-    realUrl: '/pay/pay/self_consume' as const,
+    realUrl: '/pay/pay/self_consume',
     reqType: {} as SelfConsumeParam,
     resType: {} as any,
   },
   /** 提现申请 */
   withdraw_apply: {
-    realUrl: '/pay/pay/withdraw_apply' as const,
+    realUrl: '/pay/pay/withdraw_apply',
     reqType: {} as WithdrawParam,
     resType: {} as any,
   },
   /** 微信支付 */
   wxpay: {
-    realUrl: '/pay/pay/wxpay' as const,
+    realUrl: '/pay/pay/wxpay',
     reqType: {} as WxpayParam,
     resType: {} as any,
   },
   /** 根据渠道id获取渠道信息 */
   find_1: {
-    realUrl: '/pay/pay_channel/find' as const,
+    realUrl: '/pay/pay_channel/find',
     reqType: {} as PayChannel对象,
     resType: {} as any,
   },
   /** 新增充值订单(物流商充值) */
   add_2: {
-    realUrl: '/pay/recharge_order/add' as const,
+    realUrl: '/pay/recharge_order/add',
     reqType: {} as RechargeOrder对象,
     resType: {} as any,
   },
   /** 查找recharge_order */
   find_2: {
-    realUrl: '/pay/recharge_order/find' as const,
+    realUrl: '/pay/recharge_order/find',
 
     resType: {} as any,
   },
   /** 根据车牌号查询该车辆的充值流水 */
   find_by_car_number: {
-    realUrl: '/pay/recharge_order/find_by_car_number' as const,
+    realUrl: '/pay/recharge_order/find_by_car_number',
     reqType: {} as IPageParams<RechargeOrderParam>,
     resType: {} as any,
   },
   /** 获取recharge_order列表 */
   list_2: {
-    realUrl: '/pay/recharge_order/list' as const,
+    realUrl: '/pay/recharge_order/list',
     reqType: {} as IPageParams<RechargeOrderParam>,
     resType: {} as any,
   },
   /** 根据日期获取recharge_order列表 */
   list_withtime_4: {
-    realUrl: '/pay/recharge_order/list_withtime' as const,
+    realUrl: '/pay/recharge_order/list_withtime',
     reqType: {} as IPageParams<RechargeOrderParam>,
     resType: {} as any,
   },
   /** 添加register_log */
   add_3: {
-    realUrl: '/pay/register_log/add' as const,
+    realUrl: '/pay/register_log/add',
     reqType: {} as RegisterLog对象,
     resType: {} as any,
   },
   /** 最新一条-异步回调审核结果 */
   find_failReason: {
-    realUrl: '/pay/register_log/find_failReason' as const,
+    realUrl: '/pay/register_log/find_failReason',
     reqType: {} as RegisterLog对象,
     resType: {} as any,
   },
   /** 最新一条-异步回调返回信息日志详情 */
   find_latest_1: {
-    realUrl: '/pay/register_log/find_latest' as const,
+    realUrl: '/pay/register_log/find_latest',
     reqType: {} as RegisterLog对象,
     resType: {} as any,
   },
   /** 获取register_log列表 */
   list_3: {
-    realUrl: '/pay/register_log/list' as const,
+    realUrl: '/pay/register_log/list',
     reqType: {} as IPageParams<RegisterLog对象>,
     resType: {} as any,
   },
   /** 修改register_log */
   update_1: {
-    realUrl: '/pay/register_log/update' as const,
+    realUrl: '/pay/register_log/update',
     reqType: {} as RegisterLog对象,
     resType: {} as any,
   },
   /** 创建加气订单 */
   add_gasorder: {
-    realUrl: '/pay/third_party/add_gasorder' as const,
+    realUrl: '/pay/third_party/add_gasorder',
     reqType: {} as TpGasOrderParam,
     resType: {} as any,
   },
   /** 取消订单 */
   cancel_gasorder: {
-    realUrl: '/pay/third_party/cancel_gasorder' as const,
+    realUrl: '/pay/third_party/cancel_gasorder',
     reqType: {} as TpGasOrderParam,
     resType: {} as any,
   },
   /** 加气订单消费接口 */
   consume: {
-    realUrl: '/pay/third_party/consume' as const,
+    realUrl: '/pay/third_party/consume',
     reqType: {} as TpGasOrderParam,
     resType: {} as any,
   },
   /** 物流司机信息分页查询接口 */
   page_driver: {
-    realUrl: '/pay/third_party/page_driver' as const,
+    realUrl: '/pay/third_party/page_driver',
     reqType: {} as IPageParams<成丰对接_站全量查询参数>,
     resType: {} as any,
   },
   /** 物流订单信息分页查询接口 */
   page_gasorder: {
-    realUrl: '/pay/third_party/page_gasorder' as const,
+    realUrl: '/pay/third_party/page_gasorder',
     reqType: {} as IPageParams<成丰对接_站全量查询参数>,
     resType: {} as any,
   },
   /** 查找gas_order */
   qry_gasorder: {
-    realUrl: '/pay/third_party/qry_gasorder' as const,
+    realUrl: '/pay/third_party/qry_gasorder',
     reqType: {} as TpGasOrderParam,
     resType: {} as 外部对接加气订单VO,
   },
   /** 提现审核,通过:status=1,驳回:status=5 */
   check: {
-    realUrl: '/pay/withdraw_check_log/check' as const,
+    realUrl: '/pay/withdraw_check_log/check',
     reqType: {} as WithdrawCheckLog对象,
     resType: {} as any,
   },
   /** 通过withdraw_order_id,查询最新的审核记录 */
   find_3: {
-    realUrl: '/pay/withdraw_check_log/find' as const,
+    realUrl: '/pay/withdraw_check_log/find',
     reqType: {} as WithdrawCheckLog对象,
     resType: {} as any,
   },
   /** 查询审核记录日志 */
   list_4: {
-    realUrl: '/pay/withdraw_check_log/list' as const,
+    realUrl: '/pay/withdraw_check_log/list',
     reqType: {} as IPageParams<WithdrawCheckLog对象>,
     resType: {} as any,
   },
   /** 添加 */
   add_4: {
-    realUrl: '/pay/withdraw_config/add' as const,
+    realUrl: '/pay/withdraw_config/add',
     reqType: {} as WithdrawConfig对象,
     resType: {} as any,
   },
   /** 批量添加 */
   batch_add: {
-    realUrl: '/pay/withdraw_config/batch_add' as const,
+    realUrl: '/pay/withdraw_config/batch_add',
 
     resType: {} as any,
   },
   /** 根据组织名称+限制状态,获取withdraw_config列表 */
   list_by_param: {
-    realUrl: '/pay/withdraw_config/list_by_param' as const,
+    realUrl: '/pay/withdraw_config/list_by_param',
     reqType: {} as IPageParams<WithdrawConfig对象>,
     resType: {} as any,
   },
   /** 修改限制状态 */
   update_limitstatus: {
-    realUrl: '/pay/withdraw_config/update_limitstatus' as const,
+    realUrl: '/pay/withdraw_config/update_limitstatus',
     reqType: {} as WithdrawConfig对象,
     resType: {} as any,
   },
   /** 添加withdraw_order */
   add_5: {
-    realUrl: '/pay/withdraw_order/add' as const,
+    realUrl: '/pay/withdraw_order/add',
     reqType: {} as WithdrawOrder对象,
     resType: {} as any,
   },
   /** 获取待审核列表,status=0 */
   check_list: {
-    realUrl: '/pay/withdraw_order/check_list' as const,
+    realUrl: '/pay/withdraw_order/check_list',
     reqType: {} as IPageParams<WithdrawOrder对象>,
     resType: {} as any,
   },
   /** 提现电子回单下载 */
   eleReceiptDownload: {
-    realUrl: '/pay/withdraw_order/eleReceiptDownload' as const,
+    realUrl: '/pay/withdraw_order/eleReceiptDownload',
     reqType: {} as WithdrawOrder对象,
     resType: {} as any,
   },
   /** 根据订单号查询订单 */
   find_4: {
-    realUrl: '/pay/withdraw_order/find' as const,
+    realUrl: '/pay/withdraw_order/find',
     reqType: {} as WithdrawOrder对象,
     resType: {} as any,
   },
   /** 获取机构提现总金额 */
   find_total_amount: {
-    realUrl: '/pay/withdraw_order/find_total_amount' as const,
+    realUrl: '/pay/withdraw_order/find_total_amount',
     reqType: {} as WithdrawOrderParam,
     resType: {} as any,
   },
   /** 获取提现列表 */
   list_5: {
-    realUrl: '/pay/withdraw_order/list' as const,
+    realUrl: '/pay/withdraw_order/list',
     reqType: {} as IPageParams<WithdrawOrderListParam>,
     resType: {} as any,
   },
   /** 修改withdraw_order */
   update_2: {
-    realUrl: '/pay/withdraw_order/update' as const,
+    realUrl: '/pay/withdraw_order/update',
     reqType: {} as WithdrawOrder对象,
     resType: {} as any,
   },
   /** 添加withdraw_order_log */
   add_6: {
-    realUrl: '/pay/withdraw_order_log/add' as const,
+    realUrl: '/pay/withdraw_order_log/add',
     reqType: {} as WithdrawOrderLog对象,
     resType: {} as any,
   },
   /** 根据提现订单id查询订单日志 */
   get: {
-    realUrl: '/pay/withdraw_order_log/get' as const,
+    realUrl: '/pay/withdraw_order_log/get',
     reqType: {} as WithdrawOrderLogParam,
     resType: {} as any,
   },
   /** 获取withdraw_order_log列表 */
   list_6: {
-    realUrl: '/pay/withdraw_order_log/list' as const,
+    realUrl: '/pay/withdraw_order_log/list',
     reqType: {} as IPageParams<WithdrawOrderLog对象>,
     resType: {} as any,
   },
   /** 修改withdraw_order_log */
   update_3: {
-    realUrl: '/pay/withdraw_order_log/update' as const,
+    realUrl: '/pay/withdraw_order_log/update',
     reqType: {} as WithdrawOrderLog对象,
     resType: {} as any,
   },
   /** 添加 */
   add_7: {
-    realUrl: '/pay/withdraw_quota_config/add' as const,
+    realUrl: '/pay/withdraw_quota_config/add',
     reqType: {} as WithdrawQuotaConfig对象,
     resType: {} as any,
   },
   /** 根据ID查找余额限定 */
   find_5: {
-    realUrl: '/pay/withdraw_quota_config/find' as const,
+    realUrl: '/pay/withdraw_quota_config/find',
     reqType: {} as WithdrawQuotaConfig对象,
     resType: {} as any,
   },
   /** 根据账户类型查询余额限定 */
   find_by_orgType: {
-    realUrl: '/pay/withdraw_quota_config/find_by_orgType' as const,
+    realUrl: '/pay/withdraw_quota_config/find_by_orgType',
     reqType: {} as WithdrawQuotaConfig对象,
     resType: {} as any,
   },
   /** 获取账户余额限定列表 */
   list_7: {
-    realUrl: '/pay/withdraw_quota_config/list' as const,
+    realUrl: '/pay/withdraw_quota_config/list',
     reqType: {} as IPageParams<WithdrawQuotaConfig对象>,
     resType: {} as any,
   },
   /** 修改账户余额限定 */
   update_4: {
-    realUrl: '/pay/withdraw_quota_config/update' as const,
+    realUrl: '/pay/withdraw_quota_config/update',
     reqType: {} as 修改提现账户余额限定参数,
     resType: {} as any,
   },
   /** 根据账户类型获取账户余额限定修改记录列表 */
   list_by_orgType: {
-    realUrl: '/pay/withdraw_quota_log/list_by_orgType' as const,
+    realUrl: '/pay/withdraw_quota_log/list_by_orgType',
     reqType: {} as IPageParams<WithdrawQuotaLog对象>,
     resType: {} as any,
   },
   /** 获取微信AccessToken */
   access_token: {
-    realUrl: '/pay/wx/access_token' as const,
+    realUrl: '/pay/wx/access_token',
 
     resType: {} as string,
   },
   /** 获取微信openid */
   get_open_id: {
-    realUrl: '/pay/wx/get_open_id' as const,
+    realUrl: '/pay/wx/get_open_id',
     reqType: {} as WxpayParam,
     resType: {} as string,
   },
   /** 获取jsapi签名 */
   js_sign: {
-    realUrl: '/pay/wx/js_sign' as const,
+    realUrl: '/pay/wx/js_sign',
     reqType: {} as JsSignParam,
     resType: {} as any,
   },
   /** 获取微信小程序用户信息 */
   mini_user_info: {
-    realUrl: '/pay/wx/mini_user_info' as const,
+    realUrl: '/pay/wx/mini_user_info',
     reqType: {} as WxpayParam,
     resType: {} as User对象,
   },
   /** 获取并更新微信openid */
   open_id: {
-    realUrl: '/pay/wx/open_id' as const,
+    realUrl: '/pay/wx/open_id',
     reqType: {} as WxpayParam,
     resType: {} as string,
   },
   /** 获取微信用户信息 */
   user_info: {
-    realUrl: '/pay/wx/user_info' as const,
+    realUrl: '/pay/wx/user_info',
     reqType: {} as WxpayParam,
     resType: {} as User对象,
   },

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 193 - 193
src/utils/config/interFaces/settle.ts


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 510 - 498
src/utils/config/interFaces/strategy.ts


+ 115 - 115
src/utils/config/interFaces/tms.ts

@@ -1,97 +1,97 @@
 export default {
   /** 添加truck_driver */
   add: {
-    realUrl: '/strategy/truck_driver/add' as const,
+    realUrl: '/strategy/truck_driver/add',
     reqType: {} as TruckDriver对象,
     resType: {} as any,
   },
   /** 获取truck_driver列表 */
   list: {
-    realUrl: '/strategy/truck_driver/list' as const,
+    realUrl: '/strategy/truck_driver/list',
     reqType: {} as IPageParams<TruckDriver对象>,
     resType: {} as any,
   },
   /** 修改truck_driver */
   update: {
-    realUrl: '/strategy/truck_driver/update' as const,
+    realUrl: '/strategy/truck_driver/update',
     reqType: {} as TruckDriver对象,
     resType: {} as any,
   },
   /** 下载行车日志,导出专用 */
   download_test: {
-    realUrl: '/tms/jxls_export/download_test' as const,
+    realUrl: '/tms/jxls_export/download_test',
     reqType: {} as WorkOrder对象,
     resType: {} as StreamingResponseBody,
   },
   /** 获取行车日志导出类 */
   get_get_work_log_tpl_vo: {
-    realUrl: '/tms/jxls_export/get_get_work_log_tpl_vo' as const,
+    realUrl: '/tms/jxls_export/get_get_work_log_tpl_vo',
     reqType: {} as WorkOrder对象,
     resType: {} as any,
   },
   /** 获取卡车距时间相近的位置信息 */
   get_by_date: {
-    realUrl: '/tms/location/get_by_date' as const,
+    realUrl: '/tms/location/get_by_date',
     reqType: {} as LocationQueryParam对象,
     resType: {} as LocationVO对象,
   },
   /** 获取卡车位置信息 */
   get_by_truck: {
-    realUrl: '/tms/location/get_by_truck' as const,
+    realUrl: '/tms/location/get_by_truck',
     reqType: {} as LocationQueryParam对象,
     resType: {} as LocationVO对象,
   },
   /** 获取卡车位置信息list */
   get_truck_trip: {
-    realUrl: '/tms/location/get_truck_trip' as const,
+    realUrl: '/tms/location/get_truck_trip',
     reqType: {} as LocationQueryParam对象,
     resType: {} as Array<LocationVO对象>,
   },
   /** 获取途中休息信息列表 */
   list_1: {
-    realUrl: '/tms/rest_info/list' as const,
+    realUrl: '/tms/rest_info/list',
     reqType: {} as IPageParams<RestInfo对象>,
     resType: {} as any,
   },
   /** 修改途中休息信息 */
   update_1: {
-    realUrl: '/tms/rest_info/update' as const,
+    realUrl: '/tms/rest_info/update',
     reqType: {} as RestInfo对象,
     resType: {} as any,
   },
   /** 添加托运方 */
   add_1: {
-    realUrl: '/tms/shipper/add' as const,
+    realUrl: '/tms/shipper/add',
     reqType: {} as Shipper对象,
     resType: {} as any,
   },
   /** 删除托运方 */
   delete: {
-    realUrl: '/tms/shipper/delete' as const,
+    realUrl: '/tms/shipper/delete',
     reqType: {} as Shipper对象,
     resType: {} as any,
   },
   /** 根据id获取托运方详情 */
   get_one: {
-    realUrl: '/tms/shipper/get_one' as const,
+    realUrl: '/tms/shipper/get_one',
     reqType: {} as Shipper对象,
     resType: {} as any,
   },
   /** 获取托运方分页列表 */
   page_list: {
-    realUrl: '/tms/shipper/page_list' as const,
+    realUrl: '/tms/shipper/page_list',
     reqType: {} as IPageParams<Shipper对象>,
     resType: {} as any,
   },
   /** 修改托运方 */
   update_2: {
-    realUrl: '/tms/shipper/update' as const,
+    realUrl: '/tms/shipper/update',
     reqType: {} as Shipper对象,
     resType: {} as any,
   },
   /** 根据经纬度查询位置 */
   baiduapi: {
-    realUrl: '/tms/test/baiduapi' as const,
+    realUrl: '/tms/test/baiduapi',
     reqType: {} as {
       /** lat */
       lat: string
@@ -102,7 +102,7 @@ export default {
   },
   /** mongo查询测试接口 */
   mongoCheck: {
-    realUrl: '/tms/test/mongoCheck' as const,
+    realUrl: '/tms/test/mongoCheck',
     reqType: {} as {
       /** clientId */
       clientId: string
@@ -113,7 +113,7 @@ export default {
   },
   /** mongo查询车辆最新位置 */
   query_truck: {
-    realUrl: '/tms/test/query_truck' as const,
+    realUrl: '/tms/test/query_truck',
     reqType: {} as {
       /** truckId */
       truckId: number
@@ -122,7 +122,7 @@ export default {
   },
   /** mongo查询车辆最新位置 */
   query_truck_trip: {
-    realUrl: '/tms/test/query_truck_trip' as const,
+    realUrl: '/tms/test/query_truck_trip',
     reqType: {} as {
       /** truckId */
       truckId: number
@@ -131,7 +131,7 @@ export default {
   },
   /** 测试发送运单短信 */
   testSms: {
-    realUrl: '/tms/test/testSms' as const,
+    realUrl: '/tms/test/testSms',
     reqType: {} as {
       /** truckId */
       truckId: number
@@ -140,7 +140,7 @@ export default {
   },
   /** 测试运单短信模板 */
   testSmsTemp: {
-    realUrl: '/tms/test/testSmsTemp' as const,
+    realUrl: '/tms/test/testSmsTemp',
     reqType: {} as {
       /** monbiles */
       monbiles: string
@@ -149,7 +149,7 @@ export default {
   },
   /** 工具类测试 */
   testUtil: {
-    realUrl: '/tms/test/testUtil' as const,
+    realUrl: '/tms/test/testUtil',
     reqType: {} as {
       /** lat */
       lat: number
@@ -162,7 +162,7 @@ export default {
   },
   /** mongo聚合查询测试 */
   test_mongo_group: {
-    realUrl: '/tms/test/test_mongo_group' as const,
+    realUrl: '/tms/test/test_mongo_group',
     reqType: {} as {
       /** truckIds */
       truckIds: string
@@ -171,553 +171,553 @@ export default {
   },
   /** 添加燃气费用 */
   add_2: {
-    realUrl: '/tms/tms_gas_fee/add' as const,
+    realUrl: '/tms/tms_gas_fee/add',
     reqType: {} as TmsGasFee对象,
     resType: {} as any,
   },
   /** 删除燃气费用 */
   delete_1: {
-    realUrl: '/tms/tms_gas_fee/delete' as const,
+    realUrl: '/tms/tms_gas_fee/delete',
     reqType: {} as TmsGasFee对象,
     resType: {} as any,
   },
   /** 根据id获取燃气费用详情 */
   get_one_1: {
-    realUrl: '/tms/tms_gas_fee/get_one' as const,
+    realUrl: '/tms/tms_gas_fee/get_one',
     reqType: {} as TmsGasFee对象,
     resType: {} as any,
   },
   /** 获取燃气费用列表 */
   list_2: {
-    realUrl: '/tms/tms_gas_fee/list' as const,
+    realUrl: '/tms/tms_gas_fee/list',
     reqType: {} as TmsGasFee对象,
     resType: {} as any,
   },
   /** 获取tms_gas_fee分页列表 */
   page_list_1: {
-    realUrl: '/tms/tms_gas_fee/page_list' as const,
+    realUrl: '/tms/tms_gas_fee/page_list',
     reqType: {} as IPageParams<TmsGasFee对象>,
     resType: {} as any,
   },
   /** 修改燃气费用 */
   update_3: {
-    realUrl: '/tms/tms_gas_fee/update' as const,
+    realUrl: '/tms/tms_gas_fee/update',
     reqType: {} as TmsGasFee对象,
     resType: {} as any,
   },
   /** 添加线路费用 */
   add_3: {
-    realUrl: '/tms/tms_line_cost/add' as const,
+    realUrl: '/tms/tms_line_cost/add',
     reqType: {} as TmsLineCost对象,
     resType: {} as any,
   },
   /** 删除线路费用 */
   delete_2: {
-    realUrl: '/tms/tms_line_cost/delete' as const,
+    realUrl: '/tms/tms_line_cost/delete',
     reqType: {} as TmsLineCost对象,
     resType: {} as any,
   },
   /** 根据id获取线路费用详情 */
   get_one_2: {
-    realUrl: '/tms/tms_line_cost/get_one' as const,
+    realUrl: '/tms/tms_line_cost/get_one',
     reqType: {} as TmsLineCost对象,
     resType: {} as any,
   },
   /** 获取线路费用列表 */
   list_3: {
-    realUrl: '/tms/tms_line_cost/list' as const,
+    realUrl: '/tms/tms_line_cost/list',
     reqType: {} as TmsLineCost对象,
     resType: {} as any,
   },
   /** 获取tms_line_cost分页列表 */
   page_list_2: {
-    realUrl: '/tms/tms_line_cost/page_list' as const,
+    realUrl: '/tms/tms_line_cost/page_list',
     reqType: {} as IPageParams<TmsLineCost对象>,
     resType: {} as any,
   },
   /** 修改线路费用 */
   update_4: {
-    realUrl: '/tms/tms_line_cost/update' as const,
+    realUrl: '/tms/tms_line_cost/update',
     reqType: {} as TmsLineCost对象,
     resType: {} as any,
   },
   /** 添加tms_line_cost_other */
   add_4: {
-    realUrl: '/tms/tms_line_cost_other/add' as const,
+    realUrl: '/tms/tms_line_cost_other/add',
     reqType: {} as TmsLineCostOther对象,
     resType: {} as any,
   },
   /** 获取tms_line_cost_other列表 */
   list_4: {
-    realUrl: '/tms/tms_line_cost_other/list' as const,
+    realUrl: '/tms/tms_line_cost_other/list',
     reqType: {} as IPageParams<TmsLineCostOther对象>,
     resType: {} as any,
   },
   /** 修改tms_line_cost_other */
   update_5: {
-    realUrl: '/tms/tms_line_cost_other/update' as const,
+    realUrl: '/tms/tms_line_cost_other/update',
     reqType: {} as TmsLineCostOther对象,
     resType: {} as any,
   },
   /** 添加其他费用 */
   add_5: {
-    realUrl: '/tms/tms_other_fee/add' as const,
+    realUrl: '/tms/tms_other_fee/add',
     reqType: {} as TmsOtherFee对象,
     resType: {} as any,
   },
   /** 删除其他费用 */
   delete_3: {
-    realUrl: '/tms/tms_other_fee/delete' as const,
+    realUrl: '/tms/tms_other_fee/delete',
     reqType: {} as TmsOtherFee对象,
     resType: {} as any,
   },
   /** 根据id获取其他费用详情 */
   get_one_3: {
-    realUrl: '/tms/tms_other_fee/get_one' as const,
+    realUrl: '/tms/tms_other_fee/get_one',
     reqType: {} as TmsOtherFee对象,
     resType: {} as any,
   },
   /** 获取其他费用列表(供行车费用列表展示用) */
   list_5: {
-    realUrl: '/tms/tms_other_fee/list' as const,
+    realUrl: '/tms/tms_other_fee/list',
     reqType: {} as TmsOtherFee对象,
     resType: {} as any,
   },
   /** 获取tms_other_fee分页列表 */
   page_list_3: {
-    realUrl: '/tms/tms_other_fee/page_list' as const,
+    realUrl: '/tms/tms_other_fee/page_list',
     reqType: {} as IPageParams<TmsOtherFee对象>,
     resType: {} as any,
   },
   /** 修改其他费用 */
   update_6: {
-    realUrl: '/tms/tms_other_fee/update' as const,
+    realUrl: '/tms/tms_other_fee/update',
     reqType: {} as TmsOtherFee对象,
     resType: {} as any,
   },
   /** 添加truck */
   add_6: {
-    realUrl: '/tms/truck/add' as const,
+    realUrl: '/tms/truck/add',
     reqType: {} as Truck对象,
     resType: {} as any,
   },
   /** 取车牌号 */
   get_car_number: {
-    realUrl: '/tms/truck/get_car_number' as const,
+    realUrl: '/tms/truck/get_car_number',
 
     resType: {} as Truck对象,
   },
   /** 获取truck列表 */
   list_6: {
-    realUrl: '/tms/truck/list' as const,
+    realUrl: '/tms/truck/list',
     reqType: {} as IPageParams<Truck对象>,
     resType: {} as any,
   },
   /** 修改truck */
   update_7: {
-    realUrl: '/tms/truck/update' as const,
+    realUrl: '/tms/truck/update',
     reqType: {} as Truck对象,
     resType: {} as any,
   },
   /** 查找车辆检查信息 */
   find: {
-    realUrl: '/tms/truck_check_info/find' as const,
+    realUrl: '/tms/truck_check_info/find',
     reqType: {} as TruckCheckInfo对象,
     resType: {} as TruckCheckInfo对象,
   },
   /** 获取truck_check_info列表 */
   list_7: {
-    realUrl: '/tms/truck_check_info/list' as const,
+    realUrl: '/tms/truck_check_info/list',
     reqType: {} as IPageParams<TruckCheckInfo对象>,
     resType: {} as any,
   },
   /** 修改truck_check_info */
   update_8: {
-    realUrl: '/tms/truck_check_info/update' as const,
+    realUrl: '/tms/truck_check_info/update',
     reqType: {} as TruckCheckInfo对象,
     resType: {} as any,
   },
   /** 新增运力部门 */
   add_7: {
-    realUrl: '/tms/truck_dept/add' as const,
+    realUrl: '/tms/truck_dept/add',
     reqType: {} as TruckDept对象,
     resType: {} as any,
   },
   /** 删除运力部门 */
   delete_4: {
-    realUrl: '/tms/truck_dept/delete' as const,
+    realUrl: '/tms/truck_dept/delete',
     reqType: {} as TruckDept对象,
     resType: {} as any,
   },
   /** 根据id获取运力部门详情 */
   get_one_4: {
-    realUrl: '/tms/truck_dept/get_one' as const,
+    realUrl: '/tms/truck_dept/get_one',
     reqType: {} as TruckDept对象,
     resType: {} as any,
   },
   /** 获取运力部门管理分页列表 */
   page_list_4: {
-    realUrl: '/tms/truck_dept/page_list' as const,
+    realUrl: '/tms/truck_dept/page_list',
     reqType: {} as IPageParams<TruckDept对象>,
     resType: {} as any,
   },
   /** 修改运力部门信息 */
   update_9: {
-    realUrl: '/tms/truck_dept/update' as const,
+    realUrl: '/tms/truck_dept/update',
     reqType: {} as TruckDept对象,
     resType: {} as any,
   },
   /** 添加车辆押运员 */
   add_8: {
-    realUrl: '/tms/truck_escort/add' as const,
+    realUrl: '/tms/truck_escort/add',
     reqType: {} as TruckEscortAddParam,
     resType: {} as any,
   },
   /** 车辆绑定/解绑押运员 */
   bind_truck: {
-    realUrl: '/tms/truck_escort/bind_truck' as const,
+    realUrl: '/tms/truck_escort/bind_truck',
     reqType: {} as TruckEscort对象,
     resType: {} as any,
   },
   /** 删除车辆押运员 */
   delete_5: {
-    realUrl: '/tms/truck_escort/delete' as const,
+    realUrl: '/tms/truck_escort/delete',
     reqType: {} as TruckEscort对象,
     resType: {} as any,
   },
   /** 获取单个车辆押运员详情 */
   get_one_5: {
-    realUrl: '/tms/truck_escort/get_one' as const,
+    realUrl: '/tms/truck_escort/get_one',
     reqType: {} as TruckEscort对象,
     resType: {} as any,
   },
   /** 根据条件获取车辆押运员列表 */
   list_8: {
-    realUrl: '/tms/truck_escort/list' as const,
+    realUrl: '/tms/truck_escort/list',
     reqType: {} as TruckEscort对象,
     resType: {} as any,
   },
   /** 获取没有绑定卡车的押运员列表 */
   no_truck_list: {
-    realUrl: '/tms/truck_escort/no_truck_list' as const,
+    realUrl: '/tms/truck_escort/no_truck_list',
     reqType: {} as TruckEscort对象,
     resType: {} as any,
   },
   /** 获取车辆押运员分页列表 */
   page_list_5: {
-    realUrl: '/tms/truck_escort/page_list' as const,
+    realUrl: '/tms/truck_escort/page_list',
     reqType: {} as IPageParams<TruckEscort对象>,
     resType: {} as any,
   },
   /** 修改车辆押运员 */
   update_10: {
-    realUrl: '/tms/truck_escort/update' as const,
+    realUrl: '/tms/truck_escort/update',
     reqType: {} as TruckEscort对象,
     resType: {} as any,
   },
   /** 查找车辆途中维修信息 */
   find_1: {
-    realUrl: '/tms/truck_repair_info/find' as const,
+    realUrl: '/tms/truck_repair_info/find',
     reqType: {} as TruckRepairInfo对象,
     resType: {} as TruckRepairInfo对象,
   },
   /** 获取truck_repair_info列表 */
   list_9: {
-    realUrl: '/tms/truck_repair_info/list' as const,
+    realUrl: '/tms/truck_repair_info/list',
     reqType: {} as IPageParams<TruckRepairInfo对象>,
     resType: {} as any,
   },
   /** 添加truck_sim_card */
   add_9: {
-    realUrl: '/tms/truck_sim_card/add' as const,
+    realUrl: '/tms/truck_sim_card/add',
     reqType: {} as TruckSimCard对象,
     resType: {} as any,
   },
   /** 获取truck_sim_card列表 */
   list_10: {
-    realUrl: '/tms/truck_sim_card/list' as const,
+    realUrl: '/tms/truck_sim_card/list',
     reqType: {} as IPageParams<TruckSimCard对象>,
     resType: {} as any,
   },
   /** 修改truck_sim_card */
   update_11: {
-    realUrl: '/tms/truck_sim_card/update' as const,
+    realUrl: '/tms/truck_sim_card/update',
     reqType: {} as TruckSimCard对象,
     resType: {} as any,
   },
   /** 查询当前行程周期 */
   find_2: {
-    realUrl: '/tms/work_cycle/find' as const,
+    realUrl: '/tms/work_cycle/find',
     reqType: {} as WorkCycle对象,
     resType: {} as any,
   },
   /** 获取历史行车列表 */
   list_11: {
-    realUrl: '/tms/work_cycle/list' as const,
+    realUrl: '/tms/work_cycle/list',
     reqType: {} as IPageParams<WorkCycle对象>,
     resType: {} as any,
   },
   /** 更新前行程周期天气 */
   update_weather: {
-    realUrl: '/tms/work_cycle/update_weather' as const,
+    realUrl: '/tms/work_cycle/update_weather',
     reqType: {} as WorkCycle对象,
     resType: {} as any,
   },
   /** 获取行车日志列表 */
   list_12: {
-    realUrl: '/tms/work_log/list' as const,
+    realUrl: '/tms/work_log/list',
     reqType: {} as IPageParams<WorkLog对象>,
     resType: {} as any,
   },
   /** 修改work_log */
   update_12: {
-    realUrl: '/tms/work_log/update' as const,
+    realUrl: '/tms/work_log/update',
     reqType: {} as WorkLog对象,
     resType: {} as any,
   },
   /** 根据id关闭运单(运单分页列表PC端) */
   close: {
-    realUrl: '/tms/work_order/close' as const,
+    realUrl: '/tms/work_order/close',
     reqType: {} as WorkOrder对象,
     resType: {} as any,
   },
   /** 运单详情 */
   find_work_order_info: {
-    realUrl: '/tms/work_order/find_work_order_info' as const,
+    realUrl: '/tms/work_order/find_work_order_info',
     reqType: {} as WorkOrder对象,
     resType: {} as WorkOrder对象,
   },
   /** 根据id获取运单详情,PC端 */
   get_one_6: {
-    realUrl: '/tms/work_order/get_one' as const,
+    realUrl: '/tms/work_order/get_one',
     reqType: {} as WorkOrder对象,
     resType: {} as any,
   },
   /** 获取运单分页列表PC端 */
   page_list_6: {
-    realUrl: '/tms/work_order/page_list' as const,
+    realUrl: '/tms/work_order/page_list',
     reqType: {} as IPageParams<WorkOrderPageParam>,
     resType: {} as any,
   },
   /** 根据id修改运单(运单分页列表PC端,待执行0已完成40已关闭50运单可改) */
   pc_update: {
-    realUrl: '/tms/work_order/pc_update' as const,
+    realUrl: '/tms/work_order/pc_update',
     reqType: {} as WorkOrder对象,
     resType: {} as any,
   },
   /** 根据id中止运单(运单分页列表PC端) */
   stop: {
-    realUrl: '/tms/work_order/stop' as const,
+    realUrl: '/tms/work_order/stop',
     reqType: {} as WorkOrder对象,
     resType: {} as any,
   },
   /** 新增装车派单 */
   add_load_order: {
-    realUrl: '/tms/work_order_manage/add_load_order' as const,
+    realUrl: '/tms/work_order_manage/add_load_order',
     reqType: {} as AddWorkOrderVO对象,
     resType: {} as any,
   },
   /** 新增卸车派单 */
   add_unload_order: {
-    realUrl: '/tms/work_order_manage/add_unload_order' as const,
+    realUrl: '/tms/work_order_manage/add_unload_order',
     reqType: {} as AddWorkOrderVO对象,
     resType: {} as any,
   },
   /** 当前车辆行车日志详情 */
   current_trip_detail: {
-    realUrl: '/tms/work_order_manage/current_trip_detail' as const,
+    realUrl: '/tms/work_order_manage/current_trip_detail',
     reqType: {} as 通用id参数,
     resType: {} as Array<WorkLog对象>,
   },
   /** 车辆历史行程 */
   history_trip: {
-    realUrl: '/tms/work_order_manage/history_trip' as const,
+    realUrl: '/tms/work_order_manage/history_trip',
     reqType: {} as Truck对象,
     resType: {} as Array<TruckHistoryTripVO对象>,
   },
   /** 车辆行车详情 */
   history_trip_detail: {
-    realUrl: '/tms/work_order_manage/history_trip_detail' as const,
+    realUrl: '/tms/work_order_manage/history_trip_detail',
     reqType: {} as 通用id参数,
     resType: {} as Array<WorkLog对象>,
   },
   /** 获取运力调度列表 */
   list_13: {
-    realUrl: '/tms/work_order_manage/list' as const,
+    realUrl: '/tms/work_order_manage/list',
     reqType: {} as IPageParams<WorkManagePageParam对象>,
     resType: {} as IPage<TruckOrderManageVO对象>,
   },
   /** 运力调度统计汇总信息 */
   statistics: {
-    realUrl: '/tms/work_order_manage/statistics' as const,
+    realUrl: '/tms/work_order_manage/statistics',
     reqType: {} as WorkManagePageParam对象,
     resType: {} as TruckOrderStatisticsVO对象,
   },
   /** 添加作业点 */
   add_10: {
-    realUrl: '/tms/work_spot/add' as const,
+    realUrl: '/tms/work_spot/add',
     reqType: {} as WorkSpot对象,
     resType: {} as any,
   },
   /** 删除作业点 */
   delete_6: {
-    realUrl: '/tms/work_spot/delete' as const,
+    realUrl: '/tms/work_spot/delete',
     reqType: {} as WorkSpot对象,
     resType: {} as any,
   },
   /** 根据id获取作业点详情 */
   find_by_name: {
-    realUrl: '/tms/work_spot/find_by_name' as const,
+    realUrl: '/tms/work_spot/find_by_name',
     reqType: {} as WorkSpot对象,
     resType: {} as any,
   },
   /** 根据id获取作业点详情 */
   get_one_7: {
-    realUrl: '/tms/work_spot/get_one' as const,
+    realUrl: '/tms/work_spot/get_one',
     reqType: {} as WorkSpot对象,
     resType: {} as any,
   },
   /** 获取作业点分页列表 */
   page_list_7: {
-    realUrl: '/tms/work_spot/page_list' as const,
+    realUrl: '/tms/work_spot/page_list',
     reqType: {} as IPageParams<WorkSpot对象>,
     resType: {} as any,
   },
   /** 修改作业点 */
   update_13: {
-    realUrl: '/tms/work_spot/update' as const,
+    realUrl: '/tms/work_spot/update',
     reqType: {} as WorkSpot对象,
     resType: {} as any,
   },
   /** 上报途中休息信息 */
   add_rest_info: {
-    realUrl: '/tms/worker/add_rest_info' as const,
+    realUrl: '/tms/worker/add_rest_info',
     reqType: {} as RestInfo对象,
     resType: {} as any,
   },
   /** 装卸车成果上报 */
   add_result: {
-    realUrl: '/tms/worker/add_result' as const,
+    realUrl: '/tms/worker/add_result',
     reqType: {} as WorkOrder对象,
     resType: {} as any,
   },
   /** 上报车辆检查信息 */
   add_truck_check_info: {
-    realUrl: '/tms/worker/add_truck_check_info' as const,
+    realUrl: '/tms/worker/add_truck_check_info',
     reqType: {} as TruckCheckInfo对象,
     resType: {} as any,
   },
   /** 上报车辆途中维修信息 */
   add_truck_repair_info: {
-    realUrl: '/tms/worker/add_truck_repair_info' as const,
+    realUrl: '/tms/worker/add_truck_repair_info',
     reqType: {} as TruckRepairInfo对象,
     resType: {} as any,
   },
   /** 装些车等待上报 */
   add_wait: {
-    realUrl: '/tms/worker/add_wait' as const,
+    realUrl: '/tms/worker/add_wait',
     reqType: {} as WorkOrder对象,
     resType: {} as any,
   },
   /** 点击待执行运单,变成已读 */
   add_work_order_readinfo: {
-    realUrl: '/tms/worker/add_work_order_readinfo' as const,
+    realUrl: '/tms/worker/add_work_order_readinfo',
     reqType: {} as WorkOrderReadinfo对象,
     resType: {} as any,
   },
   /** 6.上报已到达收车点 */
   arrive_terminal: {
-    realUrl: '/tms/worker/arrive_terminal' as const,
+    realUrl: '/tms/worker/arrive_terminal',
     reqType: {} as WorkOrder对象,
     resType: {} as any,
   },
   /** 当前周期所有订单列表 */
   find_cycle_order_list: {
-    realUrl: '/tms/worker/find_cycle_order_list' as const,
+    realUrl: '/tms/worker/find_cycle_order_list',
     reqType: {} as WorkOrder对象,
     resType: {} as Array<WorkOrder对象>,
   },
   /** 首页订单列表 */
   find_index_order_list: {
-    realUrl: '/tms/worker/find_index_order_list' as const,
+    realUrl: '/tms/worker/find_index_order_list',
     reqType: {} as WorkOrder对象,
     resType: {} as Array<WorkOrder对象>,
   },
   /** 运单详情 */
   find_order_info: {
-    realUrl: '/tms/worker/find_order_info' as const,
+    realUrl: '/tms/worker/find_order_info',
     reqType: {} as WorkOrder对象,
     resType: {} as WorkOrder对象,
   },
   /** 查询车辆检查信息 */
   find_truck_check_info: {
-    realUrl: '/tms/worker/find_truck_check_info' as const,
+    realUrl: '/tms/worker/find_truck_check_info',
     reqType: {} as TruckCheckInfo对象,
     resType: {} as any,
   },
   /** 运力详情 */
   find_truck_info: {
-    realUrl: '/tms/worker/find_truck_info' as const,
+    realUrl: '/tms/worker/find_truck_info',
     reqType: {} as WorkerInfo,
     resType: {} as WorkerInfo,
   },
   /** 查询作业点位置信息 */
   find_work_spot_info: {
-    realUrl: '/tms/worker/find_work_spot_info' as const,
+    realUrl: '/tms/worker/find_work_spot_info',
     reqType: {} as WorkSpot对象,
     resType: {} as any,
   },
   /** 8.上传签名,完成本行车周期,收车 */
   finish_cycle: {
-    realUrl: '/tms/worker/finish_cycle' as const,
+    realUrl: '/tms/worker/finish_cycle',
     reqType: {} as UpSignParam,
     resType: {} as any,
   },
   /** 4.确认完成运单 */
   finish_order: {
-    realUrl: '/tms/worker/finish_order' as const,
+    realUrl: '/tms/worker/finish_order',
     reqType: {} as WorkOrder对象,
     resType: {} as any,
   },
   /** 7.完成检查,结束此次行程 */
   finish_work: {
-    realUrl: '/tms/worker/finish_work' as const,
+    realUrl: '/tms/worker/finish_work',
     reqType: {} as TruckCheckInfo对象,
     resType: {} as any,
   },
   /** 1.开始执行装卸车运单 */
   start_order: {
-    realUrl: '/tms/worker/start_order' as const,
+    realUrl: '/tms/worker/start_order',
     reqType: {} as WorkOrder对象,
     resType: {} as any,
   },
   /** 3.上报已到达装卸车点 */
   start_wait: {
-    realUrl: '/tms/worker/start_wait' as const,
+    realUrl: '/tms/worker/start_wait',
     reqType: {} as WorkOrder对象,
     resType: {} as any,
   },
   /** 2.完成出车前检查,开始装卸车作业 */
   start_work: {
-    realUrl: '/tms/worker/start_work' as const,
+    realUrl: '/tms/worker/start_work',
     reqType: {} as TruckCheckInfo对象,
     resType: {} as any,
   },
   /** 4.结束等待,开始上传磅单 */
   submit_result: {
-    realUrl: '/tms/worker/submit_result' as const,
+    realUrl: '/tms/worker/submit_result',
     reqType: {} as WorkOrder对象,
     resType: {} as any,
   },
   /** 每个作业上报单独小按钮使用 */
   update_order: {
-    realUrl: '/tms/worker/update_order' as const,
+    realUrl: '/tms/worker/update_order',
     reqType: {} as WorkOrder对象,
     resType: {} as any,
   },
   /** 获取行车日志列表 */
   work_log_list: {
-    realUrl: '/tms/worker/work_log_list' as const,
+    realUrl: '/tms/worker/work_log_list',
     reqType: {} as IPageParams<WorkLog对象>,
     resType: {} as any,
   },

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 303 - 303
src/utils/config/interFaces/user.ts


+ 9 - 9
src/utils/config/interFaces/websocket.ts

@@ -1,55 +1,55 @@
 export default {
   /** 添加ws_send_log */
   add: {
-    realUrl: '/message/ws_send_log/add' as const,
+    realUrl: '/message/ws_send_log/add',
     reqType: {} as WsSendLog对象,
     resType: {} as boolean,
   },
   /** 获取ws_send_log列表 */
   list: {
-    realUrl: '/message/ws_send_log/list' as const,
+    realUrl: '/message/ws_send_log/list',
     reqType: {} as WsSendLog对象,
     resType: {} as Array<WsSendLog对象>,
   },
   /** 修改ws_send_log */
   update: {
-    realUrl: '/message/ws_send_log/update' as const,
+    realUrl: '/message/ws_send_log/update',
     reqType: {} as WsSendLog对象,
     resType: {} as boolean,
   },
   /** send */
   send: {
-    realUrl: '/websocket/message/send' as const,
+    realUrl: '/websocket/message/send',
     reqType: {} as WsSendLog对象,
     resType: {} as boolean,
   },
   /** add */
   add_1: {
-    realUrl: '/websocket/printer/add' as const,
+    realUrl: '/websocket/printer/add',
     reqType: {} as Printer对象,
     resType: {} as string,
   },
   /** del */
   del: {
-    realUrl: '/websocket/printer/del' as const,
+    realUrl: '/websocket/printer/del',
     reqType: {} as Printer对象,
     resType: {} as string,
   },
   /** list */
   list_1: {
-    realUrl: '/websocket/printer/list' as const,
+    realUrl: '/websocket/printer/list',
     reqType: {} as Printer对象,
     resType: {} as Array<Printer对象>,
   },
   /** status */
   status: {
-    realUrl: '/websocket/printer/status' as const,
+    realUrl: '/websocket/printer/status',
     reqType: {} as Printer对象,
     resType: {} as AnyObject,
   },
   /** update */
   update_1: {
-    realUrl: '/websocket/printer/update' as const,
+    realUrl: '/websocket/printer/update',
     reqType: {} as Printer对象,
     resType: {} as boolean,
   },