|
|
@@ -0,0 +1,184 @@
|
|
|
+export interface QueryAmountLogReq {
|
|
|
+ page?: number // 页码
|
|
|
+ pagesize?: number // 每页条数
|
|
|
+ accountID: string // 资金账户 - 格式:1,2,3
|
|
|
+ OperateType?: number // 资金操作类型 - 格式:1,2,3
|
|
|
+}
|
|
|
+
|
|
|
+export interface QueryAmountLogRsp{
|
|
|
+ OPERATETYPENAME :string;//资金操作类型名称
|
|
|
+ accountid :number;//资金账户ID
|
|
|
+ agoodscode :string;//竞拍商品代码
|
|
|
+ agoodsname :string;//竞拍商品名称
|
|
|
+ amount :number;//资金金额
|
|
|
+ amountadjusttype :number;//资金调整类型(默认值为number;
|
|
|
+//) - number;
|
|
|
+//:系统 1:单边账调整 2:人工调整
|
|
|
+ autoid :number;//流水ID(22number;
|
|
|
+//+Unix秒时间戳(1number;
|
|
|
+//位)+xxxxxx)
|
|
|
+ balance :number;//期初余额
|
|
|
+ businesscode :number;//业务编号
|
|
|
+ createtime :string;//发生时间
|
|
|
+ currencyid :number;//币种ID
|
|
|
+ currentbalance :number;//期末余额(变动后金额)
|
|
|
+ dgoodscode :string;//交割商品代码
|
|
|
+ dgoodsname :string;//交割商品名称
|
|
|
+ goodscode :string;//商品代码
|
|
|
+ goodsid :number;//商品ID
|
|
|
+ goodsname :string;//商品名称
|
|
|
+ marketid :number;//市场ID
|
|
|
+ marketname :string;//市场名称
|
|
|
+ moneyticket :number;//资金流水号:银行端流水号
|
|
|
+ operatetype :number;//资金操作类型 (AccountFundCmdOp)- 1number;
|
|
|
+//1:入金 1number;
|
|
|
+//2:入金手续费 1number;
|
|
|
+//3:出金 1number;
|
|
|
+//4:出金冻结 1number;
|
|
|
+//5:出金解冻 1number;
|
|
|
+//6:出金手续费 1number;
|
|
|
+//7:出金手续费冻结 1number;
|
|
|
+//8:出金手续费解冻 2number;
|
|
|
+//1:交易冻结 2number;
|
|
|
+//2:交易解冻 2number;
|
|
|
+//3:交易占用 2number;
|
|
|
+//4:交易解占用 2number;
|
|
|
+//5:交易手续费冻结 2number;
|
|
|
+//6:交易手续费解冻 2number;
|
|
|
+//7:交易手续费 2number;
|
|
|
+//8:交易货款 2number;
|
|
|
+//9:交易盈亏 3number;
|
|
|
+//1:交割冻结 3number;
|
|
|
+//2:交割解冻 3number;
|
|
|
+//3:交割手续费 3number;
|
|
|
+//4:交割手续费冻结 3number;
|
|
|
+//5:交割手续费解冻 3number;
|
|
|
+//6:交割货款 3number;
|
|
|
+//7:交割税款 4number;
|
|
|
+//1:结算盈亏 4number;
|
|
|
+//2:结算递延费 4number;
|
|
|
+//3:分润收入 4number;
|
|
|
+//4:延期分润 5number;
|
|
|
+//1:授信增加 5number;
|
|
|
+//2:授信减少 5number;
|
|
|
+//3:转积分 5number;
|
|
|
+//4:转入 5number;
|
|
|
+//5:转出 5number;
|
|
|
+//6:转出冻结 5number;
|
|
|
+//7:转出解冻 6number;
|
|
|
+//1:履约金额冻结 6number;
|
|
|
+//2:履约最大冻结 6number;
|
|
|
+//3:履约金额解冻 6number;
|
|
|
+//4:履约扣款 6number;
|
|
|
+//5:履约收款 6number;
|
|
|
+//6:履约违约手续费 6number;
|
|
|
+//7:履约违约收入 6number;
|
|
|
+//8:履约最大扣款 7number;
|
|
|
+//1:供应链金融冻结 7number;
|
|
|
+//2:供应链金融解冻 7number;
|
|
|
+//3:供应链金融最大冻结 7number;
|
|
|
+//4:供应链金融利息 7number;
|
|
|
+//5:供应链金融货款 7number;
|
|
|
+//6:供应链金融押金 7number;
|
|
|
+//7:供应链金融最大扣款 8number;
|
|
|
+//1:仓单贸易冻结 8number;
|
|
|
+//2:仓单贸易解冻 8number;
|
|
|
+//3:仓单贸易首付款 8number;
|
|
|
+//4:仓单贸易最大扣款 9number;
|
|
|
+//1:商城扣款冻结 9number;
|
|
|
+//2:商城扣款解冻 9number;
|
|
|
+//3:商城扣款 9number;
|
|
|
+//4:商城收款 1number;
|
|
|
+//number;
|
|
|
+//1:期权冻结 1number;
|
|
|
+//number;
|
|
|
+//2:期权解冻 1number;
|
|
|
+//number;
|
|
|
+//3:期权权力金 1number;
|
|
|
+//number;
|
|
|
+//4:期权手续费冻结 1number;
|
|
|
+//number;
|
|
|
+//5:期权手续费解冻 1number;
|
|
|
+//number;
|
|
|
+//6:期权手续费 1number;
|
|
|
+//number;
|
|
|
+//7:期权盈亏 11number;
|
|
|
+//1:营销扣款 11number;
|
|
|
+//2:营销收款
|
|
|
+ relationorderid :string;//关联单号
|
|
|
+ remark :string;//备注
|
|
|
+ trademode :number;//交易模式
|
|
|
+}
|
|
|
+
|
|
|
+
|
|
|
+/**
|
|
|
+ * 获取资金账户信息
|
|
|
+ */
|
|
|
+export interface GetTaAccountsReq {
|
|
|
+ loginID: number// 登录账户
|
|
|
+ taAccountType?: number// 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
|
|
|
+}
|
|
|
+
|
|
|
+
|
|
|
+export interface Taaccount{
|
|
|
+ accountflag :number;//账户标识 - number;
|
|
|
+//\1 (默认为number;
|
|
|
+//, 当上级账户与本账户的关联用户均为自己时更新为1)
|
|
|
+ accountid :number;//资金账户ID
|
|
|
+ accountname :string;//账户名称
|
|
|
+ balance :number;//期初余额
|
|
|
+ capitalbalance :number;//本金余额[外部子账户实际出入金余额]
|
|
|
+ changeflag :number;//变动标志(当前账户资金有任何变动更新为1系统结算时更新number;
|
|
|
+//;供清算时使用) number;
|
|
|
+//:无变动 1:有变动
|
|
|
+ changetime :string;//账户状态变更时间
|
|
|
+ closepl :number;//今日平仓盈亏
|
|
|
+ creditdecrease :number;//今日授信减少
|
|
|
+ creditincrease :number;//今日授信增加
|
|
|
+ curamount :number;//总市值(从持仓中统计)
|
|
|
+ currencyid :number;//货币ID
|
|
|
+ currentbalance :number;//期末余额
|
|
|
+ freezecharge :number;//手续费冻结
|
|
|
+ freezemargin :number;//冻结保证金
|
|
|
+ fromaccountid :number;//所属上级账户
|
|
|
+ inamount :number;//今日入金金额(包括三方入金)
|
|
|
+ ismain :number;//是否母账号 number;
|
|
|
+//:不是母账户 1:是母账户
|
|
|
+ ismarketaccount :number;//是否机构接单账号 number;
|
|
|
+//:不是 1:是
|
|
|
+ isreckonaccount :number;//是否机构分润账号 number;
|
|
|
+//:不是 1:是
|
|
|
+ mortgagecredit :number;//授信金额
|
|
|
+ orifreezecharge :number;//期初手续费冻结
|
|
|
+ orifreezemargin :number;//期初冻结保证金
|
|
|
+ orimortgagecredit :number;//期初授信金额
|
|
|
+ oriothercredit :number;//期初其它授信金额
|
|
|
+ oriotherfreezemargin :number;//期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
|
|
|
+ orioutamountfreeze :number;//期初出金冻结
|
|
|
+ oriusedmargin :number;//期初占用保证金
|
|
|
+ othercredit :number;//其它授信金额
|
|
|
+ othercreditdecrease :number;//今日其它授信减少
|
|
|
+ othercreditincrease :number;//今日其它授信增加
|
|
|
+ otherfreezemargin :number;//其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
|
|
|
+ otherincome :number;//其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
|
|
|
+ otherpay :number;//其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
|
|
|
+ outamount :number;//今日出金金额(包括三方出金)
|
|
|
+ outamountfreeze :number;//出金冻结
|
|
|
+ outthreshold :number;//出金阈值
|
|
|
+ parentaccountid :number;//所属根账号
|
|
|
+ paycharge :number;//今日手续费支出
|
|
|
+ relatedaccountstatus :number;//关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
|
|
|
+ relateduserid :number;//关联用户
|
|
|
+ remainamount :number;//融资额(从融资合同中统计)
|
|
|
+ serivcegroup :number;//服务分组
|
|
|
+ signstatus :number;//签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
|
|
|
+ sublevelpath :string;//账号层级路径(逗号分隔,首尾加逗号)
|
|
|
+ taaccounttype :number;//账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
|
|
|
+ thirdinamount :number;//今日三方入金
|
|
|
+ thirdoutamount :number;//今日三方出金
|
|
|
+ tradestatus :number;//交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
|
|
|
+ tradestatuschangetime :string;//激活时间
|
|
|
+ transferamount :number;//今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
|
|
|
+ usedmargin :number;//占用保证金
|
|
|
+ userid :number;//用户ID
|
|
|
+}
|