|
|
@@ -1,391 +0,0 @@
|
|
|
-export interface HttpRespone {
|
|
|
- code: number;
|
|
|
- msg: string;
|
|
|
- page: number;
|
|
|
- pagesize: number;
|
|
|
- total: number;
|
|
|
-}
|
|
|
-export interface hsbyBuyMyTradeDetail {
|
|
|
- accountid: number; //账户ID[报价币种]
|
|
|
- agreeunit: number; //合约单位
|
|
|
- amount: number; //金额 = 价格 数量 合约单位
|
|
|
- buyorsell: number; //买卖 - 0:买 1:卖
|
|
|
- currencysign: string; //货币符号
|
|
|
- decimalplace: number; //报价小数位
|
|
|
- goodscode: string; //商品代码(内部)
|
|
|
- goodsid: number; //商品ID
|
|
|
- goodsname: string; //商品名称
|
|
|
- marketid: number; //市场ID
|
|
|
- orderamount: number; //委托金额
|
|
|
- orderid: string; //单号(成交单号)
|
|
|
- picurls1: string; //预售商品介绍图片[多张用逗号分隔]
|
|
|
- picurls2: string; //挂牌商品介绍图片[多张用逗号分隔]
|
|
|
- price: number; //价格
|
|
|
- qty: number; //数量
|
|
|
- time: string; //时间
|
|
|
- trademode: number; //交易模式 - 16:热卖 70:特卖 71:新品
|
|
|
- vendorname1: string; //预售商品供应商名称
|
|
|
- vendorname2: string; //挂牌商品供应商名称
|
|
|
-}
|
|
|
-export interface HsbyBuyMyTradeDetail extends HttpRespone {
|
|
|
- data: hsbyBuyMyTradeDetail[];
|
|
|
-}
|
|
|
-
|
|
|
-export interface hsbyMyBuyOrderDetails {
|
|
|
- accountid: number; //账户ID[报价币种]
|
|
|
- agreeunit: number; //合约单位
|
|
|
- buyorsell: number; //买卖 - 0:买 1:卖
|
|
|
- cancelqty: number; //撤单数量
|
|
|
- currencysign: string; //货币符号
|
|
|
- decimalplace: number; //报价小数位
|
|
|
- goodscode: string; //商品代码(内部)
|
|
|
- goodsid: number; //商品ID
|
|
|
- goodsname: string; //商品名称
|
|
|
- listingselecttype: number; //挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
|
|
|
- marketid: number; //市场ID
|
|
|
- mybuystatus: number; //"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败
|
|
|
- orderamount: number; //委托金额
|
|
|
- orderid: string; //委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
|
|
|
- orderprice: number; //委托价格
|
|
|
- orderqty: number; //委托数量
|
|
|
- orderstatus: number; //委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
|
|
|
- ordertime: string; //委托时间
|
|
|
- picurls1: string; //预售商品介绍图片[多张用逗号分隔]
|
|
|
- picurls2: string; //挂牌商品介绍图片[多张用逗号分隔]
|
|
|
- trademode: number; //交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
|
|
|
- tradeqty: number; //成交数量
|
|
|
- vendorname1: string; //预售商品供应商名称
|
|
|
- vendorname2: string; //挂牌商品供应商名称
|
|
|
-}
|
|
|
-export interface HsbyMyBuyOrderDetails extends HttpRespone {
|
|
|
- data: hsbyMyBuyOrderDetails[];
|
|
|
-}
|
|
|
-
|
|
|
-export interface queryHsbyMyGoods {
|
|
|
- accountid: number; //账号Id
|
|
|
- agreeunit: number; //合约单位
|
|
|
- buyaverageprice: number; //持仓均价
|
|
|
- buycurholderamount: number; //买当前持仓总金额[商品币种]
|
|
|
- buycurpositionqty: number; //买当前持仓总数量
|
|
|
- buymaxqty: number; //购买上限 [71] - 0为不限
|
|
|
- currencysign: string; //货币符号
|
|
|
- decimalplace: number; //报价小数位
|
|
|
- enableqty: number; //可用数量
|
|
|
- goodscode: string; //商品代码(内部)
|
|
|
- goodsid: number; //商品Id
|
|
|
- goodsname: string; //商品名称
|
|
|
- goodsprice: number; //商品价格
|
|
|
- goodsstatus: number; //商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
|
|
|
- last: number; //现价(仅使用于挂牌点选)
|
|
|
- limitdown: number; //跌停价(仅使用于挂牌点选)
|
|
|
- limitup: number; //涨停价(仅使用于挂牌点选)
|
|
|
- lotsize: number; //手数最小变动单位
|
|
|
- marketid: number; //所属市场ID
|
|
|
- picurls: string; //介绍图片[多张用逗号分隔]
|
|
|
- quoteminunit: number; //行情最小变动单位 [整数,报价小数位一起使用]
|
|
|
- stepvalue: number; //价格最小变动单位
|
|
|
- trademode: number; //交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
|
|
|
-}
|
|
|
-export interface QueryHsbyMyGoods extends HttpRespone {
|
|
|
- data: queryHsbyMyGoods[];
|
|
|
-}
|
|
|
-
|
|
|
-export interface queryHsbyMyPackages {
|
|
|
- accountid: number; //账户ID
|
|
|
- address: string; //提货人详细地址
|
|
|
- agreeunit: number; //合约单位
|
|
|
- amount: number; //提货金额
|
|
|
- auditer: number; //审核人
|
|
|
- audittime: string; //审核时间
|
|
|
- averageprice: number; //均价
|
|
|
- cardnum: string; //提货人证件号码
|
|
|
- cardtypeid: number; //提货人证件类型
|
|
|
- checkremark: string; //审核备注
|
|
|
- currencysign: string; //货币符号
|
|
|
- decimalplace: number; //报价小数位
|
|
|
- goodscode: string; //商品代码(内部)
|
|
|
- goodsid: number; //商品ID
|
|
|
- goodsname: string; //商品名称
|
|
|
- handlestatus: number; //处理状态
|
|
|
- marketid: number; //市场ID
|
|
|
- phonenum: string; //提货人联系方式
|
|
|
- picurls: string; //介绍图片[多张用逗号分隔]
|
|
|
- qty: number; //提货数量
|
|
|
- recivername: string; //提货人姓名
|
|
|
- reqtime: string; //更新时间
|
|
|
- takemode: number; //提货方式 - 2:自提 3:配送
|
|
|
- takeorderid: string; //提货单号(905+Unix秒时间戳(10位)+xxxxxx)
|
|
|
- takeorderstatus: number; //提货状态 - 1:待发货 2:已发货 3:已收货
|
|
|
- takeremark: string; //提货备注
|
|
|
- tradedate: string; //交易日(yyyyMMdd)
|
|
|
- userid: number; //用户ID
|
|
|
- vendorname: string; //供应商名称
|
|
|
- trademode: number;
|
|
|
-}
|
|
|
-export interface QueryHsbyMyPackages extends HttpRespone {
|
|
|
- data: queryHsbyMyPackages[];
|
|
|
-}
|
|
|
-
|
|
|
-export interface queryHsbySellMyDetails {
|
|
|
- accountid: number; //账户ID[报价币种]
|
|
|
- agreeunit: number; //合约单位
|
|
|
- buyorsell: number; //买卖 - 0:买 1:卖
|
|
|
- currencysign: string; //货币符号
|
|
|
- decimalplace: number; //报价小数位
|
|
|
- goodscode: string; //商品代码(内部)
|
|
|
- goodsid: number; //商品ID
|
|
|
- goodsname: string; //商品名称
|
|
|
- marketid: number; //市场ID
|
|
|
- orderid: string; //单号(发布中 - 委托单号;已完成 - 成交单号)
|
|
|
- ordertype: number; //单据类型:0 - 发布中, 1 - 已完成
|
|
|
- picurls: string; //介绍图片[多张用逗号分隔]
|
|
|
- price: number; //价格
|
|
|
- qty: number; //数量
|
|
|
- time: string; //时间
|
|
|
- trademode: number; //交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
|
|
|
- vendorname: string; //供应商名称
|
|
|
-}
|
|
|
-export interface QueryHsbySellMyDetails extends HttpRespone {
|
|
|
- data: queryHsbySellMyDetails[];
|
|
|
-}
|
|
|
-
|
|
|
-export interface queryMyCollectionOrders {
|
|
|
- agreeunit: number; //合约单位
|
|
|
- buyaccountid: number; //买方账号ID[报价币种]
|
|
|
- buyorderid: string; //买方委托单号
|
|
|
- createtime: string; //创建时间
|
|
|
- currencysign: string; //货币符号
|
|
|
- decimalplace: number; //报价小数位
|
|
|
- goodscode: string; //商品代码(内部)
|
|
|
- goodsid: number; //商品ID
|
|
|
- goodsname: string; //商品名称
|
|
|
- marketid: number; //市场ID
|
|
|
- offamount: number; //优惠金额
|
|
|
- payamount: number; //支付金额 = TradeAmount + TradeCharge - OffAmount
|
|
|
- payflag: number; //付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
|
|
|
- paylimitedtime: string; //支付期限
|
|
|
- paytime: string; //付款时间
|
|
|
- picurls: string; //商品介绍图片[多张用逗号分隔]
|
|
|
- sellaccountid: number; //卖方账号ID[报价币种]
|
|
|
- sellorderid: string; //卖方委托单号
|
|
|
- tradeamount: number; //成交金额
|
|
|
- tradecharge: number; //成交手续费(买方)
|
|
|
- tradedate: string; //交易日(yyyyMMdd)
|
|
|
- tradeid: string; //成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
|
|
|
- trademode: number; //交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
|
|
|
- tradeprice: number; //成交价格
|
|
|
- tradeqty: number; //成交数量
|
|
|
-}
|
|
|
-export interface QueryMyCollectionOrders extends HttpRespone {
|
|
|
- data: queryMyCollectionOrders[];
|
|
|
-}
|
|
|
-
|
|
|
-export interface queryMyCouponHolds {
|
|
|
- accountid: number; //资金账户ID
|
|
|
- conditionvalue: number; //条件阈值(可为0)
|
|
|
- couponcategroy: number; //种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
|
|
|
- couponholdid: string; //优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
|
|
|
- couponname: string; //优惠券名称
|
|
|
- coupontypeid: string; //优惠券类型ID - SEQ_COUPONTYPE
|
|
|
- couponvalue: number; //面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
|
|
|
- createtime: string; //创建时间
|
|
|
- enddate: string; //结束日期
|
|
|
- giveapplyid: number; //发放申请ID(SEQ_COUPONGIVEAPPLY)
|
|
|
- holdstatus: number; //持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
|
|
|
- isgeneral: number; //是否通用券 - 0:否 1:是
|
|
|
- limitedflag: number; //是否指定商品 - 0:不限 1:限制
|
|
|
- limitedgoodsids: string; //指定商品IDs[逗号分隔]
|
|
|
- qty: number; //数量(按1平铺)
|
|
|
- startdate: string; //开始日期
|
|
|
- userid: number; //用户ID
|
|
|
- userscope: string; //卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
|
|
|
-}
|
|
|
-export interface QueryMyCouponHolds extends HttpRespone {
|
|
|
- data: queryMyCouponHolds[];
|
|
|
-}
|
|
|
-
|
|
|
-export interface queryMyCoupons {
|
|
|
- accountid: number; //资金账户ID
|
|
|
- areauserid: number; //所属机构
|
|
|
- conditionvalue: number; //条件阈值(可为0)
|
|
|
- couponcategroy: number; //种类 - 1:现金券 2:折扣券 3:折扣券(单张)
|
|
|
- couponname: string; //优惠券名称
|
|
|
- coupontypeid: string; //优惠券类型ID
|
|
|
- couponvalue: number; //面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
|
|
|
- curfreezeqty: number; //期末冻结数量
|
|
|
- curqty: number; //期末数量
|
|
|
- isgeneral: number; //是否通用券 - 0:否 1:是
|
|
|
- isunusable: boolean; //是否不可用
|
|
|
- limitedflag: number; //是否指定商品 - 0:不限 1:限制
|
|
|
- limitedgoodsids: string; //指定商品IDs[逗号分隔,前后加逗号]
|
|
|
- orifreezeqty: number; //期初冻结数量
|
|
|
- oriqty: number; //期初数量
|
|
|
- reasontype: number; //不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
|
|
|
- todaydecrease: number; //今日减少
|
|
|
- todayincrease: number; //今日增加
|
|
|
- userid: number; //用户ID
|
|
|
- userscope: string; //卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
|
|
|
-}
|
|
|
-export interface QueryMyCoupons extends HttpRespone {
|
|
|
- data: queryMyCoupons[];
|
|
|
-}
|
|
|
-
|
|
|
-export interface queryMyPayOrders {
|
|
|
- agreeunit: number; //合约单位
|
|
|
- buyaccountid: number; //买方账号ID[报价币种]
|
|
|
- buyorderid: string; //买方委托单号
|
|
|
- createtime: string; //创建时间
|
|
|
- currencysign: string; //货币符号
|
|
|
- decimalplace: number; //报价小数位
|
|
|
- goodscode: string; //商品代码(内部)
|
|
|
- goodsid: number; //商品ID
|
|
|
- goodsname: string; //商品名称
|
|
|
- marketid: number; //市场ID
|
|
|
- offamount: number; //优惠金额
|
|
|
- payamount: number; //支付金额 = TradeAmount + TradeCharge - OffAmount
|
|
|
- payflag: number; //付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
|
|
|
- paylimitedtime: string; //支付期限
|
|
|
- paytime: string; //付款时间
|
|
|
- picurls1: string; //预售商品介绍图片[多张用逗号分隔]
|
|
|
- picurls2: string; //挂牌商品介绍图片[多张用逗号分隔]
|
|
|
- sellaccountid: number; //卖方账号ID[报价币种]
|
|
|
- sellorderid: string; //卖方委托单号
|
|
|
- tradeamount: number; //成交金额
|
|
|
- tradecharge: number; //成交手续费(买方)
|
|
|
- tradedate: string; //交易日(yyyyMMdd)
|
|
|
- tradeid: string; //成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
|
|
|
- trademode: number; //交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
|
|
|
- tradeprice: number; //成交价格
|
|
|
- tradeqty: number; //成交数量
|
|
|
- vendorname1: string; //预售商品供应商名称
|
|
|
- vendorname2: string; //挂牌商品供应商名称
|
|
|
-}
|
|
|
-export interface QueryMyPayOrders extends HttpRespone {
|
|
|
- data: queryMyPayOrders[];
|
|
|
-}
|
|
|
-
|
|
|
-export interface QueryMyPayOrderParam {
|
|
|
- page?: number; // 页码
|
|
|
- pagesize?: number; //每页条数
|
|
|
- accountIDs: string; // 资金账户列表,格式:1,2,3
|
|
|
- buyOrderID?: string; // 买方委托单号
|
|
|
- sellOrderID?: string; // 卖方委托单号
|
|
|
-}
|
|
|
-
|
|
|
-export interface queryMyUsedCoupon {
|
|
|
- accountid: number; //资金账户ID(买方)
|
|
|
- conditionvalue: number; //条件阈值(可为0)
|
|
|
- couponcategroy: number; //种类 - 1:现金券 2:折扣券
|
|
|
- couponname: string; //优惠券名称
|
|
|
- coupontypeid: string; //优惠券类型ID(买方)
|
|
|
- couponvalue: number; //面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
|
|
|
- createtime: string; //创建时间
|
|
|
- goodsid: number; //商品ID
|
|
|
- handlestatus: number; //处理状态
|
|
|
- marketid: number; //市场ID
|
|
|
- offamount: number; //优惠金额
|
|
|
- orderid: string; //委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
|
|
|
- sellaccountid: number; //资金账户ID(卖方)
|
|
|
- tradeamount: number; //成交金额
|
|
|
- tradeid: string; //成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
|
|
|
- usedqty: number; //使用数量
|
|
|
-}
|
|
|
-export interface QueryMyUsedCoupon extends HttpRespone {
|
|
|
- data: queryMyUsedCoupon[];
|
|
|
-}
|
|
|
-
|
|
|
-export interface cities {
|
|
|
- autoid: number; //自增ID
|
|
|
- divisioncode: string; //行政代码
|
|
|
- divisionlevel: string; //行政级别
|
|
|
- divisionname: string; //行政名称
|
|
|
- modifierid: number; //修改人
|
|
|
- modifytime: string; //修改时间
|
|
|
- parentcode: string; //上级行政代码
|
|
|
- pathname: string; //路径名称
|
|
|
- postcode: string; //邮政编码
|
|
|
- separablename: string; //可拆分的全称
|
|
|
- shortcode: string; //地区简码
|
|
|
-}
|
|
|
-
|
|
|
-export interface province {
|
|
|
- autoid: number; //自增ID
|
|
|
- divisioncode: string; //行政代码
|
|
|
- divisionlevel: string; //行政级别
|
|
|
- divisionname: string; //行政名称
|
|
|
- modifierid: number; //修改人
|
|
|
- modifytime: string; //修改时间
|
|
|
- parentcode: string; //上级行政代码
|
|
|
- pathname: string; //路径名称
|
|
|
- postcode: string; //邮政编码
|
|
|
- separablename: string; //可拆分的全称
|
|
|
- shortcode: string; //地区简码
|
|
|
-}
|
|
|
-export interface QueryProvincesAndCities extends HttpRespone {
|
|
|
- Cities: cities[]; //市
|
|
|
- Province: province[]; //省
|
|
|
-}
|
|
|
-
|
|
|
-export interface SetHsbyMyPackagesStatus extends HttpRespone {
|
|
|
- data: string;
|
|
|
-}
|
|
|
-
|
|
|
-export interface queryUserFavoriteGoodses extends HttpRespone {
|
|
|
- goodsid: number;
|
|
|
-}
|
|
|
-
|
|
|
-export interface QueryUserFavoriteGoodses extends HttpRespone {
|
|
|
- data: queryUserFavoriteGoodses[];
|
|
|
-}
|
|
|
-
|
|
|
-export interface queryMessageBoard extends HttpRespone {
|
|
|
- createtime: string;
|
|
|
- message: string;
|
|
|
- messageboardid: number;
|
|
|
- userid: number;
|
|
|
- contactnum: string;
|
|
|
-}
|
|
|
-
|
|
|
-export interface QueryMessageBoard extends HttpRespone {
|
|
|
- data: queryMessageBoard[];
|
|
|
-}
|
|
|
-
|
|
|
-export interface GetQrCodeReq {
|
|
|
- accountId: number;
|
|
|
- accountName: string;
|
|
|
- marketId: number;
|
|
|
- orderNo: string;
|
|
|
- orderDate: string; //"2020-12-22"
|
|
|
- totalAmount: number;
|
|
|
- msgType: string;
|
|
|
-}
|
|
|
-
|
|
|
-export interface GetQrCode {
|
|
|
- qrCodeId: string;
|
|
|
- msgType: string;
|
|
|
- msgSrc: string;
|
|
|
- errMsg: string;
|
|
|
- sign: string;
|
|
|
- mid: string;
|
|
|
- msgId: string;
|
|
|
- billDate: string;
|
|
|
- tid: string;
|
|
|
- instMid: string;
|
|
|
- srcReserve: string;
|
|
|
- responseTimestamp: string;
|
|
|
- errCode: string;
|
|
|
- billNo: string;
|
|
|
- billQRCode: string;
|
|
|
-}
|
|
|
-
|
|
|
-export interface getHsbyMyCount {
|
|
|
- myCouponCount: number; //我的优惠卷数量
|
|
|
- myOrderDetailListingCount: number; //我的订单求购中数量
|
|
|
- myOrderDetailPreCount: number; //我的订单抢购中数量
|
|
|
- myPackageUnReceiveCount: number; //我的包裹待收货数量
|
|
|
- myPackageUnSendCount: number; //我的包裹待发货数量
|
|
|
- myPayOrderCount: number; //我的订单待付款数量
|
|
|
-}
|
|
|
-export interface GetHsbyMyCount extends HttpRespone {
|
|
|
- data: getHsbyMyCount[];
|
|
|
-}
|