소스 검색

Merge branch '物流充值_cl' of chenlei/mobile into master

chenlei 9 달 전
부모
커밋
0773d6645c

+ 1 - 1
.vscode/settings.json

@@ -25,7 +25,7 @@
     "editor.defaultFormatter": "esbenp.prettier-vscode"
   },
   "[typescript]": {
-    "editor.defaultFormatter": "esbenp.prettier-vscode"
+    "editor.defaultFormatter": "dbaeumer.vscode-eslint"
   },
   "[jsonc]": {
     "editor.defaultFormatter": "esbenp.prettier-vscode"

+ 1 - 1
src/manifest.json

@@ -83,7 +83,7 @@
   },
   "quickapp": {},
   "mp-weixin": {
-    "appid": "wx72ba78af2cf68cf0",
+    "appid": "wxf69daeba7aec5be4",
     "setting": {
       "urlCheck": false,
       "minified": true

+ 23 - 1
src/pages.json

@@ -123,5 +123,27 @@
       "type": "page"
     }
   ],
-  "subPackages": []
+  "subPackages": [
+    {
+      "root": "pagesSubExample",
+      "pages": [
+        {
+          "path": "index",
+          "type": "page"
+        },
+        {
+          "path": "list/index",
+          "type": "page"
+        },
+        {
+          "path": "login/index",
+          "type": "page"
+        },
+        {
+          "path": "webview/index",
+          "type": "page"
+        }
+      ]
+    }
+  ]
 }

+ 14 - 14
src/pages/truckInfo/detail.vue

@@ -28,20 +28,20 @@ const data = ay.initData({
           title: '物流公司',
           key: 'orgName',
         },
-        {
-          title: '车辆经营类型',
-          key: 'linked',
-          view(value) {
-            return config.common.linked[value]
-          },
-        },
-        {
-          title: '加气交易模式',
-          key: 'tradeType',
-          view(value) {
-            return func.convert.getTradeTypeStr(value)
-          },
-        },
+        // {
+        //   title: '车辆经营类型',
+        //   key: 'linked',
+        //   view(value) {
+        //     return config.common.linked[value]
+        //   },
+        // },
+        // {
+        //   title: '加气交易模式',
+        //   key: 'tradeType',
+        //   view(value) {
+        //     return func.convert.getTradeTypeStr(value)
+        //   },
+        // },
       ],
     },
     {

+ 214 - 8
src/types/schemas/account.d.ts

@@ -9,20 +9,24 @@ interface AccountChangeParam {
   /** undefined */
   createrName?: string
 }
+interface AccountUpdateParam {
+  /** undefined */
+  accountId?: number
+  /** undefined */
+  amount?: number
+  /** undefined */
+  carrierLog?: OrgCarrierLog对象
+  /** undefined */
+  status?: number
+  /** undefined */
+  tradeLog?: CarrierTradeLog对象
+}
 interface CarInfoQryParam {
   /** 通用id参数 */
   orgId?: string
   /** 通用id参数 */
   truckId?: string
 }
-interface CarrierBalanceParam {
-  /** 排序方式(1升序;2降序) */
-  order?: number
-  /** 组织id */
-  orgId?: number
-  /** 交易模式类型(1经销模式;2直销模式) */
-  tradeType?: number
-}
 interface CarrierBalanceSumVO {
   /** 直销账户余额 */
   balanceDirect?: number
@@ -85,12 +89,104 @@ interface CarrierRechargeParam {
   /** undefined */
   order?: RechargeOrder
 }
+interface CarrierTradeLogInfoVO物流资金流水VO类 {
+  /** undefined */
+  current?: number
+  /** 期初主户余额(元) */
+  endAccountBalance?: number
+  /** 期初总余额(元) */
+  endTotalBalance?: number
+  /** 期初车辆户余额(元) */
+  endTruckBalance?: number
+  /** 加气金额(元) */
+  gasAmount?: number
+  /** undefined */
+  hitCount?: boolean
+  /** undefined */
+  orders?: OrderItem[]
+  /** undefined */
+  pages?: number
+  /** 充值金额(元) */
+  rechargeAmount?: number
+  /** undefined */
+  records?: CarrierTradeLog对象[]
+  /** undefined */
+  searchCount?: boolean
+  /** undefined */
+  size?: number
+  /** 期初主户余额(元) */
+  startAccountBalance?: number
+  /** 期初总余额(元) */
+  startTotalBalance?: number
+  /** 期初车辆户余额(元) */
+  startTruckBalance?: number
+  /** undefined */
+  total?: number
+  /** 提现金额(元) */
+  withdrawAmount?: number
+}
+interface CarrierTradeLogListParam {
+  /** 查询实体参数 */
+  carrierTradeLog?: CarrierTradeLog对象
+  /** 日期参数 */
+  dateParam?: DateParam
+}
+interface CarrierTradeLog对象 {
+  /** 变化后账户金额(主户余额) */
+  accountBalance?: number
+  /** 账户id */
+  accountId?: string
+  /** 对方账户 */
+  anotherAccount?: string
+  /** 对方账户名称(接收方) */
+  anotherName?: string
+  /** 车牌号 */
+  carNumber?: string
+  /** 变化金额(流水金额) */
+  changeAmount?: number
+  /** 创建日期时间 */
+  createDate?: string
+  /** 创建人id */
+  creater?: string
+  /** 创建人姓名(操作方) */
+  createrName?: string
+  /** id主键 */
+  id?: string
+  /** 摘要(格式如:从谁到谁,原因) */
+  note?: string
+  /** 关联订单号 */
+  orderId?: string
+  /** 组织id(user.org.org_id) */
+  orgId?: string
+  /** 组织名称(user.org.org_name) */
+  orgName?: string
+  /** 银行流水联合主键拼接:tranDate+tranCoreSeqNo+tranCoreSeqNoSub */
+  seqNo?: string
+  /** 总余额 */
+  totalBalance?: number
+  /** 交易模式类型(1经销模式;2直销模式,默认经销模式1) */
+  tradeType?: number
+  /** 车辆余额 */
+  truckBalance?: number
+  /** 卡车id */
+  truckId?: string
+  /** 流水类型(1物流充值 2:手动圈存到车 3:手动退还主户 4:主户提现 10:主户提现退回20:加气退款23直销公对公充值 24直销提现) */
+  type?: number
+}
+interface Com2DirectParam {
+  /** undefined */
+  orgId?: number
+}
 interface DateParam {
   /** undefined */
   createDateFrom?: string
   /** undefined */
   createDateTo?: string
 }
+interface Direct2ComParam {
+  /** undefined */
+  orgId?: number
+}
 interface ExcelExportParam {
   /** undefined */
   datas?: AnyObject
@@ -101,6 +197,12 @@ interface ExcelExportParam {
   /** undefined */
   pageParam?: IPageParams<AnyObject>
 }
+interface FlowAddParam {
+  /** undefined */
+  flows?: OPBJCNCN0208140008800026ResList[]
+  /** undefined */
+  status?: number
+}
 interface GasOrder {
   /** undefined */
   actualPrice?: number
@@ -227,7 +329,57 @@ interface GctOrder对象 {
   /** 车辆id */
   truckId?: string
 }
+interface HandAddParam {
+  /** undefined */
+  accountId?: number
+  /** undefined */
+  amount?: number
+  /** undefined */
+  seqNo?: string
+  /** undefined */
+  status?: number
+}
 interface JSONObject {}
+interface OPBJCNCN0208140008800026ResList {
+  /** undefined */
+  acctNo?: string
+  /** undefined */
+  balanceCurrent?: string
+  /** undefined */
+  tranAcctName?: string
+  /** undefined */
+  tranAcctNo?: string
+  /** undefined */
+  tranAmt?: string
+  /** undefined */
+  tranAmtUse?: string
+  /** undefined */
+  tranBankName?: string
+  /** undefined */
+  tranBankNo?: string
+  /** undefined */
+  tranCoreSeqNo?: string
+  /** undefined */
+  tranCoreSeqNoSub?: string
+  /** undefined */
+  tranDate?: string
+  /** undefined */
+  tranDirection?: string
+  /** undefined */
+  tranRemk?: string
+  /** undefined */
+  tranSeqNo?: string
+  /** undefined */
+  tranSummary?: string
+  /** undefined */
+  tranSummaryCode?: string
+  /** undefined */
+  tranTelNo?: string
+  /** undefined */
+  tranTime?: string
+  /** undefined */
+  tranVouNo?: string
+}
 interface OrderItem {
   /** undefined */
   asc?: boolean
@@ -323,6 +475,8 @@ interface OrgCarrierLog对象 {
   anotherAccount?: string
   /** 对方账户名称 */
   anotherName?: string
+  /** 0=账户消费 1=自动圈存 */
+  autoAccount?: number
   /** 变化金额 */
   changeAmount?: number
   /** 创建日期时间 */
@@ -333,6 +487,8 @@ interface OrgCarrierLog对象 {
   createrName?: string
   /** id主键 */
   id?: string
+  /** 0=自有车辆 1=挂靠车辆 */
+  linked?: number
   /** 摘要(格式如:从谁到谁,原因) */
   note?: string
   /** 单据流水id */
@@ -341,6 +497,8 @@ interface OrgCarrierLog对象 {
   orgId?: string
   /** 组织名称(user.org.org_name) */
   orgName?: string
+  /** 银行流水联合主键拼接:tranDate+tranCoreSeqNo+tranCoreSeqNoSub */
+  seqNo?: string
   /** 交易模式类型(1经销模式;2直销模式,默认经销模式1) */
   tradeType?: number
   /** 类别(1:充值 2:圈出 3:圈入 4:提现 5:收入 6:服务费 7:平台费 8:调增 9:调减 10:提现退回 11.平台费退回 12.收入退回 13.服务费退回 14.组合圈出 15.返现划入 16.返现划出 17.返现圈出退回 18.返现圈出 20:微信退回)21:直销收款(经销户) 22:直销退款(直销户) 31:长城奥扬代充值 */
@@ -693,6 +851,12 @@ interface WithdrawOrder {
   /** undefined */
   withdrawOrderId?: number
 }
+interface WithdrawParam {
+  /** undefined */
+  accountId?: number
+  /** undefined */
+  amount?: number
+}
 interface WxRefundOrder {
   /** undefined */
   accountId?: number
@@ -741,6 +905,22 @@ interface 优惠卡查询传参实体类 {
   /** 查询时间类型,默认最近扣款时间:0,卡发放时间:1 */
   timeType?: number
 }
+interface 刷新资金账户操作返回VO类 {
+  /** 经销主户余额(元) */
+  accountBalance?: number
+  /** 直销主户余额(元) */
+  directAccountBalance?: number
+  /** 直销车辆户余额(元) */
+  directTruckBalance?: number
+  /** 主户总余额(元) */
+  totalAccountBalance?: number
+  /** 总余额 */
+  totalAllBalance?: number
+  /** 车辆总余额 */
+  totalTruckBalance?: number
+  /** 经销车辆户余额(元) */
+  truckBalance?: number
+}
 interface 加气优惠卡实体类 {
   /** 卡车车牌号 */
   carNumber?: string
@@ -925,6 +1105,14 @@ interface 根据物流id和车id获取卡接口参数实体类 {
   /** 卡车id */
   truckId?: number
 }
+interface 物流公司余额查询VO参数 {
+  /** 排序方式(1升序;2降序) */
+  order?: number
+  /** 组织id */
+  orgId?: number
+  /** 交易模式类型(1经销模式;2直销模式) */
+  tradeType?: number
+}
 interface 物流公司余额查询参数类 {
   /** 最小余额 */
   balanceDown?: number
@@ -951,6 +1139,24 @@ interface 物流公司账户流水统计 {
   /** 充值金额 */
   rechargeTotal?: number
 }
+interface 物流资金管理VO类 {
+  /** 经销主户余额(元) */
+  accountBalance?: number
+  /** 直销主户余额(元) */
+  directAccountBalance?: number
+  /** 直销车辆户余额(元) */
+  directTruckBalance?: number
+  /** 组织id */
+  orgId?: number
+  /** 组织名称 */
+  orgName?: string
+  /** 其他付款状态(挂靠车):默认0关闭,1开启 */
+  otherPay?: number
+  /** 交易模式(1经销模式;2直销模式,默认经销模式1) */
+  tradeType?: number
+  /** 经销车辆户余额(元) */
+  truckBalance?: number
+}
 interface 用户积分账户分页查询参数 {
   /** 账户金额最大值 */
   balanceMax?: number

+ 46 - 0
src/types/schemas/allinpay.d.ts

@@ -79,6 +79,12 @@ interface DateParam {
   /** undefined */
   updateDateTo?: string
 }
+interface DriectComParam {
+  /** undefined */
+  amount?: number
+  /** undefined */
+  orgAccount?: OrgAccount对象
+}
 interface GasOrderRebate对象 {
   /** 受益方id */
   benefited?: number
@@ -357,6 +363,36 @@ interface OpenAccountParam {
   /** 用户姓名,非必传 */
   userName?: string
 }
+interface OrgAccount对象 {
+  /** 账户id(调用API生成) */
+  accountId?: string
+  /** 账户密码 */
+  accountPassword?: string
+  /** 账户类型(0:通联现金户,2北京银行现金户 3直销户) */
+  accountType?: number
+  /** 账户金额 */
+  balance?: number
+  /** 银行余额 */
+  bankBalance?: number
+  /** 创建日期时间 */
+  createDate?: string
+  /** 创建人id */
+  creater?: string
+  /** 创建人姓名 */
+  createrName?: string
+  /** 组织id(user.org.org_id) */
+  orgId?: string
+  /** 组织名称(user.org.org_name) */
+  orgName?: string
+  /** 组织简称(user.org.org_short_name) */
+  orgShortName?: string
+  /** 组织类型(0:奥扬 1:加气企业 2:物流公司 3:卡车经销商) */
+  orgType?: number
+  /** 状态(0:启用 1:停用) */
+  status?: number
+  /** 交易模式类型(1经销模式;2直销模式,默认经销模式1) */
+  tradeType?: number
+}
 interface Org对象 {
   /** 企业对公账户,提现用 */
   account?: string
@@ -475,6 +511,16 @@ interface P2PPayParam {
   /** 收款方组织bizUserId */
   receiveBizUserId?: number
 }
+interface PersonPayHandleParam {
+  /** 通联回调报文bizOrderNo(充值订单号) */
+  bizOrderNo?: number
+  /** 是否使用优惠 */
+  extendInfo?: number
+  /** 订单编号(调用API生成) */
+  orderId?: number
+  /** 通联回调报文orderNo */
+  orderNo?: string
+}
 interface QueryBankCardParam {
   /** 商户系统用户标识,必填 */
   bizUserId?: string

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

@@ -197,6 +197,22 @@ interface CarriagePrice对象 {
   /** 起步价 */
   startPrice?: number
 }
+interface CarrierAccountInfoVO对象 {
+  /** 主户余额 */
+  accountBalance?: number
+  /** 组织id(user.org.org_id) */
+  orgId?: string
+  /** 组织名称(user.org.org_name) */
+  orgName?: string
+  /** 近 30 日 加气额(元) */
+  recent30?: number
+  /** 近 7 日 加气额(元) */
+  recent7?: number
+  /** 账户总额 */
+  totalBalance?: number
+  /** 车辆总额 */
+  trucksBalance?: number
+}
 interface CarrierGasstationRebate对象 {
   /** 物流公司id */
   carrierOrgId?: string
@@ -3881,6 +3897,32 @@ interface Tag对象 {
   /** 标签名 */
   tagName?: string
 }
+interface TruckAccountInfoVO对象 {
+  /** 车辆圈存类型:0-限额 1-不限额 */
+  autoAccount?: number
+  /** 车辆账户余额 */
+  balance?: number
+  /** 车牌号 */
+  carNumber?: string
+  /** 司机名称(user.user.user_name) */
+  driverName?: string
+  /** 司机列表 */
+  driversList?: Driver对象[]
+  /** 车辆预付类型:0-预付 1-非预付 */
+  linked?: number
+  /** 组织id(user.org.org_id) */
+  orgId?: string
+  /** 近 30 日 加气额(元) */
+  recent30?: number
+  /** 近 7 日 加气额(元) */
+  recent7?: number
+  /** 卡车id */
+  truckId?: string
+  /** 0-其他付款 1-物流预付 2-物流预付/限额 3-物流预付/不限额 */
+  truckPayType?: number
+  /** 是否存在待支付订单:0-不存在 1-存在,不可更换支付类型 */
+  unpay?: number
+}
 interface TruckComContract对象 {
   /** 车牌号 */
   carNumber?: string
@@ -4017,6 +4059,20 @@ interface TruckDriver转移对象 {
   /** 卡车id(调用API生成) */
   truckId?: string
 }
+interface TruckLogParam对象 {
+  /** 车辆圈存类型:0-限额 1-不限额 */
+  autoAccount?: number
+  /** 车牌号 */
+  carNumber?: string
+  /** 车辆预付类型:0-预付 1-非预付 */
+  linked?: number
+  /** undefined */
+  orgId?: string
+  /** undefined */
+  truckId?: string
+  /** 0-其他付款 1-物流预付 2-物流预付/限额 3-物流预付/不限额 */
+  truckPayType?: number
+}
 interface TruckLog对象 {
   /** 车牌号 */
   carNumber?: string
@@ -4403,6 +4459,12 @@ interface manPriceStandard对象 {
   /** 类型(1-定时生效 2-立即生效) */
   type?: number
 }
+interface orgid参数 {
+  /** undefined */
+  id?: string
+  /** 通用id参数 */
+  orgId?: string
+}
 interface 三方对接_关停或者重启站推送_参数实体类 {
   /** 物流公司id(推送的三方id) */
   orgId?: number
@@ -5067,6 +5129,12 @@ interface 成丰对接_站全量查询参数 {
   /** 开始时间 */
   start?: string
 }
+interface 批量更改车辆加气付款类型参数 {
+  /** 车辆ids */
+  truckIds?: array
+  /** 0-其他付款 1-物流预付 2-物流预付/限额 3-物流预付/不限额 */
+  truckPayType?: number
+}
 interface 指定车辆和指定物流公司 {
   /** 物流公司id */
   orgId?: number

+ 20 - 0
src/types/schemas/user.d.ts

@@ -1148,6 +1148,8 @@ interface Org对象 {
   orgType?: number
   /** 组织机构代码(三证)认证类型为1 时必传 */
   organizationCode?: string
+  /** 其他付款状态(挂靠车):默认0关闭,1开启 */
+  otherPay?: number
   /** 所在省 */
   provinceName?: string
   /** 道路运输经营许可证认证状态: 1=待认证 2=已认证 3=已驳回 */
@@ -2180,6 +2182,24 @@ interface 物流公司预添加司机列表查询参数 {
   /** 组织的id */
   orgId?: number
 }
+interface 物流资金管理VO类 {
+  /** 经销主户余额(元) */
+  accountBalance?: number
+  /** 直销主户余额(元) */
+  directAccountBalance?: number
+  /** 直销车辆户余额(元) */
+  directTruckBalance?: number
+  /** 组织id */
+  orgId?: number
+  /** 组织名称 */
+  orgName?: string
+  /** 其他付款状态(挂靠车):默认0关闭,1开启 */
+  otherPay?: number
+  /** 交易模式(1经销模式;2直销模式,默认经销模式1) */
+  tradeType?: number
+  /** 经销车辆户余额(元) */
+  truckBalance?: number
+}
 interface 用户分享邀请 {
   /** 被邀请人注册时间:开始 */
   dateFrom?: string

+ 2 - 1
src/utils/config/index.ts

@@ -4,8 +4,9 @@ import webapi from './webapi'
 const common = {
   vers: {
     加气支付极速版: 'jqjs-20250401',
+    物流充值: 'wlcz-20250617',
     get cur() {
-      return this.加气支付极速版
+      return this.物流充值
     },
   },
   isH5: __UNI_PLATFORM__ === 'h5',

+ 183 - 22
src/utils/config/interFaces/account.ts

@@ -83,6 +83,89 @@ export default {
     reqType: {} as TransferOrder,
     resType: {} as any,
   },
+  /** 北京银行接口测试-当日明细查询 */
+  test_cur: {
+    realUrl: '/account/beijing/test_cur',
+    reqType: {} as {
+      /** undefined */
+      DOcFlag?: string
+      /** 23位北京银行企业帐号 */
+      accountNo?: string
+      /** 最大金额,最大长度为 16 位数字字符串(无任何分割符,后两位表示小数) */
+      maxAmount?: string
+      /** 最小金额,最大长度为 16 位数字字符串(无任何分割符,后两位表示小数) */
+      minAmount?: string
+      /** 交易名称 */
+      opName?: string
+      /** 客户端请求时间 */
+      reqTime?: string
+      /** 交易序列号(客户端唯一标识) */
+      serialNo?: string
+    },
+    resType: {} as any,
+  },
+  /** 北京银行接口测试-历史明细查询 */
+  test_history: {
+    realUrl: '/account/beijing/test_history',
+    reqType: {} as {
+      /** 查询帐号, 23 位北京银行企业帐号 */
+      accountNo?: string
+      /** 起始日期 8 位日期串 yyyymmdd */
+      beginDate?: string
+      /** 凭证号 */
+      checkNum?: string
+      /** 终止日期 8 位日期串 yyyymmdd */
+      endDate?: string
+      /** 最大金额 */
+      maxAmount?: string
+      /** 最小金额 */
+      minAmount?: string
+    },
+    resType: {} as any,
+  },
+  /** 北京银行接口测试-分页明细查询 */
+  test_page: {
+    realUrl: '/account/beijing/test_page',
+    reqType: {} as {
+      /** 账号 23 位 */
+      acctNo?: string
+      /** 对方户名 */
+      counterpartyName?: string
+      /** 终止日期 yyyymmdd */
+      endDate?: string
+      /** 最大金额 */
+      maxiAmt?: string
+      /** 最小金额 */
+      miniAmt?: string
+      /** 交易名称 */
+      opName?: string
+      /** 每页数量,每包返回明细总数 */
+      pageSize?: string
+      /** 客户端请求时间 */
+      reqTime?: string
+      /** 交易序列号(客户端唯一标识) */
+      serialNo?: string
+      /** 排序标志,日期 0 金额 1(默认 0) */
+      sortFlag?: string
+      /** 排序类型,倒序 0 正序 1 */
+      sortType?: string
+      /** 起始日期 yyyymmdd */
+      startDate?: string
+      /** 起始页号,默认为 1 */
+      startPageNo?: string
+      /** 查询的条数(第一次查询时会返回总数) */
+      totalNum?: string
+      /** A:全部,C:借,D:贷 */
+      tranDirection?: string
+    },
+    resType: {} as any,
+  },
+  /** 北京银行接口测试-余额查询 */
+  test_yue: {
+    realUrl: '/account/beijing/test_yue',
+
+    resType: {} as any,
+  },
   /** 优惠卡作废接口 */
   cancel_card: {
     realUrl: '/account/card_info/cancel_card',
@@ -131,10 +214,28 @@ export default {
     reqType: {} as 通用id参数,
     resType: {} as Truck,
   },
+  /** 导出流水 */
+  download: {
+    realUrl: '/account/carreir_trade_log/download',
+    reqType: {} as CarrierTradeLogListParam,
+    resType: {} as StreamingResponseBody,
+  },
+  /** 分页查询资金账户流水 */
+  list: {
+    realUrl: '/account/carreir_trade_log/list',
+    reqType: {} as IPageParams<CarrierTradeLogListParam>,
+    resType: {} as CarrierTradeLogInfoVO物流资金流水VO类,
+  },
+  /** 刷新资金账户 */
+  refresh: {
+    realUrl: '/account/carreir_trade_log/refresh',
+    reqType: {} as 通用id参数,
+    resType: {} as 刷新资金账户操作返回VO类,
+  },
   /** 提醒配置查询 */
   config: {
     realUrl: '/account/carrier_balance/config',
-    reqType: {} as CarrierBalanceParam,
+    reqType: {} as 物流公司余额查询VO参数,
     resType: {} as CarrierNoticeConfigVO对象,
   },
   /** 提醒配置更新 */
@@ -152,7 +253,7 @@ export default {
   /** 提醒记录 */
   log: {
     realUrl: '/account/carrier_balance/log',
-    reqType: {} as IPageParams<CarrierBalanceParam>,
+    reqType: {} as IPageParams<物流公司余额查询VO参数>,
     resType: {} as any,
   },
   /** 物流余额监控列表 */
@@ -170,7 +271,7 @@ export default {
   /** 分页查询车辆账户列表列表 */
   page_truck_accounts: {
     realUrl: '/account/carrier_balance/page_truck_accounts',
-    reqType: {} as IPageParams<CarrierBalanceParam>,
+    reqType: {} as IPageParams<物流公司余额查询VO参数>,
     resType: {} as any,
   },
   /** 物流余额监控金额汇总 */
@@ -182,7 +283,7 @@ export default {
   /** 查询车辆账户金额汇总 */
   sum_truck_accounts: {
     realUrl: '/account/carrier_balance/sum_truck_accounts',
-    reqType: {} as CarrierBalanceParam,
+    reqType: {} as 物流公司余额查询VO参数,
     resType: {} as any,
   },
   /** 获取直销余额非0的车辆账户列表 */
@@ -234,7 +335,7 @@ export default {
     resType: {} as any,
   },
   /** 下载 */
-  download: {
+  download_1: {
     realUrl: '/account/directsales/excel/download',
     reqType: {} as ExcelExportParam,
 
@@ -284,7 +385,7 @@ export default {
   /** 获取物流公司企业余额(直销模式) */
   find_carrier_balance: {
     realUrl: '/account/directsales/org_account/find_carrier_balance',
-    reqType: {} as CarrierBalanceParam,
+    reqType: {} as 物流公司余额查询VO参数,
     resType: {} as any,
   },
   /** getOrgAccountBalanceByOrgId */
@@ -312,7 +413,7 @@ export default {
     resType: {} as number,
   },
   /** 获取org_account列表(直销模式) */
-  list: {
+  list_1: {
     realUrl: '/account/directsales/org_account/list',
     reqType: {} as IPageParams<OrgAccount对象>,
     resType: {} as any,
@@ -372,7 +473,7 @@ export default {
     resType: {} as any,
   },
   /** 增加了数据权限的获取truck_account列表(直销模式) */
-  list_1: {
+  list_2: {
     realUrl: '/account/directsales/truck_account/district/list',
     reqType: {} as IPageParams<TruckAccount对象>,
     resType: {} as any,
@@ -414,7 +515,7 @@ export default {
     resType: {} as number,
   },
   /** 获取truck_account列表(直销模式) */
-  list_2: {
+  list_3: {
     realUrl: '/account/directsales/truck_account/list',
     reqType: {} as IPageParams<TruckAccount对象>,
     resType: {} as any,
@@ -438,11 +539,59 @@ export default {
     resType: {} as any,
   },
   /** 下载 */
-  download_1: {
+  download_2: {
     realUrl: '/account/excel/download',
     reqType: {} as ExcelExportParam,
 
   },
+  /** 自定义日志类型自由调账接口(支持双向) */
+  account_update: {
+    realUrl: '/account/handle/account_update',
+    reqType: {} as AccountUpdateParam,
+    resType: {} as any,
+  },
+  /** 经销转直销(忽略账户余额) */
+  com_to_direct: {
+    realUrl: '/account/handle/com_to_direct',
+    reqType: {} as Com2DirectParam,
+    resType: {} as any,
+  },
+  /** 经销余额转直销账户 */
+  combalance_to_direct: {
+    realUrl: '/account/handle/combalance_to_direct',
+    reqType: {} as Com2DirectParam,
+    resType: {} as any,
+  },
+  /** 直销转经销(忽略账户余额) */
+  direct_to_com: {
+    realUrl: '/account/handle/direct_to_com',
+    reqType: {} as Direct2ComParam,
+    resType: {} as any,
+  },
+  /** 直销提现接口(线上记账,线下打款) */
+  direct_withdraw: {
+    realUrl: '/account/handle/direct_withdraw',
+    reqType: {} as WithdrawParam,
+    resType: {} as any,
+  },
+  /** 直销余额转经销账户 */
+  directbalance_to_com: {
+    realUrl: '/account/handle/directbalance_to_com',
+    reqType: {} as Direct2ComParam,
+    resType: {} as any,
+  },
+  /** 北银流水补账(支持双向补账,注意下账删除记录和流水) */
+  flow_add: {
+    realUrl: '/account/handle/flow_add',
+    reqType: {} as FlowAddParam,
+    resType: {} as any,
+  },
+  /** 手动上账接口(支持双向,注意下账会删除记录和流水) */
+  hand_add: {
+    realUrl: '/account/handle/hand_add',
+    reqType: {} as HandAddParam,
+    resType: {} as any,
+  },
   /** 添加org_account */
   add_2: {
     realUrl: '/account/org_account/add',
@@ -488,9 +637,15 @@ export default {
   /** 获取物流公司企业余额 */
   find_carrier_balance_1: {
     realUrl: '/account/org_account/find_carrier_balance',
-    reqType: {} as CarrierBalanceParam,
+    reqType: {} as 物流公司余额查询VO参数,
     resType: {} as any,
   },
+  /** 获取物流公司余额信息(包含直销经销车辆账户余额) */
+  find_carrier_balance_info: {
+    realUrl: '/account/org_account/find_carrier_balance_info',
+    reqType: {} as 物流公司余额查询VO参数,
+    resType: {} as 物流资金管理VO类,
+  },
   /** getOrgAccountBalanceByOrgId */
   get_balance_by_org_id_1: {
     realUrl: '/account/org_account/get_balance_by_org_id',
@@ -510,7 +665,7 @@ export default {
     resType: {} as any,
   },
   /** 获取org_account列表 */
-  list_3: {
+  list_4: {
     realUrl: '/account/org_account/list',
     reqType: {} as IPageParams<OrgAccount对象>,
     resType: {} as any,
@@ -558,7 +713,7 @@ export default {
     resType: {} as boolean,
   },
   /** 下载流水列表,财务导出专用 */
-  download_2: {
+  download_3: {
     realUrl: '/account/org_account_log/download',
     reqType: {} as OrgAccountLogParam,
     resType: {} as StreamingResponseBody,
@@ -570,7 +725,7 @@ export default {
     resType: {} as any,
   },
   /** 分页查询平台方企业资金账户流水 */
-  list_4: {
+  list_5: {
     realUrl: '/account/org_account_log/list',
     reqType: {} as IPageParams<OrgAccountLogParam>,
     resType: {} as any,
@@ -588,7 +743,7 @@ export default {
     resType: {} as any,
   },
   /** 获取org_carrier_log列表 */
-  list_5: {
+  list_6: {
     realUrl: '/account/org_carrier_log/list',
     reqType: {} as IPageParams<OrgCarrierLog对象>,
     resType: {} as any,
@@ -612,7 +767,7 @@ export default {
     resType: {} as any,
   },
   /** 获取org_gasstation_log列表 */
-  list_6: {
+  list_7: {
     realUrl: '/account/org_gasstation_log/list',
     reqType: {} as IPageParams<OrgGasstationLog对象>,
     resType: {} as any,
@@ -630,7 +785,7 @@ export default {
     resType: {} as any,
   },
   /** 获取org_xqkj_log列表 */
-  list_7: {
+  list_8: {
     realUrl: '/account/org_xqkj_log/list',
     reqType: {} as IPageParams<OrgXqkjLog对象>,
     resType: {} as any,
@@ -672,7 +827,7 @@ export default {
     resType: {} as boolean,
   },
   /** 增加了数据权限的获取truck_account列表 */
-  list_8: {
+  list_9: {
     realUrl: '/account/truck_account/district/list',
     reqType: {} as IPageParams<TruckAccount对象>,
     resType: {} as any,
@@ -719,6 +874,12 @@ export default {
     reqType: {} as CarInfoQryParam,
     resType: {} as 车辆账户相关信息VO类,
   },
+  /** 获取车辆账户余额信息(经销+直销) */
+  get_trcuk_info: {
+    realUrl: '/account/truck_account/get_trcuk_info',
+    reqType: {} as CarInfoQryParam,
+    resType: {} as TruckAccount对象,
+  },
   /** 初始化数据:批量新增物流公司北京银行卡车账户 */
   init_beijing_acc_org: {
     realUrl: '/account/truck_account/init_beijing_acc_org',
@@ -732,7 +893,7 @@ export default {
     resType: {} as any,
   },
   /** 获取truck_account列表 */
-  list_9: {
+  list_10: {
     realUrl: '/account/truck_account/list',
     reqType: {} as IPageParams<TruckAccount对象>,
     resType: {} as any,
@@ -774,7 +935,7 @@ export default {
     resType: {} as any,
   },
   /** 获取truck_account_log列表 */
-  list_10: {
+  list_11: {
     realUrl: '/account/truck_account_log/list',
     reqType: {} as IPageParams<TruckAccountLog对象>,
     resType: {} as any,
@@ -828,7 +989,7 @@ export default {
     resType: {} as 司机账户余额信息,
   },
   /** 获取user_account列表 */
-  list_11: {
+  list_12: {
     realUrl: '/account/user_account/list',
     reqType: {} as IPageParams<UserAccount对象>,
     resType: {} as any,
@@ -864,7 +1025,7 @@ export default {
     resType: {} as any,
   },
   /** 获取user_account_log列表 */
-  list_12: {
+  list_13: {
     realUrl: '/account/user_account_log/list',
     reqType: {} as IPageParams<UserAccountLog对象>,
     resType: {} as any,

+ 29 - 11
src/utils/config/interFaces/allinpay.ts

@@ -47,7 +47,13 @@ export default {
     reqType: {} as 通用id参数,
     resType: {} as any,
   },
-  /** 充值订单退款运维接口 */
+  /** 充值订单单边账退款运维接口(通联支付成功平台未记账) */
+  charge_refund_tsy: {
+    realUrl: '/allinpay/handle/charge_refund_tsy',
+    reqType: {} as 通用id参数,
+    resType: {} as any,
+  },
+  /** 确认修改绑定手机号 */
   confirm_change_bindphone: {
     realUrl: '/allinpay/handle/confirm_change_bindphone',
     reqType: {} as ChangePhoneParam,
@@ -107,6 +113,12 @@ export default {
     reqType: {} as GasOrder对象,
     resType: {} as any,
   },
+  /** 处理加气支付极速版上线后,物流旧待支付订单的站服务费问题 */
+  exec_unpay_fee: {
+    realUrl: '/allinpay/handle/exec_unpay_fee',
+
+    resType: {} as any,
+  },
   /** 直销-冲红订单(通联+平台) */
   gas_directsales_order_back: {
     realUrl: '/allinpay/handle/gas_directsales_order_back',
@@ -203,16 +215,10 @@ export default {
     reqType: {} as GasOrder对象,
     resType: {} as any,
   },
-  /** 微信支付回调成功,account处理失败,完成支付逻辑 */
-  wxpay_carrier_account_handle: {
-    realUrl: '/allinpay/handle/wxpay_carrier_account_handle',
-    reqType: {} as GasOrder对象,
-    resType: {} as any,
-  },
-  /** 微信个人支付回调成功,account处理失败,完成支付逻辑 */
-  wxpay_person_account_handle: {
-    realUrl: '/allinpay/handle/wxpay_person_account_handle',
-    reqType: {} as GasOrder对象,
+  /** 通联无操作,平台个人支付单边账处理 */
+  wxpay_person_v2_handle: {
+    realUrl: '/allinpay/handle/wxpay_person_v2_handle',
+    reqType: {} as PersonPayHandleParam,
     resType: {} as any,
   },
   /** 微信支付回调-手工 */
@@ -419,6 +425,12 @@ export default {
     reqType: {} as 返现微信模板消息参数,
     resType: {} as any,
   },
+  /** 物流经销余额转直销 */
+  com_to_direct: {
+    realUrl: '/allinpay/pay/com_to_direct',
+    reqType: {} as OrgAccount对象,
+    resType: {} as any,
+  },
   /** 物流公司B2B充值 */
   deposit_apply: {
     realUrl: '/allinpay/pay/deposit_apply',
@@ -437,6 +449,12 @@ export default {
     reqType: {} as WithdrawParam,
     resType: {} as any,
   },
+  /** 物流直销余额转经销 */
+  direct_to_com: {
+    realUrl: '/allinpay/pay/direct_to_com',
+    reqType: {} as DriectComParam,
+    resType: {} as any,
+  },
   /** 气瓶检测微信支付 */
   gct_wxpay: {
     realUrl: '/allinpay/pay/gct_wxpay',

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

@@ -1,25 +1,25 @@
-import gasdata from './gasdata'
 import message from './message'
-import account from './account'
-import settle from './settle'
 import pay from './pay'
+import gasdata from './gasdata'
 import allinpay from './allinpay'
+import settle from './settle'
+import account from './account'
 import user from './user'
 import strategy from './strategy'
 
 export default {
-  /** 加气站数据采集 */
-  gasdata,
   /** 消息中心 */
   message,
-  /** 账户中心 */
-  account,
-  /** 结算中心 */
-  settle,
   /** 支付中心 */
   pay,
+  /** 加气站数据采集 */
+  gasdata,
   /** 通联支付 */
   allinpay,
+  /** 结算中心 */
+  settle,
+  /** 账户中心 */
+  account,
   /** 用户中心 */
   user,
   /** 运营策略中心 */

+ 18 - 0
src/utils/config/interFaces/strategy.ts

@@ -107,6 +107,24 @@ export default {
     reqType: {} as Banner对象,
     resType: {} as any,
   },
+  /** 批量修改车辆付款类型 */
+  edit_trucks: {
+    realUrl: '/strategy/carreir_acc/edit_trucks',
+    reqType: {} as 批量更改车辆加气付款类型参数,
+    resType: {} as boolean,
+  },
+  /** 获取加气资金管理数据信息 */
+  info: {
+    realUrl: '/strategy/carreir_acc/info',
+    reqType: {} as orgid参数,
+    resType: {} as CarrierAccountInfoVO对象,
+  },
+  /** 分页查询车辆资金管理 */
+  truck_list: {
+    realUrl: '/strategy/carreir_acc/truck_list',
+    reqType: {} as IPageParams<TruckLogParam对象>,
+    resType: {} as TruckAccountInfoVO对象,
+  },
   /** 获取变更日志列表 */
   list_6: {
     realUrl: '/strategy/carriage_log/list',

+ 55 - 31
src/utils/config/interFaces/user.ts

@@ -125,6 +125,18 @@ export default {
     reqType: {} as ButtonApi对象,
     resType: {} as any,
   },
+  /** 变更其他付款启用状态 */
+  change_otherpay: {
+    realUrl: '/user/carrier_account/change_otherpay',
+    reqType: {} as 通用id参数,
+    resType: {} as 通用id参数,
+  },
+  /** 获取物流资金管理列表 */
+  list_5: {
+    realUrl: '/user/carrier_account/list',
+    reqType: {} as IPageParams<Org对象>,
+    resType: {} as 物流资金管理VO类,
+  },
   /** 添加check_point */
   add_5: {
     realUrl: '/user/check_point/add',
@@ -132,7 +144,7 @@ export default {
     resType: {} as any,
   },
   /** 获取check_point列表 */
-  list_5: {
+  list_6: {
     realUrl: '/user/check_point/list',
     reqType: {} as IPageParams<CheckPoint对象>,
     resType: {} as any,
@@ -228,7 +240,7 @@ export default {
     resType: {} as string,
   },
   /** 获取合同模板列表(不分页) */
-  list_6: {
+  list_7: {
     realUrl: '/user/contract_template/list',
 
     resType: {} as Array<ContractTemplate对象>,
@@ -246,13 +258,13 @@ export default {
     resType: {} as any,
   },
   /** 获取列表 */
-  list_7: {
+  list_8: {
     realUrl: '/user/direct_sales_carrier_log/list',
     reqType: {} as IPageParams<DirectSalesCarrierLogQry>,
     resType: {} as any,
   },
   /** 获取列表 */
-  list_8: {
+  list_9: {
     realUrl: '/user/direct_sales_gasstation_log/list',
     reqType: {} as IPageParams<DirectSalesGasstationLog对象>,
     resType: {} as any,
@@ -331,7 +343,7 @@ export default {
     resType: {} as any,
   },
   /** 获取区域列表 */
-  list_9: {
+  list_10: {
     realUrl: '/user/district/list',
     reqType: {} as District对象,
     resType: {} as any,
@@ -352,7 +364,7 @@ export default {
     resType: {} as any,
   },
   /** 供销量监控feign调用 */
-  list_10: {
+  list_11: {
     realUrl: '/user/district/monitor/list',
     reqType: {} as {
       /** userId */
@@ -391,7 +403,7 @@ export default {
     resType: {} as string,
   },
   /** 获取district_area列表 */
-  list_11: {
+  list_12: {
     realUrl: '/user/district_area/list',
     reqType: {} as IPageParams<DistrictArea对象>,
     resType: {} as any,
@@ -409,7 +421,7 @@ export default {
     resType: {} as any,
   },
   /** 获取district_carrier列表 */
-  list_12: {
+  list_13: {
     realUrl: '/user/district_carrier/list',
     reqType: {} as IPageParams<DistrictCarrier对象>,
     resType: {} as any,
@@ -457,7 +469,7 @@ export default {
     resType: {} as any,
   },
   /** 获取区域组织列表 */
-  list_13: {
+  list_14: {
     realUrl: '/user/district_gasstation/list',
     reqType: {} as DistrictGasstation对象,
     resType: {} as any,
@@ -469,7 +481,7 @@ export default {
     resType: {} as any,
   },
   /** 获取district_log列表 */
-  list_14: {
+  list_15: {
     realUrl: '/user/district_log/list',
     reqType: {} as IPageParams<DistrictLog对象>,
     resType: {} as any,
@@ -481,7 +493,7 @@ export default {
     resType: {} as any,
   },
   /** 获取district_user列表 */
-  list_15: {
+  list_16: {
     realUrl: '/user/district_user/list',
     reqType: {} as IPageParams<DistrictUser对象>,
     resType: {} as any,
@@ -571,7 +583,7 @@ export default {
     resType: {} as DriverApply对象,
   },
   /** 获取driver_apply列表 */
-  list_16: {
+  list_17: {
     realUrl: '/user/driver_apply/list',
     reqType: {} as IPageParams<DriverApply对象>,
     resType: {} as any,
@@ -619,7 +631,7 @@ export default {
     resType: {} as boolean,
   },
   /** 获取driver_license列表 */
-  list_17: {
+  list_18: {
     realUrl: '/user/driver_license/list',
     reqType: {} as IPageParams<DriverLicense对象>,
     resType: {} as any,
@@ -783,7 +795,7 @@ export default {
     resType: {} as any,
   },
   /** 获取menu_api列表 */
-  list_18: {
+  list_19: {
     realUrl: '/user/menu_api/list',
     reqType: {} as IPageParams<MenuApi对象>,
     resType: {} as any,
@@ -970,6 +982,12 @@ export default {
     reqType: {} as Org对象,
     resType: {} as any,
   },
+  /** 根据企业全称查询物流信息 */
+  get_org_byname: {
+    realUrl: '/user/org/get_org_byname',
+    reqType: {} as Org对象,
+    resType: {} as any,
+  },
   /** 邀请司机二维码的生成 */
   invite_url_qrcode: {
     realUrl: '/user/org/invite_url_qrcode',
@@ -977,7 +995,7 @@ export default {
     resType: {} as string,
   },
   /** 获取org列表 */
-  list_19: {
+  list_20: {
     realUrl: '/user/org/list',
     reqType: {} as IPageParams<OrgListParam>,
     resType: {} as IPage<Org对象>,
@@ -1066,6 +1084,12 @@ export default {
     reqType: {} as Org对象,
     resType: {} as any,
   },
+  /** 更改物流公司的经销直销 */
+  update_org_trade: {
+    realUrl: '/user/org/update_org_trade',
+    reqType: {} as Org对象,
+    resType: {} as any,
+  },
   /** 添加组织渠道认证信息 */
   add_17: {
     realUrl: '/user/org_channel_auth/add',
@@ -1103,7 +1127,7 @@ export default {
     resType: {} as any,
   },
   /** 获取org_log列表 */
-  list_20: {
+  list_21: {
     realUrl: '/user/org_log/list',
     reqType: {} as IPageParams<OrgLog对象>,
     resType: {} as any,
@@ -1193,7 +1217,7 @@ export default {
     resType: {} as 企业印章详情,
   },
   /** 获取org_seal列表 */
-  list_21: {
+  list_22: {
     realUrl: '/user/org_seal/list',
     reqType: {} as IPageParams<OrgSeal对象>,
     resType: {} as any,
@@ -1241,7 +1265,7 @@ export default {
     resType: {} as any,
   },
   /** 获取org_signer列表 */
-  list_22: {
+  list_23: {
     realUrl: '/user/org_signer/list',
     reqType: {} as IPageParams<OrgSigner对象>,
     resType: {} as any,
@@ -1313,7 +1337,7 @@ export default {
     resType: {} as any,
   },
   /** 获取意向用户列表 */
-  list_23: {
+  list_24: {
     realUrl: '/user/register_manage/list',
     reqType: {} as IPageParams<RegisterDriver对象>,
     resType: {} as any,
@@ -1325,7 +1349,7 @@ export default {
     resType: {} as any,
   },
   /** 根据端id,获取角色列表 */
-  list_24: {
+  list_25: {
     realUrl: '/user/role/list',
     reqType: {} as IPageParams<Role对象>,
     resType: {} as any,
@@ -1355,7 +1379,7 @@ export default {
     resType: {} as boolean,
   },
   /** 获取role_api列表 */
-  list_25: {
+  list_26: {
     realUrl: '/user/role_api/list',
     reqType: {} as Record<any, any>,
     resType: {} as Array<RoleApi对象>,
@@ -1373,7 +1397,7 @@ export default {
     resType: {} as any,
   },
   /** 获取role_auth_log列表 */
-  list_26: {
+  list_27: {
     realUrl: '/user/role_auth_log/list',
     reqType: {} as IPageParams<RoleAuthLog对象>,
     resType: {} as any,
@@ -1391,7 +1415,7 @@ export default {
     resType: {} as any,
   },
   /** 获取role_menu列表 */
-  list_27: {
+  list_28: {
     realUrl: '/user/role_menu/list',
     reqType: {} as IPageParams<RoleMenu对象>,
     resType: {} as any,
@@ -1580,7 +1604,7 @@ export default {
     resType: {} as number,
   },
   /** 获取user列表 */
-  list_28: {
+  list_29: {
     realUrl: '/user/user/list',
     reqType: {} as IPageParams<User对象>,
     resType: {} as IPage<User对象>,
@@ -1712,7 +1736,7 @@ export default {
     resType: {} as any,
   },
   /** 获取user_auth_log列表 */
-  list_29: {
+  list_30: {
     realUrl: '/user/user_auth_log/list',
     reqType: {} as IPageParams<UserAuthLog对象>,
     resType: {} as any,
@@ -1760,7 +1784,7 @@ export default {
     resType: {} as boolean,
   },
   /** 获取user_info列表 */
-  list_30: {
+  list_31: {
     realUrl: '/user/user_info/list',
     reqType: {} as IPageParams<UserInfo对象>,
     resType: {} as any,
@@ -1808,7 +1832,7 @@ export default {
     resType: {} as any,
   },
   /** 获取user_log列表 */
-  list_31: {
+  list_32: {
     realUrl: '/user/user_log/list',
     reqType: {} as IPageParams<UserLog对象>,
     resType: {} as any,
@@ -1826,7 +1850,7 @@ export default {
     resType: {} as any,
   },
   /** 获取user_login_log列表 */
-  list_32: {
+  list_33: {
     realUrl: '/user/user_login_log/list',
     reqType: {} as IPageParams<UserLoginLog对象>,
     resType: {} as any,
@@ -1838,7 +1862,7 @@ export default {
     resType: {} as any,
   },
   /** 获取user_operate_log列表 */
-  list_33: {
+  list_34: {
     realUrl: '/user/user_operate_log/list',
     reqType: {} as IPageParams<UserOperateLog对象>,
     resType: {} as any,
@@ -1862,7 +1886,7 @@ export default {
     resType: {} as any,
   },
   /** 获取user_role列表 */
-  list_34: {
+  list_35: {
     realUrl: '/user/user_role/list',
     reqType: {} as Record<any, any>,
     resType: {} as Array<UserRole对象>,
@@ -1880,7 +1904,7 @@ export default {
     resType: {} as string,
   },
   /** 获取user_seal列表 */
-  list_35: {
+  list_36: {
     realUrl: '/user/user_seal/list',
     reqType: {} as IPageParams<UserSeal对象>,
     resType: {} as any,

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 1 - 181
src/utils/mock/index.ts


+ 13 - 0
vite.config.ts

@@ -189,6 +189,19 @@ export default ({ command, mode }) => {
           drop_debugger: true,
         },
       },
+      // rollupOptions: {
+      //   output: {
+      //     manualChunks(id,parentId) {
+      //       if (id.includes('api/web/')) {
+      //         console.log('manualChunks', id,parentId.getModuleIds())
+      //         return  'web_request'
+      //       }
+      //       // if (id.includes('node_modules')) {
+      //       //   return id.toString().split('node_modules/')[1].split('/')[0].toString()
+      //       // }
+      //     },
+      //   },
+      // },
     },
   })