docs.go 1.4 MB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706227072270822709227102271122712227132271422715227162271722718227192272022721227222272322724227252272622727227282272922730227312273222733227342273522736227372273822739227402274122742227432274422745227462274722748227492275022751227522275322754227552275622757227582275922760227612276222763227642276522766227672276822769227702277122772227732277422775227762277722778227792278022781227822278322784227852278622787227882278922790227912279222793227942279522796227972279822799228002280122802228032280422805228062280722808228092281022811228122281322814228152281622817228182281922820228212282222823228242282522826228272282822829228302283122832228332283422835228362283722838228392284022841228422284322844228452284622847228482284922850228512285222853228542285522856228572285822859228602286122862228632286422865228662286722868228692287022871228722287322874228752287622877228782287922880228812288222883228842288522886228872288822889228902289122892228932289422895228962289722898228992290022901229022290322904229052290622907229082290922910229112291222913229142291522916229172291822919229202292122922229232292422925229262292722928229292293022931229322293322934229352293622937229382293922940229412294222943229442294522946229472294822949229502295122952229532295422955229562295722958229592296022961229622296322964229652296622967229682296922970229712297222973229742297522976229772297822979229802298122982229832298422985229862298722988229892299022991229922299322994229952299622997229982299923000230012300223003230042300523006230072300823009230102301123012230132301423015230162301723018230192302023021230222302323024230252302623027230282302923030230312303223033230342303523036230372303823039230402304123042230432304423045230462304723048230492305023051230522305323054230552305623057230582305923060230612306223063230642306523066230672306823069230702307123072230732307423075230762307723078230792308023081230822308323084230852308623087230882308923090230912309223093230942309523096230972309823099231002310123102231032310423105231062310723108231092311023111231122311323114231152311623117231182311923120231212312223123231242312523126231272312823129231302313123132231332313423135231362313723138231392314023141231422314323144231452314623147231482314923150231512315223153231542315523156231572315823159231602316123162231632316423165231662316723168231692317023171231722317323174231752317623177231782317923180231812318223183231842318523186231872318823189231902319123192231932319423195231962319723198231992320023201232022320323204232052320623207232082320923210232112321223213232142321523216232172321823219232202322123222232232322423225232262322723228232292323023231232322323323234232352323623237232382323923240232412324223243232442324523246232472324823249232502325123252232532325423255232562325723258232592326023261232622326323264232652326623267232682326923270232712327223273232742327523276232772327823279232802328123282232832328423285232862328723288232892329023291232922329323294232952329623297232982329923300233012330223303233042330523306233072330823309233102331123312233132331423315233162331723318233192332023321233222332323324233252332623327233282332923330233312333223333233342333523336233372333823339233402334123342233432334423345233462334723348233492335023351233522335323354233552335623357233582335923360233612336223363233642336523366233672336823369233702337123372233732337423375233762337723378233792338023381233822338323384233852338623387233882338923390233912339223393233942339523396233972339823399234002340123402234032340423405234062340723408234092341023411234122341323414234152341623417234182341923420234212342223423234242342523426234272342823429234302343123432234332343423435234362343723438234392344023441234422344323444234452344623447234482344923450234512345223453234542345523456234572345823459234602346123462234632346423465234662346723468234692347023471234722347323474234752347623477234782347923480234812348223483234842348523486234872348823489234902349123492234932349423495234962349723498234992350023501235022350323504235052350623507235082350923510235112351223513235142351523516235172351823519235202352123522235232352423525235262352723528235292353023531235322353323534235352353623537235382353923540235412354223543235442354523546235472354823549235502355123552235532355423555235562355723558235592356023561235622356323564235652356623567235682356923570235712357223573235742357523576235772357823579235802358123582235832358423585235862358723588235892359023591235922359323594235952359623597235982359923600236012360223603236042360523606236072360823609236102361123612236132361423615236162361723618236192362023621236222362323624236252362623627236282362923630236312363223633236342363523636236372363823639236402364123642236432364423645236462364723648236492365023651236522365323654236552365623657236582365923660236612366223663236642366523666236672366823669236702367123672236732367423675236762367723678236792368023681236822368323684236852368623687236882368923690236912369223693236942369523696236972369823699237002370123702237032370423705237062370723708237092371023711237122371323714237152371623717237182371923720237212372223723237242372523726237272372823729237302373123732237332373423735237362373723738237392374023741237422374323744237452374623747237482374923750237512375223753237542375523756237572375823759237602376123762237632376423765237662376723768237692377023771237722377323774237752377623777237782377923780237812378223783237842378523786237872378823789237902379123792237932379423795237962379723798237992380023801238022380323804238052380623807238082380923810238112381223813238142381523816238172381823819238202382123822238232382423825238262382723828238292383023831238322383323834238352383623837238382383923840238412384223843238442384523846238472384823849238502385123852238532385423855238562385723858238592386023861238622386323864238652386623867238682386923870238712387223873238742387523876238772387823879238802388123882238832388423885238862388723888238892389023891238922389323894238952389623897238982389923900239012390223903239042390523906239072390823909239102391123912239132391423915239162391723918239192392023921239222392323924239252392623927239282392923930239312393223933239342393523936239372393823939239402394123942239432394423945239462394723948239492395023951239522395323954239552395623957239582395923960239612396223963239642396523966239672396823969239702397123972239732397423975239762397723978239792398023981239822398323984239852398623987239882398923990239912399223993239942399523996239972399823999240002400124002240032400424005240062400724008240092401024011240122401324014240152401624017240182401924020240212402224023240242402524026240272402824029240302403124032240332403424035240362403724038240392404024041240422404324044240452404624047240482404924050240512405224053240542405524056240572405824059240602406124062240632406424065240662406724068240692407024071240722407324074240752407624077240782407924080240812408224083240842408524086240872408824089240902409124092240932409424095240962409724098240992410024101241022410324104241052410624107241082410924110241112411224113241142411524116241172411824119241202412124122241232412424125241262412724128241292413024131241322413324134241352413624137241382413924140241412414224143241442414524146241472414824149241502415124152241532415424155241562415724158241592416024161241622416324164241652416624167241682416924170241712417224173241742417524176241772417824179241802418124182241832418424185241862418724188241892419024191241922419324194241952419624197241982419924200242012420224203242042420524206242072420824209242102421124212242132421424215242162421724218242192422024221242222422324224242252422624227242282422924230242312423224233242342423524236242372423824239242402424124242242432424424245242462424724248242492425024251242522425324254242552425624257242582425924260242612426224263242642426524266242672426824269242702427124272242732427424275242762427724278242792428024281242822428324284242852428624287242882428924290242912429224293242942429524296242972429824299243002430124302243032430424305243062430724308243092431024311243122431324314243152431624317243182431924320243212432224323243242432524326243272432824329243302433124332243332433424335243362433724338243392434024341243422434324344243452434624347243482434924350243512435224353243542435524356243572435824359243602436124362243632436424365243662436724368243692437024371243722437324374243752437624377243782437924380243812438224383243842438524386243872438824389243902439124392243932439424395243962439724398243992440024401244022440324404244052440624407244082440924410244112441224413244142441524416244172441824419244202442124422244232442424425244262442724428244292443024431244322443324434244352443624437244382443924440244412444224443244442444524446244472444824449244502445124452244532445424455244562445724458244592446024461244622446324464244652446624467244682446924470244712447224473244742447524476244772447824479244802448124482244832448424485244862448724488244892449024491244922449324494244952449624497244982449924500245012450224503245042450524506245072450824509245102451124512245132451424515245162451724518245192452024521245222452324524245252452624527245282452924530245312453224533245342453524536245372453824539245402454124542245432454424545245462454724548245492455024551245522455324554245552455624557245582455924560245612456224563245642456524566245672456824569245702457124572245732457424575245762457724578245792458024581245822458324584245852458624587245882458924590245912459224593245942459524596245972459824599246002460124602246032460424605246062460724608246092461024611246122461324614246152461624617246182461924620246212462224623246242462524626246272462824629246302463124632246332463424635246362463724638246392464024641246422464324644246452464624647246482464924650246512465224653246542465524656246572465824659246602466124662246632466424665246662466724668246692467024671246722467324674246752467624677246782467924680246812468224683246842468524686246872468824689246902469124692246932469424695246962469724698246992470024701247022470324704247052470624707247082470924710247112471224713247142471524716247172471824719247202472124722247232472424725247262472724728247292473024731247322473324734247352473624737247382473924740247412474224743247442474524746247472474824749247502475124752247532475424755247562475724758247592476024761247622476324764247652476624767247682476924770247712477224773247742477524776247772477824779247802478124782247832478424785247862478724788247892479024791247922479324794247952479624797247982479924800248012480224803248042480524806248072480824809248102481124812248132481424815248162481724818248192482024821248222482324824248252482624827248282482924830248312483224833248342483524836248372483824839248402484124842248432484424845248462484724848248492485024851248522485324854248552485624857248582485924860248612486224863248642486524866248672486824869248702487124872248732487424875248762487724878248792488024881248822488324884248852488624887248882488924890248912489224893248942489524896248972489824899249002490124902249032490424905249062490724908249092491024911249122491324914249152491624917249182491924920249212492224923249242492524926249272492824929249302493124932249332493424935249362493724938249392494024941249422494324944249452494624947249482494924950249512495224953249542495524956249572495824959249602496124962249632496424965249662496724968249692497024971249722497324974249752497624977249782497924980249812498224983249842498524986249872498824989249902499124992249932499424995249962499724998249992500025001250022500325004250052500625007250082500925010250112501225013250142501525016250172501825019250202502125022250232502425025250262502725028250292503025031250322503325034250352503625037250382503925040250412504225043250442504525046250472504825049250502505125052250532505425055250562505725058250592506025061250622506325064250652506625067250682506925070250712507225073250742507525076250772507825079250802508125082250832508425085250862508725088250892509025091250922509325094250952509625097250982509925100251012510225103251042510525106251072510825109251102511125112251132511425115251162511725118251192512025121251222512325124251252512625127251282512925130251312513225133251342513525136251372513825139251402514125142251432514425145251462514725148251492515025151251522515325154251552515625157251582515925160251612516225163251642516525166251672516825169251702517125172251732517425175251762517725178251792518025181251822518325184251852518625187251882518925190251912519225193251942519525196251972519825199252002520125202252032520425205252062520725208252092521025211252122521325214252152521625217252182521925220252212522225223252242522525226252272522825229252302523125232252332523425235252362523725238252392524025241252422524325244252452524625247252482524925250252512525225253252542525525256252572525825259252602526125262252632526425265252662526725268252692527025271252722527325274252752527625277252782527925280252812528225283252842528525286252872528825289252902529125292252932529425295252962529725298252992530025301253022530325304253052530625307253082530925310253112531225313253142531525316253172531825319253202532125322253232532425325253262532725328253292533025331253322533325334253352533625337253382533925340253412534225343253442534525346253472534825349253502535125352253532535425355253562535725358253592536025361253622536325364253652536625367253682536925370253712537225373253742537525376253772537825379253802538125382253832538425385253862538725388253892539025391253922539325394253952539625397253982539925400254012540225403254042540525406254072540825409254102541125412254132541425415254162541725418254192542025421254222542325424254252542625427254282542925430254312543225433254342543525436254372543825439254402544125442254432544425445254462544725448254492545025451254522545325454254552545625457254582545925460254612546225463254642546525466254672546825469254702547125472254732547425475254762547725478254792548025481254822548325484254852548625487254882548925490254912549225493254942549525496254972549825499255002550125502255032550425505255062550725508255092551025511255122551325514255152551625517255182551925520255212552225523255242552525526255272552825529255302553125532255332553425535255362553725538255392554025541255422554325544255452554625547255482554925550255512555225553255542555525556255572555825559255602556125562255632556425565255662556725568255692557025571255722557325574255752557625577255782557925580255812558225583255842558525586255872558825589255902559125592255932559425595255962559725598255992560025601256022560325604256052560625607256082560925610256112561225613256142561525616256172561825619256202562125622256232562425625256262562725628256292563025631256322563325634256352563625637256382563925640256412564225643256442564525646256472564825649256502565125652256532565425655256562565725658256592566025661256622566325664256652566625667256682566925670256712567225673256742567525676256772567825679256802568125682256832568425685256862568725688256892569025691256922569325694256952569625697256982569925700257012570225703257042570525706257072570825709257102571125712257132571425715257162571725718257192572025721257222572325724257252572625727257282572925730257312573225733257342573525736257372573825739257402574125742257432574425745257462574725748257492575025751257522575325754257552575625757257582575925760257612576225763257642576525766257672576825769257702577125772257732577425775257762577725778257792578025781257822578325784257852578625787257882578925790257912579225793257942579525796257972579825799258002580125802258032580425805258062580725808258092581025811258122581325814258152581625817258182581925820258212582225823258242582525826258272582825829258302583125832258332583425835258362583725838258392584025841258422584325844258452584625847258482584925850258512585225853258542585525856258572585825859258602586125862258632586425865258662586725868258692587025871258722587325874258752587625877258782587925880258812588225883258842588525886258872588825889258902589125892258932589425895258962589725898258992590025901259022590325904259052590625907259082590925910259112591225913259142591525916259172591825919259202592125922259232592425925259262592725928259292593025931259322593325934259352593625937259382593925940259412594225943259442594525946259472594825949259502595125952259532595425955259562595725958259592596025961259622596325964259652596625967259682596925970259712597225973259742597525976259772597825979259802598125982259832598425985259862598725988259892599025991259922599325994259952599625997259982599926000260012600226003260042600526006260072600826009260102601126012260132601426015260162601726018260192602026021260222602326024260252602626027260282602926030260312603226033260342603526036260372603826039260402604126042260432604426045260462604726048260492605026051260522605326054260552605626057260582605926060260612606226063260642606526066260672606826069260702607126072260732607426075260762607726078260792608026081260822608326084260852608626087260882608926090260912609226093260942609526096260972609826099261002610126102261032610426105261062610726108261092611026111261122611326114261152611626117261182611926120261212612226123261242612526126261272612826129261302613126132261332613426135261362613726138261392614026141261422614326144261452614626147261482614926150261512615226153261542615526156261572615826159261602616126162261632616426165261662616726168261692617026171261722617326174261752617626177261782617926180261812618226183261842618526186261872618826189261902619126192261932619426195261962619726198261992620026201262022620326204262052620626207262082620926210262112621226213262142621526216262172621826219262202622126222262232622426225262262622726228262292623026231262322623326234262352623626237262382623926240262412624226243262442624526246262472624826249262502625126252262532625426255262562625726258262592626026261262622626326264262652626626267262682626926270262712627226273262742627526276262772627826279262802628126282262832628426285262862628726288262892629026291262922629326294262952629626297262982629926300263012630226303263042630526306263072630826309263102631126312263132631426315263162631726318263192632026321263222632326324263252632626327263282632926330263312633226333263342633526336263372633826339263402634126342263432634426345263462634726348263492635026351263522635326354263552635626357263582635926360263612636226363263642636526366263672636826369263702637126372263732637426375263762637726378263792638026381263822638326384263852638626387263882638926390263912639226393263942639526396263972639826399264002640126402264032640426405264062640726408264092641026411264122641326414264152641626417264182641926420264212642226423264242642526426264272642826429264302643126432264332643426435264362643726438264392644026441264422644326444264452644626447264482644926450264512645226453264542645526456264572645826459264602646126462264632646426465264662646726468264692647026471264722647326474264752647626477264782647926480264812648226483264842648526486264872648826489264902649126492264932649426495264962649726498264992650026501265022650326504265052650626507265082650926510265112651226513265142651526516265172651826519265202652126522265232652426525265262652726528265292653026531265322653326534265352653626537265382653926540265412654226543265442654526546265472654826549265502655126552265532655426555265562655726558265592656026561265622656326564265652656626567265682656926570265712657226573265742657526576265772657826579265802658126582265832658426585265862658726588265892659026591265922659326594265952659626597265982659926600266012660226603266042660526606266072660826609266102661126612266132661426615266162661726618266192662026621266222662326624266252662626627266282662926630266312663226633266342663526636266372663826639266402664126642266432664426645266462664726648266492665026651266522665326654266552665626657266582665926660266612666226663266642666526666266672666826669266702667126672266732667426675266762667726678266792668026681266822668326684266852668626687266882668926690266912669226693266942669526696266972669826699267002670126702267032670426705267062670726708267092671026711267122671326714267152671626717267182671926720267212672226723267242672526726267272672826729267302673126732267332673426735267362673726738267392674026741267422674326744267452674626747267482674926750267512675226753267542675526756267572675826759267602676126762267632676426765267662676726768267692677026771267722677326774267752677626777267782677926780267812678226783267842678526786267872678826789267902679126792267932679426795267962679726798267992680026801268022680326804268052680626807268082680926810268112681226813268142681526816268172681826819268202682126822268232682426825268262682726828268292683026831268322683326834268352683626837268382683926840268412684226843268442684526846268472684826849268502685126852268532685426855268562685726858268592686026861268622686326864268652686626867268682686926870268712687226873268742687526876268772687826879268802688126882268832688426885268862688726888268892689026891268922689326894268952689626897268982689926900269012690226903269042690526906269072690826909269102691126912269132691426915269162691726918269192692026921269222692326924269252692626927269282692926930269312693226933269342693526936269372693826939269402694126942269432694426945269462694726948269492695026951269522695326954269552695626957269582695926960269612696226963269642696526966269672696826969269702697126972269732697426975269762697726978269792698026981269822698326984269852698626987269882698926990269912699226993269942699526996269972699826999270002700127002270032700427005270062700727008270092701027011270122701327014270152701627017270182701927020270212702227023270242702527026270272702827029270302703127032270332703427035270362703727038270392704027041270422704327044270452704627047270482704927050270512705227053270542705527056270572705827059270602706127062270632706427065270662706727068270692707027071270722707327074270752707627077270782707927080270812708227083270842708527086270872708827089270902709127092270932709427095270962709727098270992710027101271022710327104271052710627107271082710927110271112711227113271142711527116271172711827119271202712127122271232712427125271262712727128271292713027131271322713327134271352713627137271382713927140271412714227143271442714527146271472714827149271502715127152271532715427155271562715727158271592716027161271622716327164271652716627167271682716927170271712717227173271742717527176271772717827179271802718127182271832718427185271862718727188271892719027191271922719327194271952719627197271982719927200272012720227203272042720527206272072720827209272102721127212272132721427215272162721727218272192722027221272222722327224272252722627227272282722927230272312723227233272342723527236272372723827239272402724127242272432724427245272462724727248272492725027251272522725327254272552725627257272582725927260272612726227263272642726527266272672726827269272702727127272272732727427275272762727727278272792728027281272822728327284272852728627287272882728927290272912729227293272942729527296272972729827299273002730127302273032730427305273062730727308273092731027311273122731327314273152731627317273182731927320273212732227323273242732527326273272732827329273302733127332273332733427335273362733727338273392734027341273422734327344273452734627347273482734927350273512735227353273542735527356273572735827359273602736127362273632736427365273662736727368273692737027371273722737327374273752737627377273782737927380273812738227383273842738527386273872738827389273902739127392273932739427395273962739727398273992740027401274022740327404274052740627407274082740927410274112741227413274142741527416274172741827419274202742127422274232742427425274262742727428274292743027431274322743327434274352743627437274382743927440274412744227443274442744527446274472744827449274502745127452274532745427455274562745727458274592746027461274622746327464274652746627467274682746927470274712747227473274742747527476274772747827479274802748127482274832748427485274862748727488274892749027491274922749327494274952749627497274982749927500275012750227503275042750527506275072750827509275102751127512275132751427515275162751727518275192752027521275222752327524275252752627527275282752927530275312753227533275342753527536275372753827539275402754127542275432754427545275462754727548275492755027551275522755327554275552755627557275582755927560275612756227563275642756527566275672756827569275702757127572275732757427575275762757727578275792758027581275822758327584275852758627587275882758927590275912759227593275942759527596275972759827599276002760127602276032760427605276062760727608276092761027611276122761327614276152761627617276182761927620276212762227623276242762527626276272762827629276302763127632276332763427635276362763727638276392764027641276422764327644276452764627647276482764927650276512765227653276542765527656276572765827659276602766127662276632766427665276662766727668276692767027671276722767327674276752767627677276782767927680276812768227683276842768527686276872768827689276902769127692276932769427695276962769727698276992770027701277022770327704277052770627707277082770927710277112771227713277142771527716277172771827719277202772127722277232772427725277262772727728277292773027731277322773327734277352773627737277382773927740277412774227743277442774527746277472774827749277502775127752277532775427755277562775727758277592776027761277622776327764277652776627767277682776927770277712777227773277742777527776277772777827779277802778127782277832778427785277862778727788277892779027791277922779327794277952779627797277982779927800278012780227803278042780527806278072780827809278102781127812278132781427815278162781727818278192782027821278222782327824278252782627827278282782927830278312783227833278342783527836278372783827839278402784127842278432784427845278462784727848278492785027851278522785327854278552785627857278582785927860278612786227863278642786527866278672786827869278702787127872278732787427875278762787727878278792788027881278822788327884278852788627887278882788927890278912789227893278942789527896278972789827899279002790127902279032790427905279062790727908279092791027911279122791327914279152791627917279182791927920279212792227923279242792527926279272792827929279302793127932279332793427935279362793727938279392794027941279422794327944279452794627947279482794927950279512795227953279542795527956279572795827959279602796127962279632796427965279662796727968279692797027971279722797327974279752797627977279782797927980279812798227983279842798527986279872798827989279902799127992279932799427995279962799727998279992800028001280022800328004280052800628007280082800928010280112801228013280142801528016280172801828019280202802128022280232802428025280262802728028280292803028031280322803328034280352803628037280382803928040280412804228043280442804528046280472804828049280502805128052280532805428055280562805728058280592806028061280622806328064280652806628067280682806928070280712807228073280742807528076280772807828079280802808128082280832808428085280862808728088280892809028091280922809328094280952809628097280982809928100281012810228103281042810528106281072810828109281102811128112281132811428115281162811728118281192812028121281222812328124281252812628127281282812928130281312813228133281342813528136281372813828139281402814128142281432814428145281462814728148281492815028151281522815328154281552815628157281582815928160281612816228163281642816528166281672816828169281702817128172281732817428175281762817728178281792818028181281822818328184281852818628187281882818928190281912819228193281942819528196281972819828199282002820128202282032820428205282062820728208282092821028211282122821328214282152821628217282182821928220282212822228223282242822528226282272822828229282302823128232282332823428235282362823728238282392824028241282422824328244282452824628247282482824928250282512825228253282542825528256282572825828259282602826128262282632826428265282662826728268282692827028271282722827328274282752827628277282782827928280282812828228283282842828528286282872828828289282902829128292282932829428295282962829728298282992830028301283022830328304283052830628307283082830928310283112831228313283142831528316283172831828319283202832128322283232832428325283262832728328283292833028331283322833328334283352833628337283382833928340283412834228343283442834528346283472834828349283502835128352283532835428355283562835728358283592836028361283622836328364283652836628367283682836928370283712837228373283742837528376283772837828379283802838128382283832838428385283862838728388283892839028391283922839328394283952839628397283982839928400284012840228403284042840528406284072840828409284102841128412284132841428415284162841728418284192842028421284222842328424284252842628427284282842928430284312843228433284342843528436284372843828439284402844128442284432844428445284462844728448284492845028451284522845328454284552845628457284582845928460284612846228463284642846528466284672846828469284702847128472284732847428475284762847728478284792848028481284822848328484284852848628487284882848928490284912849228493284942849528496284972849828499285002850128502285032850428505285062850728508285092851028511285122851328514285152851628517285182851928520285212852228523285242852528526285272852828529285302853128532285332853428535285362853728538285392854028541285422854328544285452854628547285482854928550285512855228553285542855528556285572855828559285602856128562285632856428565285662856728568285692857028571285722857328574285752857628577285782857928580285812858228583285842858528586285872858828589285902859128592285932859428595285962859728598285992860028601286022860328604286052860628607286082860928610286112861228613286142861528616286172861828619286202862128622286232862428625286262862728628286292863028631286322863328634286352863628637286382863928640286412864228643286442864528646286472864828649286502865128652286532865428655286562865728658286592866028661286622866328664286652866628667286682866928670286712867228673286742867528676286772867828679286802868128682286832868428685286862868728688286892869028691286922869328694286952869628697286982869928700287012870228703287042870528706287072870828709287102871128712287132871428715287162871728718287192872028721287222872328724287252872628727287282872928730287312873228733287342873528736287372873828739287402874128742287432874428745287462874728748287492875028751287522875328754287552875628757287582875928760287612876228763287642876528766287672876828769287702877128772287732877428775287762877728778287792878028781287822878328784287852878628787287882878928790287912879228793287942879528796287972879828799288002880128802288032880428805288062880728808288092881028811288122881328814288152881628817288182881928820288212882228823288242882528826288272882828829288302883128832288332883428835288362883728838288392884028841288422884328844288452884628847288482884928850288512885228853288542885528856288572885828859288602886128862288632886428865288662886728868288692887028871288722887328874288752887628877288782887928880288812888228883288842888528886288872888828889288902889128892288932889428895288962889728898288992890028901289022890328904289052890628907289082890928910289112891228913289142891528916289172891828919289202892128922289232892428925289262892728928289292893028931289322893328934289352893628937289382893928940289412894228943289442894528946289472894828949289502895128952289532895428955289562895728958289592896028961289622896328964289652896628967289682896928970289712897228973289742897528976289772897828979289802898128982289832898428985289862898728988289892899028991289922899328994289952899628997289982899929000290012900229003290042900529006290072900829009290102901129012290132901429015290162901729018290192902029021290222902329024290252902629027290282902929030290312903229033290342903529036290372903829039290402904129042290432904429045290462904729048290492905029051290522905329054290552905629057290582905929060290612906229063290642906529066290672906829069290702907129072290732907429075290762907729078290792908029081290822908329084290852908629087290882908929090290912909229093290942909529096290972909829099291002910129102291032910429105291062910729108291092911029111291122911329114291152911629117291182911929120291212912229123291242912529126291272912829129291302913129132291332913429135291362913729138291392914029141291422914329144291452914629147291482914929150291512915229153291542915529156291572915829159291602916129162291632916429165291662916729168291692917029171291722917329174291752917629177291782917929180291812918229183291842918529186291872918829189291902919129192291932919429195291962919729198291992920029201292022920329204292052920629207292082920929210292112921229213292142921529216292172921829219292202922129222292232922429225292262922729228292292923029231292322923329234292352923629237292382923929240292412924229243292442924529246292472924829249292502925129252292532925429255292562925729258292592926029261292622926329264292652926629267292682926929270292712927229273292742927529276292772927829279292802928129282292832928429285292862928729288292892929029291292922929329294292952929629297292982929929300293012930229303293042930529306293072930829309293102931129312293132931429315293162931729318293192932029321293222932329324293252932629327293282932929330293312933229333293342933529336293372933829339293402934129342293432934429345293462934729348293492935029351293522935329354293552935629357293582935929360293612936229363293642936529366293672936829369293702937129372293732937429375293762937729378293792938029381293822938329384293852938629387293882938929390293912939229393293942939529396293972939829399294002940129402294032940429405294062940729408294092941029411294122941329414294152941629417294182941929420294212942229423294242942529426294272942829429294302943129432294332943429435294362943729438294392944029441294422944329444294452944629447294482944929450294512945229453294542945529456294572945829459294602946129462294632946429465294662946729468294692947029471294722947329474294752947629477294782947929480294812948229483294842948529486294872948829489294902949129492294932949429495294962949729498294992950029501295022950329504295052950629507295082950929510295112951229513295142951529516295172951829519295202952129522295232952429525295262952729528295292953029531295322953329534295352953629537295382953929540295412954229543295442954529546295472954829549295502955129552295532955429555295562955729558295592956029561295622956329564295652956629567295682956929570295712957229573295742957529576295772957829579295802958129582295832958429585295862958729588295892959029591295922959329594295952959629597295982959929600296012960229603296042960529606296072960829609296102961129612296132961429615296162961729618296192962029621296222962329624296252962629627296282962929630296312963229633296342963529636296372963829639296402964129642296432964429645296462964729648296492965029651296522965329654296552965629657296582965929660296612966229663296642966529666296672966829669296702967129672296732967429675296762967729678296792968029681296822968329684296852968629687296882968929690296912969229693296942969529696296972969829699297002970129702297032970429705297062970729708297092971029711297122971329714297152971629717297182971929720297212972229723297242972529726297272972829729297302973129732297332973429735297362973729738297392974029741297422974329744297452974629747297482974929750297512975229753297542975529756297572975829759297602976129762297632976429765297662976729768297692977029771297722977329774297752977629777297782977929780297812978229783297842978529786297872978829789297902979129792297932979429795297962979729798297992980029801298022980329804298052980629807298082980929810298112981229813298142981529816298172981829819298202982129822298232982429825298262982729828298292983029831298322983329834298352983629837298382983929840298412984229843298442984529846298472984829849298502985129852298532985429855298562985729858298592986029861298622986329864298652986629867298682986929870298712987229873298742987529876298772987829879298802988129882298832988429885298862988729888298892989029891298922989329894298952989629897298982989929900299012990229903299042990529906299072990829909299102991129912299132991429915299162991729918299192992029921299222992329924299252992629927299282992929930299312993229933299342993529936299372993829939299402994129942299432994429945299462994729948299492995029951299522995329954299552995629957299582995929960299612996229963299642996529966299672996829969299702997129972299732997429975299762997729978299792998029981299822998329984299852998629987299882998929990299912999229993299942999529996299972999829999300003000130002300033000430005300063000730008300093001030011300123001330014300153001630017300183001930020300213002230023300243002530026300273002830029300303003130032300333003430035300363003730038300393004030041300423004330044300453004630047300483004930050300513005230053300543005530056300573005830059300603006130062300633006430065300663006730068300693007030071300723007330074300753007630077300783007930080300813008230083300843008530086300873008830089300903009130092300933009430095300963009730098300993010030101301023010330104301053010630107301083010930110301113011230113301143011530116301173011830119301203012130122301233012430125301263012730128301293013030131301323013330134301353013630137301383013930140301413014230143301443014530146301473014830149301503015130152301533015430155301563015730158301593016030161301623016330164301653016630167301683016930170301713017230173301743017530176301773017830179301803018130182301833018430185301863018730188301893019030191301923019330194301953019630197301983019930200302013020230203302043020530206302073020830209302103021130212302133021430215302163021730218302193022030221302223022330224302253022630227302283022930230302313023230233302343023530236302373023830239302403024130242302433024430245302463024730248302493025030251302523025330254302553025630257302583025930260302613026230263302643026530266302673026830269302703027130272302733027430275302763027730278302793028030281302823028330284302853028630287302883028930290302913029230293302943029530296302973029830299303003030130302303033030430305303063030730308303093031030311303123031330314303153031630317303183031930320303213032230323303243032530326303273032830329303303033130332303333033430335303363033730338303393034030341303423034330344303453034630347303483034930350303513035230353303543035530356303573035830359303603036130362303633036430365303663036730368303693037030371303723037330374303753037630377303783037930380303813038230383303843038530386303873038830389303903039130392303933039430395303963039730398303993040030401304023040330404304053040630407304083040930410304113041230413304143041530416304173041830419304203042130422304233042430425304263042730428304293043030431304323043330434304353043630437304383043930440304413044230443304443044530446304473044830449304503045130452304533045430455304563045730458304593046030461304623046330464304653046630467304683046930470304713047230473304743047530476304773047830479304803048130482304833048430485304863048730488304893049030491304923049330494304953049630497304983049930500305013050230503305043050530506305073050830509305103051130512305133051430515305163051730518305193052030521305223052330524305253052630527305283052930530305313053230533305343053530536305373053830539305403054130542305433054430545305463054730548305493055030551305523055330554305553055630557305583055930560305613056230563305643056530566305673056830569305703057130572305733057430575305763057730578305793058030581305823058330584305853058630587305883058930590305913059230593305943059530596305973059830599306003060130602306033060430605306063060730608306093061030611306123061330614306153061630617306183061930620306213062230623306243062530626306273062830629306303063130632306333063430635306363063730638306393064030641306423064330644306453064630647306483064930650306513065230653306543065530656306573065830659306603066130662306633066430665306663066730668306693067030671306723067330674306753067630677306783067930680306813068230683306843068530686306873068830689306903069130692306933069430695306963069730698306993070030701307023070330704307053070630707307083070930710307113071230713307143071530716307173071830719307203072130722307233072430725307263072730728307293073030731307323073330734307353073630737307383073930740307413074230743307443074530746307473074830749307503075130752307533075430755307563075730758307593076030761307623076330764307653076630767307683076930770307713077230773307743077530776307773077830779307803078130782307833078430785307863078730788307893079030791307923079330794307953079630797307983079930800308013080230803308043080530806308073080830809308103081130812308133081430815308163081730818308193082030821308223082330824308253082630827308283082930830308313083230833308343083530836308373083830839308403084130842308433084430845308463084730848308493085030851308523085330854308553085630857308583085930860308613086230863308643086530866308673086830869308703087130872308733087430875308763087730878308793088030881308823088330884308853088630887308883088930890308913089230893308943089530896308973089830899309003090130902309033090430905309063090730908309093091030911309123091330914309153091630917309183091930920309213092230923309243092530926309273092830929309303093130932309333093430935309363093730938309393094030941309423094330944309453094630947309483094930950309513095230953309543095530956309573095830959309603096130962309633096430965309663096730968309693097030971309723097330974309753097630977309783097930980309813098230983309843098530986309873098830989309903099130992309933099430995309963099730998309993100031001310023100331004310053100631007310083100931010310113101231013310143101531016310173101831019310203102131022310233102431025310263102731028310293103031031310323103331034310353103631037310383103931040310413104231043310443104531046310473104831049310503105131052310533105431055310563105731058310593106031061310623106331064310653106631067310683106931070310713107231073310743107531076310773107831079310803108131082310833108431085310863108731088310893109031091310923109331094310953109631097310983109931100311013110231103311043110531106311073110831109311103111131112311133111431115311163111731118311193112031121311223112331124311253112631127311283112931130311313113231133311343113531136311373113831139311403114131142311433114431145311463114731148311493115031151311523115331154311553115631157311583115931160311613116231163311643116531166311673116831169311703117131172311733117431175311763117731178311793118031181311823118331184311853118631187311883118931190311913119231193311943119531196311973119831199312003120131202312033120431205312063120731208312093121031211312123121331214312153121631217312183121931220312213122231223312243122531226312273122831229312303123131232312333123431235312363123731238312393124031241312423124331244312453124631247312483124931250312513125231253312543125531256312573125831259312603126131262312633126431265312663126731268312693127031271312723127331274312753127631277312783127931280312813128231283312843128531286312873128831289312903129131292312933129431295312963129731298312993130031301313023130331304313053130631307313083130931310313113131231313313143131531316313173131831319313203132131322313233132431325313263132731328313293133031331313323133331334313353133631337313383133931340313413134231343313443134531346313473134831349313503135131352313533135431355313563135731358313593136031361313623136331364313653136631367313683136931370313713137231373313743137531376313773137831379313803138131382313833138431385313863138731388313893139031391313923139331394313953139631397313983139931400314013140231403314043140531406314073140831409314103141131412314133141431415314163141731418314193142031421314223142331424314253142631427314283142931430314313143231433314343143531436314373143831439314403144131442314433144431445314463144731448314493145031451314523145331454314553145631457314583145931460314613146231463314643146531466314673146831469314703147131472314733147431475314763147731478314793148031481314823148331484314853148631487314883148931490314913149231493314943149531496314973149831499315003150131502315033150431505315063150731508315093151031511315123151331514315153151631517315183151931520315213152231523315243152531526315273152831529315303153131532315333153431535315363153731538315393154031541315423154331544315453154631547315483154931550315513155231553315543155531556315573155831559315603156131562315633156431565315663156731568315693157031571315723157331574315753157631577315783157931580315813158231583315843158531586315873158831589315903159131592315933159431595315963159731598315993160031601316023160331604316053160631607316083160931610316113161231613316143161531616316173161831619316203162131622316233162431625316263162731628316293163031631316323163331634316353163631637316383163931640316413164231643316443164531646316473164831649316503165131652316533165431655316563165731658316593166031661316623166331664316653166631667316683166931670316713167231673316743167531676316773167831679316803168131682316833168431685316863168731688316893169031691316923169331694316953169631697316983169931700317013170231703317043170531706317073170831709317103171131712317133171431715317163171731718317193172031721317223172331724317253172631727317283172931730317313173231733317343173531736317373173831739317403174131742317433174431745317463174731748317493175031751317523175331754317553175631757317583175931760317613176231763317643176531766317673176831769317703177131772317733177431775317763177731778317793178031781317823178331784317853178631787317883178931790317913179231793317943179531796317973179831799318003180131802318033180431805318063180731808318093181031811318123181331814318153181631817318183181931820318213182231823318243182531826318273182831829318303183131832318333183431835318363183731838318393184031841318423184331844318453184631847318483184931850318513185231853318543185531856318573185831859318603186131862318633186431865318663186731868318693187031871318723187331874318753187631877318783187931880318813188231883318843188531886318873188831889318903189131892318933189431895318963189731898318993190031901319023190331904319053190631907319083190931910319113191231913319143191531916319173191831919319203192131922319233192431925319263192731928319293193031931319323193331934319353193631937319383193931940319413194231943319443194531946319473194831949319503195131952319533195431955319563195731958319593196031961319623196331964319653196631967319683196931970319713197231973319743197531976319773197831979319803198131982319833198431985319863198731988319893199031991319923199331994319953199631997319983199932000320013200232003320043200532006320073200832009320103201132012320133201432015320163201732018320193202032021320223202332024320253202632027320283202932030320313203232033320343203532036320373203832039320403204132042320433204432045320463204732048320493205032051320523205332054320553205632057320583205932060320613206232063320643206532066320673206832069320703207132072320733207432075320763207732078320793208032081320823208332084320853208632087320883208932090320913209232093320943209532096320973209832099321003210132102321033210432105321063210732108321093211032111321123211332114321153211632117321183211932120321213212232123321243212532126321273212832129321303213132132321333213432135321363213732138321393214032141321423214332144321453214632147321483214932150321513215232153321543215532156321573215832159321603216132162321633216432165321663216732168321693217032171321723217332174321753217632177321783217932180321813218232183321843218532186321873218832189321903219132192321933219432195321963219732198321993220032201322023220332204322053220632207322083220932210322113221232213322143221532216322173221832219322203222132222322233222432225322263222732228322293223032231322323223332234322353223632237322383223932240322413224232243322443224532246322473224832249322503225132252322533225432255322563225732258322593226032261322623226332264322653226632267322683226932270322713227232273322743227532276322773227832279322803228132282322833228432285322863228732288322893229032291322923229332294322953229632297322983229932300323013230232303323043230532306323073230832309323103231132312323133231432315323163231732318323193232032321323223232332324323253232632327323283232932330323313233232333323343233532336323373233832339323403234132342323433234432345323463234732348323493235032351323523235332354323553235632357323583235932360323613236232363323643236532366323673236832369323703237132372323733237432375323763237732378323793238032381323823238332384323853238632387323883238932390323913239232393323943239532396323973239832399324003240132402324033240432405324063240732408324093241032411324123241332414324153241632417324183241932420324213242232423324243242532426324273242832429324303243132432324333243432435324363243732438324393244032441324423244332444324453244632447324483244932450324513245232453324543245532456324573245832459324603246132462324633246432465324663246732468324693247032471324723247332474324753247632477324783247932480324813248232483324843248532486324873248832489324903249132492324933249432495324963249732498324993250032501325023250332504325053250632507325083250932510325113251232513325143251532516325173251832519325203252132522325233252432525325263252732528325293253032531325323253332534325353253632537325383253932540325413254232543325443254532546325473254832549325503255132552325533255432555325563255732558325593256032561325623256332564325653256632567325683256932570325713257232573325743257532576325773257832579325803258132582325833258432585325863258732588325893259032591325923259332594325953259632597325983259932600326013260232603326043260532606326073260832609326103261132612326133261432615326163261732618326193262032621326223262332624326253262632627326283262932630326313263232633326343263532636326373263832639326403264132642326433264432645326463264732648326493265032651326523265332654326553265632657326583265932660326613266232663326643266532666326673266832669326703267132672326733267432675326763267732678326793268032681326823268332684326853268632687326883268932690326913269232693326943269532696326973269832699327003270132702327033270432705327063270732708327093271032711327123271332714327153271632717327183271932720327213272232723327243272532726327273272832729327303273132732327333273432735327363273732738327393274032741327423274332744327453274632747327483274932750327513275232753327543275532756327573275832759327603276132762327633276432765327663276732768327693277032771327723277332774327753277632777327783277932780327813278232783327843278532786327873278832789327903279132792327933279432795327963279732798327993280032801328023280332804328053280632807328083280932810328113281232813328143281532816328173281832819328203282132822328233282432825328263282732828328293283032831328323283332834328353283632837328383283932840328413284232843328443284532846328473284832849328503285132852328533285432855328563285732858328593286032861328623286332864328653286632867328683286932870328713287232873328743287532876328773287832879328803288132882328833288432885328863288732888328893289032891328923289332894328953289632897328983289932900329013290232903329043290532906329073290832909329103291132912329133291432915329163291732918329193292032921329223292332924329253292632927329283292932930329313293232933329343293532936329373293832939329403294132942329433294432945329463294732948329493295032951329523295332954329553295632957329583295932960329613296232963329643296532966329673296832969329703297132972329733297432975329763297732978329793298032981329823298332984329853298632987329883298932990329913299232993329943299532996329973299832999330003300133002330033300433005330063300733008330093301033011330123301333014330153301633017330183301933020330213302233023330243302533026330273302833029330303303133032330333303433035330363303733038330393304033041330423304333044330453304633047330483304933050330513305233053330543305533056330573305833059330603306133062330633306433065330663306733068330693307033071330723307333074330753307633077330783307933080330813308233083330843308533086330873308833089330903309133092330933309433095330963309733098330993310033101331023310333104331053310633107331083310933110331113311233113331143311533116331173311833119331203312133122331233312433125331263312733128331293313033131331323313333134331353313633137331383313933140331413314233143331443314533146331473314833149331503315133152331533315433155331563315733158331593316033161331623316333164331653316633167331683316933170331713317233173331743317533176331773317833179331803318133182331833318433185331863318733188331893319033191331923319333194331953319633197331983319933200332013320233203332043320533206332073320833209332103321133212332133321433215332163321733218332193322033221332223322333224332253322633227332283322933230332313323233233332343323533236332373323833239332403324133242332433324433245332463324733248332493325033251332523325333254332553325633257332583325933260332613326233263332643326533266332673326833269332703327133272332733327433275332763327733278332793328033281332823328333284332853328633287332883328933290332913329233293332943329533296332973329833299333003330133302333033330433305333063330733308333093331033311333123331333314333153331633317333183331933320333213332233323333243332533326333273332833329333303333133332333333333433335333363333733338333393334033341333423334333344333453334633347333483334933350333513335233353333543335533356333573335833359333603336133362333633336433365333663336733368333693337033371333723337333374333753337633377333783337933380333813338233383333843338533386333873338833389333903339133392333933339433395333963339733398333993340033401334023340333404334053340633407334083340933410334113341233413334143341533416334173341833419334203342133422334233342433425334263342733428334293343033431334323343333434334353343633437334383343933440334413344233443334443344533446334473344833449334503345133452334533345433455334563345733458334593346033461334623346333464334653346633467334683346933470334713347233473334743347533476334773347833479334803348133482334833348433485334863348733488334893349033491334923349333494334953349633497334983349933500335013350233503335043350533506335073350833509335103351133512335133351433515335163351733518335193352033521335223352333524335253352633527335283352933530335313353233533335343353533536335373353833539335403354133542335433354433545335463354733548335493355033551335523355333554335553355633557335583355933560335613356233563335643356533566335673356833569335703357133572335733357433575335763357733578335793358033581335823358333584335853358633587335883358933590335913359233593335943359533596335973359833599336003360133602336033360433605336063360733608336093361033611336123361333614336153361633617336183361933620336213362233623336243362533626336273362833629336303363133632336333363433635336363363733638336393364033641336423364333644336453364633647336483364933650336513365233653336543365533656336573365833659336603366133662336633366433665336663366733668336693367033671336723367333674336753367633677336783367933680336813368233683336843368533686336873368833689336903369133692336933369433695336963369733698336993370033701337023370333704337053370633707337083370933710337113371233713337143371533716337173371833719337203372133722337233372433725337263372733728337293373033731337323373333734337353373633737337383373933740337413374233743337443374533746337473374833749337503375133752337533375433755337563375733758337593376033761337623376333764337653376633767337683376933770337713377233773337743377533776337773377833779337803378133782337833378433785337863378733788337893379033791337923379333794337953379633797337983379933800338013380233803338043380533806338073380833809338103381133812338133381433815338163381733818338193382033821338223382333824338253382633827338283382933830338313383233833338343383533836338373383833839338403384133842338433384433845338463384733848338493385033851338523385333854338553385633857338583385933860338613386233863338643386533866338673386833869338703387133872338733387433875338763387733878338793388033881338823388333884338853388633887338883388933890338913389233893338943389533896338973389833899339003390133902339033390433905339063390733908339093391033911339123391333914339153391633917339183391933920339213392233923339243392533926339273392833929339303393133932339333393433935339363393733938339393394033941339423394333944339453394633947339483394933950339513395233953339543395533956339573395833959339603396133962339633396433965339663396733968339693397033971339723397333974339753397633977339783397933980339813398233983339843398533986339873398833989339903399133992339933399433995339963399733998339993400034001340023400334004340053400634007340083400934010340113401234013340143401534016340173401834019340203402134022340233402434025340263402734028340293403034031340323403334034340353403634037340383403934040340413404234043340443404534046340473404834049340503405134052340533405434055340563405734058340593406034061340623406334064340653406634067340683406934070340713407234073340743407534076340773407834079340803408134082340833408434085340863408734088340893409034091340923409334094340953409634097340983409934100341013410234103341043410534106341073410834109341103411134112341133411434115341163411734118341193412034121341223412334124341253412634127341283412934130341313413234133341343413534136341373413834139341403414134142341433414434145341463414734148341493415034151341523415334154341553415634157341583415934160341613416234163341643416534166341673416834169341703417134172341733417434175341763417734178341793418034181341823418334184341853418634187341883418934190341913419234193341943419534196341973419834199342003420134202342033420434205342063420734208342093421034211342123421334214342153421634217342183421934220342213422234223342243422534226342273422834229342303423134232342333423434235342363423734238342393424034241342423424334244342453424634247342483424934250342513425234253342543425534256342573425834259342603426134262342633426434265342663426734268342693427034271342723427334274342753427634277342783427934280342813428234283342843428534286342873428834289342903429134292342933429434295342963429734298342993430034301343023430334304343053430634307343083430934310343113431234313343143431534316343173431834319343203432134322343233432434325343263432734328343293433034331343323433334334343353433634337343383433934340343413434234343343443434534346343473434834349343503435134352343533435434355343563435734358343593436034361343623436334364343653436634367343683436934370343713437234373343743437534376343773437834379343803438134382343833438434385343863438734388343893439034391343923439334394343953439634397343983439934400344013440234403344043440534406344073440834409344103441134412344133441434415344163441734418344193442034421344223442334424344253442634427344283442934430344313443234433344343443534436344373443834439344403444134442344433444434445344463444734448344493445034451344523445334454344553445634457344583445934460344613446234463344643446534466344673446834469344703447134472344733447434475344763447734478344793448034481344823448334484344853448634487344883448934490344913449234493344943449534496344973449834499345003450134502345033450434505345063450734508345093451034511345123451334514345153451634517345183451934520345213452234523345243452534526345273452834529345303453134532345333453434535345363453734538345393454034541345423454334544345453454634547345483454934550345513455234553345543455534556345573455834559345603456134562345633456434565345663456734568345693457034571345723457334574345753457634577345783457934580345813458234583345843458534586345873458834589345903459134592345933459434595345963459734598345993460034601346023460334604346053460634607346083460934610346113461234613346143461534616346173461834619346203462134622346233462434625346263462734628346293463034631346323463334634346353463634637346383463934640346413464234643346443464534646346473464834649346503465134652346533465434655346563465734658346593466034661346623466334664346653466634667346683466934670346713467234673346743467534676346773467834679346803468134682346833468434685346863468734688346893469034691346923469334694346953469634697346983469934700347013470234703347043470534706347073470834709347103471134712347133471434715347163471734718347193472034721347223472334724347253472634727347283472934730347313473234733347343473534736347373473834739347403474134742347433474434745347463474734748347493475034751347523475334754347553475634757347583475934760347613476234763347643476534766347673476834769347703477134772347733477434775347763477734778347793478034781347823478334784347853478634787347883478934790347913479234793347943479534796347973479834799348003480134802348033480434805348063480734808348093481034811348123481334814348153481634817348183481934820348213482234823348243482534826348273482834829348303483134832348333483434835348363483734838348393484034841348423484334844348453484634847348483484934850348513485234853348543485534856348573485834859348603486134862348633486434865348663486734868348693487034871348723487334874348753487634877348783487934880348813488234883348843488534886348873488834889348903489134892348933489434895348963489734898348993490034901349023490334904349053490634907349083490934910349113491234913349143491534916349173491834919349203492134922349233492434925349263492734928349293493034931349323493334934349353493634937349383493934940349413494234943349443494534946349473494834949349503495134952349533495434955349563495734958349593496034961349623496334964349653496634967349683496934970349713497234973349743497534976349773497834979349803498134982349833498434985349863498734988349893499034991349923499334994349953499634997349983499935000350013500235003350043500535006350073500835009350103501135012350133501435015350163501735018350193502035021350223502335024350253502635027350283502935030350313503235033350343503535036350373503835039350403504135042350433504435045350463504735048350493505035051350523505335054350553505635057350583505935060350613506235063350643506535066350673506835069350703507135072350733507435075350763507735078350793508035081350823508335084350853508635087350883508935090350913509235093350943509535096350973509835099351003510135102351033510435105351063510735108351093511035111351123511335114351153511635117351183511935120351213512235123351243512535126351273512835129351303513135132351333513435135351363513735138351393514035141351423514335144351453514635147351483514935150351513515235153351543515535156351573515835159351603516135162351633516435165351663516735168351693517035171351723517335174351753517635177351783517935180351813518235183351843518535186351873518835189351903519135192351933519435195351963519735198351993520035201352023520335204352053520635207352083520935210352113521235213352143521535216352173521835219352203522135222352233522435225352263522735228352293523035231352323523335234352353523635237352383523935240352413524235243352443524535246352473524835249352503525135252352533525435255352563525735258352593526035261352623526335264352653526635267352683526935270352713527235273352743527535276352773527835279352803528135282352833528435285352863528735288352893529035291352923529335294352953529635297352983529935300353013530235303353043530535306353073530835309353103531135312353133531435315353163531735318353193532035321353223532335324353253532635327353283532935330353313533235333353343533535336353373533835339353403534135342353433534435345353463534735348353493535035351353523535335354353553535635357353583535935360353613536235363353643536535366353673536835369353703537135372353733537435375353763537735378353793538035381353823538335384353853538635387353883538935390353913539235393353943539535396353973539835399354003540135402354033540435405354063540735408354093541035411354123541335414354153541635417354183541935420354213542235423354243542535426354273542835429354303543135432354333543435435354363543735438354393544035441354423544335444354453544635447354483544935450354513545235453354543545535456354573545835459354603546135462354633546435465354663546735468354693547035471354723547335474354753547635477354783547935480354813548235483354843548535486354873548835489354903549135492354933549435495354963549735498354993550035501355023550335504355053550635507355083550935510355113551235513355143551535516355173551835519355203552135522355233552435525355263552735528355293553035531355323553335534355353553635537355383553935540355413554235543355443554535546355473554835549355503555135552355533555435555355563555735558355593556035561355623556335564355653556635567355683556935570355713557235573355743557535576355773557835579355803558135582355833558435585355863558735588355893559035591355923559335594355953559635597355983559935600356013560235603356043560535606356073560835609356103561135612356133561435615356163561735618356193562035621356223562335624356253562635627356283562935630356313563235633356343563535636356373563835639356403564135642356433564435645356463564735648356493565035651356523565335654356553565635657356583565935660356613566235663356643566535666356673566835669356703567135672356733567435675356763567735678356793568035681356823568335684356853568635687356883568935690356913569235693356943569535696356973569835699357003570135702357033570435705357063570735708357093571035711357123571335714357153571635717357183571935720357213572235723357243572535726357273572835729357303573135732357333573435735357363573735738357393574035741357423574335744357453574635747357483574935750357513575235753357543575535756357573575835759357603576135762357633576435765357663576735768357693577035771357723577335774357753577635777357783577935780357813578235783357843578535786357873578835789357903579135792357933579435795357963579735798357993580035801358023580335804358053580635807358083580935810358113581235813358143581535816358173581835819358203582135822358233582435825358263582735828358293583035831358323583335834358353583635837358383583935840358413584235843358443584535846358473584835849358503585135852358533585435855358563585735858358593586035861358623586335864358653586635867358683586935870358713587235873358743587535876358773587835879358803588135882358833588435885358863588735888358893589035891358923589335894358953589635897358983589935900359013590235903359043590535906359073590835909359103591135912359133591435915359163591735918359193592035921359223592335924359253592635927359283592935930359313593235933359343593535936359373593835939359403594135942359433594435945359463594735948359493595035951359523595335954359553595635957359583595935960359613596235963359643596535966359673596835969359703597135972359733597435975359763597735978359793598035981359823598335984359853598635987359883598935990359913599235993359943599535996359973599835999360003600136002360033600436005360063600736008360093601036011360123601336014360153601636017360183601936020360213602236023360243602536026360273602836029360303603136032360333603436035360363603736038360393604036041360423604336044360453604636047360483604936050360513605236053360543605536056360573605836059360603606136062360633606436065360663606736068360693607036071360723607336074360753607636077360783607936080360813608236083360843608536086360873608836089360903609136092360933609436095360963609736098360993610036101361023610336104361053610636107361083610936110361113611236113361143611536116361173611836119361203612136122361233612436125361263612736128361293613036131361323613336134361353613636137361383613936140361413614236143361443614536146361473614836149361503615136152361533615436155361563615736158361593616036161361623616336164361653616636167361683616936170361713617236173361743617536176361773617836179361803618136182361833618436185361863618736188361893619036191361923619336194361953619636197361983619936200362013620236203362043620536206362073620836209362103621136212362133621436215362163621736218362193622036221362223622336224362253622636227362283622936230362313623236233362343623536236362373623836239362403624136242362433624436245362463624736248362493625036251362523625336254362553625636257362583625936260362613626236263362643626536266362673626836269362703627136272362733627436275362763627736278362793628036281362823628336284362853628636287362883628936290362913629236293362943629536296362973629836299363003630136302363033630436305363063630736308363093631036311363123631336314363153631636317363183631936320363213632236323363243632536326363273632836329363303633136332363333633436335363363633736338363393634036341363423634336344363453634636347363483634936350363513635236353363543635536356363573635836359363603636136362363633636436365363663636736368363693637036371363723637336374363753637636377363783637936380363813638236383363843638536386363873638836389363903639136392363933639436395363963639736398363993640036401364023640336404364053640636407364083640936410364113641236413364143641536416364173641836419364203642136422364233642436425364263642736428364293643036431364323643336434364353643636437364383643936440364413644236443364443644536446364473644836449364503645136452364533645436455364563645736458364593646036461364623646336464364653646636467364683646936470364713647236473364743647536476364773647836479364803648136482364833648436485364863648736488364893649036491364923649336494364953649636497364983649936500365013650236503365043650536506365073650836509365103651136512365133651436515365163651736518365193652036521365223652336524365253652636527365283652936530365313653236533365343653536536365373653836539365403654136542365433654436545365463654736548365493655036551365523655336554365553655636557365583655936560365613656236563365643656536566365673656836569365703657136572365733657436575365763657736578365793658036581365823658336584365853658636587365883658936590365913659236593365943659536596365973659836599366003660136602366033660436605366063660736608366093661036611366123661336614366153661636617366183661936620366213662236623366243662536626366273662836629366303663136632366333663436635366363663736638366393664036641366423664336644366453664636647366483664936650366513665236653366543665536656366573665836659366603666136662366633666436665366663666736668366693667036671366723667336674366753667636677366783667936680366813668236683366843668536686366873668836689366903669136692366933669436695366963669736698366993670036701367023670336704367053670636707367083670936710367113671236713367143671536716367173671836719367203672136722367233672436725367263672736728367293673036731367323673336734367353673636737367383673936740367413674236743367443674536746367473674836749367503675136752367533675436755367563675736758367593676036761367623676336764367653676636767367683676936770367713677236773367743677536776367773677836779367803678136782367833678436785367863678736788367893679036791367923679336794367953679636797367983679936800368013680236803368043680536806368073680836809368103681136812368133681436815368163681736818368193682036821368223682336824368253682636827368283682936830368313683236833368343683536836368373683836839368403684136842368433684436845368463684736848368493685036851368523685336854368553685636857368583685936860368613686236863368643686536866368673686836869368703687136872368733687436875368763687736878368793688036881368823688336884368853688636887368883688936890368913689236893368943689536896368973689836899369003690136902369033690436905369063690736908369093691036911369123691336914369153691636917369183691936920369213692236923369243692536926369273692836929369303693136932369333693436935369363693736938369393694036941369423694336944369453694636947369483694936950369513695236953369543695536956369573695836959369603696136962369633696436965369663696736968369693697036971369723697336974369753697636977369783697936980369813698236983369843698536986369873698836989369903699136992369933699436995369963699736998369993700037001370023700337004370053700637007370083700937010370113701237013370143701537016370173701837019370203702137022370233702437025370263702737028370293703037031370323703337034370353703637037370383703937040370413704237043370443704537046370473704837049370503705137052370533705437055370563705737058370593706037061370623706337064370653706637067370683706937070370713707237073370743707537076370773707837079370803708137082370833708437085370863708737088370893709037091370923709337094370953709637097370983709937100371013710237103371043710537106371073710837109371103711137112371133711437115371163711737118371193712037121371223712337124371253712637127371283712937130371313713237133371343713537136371373713837139371403714137142371433714437145371463714737148371493715037151371523715337154371553715637157371583715937160371613716237163371643716537166371673716837169371703717137172371733717437175371763717737178371793718037181371823718337184371853718637187371883718937190371913719237193371943719537196371973719837199372003720137202372033720437205372063720737208372093721037211372123721337214372153721637217372183721937220372213722237223372243722537226372273722837229372303723137232372333723437235372363723737238372393724037241372423724337244372453724637247372483724937250372513725237253372543725537256372573725837259372603726137262372633726437265372663726737268372693727037271372723727337274372753727637277372783727937280372813728237283372843728537286372873728837289372903729137292372933729437295372963729737298372993730037301373023730337304373053730637307373083730937310373113731237313373143731537316373173731837319373203732137322373233732437325373263732737328373293733037331373323733337334373353733637337373383733937340373413734237343373443734537346373473734837349373503735137352373533735437355373563735737358373593736037361373623736337364373653736637367373683736937370373713737237373373743737537376373773737837379373803738137382373833738437385373863738737388373893739037391373923739337394373953739637397373983739937400374013740237403374043740537406374073740837409374103741137412374133741437415374163741737418374193742037421374223742337424374253742637427374283742937430374313743237433374343743537436374373743837439374403744137442374433744437445374463744737448374493745037451374523745337454374553745637457374583745937460374613746237463374643746537466374673746837469374703747137472374733747437475374763747737478374793748037481374823748337484374853748637487374883748937490374913749237493374943749537496374973749837499375003750137502375033750437505375063750737508375093751037511375123751337514375153751637517375183751937520375213752237523375243752537526375273752837529375303753137532375333753437535375363753737538375393754037541375423754337544375453754637547375483754937550375513755237553375543755537556375573755837559375603756137562375633756437565375663756737568375693757037571375723757337574375753757637577375783757937580375813758237583375843758537586375873758837589375903759137592375933759437595375963759737598375993760037601376023760337604376053760637607376083760937610376113761237613376143761537616376173761837619376203762137622376233762437625376263762737628376293763037631376323763337634376353763637637376383763937640376413764237643376443764537646376473764837649376503765137652376533765437655376563765737658376593766037661376623766337664376653766637667376683766937670376713767237673376743767537676376773767837679376803768137682376833768437685376863768737688376893769037691376923769337694376953769637697376983769937700377013770237703377043770537706377073770837709377103771137712377133771437715377163771737718377193772037721377223772337724377253772637727377283772937730377313773237733377343773537736377373773837739377403774137742377433774437745377463774737748377493775037751377523775337754377553775637757377583775937760377613776237763377643776537766377673776837769377703777137772377733777437775377763777737778377793778037781377823778337784377853778637787377883778937790377913779237793377943779537796377973779837799378003780137802378033780437805378063780737808378093781037811378123781337814378153781637817378183781937820378213782237823378243782537826378273782837829378303783137832378333783437835378363783737838378393784037841378423784337844378453784637847378483784937850378513785237853378543785537856378573785837859378603786137862378633786437865378663786737868378693787037871378723787337874378753787637877378783787937880378813788237883378843788537886378873788837889378903789137892378933789437895378963789737898378993790037901379023790337904379053790637907379083790937910379113791237913379143791537916379173791837919379203792137922379233792437925379263792737928379293793037931379323793337934379353793637937379383793937940379413794237943379443794537946379473794837949379503795137952379533795437955379563795737958379593796037961379623796337964379653796637967379683796937970379713797237973379743797537976379773797837979379803798137982379833798437985379863798737988379893799037991379923799337994379953799637997379983799938000380013800238003380043800538006380073800838009380103801138012380133801438015380163801738018380193802038021380223802338024380253802638027380283802938030380313803238033380343803538036380373803838039380403804138042380433804438045380463804738048380493805038051380523805338054380553805638057380583805938060380613806238063380643806538066380673806838069380703807138072380733807438075380763807738078380793808038081380823808338084380853808638087380883808938090380913809238093380943809538096380973809838099381003810138102381033810438105381063810738108381093811038111381123811338114381153811638117381183811938120381213812238123381243812538126381273812838129381303813138132381333813438135381363813738138381393814038141381423814338144381453814638147381483814938150381513815238153381543815538156381573815838159381603816138162381633816438165381663816738168381693817038171381723817338174381753817638177381783817938180381813818238183381843818538186381873818838189381903819138192381933819438195381963819738198381993820038201382023820338204382053820638207382083820938210382113821238213382143821538216382173821838219382203822138222382233822438225382263822738228382293823038231382323823338234382353823638237382383823938240382413824238243382443824538246382473824838249382503825138252382533825438255382563825738258382593826038261382623826338264382653826638267382683826938270382713827238273382743827538276382773827838279382803828138282382833828438285382863828738288382893829038291382923829338294382953829638297382983829938300383013830238303383043830538306383073830838309383103831138312383133831438315383163831738318383193832038321383223832338324383253832638327383283832938330383313833238333383343833538336383373833838339383403834138342383433834438345383463834738348383493835038351383523835338354383553835638357383583835938360383613836238363383643836538366383673836838369383703837138372383733837438375383763837738378383793838038381383823838338384383853838638387383883838938390383913839238393383943839538396383973839838399384003840138402384033840438405384063840738408384093841038411384123841338414384153841638417384183841938420384213842238423384243842538426384273842838429384303843138432384333843438435384363843738438384393844038441384423844338444384453844638447384483844938450384513845238453384543845538456384573845838459384603846138462384633846438465384663846738468384693847038471384723847338474384753847638477384783847938480384813848238483384843848538486384873848838489384903849138492384933849438495384963849738498384993850038501385023850338504385053850638507385083850938510385113851238513385143851538516385173851838519385203852138522385233852438525385263852738528385293853038531385323853338534385353853638537385383853938540385413854238543385443854538546385473854838549385503855138552385533855438555385563855738558385593856038561385623856338564385653856638567385683856938570385713857238573385743857538576385773857838579385803858138582385833858438585385863858738588385893859038591385923859338594385953859638597385983859938600386013860238603386043860538606386073860838609386103861138612386133861438615386163861738618386193862038621386223862338624386253862638627386283862938630386313863238633386343863538636386373863838639386403864138642386433864438645386463864738648386493865038651386523865338654386553865638657386583865938660386613866238663386643866538666386673866838669386703867138672386733867438675386763867738678386793868038681386823868338684386853868638687386883868938690386913869238693386943869538696386973869838699387003870138702387033870438705387063870738708387093871038711387123871338714387153871638717387183871938720387213872238723387243872538726387273872838729387303873138732387333873438735387363873738738387393874038741387423874338744387453874638747387483874938750387513875238753387543875538756387573875838759387603876138762387633876438765387663876738768387693877038771387723877338774387753877638777387783877938780387813878238783387843878538786387873878838789387903879138792387933879438795387963879738798387993880038801388023880338804388053880638807388083880938810388113881238813388143881538816388173881838819388203882138822388233882438825388263882738828388293883038831388323883338834388353883638837388383883938840388413884238843388443884538846388473884838849388503885138852388533885438855388563885738858388593886038861388623886338864388653886638867388683886938870388713887238873388743887538876388773887838879388803888138882388833888438885388863888738888388893889038891388923889338894388953889638897388983889938900389013890238903389043890538906389073890838909389103891138912389133891438915389163891738918389193892038921389223892338924389253892638927389283892938930389313893238933389343893538936389373893838939389403894138942389433894438945389463894738948389493895038951389523895338954389553895638957389583895938960389613896238963389643896538966389673896838969389703897138972389733897438975389763897738978389793898038981389823898338984389853898638987389883898938990389913899238993389943899538996389973899838999390003900139002390033900439005390063900739008390093901039011390123901339014390153901639017390183901939020390213902239023390243902539026390273902839029390303903139032390333903439035390363903739038390393904039041390423904339044390453904639047390483904939050390513905239053390543905539056390573905839059390603906139062390633906439065390663906739068390693907039071390723907339074390753907639077390783907939080390813908239083390843908539086390873908839089390903909139092390933909439095390963909739098390993910039101391023910339104391053910639107391083910939110391113911239113391143911539116391173911839119391203912139122391233912439125391263912739128391293913039131391323913339134391353913639137391383913939140391413914239143391443914539146391473914839149391503915139152391533915439155391563915739158391593916039161391623916339164391653916639167391683916939170391713917239173391743917539176391773917839179391803918139182391833918439185391863918739188391893919039191391923919339194391953919639197391983919939200392013920239203392043920539206392073920839209392103921139212392133921439215392163921739218392193922039221392223922339224392253922639227392283922939230392313923239233392343923539236392373923839239392403924139242392433924439245392463924739248392493925039251392523925339254392553925639257392583925939260392613926239263392643926539266392673926839269392703927139272392733927439275392763927739278392793928039281392823928339284392853928639287392883928939290392913929239293392943929539296392973929839299393003930139302393033930439305393063930739308393093931039311393123931339314393153931639317393183931939320393213932239323393243932539326393273932839329393303933139332393333933439335393363933739338393393934039341393423934339344393453934639347393483934939350393513935239353393543935539356393573935839359393603936139362393633936439365393663936739368393693937039371393723937339374393753937639377393783937939380393813938239383393843938539386393873938839389393903939139392393933939439395393963939739398393993940039401394023940339404394053940639407394083940939410394113941239413394143941539416394173941839419394203942139422394233942439425394263942739428394293943039431394323943339434394353943639437394383943939440394413944239443394443944539446394473944839449394503945139452394533945439455394563945739458394593946039461394623946339464394653946639467394683946939470394713947239473394743947539476394773947839479394803948139482394833948439485394863948739488394893949039491394923949339494394953949639497394983949939500395013950239503395043950539506395073950839509395103951139512395133951439515395163951739518395193952039521395223952339524395253952639527395283952939530395313953239533395343953539536395373953839539395403954139542395433954439545395463954739548395493955039551395523955339554395553955639557395583955939560395613956239563395643956539566395673956839569395703957139572395733957439575395763957739578395793958039581395823958339584395853958639587395883958939590395913959239593395943959539596395973959839599396003960139602396033960439605396063960739608396093961039611396123961339614396153961639617396183961939620396213962239623396243962539626396273962839629396303963139632396333963439635396363963739638396393964039641396423964339644396453964639647396483964939650396513965239653396543965539656396573965839659396603966139662396633966439665396663966739668396693967039671396723967339674396753967639677396783967939680396813968239683396843968539686396873968839689396903969139692396933969439695396963969739698396993970039701397023970339704397053970639707397083970939710397113971239713397143971539716397173971839719397203972139722397233972439725397263972739728397293973039731397323973339734397353973639737397383973939740397413974239743397443974539746397473974839749397503975139752397533975439755397563975739758397593976039761397623976339764397653976639767397683976939770397713977239773397743977539776397773977839779397803978139782397833978439785397863978739788397893979039791397923979339794397953979639797397983979939800398013980239803398043980539806398073980839809398103981139812398133981439815398163981739818398193982039821398223982339824398253982639827398283982939830398313983239833398343983539836398373983839839398403984139842398433984439845398463984739848398493985039851398523985339854398553985639857398583985939860398613986239863398643986539866398673986839869398703987139872398733987439875398763987739878398793988039881398823988339884398853988639887398883988939890398913989239893398943989539896398973989839899399003990139902399033990439905399063990739908399093991039911399123991339914399153991639917399183991939920399213992239923399243992539926399273992839929399303993139932399333993439935399363993739938399393994039941399423994339944399453994639947399483994939950399513995239953399543995539956399573995839959399603996139962399633996439965399663996739968399693997039971399723997339974399753997639977399783997939980399813998239983399843998539986399873998839989399903999139992399933999439995399963999739998399994000040001400024000340004400054000640007400084000940010400114001240013400144001540016400174001840019400204002140022400234002440025400264002740028400294003040031400324003340034400354003640037400384003940040400414004240043400444004540046400474004840049400504005140052400534005440055400564005740058400594006040061
  1. // GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
  2. // This file was generated by swaggo/swag
  3. package docs
  4. import (
  5. "bytes"
  6. "encoding/json"
  7. "strings"
  8. "github.com/alecthomas/template"
  9. "github.com/swaggo/swag"
  10. )
  11. var doc = `{
  12. "schemes": {{ marshal .Schemes }},
  13. "swagger": "2.0",
  14. "info": {
  15. "description": "{{.Description}}",
  16. "title": "{{.Title}}",
  17. "termsOfService": "http://www.muchinfo.cn",
  18. "contact": {},
  19. "version": "{{.Version}}"
  20. },
  21. "host": "{{.Host}}",
  22. "basePath": "{{.BasePath}}",
  23. "paths": {
  24. "/CPTrade/QueryCPTradeMyBidInfos": {
  25. "get": {
  26. "security": [
  27. {
  28. "ApiKeyAuth": []
  29. }
  30. ],
  31. "produces": [
  32. "application/json"
  33. ],
  34. "tags": [
  35. "产能预售"
  36. ],
  37. "summary": "查询产能预售我的出价信息",
  38. "parameters": [
  39. {
  40. "type": "integer",
  41. "description": "资金账户",
  42. "name": "accountid",
  43. "in": "query",
  44. "required": true
  45. },
  46. {
  47. "type": "integer",
  48. "description": "预售市场ID",
  49. "name": "marketid",
  50. "in": "query"
  51. },
  52. {
  53. "type": "integer",
  54. "description": "预售商品ID",
  55. "name": "goodsid",
  56. "in": "query"
  57. }
  58. ],
  59. "responses": {
  60. "200": {
  61. "description": "OK",
  62. "schema": {
  63. "$ref": "#/definitions/cptrade.QueryCPTradeMyBidRsp"
  64. }
  65. },
  66. "500": {
  67. "description": "Internal Server Error",
  68. "schema": {
  69. "$ref": "#/definitions/app.Response"
  70. }
  71. }
  72. }
  73. }
  74. },
  75. "/CPTrade/QueryCPTradeOrderDetail": {
  76. "get": {
  77. "security": [
  78. {
  79. "ApiKeyAuth": []
  80. }
  81. ],
  82. "produces": [
  83. "application/json"
  84. ],
  85. "tags": [
  86. "产能预售"
  87. ],
  88. "summary": "查询产能预售委托单信息",
  89. "parameters": [
  90. {
  91. "type": "integer",
  92. "description": "预售商品ID",
  93. "name": "goodsid",
  94. "in": "query"
  95. },
  96. {
  97. "type": "integer",
  98. "description": "预售市场ID",
  99. "name": "marketid",
  100. "in": "query"
  101. },
  102. {
  103. "type": "string",
  104. "description": "预售商品ID列表 - 格式:1,2,3",
  105. "name": "goodsids",
  106. "in": "query"
  107. }
  108. ],
  109. "responses": {
  110. "200": {
  111. "description": "OK",
  112. "schema": {
  113. "$ref": "#/definitions/cptrade.QueryCPTradeOrderDetailRsq"
  114. }
  115. },
  116. "500": {
  117. "description": "Internal Server Error",
  118. "schema": {
  119. "$ref": "#/definitions/app.Response"
  120. }
  121. }
  122. }
  123. }
  124. },
  125. "/CPTrade/QueryMyCPTradeGoods": {
  126. "get": {
  127. "security": [
  128. {
  129. "ApiKeyAuth": []
  130. }
  131. ],
  132. "produces": [
  133. "application/json"
  134. ],
  135. "tags": [
  136. "产能预售"
  137. ],
  138. "summary": "查询我的预售信息",
  139. "parameters": [
  140. {
  141. "type": "integer",
  142. "description": "资金账户",
  143. "name": "accountid",
  144. "in": "query",
  145. "required": true
  146. }
  147. ],
  148. "responses": {
  149. "200": {
  150. "description": "OK",
  151. "schema": {
  152. "$ref": "#/definitions/cptrade.QueryMyCPTradeGoodsRsp"
  153. }
  154. },
  155. "500": {
  156. "description": "Internal Server Error",
  157. "schema": {
  158. "$ref": "#/definitions/app.Response"
  159. }
  160. }
  161. }
  162. }
  163. },
  164. "/CPTrade/QueryPositionCancel": {
  165. "get": {
  166. "security": [
  167. {
  168. "ApiKeyAuth": []
  169. }
  170. ],
  171. "produces": [
  172. "application/json"
  173. ],
  174. "tags": [
  175. "产能预售"
  176. ],
  177. "summary": "查询远期订单注销申请信息",
  178. "parameters": [
  179. {
  180. "type": "integer",
  181. "description": "账户ID",
  182. "name": "userid",
  183. "in": "query",
  184. "required": true
  185. },
  186. {
  187. "type": "integer",
  188. "description": "注销ID",
  189. "name": "cancelid",
  190. "in": "query"
  191. },
  192. {
  193. "type": "integer",
  194. "description": "资金账户ID",
  195. "name": "accountid",
  196. "in": "query"
  197. }
  198. ],
  199. "responses": {
  200. "200": {
  201. "description": "OK",
  202. "schema": {
  203. "$ref": "#/definitions/cptrade.Cptradepositioncancel"
  204. }
  205. },
  206. "500": {
  207. "description": "Internal Server Error",
  208. "schema": {
  209. "$ref": "#/definitions/app.Response"
  210. }
  211. }
  212. }
  213. }
  214. },
  215. "/CPTrade/QueryPreasleApply": {
  216. "get": {
  217. "security": [
  218. {
  219. "ApiKeyAuth": []
  220. }
  221. ],
  222. "produces": [
  223. "application/json"
  224. ],
  225. "tags": [
  226. "产能预售"
  227. ],
  228. "summary": "查询产能预售申请信息",
  229. "parameters": [
  230. {
  231. "type": "integer",
  232. "description": "账户ID",
  233. "name": "userid",
  234. "in": "query",
  235. "required": true
  236. },
  237. {
  238. "type": "integer",
  239. "description": "申请ID",
  240. "name": "applyid",
  241. "in": "query"
  242. },
  243. {
  244. "type": "integer",
  245. "description": "资金账户ID",
  246. "name": "accountid",
  247. "in": "query"
  248. }
  249. ],
  250. "responses": {
  251. "200": {
  252. "description": "OK",
  253. "schema": {
  254. "$ref": "#/definitions/cptrade.Cptradepresaleapply"
  255. }
  256. },
  257. "500": {
  258. "description": "Internal Server Error",
  259. "schema": {
  260. "$ref": "#/definitions/app.Response"
  261. }
  262. }
  263. }
  264. }
  265. },
  266. "/CPTrade/QueryPresaleGoodsEx": {
  267. "get": {
  268. "security": [
  269. {
  270. "ApiKeyAuth": []
  271. }
  272. ],
  273. "produces": [
  274. "application/json"
  275. ],
  276. "tags": [
  277. "产能预售"
  278. ],
  279. "summary": "查询产能预售商品扩展信息",
  280. "parameters": [
  281. {
  282. "type": "integer",
  283. "description": "预售商品ID",
  284. "name": "goodsid",
  285. "in": "query"
  286. },
  287. {
  288. "type": "integer",
  289. "description": "预售市场ID",
  290. "name": "marketid",
  291. "in": "query"
  292. },
  293. {
  294. "type": "integer",
  295. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  296. "name": "presalemode",
  297. "in": "query"
  298. },
  299. {
  300. "type": "string",
  301. "description": "预售商品ID列表 - 格式:1,2,3",
  302. "name": "goodsids",
  303. "in": "query"
  304. },
  305. {
  306. "type": "string",
  307. "description": "预售商品代码",
  308. "name": "goodscode",
  309. "in": "query"
  310. }
  311. ],
  312. "responses": {
  313. "200": {
  314. "description": "OK",
  315. "schema": {
  316. "$ref": "#/definitions/cptrade.QueryPresaleGoodsExRsp"
  317. }
  318. },
  319. "500": {
  320. "description": "Internal Server Error",
  321. "schema": {
  322. "$ref": "#/definitions/app.Response"
  323. }
  324. }
  325. }
  326. }
  327. },
  328. "/CPTrade/QueryUserGoodsData": {
  329. "get": {
  330. "security": [
  331. {
  332. "ApiKeyAuth": []
  333. }
  334. ],
  335. "produces": [
  336. "application/json"
  337. ],
  338. "tags": [
  339. "产能预售"
  340. ],
  341. "summary": "查询远期订单信息",
  342. "parameters": [
  343. {
  344. "type": "integer",
  345. "description": "资金账户ID",
  346. "name": "accountid",
  347. "in": "query",
  348. "required": true
  349. }
  350. ],
  351. "responses": {
  352. "200": {
  353. "description": "OK",
  354. "schema": {
  355. "$ref": "#/definitions/cptrade.Cptradeusergoodsdata"
  356. }
  357. },
  358. "500": {
  359. "description": "Internal Server Error",
  360. "schema": {
  361. "$ref": "#/definitions/app.Response"
  362. }
  363. }
  364. }
  365. }
  366. },
  367. "/Common/GetAllEnums": {
  368. "get": {
  369. "description": "autoid传入后则返回这个ID之后的数据;如不传则返回所有",
  370. "produces": [
  371. "application/json"
  372. ],
  373. "tags": [
  374. "通用服务"
  375. ],
  376. "summary": "获取所有枚举信息",
  377. "parameters": [
  378. {
  379. "type": "integer",
  380. "description": "起始自增ID",
  381. "name": "autoid",
  382. "in": "query"
  383. }
  384. ],
  385. "responses": {
  386. "200": {
  387. "description": "OK",
  388. "schema": {
  389. "$ref": "#/definitions/models.Enumdicitem"
  390. }
  391. },
  392. "500": {
  393. "description": "Internal Server Error",
  394. "schema": {
  395. "$ref": "#/definitions/app.Response"
  396. }
  397. }
  398. }
  399. }
  400. },
  401. "/Common/GetClientMenus": {
  402. "get": {
  403. "security": [
  404. {
  405. "ApiKeyAuth": []
  406. }
  407. ],
  408. "produces": [
  409. "application/json"
  410. ],
  411. "tags": [
  412. "通用服务"
  413. ],
  414. "summary": "获取交易端菜单",
  415. "parameters": [
  416. {
  417. "type": "integer",
  418. "description": "登录账号",
  419. "name": "loginID",
  420. "in": "query",
  421. "required": true
  422. },
  423. {
  424. "type": "integer",
  425. "description": "终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据",
  426. "name": "clientType",
  427. "in": "query"
  428. },
  429. {
  430. "type": "string",
  431. "description": "分支名称,ermcp-风管云平台;pingan-平安期货;trader-交易所;不传默认返回风管云平台",
  432. "name": "name",
  433. "in": "query"
  434. }
  435. ],
  436. "responses": {
  437. "200": {
  438. "description": "OK",
  439. "schema": {
  440. "type": "array",
  441. "items": {
  442. "$ref": "#/definitions/common.ClientMenu"
  443. }
  444. }
  445. },
  446. "500": {
  447. "description": "Internal Server Error",
  448. "schema": {
  449. "$ref": "#/definitions/app.Response"
  450. }
  451. }
  452. }
  453. }
  454. },
  455. "/Common/GetDivisions": {
  456. "get": {
  457. "produces": [
  458. "application/json"
  459. ],
  460. "tags": [
  461. "通用服务"
  462. ],
  463. "summary": "查询区域信息",
  464. "responses": {
  465. "200": {
  466. "description": "OK",
  467. "schema": {
  468. "$ref": "#/definitions/models.Division"
  469. }
  470. },
  471. "500": {
  472. "description": "Internal Server Error",
  473. "schema": {
  474. "$ref": "#/definitions/app.Response"
  475. }
  476. }
  477. }
  478. }
  479. },
  480. "/Common/GetPCWebMenus": {
  481. "get": {
  482. "security": [
  483. {
  484. "ApiKeyAuth": []
  485. }
  486. ],
  487. "produces": [
  488. "application/json"
  489. ],
  490. "tags": [
  491. "通用服务"
  492. ],
  493. "summary": "获取PCWeb交易端菜单",
  494. "parameters": [
  495. {
  496. "type": "integer",
  497. "description": "登录账号",
  498. "name": "loginID",
  499. "in": "query",
  500. "required": true
  501. },
  502. {
  503. "type": "string",
  504. "description": "分支名称,ermcp:风管云平台,不传默认返回ermcp",
  505. "name": "name",
  506. "in": "query"
  507. }
  508. ],
  509. "responses": {
  510. "200": {
  511. "description": "OK",
  512. "schema": {
  513. "type": "array",
  514. "items": {
  515. "$ref": "#/definitions/common.PCWebMenu"
  516. }
  517. }
  518. },
  519. "500": {
  520. "description": "Internal Server Error",
  521. "schema": {
  522. "$ref": "#/definitions/app.Response"
  523. }
  524. }
  525. }
  526. }
  527. },
  528. "/Common/GetServerTime": {
  529. "get": {
  530. "produces": [
  531. "application/json"
  532. ],
  533. "tags": [
  534. "通用服务"
  535. ],
  536. "summary": "获取服务器时间",
  537. "responses": {
  538. "200": {
  539. "description": "OK",
  540. "schema": {
  541. "$ref": "#/definitions/app.Response"
  542. }
  543. },
  544. "500": {
  545. "description": "Internal Server Error",
  546. "schema": {
  547. "$ref": "#/definitions/app.Response"
  548. }
  549. }
  550. }
  551. }
  552. },
  553. "/Common/NoticeReaded": {
  554. "post": {
  555. "security": [
  556. {
  557. "ApiKeyAuth": []
  558. }
  559. ],
  560. "produces": [
  561. "application/json"
  562. ],
  563. "tags": [
  564. "通用服务"
  565. ],
  566. "summary": "通知公告设置已读请求",
  567. "parameters": [
  568. {
  569. "type": "integer",
  570. "description": "登录账号",
  571. "name": "loginID",
  572. "in": "query",
  573. "required": true
  574. },
  575. {
  576. "type": "integer",
  577. "description": "通知公告ID",
  578. "name": "noticeID",
  579. "in": "query",
  580. "required": true
  581. }
  582. ],
  583. "responses": {
  584. "200": {
  585. "description": "OK",
  586. "schema": {
  587. "$ref": "#/definitions/app.Response"
  588. }
  589. },
  590. "500": {
  591. "description": "Internal Server Error",
  592. "schema": {
  593. "$ref": "#/definitions/app.Response"
  594. }
  595. }
  596. }
  597. }
  598. },
  599. "/Common/QueryErrorInfos": {
  600. "get": {
  601. "description": "如果传入rowNumber,则返回此rowNumber后的数据",
  602. "produces": [
  603. "application/json"
  604. ],
  605. "tags": [
  606. "通用服务"
  607. ],
  608. "summary": "获取数据库错误信息",
  609. "parameters": [
  610. {
  611. "type": "string",
  612. "description": "起始行号前索引",
  613. "name": "rowNumber",
  614. "in": "query"
  615. }
  616. ],
  617. "responses": {
  618. "200": {
  619. "description": "OK",
  620. "schema": {
  621. "$ref": "#/definitions/models.QueryErrorInfosRsp"
  622. }
  623. },
  624. "500": {
  625. "description": "Internal Server Error",
  626. "schema": {
  627. "$ref": "#/definitions/app.Response"
  628. }
  629. }
  630. }
  631. }
  632. },
  633. "/Common/QueryImageConfigs": {
  634. "get": {
  635. "produces": [
  636. "application/json"
  637. ],
  638. "tags": [
  639. "通用服务"
  640. ],
  641. "summary": "查询轮播图配置信息",
  642. "parameters": [
  643. {
  644. "type": "integer",
  645. "description": "用户id",
  646. "name": "userId",
  647. "in": "query"
  648. },
  649. {
  650. "type": "integer",
  651. "description": "类型 - 1:App首页轮播 2:我的",
  652. "name": "imageType",
  653. "in": "query"
  654. }
  655. ],
  656. "responses": {
  657. "200": {
  658. "description": "OK",
  659. "schema": {
  660. "$ref": "#/definitions/common.QueryImageConfigsRsp"
  661. }
  662. },
  663. "500": {
  664. "description": "Internal Server Error",
  665. "schema": {
  666. "$ref": "#/definitions/app.Response"
  667. }
  668. }
  669. }
  670. }
  671. },
  672. "/Common/QueryNotice": {
  673. "get": {
  674. "security": [
  675. {
  676. "ApiKeyAuth": []
  677. }
  678. ],
  679. "produces": [
  680. "application/json"
  681. ],
  682. "tags": [
  683. "通用服务"
  684. ],
  685. "summary": "通知公告系统消息查询",
  686. "parameters": [
  687. {
  688. "type": "integer",
  689. "description": "页码",
  690. "name": "page",
  691. "in": "query"
  692. },
  693. {
  694. "type": "integer",
  695. "description": "每页条数",
  696. "name": "pagesize",
  697. "in": "query"
  698. },
  699. {
  700. "type": "integer",
  701. "description": "登录账号",
  702. "name": "loginID",
  703. "in": "query",
  704. "required": true
  705. },
  706. {
  707. "type": "integer",
  708. "description": "消息类型 - 1:公告通知 2:系统消息",
  709. "name": "msgType",
  710. "in": "query"
  711. },
  712. {
  713. "type": "boolean",
  714. "description": "是否只获取未读信息",
  715. "name": "onlyUnRead",
  716. "in": "query"
  717. },
  718. {
  719. "type": "integer",
  720. "description": "自增ID,传入后会返回这个ID后面的记录",
  721. "name": "lastID",
  722. "in": "query"
  723. }
  724. ],
  725. "responses": {
  726. "200": {
  727. "description": "OK",
  728. "schema": {
  729. "$ref": "#/definitions/common.QueryNoticeRsp"
  730. }
  731. },
  732. "500": {
  733. "description": "Internal Server Error",
  734. "schema": {
  735. "$ref": "#/definitions/app.Response"
  736. }
  737. }
  738. }
  739. }
  740. },
  741. "/Common/QueryProvincesAndCities": {
  742. "get": {
  743. "produces": [
  744. "application/json"
  745. ],
  746. "tags": [
  747. "通用服务"
  748. ],
  749. "summary": "查询省市信息(不包括区)",
  750. "parameters": [
  751. {
  752. "type": "integer",
  753. "description": "省ID",
  754. "name": "provinceID",
  755. "in": "query"
  756. }
  757. ],
  758. "responses": {
  759. "200": {
  760. "description": "OK",
  761. "schema": {
  762. "$ref": "#/definitions/common.QueryProvincesAndCitiesRsp"
  763. }
  764. },
  765. "500": {
  766. "description": "Internal Server Error",
  767. "schema": {
  768. "$ref": "#/definitions/app.Response"
  769. }
  770. }
  771. }
  772. }
  773. },
  774. "/Common/QueryTableDefine": {
  775. "get": {
  776. "produces": [
  777. "application/json"
  778. ],
  779. "tags": [
  780. "通用服务"
  781. ],
  782. "summary": "查询交易端列表头信息",
  783. "parameters": [
  784. {
  785. "type": "string",
  786. "description": "表key",
  787. "name": "tableKey",
  788. "in": "query"
  789. },
  790. {
  791. "type": "integer",
  792. "description": "列表类型 - 1:管理端 2:H5终端 3:移动终端",
  793. "name": "tableType",
  794. "in": "query"
  795. }
  796. ],
  797. "responses": {
  798. "200": {
  799. "description": "OK",
  800. "schema": {
  801. "$ref": "#/definitions/common.QueryTableDefineRsp"
  802. }
  803. },
  804. "500": {
  805. "description": "Internal Server Error",
  806. "schema": {
  807. "$ref": "#/definitions/app.Response"
  808. }
  809. }
  810. }
  811. }
  812. },
  813. "/Common/QueryTraderMenu": {
  814. "get": {
  815. "produces": [
  816. "application/json"
  817. ],
  818. "tags": [
  819. "通用服务"
  820. ],
  821. "summary": "查询交易端菜单",
  822. "parameters": [
  823. {
  824. "type": "integer",
  825. "description": "登录账号",
  826. "name": "loginid",
  827. "in": "query",
  828. "required": true
  829. }
  830. ],
  831. "responses": {
  832. "200": {
  833. "description": "OK",
  834. "schema": {
  835. "$ref": "#/definitions/common.QueryTraderMenuRsp"
  836. }
  837. },
  838. "500": {
  839. "description": "Internal Server Error",
  840. "schema": {
  841. "$ref": "#/definitions/app.Response"
  842. }
  843. }
  844. }
  845. }
  846. },
  847. "/Delivery/QueryDeliveryRelation": {
  848. "get": {
  849. "security": [
  850. {
  851. "ApiKeyAuth": []
  852. }
  853. ],
  854. "produces": [
  855. "application/json"
  856. ],
  857. "tags": [
  858. "交割服务"
  859. ],
  860. "summary": "查询商品交割关系表",
  861. "parameters": [
  862. {
  863. "type": "integer",
  864. "description": "商品ID",
  865. "name": "goodsid",
  866. "in": "query"
  867. },
  868. {
  869. "type": "integer",
  870. "description": "品种ID",
  871. "name": "deliverygoodsid",
  872. "in": "query"
  873. },
  874. {
  875. "type": "integer",
  876. "description": "市场ID",
  877. "name": "marketid",
  878. "in": "query"
  879. }
  880. ],
  881. "responses": {
  882. "200": {
  883. "description": "OK",
  884. "schema": {
  885. "$ref": "#/definitions/delivery.QueryDeliveryRelationRsp"
  886. }
  887. },
  888. "500": {
  889. "description": "Internal Server Error",
  890. "schema": {
  891. "$ref": "#/definitions/app.Response"
  892. }
  893. }
  894. }
  895. }
  896. },
  897. "/Ermcp/GetErmcpGoods": {
  898. "get": {
  899. "security": [
  900. {
  901. "ApiKeyAuth": []
  902. }
  903. ],
  904. "produces": [
  905. "application/json"
  906. ],
  907. "tags": [
  908. "企业风险管理(app)"
  909. ],
  910. "summary": "查询企业风管期货商品信息",
  911. "parameters": [
  912. {
  913. "type": "string",
  914. "description": "最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  915. "name": "lastUpdateTime",
  916. "in": "query"
  917. }
  918. ],
  919. "responses": {
  920. "200": {
  921. "description": "OK",
  922. "schema": {
  923. "$ref": "#/definitions/models.ErmcpGoods"
  924. }
  925. },
  926. "500": {
  927. "description": "Internal Server Error",
  928. "schema": {
  929. "$ref": "#/definitions/app.Response"
  930. }
  931. }
  932. }
  933. }
  934. },
  935. "/Ermcp/GetErmcpGoodsSortByPosition": {
  936. "get": {
  937. "security": [
  938. {
  939. "ApiKeyAuth": []
  940. }
  941. ],
  942. "produces": [
  943. "application/json"
  944. ],
  945. "tags": [
  946. "企业风险管理(app)"
  947. ],
  948. "summary": "查询企业风管期货主力、次主力商品信息",
  949. "parameters": [
  950. {
  951. "type": "string",
  952. "description": "主力: 1; 次主力: 2; 主力+次主力:1,2",
  953. "name": "sortIndex",
  954. "in": "query"
  955. }
  956. ],
  957. "responses": {
  958. "200": {
  959. "description": "OK",
  960. "schema": {
  961. "$ref": "#/definitions/models.Goodssortbypreposition"
  962. }
  963. },
  964. "500": {
  965. "description": "Internal Server Error",
  966. "schema": {
  967. "$ref": "#/definitions/app.Response"
  968. }
  969. }
  970. }
  971. }
  972. },
  973. "/Ermcp/GetErmcpOutAccountStatus": {
  974. "get": {
  975. "security": [
  976. {
  977. "ApiKeyAuth": []
  978. }
  979. ],
  980. "produces": [
  981. "application/json"
  982. ],
  983. "tags": [
  984. "企业风险管理(app)"
  985. ],
  986. "summary": "获取目标登录账号当前对冲账号在线状态",
  987. "parameters": [
  988. {
  989. "type": "integer",
  990. "description": "登录账号",
  991. "name": "loginID",
  992. "in": "query",
  993. "required": true
  994. }
  995. ],
  996. "responses": {
  997. "200": {
  998. "description": "OK",
  999. "schema": {
  1000. "$ref": "#/definitions/models.Hedgemarketopenlog"
  1001. }
  1002. },
  1003. "500": {
  1004. "description": "Internal Server Error",
  1005. "schema": {
  1006. "$ref": "#/definitions/app.Response"
  1007. }
  1008. }
  1009. }
  1010. }
  1011. },
  1012. "/Ermcp/GetErmcpRoleFuncMenuLists": {
  1013. "get": {
  1014. "security": [
  1015. {
  1016. "ApiKeyAuth": []
  1017. }
  1018. ],
  1019. "produces": [
  1020. "application/json"
  1021. ],
  1022. "tags": [
  1023. "企业风险管理(app)"
  1024. ],
  1025. "summary": "获取企业风管终端权限",
  1026. "parameters": [
  1027. {
  1028. "type": "integer",
  1029. "description": "登录账号",
  1030. "name": "loginID",
  1031. "in": "query",
  1032. "required": true
  1033. }
  1034. ],
  1035. "responses": {
  1036. "200": {
  1037. "description": "OK",
  1038. "schema": {
  1039. "$ref": "#/definitions/models.Funcmenulist"
  1040. }
  1041. },
  1042. "500": {
  1043. "description": "Internal Server Error",
  1044. "schema": {
  1045. "$ref": "#/definitions/app.Response"
  1046. }
  1047. }
  1048. }
  1049. }
  1050. },
  1051. "/Ermcp/QueryAccMgrBizGroupSet": {
  1052. "get": {
  1053. "security": [
  1054. {
  1055. "ApiKeyAuth": []
  1056. }
  1057. ],
  1058. "produces": [
  1059. "application/json"
  1060. ],
  1061. "tags": [
  1062. "企业风险管理(app)"
  1063. ],
  1064. "summary": "查询业务类型分组(账户管理/账户设置)",
  1065. "parameters": [
  1066. {
  1067. "type": "integer",
  1068. "description": "用户ID",
  1069. "name": "userid",
  1070. "in": "query",
  1071. "required": true
  1072. },
  1073. {
  1074. "type": "integer",
  1075. "description": "现货商品id",
  1076. "name": "deliverygoodsid",
  1077. "in": "query"
  1078. }
  1079. ],
  1080. "responses": {
  1081. "200": {
  1082. "description": "OK",
  1083. "schema": {
  1084. "type": "array",
  1085. "items": {
  1086. "$ref": "#/definitions/models.ErmcpBizGroupEx"
  1087. }
  1088. }
  1089. },
  1090. "500": {
  1091. "description": "Internal Server Error",
  1092. "schema": {
  1093. "$ref": "#/definitions/app.Response"
  1094. }
  1095. }
  1096. }
  1097. }
  1098. },
  1099. "/Ermcp/QueryAccMgrLoginUser": {
  1100. "get": {
  1101. "security": [
  1102. {
  1103. "ApiKeyAuth": []
  1104. }
  1105. ],
  1106. "produces": [
  1107. "application/json"
  1108. ],
  1109. "tags": [
  1110. "企业风险管理(app)"
  1111. ],
  1112. "summary": "查询账户管理登录账号(账户管理/登录账号)",
  1113. "parameters": [
  1114. {
  1115. "type": "integer",
  1116. "description": "用户ID",
  1117. "name": "userid",
  1118. "in": "query",
  1119. "required": true
  1120. },
  1121. {
  1122. "type": "integer",
  1123. "description": "用户类型 2-机构 7-企业成员",
  1124. "name": "usertype",
  1125. "in": "query"
  1126. },
  1127. {
  1128. "type": "integer",
  1129. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  1130. "name": "querytype",
  1131. "in": "query",
  1132. "required": true
  1133. }
  1134. ],
  1135. "responses": {
  1136. "200": {
  1137. "description": "OK",
  1138. "schema": {
  1139. "type": "array",
  1140. "items": {
  1141. "$ref": "#/definitions/models.ErmcpLoginUserEx"
  1142. }
  1143. }
  1144. },
  1145. "500": {
  1146. "description": "Internal Server Error",
  1147. "schema": {
  1148. "$ref": "#/definitions/app.Response"
  1149. }
  1150. }
  1151. }
  1152. }
  1153. },
  1154. "/Ermcp/QueryAccMgrMainAccountInfo": {
  1155. "get": {
  1156. "security": [
  1157. {
  1158. "ApiKeyAuth": []
  1159. }
  1160. ],
  1161. "produces": [
  1162. "application/json"
  1163. ],
  1164. "tags": [
  1165. "企业风险管理(app)"
  1166. ],
  1167. "summary": "查询账户管理主账号详情(账户管理/期货主账号详情)",
  1168. "parameters": [
  1169. {
  1170. "type": "integer",
  1171. "description": "用户ID",
  1172. "name": "userid",
  1173. "in": "query"
  1174. },
  1175. {
  1176. "type": "integer",
  1177. "description": "主账号id",
  1178. "name": "accountid",
  1179. "in": "query"
  1180. }
  1181. ],
  1182. "responses": {
  1183. "200": {
  1184. "description": "OK",
  1185. "schema": {
  1186. "type": "array",
  1187. "items": {
  1188. "$ref": "#/definitions/models.MainAccountInfo"
  1189. }
  1190. }
  1191. },
  1192. "500": {
  1193. "description": "Internal Server Error",
  1194. "schema": {
  1195. "$ref": "#/definitions/app.Response"
  1196. }
  1197. }
  1198. }
  1199. }
  1200. },
  1201. "/Ermcp/QueryAccMgrRole": {
  1202. "get": {
  1203. "security": [
  1204. {
  1205. "ApiKeyAuth": []
  1206. }
  1207. ],
  1208. "produces": [
  1209. "application/json"
  1210. ],
  1211. "tags": [
  1212. "企业风险管理(app)"
  1213. ],
  1214. "summary": "查询账户管理角色设置(账户管理/角色设置)",
  1215. "parameters": [
  1216. {
  1217. "type": "integer",
  1218. "description": "用户ID",
  1219. "name": "userid",
  1220. "in": "query",
  1221. "required": true
  1222. }
  1223. ],
  1224. "responses": {
  1225. "200": {
  1226. "description": "OK",
  1227. "schema": {
  1228. "type": "array",
  1229. "items": {
  1230. "$ref": "#/definitions/models.ErmcpRole"
  1231. }
  1232. }
  1233. },
  1234. "500": {
  1235. "description": "Internal Server Error",
  1236. "schema": {
  1237. "$ref": "#/definitions/app.Response"
  1238. }
  1239. }
  1240. }
  1241. }
  1242. },
  1243. "/Ermcp/QueryAccMgrRoleMenu": {
  1244. "get": {
  1245. "security": [
  1246. {
  1247. "ApiKeyAuth": []
  1248. }
  1249. ],
  1250. "produces": [
  1251. "application/json"
  1252. ],
  1253. "tags": [
  1254. "企业风险管理(app)"
  1255. ],
  1256. "summary": "查询账户管理角色详情(账户管理/角色设置/角色详情)",
  1257. "parameters": [
  1258. {
  1259. "type": "integer",
  1260. "description": "用户ID",
  1261. "name": "userid",
  1262. "in": "query",
  1263. "required": true
  1264. },
  1265. {
  1266. "type": "string",
  1267. "description": "角色id(可多个,逗号隔开)",
  1268. "name": "roleid",
  1269. "in": "query"
  1270. },
  1271. {
  1272. "type": "integer",
  1273. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3",
  1274. "name": "menutype",
  1275. "in": "query"
  1276. }
  1277. ],
  1278. "responses": {
  1279. "200": {
  1280. "description": "OK",
  1281. "schema": {
  1282. "type": "array",
  1283. "items": {
  1284. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  1285. }
  1286. }
  1287. },
  1288. "500": {
  1289. "description": "Internal Server Error",
  1290. "schema": {
  1291. "$ref": "#/definitions/app.Response"
  1292. }
  1293. }
  1294. }
  1295. }
  1296. },
  1297. "/Ermcp/QueryAccMgrTaAccountInfo": {
  1298. "get": {
  1299. "security": [
  1300. {
  1301. "ApiKeyAuth": []
  1302. }
  1303. ],
  1304. "produces": [
  1305. "application/json"
  1306. ],
  1307. "tags": [
  1308. "企业风险管理(app)"
  1309. ],
  1310. "summary": "查询账户管理授信(账户管理/账户设置/授信)",
  1311. "parameters": [
  1312. {
  1313. "type": "integer",
  1314. "description": "用户ID",
  1315. "name": "userid",
  1316. "in": "query",
  1317. "required": true
  1318. },
  1319. {
  1320. "type": "integer",
  1321. "description": "账号id",
  1322. "name": "accountid",
  1323. "in": "query"
  1324. }
  1325. ],
  1326. "responses": {
  1327. "200": {
  1328. "description": "OK",
  1329. "schema": {
  1330. "type": "array",
  1331. "items": {
  1332. "$ref": "#/definitions/models.ErmcpTaAccountInfo"
  1333. }
  1334. }
  1335. },
  1336. "500": {
  1337. "description": "Internal Server Error",
  1338. "schema": {
  1339. "$ref": "#/definitions/app.Response"
  1340. }
  1341. }
  1342. }
  1343. }
  1344. },
  1345. "/Ermcp/QueryAccMgrTaaccount": {
  1346. "get": {
  1347. "security": [
  1348. {
  1349. "ApiKeyAuth": []
  1350. }
  1351. ],
  1352. "produces": [
  1353. "application/json"
  1354. ],
  1355. "tags": [
  1356. "企业风险管理(app)"
  1357. ],
  1358. "summary": "查询账户管理期货账号(账户管理/期货账号)",
  1359. "parameters": [
  1360. {
  1361. "type": "integer",
  1362. "description": "用户ID",
  1363. "name": "userid",
  1364. "in": "query",
  1365. "required": true
  1366. }
  1367. ],
  1368. "responses": {
  1369. "200": {
  1370. "description": "OK",
  1371. "schema": {
  1372. "type": "array",
  1373. "items": {
  1374. "$ref": "#/definitions/models.ErmcpTaAccountEx"
  1375. }
  1376. }
  1377. },
  1378. "500": {
  1379. "description": "Internal Server Error",
  1380. "schema": {
  1381. "$ref": "#/definitions/app.Response"
  1382. }
  1383. }
  1384. }
  1385. }
  1386. },
  1387. "/Ermcp/QueryAvaildGoodsGroup": {
  1388. "get": {
  1389. "security": [
  1390. {
  1391. "ApiKeyAuth": []
  1392. }
  1393. ],
  1394. "produces": [
  1395. "application/json"
  1396. ],
  1397. "tags": [
  1398. "企业风险管理(app)"
  1399. ],
  1400. "summary": "查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)",
  1401. "parameters": [
  1402. {
  1403. "type": "integer",
  1404. "description": "所属机构ID",
  1405. "name": "userid",
  1406. "in": "query",
  1407. "required": true
  1408. }
  1409. ],
  1410. "responses": {
  1411. "200": {
  1412. "description": "OK",
  1413. "schema": {
  1414. "type": "array",
  1415. "items": {
  1416. "$ref": "#/definitions/ermcp.QryAvalidGPRsp"
  1417. }
  1418. }
  1419. },
  1420. "500": {
  1421. "description": "Internal Server Error",
  1422. "schema": {
  1423. "$ref": "#/definitions/app.Response"
  1424. }
  1425. }
  1426. }
  1427. }
  1428. },
  1429. "/Ermcp/QueryBusinessDj": {
  1430. "get": {
  1431. "security": [
  1432. {
  1433. "ApiKeyAuth": []
  1434. }
  1435. ],
  1436. "produces": [
  1437. "application/json"
  1438. ],
  1439. "tags": [
  1440. "企业风险管理(app)"
  1441. ],
  1442. "summary": "查询业务管理(点价)(对应菜单:业务管理/点价)",
  1443. "parameters": [
  1444. {
  1445. "type": "integer",
  1446. "description": "用户ID",
  1447. "name": "UserId",
  1448. "in": "query",
  1449. "required": true
  1450. },
  1451. {
  1452. "type": "integer",
  1453. "description": "用户类型 2-机构 7-企业成员",
  1454. "name": "usertype",
  1455. "in": "query"
  1456. },
  1457. {
  1458. "type": "string",
  1459. "description": "现货合同ID, 不填则查所有",
  1460. "name": "relatedid",
  1461. "in": "query"
  1462. },
  1463. {
  1464. "type": "string",
  1465. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1466. "name": "applystatus",
  1467. "in": "query"
  1468. }
  1469. ],
  1470. "responses": {
  1471. "200": {
  1472. "description": "OK",
  1473. "schema": {
  1474. "type": "array",
  1475. "items": {
  1476. "$ref": "#/definitions/ermcp.QryBusinessDjRsp"
  1477. }
  1478. }
  1479. },
  1480. "500": {
  1481. "description": "Internal Server Error",
  1482. "schema": {
  1483. "$ref": "#/definitions/app.Response"
  1484. }
  1485. }
  1486. }
  1487. }
  1488. },
  1489. "/Ermcp/QueryBusinessFp": {
  1490. "get": {
  1491. "security": [
  1492. {
  1493. "ApiKeyAuth": []
  1494. }
  1495. ],
  1496. "produces": [
  1497. "application/json"
  1498. ],
  1499. "tags": [
  1500. "企业风险管理(app)"
  1501. ],
  1502. "summary": "查询财务管理(发票)(对应菜单:财务管理/发票)",
  1503. "parameters": [
  1504. {
  1505. "type": "integer",
  1506. "description": "用户ID",
  1507. "name": "UserId",
  1508. "in": "query",
  1509. "required": true
  1510. },
  1511. {
  1512. "type": "integer",
  1513. "description": "用户类型 2-机构 7-企业成员",
  1514. "name": "usertype",
  1515. "in": "query"
  1516. },
  1517. {
  1518. "type": "string",
  1519. "description": "现货合同ID, 不填则查所有",
  1520. "name": "relatedid",
  1521. "in": "query"
  1522. },
  1523. {
  1524. "type": "string",
  1525. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1526. "name": "applystatus",
  1527. "in": "query"
  1528. }
  1529. ],
  1530. "responses": {
  1531. "200": {
  1532. "description": "OK",
  1533. "schema": {
  1534. "type": "array",
  1535. "items": {
  1536. "$ref": "#/definitions/ermcp.QryBussinessFpRsp"
  1537. }
  1538. }
  1539. },
  1540. "500": {
  1541. "description": "Internal Server Error",
  1542. "schema": {
  1543. "$ref": "#/definitions/app.Response"
  1544. }
  1545. }
  1546. }
  1547. }
  1548. },
  1549. "/Ermcp/QueryBusinessJs": {
  1550. "get": {
  1551. "security": [
  1552. {
  1553. "ApiKeyAuth": []
  1554. }
  1555. ],
  1556. "produces": [
  1557. "application/json"
  1558. ],
  1559. "tags": [
  1560. "企业风险管理(app)"
  1561. ],
  1562. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算)",
  1563. "parameters": [
  1564. {
  1565. "type": "integer",
  1566. "description": "用户ID",
  1567. "name": "UserId",
  1568. "in": "query",
  1569. "required": true
  1570. },
  1571. {
  1572. "type": "integer",
  1573. "description": "用户类型 2-机构 7-企业成员",
  1574. "name": "usertype",
  1575. "in": "query"
  1576. },
  1577. {
  1578. "type": "string",
  1579. "description": "现货合同ID, 不填则查所有",
  1580. "name": "relatedid",
  1581. "in": "query"
  1582. },
  1583. {
  1584. "type": "string",
  1585. "description": "操作申请id",
  1586. "name": "operateapplyid",
  1587. "in": "query"
  1588. },
  1589. {
  1590. "type": "string",
  1591. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1592. "name": "applystatus",
  1593. "in": "query"
  1594. }
  1595. ],
  1596. "responses": {
  1597. "200": {
  1598. "description": "OK",
  1599. "schema": {
  1600. "type": "array",
  1601. "items": {
  1602. "$ref": "#/definitions/ermcp.QryBussinessJsRsp"
  1603. }
  1604. }
  1605. },
  1606. "500": {
  1607. "description": "Internal Server Error",
  1608. "schema": {
  1609. "$ref": "#/definitions/app.Response"
  1610. }
  1611. }
  1612. }
  1613. }
  1614. },
  1615. "/Ermcp/QueryBusinessJsEx": {
  1616. "get": {
  1617. "security": [
  1618. {
  1619. "ApiKeyAuth": []
  1620. }
  1621. ],
  1622. "produces": [
  1623. "application/json"
  1624. ],
  1625. "tags": [
  1626. "企业风险管理(app)"
  1627. ],
  1628. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])",
  1629. "parameters": [
  1630. {
  1631. "type": "integer",
  1632. "description": "用户ID",
  1633. "name": "UserId",
  1634. "in": "query",
  1635. "required": true
  1636. },
  1637. {
  1638. "type": "integer",
  1639. "description": "用户类型 2-机构 7-企业成员",
  1640. "name": "usertype",
  1641. "in": "query"
  1642. },
  1643. {
  1644. "type": "string",
  1645. "description": "现货合同ID, 不填则查所有",
  1646. "name": "relatedid",
  1647. "in": "query"
  1648. },
  1649. {
  1650. "type": "string",
  1651. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1652. "name": "applystatus",
  1653. "in": "query"
  1654. }
  1655. ],
  1656. "responses": {
  1657. "200": {
  1658. "description": "OK",
  1659. "schema": {
  1660. "type": "array",
  1661. "items": {
  1662. "$ref": "#/definitions/ermcp.QryBussinessJsExRsp"
  1663. }
  1664. }
  1665. },
  1666. "500": {
  1667. "description": "Internal Server Error",
  1668. "schema": {
  1669. "$ref": "#/definitions/app.Response"
  1670. }
  1671. }
  1672. }
  1673. }
  1674. },
  1675. "/Ermcp/QueryBusinessKx": {
  1676. "get": {
  1677. "security": [
  1678. {
  1679. "ApiKeyAuth": []
  1680. }
  1681. ],
  1682. "produces": [
  1683. "application/json"
  1684. ],
  1685. "tags": [
  1686. "企业风险管理(app)"
  1687. ],
  1688. "summary": "查询财务管理(款项)(对应菜单:财务管理/款项)",
  1689. "parameters": [
  1690. {
  1691. "type": "integer",
  1692. "description": "用户ID",
  1693. "name": "UserId",
  1694. "in": "query",
  1695. "required": true
  1696. },
  1697. {
  1698. "type": "integer",
  1699. "description": "用户类型 2-机构 7-企业成员",
  1700. "name": "usertype",
  1701. "in": "query"
  1702. },
  1703. {
  1704. "type": "string",
  1705. "description": "现货合同ID, 不填则查所有",
  1706. "name": "relatedid",
  1707. "in": "query"
  1708. },
  1709. {
  1710. "type": "string",
  1711. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1712. "name": "applystatus",
  1713. "in": "query"
  1714. }
  1715. ],
  1716. "responses": {
  1717. "200": {
  1718. "description": "OK",
  1719. "schema": {
  1720. "type": "array",
  1721. "items": {
  1722. "$ref": "#/definitions/ermcp.QryBussinessKxRsp"
  1723. }
  1724. }
  1725. },
  1726. "500": {
  1727. "description": "Internal Server Error",
  1728. "schema": {
  1729. "$ref": "#/definitions/app.Response"
  1730. }
  1731. }
  1732. }
  1733. }
  1734. },
  1735. "/Ermcp/QueryChangeLog": {
  1736. "get": {
  1737. "security": [
  1738. {
  1739. "ApiKeyAuth": []
  1740. }
  1741. ],
  1742. "produces": [
  1743. "application/json"
  1744. ],
  1745. "tags": [
  1746. "企业风险管理(app)"
  1747. ],
  1748. "summary": "查询变更记录",
  1749. "parameters": [
  1750. {
  1751. "type": "string",
  1752. "description": "合同ID",
  1753. "name": "RelatedId",
  1754. "in": "query",
  1755. "required": true
  1756. }
  1757. ],
  1758. "responses": {
  1759. "200": {
  1760. "description": "OK",
  1761. "schema": {
  1762. "type": "array",
  1763. "items": {
  1764. "$ref": "#/definitions/ermcp.QryOPLogRsp"
  1765. }
  1766. }
  1767. },
  1768. "500": {
  1769. "description": "Internal Server Error",
  1770. "schema": {
  1771. "$ref": "#/definitions/app.Response"
  1772. }
  1773. }
  1774. }
  1775. }
  1776. },
  1777. "/Ermcp/QueryErmcpHisOrderDetails": {
  1778. "get": {
  1779. "security": [
  1780. {
  1781. "ApiKeyAuth": []
  1782. }
  1783. ],
  1784. "produces": [
  1785. "application/json"
  1786. ],
  1787. "tags": [
  1788. "企业风险管理(app)"
  1789. ],
  1790. "summary": "获取企业风管期货历史委托单信息",
  1791. "parameters": [
  1792. {
  1793. "type": "integer",
  1794. "description": "资金账户ID",
  1795. "name": "accountID",
  1796. "in": "query",
  1797. "required": true
  1798. },
  1799. {
  1800. "type": "string",
  1801. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  1802. "name": "startDate",
  1803. "in": "query"
  1804. },
  1805. {
  1806. "type": "string",
  1807. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  1808. "name": "endDate",
  1809. "in": "query"
  1810. }
  1811. ],
  1812. "responses": {
  1813. "200": {
  1814. "description": "OK",
  1815. "schema": {
  1816. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  1817. }
  1818. },
  1819. "500": {
  1820. "description": "Internal Server Error",
  1821. "schema": {
  1822. "$ref": "#/definitions/app.Response"
  1823. }
  1824. }
  1825. }
  1826. }
  1827. },
  1828. "/Ermcp/QueryErmcpHisTradeDetails": {
  1829. "get": {
  1830. "security": [
  1831. {
  1832. "ApiKeyAuth": []
  1833. }
  1834. ],
  1835. "produces": [
  1836. "application/json"
  1837. ],
  1838. "tags": [
  1839. "企业风险管理(app)"
  1840. ],
  1841. "summary": "获取企业风管期货历史成交单信息",
  1842. "parameters": [
  1843. {
  1844. "type": "integer",
  1845. "description": "资金账户ID",
  1846. "name": "accountID",
  1847. "in": "query",
  1848. "required": true
  1849. },
  1850. {
  1851. "type": "integer",
  1852. "description": "商品ID",
  1853. "name": "goodsID",
  1854. "in": "query"
  1855. },
  1856. {
  1857. "type": "integer",
  1858. "description": "买卖方向,0:买 1:卖",
  1859. "name": "buyOrSell",
  1860. "in": "query"
  1861. },
  1862. {
  1863. "type": "integer",
  1864. "description": "关联委托单号",
  1865. "name": "orderID",
  1866. "in": "query"
  1867. },
  1868. {
  1869. "type": "string",
  1870. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  1871. "name": "startDate",
  1872. "in": "query"
  1873. },
  1874. {
  1875. "type": "string",
  1876. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  1877. "name": "endDate",
  1878. "in": "query"
  1879. }
  1880. ],
  1881. "responses": {
  1882. "200": {
  1883. "description": "OK",
  1884. "schema": {
  1885. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  1886. }
  1887. },
  1888. "500": {
  1889. "description": "Internal Server Error",
  1890. "schema": {
  1891. "$ref": "#/definitions/app.Response"
  1892. }
  1893. }
  1894. }
  1895. }
  1896. },
  1897. "/Ermcp/QueryErmcpInnerHolderDetails": {
  1898. "get": {
  1899. "security": [
  1900. {
  1901. "ApiKeyAuth": []
  1902. }
  1903. ],
  1904. "produces": [
  1905. "application/json"
  1906. ],
  1907. "tags": [
  1908. "企业风险管理(app)"
  1909. ],
  1910. "summary": "获取企业风管期货内部持仓单信息",
  1911. "parameters": [
  1912. {
  1913. "type": "integer",
  1914. "description": "资金账户ID",
  1915. "name": "accountID",
  1916. "in": "query",
  1917. "required": true
  1918. },
  1919. {
  1920. "type": "integer",
  1921. "description": "商品ID",
  1922. "name": "goodsID",
  1923. "in": "query"
  1924. },
  1925. {
  1926. "type": "integer",
  1927. "description": "买卖方向,0:买 1:卖",
  1928. "name": "buyOrSell",
  1929. "in": "query"
  1930. }
  1931. ],
  1932. "responses": {
  1933. "200": {
  1934. "description": "OK",
  1935. "schema": {
  1936. "$ref": "#/definitions/models.Hedgeinnerholderdetail"
  1937. }
  1938. },
  1939. "500": {
  1940. "description": "Internal Server Error",
  1941. "schema": {
  1942. "$ref": "#/definitions/app.Response"
  1943. }
  1944. }
  1945. }
  1946. }
  1947. },
  1948. "/Ermcp/QueryErmcpOrderDetails": {
  1949. "get": {
  1950. "security": [
  1951. {
  1952. "ApiKeyAuth": []
  1953. }
  1954. ],
  1955. "produces": [
  1956. "application/json"
  1957. ],
  1958. "tags": [
  1959. "企业风险管理(app)"
  1960. ],
  1961. "summary": "获取企业风管期货委托单信息",
  1962. "parameters": [
  1963. {
  1964. "type": "integer",
  1965. "description": "资金账户ID",
  1966. "name": "accountID",
  1967. "in": "query",
  1968. "required": true
  1969. }
  1970. ],
  1971. "responses": {
  1972. "200": {
  1973. "description": "OK",
  1974. "schema": {
  1975. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  1976. }
  1977. },
  1978. "500": {
  1979. "description": "Internal Server Error",
  1980. "schema": {
  1981. "$ref": "#/definitions/app.Response"
  1982. }
  1983. }
  1984. }
  1985. }
  1986. },
  1987. "/Ermcp/QueryErmcpTradeDetails": {
  1988. "get": {
  1989. "security": [
  1990. {
  1991. "ApiKeyAuth": []
  1992. }
  1993. ],
  1994. "produces": [
  1995. "application/json"
  1996. ],
  1997. "tags": [
  1998. "企业风险管理(app)"
  1999. ],
  2000. "summary": "获取企业风管期货成交单信息",
  2001. "parameters": [
  2002. {
  2003. "type": "integer",
  2004. "description": "资金账户ID",
  2005. "name": "accountID",
  2006. "in": "query",
  2007. "required": true
  2008. },
  2009. {
  2010. "type": "integer",
  2011. "description": "商品ID",
  2012. "name": "goodsID",
  2013. "in": "query"
  2014. },
  2015. {
  2016. "type": "integer",
  2017. "description": "买卖方向,0:买 1:卖",
  2018. "name": "buyOrSell",
  2019. "in": "query"
  2020. },
  2021. {
  2022. "type": "integer",
  2023. "description": "关联委托单号",
  2024. "name": "orderID",
  2025. "in": "query"
  2026. }
  2027. ],
  2028. "responses": {
  2029. "200": {
  2030. "description": "OK",
  2031. "schema": {
  2032. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  2033. }
  2034. },
  2035. "500": {
  2036. "description": "Internal Server Error",
  2037. "schema": {
  2038. "$ref": "#/definitions/app.Response"
  2039. }
  2040. }
  2041. }
  2042. }
  2043. },
  2044. "/Ermcp/QueryErmcpTradePosition": {
  2045. "get": {
  2046. "security": [
  2047. {
  2048. "ApiKeyAuth": []
  2049. }
  2050. ],
  2051. "description": "本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;",
  2052. "produces": [
  2053. "application/json"
  2054. ],
  2055. "tags": [
  2056. "企业风险管理(app)"
  2057. ],
  2058. "summary": "获取企业风管期货持仓头寸信息",
  2059. "parameters": [
  2060. {
  2061. "type": "integer",
  2062. "description": "资金账户ID",
  2063. "name": "accountID",
  2064. "in": "query",
  2065. "required": true
  2066. },
  2067. {
  2068. "type": "integer",
  2069. "description": "所属市场ID",
  2070. "name": "marketID",
  2071. "in": "query"
  2072. }
  2073. ],
  2074. "responses": {
  2075. "200": {
  2076. "description": "OK",
  2077. "schema": {
  2078. "$ref": "#/definitions/ermcp.QueryErmcpTradePositionRsp"
  2079. }
  2080. },
  2081. "500": {
  2082. "description": "Internal Server Error",
  2083. "schema": {
  2084. "$ref": "#/definitions/app.Response"
  2085. }
  2086. }
  2087. }
  2088. }
  2089. },
  2090. "/Ermcp/QueryExposureDetail": {
  2091. "get": {
  2092. "security": [
  2093. {
  2094. "ApiKeyAuth": []
  2095. }
  2096. ],
  2097. "produces": [
  2098. "application/json"
  2099. ],
  2100. "tags": [
  2101. "企业风险管理(app)"
  2102. ],
  2103. "summary": "查询敞口现货明细",
  2104. "parameters": [
  2105. {
  2106. "type": "integer",
  2107. "description": "所属机构ID",
  2108. "name": "areaUserId",
  2109. "in": "query",
  2110. "required": true
  2111. },
  2112. {
  2113. "type": "integer",
  2114. "description": "套保商品",
  2115. "name": "middleGoodsId",
  2116. "in": "query",
  2117. "required": true
  2118. }
  2119. ],
  2120. "responses": {
  2121. "200": {
  2122. "description": "OK",
  2123. "schema": {
  2124. "type": "array",
  2125. "items": {
  2126. "$ref": "#/definitions/ermcp.ExposureDetailRsp"
  2127. }
  2128. }
  2129. },
  2130. "500": {
  2131. "description": "Internal Server Error",
  2132. "schema": {
  2133. "$ref": "#/definitions/app.Response"
  2134. }
  2135. }
  2136. }
  2137. }
  2138. },
  2139. "/Ermcp/QueryExposureGoods": {
  2140. "get": {
  2141. "security": [
  2142. {
  2143. "ApiKeyAuth": []
  2144. }
  2145. ],
  2146. "produces": [
  2147. "application/json"
  2148. ],
  2149. "tags": [
  2150. "企业风险管理(app)"
  2151. ],
  2152. "summary": "查询敞口主力合约",
  2153. "parameters": [
  2154. {
  2155. "type": "integer",
  2156. "description": "套保商品id",
  2157. "name": "middlegoodsid",
  2158. "in": "query",
  2159. "required": true
  2160. }
  2161. ],
  2162. "responses": {
  2163. "200": {
  2164. "description": "OK",
  2165. "schema": {
  2166. "type": "array",
  2167. "items": {
  2168. "$ref": "#/definitions/models.ErmcpMiddlegoodsRelateGoods"
  2169. }
  2170. }
  2171. },
  2172. "500": {
  2173. "description": "Internal Server Error",
  2174. "schema": {
  2175. "$ref": "#/definitions/app.Response"
  2176. }
  2177. }
  2178. }
  2179. }
  2180. },
  2181. "/Ermcp/QueryExposureHedgePosition": {
  2182. "get": {
  2183. "security": [
  2184. {
  2185. "ApiKeyAuth": []
  2186. }
  2187. ],
  2188. "produces": [
  2189. "application/json"
  2190. ],
  2191. "tags": [
  2192. "企业风险管理(app)"
  2193. ],
  2194. "summary": "查询敞口期货头寸(菜单:敞口/期货头寸)",
  2195. "parameters": [
  2196. {
  2197. "type": "integer",
  2198. "description": "用户id",
  2199. "name": "userid",
  2200. "in": "query",
  2201. "required": true
  2202. }
  2203. ],
  2204. "responses": {
  2205. "200": {
  2206. "description": "OK",
  2207. "schema": {
  2208. "type": "array",
  2209. "items": {
  2210. "$ref": "#/definitions/ermcp.ExposureHedgePositionRsp"
  2211. }
  2212. }
  2213. },
  2214. "500": {
  2215. "description": "Internal Server Error",
  2216. "schema": {
  2217. "$ref": "#/definitions/app.Response"
  2218. }
  2219. }
  2220. }
  2221. }
  2222. },
  2223. "/Ermcp/QueryExposureHedgePositionDetail": {
  2224. "get": {
  2225. "security": [
  2226. {
  2227. "ApiKeyAuth": []
  2228. }
  2229. ],
  2230. "produces": [
  2231. "application/json"
  2232. ],
  2233. "tags": [
  2234. "企业风险管理(app)"
  2235. ],
  2236. "summary": "查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)",
  2237. "parameters": [
  2238. {
  2239. "type": "integer",
  2240. "description": "所属机构ID",
  2241. "name": "userid",
  2242. "in": "query",
  2243. "required": true
  2244. },
  2245. {
  2246. "type": "integer",
  2247. "description": "商品id",
  2248. "name": "goodsId",
  2249. "in": "query",
  2250. "required": true
  2251. }
  2252. ],
  2253. "responses": {
  2254. "200": {
  2255. "description": "OK",
  2256. "schema": {
  2257. "type": "array",
  2258. "items": {
  2259. "$ref": "#/definitions/ermcp.ExposureHedgePosDetailRsp"
  2260. }
  2261. }
  2262. },
  2263. "500": {
  2264. "description": "Internal Server Error",
  2265. "schema": {
  2266. "$ref": "#/definitions/app.Response"
  2267. }
  2268. }
  2269. }
  2270. }
  2271. },
  2272. "/Ermcp/QueryExposureSpot": {
  2273. "get": {
  2274. "security": [
  2275. {
  2276. "ApiKeyAuth": []
  2277. }
  2278. ],
  2279. "produces": [
  2280. "application/json"
  2281. ],
  2282. "tags": [
  2283. "企业风险管理(app)"
  2284. ],
  2285. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  2286. "parameters": [
  2287. {
  2288. "type": "integer",
  2289. "description": "所属机构ID",
  2290. "name": "areaUserId",
  2291. "in": "query",
  2292. "required": true
  2293. }
  2294. ],
  2295. "responses": {
  2296. "200": {
  2297. "description": "OK",
  2298. "schema": {
  2299. "type": "array",
  2300. "items": {
  2301. "$ref": "#/definitions/ermcp.ExposureSpotRsp"
  2302. }
  2303. }
  2304. },
  2305. "500": {
  2306. "description": "Internal Server Error",
  2307. "schema": {
  2308. "$ref": "#/definitions/app.Response"
  2309. }
  2310. }
  2311. }
  2312. }
  2313. },
  2314. "/Ermcp/QueryExposureSpotDetail": {
  2315. "get": {
  2316. "security": [
  2317. {
  2318. "ApiKeyAuth": []
  2319. }
  2320. ],
  2321. "produces": [
  2322. "application/json"
  2323. ],
  2324. "tags": [
  2325. "企业风险管理(app)"
  2326. ],
  2327. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  2328. "parameters": [
  2329. {
  2330. "type": "integer",
  2331. "description": "所属机构ID",
  2332. "name": "areaUserId",
  2333. "in": "query",
  2334. "required": true
  2335. },
  2336. {
  2337. "type": "integer",
  2338. "description": "现货品种ID",
  2339. "name": "wrstandardId",
  2340. "in": "query",
  2341. "required": true
  2342. }
  2343. ],
  2344. "responses": {
  2345. "200": {
  2346. "description": "OK",
  2347. "schema": {
  2348. "type": "array",
  2349. "items": {
  2350. "$ref": "#/definitions/ermcp.ExposureSpotDetailRsp"
  2351. }
  2352. }
  2353. },
  2354. "500": {
  2355. "description": "Internal Server Error",
  2356. "schema": {
  2357. "$ref": "#/definitions/app.Response"
  2358. }
  2359. }
  2360. }
  2361. }
  2362. },
  2363. "/Ermcp/QueryFuturesCompany": {
  2364. "get": {
  2365. "security": [
  2366. {
  2367. "ApiKeyAuth": []
  2368. }
  2369. ],
  2370. "produces": [
  2371. "application/json"
  2372. ],
  2373. "tags": [
  2374. "企业风险管理(app)"
  2375. ],
  2376. "summary": "查询期货公司",
  2377. "responses": {
  2378. "200": {
  2379. "description": "OK",
  2380. "schema": {
  2381. "type": "array",
  2382. "items": {
  2383. "$ref": "#/definitions/models.ErmcpFuturesCompany"
  2384. }
  2385. }
  2386. },
  2387. "500": {
  2388. "description": "Internal Server Error",
  2389. "schema": {
  2390. "$ref": "#/definitions/app.Response"
  2391. }
  2392. }
  2393. }
  2394. }
  2395. },
  2396. "/Ermcp/QueryGGConvertConfig": {
  2397. "get": {
  2398. "security": [
  2399. {
  2400. "ApiKeyAuth": []
  2401. }
  2402. ],
  2403. "produces": [
  2404. "application/json"
  2405. ],
  2406. "tags": [
  2407. "企业风险管理(app)"
  2408. ],
  2409. "summary": "查询期货品种配置(菜单:商品信息/期货品种)",
  2410. "parameters": [
  2411. {
  2412. "type": "integer",
  2413. "description": "品种id(不填则查所有)",
  2414. "name": "goodsgroupid",
  2415. "in": "query"
  2416. }
  2417. ],
  2418. "responses": {
  2419. "200": {
  2420. "description": "OK",
  2421. "schema": {
  2422. "type": "array",
  2423. "items": {
  2424. "$ref": "#/definitions/ermcp.QryGGCovertCfgRsp"
  2425. }
  2426. }
  2427. },
  2428. "500": {
  2429. "description": "Internal Server Error",
  2430. "schema": {
  2431. "$ref": "#/definitions/app.Response"
  2432. }
  2433. }
  2434. }
  2435. }
  2436. },
  2437. "/Ermcp/QueryGoodsBrand": {
  2438. "get": {
  2439. "security": [
  2440. {
  2441. "ApiKeyAuth": []
  2442. }
  2443. ],
  2444. "produces": [
  2445. "application/json"
  2446. ],
  2447. "tags": [
  2448. "企业风险管理(app)"
  2449. ],
  2450. "summary": "查询商品品牌",
  2451. "parameters": [
  2452. {
  2453. "type": "integer",
  2454. "description": "用户ID",
  2455. "name": "userid",
  2456. "in": "query",
  2457. "required": true
  2458. },
  2459. {
  2460. "type": "integer",
  2461. "description": "现货商品ID",
  2462. "name": "wrstandardid",
  2463. "in": "query"
  2464. }
  2465. ],
  2466. "responses": {
  2467. "200": {
  2468. "description": "OK",
  2469. "schema": {
  2470. "type": "array",
  2471. "items": {
  2472. "$ref": "#/definitions/models.ErmcpGoodsBrand"
  2473. }
  2474. }
  2475. },
  2476. "500": {
  2477. "description": "Internal Server Error",
  2478. "schema": {
  2479. "$ref": "#/definitions/app.Response"
  2480. }
  2481. }
  2482. }
  2483. }
  2484. },
  2485. "/Ermcp/QueryGoodsModel": {
  2486. "get": {
  2487. "security": [
  2488. {
  2489. "ApiKeyAuth": []
  2490. }
  2491. ],
  2492. "produces": [
  2493. "application/json"
  2494. ],
  2495. "tags": [
  2496. "企业风险管理(app)"
  2497. ],
  2498. "summary": "查询商品型号",
  2499. "parameters": [
  2500. {
  2501. "type": "integer",
  2502. "description": "用户ID",
  2503. "name": "userid",
  2504. "in": "query",
  2505. "required": true
  2506. }
  2507. ],
  2508. "responses": {
  2509. "200": {
  2510. "description": "OK",
  2511. "schema": {
  2512. "type": "array",
  2513. "items": {
  2514. "$ref": "#/definitions/models.ErmcpGoodsModel"
  2515. }
  2516. }
  2517. },
  2518. "500": {
  2519. "description": "Internal Server Error",
  2520. "schema": {
  2521. "$ref": "#/definitions/app.Response"
  2522. }
  2523. }
  2524. }
  2525. }
  2526. },
  2527. "/Ermcp/QueryHisExposure": {
  2528. "get": {
  2529. "security": [
  2530. {
  2531. "ApiKeyAuth": []
  2532. }
  2533. ],
  2534. "produces": [
  2535. "application/json"
  2536. ],
  2537. "tags": [
  2538. "企业风险管理(app)"
  2539. ],
  2540. "summary": "查询历史敞口(菜单:敞口/历史敞口)",
  2541. "parameters": [
  2542. {
  2543. "type": "integer",
  2544. "description": "用户id",
  2545. "name": "userid",
  2546. "in": "query",
  2547. "required": true
  2548. },
  2549. {
  2550. "type": "integer",
  2551. "description": "每个品种记录数",
  2552. "name": "lastNum",
  2553. "in": "query",
  2554. "required": true
  2555. }
  2556. ],
  2557. "responses": {
  2558. "200": {
  2559. "description": "OK",
  2560. "schema": {
  2561. "type": "array",
  2562. "items": {
  2563. "$ref": "#/definitions/ermcp.HisExposureRsp"
  2564. }
  2565. }
  2566. },
  2567. "500": {
  2568. "description": "Internal Server Error",
  2569. "schema": {
  2570. "$ref": "#/definitions/app.Response"
  2571. }
  2572. }
  2573. }
  2574. }
  2575. },
  2576. "/Ermcp/QueryMiddleGoods": {
  2577. "get": {
  2578. "security": [
  2579. {
  2580. "ApiKeyAuth": []
  2581. }
  2582. ],
  2583. "produces": [
  2584. "application/json"
  2585. ],
  2586. "tags": [
  2587. "企业风险管理(app)"
  2588. ],
  2589. "summary": "查询套保品种(菜单:套保品种)",
  2590. "parameters": [
  2591. {
  2592. "type": "integer",
  2593. "description": "所属机构ID",
  2594. "name": "userid",
  2595. "in": "query",
  2596. "required": true
  2597. },
  2598. {
  2599. "type": "integer",
  2600. "description": "状态 0-停用 1-正常",
  2601. "name": "status",
  2602. "in": "query",
  2603. "required": true
  2604. }
  2605. ],
  2606. "responses": {
  2607. "200": {
  2608. "description": "OK",
  2609. "schema": {
  2610. "type": "array",
  2611. "items": {
  2612. "$ref": "#/definitions/ermcp.QryMiddleGoodsRsp"
  2613. }
  2614. }
  2615. },
  2616. "500": {
  2617. "description": "Internal Server Error",
  2618. "schema": {
  2619. "$ref": "#/definitions/app.Response"
  2620. }
  2621. }
  2622. }
  2623. }
  2624. },
  2625. "/Ermcp/QueryMiddleGoodsChangeLog": {
  2626. "get": {
  2627. "security": [
  2628. {
  2629. "ApiKeyAuth": []
  2630. }
  2631. ],
  2632. "produces": [
  2633. "application/json"
  2634. ],
  2635. "tags": [
  2636. "企业风险管理(app)"
  2637. ],
  2638. "summary": "查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)",
  2639. "parameters": [
  2640. {
  2641. "type": "integer",
  2642. "description": "所属机构ID",
  2643. "name": "userid",
  2644. "in": "query",
  2645. "required": true
  2646. },
  2647. {
  2648. "type": "integer",
  2649. "description": "套保品种id",
  2650. "name": "middlegoodsid",
  2651. "in": "query",
  2652. "required": true
  2653. }
  2654. ],
  2655. "responses": {
  2656. "200": {
  2657. "description": "OK",
  2658. "schema": {
  2659. "type": "array",
  2660. "items": {
  2661. "$ref": "#/definitions/ermcp.QryMGChangeLogRsp"
  2662. }
  2663. }
  2664. },
  2665. "500": {
  2666. "description": "Internal Server Error",
  2667. "schema": {
  2668. "$ref": "#/definitions/app.Response"
  2669. }
  2670. }
  2671. }
  2672. }
  2673. },
  2674. "/Ermcp/QueryMiddleGoodsDetail": {
  2675. "get": {
  2676. "security": [
  2677. {
  2678. "ApiKeyAuth": []
  2679. }
  2680. ],
  2681. "produces": [
  2682. "application/json"
  2683. ],
  2684. "tags": [
  2685. "企业风险管理(app)"
  2686. ],
  2687. "summary": "查询套保品种详情(菜单:套保品种/商品详情)",
  2688. "parameters": [
  2689. {
  2690. "type": "integer",
  2691. "description": "所属机构ID",
  2692. "name": "userid",
  2693. "in": "query",
  2694. "required": true
  2695. },
  2696. {
  2697. "type": "integer",
  2698. "description": "套保品种id",
  2699. "name": "middlegoodsid",
  2700. "in": "query"
  2701. }
  2702. ],
  2703. "responses": {
  2704. "200": {
  2705. "description": "OK",
  2706. "schema": {
  2707. "type": "array",
  2708. "items": {
  2709. "$ref": "#/definitions/ermcp.QryMiddleGoodsDetailRsp"
  2710. }
  2711. }
  2712. },
  2713. "500": {
  2714. "description": "Internal Server Error",
  2715. "schema": {
  2716. "$ref": "#/definitions/app.Response"
  2717. }
  2718. }
  2719. }
  2720. }
  2721. },
  2722. "/Ermcp/QueryPendingAuditInfo": {
  2723. "get": {
  2724. "security": [
  2725. {
  2726. "ApiKeyAuth": []
  2727. }
  2728. ],
  2729. "produces": [
  2730. "application/json"
  2731. ],
  2732. "tags": [
  2733. "企业风险管理(app)"
  2734. ],
  2735. "summary": "查询待审核数量信息(首页/菜单按钮小红点)",
  2736. "parameters": [
  2737. {
  2738. "type": "integer",
  2739. "description": "用户ID",
  2740. "name": "UserId",
  2741. "in": "query",
  2742. "required": true
  2743. }
  2744. ],
  2745. "responses": {
  2746. "200": {
  2747. "description": "OK",
  2748. "schema": {
  2749. "type": "array",
  2750. "items": {
  2751. "$ref": "#/definitions/ermcp.PendingAuditCntRsp"
  2752. }
  2753. }
  2754. },
  2755. "500": {
  2756. "description": "Internal Server Error",
  2757. "schema": {
  2758. "$ref": "#/definitions/app.Response"
  2759. }
  2760. }
  2761. }
  2762. }
  2763. },
  2764. "/Ermcp/QueryRealtimeExposure": {
  2765. "get": {
  2766. "security": [
  2767. {
  2768. "ApiKeyAuth": []
  2769. }
  2770. ],
  2771. "produces": [
  2772. "application/json"
  2773. ],
  2774. "tags": [
  2775. "企业风险管理(app)"
  2776. ],
  2777. "summary": "查询实时敞口",
  2778. "parameters": [
  2779. {
  2780. "type": "integer",
  2781. "description": "所属机构ID",
  2782. "name": "userid",
  2783. "in": "query",
  2784. "required": true
  2785. }
  2786. ],
  2787. "responses": {
  2788. "200": {
  2789. "description": "OK",
  2790. "schema": {
  2791. "type": "array",
  2792. "items": {
  2793. "$ref": "#/definitions/ermcp.RealtimeExposureRsp"
  2794. }
  2795. }
  2796. },
  2797. "500": {
  2798. "description": "Internal Server Error",
  2799. "schema": {
  2800. "$ref": "#/definitions/app.Response"
  2801. }
  2802. }
  2803. }
  2804. }
  2805. },
  2806. "/Ermcp/QueryRealtimeExposurePosition": {
  2807. "get": {
  2808. "security": [
  2809. {
  2810. "ApiKeyAuth": []
  2811. }
  2812. ],
  2813. "produces": [
  2814. "application/json"
  2815. ],
  2816. "tags": [
  2817. "企业风险管理(app)"
  2818. ],
  2819. "summary": "查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)",
  2820. "parameters": [
  2821. {
  2822. "type": "integer",
  2823. "description": "用户id",
  2824. "name": "userid",
  2825. "in": "query",
  2826. "required": true
  2827. },
  2828. {
  2829. "type": "integer",
  2830. "description": "套保商品ID",
  2831. "name": "middleGoodsId",
  2832. "in": "query",
  2833. "required": true
  2834. }
  2835. ],
  2836. "responses": {
  2837. "200": {
  2838. "description": "OK",
  2839. "schema": {
  2840. "type": "array",
  2841. "items": {
  2842. "$ref": "#/definitions/ermcp.RealtimeExposurePositionRsp"
  2843. }
  2844. }
  2845. },
  2846. "500": {
  2847. "description": "Internal Server Error",
  2848. "schema": {
  2849. "$ref": "#/definitions/app.Response"
  2850. }
  2851. }
  2852. }
  2853. }
  2854. },
  2855. "/Ermcp/QueryRoleMenu": {
  2856. "get": {
  2857. "security": [
  2858. {
  2859. "ApiKeyAuth": []
  2860. }
  2861. ],
  2862. "produces": [
  2863. "application/json"
  2864. ],
  2865. "tags": [
  2866. "企业风险管理(app)"
  2867. ],
  2868. "summary": "查询角色菜单和权限",
  2869. "parameters": [
  2870. {
  2871. "type": "integer",
  2872. "description": "登录ID",
  2873. "name": "loginid",
  2874. "in": "query",
  2875. "required": true
  2876. },
  2877. {
  2878. "type": "integer",
  2879. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易",
  2880. "name": "menutype",
  2881. "in": "query"
  2882. }
  2883. ],
  2884. "responses": {
  2885. "200": {
  2886. "description": "OK",
  2887. "schema": {
  2888. "type": "array",
  2889. "items": {
  2890. "$ref": "#/definitions/models.RoleMenu"
  2891. }
  2892. }
  2893. },
  2894. "500": {
  2895. "description": "Internal Server Error",
  2896. "schema": {
  2897. "$ref": "#/definitions/app.Response"
  2898. }
  2899. }
  2900. }
  2901. }
  2902. },
  2903. "/Ermcp/QueryTradeConfigTMP": {
  2904. "get": {
  2905. "security": [
  2906. {
  2907. "ApiKeyAuth": []
  2908. }
  2909. ],
  2910. "produces": [
  2911. "application/json"
  2912. ],
  2913. "tags": [
  2914. "企业风险管理(app)"
  2915. ],
  2916. "summary": "查询交易模板配置",
  2917. "parameters": [
  2918. {
  2919. "type": "integer",
  2920. "description": "所属机构id",
  2921. "name": "areauserid",
  2922. "in": "query"
  2923. }
  2924. ],
  2925. "responses": {
  2926. "200": {
  2927. "description": "OK",
  2928. "schema": {
  2929. "type": "array",
  2930. "items": {
  2931. "$ref": "#/definitions/models.ErmcpTradeConfigTMP"
  2932. }
  2933. }
  2934. },
  2935. "500": {
  2936. "description": "Internal Server Error",
  2937. "schema": {
  2938. "$ref": "#/definitions/app.Response"
  2939. }
  2940. }
  2941. }
  2942. }
  2943. },
  2944. "/Ermcp/QueryUserInfo": {
  2945. "get": {
  2946. "security": [
  2947. {
  2948. "ApiKeyAuth": []
  2949. }
  2950. ],
  2951. "produces": [
  2952. "application/json"
  2953. ],
  2954. "tags": [
  2955. "企业风险管理(app)"
  2956. ],
  2957. "summary": "查询客户资料",
  2958. "parameters": [
  2959. {
  2960. "type": "integer",
  2961. "description": "所属机构用户ID",
  2962. "name": "MemberUserID",
  2963. "in": "query",
  2964. "required": true
  2965. },
  2966. {
  2967. "type": "integer",
  2968. "description": "查询类型(1:未提交 2:待审核 3:正常 4:停用)",
  2969. "name": "queryType",
  2970. "in": "query",
  2971. "required": true
  2972. }
  2973. ],
  2974. "responses": {
  2975. "200": {
  2976. "description": "OK",
  2977. "schema": {
  2978. "type": "array",
  2979. "items": {
  2980. "$ref": "#/definitions/ermcp.QryUserInfoRsp"
  2981. }
  2982. }
  2983. },
  2984. "500": {
  2985. "description": "Internal Server Error",
  2986. "schema": {
  2987. "$ref": "#/definitions/app.Response"
  2988. }
  2989. }
  2990. }
  2991. }
  2992. },
  2993. "/Ermcp/QueryWarehouseInfo": {
  2994. "get": {
  2995. "security": [
  2996. {
  2997. "ApiKeyAuth": []
  2998. }
  2999. ],
  3000. "produces": [
  3001. "application/json"
  3002. ],
  3003. "tags": [
  3004. "企业风险管理(app)"
  3005. ],
  3006. "summary": "查询仓库信息",
  3007. "parameters": [
  3008. {
  3009. "type": "integer",
  3010. "description": "用户ID",
  3011. "name": "userid",
  3012. "in": "query",
  3013. "required": true
  3014. },
  3015. {
  3016. "type": "string",
  3017. "description": "仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝",
  3018. "name": "status",
  3019. "in": "query"
  3020. }
  3021. ],
  3022. "responses": {
  3023. "200": {
  3024. "description": "OK",
  3025. "schema": {
  3026. "type": "array",
  3027. "items": {
  3028. "$ref": "#/definitions/ermcp.QryWarehouseRsp"
  3029. }
  3030. }
  3031. },
  3032. "500": {
  3033. "description": "Internal Server Error",
  3034. "schema": {
  3035. "$ref": "#/definitions/app.Response"
  3036. }
  3037. }
  3038. }
  3039. }
  3040. },
  3041. "/Ermcp3/QryAreaExpourseContractDetail": {
  3042. "get": {
  3043. "security": [
  3044. {
  3045. "ApiKeyAuth": []
  3046. }
  3047. ],
  3048. "produces": [
  3049. "application/json"
  3050. ],
  3051. "tags": [
  3052. "企业风险管理v3(app)"
  3053. ],
  3054. "summary": "查询敞口合同明细(敞口报表/现货合同明细)",
  3055. "parameters": [
  3056. {
  3057. "type": "integer",
  3058. "description": "用户ID",
  3059. "name": "userid",
  3060. "in": "query",
  3061. "required": true
  3062. },
  3063. {
  3064. "type": "integer",
  3065. "description": "套保商品id",
  3066. "name": "middlegoodsid",
  3067. "in": "query",
  3068. "required": true
  3069. },
  3070. {
  3071. "type": "integer",
  3072. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3073. "name": "cycletype",
  3074. "in": "query",
  3075. "required": true
  3076. },
  3077. {
  3078. "type": "string",
  3079. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3080. "name": "cycletime",
  3081. "in": "query",
  3082. "required": true
  3083. }
  3084. ],
  3085. "responses": {
  3086. "200": {
  3087. "description": "OK",
  3088. "schema": {
  3089. "type": "array",
  3090. "items": {
  3091. "$ref": "#/definitions/models.Ermcp3ExposureContractDetail"
  3092. }
  3093. }
  3094. },
  3095. "500": {
  3096. "description": "Internal Server Error",
  3097. "schema": {
  3098. "$ref": "#/definitions/app.Response"
  3099. }
  3100. }
  3101. }
  3102. }
  3103. },
  3104. "/Ermcp3/QryAreaExpourseFutuDetail": {
  3105. "get": {
  3106. "security": [
  3107. {
  3108. "ApiKeyAuth": []
  3109. }
  3110. ],
  3111. "produces": [
  3112. "application/json"
  3113. ],
  3114. "tags": [
  3115. "企业风险管理v3(app)"
  3116. ],
  3117. "summary": "查询敞口期货明细(敞口报表/期货明细)",
  3118. "parameters": [
  3119. {
  3120. "type": "integer",
  3121. "description": "用户ID",
  3122. "name": "userid",
  3123. "in": "query",
  3124. "required": true
  3125. },
  3126. {
  3127. "type": "integer",
  3128. "description": "套保商品id",
  3129. "name": "middlegoodsid",
  3130. "in": "query",
  3131. "required": true
  3132. },
  3133. {
  3134. "type": "integer",
  3135. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3136. "name": "cycletype",
  3137. "in": "query",
  3138. "required": true
  3139. },
  3140. {
  3141. "type": "string",
  3142. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3143. "name": "cycletime",
  3144. "in": "query",
  3145. "required": true
  3146. }
  3147. ],
  3148. "responses": {
  3149. "200": {
  3150. "description": "OK",
  3151. "schema": {
  3152. "type": "array",
  3153. "items": {
  3154. "$ref": "#/definitions/models.Ermcp3ExposureFutuDetail"
  3155. }
  3156. }
  3157. },
  3158. "500": {
  3159. "description": "Internal Server Error",
  3160. "schema": {
  3161. "$ref": "#/definitions/app.Response"
  3162. }
  3163. }
  3164. }
  3165. }
  3166. },
  3167. "/Ermcp3/QryAreaExpourseHedgeplanDetail": {
  3168. "get": {
  3169. "security": [
  3170. {
  3171. "ApiKeyAuth": []
  3172. }
  3173. ],
  3174. "produces": [
  3175. "application/json"
  3176. ],
  3177. "tags": [
  3178. "企业风险管理v3(app)"
  3179. ],
  3180. "summary": "查询敞口套保计划明细(敞口报表/套保计划明细)",
  3181. "parameters": [
  3182. {
  3183. "type": "integer",
  3184. "description": "用户ID",
  3185. "name": "userid",
  3186. "in": "query",
  3187. "required": true
  3188. },
  3189. {
  3190. "type": "integer",
  3191. "description": "套保商品id",
  3192. "name": "middlegoodsid",
  3193. "in": "query",
  3194. "required": true
  3195. },
  3196. {
  3197. "type": "integer",
  3198. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3199. "name": "cycletype",
  3200. "in": "query",
  3201. "required": true
  3202. },
  3203. {
  3204. "type": "string",
  3205. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3206. "name": "cycletime",
  3207. "in": "query",
  3208. "required": true
  3209. }
  3210. ],
  3211. "responses": {
  3212. "200": {
  3213. "description": "OK",
  3214. "schema": {
  3215. "type": "array",
  3216. "items": {
  3217. "$ref": "#/definitions/models.Ermcp3ExposureHedgeplanDetail"
  3218. }
  3219. }
  3220. },
  3221. "500": {
  3222. "description": "Internal Server Error",
  3223. "schema": {
  3224. "$ref": "#/definitions/app.Response"
  3225. }
  3226. }
  3227. }
  3228. }
  3229. },
  3230. "/Ermcp3/QryAreaExpourseParamChLogDetail": {
  3231. "get": {
  3232. "security": [
  3233. {
  3234. "ApiKeyAuth": []
  3235. }
  3236. ],
  3237. "produces": [
  3238. "application/json"
  3239. ],
  3240. "tags": [
  3241. "企业风险管理v3(app)"
  3242. ],
  3243. "summary": "查询敞口参数调整明细(敞口报表/参数调整明细)",
  3244. "parameters": [
  3245. {
  3246. "type": "integer",
  3247. "description": "用户ID",
  3248. "name": "userid",
  3249. "in": "query",
  3250. "required": true
  3251. },
  3252. {
  3253. "type": "integer",
  3254. "description": "套保商品id",
  3255. "name": "middlegoodsid",
  3256. "in": "query",
  3257. "required": true
  3258. },
  3259. {
  3260. "type": "integer",
  3261. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3262. "name": "cycletype",
  3263. "in": "query",
  3264. "required": true
  3265. },
  3266. {
  3267. "type": "string",
  3268. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3269. "name": "cycletime",
  3270. "in": "query",
  3271. "required": true
  3272. }
  3273. ],
  3274. "responses": {
  3275. "200": {
  3276. "description": "OK",
  3277. "schema": {
  3278. "type": "array",
  3279. "items": {
  3280. "$ref": "#/definitions/models.Ermcp3ExposureParamChLog"
  3281. }
  3282. }
  3283. },
  3284. "500": {
  3285. "description": "Internal Server Error",
  3286. "schema": {
  3287. "$ref": "#/definitions/app.Response"
  3288. }
  3289. }
  3290. }
  3291. }
  3292. },
  3293. "/Ermcp3/QryAreaExpourseReport": {
  3294. "get": {
  3295. "security": [
  3296. {
  3297. "ApiKeyAuth": []
  3298. }
  3299. ],
  3300. "produces": [
  3301. "application/json"
  3302. ],
  3303. "tags": [
  3304. "企业风险管理v3(app)"
  3305. ],
  3306. "summary": "查询敞口报表",
  3307. "parameters": [
  3308. {
  3309. "type": "integer",
  3310. "description": "用户ID",
  3311. "name": "userid",
  3312. "in": "query",
  3313. "required": true
  3314. },
  3315. {
  3316. "type": "integer",
  3317. "description": "查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口",
  3318. "name": "querytype",
  3319. "in": "query",
  3320. "required": true
  3321. },
  3322. {
  3323. "type": "integer",
  3324. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3325. "name": "cycletype",
  3326. "in": "query",
  3327. "required": true
  3328. },
  3329. {
  3330. "type": "string",
  3331. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3332. "name": "cycletime",
  3333. "in": "query",
  3334. "required": true
  3335. }
  3336. ],
  3337. "responses": {
  3338. "200": {
  3339. "description": "OK",
  3340. "schema": {
  3341. "type": "array",
  3342. "items": {
  3343. "$ref": "#/definitions/models.Ermcp3ExpourseReport"
  3344. }
  3345. }
  3346. },
  3347. "500": {
  3348. "description": "Internal Server Error",
  3349. "schema": {
  3350. "$ref": "#/definitions/app.Response"
  3351. }
  3352. }
  3353. }
  3354. }
  3355. },
  3356. "/Ermcp3/QryAreaSpotplReport": {
  3357. "get": {
  3358. "security": [
  3359. {
  3360. "ApiKeyAuth": []
  3361. }
  3362. ],
  3363. "produces": [
  3364. "application/json"
  3365. ],
  3366. "tags": [
  3367. "企业风险管理v3(app)"
  3368. ],
  3369. "summary": "查询现货报表",
  3370. "parameters": [
  3371. {
  3372. "type": "integer",
  3373. "description": "用户ID",
  3374. "name": "userid",
  3375. "in": "query",
  3376. "required": true
  3377. },
  3378. {
  3379. "type": "integer",
  3380. "description": "查询类型 1-报表 2-报表明细",
  3381. "name": "querytype",
  3382. "in": "query",
  3383. "required": true
  3384. },
  3385. {
  3386. "type": "integer",
  3387. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3388. "name": "cycletype",
  3389. "in": "query",
  3390. "required": true
  3391. },
  3392. {
  3393. "type": "string",
  3394. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3395. "name": "cycletime",
  3396. "in": "query",
  3397. "required": true
  3398. },
  3399. {
  3400. "type": "integer",
  3401. "description": "现货品种id(明细必填)",
  3402. "name": "deliverygoodsid",
  3403. "in": "query"
  3404. },
  3405. {
  3406. "type": "integer",
  3407. "description": "币种id(明细必填)",
  3408. "name": "currencyid",
  3409. "in": "query"
  3410. }
  3411. ],
  3412. "responses": {
  3413. "200": {
  3414. "description": "OK",
  3415. "schema": {
  3416. "type": "array",
  3417. "items": {
  3418. "$ref": "#/definitions/models.Ermcp3AreaSpotPLReport"
  3419. }
  3420. }
  3421. },
  3422. "500": {
  3423. "description": "Internal Server Error",
  3424. "schema": {
  3425. "$ref": "#/definitions/app.Response"
  3426. }
  3427. }
  3428. }
  3429. }
  3430. },
  3431. "/Ermcp3/QryAreaStockReport": {
  3432. "get": {
  3433. "security": [
  3434. {
  3435. "ApiKeyAuth": []
  3436. }
  3437. ],
  3438. "produces": [
  3439. "application/json"
  3440. ],
  3441. "tags": [
  3442. "企业风险管理v3(app)"
  3443. ],
  3444. "summary": "查询库存报表",
  3445. "parameters": [
  3446. {
  3447. "type": "integer",
  3448. "description": "用户ID",
  3449. "name": "userid",
  3450. "in": "query",
  3451. "required": true
  3452. },
  3453. {
  3454. "type": "integer",
  3455. "description": "查询类型 1-报表 2-报表明细",
  3456. "name": "querytype",
  3457. "in": "query",
  3458. "required": true
  3459. },
  3460. {
  3461. "type": "integer",
  3462. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3463. "name": "cycletype",
  3464. "in": "query",
  3465. "required": true
  3466. },
  3467. {
  3468. "type": "string",
  3469. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3470. "name": "cycletime",
  3471. "in": "query",
  3472. "required": true
  3473. },
  3474. {
  3475. "type": "string",
  3476. "description": "汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库",
  3477. "name": "sumfields",
  3478. "in": "query"
  3479. },
  3480. {
  3481. "type": "integer",
  3482. "description": "品种ID",
  3483. "name": "deliverygoodsid",
  3484. "in": "query"
  3485. },
  3486. {
  3487. "type": "integer",
  3488. "description": "品类ID",
  3489. "name": "wrstandardid",
  3490. "in": "query"
  3491. },
  3492. {
  3493. "type": "integer",
  3494. "description": "品牌ID",
  3495. "name": "spotgoodsbrandid",
  3496. "in": "query"
  3497. },
  3498. {
  3499. "type": "integer",
  3500. "description": "仓库ID",
  3501. "name": "warehouseinfoid",
  3502. "in": "query"
  3503. }
  3504. ],
  3505. "responses": {
  3506. "200": {
  3507. "description": "OK",
  3508. "schema": {
  3509. "type": "array",
  3510. "items": {
  3511. "$ref": "#/definitions/models.Ermcp3AreaStockReportEx"
  3512. }
  3513. }
  3514. },
  3515. "500": {
  3516. "description": "Internal Server Error",
  3517. "schema": {
  3518. "$ref": "#/definitions/app.Response"
  3519. }
  3520. }
  3521. }
  3522. }
  3523. },
  3524. "/Ermcp3/QryAreaSumPL": {
  3525. "get": {
  3526. "security": [
  3527. {
  3528. "ApiKeyAuth": []
  3529. }
  3530. ],
  3531. "produces": [
  3532. "application/json"
  3533. ],
  3534. "tags": [
  3535. "企业风险管理v3(app)"
  3536. ],
  3537. "summary": "查询汇总损益表",
  3538. "parameters": [
  3539. {
  3540. "type": "integer",
  3541. "description": "用户ID",
  3542. "name": "userid",
  3543. "in": "query",
  3544. "required": true
  3545. },
  3546. {
  3547. "type": "integer",
  3548. "description": "查询类型 1-报表 2-报表明细",
  3549. "name": "querytype",
  3550. "in": "query",
  3551. "required": true
  3552. },
  3553. {
  3554. "type": "integer",
  3555. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3556. "name": "cycletype",
  3557. "in": "query",
  3558. "required": true
  3559. },
  3560. {
  3561. "type": "string",
  3562. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3563. "name": "cycletime",
  3564. "in": "query",
  3565. "required": true
  3566. },
  3567. {
  3568. "type": "integer",
  3569. "description": "币种id(明细必填)",
  3570. "name": "currencyid",
  3571. "in": "query"
  3572. }
  3573. ],
  3574. "responses": {
  3575. "200": {
  3576. "description": "OK",
  3577. "schema": {
  3578. "type": "array",
  3579. "items": {
  3580. "$ref": "#/definitions/models.Ermcp3ArealSumPL"
  3581. }
  3582. }
  3583. },
  3584. "500": {
  3585. "description": "Internal Server Error",
  3586. "schema": {
  3587. "$ref": "#/definitions/app.Response"
  3588. }
  3589. }
  3590. }
  3591. }
  3592. },
  3593. "/Ermcp3/QryFinanceReport": {
  3594. "get": {
  3595. "security": [
  3596. {
  3597. "ApiKeyAuth": []
  3598. }
  3599. ],
  3600. "produces": [
  3601. "application/json"
  3602. ],
  3603. "tags": [
  3604. "企业风险管理v3(app)"
  3605. ],
  3606. "summary": "查询财务报表",
  3607. "parameters": [
  3608. {
  3609. "type": "integer",
  3610. "description": "用户ID",
  3611. "name": "userid",
  3612. "in": "query",
  3613. "required": true
  3614. },
  3615. {
  3616. "type": "integer",
  3617. "description": "查询类型 1-报表 2-报表明细",
  3618. "name": "querytype",
  3619. "in": "query",
  3620. "required": true
  3621. },
  3622. {
  3623. "type": "integer",
  3624. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3625. "name": "cycletype",
  3626. "in": "query",
  3627. "required": true
  3628. },
  3629. {
  3630. "type": "string",
  3631. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3632. "name": "cycletime",
  3633. "in": "query",
  3634. "required": true
  3635. },
  3636. {
  3637. "type": "integer",
  3638. "description": "币种id(报表明细必填)",
  3639. "name": "currencyid",
  3640. "in": "query"
  3641. },
  3642. {
  3643. "type": "string",
  3644. "description": "汇总维度(逗号隔开) 1-品种 2-品类 3-品牌",
  3645. "name": "sumfields",
  3646. "in": "query"
  3647. }
  3648. ],
  3649. "responses": {
  3650. "200": {
  3651. "description": "OK",
  3652. "schema": {
  3653. "type": "array",
  3654. "items": {
  3655. "$ref": "#/definitions/models.Ermcp3FinanceReport"
  3656. }
  3657. }
  3658. },
  3659. "500": {
  3660. "description": "Internal Server Error",
  3661. "schema": {
  3662. "$ref": "#/definitions/app.Response"
  3663. }
  3664. }
  3665. }
  3666. }
  3667. },
  3668. "/Ermcp3/QrySCMiddleGoodsReport": {
  3669. "get": {
  3670. "security": [
  3671. {
  3672. "ApiKeyAuth": []
  3673. }
  3674. ],
  3675. "produces": [
  3676. "application/json"
  3677. ],
  3678. "tags": [
  3679. "企业风险管理v3(app)"
  3680. ],
  3681. "summary": "查询定价报表",
  3682. "parameters": [
  3683. {
  3684. "type": "integer",
  3685. "description": "用户ID",
  3686. "name": "userid",
  3687. "in": "query",
  3688. "required": true
  3689. },
  3690. {
  3691. "type": "integer",
  3692. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3693. "name": "cycletype",
  3694. "in": "query",
  3695. "required": true
  3696. },
  3697. {
  3698. "type": "string",
  3699. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3700. "name": "cycletime",
  3701. "in": "query",
  3702. "required": true
  3703. },
  3704. {
  3705. "type": "integer",
  3706. "description": "合同id",
  3707. "name": "spotcontractid",
  3708. "in": "query"
  3709. },
  3710. {
  3711. "type": "integer",
  3712. "description": "套保品种id",
  3713. "name": "middlegoodsid",
  3714. "in": "query"
  3715. },
  3716. {
  3717. "type": "integer",
  3718. "description": "现货品种id",
  3719. "name": "deliverygoodsid",
  3720. "in": "query"
  3721. },
  3722. {
  3723. "type": "integer",
  3724. "description": "现货商品id",
  3725. "name": "wrstandardid",
  3726. "in": "query"
  3727. },
  3728. {
  3729. "type": "string",
  3730. "description": "合同编号(模糊匹配)",
  3731. "name": "contractno",
  3732. "in": "query"
  3733. }
  3734. ],
  3735. "responses": {
  3736. "200": {
  3737. "description": "OK",
  3738. "schema": {
  3739. "type": "array",
  3740. "items": {
  3741. "$ref": "#/definitions/models.Ermcp3SCMiddleGoodsReport"
  3742. }
  3743. }
  3744. },
  3745. "500": {
  3746. "description": "Internal Server Error",
  3747. "schema": {
  3748. "$ref": "#/definitions/app.Response"
  3749. }
  3750. }
  3751. }
  3752. }
  3753. },
  3754. "/Ermcp3/QryTaFutureDataReport": {
  3755. "get": {
  3756. "security": [
  3757. {
  3758. "ApiKeyAuth": []
  3759. }
  3760. ],
  3761. "produces": [
  3762. "application/json"
  3763. ],
  3764. "tags": [
  3765. "企业风险管理v3(app)"
  3766. ],
  3767. "summary": "查询期货报表",
  3768. "parameters": [
  3769. {
  3770. "type": "integer",
  3771. "description": "用户ID",
  3772. "name": "userid",
  3773. "in": "query",
  3774. "required": true
  3775. },
  3776. {
  3777. "type": "integer",
  3778. "description": "查询类型 1-报表 2-报表明细",
  3779. "name": "querytype",
  3780. "in": "query",
  3781. "required": true
  3782. },
  3783. {
  3784. "type": "integer",
  3785. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3786. "name": "cycletype",
  3787. "in": "query",
  3788. "required": true
  3789. },
  3790. {
  3791. "type": "string",
  3792. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3793. "name": "cycletime",
  3794. "in": "query",
  3795. "required": true
  3796. },
  3797. {
  3798. "type": "integer",
  3799. "description": "币种id(查明细必填)",
  3800. "name": "currencyid",
  3801. "in": "query"
  3802. },
  3803. {
  3804. "type": "integer",
  3805. "description": "品种id(查明细必填)",
  3806. "name": "goodsgroupid",
  3807. "in": "query"
  3808. },
  3809. {
  3810. "type": "integer",
  3811. "description": "商品id(查明细必填)",
  3812. "name": "goodsid",
  3813. "in": "query"
  3814. },
  3815. {
  3816. "type": "integer",
  3817. "description": "买卖方向(查明细必填)",
  3818. "name": "buyorsell",
  3819. "in": "query"
  3820. }
  3821. ],
  3822. "responses": {
  3823. "200": {
  3824. "description": "OK",
  3825. "schema": {
  3826. "type": "array",
  3827. "items": {
  3828. "$ref": "#/definitions/models.Ermcp3TaFutuReDataReport"
  3829. }
  3830. }
  3831. },
  3832. "500": {
  3833. "description": "Internal Server Error",
  3834. "schema": {
  3835. "$ref": "#/definitions/app.Response"
  3836. }
  3837. }
  3838. }
  3839. }
  3840. },
  3841. "/Ermcp3/QueryAreaStock": {
  3842. "get": {
  3843. "security": [
  3844. {
  3845. "ApiKeyAuth": []
  3846. }
  3847. ],
  3848. "produces": [
  3849. "application/json"
  3850. ],
  3851. "tags": [
  3852. "企业风险管理v3(app)"
  3853. ],
  3854. "summary": "查询机构库存(库存管理/当前库存)",
  3855. "parameters": [
  3856. {
  3857. "type": "integer",
  3858. "description": "用户ID",
  3859. "name": "userid",
  3860. "in": "query",
  3861. "required": true
  3862. }
  3863. ],
  3864. "responses": {
  3865. "200": {
  3866. "description": "OK",
  3867. "schema": {
  3868. "type": "array",
  3869. "items": {
  3870. "$ref": "#/definitions/models.Ermcp3AreaStock"
  3871. }
  3872. }
  3873. },
  3874. "500": {
  3875. "description": "Internal Server Error",
  3876. "schema": {
  3877. "$ref": "#/definitions/app.Response"
  3878. }
  3879. }
  3880. }
  3881. }
  3882. },
  3883. "/Ermcp3/QueryAreaStockApply": {
  3884. "get": {
  3885. "security": [
  3886. {
  3887. "ApiKeyAuth": []
  3888. }
  3889. ],
  3890. "produces": [
  3891. "application/json"
  3892. ],
  3893. "tags": [
  3894. "企业风险管理v3(app)"
  3895. ],
  3896. "summary": "查询库存申请(出入库记录|库存审核)",
  3897. "parameters": [
  3898. {
  3899. "type": "integer",
  3900. "description": "用户ID",
  3901. "name": "userid",
  3902. "in": "query",
  3903. "required": true
  3904. },
  3905. {
  3906. "type": "integer",
  3907. "description": "用户类型 2-机构 7-企业成员",
  3908. "name": "usertype",
  3909. "in": "query"
  3910. },
  3911. {
  3912. "type": "integer",
  3913. "description": "现货商品ID",
  3914. "name": "deliverygoodsid",
  3915. "in": "query"
  3916. },
  3917. {
  3918. "type": "string",
  3919. "description": "出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  3920. "name": "inouttype",
  3921. "in": "query"
  3922. },
  3923. {
  3924. "type": "integer",
  3925. "description": "合同ID",
  3926. "name": "spotcontractid",
  3927. "in": "query"
  3928. },
  3929. {
  3930. "type": "integer",
  3931. "description": "品类ID",
  3932. "name": "wrstandardid",
  3933. "in": "query"
  3934. },
  3935. {
  3936. "type": "integer",
  3937. "description": "品牌ID",
  3938. "name": "spotgoodsbrandid",
  3939. "in": "query"
  3940. },
  3941. {
  3942. "type": "integer",
  3943. "description": "仓库ID",
  3944. "name": "warehouseinfoid",
  3945. "in": "query"
  3946. },
  3947. {
  3948. "type": "string",
  3949. "description": "申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  3950. "name": "applystatus",
  3951. "in": "query"
  3952. }
  3953. ],
  3954. "responses": {
  3955. "200": {
  3956. "description": "OK",
  3957. "schema": {
  3958. "type": "array",
  3959. "items": {
  3960. "$ref": "#/definitions/models.Ermcp3AreaStockApply"
  3961. }
  3962. }
  3963. },
  3964. "500": {
  3965. "description": "Internal Server Error",
  3966. "schema": {
  3967. "$ref": "#/definitions/app.Response"
  3968. }
  3969. }
  3970. }
  3971. }
  3972. },
  3973. "/Ermcp3/QueryAreaStockApplySum": {
  3974. "get": {
  3975. "security": [
  3976. {
  3977. "ApiKeyAuth": []
  3978. }
  3979. ],
  3980. "produces": [
  3981. "application/json"
  3982. ],
  3983. "tags": [
  3984. "企业风险管理v3(app)"
  3985. ],
  3986. "summary": "查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)",
  3987. "parameters": [
  3988. {
  3989. "type": "integer",
  3990. "description": "合同ID",
  3991. "name": "spotcontractid",
  3992. "in": "query",
  3993. "required": true
  3994. }
  3995. ],
  3996. "responses": {
  3997. "200": {
  3998. "description": "OK",
  3999. "schema": {
  4000. "type": "array",
  4001. "items": {
  4002. "$ref": "#/definitions/models.Ermcp3AreaStockApplySum"
  4003. }
  4004. }
  4005. },
  4006. "500": {
  4007. "description": "Internal Server Error",
  4008. "schema": {
  4009. "$ref": "#/definitions/app.Response"
  4010. }
  4011. }
  4012. }
  4013. }
  4014. },
  4015. "/Ermcp3/QueryDGFactoryItem": {
  4016. "get": {
  4017. "security": [
  4018. {
  4019. "ApiKeyAuth": []
  4020. }
  4021. ],
  4022. "produces": [
  4023. "application/json"
  4024. ],
  4025. "tags": [
  4026. "企业风险管理v3(app)"
  4027. ],
  4028. "summary": "查询品种要素定义项",
  4029. "parameters": [
  4030. {
  4031. "type": "integer",
  4032. "description": "用户id",
  4033. "name": "userid",
  4034. "in": "query"
  4035. },
  4036. {
  4037. "type": "integer",
  4038. "description": "用户类型 2-机构 7-企业成员",
  4039. "name": "usertype",
  4040. "in": "query"
  4041. },
  4042. {
  4043. "type": "integer",
  4044. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  4045. "name": "dgfactoryitemid",
  4046. "in": "query"
  4047. },
  4048. {
  4049. "type": "integer",
  4050. "description": "现货品种ID",
  4051. "name": "deliverygoodsid",
  4052. "in": "query"
  4053. },
  4054. {
  4055. "type": "integer",
  4056. "description": "要素项类型",
  4057. "name": "dgfactoryitemtypeid",
  4058. "in": "query"
  4059. },
  4060. {
  4061. "type": "integer",
  4062. "description": "顺序",
  4063. "name": "orderindex",
  4064. "in": "query"
  4065. }
  4066. ],
  4067. "responses": {
  4068. "200": {
  4069. "description": "OK",
  4070. "schema": {
  4071. "type": "array",
  4072. "items": {
  4073. "$ref": "#/definitions/models.ErmcpDGFactoryItem"
  4074. }
  4075. }
  4076. },
  4077. "500": {
  4078. "description": "Internal Server Error",
  4079. "schema": {
  4080. "$ref": "#/definitions/app.Response"
  4081. }
  4082. }
  4083. }
  4084. }
  4085. },
  4086. "/Ermcp3/QueryDeliveryGoods": {
  4087. "get": {
  4088. "security": [
  4089. {
  4090. "ApiKeyAuth": []
  4091. }
  4092. ],
  4093. "produces": [
  4094. "application/json"
  4095. ],
  4096. "tags": [
  4097. "企业风险管理v3(app)"
  4098. ],
  4099. "summary": "查询现货商品",
  4100. "parameters": [
  4101. {
  4102. "type": "integer",
  4103. "description": "用户id",
  4104. "name": "userid",
  4105. "in": "query",
  4106. "required": true
  4107. },
  4108. {
  4109. "type": "integer",
  4110. "description": "用户类型 2-机构 7-企业成员",
  4111. "name": "usertype",
  4112. "in": "query"
  4113. },
  4114. {
  4115. "type": "integer",
  4116. "description": "排除已配置的业务类型商品 1-套保 2-套利",
  4117. "name": "excludecfg",
  4118. "in": "query"
  4119. }
  4120. ],
  4121. "responses": {
  4122. "200": {
  4123. "description": "OK",
  4124. "schema": {
  4125. "type": "array",
  4126. "items": {
  4127. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  4128. }
  4129. }
  4130. },
  4131. "500": {
  4132. "description": "Internal Server Error",
  4133. "schema": {
  4134. "$ref": "#/definitions/app.Response"
  4135. }
  4136. }
  4137. }
  4138. }
  4139. },
  4140. "/Ermcp3/QueryDeliveryGoodsDetail": {
  4141. "get": {
  4142. "security": [
  4143. {
  4144. "ApiKeyAuth": []
  4145. }
  4146. ],
  4147. "produces": [
  4148. "application/json"
  4149. ],
  4150. "tags": [
  4151. "企业风险管理v3(app)"
  4152. ],
  4153. "summary": "查询现货商品详情",
  4154. "parameters": [
  4155. {
  4156. "type": "integer",
  4157. "description": "用户id",
  4158. "name": "userid",
  4159. "in": "query",
  4160. "required": true
  4161. },
  4162. {
  4163. "type": "integer",
  4164. "description": "用户类型 2-机构 7-企业成员",
  4165. "name": "usertype",
  4166. "in": "query"
  4167. },
  4168. {
  4169. "type": "integer",
  4170. "description": "现货商品id",
  4171. "name": "deliverygoodsid",
  4172. "in": "query"
  4173. }
  4174. ],
  4175. "responses": {
  4176. "200": {
  4177. "description": "OK",
  4178. "schema": {
  4179. "type": "array",
  4180. "items": {
  4181. "$ref": "#/definitions/models.XHDeliveryGoods"
  4182. }
  4183. }
  4184. },
  4185. "500": {
  4186. "description": "Internal Server Error",
  4187. "schema": {
  4188. "$ref": "#/definitions/app.Response"
  4189. }
  4190. }
  4191. }
  4192. }
  4193. },
  4194. "/Ermcp3/QueryExposureDetail": {
  4195. "get": {
  4196. "security": [
  4197. {
  4198. "ApiKeyAuth": []
  4199. }
  4200. ],
  4201. "produces": [
  4202. "application/json"
  4203. ],
  4204. "tags": [
  4205. "企业风险管理v3(app)"
  4206. ],
  4207. "summary": "查询敞口现货明细",
  4208. "parameters": [
  4209. {
  4210. "type": "integer",
  4211. "description": "用户id",
  4212. "name": "userid",
  4213. "in": "query",
  4214. "required": true
  4215. },
  4216. {
  4217. "type": "integer",
  4218. "description": "用户类型 2-机构 7-企业成员",
  4219. "name": "usertype",
  4220. "in": "query"
  4221. },
  4222. {
  4223. "type": "integer",
  4224. "description": "套保商品",
  4225. "name": "middlegoodsid",
  4226. "in": "query",
  4227. "required": true
  4228. }
  4229. ],
  4230. "responses": {
  4231. "200": {
  4232. "description": "OK",
  4233. "schema": {
  4234. "type": "array",
  4235. "items": {
  4236. "$ref": "#/definitions/models.Ermcp3ExposureDetail"
  4237. }
  4238. }
  4239. },
  4240. "500": {
  4241. "description": "Internal Server Error",
  4242. "schema": {
  4243. "$ref": "#/definitions/app.Response"
  4244. }
  4245. }
  4246. }
  4247. }
  4248. },
  4249. "/Ermcp3/QueryExposureSpot": {
  4250. "get": {
  4251. "security": [
  4252. {
  4253. "ApiKeyAuth": []
  4254. }
  4255. ],
  4256. "produces": [
  4257. "application/json"
  4258. ],
  4259. "tags": [
  4260. "企业风险管理v3(app)"
  4261. ],
  4262. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  4263. "parameters": [
  4264. {
  4265. "type": "integer",
  4266. "description": "用户id",
  4267. "name": "userid",
  4268. "in": "query",
  4269. "required": true
  4270. },
  4271. {
  4272. "type": "integer",
  4273. "description": "用户类型 2-机构 7-企业成员",
  4274. "name": "usertype",
  4275. "in": "query"
  4276. }
  4277. ],
  4278. "responses": {
  4279. "200": {
  4280. "description": "OK",
  4281. "schema": {
  4282. "type": "array",
  4283. "items": {
  4284. "$ref": "#/definitions/models.Ermcp3AreaSpot"
  4285. }
  4286. }
  4287. },
  4288. "500": {
  4289. "description": "Internal Server Error",
  4290. "schema": {
  4291. "$ref": "#/definitions/app.Response"
  4292. }
  4293. }
  4294. }
  4295. }
  4296. },
  4297. "/Ermcp3/QueryExposureSpotDetail": {
  4298. "get": {
  4299. "security": [
  4300. {
  4301. "ApiKeyAuth": []
  4302. }
  4303. ],
  4304. "produces": [
  4305. "application/json"
  4306. ],
  4307. "tags": [
  4308. "企业风险管理v3(app)"
  4309. ],
  4310. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  4311. "parameters": [
  4312. {
  4313. "type": "integer",
  4314. "description": "用户id",
  4315. "name": "userid",
  4316. "in": "query",
  4317. "required": true
  4318. },
  4319. {
  4320. "type": "integer",
  4321. "description": "用户类型 2-机构 7-企业成员",
  4322. "name": "usertype",
  4323. "in": "query"
  4324. },
  4325. {
  4326. "type": "integer",
  4327. "description": "现货商品ID",
  4328. "name": "wrstandardid",
  4329. "in": "query",
  4330. "required": true
  4331. }
  4332. ],
  4333. "responses": {
  4334. "200": {
  4335. "description": "OK",
  4336. "schema": {
  4337. "type": "array",
  4338. "items": {
  4339. "$ref": "#/definitions/models.Ermcp3AreaSpotDetail"
  4340. }
  4341. }
  4342. },
  4343. "500": {
  4344. "description": "Internal Server Error",
  4345. "schema": {
  4346. "$ref": "#/definitions/app.Response"
  4347. }
  4348. }
  4349. }
  4350. }
  4351. },
  4352. "/Ermcp3/QueryGoodsGroup": {
  4353. "get": {
  4354. "security": [
  4355. {
  4356. "ApiKeyAuth": []
  4357. }
  4358. ],
  4359. "produces": [
  4360. "application/json"
  4361. ],
  4362. "tags": [
  4363. "企业风险管理v3(app)"
  4364. ],
  4365. "summary": "查询期货商品组",
  4366. "parameters": [
  4367. {
  4368. "type": "integer",
  4369. "description": "用户id",
  4370. "name": "userid",
  4371. "in": "query",
  4372. "required": true
  4373. },
  4374. {
  4375. "type": "integer",
  4376. "description": "用户类型 2-机构 7-企业成员",
  4377. "name": "usertype",
  4378. "in": "query"
  4379. },
  4380. {
  4381. "type": "integer",
  4382. "description": "排除套保品中已关联的商品组 1-排除",
  4383. "name": "excludecfg",
  4384. "in": "query"
  4385. }
  4386. ],
  4387. "responses": {
  4388. "200": {
  4389. "description": "OK",
  4390. "schema": {
  4391. "type": "array",
  4392. "items": {
  4393. "$ref": "#/definitions/models.Ermcp3GoodsGroup"
  4394. }
  4395. }
  4396. },
  4397. "500": {
  4398. "description": "Internal Server Error",
  4399. "schema": {
  4400. "$ref": "#/definitions/app.Response"
  4401. }
  4402. }
  4403. }
  4404. }
  4405. },
  4406. "/Ermcp3/QueryGoodsWrstandard": {
  4407. "get": {
  4408. "security": [
  4409. {
  4410. "ApiKeyAuth": []
  4411. }
  4412. ],
  4413. "produces": [
  4414. "application/json"
  4415. ],
  4416. "tags": [
  4417. "企业风险管理v3(app)"
  4418. ],
  4419. "summary": "查询商品品类",
  4420. "parameters": [
  4421. {
  4422. "type": "integer",
  4423. "description": "用户id",
  4424. "name": "userid",
  4425. "in": "query",
  4426. "required": true
  4427. },
  4428. {
  4429. "type": "integer",
  4430. "description": "用户类型 2-机构 7-企业成员",
  4431. "name": "usertype",
  4432. "in": "query"
  4433. },
  4434. {
  4435. "type": "integer",
  4436. "description": "现货商品id",
  4437. "name": "deliverygoodsid",
  4438. "in": "query"
  4439. }
  4440. ],
  4441. "responses": {
  4442. "200": {
  4443. "description": "OK",
  4444. "schema": {
  4445. "type": "array",
  4446. "items": {
  4447. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  4448. }
  4449. }
  4450. },
  4451. "500": {
  4452. "description": "Internal Server Error",
  4453. "schema": {
  4454. "$ref": "#/definitions/app.Response"
  4455. }
  4456. }
  4457. }
  4458. }
  4459. },
  4460. "/Ermcp3/QueryGoodsbrand": {
  4461. "get": {
  4462. "security": [
  4463. {
  4464. "ApiKeyAuth": []
  4465. }
  4466. ],
  4467. "produces": [
  4468. "application/json"
  4469. ],
  4470. "tags": [
  4471. "企业风险管理v3(app)"
  4472. ],
  4473. "summary": "查询商品品牌",
  4474. "parameters": [
  4475. {
  4476. "type": "integer",
  4477. "description": "用户id",
  4478. "name": "userid",
  4479. "in": "query",
  4480. "required": true
  4481. },
  4482. {
  4483. "type": "integer",
  4484. "description": "用户类型 2-机构 7-企业成员",
  4485. "name": "usertype",
  4486. "in": "query"
  4487. }
  4488. ],
  4489. "responses": {
  4490. "200": {
  4491. "description": "OK",
  4492. "schema": {
  4493. "type": "array",
  4494. "items": {
  4495. "$ref": "#/definitions/models.Ermcp3Brand"
  4496. }
  4497. }
  4498. },
  4499. "500": {
  4500. "description": "Internal Server Error",
  4501. "schema": {
  4502. "$ref": "#/definitions/app.Response"
  4503. }
  4504. }
  4505. }
  4506. }
  4507. },
  4508. "/Ermcp3/QueryHedgePlan": {
  4509. "get": {
  4510. "security": [
  4511. {
  4512. "ApiKeyAuth": []
  4513. }
  4514. ],
  4515. "produces": [
  4516. "application/json"
  4517. ],
  4518. "tags": [
  4519. "企业风险管理v3(app)"
  4520. ],
  4521. "summary": "查询套保计划",
  4522. "parameters": [
  4523. {
  4524. "type": "integer",
  4525. "description": "用户ID",
  4526. "name": "userid",
  4527. "in": "query",
  4528. "required": true
  4529. },
  4530. {
  4531. "type": "integer",
  4532. "description": "用户类型 2-机构 7-企业成员",
  4533. "name": "usertype",
  4534. "in": "query"
  4535. },
  4536. {
  4537. "type": "string",
  4538. "description": "套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  4539. "name": "hedgeplanstatus",
  4540. "in": "query",
  4541. "required": true
  4542. }
  4543. ],
  4544. "responses": {
  4545. "200": {
  4546. "description": "OK",
  4547. "schema": {
  4548. "type": "array",
  4549. "items": {
  4550. "$ref": "#/definitions/models.Ermcp3HedgePlan"
  4551. }
  4552. }
  4553. },
  4554. "500": {
  4555. "description": "Internal Server Error",
  4556. "schema": {
  4557. "$ref": "#/definitions/app.Response"
  4558. }
  4559. }
  4560. }
  4561. }
  4562. },
  4563. "/Ermcp3/QueryInnerTradeLink": {
  4564. "get": {
  4565. "security": [
  4566. {
  4567. "ApiKeyAuth": []
  4568. }
  4569. ],
  4570. "description": "页面 app 现货-\u003e期现关联-\u003e外部成交单关联-\u003e点\"解除关联\"按钮-\u003e解除外部关联的页面信息",
  4571. "produces": [
  4572. "application/json"
  4573. ],
  4574. "tags": [
  4575. "企业风险管理v3(app)"
  4576. ],
  4577. "summary": "查询外部成交单关联的内部单信息(在解除外部关联页面使用)",
  4578. "parameters": [
  4579. {
  4580. "type": "integer",
  4581. "description": "外部成交单号",
  4582. "name": "outtradeid",
  4583. "in": "query",
  4584. "required": true
  4585. }
  4586. ],
  4587. "responses": {
  4588. "200": {
  4589. "description": "OK",
  4590. "schema": {
  4591. "type": "array",
  4592. "items": {
  4593. "$ref": "#/definitions/models.Ermcp3InnerTradeLink"
  4594. }
  4595. }
  4596. },
  4597. "500": {
  4598. "description": "Internal Server Error",
  4599. "schema": {
  4600. "$ref": "#/definitions/app.Response"
  4601. }
  4602. }
  4603. }
  4604. }
  4605. },
  4606. "/Ermcp3/QueryMiddleGoodsDetail": {
  4607. "get": {
  4608. "security": [
  4609. {
  4610. "ApiKeyAuth": []
  4611. }
  4612. ],
  4613. "produces": [
  4614. "application/json"
  4615. ],
  4616. "tags": [
  4617. "企业风险管理v3(app)"
  4618. ],
  4619. "summary": "查询套保品种详情(套保品种/商品详情)",
  4620. "parameters": [
  4621. {
  4622. "type": "integer",
  4623. "description": "用户id",
  4624. "name": "userid",
  4625. "in": "query",
  4626. "required": true
  4627. },
  4628. {
  4629. "type": "integer",
  4630. "description": "用户类型 2-机构 7-企业成员",
  4631. "name": "usertype",
  4632. "in": "query"
  4633. },
  4634. {
  4635. "type": "integer",
  4636. "description": "套保品种id",
  4637. "name": "middlegoodsid",
  4638. "in": "query"
  4639. }
  4640. ],
  4641. "responses": {
  4642. "200": {
  4643. "description": "OK",
  4644. "schema": {
  4645. "type": "array",
  4646. "items": {
  4647. "$ref": "#/definitions/models.TBMiddleGoods"
  4648. }
  4649. }
  4650. },
  4651. "500": {
  4652. "description": "Internal Server Error",
  4653. "schema": {
  4654. "$ref": "#/definitions/app.Response"
  4655. }
  4656. }
  4657. }
  4658. }
  4659. },
  4660. "/Ermcp3/QueryOutTradeLink": {
  4661. "get": {
  4662. "security": [
  4663. {
  4664. "ApiKeyAuth": []
  4665. }
  4666. ],
  4667. "description": "页面 app 现货-\u003e期现关联-\u003e外部成交单关联",
  4668. "produces": [
  4669. "application/json"
  4670. ],
  4671. "tags": [
  4672. "企业风险管理v3(app)"
  4673. ],
  4674. "summary": "查询外部成交单关联",
  4675. "parameters": [
  4676. {
  4677. "type": "integer",
  4678. "description": "用户ID(填登录用户的userid)",
  4679. "name": "userid",
  4680. "in": "query",
  4681. "required": true
  4682. },
  4683. {
  4684. "type": "string",
  4685. "description": "外部订单号(模糊匹配)",
  4686. "name": "outtradeid",
  4687. "in": "query"
  4688. },
  4689. {
  4690. "type": "string",
  4691. "description": "合约名称/代码(模糊匹配)",
  4692. "name": "goodsname",
  4693. "in": "query"
  4694. },
  4695. {
  4696. "type": "integer",
  4697. "description": "关联状态 0-未关联 1-已关联",
  4698. "name": "hasinnerorder",
  4699. "in": "query"
  4700. }
  4701. ],
  4702. "responses": {
  4703. "200": {
  4704. "description": "OK",
  4705. "schema": {
  4706. "type": "array",
  4707. "items": {
  4708. "$ref": "#/definitions/models.Ermcp3OutTradeLink"
  4709. }
  4710. }
  4711. },
  4712. "500": {
  4713. "description": "Internal Server Error",
  4714. "schema": {
  4715. "$ref": "#/definitions/app.Response"
  4716. }
  4717. }
  4718. }
  4719. }
  4720. },
  4721. "/Ermcp3/QueryPaAreaAuditCfg": {
  4722. "get": {
  4723. "security": [
  4724. {
  4725. "ApiKeyAuth": []
  4726. }
  4727. ],
  4728. "produces": [
  4729. "application/json"
  4730. ],
  4731. "tags": [
  4732. "企业风险管理v3(app)"
  4733. ],
  4734. "summary": "查询审核设置",
  4735. "parameters": [
  4736. {
  4737. "type": "integer",
  4738. "description": "用户id",
  4739. "name": "userid",
  4740. "in": "query",
  4741. "required": true
  4742. }
  4743. ],
  4744. "responses": {
  4745. "200": {
  4746. "description": "OK",
  4747. "schema": {
  4748. "type": "array",
  4749. "items": {
  4750. "$ref": "#/definitions/models.Ermcp3PaAreaAuditCfg"
  4751. }
  4752. }
  4753. },
  4754. "500": {
  4755. "description": "Internal Server Error",
  4756. "schema": {
  4757. "$ref": "#/definitions/app.Response"
  4758. }
  4759. }
  4760. }
  4761. }
  4762. },
  4763. "/Ermcp3/QueryPaAreaSubject": {
  4764. "get": {
  4765. "security": [
  4766. {
  4767. "ApiKeyAuth": []
  4768. }
  4769. ],
  4770. "produces": [
  4771. "application/json"
  4772. ],
  4773. "tags": [
  4774. "企业风险管理v3(app)"
  4775. ],
  4776. "summary": "查询交易主体",
  4777. "parameters": [
  4778. {
  4779. "type": "integer",
  4780. "description": "用户id",
  4781. "name": "userid",
  4782. "in": "query",
  4783. "required": true
  4784. },
  4785. {
  4786. "type": "integer",
  4787. "description": "主体ID(SEQ_ERMCP_PA_AREASUBJECT)",
  4788. "name": "subjectid",
  4789. "in": "query"
  4790. },
  4791. {
  4792. "type": "integer",
  4793. "description": "主体类型 - 1:交易主体 2:业务部门",
  4794. "name": "subjecttype",
  4795. "in": "query"
  4796. },
  4797. {
  4798. "type": "integer",
  4799. "description": "主体状态 - 1:正常 2: 停用",
  4800. "name": "subjectstatus",
  4801. "in": "query"
  4802. }
  4803. ],
  4804. "responses": {
  4805. "200": {
  4806. "description": "OK",
  4807. "schema": {
  4808. "type": "array",
  4809. "items": {
  4810. "$ref": "#/definitions/models.Ermcp3PaAreaSubject"
  4811. }
  4812. }
  4813. },
  4814. "500": {
  4815. "description": "Internal Server Error",
  4816. "schema": {
  4817. "$ref": "#/definitions/app.Response"
  4818. }
  4819. }
  4820. }
  4821. }
  4822. },
  4823. "/Ermcp3/QueryPaTradeLink": {
  4824. "get": {
  4825. "security": [
  4826. {
  4827. "ApiKeyAuth": []
  4828. }
  4829. ],
  4830. "description": "页面 app 现货-\u003e期现关联-\u003e期现单据关联",
  4831. "produces": [
  4832. "application/json"
  4833. ],
  4834. "tags": [
  4835. "企业风险管理v3(app)"
  4836. ],
  4837. "summary": "查询期现单据关联",
  4838. "parameters": [
  4839. {
  4840. "type": "integer",
  4841. "description": "用户ID",
  4842. "name": "userid",
  4843. "in": "query",
  4844. "required": true
  4845. }
  4846. ],
  4847. "responses": {
  4848. "200": {
  4849. "description": "OK",
  4850. "schema": {
  4851. "type": "array",
  4852. "items": {
  4853. "$ref": "#/definitions/models.Ermcp3PaTradeLink"
  4854. }
  4855. }
  4856. },
  4857. "500": {
  4858. "description": "Internal Server Error",
  4859. "schema": {
  4860. "$ref": "#/definitions/app.Response"
  4861. }
  4862. }
  4863. }
  4864. }
  4865. },
  4866. "/Ermcp3/QueryPaTradeLinkDetail": {
  4867. "get": {
  4868. "security": [
  4869. {
  4870. "ApiKeyAuth": []
  4871. }
  4872. ],
  4873. "description": "页面 app 现货-\u003e期现关联-\u003e关联记录",
  4874. "produces": [
  4875. "application/json"
  4876. ],
  4877. "tags": [
  4878. "企业风险管理v3(app)"
  4879. ],
  4880. "summary": "查询期现关联记录",
  4881. "parameters": [
  4882. {
  4883. "type": "integer",
  4884. "description": "用户ID(填登录用户的userid)",
  4885. "name": "userid",
  4886. "in": "query",
  4887. "required": true
  4888. },
  4889. {
  4890. "type": "integer",
  4891. "description": "关联状态 1:成功 2:失败 3:解绑",
  4892. "name": "linkstatus",
  4893. "in": "query"
  4894. },
  4895. {
  4896. "type": "string",
  4897. "description": "期货订单号(模糊匹配)",
  4898. "name": "tradeid",
  4899. "in": "query"
  4900. },
  4901. {
  4902. "type": "string",
  4903. "description": "现货编号(模糊匹配)",
  4904. "name": "contractno",
  4905. "in": "query"
  4906. },
  4907. {
  4908. "type": "string",
  4909. "description": "期货账户(模糊匹配)",
  4910. "name": "taname",
  4911. "in": "query"
  4912. }
  4913. ],
  4914. "responses": {
  4915. "200": {
  4916. "description": "OK",
  4917. "schema": {
  4918. "type": "array",
  4919. "items": {
  4920. "$ref": "#/definitions/models.Ermcp3TradeLinkDetail"
  4921. }
  4922. }
  4923. },
  4924. "500": {
  4925. "description": "Internal Server Error",
  4926. "schema": {
  4927. "$ref": "#/definitions/app.Response"
  4928. }
  4929. }
  4930. }
  4931. }
  4932. },
  4933. "/Ermcp3/QueryParamChangeApp": {
  4934. "get": {
  4935. "security": [
  4936. {
  4937. "ApiKeyAuth": []
  4938. }
  4939. ],
  4940. "description": "原型页面:\n1.商品信息-\u003e商品参数修改流水-\u003e 增值税税率 | 折算系数 | 成本权重; 流水页面查申请状态为“审核通过”的记录\n2.风管审核-\u003e套保比例审核 | 折算系数审核 | 增值税税率审核 | 成本权重审核",
  4941. "produces": [
  4942. "application/json"
  4943. ],
  4944. "tags": [
  4945. "企业风险管理v3(app)"
  4946. ],
  4947. "summary": "查询现货商品参数变更申请(流水)",
  4948. "parameters": [
  4949. {
  4950. "type": "integer",
  4951. "description": "用户ID",
  4952. "name": "userid",
  4953. "in": "query",
  4954. "required": true
  4955. },
  4956. {
  4957. "type": "integer",
  4958. "description": "现货品种id",
  4959. "name": "deliverygoodsid",
  4960. "in": "query"
  4961. },
  4962. {
  4963. "type": "integer",
  4964. "description": "现货商品id",
  4965. "name": "wrstandardid",
  4966. "in": "query"
  4967. },
  4968. {
  4969. "type": "integer",
  4970. "description": "套保商品id",
  4971. "name": "middlegoodsid",
  4972. "in": "query"
  4973. },
  4974. {
  4975. "type": "integer",
  4976. "description": "操作类型 1:新增 2:修改",
  4977. "name": "operatetype",
  4978. "in": "query"
  4979. },
  4980. {
  4981. "type": "integer",
  4982. "description": "参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)",
  4983. "name": "paramchangetype",
  4984. "in": "query"
  4985. },
  4986. {
  4987. "type": "string",
  4988. "description": "申请状态(逗号隔开,如1,2,3) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  4989. "name": "ftstatus",
  4990. "in": "query"
  4991. }
  4992. ],
  4993. "responses": {
  4994. "200": {
  4995. "description": "OK",
  4996. "schema": {
  4997. "type": "array",
  4998. "items": {
  4999. "$ref": "#/definitions/models.Ermcp3ParamChangeApp"
  5000. }
  5001. }
  5002. },
  5003. "500": {
  5004. "description": "Internal Server Error",
  5005. "schema": {
  5006. "$ref": "#/definitions/app.Response"
  5007. }
  5008. }
  5009. }
  5010. }
  5011. },
  5012. "/Ermcp3/QueryRootUserAccount": {
  5013. "get": {
  5014. "security": [
  5015. {
  5016. "ApiKeyAuth": []
  5017. }
  5018. ],
  5019. "produces": [
  5020. "application/json"
  5021. ],
  5022. "tags": [
  5023. "企业风险管理v3(app)"
  5024. ],
  5025. "summary": "查询顶级用户信息",
  5026. "parameters": [
  5027. {
  5028. "type": "integer",
  5029. "description": "用户ID",
  5030. "name": "userid",
  5031. "in": "query",
  5032. "required": true
  5033. }
  5034. ],
  5035. "responses": {
  5036. "200": {
  5037. "description": "OK",
  5038. "schema": {
  5039. "type": "array",
  5040. "items": {
  5041. "$ref": "#/definitions/models.Ermcp3RootUserAccount"
  5042. }
  5043. }
  5044. },
  5045. "500": {
  5046. "description": "Internal Server Error",
  5047. "schema": {
  5048. "$ref": "#/definitions/app.Response"
  5049. }
  5050. }
  5051. }
  5052. }
  5053. },
  5054. "/Ermcp3/QuerySCMiddleGoods": {
  5055. "get": {
  5056. "security": [
  5057. {
  5058. "ApiKeyAuth": []
  5059. }
  5060. ],
  5061. "description": "页面 app 现货-\u003e期现关联-\u003e期现单据关联-\u003e点\"关联\"按钮-\u003e弹出界面 : 现货订单\n现货编号 即 合同编号",
  5062. "produces": [
  5063. "application/json"
  5064. ],
  5065. "tags": [
  5066. "企业风险管理v3(app)"
  5067. ],
  5068. "summary": "查询现货订单",
  5069. "parameters": [
  5070. {
  5071. "type": "integer",
  5072. "description": "用户ID(填登录用户的userid)",
  5073. "name": "userid",
  5074. "in": "query",
  5075. "required": true
  5076. },
  5077. {
  5078. "type": "integer",
  5079. "description": "买卖方向 0-买 1-卖",
  5080. "name": "buyorsell",
  5081. "in": "query",
  5082. "required": true
  5083. },
  5084. {
  5085. "type": "integer",
  5086. "description": "商品组id",
  5087. "name": "goodsgroupid",
  5088. "in": "query",
  5089. "required": true
  5090. },
  5091. {
  5092. "type": "integer",
  5093. "description": "业务类型 1:套保 2:套利",
  5094. "name": "biztype",
  5095. "in": "query"
  5096. },
  5097. {
  5098. "type": "string",
  5099. "description": "现货编号(模糊匹配)",
  5100. "name": "contractno",
  5101. "in": "query"
  5102. },
  5103. {
  5104. "type": "string",
  5105. "description": "对手方(模糊匹配)",
  5106. "name": "customername",
  5107. "in": "query"
  5108. },
  5109. {
  5110. "type": "string",
  5111. "description": "现货商品名称(模糊匹配)",
  5112. "name": "wrstandardname",
  5113. "in": "query"
  5114. }
  5115. ],
  5116. "responses": {
  5117. "200": {
  5118. "description": "OK",
  5119. "schema": {
  5120. "type": "array",
  5121. "items": {
  5122. "$ref": "#/definitions/models.Ermcp3SCMiddleGoods"
  5123. }
  5124. }
  5125. },
  5126. "500": {
  5127. "description": "Internal Server Error",
  5128. "schema": {
  5129. "$ref": "#/definitions/app.Response"
  5130. }
  5131. }
  5132. }
  5133. }
  5134. },
  5135. "/Ermcp3/QuerySpotContract": {
  5136. "get": {
  5137. "security": [
  5138. {
  5139. "ApiKeyAuth": []
  5140. }
  5141. ],
  5142. "produces": [
  5143. "application/json"
  5144. ],
  5145. "tags": [
  5146. "企业风险管理v3(app)"
  5147. ],
  5148. "summary": "查询现货合同",
  5149. "parameters": [
  5150. {
  5151. "type": "integer",
  5152. "description": "用户id(当指定contractid, userid可不填)",
  5153. "name": "userid",
  5154. "in": "query",
  5155. "required": true
  5156. },
  5157. {
  5158. "type": "integer",
  5159. "description": "用户类型 2-机构 7-企业成员",
  5160. "name": "usertype",
  5161. "in": "query"
  5162. },
  5163. {
  5164. "type": "integer",
  5165. "description": "合同类型 1-采购, -1-销售",
  5166. "name": "contracttype",
  5167. "in": "query"
  5168. },
  5169. {
  5170. "type": "string",
  5171. "description": "查询类型(逗号隔开, 如1,2,3) 1-未提交 2-待审核 3-履约中 4-已完成",
  5172. "name": "querytype",
  5173. "in": "query"
  5174. },
  5175. {
  5176. "type": "string",
  5177. "description": "合同ID(SpotContractId)",
  5178. "name": "contractid",
  5179. "in": "query"
  5180. },
  5181. {
  5182. "type": "string",
  5183. "description": "合同编号(模糊匹配)",
  5184. "name": "contractno",
  5185. "in": "query"
  5186. },
  5187. {
  5188. "type": "string",
  5189. "description": "商品名称(模糊匹配)",
  5190. "name": "wrstandardname",
  5191. "in": "query"
  5192. },
  5193. {
  5194. "type": "string",
  5195. "description": "合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  5196. "name": "status",
  5197. "in": "query"
  5198. },
  5199. {
  5200. "type": "integer",
  5201. "description": "是否只查今日的合同 1-查今日合同",
  5202. "name": "istoday",
  5203. "in": "query"
  5204. }
  5205. ],
  5206. "responses": {
  5207. "200": {
  5208. "description": "OK",
  5209. "schema": {
  5210. "type": "array",
  5211. "items": {
  5212. "$ref": "#/definitions/models.Ermcp3Contract"
  5213. }
  5214. }
  5215. },
  5216. "500": {
  5217. "description": "Internal Server Error",
  5218. "schema": {
  5219. "$ref": "#/definitions/app.Response"
  5220. }
  5221. }
  5222. }
  5223. }
  5224. },
  5225. "/Ermcp3/QuerySpotContractBS": {
  5226. "get": {
  5227. "security": [
  5228. {
  5229. "ApiKeyAuth": []
  5230. }
  5231. ],
  5232. "produces": [
  5233. "application/json"
  5234. ],
  5235. "tags": [
  5236. "企业风险管理v3(app)"
  5237. ],
  5238. "summary": "查询合同(采购/销售)",
  5239. "parameters": [
  5240. {
  5241. "type": "integer",
  5242. "description": "用户id",
  5243. "name": "userid",
  5244. "in": "query",
  5245. "required": true
  5246. },
  5247. {
  5248. "type": "integer",
  5249. "description": "用户类型 2-机构 7-企业成员",
  5250. "name": "usertype",
  5251. "in": "query"
  5252. },
  5253. {
  5254. "type": "integer",
  5255. "description": "合同类型 1-采购, -1-销售",
  5256. "name": "contracttype",
  5257. "in": "query",
  5258. "required": true
  5259. },
  5260. {
  5261. "type": "integer",
  5262. "description": "查询类型 1-全部 2-待点价 3-履约结算 4-已完成",
  5263. "name": "querytype",
  5264. "in": "query"
  5265. },
  5266. {
  5267. "type": "string",
  5268. "description": "合同ID(SpotContractId)",
  5269. "name": "contractid",
  5270. "in": "query"
  5271. },
  5272. {
  5273. "type": "string",
  5274. "description": "合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  5275. "name": "status",
  5276. "in": "query"
  5277. },
  5278. {
  5279. "type": "integer",
  5280. "description": "是否只查今日的合同 1-查今日合同",
  5281. "name": "istoday",
  5282. "in": "query"
  5283. }
  5284. ],
  5285. "responses": {
  5286. "200": {
  5287. "description": "OK",
  5288. "schema": {
  5289. "type": "array",
  5290. "items": {
  5291. "$ref": "#/definitions/models.Ermcp3SellBuyContract"
  5292. }
  5293. }
  5294. },
  5295. "500": {
  5296. "description": "Internal Server Error",
  5297. "schema": {
  5298. "$ref": "#/definitions/app.Response"
  5299. }
  5300. }
  5301. }
  5302. }
  5303. },
  5304. "/Ermcp3/QuerySpotGoodsPrice": {
  5305. "get": {
  5306. "security": [
  5307. {
  5308. "ApiKeyAuth": []
  5309. }
  5310. ],
  5311. "produces": [
  5312. "application/json"
  5313. ],
  5314. "tags": [
  5315. "企业风险管理v3(app)"
  5316. ],
  5317. "summary": "查询现货市价(现货市价)",
  5318. "parameters": [
  5319. {
  5320. "type": "integer",
  5321. "description": "用户ID",
  5322. "name": "userid",
  5323. "in": "query",
  5324. "required": true
  5325. }
  5326. ],
  5327. "responses": {
  5328. "200": {
  5329. "description": "OK",
  5330. "schema": {
  5331. "type": "array",
  5332. "items": {
  5333. "$ref": "#/definitions/models.Ermcp3SpotGoodsPrice"
  5334. }
  5335. }
  5336. },
  5337. "500": {
  5338. "description": "Internal Server Error",
  5339. "schema": {
  5340. "$ref": "#/definitions/app.Response"
  5341. }
  5342. }
  5343. }
  5344. }
  5345. },
  5346. "/Ermcp3/QuerySpotGoodsPriceLog": {
  5347. "get": {
  5348. "security": [
  5349. {
  5350. "ApiKeyAuth": []
  5351. }
  5352. ],
  5353. "produces": [
  5354. "application/json"
  5355. ],
  5356. "tags": [
  5357. "企业风险管理v3(app)"
  5358. ],
  5359. "summary": "查询现货市价详情(现货市价/详情)",
  5360. "parameters": [
  5361. {
  5362. "type": "integer",
  5363. "description": "用户ID",
  5364. "name": "userid",
  5365. "in": "query",
  5366. "required": true
  5367. },
  5368. {
  5369. "type": "integer",
  5370. "description": "现货商品ID",
  5371. "name": "deliverygoodsid",
  5372. "in": "query",
  5373. "required": true
  5374. },
  5375. {
  5376. "type": "integer",
  5377. "description": "品牌ID",
  5378. "name": "brandid",
  5379. "in": "query"
  5380. },
  5381. {
  5382. "type": "integer",
  5383. "description": "品类ID",
  5384. "name": "wrstandardid",
  5385. "in": "query"
  5386. }
  5387. ],
  5388. "responses": {
  5389. "200": {
  5390. "description": "OK",
  5391. "schema": {
  5392. "type": "array",
  5393. "items": {
  5394. "$ref": "#/definitions/models.Ermcp3SpotGoodsPriceLog"
  5395. }
  5396. }
  5397. },
  5398. "500": {
  5399. "description": "Internal Server Error",
  5400. "schema": {
  5401. "$ref": "#/definitions/app.Response"
  5402. }
  5403. }
  5404. }
  5405. }
  5406. },
  5407. "/Ermcp3/QuerySubTaaccount": {
  5408. "get": {
  5409. "security": [
  5410. {
  5411. "ApiKeyAuth": []
  5412. }
  5413. ],
  5414. "description": "页面 app 现货-\u003e期现关联-\u003e外部成交单关联-\u003e点\"关联\"按钮-\u003e选择期货子账户",
  5415. "produces": [
  5416. "application/json"
  5417. ],
  5418. "tags": [
  5419. "企业风险管理v3(app)"
  5420. ],
  5421. "summary": "查询期货子账户",
  5422. "parameters": [
  5423. {
  5424. "type": "integer",
  5425. "description": "母账号id",
  5426. "name": "parentaccountid",
  5427. "in": "query"
  5428. },
  5429. {
  5430. "type": "string",
  5431. "description": "母账号代码",
  5432. "name": "parentaccountcode",
  5433. "in": "query"
  5434. }
  5435. ],
  5436. "responses": {
  5437. "200": {
  5438. "description": "OK",
  5439. "schema": {
  5440. "type": "array",
  5441. "items": {
  5442. "$ref": "#/definitions/models.Ermcp3SubTaaccount"
  5443. }
  5444. }
  5445. },
  5446. "500": {
  5447. "description": "Internal Server Error",
  5448. "schema": {
  5449. "$ref": "#/definitions/app.Response"
  5450. }
  5451. }
  5452. }
  5453. }
  5454. },
  5455. "/Erms2/QueryArbitrageStrategy": {
  5456. "get": {
  5457. "security": [
  5458. {
  5459. "ApiKeyAuth": []
  5460. }
  5461. ],
  5462. "produces": [
  5463. "application/json"
  5464. ],
  5465. "tags": [
  5466. "风险管理"
  5467. ],
  5468. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  5469. "parameters": [
  5470. {
  5471. "type": "integer",
  5472. "description": "账户ID",
  5473. "name": "userid",
  5474. "in": "query",
  5475. "required": true
  5476. },
  5477. {
  5478. "type": "string",
  5479. "description": "商品组ID(品种ID)",
  5480. "name": "goodsgroupid",
  5481. "in": "query"
  5482. }
  5483. ],
  5484. "responses": {
  5485. "200": {
  5486. "description": "OK",
  5487. "schema": {
  5488. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  5489. }
  5490. },
  5491. "500": {
  5492. "description": "Internal Server Error",
  5493. "schema": {
  5494. "$ref": "#/definitions/app.Response"
  5495. }
  5496. }
  5497. }
  5498. }
  5499. },
  5500. "/Erms2/QueryInnerTradeDetail": {
  5501. "get": {
  5502. "security": [
  5503. {
  5504. "ApiKeyAuth": []
  5505. }
  5506. ],
  5507. "produces": [
  5508. "application/json"
  5509. ],
  5510. "tags": [
  5511. "风险管理"
  5512. ],
  5513. "summary": "查询内部成交单信息",
  5514. "parameters": [
  5515. {
  5516. "type": "integer",
  5517. "description": "资金账户",
  5518. "name": "accountid",
  5519. "in": "query",
  5520. "required": true
  5521. }
  5522. ],
  5523. "responses": {
  5524. "200": {
  5525. "description": "OK",
  5526. "schema": {
  5527. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  5528. }
  5529. },
  5530. "500": {
  5531. "description": "Internal Server Error",
  5532. "schema": {
  5533. "$ref": "#/definitions/app.Response"
  5534. }
  5535. }
  5536. }
  5537. }
  5538. },
  5539. "/Erms2/QuerySpotContract": {
  5540. "get": {
  5541. "security": [
  5542. {
  5543. "ApiKeyAuth": []
  5544. }
  5545. ],
  5546. "produces": [
  5547. "application/json"
  5548. ],
  5549. "tags": [
  5550. "风险管理"
  5551. ],
  5552. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  5553. "parameters": [
  5554. {
  5555. "type": "integer",
  5556. "description": "策略申请ID",
  5557. "name": "asapplyid",
  5558. "in": "query",
  5559. "required": true
  5560. },
  5561. {
  5562. "type": "integer",
  5563. "description": "现货合同ID",
  5564. "name": "spotcontractid",
  5565. "in": "query"
  5566. }
  5567. ],
  5568. "responses": {
  5569. "200": {
  5570. "description": "OK",
  5571. "schema": {
  5572. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  5573. }
  5574. },
  5575. "500": {
  5576. "description": "Internal Server Error",
  5577. "schema": {
  5578. "$ref": "#/definitions/app.Response"
  5579. }
  5580. }
  5581. }
  5582. }
  5583. },
  5584. "/Erms3/AddErms2ASApply": {
  5585. "post": {
  5586. "security": [
  5587. {
  5588. "ApiKeyAuth": []
  5589. }
  5590. ],
  5591. "produces": [
  5592. "application/json"
  5593. ],
  5594. "tags": [
  5595. "风险管理v3"
  5596. ],
  5597. "summary": "新增期现套利业务申请",
  5598. "parameters": [
  5599. {
  5600. "description": "申请参数",
  5601. "name": "jsonBody",
  5602. "in": "body",
  5603. "required": true,
  5604. "schema": {
  5605. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  5606. }
  5607. }
  5608. ],
  5609. "responses": {
  5610. "200": {
  5611. "description": "OK",
  5612. "schema": {
  5613. "$ref": "#/definitions/app.Response"
  5614. }
  5615. },
  5616. "500": {
  5617. "description": "Internal Server Error",
  5618. "schema": {
  5619. "$ref": "#/definitions/app.Response"
  5620. }
  5621. }
  5622. }
  5623. }
  5624. },
  5625. "/Erms3/AddErms2SpotTradeApply": {
  5626. "post": {
  5627. "security": [
  5628. {
  5629. "ApiKeyAuth": []
  5630. }
  5631. ],
  5632. "produces": [
  5633. "application/json"
  5634. ],
  5635. "tags": [
  5636. "风险管理v3"
  5637. ],
  5638. "summary": "新增现货贸易业务申请",
  5639. "parameters": [
  5640. {
  5641. "description": "申请参数",
  5642. "name": "jsonBody",
  5643. "in": "body",
  5644. "required": true,
  5645. "schema": {
  5646. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  5647. }
  5648. }
  5649. ],
  5650. "responses": {
  5651. "200": {
  5652. "description": "OK",
  5653. "schema": {
  5654. "$ref": "#/definitions/app.Response"
  5655. }
  5656. },
  5657. "500": {
  5658. "description": "Internal Server Error",
  5659. "schema": {
  5660. "$ref": "#/definitions/app.Response"
  5661. }
  5662. }
  5663. }
  5664. }
  5665. },
  5666. "/Erms3/AddSpotContractApply": {
  5667. "post": {
  5668. "security": [
  5669. {
  5670. "ApiKeyAuth": []
  5671. }
  5672. ],
  5673. "produces": [
  5674. "application/json"
  5675. ],
  5676. "tags": [
  5677. "风险管理v3"
  5678. ],
  5679. "summary": "新增现货合同申请",
  5680. "parameters": [
  5681. {
  5682. "description": "申请参数",
  5683. "name": "jsonBody",
  5684. "in": "body",
  5685. "required": true,
  5686. "schema": {
  5687. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  5688. }
  5689. }
  5690. ],
  5691. "responses": {
  5692. "200": {
  5693. "description": "OK",
  5694. "schema": {
  5695. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  5696. }
  5697. },
  5698. "500": {
  5699. "description": "Internal Server Error",
  5700. "schema": {
  5701. "$ref": "#/definitions/app.Response"
  5702. }
  5703. }
  5704. }
  5705. }
  5706. },
  5707. "/Erms3/AddUserInfoApply": {
  5708. "post": {
  5709. "security": [
  5710. {
  5711. "ApiKeyAuth": []
  5712. }
  5713. ],
  5714. "produces": [
  5715. "application/json"
  5716. ],
  5717. "tags": [
  5718. "风险管理v3"
  5719. ],
  5720. "summary": "新增客户申请",
  5721. "parameters": [
  5722. {
  5723. "description": "用户信息",
  5724. "name": "jsonBody",
  5725. "in": "body",
  5726. "required": true,
  5727. "schema": {
  5728. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  5729. }
  5730. }
  5731. ],
  5732. "responses": {
  5733. "200": {
  5734. "description": "OK",
  5735. "schema": {
  5736. "$ref": "#/definitions/app.Response"
  5737. }
  5738. },
  5739. "500": {
  5740. "description": "Internal Server Error",
  5741. "schema": {
  5742. "$ref": "#/definitions/app.Response"
  5743. }
  5744. }
  5745. }
  5746. }
  5747. },
  5748. "/Erms3/DeleteUserInfoApply": {
  5749. "get": {
  5750. "security": [
  5751. {
  5752. "ApiKeyAuth": []
  5753. }
  5754. ],
  5755. "description": "只可删除 UserState = 1 (未提交)状态的申请信息",
  5756. "produces": [
  5757. "application/json"
  5758. ],
  5759. "tags": [
  5760. "风险管理v3"
  5761. ],
  5762. "summary": "删除客户申请",
  5763. "parameters": [
  5764. {
  5765. "type": "integer",
  5766. "description": "用户ID",
  5767. "name": "userID",
  5768. "in": "query",
  5769. "required": true
  5770. }
  5771. ],
  5772. "responses": {
  5773. "200": {
  5774. "description": "OK",
  5775. "schema": {
  5776. "$ref": "#/definitions/app.Response"
  5777. }
  5778. },
  5779. "500": {
  5780. "description": "Internal Server Error",
  5781. "schema": {
  5782. "$ref": "#/definitions/app.Response"
  5783. }
  5784. }
  5785. }
  5786. }
  5787. },
  5788. "/Erms3/ModifyUserInfoApply": {
  5789. "post": {
  5790. "security": [
  5791. {
  5792. "ApiKeyAuth": []
  5793. }
  5794. ],
  5795. "description": "保存草稿(撤回)- { \"userid\": int, \"userstate\": 1 } 提交审核 - { \"userid\": int, \"userstate\": 2 }",
  5796. "produces": [
  5797. "application/json"
  5798. ],
  5799. "tags": [
  5800. "风险管理v3"
  5801. ],
  5802. "summary": "修改客户申请",
  5803. "parameters": [
  5804. {
  5805. "description": "用户信息",
  5806. "name": "jsonBody",
  5807. "in": "body",
  5808. "required": true,
  5809. "schema": {
  5810. "$ref": "#/definitions/erms3.ModifyUserInfoApplyReq"
  5811. }
  5812. }
  5813. ],
  5814. "responses": {
  5815. "200": {
  5816. "description": "OK",
  5817. "schema": {
  5818. "$ref": "#/definitions/app.Response"
  5819. }
  5820. },
  5821. "500": {
  5822. "description": "Internal Server Error",
  5823. "schema": {
  5824. "$ref": "#/definitions/app.Response"
  5825. }
  5826. }
  5827. }
  5828. }
  5829. },
  5830. "/Erms3/QueryBusinessInfo": {
  5831. "get": {
  5832. "security": [
  5833. {
  5834. "ApiKeyAuth": []
  5835. }
  5836. ],
  5837. "produces": [
  5838. "application/json"
  5839. ],
  5840. "tags": [
  5841. "风险管理v3"
  5842. ],
  5843. "summary": "查询业务表单数据",
  5844. "parameters": [
  5845. {
  5846. "type": "string",
  5847. "description": "资金账号ID列表,用逗号分隔",
  5848. "name": "accountids",
  5849. "in": "query",
  5850. "required": true
  5851. },
  5852. {
  5853. "type": "integer",
  5854. "description": "状态,0为未结束 1为已结束",
  5855. "name": "status",
  5856. "in": "query",
  5857. "required": true
  5858. }
  5859. ],
  5860. "responses": {
  5861. "200": {
  5862. "description": "OK",
  5863. "schema": {
  5864. "type": "array",
  5865. "items": {
  5866. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  5867. }
  5868. }
  5869. },
  5870. "500": {
  5871. "description": "Internal Server Error",
  5872. "schema": {
  5873. "$ref": "#/definitions/app.Response"
  5874. }
  5875. }
  5876. }
  5877. }
  5878. },
  5879. "/Erms3/QueryPendingAuditContract": {
  5880. "get": {
  5881. "security": [
  5882. {
  5883. "ApiKeyAuth": []
  5884. }
  5885. ],
  5886. "produces": [
  5887. "application/json"
  5888. ],
  5889. "tags": [
  5890. "风险管理v3"
  5891. ],
  5892. "summary": "查询待审核合同",
  5893. "parameters": [
  5894. {
  5895. "type": "string",
  5896. "description": "资金账号ID列表,逗号隔开",
  5897. "name": "accountids",
  5898. "in": "query",
  5899. "required": true
  5900. },
  5901. {
  5902. "type": "integer",
  5903. "description": "合同类型 1-采购 -1-销售",
  5904. "name": "contracttype",
  5905. "in": "query",
  5906. "required": true
  5907. },
  5908. {
  5909. "type": "integer",
  5910. "description": "合同模式 1-普通 2-回购",
  5911. "name": "contractmode",
  5912. "in": "query",
  5913. "required": true
  5914. }
  5915. ],
  5916. "responses": {
  5917. "200": {
  5918. "description": "OK",
  5919. "schema": {
  5920. "type": "array",
  5921. "items": {
  5922. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  5923. }
  5924. }
  5925. },
  5926. "500": {
  5927. "description": "Internal Server Error",
  5928. "schema": {
  5929. "$ref": "#/definitions/app.Response"
  5930. }
  5931. }
  5932. }
  5933. }
  5934. },
  5935. "/Erms3/QueryPendingBusiness": {
  5936. "get": {
  5937. "security": [
  5938. {
  5939. "ApiKeyAuth": []
  5940. }
  5941. ],
  5942. "produces": [
  5943. "application/json"
  5944. ],
  5945. "tags": [
  5946. "风险管理v3"
  5947. ],
  5948. "summary": "查询待审核基差贸易业务",
  5949. "parameters": [
  5950. {
  5951. "type": "string",
  5952. "description": "资金账号ID列表,逗号隔开",
  5953. "name": "accountids",
  5954. "in": "query",
  5955. "required": true
  5956. }
  5957. ],
  5958. "responses": {
  5959. "200": {
  5960. "description": "OK",
  5961. "schema": {
  5962. "type": "array",
  5963. "items": {
  5964. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  5965. }
  5966. }
  5967. },
  5968. "500": {
  5969. "description": "Internal Server Error",
  5970. "schema": {
  5971. "$ref": "#/definitions/app.Response"
  5972. }
  5973. }
  5974. }
  5975. }
  5976. },
  5977. "/Erms3/QuerySpotContractAppleForm": {
  5978. "get": {
  5979. "security": [
  5980. {
  5981. "ApiKeyAuth": []
  5982. }
  5983. ],
  5984. "produces": [
  5985. "application/json"
  5986. ],
  5987. "tags": [
  5988. "风险管理v3"
  5989. ],
  5990. "summary": "查询合同申请表单数据",
  5991. "parameters": [
  5992. {
  5993. "type": "integer",
  5994. "description": "登录账号",
  5995. "name": "loginID",
  5996. "in": "query",
  5997. "required": true
  5998. }
  5999. ],
  6000. "responses": {
  6001. "200": {
  6002. "description": "OK",
  6003. "schema": {
  6004. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  6005. }
  6006. },
  6007. "500": {
  6008. "description": "Internal Server Error",
  6009. "schema": {
  6010. "$ref": "#/definitions/app.Response"
  6011. }
  6012. }
  6013. }
  6014. }
  6015. },
  6016. "/Erms3/QuerySpotContractDetail": {
  6017. "get": {
  6018. "security": [
  6019. {
  6020. "ApiKeyAuth": []
  6021. }
  6022. ],
  6023. "produces": [
  6024. "application/json"
  6025. ],
  6026. "tags": [
  6027. "风险管理v3"
  6028. ],
  6029. "summary": "查询合同详细信息",
  6030. "parameters": [
  6031. {
  6032. "type": "string",
  6033. "description": "资金账号ID列表,用逗号分隔",
  6034. "name": "accountids",
  6035. "in": "query",
  6036. "required": true
  6037. },
  6038. {
  6039. "type": "integer",
  6040. "description": "合同类型,1为采购合同 -1为销售合同",
  6041. "name": "contracttype",
  6042. "in": "query",
  6043. "required": true
  6044. },
  6045. {
  6046. "type": "integer",
  6047. "description": "合同模式,1为普通合同 2为回购销售合同",
  6048. "name": "contractmode",
  6049. "in": "query",
  6050. "required": true
  6051. },
  6052. {
  6053. "type": "integer",
  6054. "description": "状态,0为履约中 1为已完成",
  6055. "name": "status",
  6056. "in": "query",
  6057. "required": true
  6058. }
  6059. ],
  6060. "responses": {
  6061. "200": {
  6062. "description": "OK",
  6063. "schema": {
  6064. "type": "array",
  6065. "items": {
  6066. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  6067. }
  6068. }
  6069. },
  6070. "500": {
  6071. "description": "Internal Server Error",
  6072. "schema": {
  6073. "$ref": "#/definitions/app.Response"
  6074. }
  6075. }
  6076. }
  6077. }
  6078. },
  6079. "/Erms3/QueryUserInfoApplies": {
  6080. "get": {
  6081. "security": [
  6082. {
  6083. "ApiKeyAuth": []
  6084. }
  6085. ],
  6086. "produces": [
  6087. "application/json"
  6088. ],
  6089. "tags": [
  6090. "风险管理v3"
  6091. ],
  6092. "summary": "客户申请信息查询",
  6093. "parameters": [
  6094. {
  6095. "type": "integer",
  6096. "description": "页码",
  6097. "name": "page",
  6098. "in": "query"
  6099. },
  6100. {
  6101. "type": "integer",
  6102. "description": "每页条数",
  6103. "name": "pagesize",
  6104. "in": "query"
  6105. },
  6106. {
  6107. "type": "string",
  6108. "description": "客户名称,支持模糊查询",
  6109. "name": "userName",
  6110. "in": "query"
  6111. }
  6112. ],
  6113. "responses": {
  6114. "200": {
  6115. "description": "OK",
  6116. "schema": {
  6117. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  6118. }
  6119. },
  6120. "500": {
  6121. "description": "Internal Server Error",
  6122. "schema": {
  6123. "$ref": "#/definitions/app.Response"
  6124. }
  6125. }
  6126. }
  6127. }
  6128. },
  6129. "/Erms3/QueryUserInfos": {
  6130. "get": {
  6131. "security": [
  6132. {
  6133. "ApiKeyAuth": []
  6134. }
  6135. ],
  6136. "produces": [
  6137. "application/json"
  6138. ],
  6139. "tags": [
  6140. "风险管理v3"
  6141. ],
  6142. "summary": "客户信息查询",
  6143. "parameters": [
  6144. {
  6145. "type": "integer",
  6146. "description": "页码",
  6147. "name": "page",
  6148. "in": "query"
  6149. },
  6150. {
  6151. "type": "integer",
  6152. "description": "每页条数",
  6153. "name": "pagesize",
  6154. "in": "query"
  6155. },
  6156. {
  6157. "type": "string",
  6158. "description": "客户名称,支持模糊查询",
  6159. "name": "userName",
  6160. "in": "query"
  6161. }
  6162. ],
  6163. "responses": {
  6164. "200": {
  6165. "description": "OK",
  6166. "schema": {
  6167. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  6168. }
  6169. },
  6170. "500": {
  6171. "description": "Internal Server Error",
  6172. "schema": {
  6173. "$ref": "#/definitions/app.Response"
  6174. }
  6175. }
  6176. }
  6177. }
  6178. },
  6179. "/HSBY/GetHsbyMyCount": {
  6180. "get": {
  6181. "security": [
  6182. {
  6183. "ApiKeyAuth": []
  6184. }
  6185. ],
  6186. "description": "说明: 不包括已完成的数量。",
  6187. "produces": [
  6188. "application/json"
  6189. ],
  6190. "tags": [
  6191. "定制【海商报业】"
  6192. ],
  6193. "summary": "获取我的订单与包裹数量",
  6194. "parameters": [
  6195. {
  6196. "type": "string",
  6197. "description": "资金账户列表,格式:1,2,3",
  6198. "name": "accountIDs",
  6199. "in": "query",
  6200. "required": true
  6201. }
  6202. ],
  6203. "responses": {
  6204. "200": {
  6205. "description": "OK",
  6206. "schema": {
  6207. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  6208. }
  6209. },
  6210. "500": {
  6211. "description": "Internal Server Error",
  6212. "schema": {
  6213. "$ref": "#/definitions/app.Response"
  6214. }
  6215. }
  6216. }
  6217. }
  6218. },
  6219. "/HSBY/QueryClientFixedADConfigs": {
  6220. "get": {
  6221. "security": [
  6222. {
  6223. "ApiKeyAuth": []
  6224. }
  6225. ],
  6226. "produces": [
  6227. "application/json"
  6228. ],
  6229. "tags": [
  6230. "定制【海商报业】"
  6231. ],
  6232. "summary": "获取终端固定广告配置",
  6233. "responses": {
  6234. "200": {
  6235. "description": "OK",
  6236. "schema": {
  6237. "$ref": "#/definitions/models.Clientfixedadconfig"
  6238. }
  6239. },
  6240. "500": {
  6241. "description": "Internal Server Error",
  6242. "schema": {
  6243. "$ref": "#/definitions/app.Response"
  6244. }
  6245. }
  6246. }
  6247. }
  6248. },
  6249. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  6250. "get": {
  6251. "security": [
  6252. {
  6253. "ApiKeyAuth": []
  6254. }
  6255. ],
  6256. "produces": [
  6257. "application/json"
  6258. ],
  6259. "tags": [
  6260. "定制【海商报业】"
  6261. ],
  6262. "summary": "查询\"我的订单 - 已完成\"单据信息",
  6263. "parameters": [
  6264. {
  6265. "type": "integer",
  6266. "description": "页码",
  6267. "name": "page",
  6268. "in": "query"
  6269. },
  6270. {
  6271. "type": "integer",
  6272. "description": "每页条数",
  6273. "name": "pagesize",
  6274. "in": "query"
  6275. },
  6276. {
  6277. "type": "string",
  6278. "description": "资金账户列表,格式:1,2,3",
  6279. "name": "accountIDs",
  6280. "in": "query",
  6281. "required": true
  6282. }
  6283. ],
  6284. "responses": {
  6285. "200": {
  6286. "description": "OK",
  6287. "schema": {
  6288. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  6289. }
  6290. },
  6291. "500": {
  6292. "description": "Internal Server Error",
  6293. "schema": {
  6294. "$ref": "#/definitions/app.Response"
  6295. }
  6296. }
  6297. }
  6298. }
  6299. },
  6300. "/HSBY/QueryHsbyGoodsOrderDetails": {
  6301. "get": {
  6302. "security": [
  6303. {
  6304. "ApiKeyAuth": []
  6305. }
  6306. ],
  6307. "description": "说明:查询结果已按委托价格和委托时间排序",
  6308. "produces": [
  6309. "application/json"
  6310. ],
  6311. "tags": [
  6312. "定制【海商报业】"
  6313. ],
  6314. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  6315. "parameters": [
  6316. {
  6317. "type": "integer",
  6318. "description": "商品ID",
  6319. "name": "goodsID",
  6320. "in": "query",
  6321. "required": true
  6322. },
  6323. {
  6324. "type": "string",
  6325. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  6326. "name": "accountIDs",
  6327. "in": "query"
  6328. },
  6329. {
  6330. "type": "integer",
  6331. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  6332. "name": "buyOrSell",
  6333. "in": "query"
  6334. },
  6335. {
  6336. "type": "number",
  6337. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  6338. "name": "price",
  6339. "in": "query"
  6340. },
  6341. {
  6342. "type": "integer",
  6343. "description": "档位,不传则默认为3档",
  6344. "name": "speed",
  6345. "in": "query"
  6346. }
  6347. ],
  6348. "responses": {
  6349. "200": {
  6350. "description": "OK",
  6351. "schema": {
  6352. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  6353. }
  6354. },
  6355. "500": {
  6356. "description": "Internal Server Error",
  6357. "schema": {
  6358. "$ref": "#/definitions/app.Response"
  6359. }
  6360. }
  6361. }
  6362. }
  6363. },
  6364. "/HSBY/QueryHsbyListingGoodsDetail": {
  6365. "get": {
  6366. "security": [
  6367. {
  6368. "ApiKeyAuth": []
  6369. }
  6370. ],
  6371. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  6372. "produces": [
  6373. "application/json"
  6374. ],
  6375. "tags": [
  6376. "定制【海商报业】"
  6377. ],
  6378. "summary": "查询二级市场(挂牌点选)商品信息详情",
  6379. "parameters": [
  6380. {
  6381. "type": "integer",
  6382. "description": "商品ID",
  6383. "name": "goodsID",
  6384. "in": "query",
  6385. "required": true
  6386. },
  6387. {
  6388. "type": "integer",
  6389. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  6390. "name": "accountID",
  6391. "in": "query"
  6392. }
  6393. ],
  6394. "responses": {
  6395. "200": {
  6396. "description": "OK",
  6397. "schema": {
  6398. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  6399. }
  6400. },
  6401. "500": {
  6402. "description": "Internal Server Error",
  6403. "schema": {
  6404. "$ref": "#/definitions/app.Response"
  6405. }
  6406. }
  6407. }
  6408. }
  6409. },
  6410. "/HSBY/QueryHsbyMarketGoodsDetail": {
  6411. "get": {
  6412. "security": [
  6413. {
  6414. "ApiKeyAuth": []
  6415. }
  6416. ],
  6417. "produces": [
  6418. "application/json"
  6419. ],
  6420. "tags": [
  6421. "定制【海商报业】"
  6422. ],
  6423. "summary": "查询三级市场(商城)商品信息详情",
  6424. "parameters": [
  6425. {
  6426. "type": "integer",
  6427. "description": "委托单号",
  6428. "name": "orderID",
  6429. "in": "query",
  6430. "required": true
  6431. },
  6432. {
  6433. "type": "integer",
  6434. "description": "资金账户,主要用于判断商品最大开仓手数;如未登录可不传。",
  6435. "name": "accountID",
  6436. "in": "query"
  6437. }
  6438. ],
  6439. "responses": {
  6440. "200": {
  6441. "description": "OK",
  6442. "schema": {
  6443. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  6444. }
  6445. },
  6446. "500": {
  6447. "description": "Internal Server Error",
  6448. "schema": {
  6449. "$ref": "#/definitions/app.Response"
  6450. }
  6451. }
  6452. }
  6453. }
  6454. },
  6455. "/HSBY/QueryHsbyMarketGoodses": {
  6456. "get": {
  6457. "security": [
  6458. {
  6459. "ApiKeyAuth": []
  6460. }
  6461. ],
  6462. "produces": [
  6463. "application/json"
  6464. ],
  6465. "tags": [
  6466. "定制【海商报业】"
  6467. ],
  6468. "summary": "查询特卖商品列表(三级商城)",
  6469. "parameters": [
  6470. {
  6471. "type": "integer",
  6472. "description": "页码",
  6473. "name": "page",
  6474. "in": "query"
  6475. },
  6476. {
  6477. "type": "integer",
  6478. "description": "每页条数",
  6479. "name": "pagesize",
  6480. "in": "query"
  6481. },
  6482. {
  6483. "type": "string",
  6484. "description": "市场ID列表,格式:1,2,3",
  6485. "name": "marketIDs",
  6486. "in": "query",
  6487. "required": true
  6488. },
  6489. {
  6490. "type": "integer",
  6491. "description": "资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。",
  6492. "name": "accountID",
  6493. "in": "query",
  6494. "required": true
  6495. },
  6496. {
  6497. "type": "integer",
  6498. "description": "类别ID",
  6499. "name": "categoryID",
  6500. "in": "query"
  6501. },
  6502. {
  6503. "type": "string",
  6504. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  6505. "name": "goodsIDs",
  6506. "in": "query"
  6507. },
  6508. {
  6509. "type": "integer",
  6510. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  6511. "name": "couponTypeID",
  6512. "in": "query"
  6513. }
  6514. ],
  6515. "responses": {
  6516. "200": {
  6517. "description": "OK",
  6518. "schema": {
  6519. "$ref": "#/definitions/models.HsbyMarketGoods"
  6520. }
  6521. },
  6522. "500": {
  6523. "description": "Internal Server Error",
  6524. "schema": {
  6525. "$ref": "#/definitions/app.Response"
  6526. }
  6527. }
  6528. }
  6529. }
  6530. },
  6531. "/HSBY/QueryHsbyMarkets": {
  6532. "get": {
  6533. "security": [
  6534. {
  6535. "ApiKeyAuth": []
  6536. }
  6537. ],
  6538. "produces": [
  6539. "application/json"
  6540. ],
  6541. "tags": [
  6542. "定制【海商报业】"
  6543. ],
  6544. "summary": "查询海商报业相关市场信息",
  6545. "responses": {
  6546. "200": {
  6547. "description": "OK",
  6548. "schema": {
  6549. "$ref": "#/definitions/models.HsbyMarketInfo"
  6550. }
  6551. },
  6552. "500": {
  6553. "description": "Internal Server Error",
  6554. "schema": {
  6555. "$ref": "#/definitions/app.Response"
  6556. }
  6557. }
  6558. }
  6559. }
  6560. },
  6561. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  6562. "get": {
  6563. "security": [
  6564. {
  6565. "ApiKeyAuth": []
  6566. }
  6567. ],
  6568. "description": "说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败",
  6569. "produces": [
  6570. "application/json"
  6571. ],
  6572. "tags": [
  6573. "定制【海商报业】"
  6574. ],
  6575. "summary": "查询“我的订单”信息",
  6576. "parameters": [
  6577. {
  6578. "type": "string",
  6579. "description": "资金账户列表,格式:1,2,3",
  6580. "name": "accountIDs",
  6581. "in": "query",
  6582. "required": true
  6583. }
  6584. ],
  6585. "responses": {
  6586. "200": {
  6587. "description": "OK",
  6588. "schema": {
  6589. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  6590. }
  6591. },
  6592. "500": {
  6593. "description": "Internal Server Error",
  6594. "schema": {
  6595. "$ref": "#/definitions/app.Response"
  6596. }
  6597. }
  6598. }
  6599. }
  6600. },
  6601. "/HSBY/QueryHsbyMyGoods": {
  6602. "get": {
  6603. "security": [
  6604. {
  6605. "ApiKeyAuth": []
  6606. }
  6607. ],
  6608. "description": "说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice",
  6609. "produces": [
  6610. "application/json"
  6611. ],
  6612. "tags": [
  6613. "定制【海商报业】"
  6614. ],
  6615. "summary": "查询“我的商品”信息",
  6616. "parameters": [
  6617. {
  6618. "type": "string",
  6619. "description": "资金账户列表,格式:1,2,3",
  6620. "name": "accountIDs",
  6621. "in": "query",
  6622. "required": true
  6623. }
  6624. ],
  6625. "responses": {
  6626. "200": {
  6627. "description": "OK",
  6628. "schema": {
  6629. "$ref": "#/definitions/models.HsbyMyGoods"
  6630. }
  6631. },
  6632. "500": {
  6633. "description": "Internal Server Error",
  6634. "schema": {
  6635. "$ref": "#/definitions/app.Response"
  6636. }
  6637. }
  6638. }
  6639. }
  6640. },
  6641. "/HSBY/QueryHsbyMyPackages": {
  6642. "get": {
  6643. "security": [
  6644. {
  6645. "ApiKeyAuth": []
  6646. }
  6647. ],
  6648. "produces": [
  6649. "application/json"
  6650. ],
  6651. "tags": [
  6652. "定制【海商报业】"
  6653. ],
  6654. "summary": "查询我的包裹信息",
  6655. "parameters": [
  6656. {
  6657. "type": "string",
  6658. "description": "资金账户列表,格式:1,2,3",
  6659. "name": "accountIDs",
  6660. "in": "query",
  6661. "required": true
  6662. },
  6663. {
  6664. "type": "integer",
  6665. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  6666. "name": "takeOrderStatus",
  6667. "in": "query"
  6668. }
  6669. ],
  6670. "responses": {
  6671. "200": {
  6672. "description": "OK",
  6673. "schema": {
  6674. "$ref": "#/definitions/models.HsbyMyPackage"
  6675. }
  6676. },
  6677. "500": {
  6678. "description": "Internal Server Error",
  6679. "schema": {
  6680. "$ref": "#/definitions/app.Response"
  6681. }
  6682. }
  6683. }
  6684. }
  6685. },
  6686. "/HSBY/QueryHsbyPreGoodsDetail": {
  6687. "get": {
  6688. "security": [
  6689. {
  6690. "ApiKeyAuth": []
  6691. }
  6692. ],
  6693. "produces": [
  6694. "application/json"
  6695. ],
  6696. "tags": [
  6697. "定制【海商报业】"
  6698. ],
  6699. "summary": "查询一级市场(预售)商品信息详情",
  6700. "parameters": [
  6701. {
  6702. "type": "integer",
  6703. "description": "商品ID",
  6704. "name": "goodsID",
  6705. "in": "query",
  6706. "required": true
  6707. },
  6708. {
  6709. "type": "integer",
  6710. "description": "资金账户,主要用于获取预售商品购买上限",
  6711. "name": "accountID",
  6712. "in": "query"
  6713. }
  6714. ],
  6715. "responses": {
  6716. "200": {
  6717. "description": "OK",
  6718. "schema": {
  6719. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  6720. }
  6721. },
  6722. "500": {
  6723. "description": "Internal Server Error",
  6724. "schema": {
  6725. "$ref": "#/definitions/app.Response"
  6726. }
  6727. }
  6728. }
  6729. }
  6730. },
  6731. "/HSBY/QueryHsbyPreGoodses": {
  6732. "get": {
  6733. "security": [
  6734. {
  6735. "ApiKeyAuth": []
  6736. }
  6737. ],
  6738. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  6739. "produces": [
  6740. "application/json"
  6741. ],
  6742. "tags": [
  6743. "定制【海商报业】"
  6744. ],
  6745. "summary": "查询新品上市商品列表(一级市场预售)",
  6746. "parameters": [
  6747. {
  6748. "type": "integer",
  6749. "description": "页码",
  6750. "name": "page",
  6751. "in": "query"
  6752. },
  6753. {
  6754. "type": "integer",
  6755. "description": "每页条数",
  6756. "name": "pagesize",
  6757. "in": "query"
  6758. },
  6759. {
  6760. "type": "string",
  6761. "description": "市场ID列表,格式:1,2,3",
  6762. "name": "marketIDs",
  6763. "in": "query",
  6764. "required": true
  6765. },
  6766. {
  6767. "type": "integer",
  6768. "description": "目的地(省)ID",
  6769. "name": "descProvinceID",
  6770. "in": "query"
  6771. },
  6772. {
  6773. "type": "integer",
  6774. "description": "目的地(市)ID",
  6775. "name": "descCityID",
  6776. "in": "query"
  6777. }
  6778. ],
  6779. "responses": {
  6780. "200": {
  6781. "description": "OK",
  6782. "schema": {
  6783. "$ref": "#/definitions/models.HsbyPreGoods"
  6784. }
  6785. },
  6786. "500": {
  6787. "description": "Internal Server Error",
  6788. "schema": {
  6789. "$ref": "#/definitions/app.Response"
  6790. }
  6791. }
  6792. }
  6793. }
  6794. },
  6795. "/HSBY/QueryHsbySellMyDetails": {
  6796. "get": {
  6797. "security": [
  6798. {
  6799. "ApiKeyAuth": []
  6800. }
  6801. ],
  6802. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  6803. "produces": [
  6804. "application/json"
  6805. ],
  6806. "tags": [
  6807. "定制【海商报业】"
  6808. ],
  6809. "summary": "查询\"我的闲置\"单据信息",
  6810. "parameters": [
  6811. {
  6812. "type": "integer",
  6813. "description": "页码",
  6814. "name": "page",
  6815. "in": "query"
  6816. },
  6817. {
  6818. "type": "integer",
  6819. "description": "每页条数",
  6820. "name": "pagesize",
  6821. "in": "query"
  6822. },
  6823. {
  6824. "type": "string",
  6825. "description": "资金账户列表,格式:1,2,3",
  6826. "name": "accountIDs",
  6827. "in": "query",
  6828. "required": true
  6829. },
  6830. {
  6831. "type": "integer",
  6832. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  6833. "name": "orderType",
  6834. "in": "query"
  6835. }
  6836. ],
  6837. "responses": {
  6838. "200": {
  6839. "description": "OK",
  6840. "schema": {
  6841. "$ref": "#/definitions/models.HsbySellMyDetail"
  6842. }
  6843. },
  6844. "500": {
  6845. "description": "Internal Server Error",
  6846. "schema": {
  6847. "$ref": "#/definitions/app.Response"
  6848. }
  6849. }
  6850. }
  6851. }
  6852. },
  6853. "/HSBY/QueryHsbyTopGoodses": {
  6854. "get": {
  6855. "security": [
  6856. {
  6857. "ApiKeyAuth": []
  6858. }
  6859. ],
  6860. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  6861. "produces": [
  6862. "application/json"
  6863. ],
  6864. "tags": [
  6865. "定制【海商报业】"
  6866. ],
  6867. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  6868. "parameters": [
  6869. {
  6870. "type": "integer",
  6871. "description": "页码",
  6872. "name": "page",
  6873. "in": "query"
  6874. },
  6875. {
  6876. "type": "integer",
  6877. "description": "每页条数",
  6878. "name": "pagesize",
  6879. "in": "query"
  6880. },
  6881. {
  6882. "type": "string",
  6883. "description": "市场ID列表,格式:1,2,3",
  6884. "name": "marketIDs",
  6885. "in": "query",
  6886. "required": true
  6887. },
  6888. {
  6889. "type": "integer",
  6890. "description": "目的地(省)ID",
  6891. "name": "descProvinceID",
  6892. "in": "query"
  6893. },
  6894. {
  6895. "type": "integer",
  6896. "description": "目的地(市)ID",
  6897. "name": "descCityID",
  6898. "in": "query"
  6899. }
  6900. ],
  6901. "responses": {
  6902. "200": {
  6903. "description": "OK",
  6904. "schema": {
  6905. "$ref": "#/definitions/models.HsbyTopGoods"
  6906. }
  6907. },
  6908. "500": {
  6909. "description": "Internal Server Error",
  6910. "schema": {
  6911. "$ref": "#/definitions/app.Response"
  6912. }
  6913. }
  6914. }
  6915. }
  6916. },
  6917. "/HSBY/QueryHsbyVisitorMarketGoodsDetail": {
  6918. "get": {
  6919. "security": [
  6920. {
  6921. "ApiKeyAuth": []
  6922. }
  6923. ],
  6924. "description": "说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。",
  6925. "produces": [
  6926. "application/json"
  6927. ],
  6928. "tags": [
  6929. "定制【海商报业】"
  6930. ],
  6931. "summary": "查询游客三级市场(商城)商品信息详情",
  6932. "parameters": [
  6933. {
  6934. "type": "integer",
  6935. "description": "商品ID",
  6936. "name": "goodsID",
  6937. "in": "query",
  6938. "required": true
  6939. }
  6940. ],
  6941. "responses": {
  6942. "200": {
  6943. "description": "OK",
  6944. "schema": {
  6945. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  6946. }
  6947. },
  6948. "500": {
  6949. "description": "Internal Server Error",
  6950. "schema": {
  6951. "$ref": "#/definitions/app.Response"
  6952. }
  6953. }
  6954. }
  6955. }
  6956. },
  6957. "/HSBY/QueryHsbyVisitorMarketGoodses": {
  6958. "get": {
  6959. "security": [
  6960. {
  6961. "ApiKeyAuth": []
  6962. }
  6963. ],
  6964. "description": "说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。",
  6965. "produces": [
  6966. "application/json"
  6967. ],
  6968. "tags": [
  6969. "定制【海商报业】"
  6970. ],
  6971. "summary": "查询游客特卖商品列表(三级商城)",
  6972. "parameters": [
  6973. {
  6974. "type": "integer",
  6975. "description": "页码",
  6976. "name": "page",
  6977. "in": "query"
  6978. },
  6979. {
  6980. "type": "integer",
  6981. "description": "每页条数",
  6982. "name": "pagesize",
  6983. "in": "query"
  6984. },
  6985. {
  6986. "type": "string",
  6987. "description": "市场ID列表,格式:1,2,3",
  6988. "name": "marketIDs",
  6989. "in": "query",
  6990. "required": true
  6991. },
  6992. {
  6993. "type": "integer",
  6994. "description": "类别ID",
  6995. "name": "categoryID",
  6996. "in": "query"
  6997. },
  6998. {
  6999. "type": "string",
  7000. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  7001. "name": "goodsIDs",
  7002. "in": "query"
  7003. }
  7004. ],
  7005. "responses": {
  7006. "200": {
  7007. "description": "OK",
  7008. "schema": {
  7009. "$ref": "#/definitions/models.HsbyMarketGoods"
  7010. }
  7011. },
  7012. "500": {
  7013. "description": "Internal Server Error",
  7014. "schema": {
  7015. "$ref": "#/definitions/app.Response"
  7016. }
  7017. }
  7018. }
  7019. }
  7020. },
  7021. "/HSBY/QueryMyCollectionOrders": {
  7022. "get": {
  7023. "security": [
  7024. {
  7025. "ApiKeyAuth": []
  7026. }
  7027. ],
  7028. "produces": [
  7029. "application/json"
  7030. ],
  7031. "tags": [
  7032. "定制【海商报业】"
  7033. ],
  7034. "summary": "我的闲置中收款信息查询",
  7035. "parameters": [
  7036. {
  7037. "type": "integer",
  7038. "description": "页码",
  7039. "name": "page",
  7040. "in": "query"
  7041. },
  7042. {
  7043. "type": "integer",
  7044. "description": "每页条数",
  7045. "name": "pagesize",
  7046. "in": "query"
  7047. },
  7048. {
  7049. "type": "string",
  7050. "description": "资金账户,格式:1,2,3",
  7051. "name": "accountIDs",
  7052. "in": "query",
  7053. "required": true
  7054. }
  7055. ],
  7056. "responses": {
  7057. "200": {
  7058. "description": "OK",
  7059. "schema": {
  7060. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  7061. }
  7062. },
  7063. "500": {
  7064. "description": "Internal Server Error",
  7065. "schema": {
  7066. "$ref": "#/definitions/app.Response"
  7067. }
  7068. }
  7069. }
  7070. }
  7071. },
  7072. "/HSBY/QueryMyCouponHolds": {
  7073. "get": {
  7074. "security": [
  7075. {
  7076. "ApiKeyAuth": []
  7077. }
  7078. ],
  7079. "description": "说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。",
  7080. "produces": [
  7081. "application/json"
  7082. ],
  7083. "tags": [
  7084. "定制【海商报业】"
  7085. ],
  7086. "summary": "我的优惠卷持仓查询",
  7087. "parameters": [
  7088. {
  7089. "type": "string",
  7090. "description": "资金账户列表,格式:1,2,3",
  7091. "name": "accountIDs",
  7092. "in": "query",
  7093. "required": true
  7094. },
  7095. {
  7096. "type": "string",
  7097. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  7098. "name": "holdStatus",
  7099. "in": "query"
  7100. }
  7101. ],
  7102. "responses": {
  7103. "200": {
  7104. "description": "OK",
  7105. "schema": {
  7106. "$ref": "#/definitions/models.MyCouponHold"
  7107. }
  7108. },
  7109. "500": {
  7110. "description": "Internal Server Error",
  7111. "schema": {
  7112. "$ref": "#/definitions/app.Response"
  7113. }
  7114. }
  7115. }
  7116. }
  7117. },
  7118. "/HSBY/QueryMyCoupons": {
  7119. "get": {
  7120. "security": [
  7121. {
  7122. "ApiKeyAuth": []
  7123. }
  7124. ],
  7125. "produces": [
  7126. "application/json"
  7127. ],
  7128. "tags": [
  7129. "定制【海商报业】"
  7130. ],
  7131. "summary": "我的优惠卷查询",
  7132. "parameters": [
  7133. {
  7134. "type": "string",
  7135. "description": "资金账户列表,格式:1,2,3",
  7136. "name": "accountIDs",
  7137. "in": "query",
  7138. "required": true
  7139. },
  7140. {
  7141. "type": "integer",
  7142. "description": "商品ID, 一般与sellUserID配套传入",
  7143. "name": "goodsID",
  7144. "in": "query"
  7145. },
  7146. {
  7147. "type": "integer",
  7148. "description": "卖方UserID",
  7149. "name": "sellUserID",
  7150. "in": "query"
  7151. }
  7152. ],
  7153. "responses": {
  7154. "200": {
  7155. "description": "OK",
  7156. "schema": {
  7157. "$ref": "#/definitions/models.MyCoupon"
  7158. }
  7159. },
  7160. "500": {
  7161. "description": "Internal Server Error",
  7162. "schema": {
  7163. "$ref": "#/definitions/app.Response"
  7164. }
  7165. }
  7166. }
  7167. }
  7168. },
  7169. "/HSBY/QueryMyPayOrders": {
  7170. "get": {
  7171. "security": [
  7172. {
  7173. "ApiKeyAuth": []
  7174. }
  7175. ],
  7176. "produces": [
  7177. "application/json"
  7178. ],
  7179. "tags": [
  7180. "定制【海商报业】"
  7181. ],
  7182. "summary": "获取我的订单中待付款信息",
  7183. "parameters": [
  7184. {
  7185. "type": "integer",
  7186. "description": "页码",
  7187. "name": "page",
  7188. "in": "query"
  7189. },
  7190. {
  7191. "type": "integer",
  7192. "description": "每页条数",
  7193. "name": "pagesize",
  7194. "in": "query"
  7195. },
  7196. {
  7197. "type": "string",
  7198. "description": "资金账户列表,格式:1,2,3",
  7199. "name": "accountIDs",
  7200. "in": "query",
  7201. "required": true
  7202. },
  7203. {
  7204. "type": "integer",
  7205. "description": "买方委托单号",
  7206. "name": "buyOrderID",
  7207. "in": "query"
  7208. },
  7209. {
  7210. "type": "integer",
  7211. "description": "卖方委托单号",
  7212. "name": "sellOrderID",
  7213. "in": "query"
  7214. }
  7215. ],
  7216. "responses": {
  7217. "200": {
  7218. "description": "OK",
  7219. "schema": {
  7220. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  7221. }
  7222. },
  7223. "500": {
  7224. "description": "Internal Server Error",
  7225. "schema": {
  7226. "$ref": "#/definitions/app.Response"
  7227. }
  7228. }
  7229. }
  7230. }
  7231. },
  7232. "/HSBY/QueryMyUsedCoupon": {
  7233. "get": {
  7234. "security": [
  7235. {
  7236. "ApiKeyAuth": []
  7237. }
  7238. ],
  7239. "produces": [
  7240. "application/json"
  7241. ],
  7242. "tags": [
  7243. "定制【海商报业】"
  7244. ],
  7245. "summary": "已使用优惠卷查询",
  7246. "parameters": [
  7247. {
  7248. "type": "string",
  7249. "description": "资金账户列表,格式:1,2,3",
  7250. "name": "accountIDs",
  7251. "in": "query",
  7252. "required": true
  7253. }
  7254. ],
  7255. "responses": {
  7256. "200": {
  7257. "description": "OK",
  7258. "schema": {
  7259. "$ref": "#/definitions/models.MyUsedCoupon"
  7260. }
  7261. },
  7262. "500": {
  7263. "description": "Internal Server Error",
  7264. "schema": {
  7265. "$ref": "#/definitions/app.Response"
  7266. }
  7267. }
  7268. }
  7269. }
  7270. },
  7271. "/HSBY/QueryProvincesAndCities": {
  7272. "get": {
  7273. "security": [
  7274. {
  7275. "ApiKeyAuth": []
  7276. }
  7277. ],
  7278. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  7279. "produces": [
  7280. "application/json"
  7281. ],
  7282. "tags": [
  7283. "定制【海商报业】"
  7284. ],
  7285. "summary": "查询省市信息(不包括区)",
  7286. "parameters": [
  7287. {
  7288. "type": "integer",
  7289. "description": "省ID",
  7290. "name": "provinceID",
  7291. "in": "query"
  7292. }
  7293. ],
  7294. "responses": {
  7295. "200": {
  7296. "description": "OK",
  7297. "schema": {
  7298. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  7299. }
  7300. },
  7301. "500": {
  7302. "description": "Internal Server Error",
  7303. "schema": {
  7304. "$ref": "#/definitions/app.Response"
  7305. }
  7306. }
  7307. }
  7308. }
  7309. },
  7310. "/HSBY/SetHsbyMyPackagesStatus": {
  7311. "post": {
  7312. "security": [
  7313. {
  7314. "ApiKeyAuth": []
  7315. }
  7316. ],
  7317. "produces": [
  7318. "application/json"
  7319. ],
  7320. "tags": [
  7321. "定制【海商报业】"
  7322. ],
  7323. "summary": "设置我的包裹已收货状态",
  7324. "parameters": [
  7325. {
  7326. "type": "string",
  7327. "description": "提货单号",
  7328. "name": "takeOrderID",
  7329. "in": "query",
  7330. "required": true
  7331. },
  7332. {
  7333. "type": "integer",
  7334. "description": "资金账号",
  7335. "name": "accountID",
  7336. "in": "query",
  7337. "required": true
  7338. }
  7339. ],
  7340. "responses": {
  7341. "200": {
  7342. "description": "OK",
  7343. "schema": {
  7344. "$ref": "#/definitions/app.Response"
  7345. }
  7346. },
  7347. "500": {
  7348. "description": "Internal Server Error",
  7349. "schema": {
  7350. "$ref": "#/definitions/app.Response"
  7351. }
  7352. }
  7353. }
  7354. }
  7355. },
  7356. "/Market/GetAllExExchanges": {
  7357. "get": {
  7358. "security": [
  7359. {
  7360. "ApiKeyAuth": []
  7361. }
  7362. ],
  7363. "produces": [
  7364. "application/json"
  7365. ],
  7366. "tags": [
  7367. "通用市场"
  7368. ],
  7369. "summary": "获取所有外部交易所信息",
  7370. "responses": {
  7371. "200": {
  7372. "description": "OK",
  7373. "schema": {
  7374. "$ref": "#/definitions/models.Goods"
  7375. }
  7376. },
  7377. "500": {
  7378. "description": "Internal Server Error",
  7379. "schema": {
  7380. "$ref": "#/definitions/app.Response"
  7381. }
  7382. }
  7383. }
  7384. }
  7385. },
  7386. "/Market/QueryGoodsesByLoginID": {
  7387. "get": {
  7388. "security": [
  7389. {
  7390. "ApiKeyAuth": []
  7391. }
  7392. ],
  7393. "produces": [
  7394. "application/json"
  7395. ],
  7396. "tags": [
  7397. "通用市场"
  7398. ],
  7399. "summary": "获取登录账号有权限的商品信息",
  7400. "parameters": [
  7401. {
  7402. "type": "integer",
  7403. "description": "登录账号",
  7404. "name": "loginID",
  7405. "in": "query",
  7406. "required": true
  7407. },
  7408. {
  7409. "type": "string",
  7410. "description": "市场ID列表,格式:1,2,3",
  7411. "name": "marketIDs",
  7412. "in": "query"
  7413. }
  7414. ],
  7415. "responses": {
  7416. "200": {
  7417. "description": "OK",
  7418. "schema": {
  7419. "$ref": "#/definitions/models.Goods"
  7420. }
  7421. },
  7422. "500": {
  7423. "description": "Internal Server Error",
  7424. "schema": {
  7425. "$ref": "#/definitions/app.Response"
  7426. }
  7427. }
  7428. }
  7429. }
  7430. },
  7431. "/Market/QueryMarketRun": {
  7432. "get": {
  7433. "security": [
  7434. {
  7435. "ApiKeyAuth": []
  7436. }
  7437. ],
  7438. "produces": [
  7439. "application/json"
  7440. ],
  7441. "tags": [
  7442. "通用市场"
  7443. ],
  7444. "summary": "查询市场运行信息",
  7445. "parameters": [
  7446. {
  7447. "type": "integer",
  7448. "description": "市场ID,不传返回所有",
  7449. "name": "marketID",
  7450. "in": "query"
  7451. }
  7452. ],
  7453. "responses": {
  7454. "200": {
  7455. "description": "OK",
  7456. "schema": {
  7457. "$ref": "#/definitions/models.Marketrun"
  7458. }
  7459. },
  7460. "500": {
  7461. "description": "Internal Server Error",
  7462. "schema": {
  7463. "$ref": "#/definitions/app.Response"
  7464. }
  7465. }
  7466. }
  7467. }
  7468. },
  7469. "/Market/QueryMarketsByLoginID": {
  7470. "get": {
  7471. "security": [
  7472. {
  7473. "ApiKeyAuth": []
  7474. }
  7475. ],
  7476. "produces": [
  7477. "application/json"
  7478. ],
  7479. "tags": [
  7480. "通用市场"
  7481. ],
  7482. "summary": "获取登录账号有权限的市场信息",
  7483. "parameters": [
  7484. {
  7485. "type": "integer",
  7486. "description": "登录账号",
  7487. "name": "loginID",
  7488. "in": "query",
  7489. "required": true
  7490. }
  7491. ],
  7492. "responses": {
  7493. "200": {
  7494. "description": "OK",
  7495. "schema": {
  7496. "$ref": "#/definitions/models.Market"
  7497. }
  7498. },
  7499. "500": {
  7500. "description": "Internal Server Error",
  7501. "schema": {
  7502. "$ref": "#/definitions/app.Response"
  7503. }
  7504. }
  7505. }
  7506. }
  7507. },
  7508. "/Order/QueryHisTradeDetail": {
  7509. "get": {
  7510. "security": [
  7511. {
  7512. "ApiKeyAuth": []
  7513. }
  7514. ],
  7515. "produces": [
  7516. "application/json"
  7517. ],
  7518. "tags": [
  7519. "通用单据"
  7520. ],
  7521. "summary": "历史成交单查询(合约市场)",
  7522. "parameters": [
  7523. {
  7524. "type": "string",
  7525. "description": "资金账户 - 格式:1,2,3",
  7526. "name": "accountID",
  7527. "in": "query",
  7528. "required": true
  7529. },
  7530. {
  7531. "type": "integer",
  7532. "description": "成交单号",
  7533. "name": "tradeID",
  7534. "in": "query"
  7535. },
  7536. {
  7537. "type": "integer",
  7538. "description": "委托单号",
  7539. "name": "orderID",
  7540. "in": "query"
  7541. },
  7542. {
  7543. "type": "integer",
  7544. "description": "商品ID",
  7545. "name": "goodsID",
  7546. "in": "query"
  7547. },
  7548. {
  7549. "type": "string",
  7550. "description": "交易模式 - 格式:1,2,3",
  7551. "name": "tradeMode",
  7552. "in": "query"
  7553. },
  7554. {
  7555. "type": "integer",
  7556. "description": "委托单据类型",
  7557. "name": "buildType",
  7558. "in": "query"
  7559. },
  7560. {
  7561. "type": "string",
  7562. "description": "成交类别 - 格式:1,2,3",
  7563. "name": "tradeType",
  7564. "in": "query"
  7565. },
  7566. {
  7567. "type": "string",
  7568. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  7569. "name": "startDate",
  7570. "in": "query"
  7571. },
  7572. {
  7573. "type": "string",
  7574. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  7575. "name": "endDate",
  7576. "in": "query"
  7577. }
  7578. ],
  7579. "responses": {
  7580. "200": {
  7581. "description": "OK",
  7582. "schema": {
  7583. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  7584. }
  7585. },
  7586. "500": {
  7587. "description": "Internal Server Error",
  7588. "schema": {
  7589. "$ref": "#/definitions/app.Response"
  7590. }
  7591. }
  7592. }
  7593. }
  7594. },
  7595. "/Order/QueryHisTradeOrderDetail": {
  7596. "get": {
  7597. "security": [
  7598. {
  7599. "ApiKeyAuth": []
  7600. }
  7601. ],
  7602. "produces": [
  7603. "application/json"
  7604. ],
  7605. "tags": [
  7606. "通用单据"
  7607. ],
  7608. "summary": "历史委托单查询请求(合约市场)",
  7609. "parameters": [
  7610. {
  7611. "type": "string",
  7612. "description": "资金账户 - 格式:1,2,3",
  7613. "name": "accountID",
  7614. "in": "query",
  7615. "required": true
  7616. },
  7617. {
  7618. "type": "string",
  7619. "description": "交易模式 - 格式:1,2,3",
  7620. "name": "tradeMode",
  7621. "in": "query"
  7622. },
  7623. {
  7624. "type": "string",
  7625. "description": "委托状态 - 格式:1,2,3",
  7626. "name": "orderStatus",
  7627. "in": "query"
  7628. },
  7629. {
  7630. "type": "integer",
  7631. "description": "委托单号",
  7632. "name": "orderID",
  7633. "in": "query"
  7634. },
  7635. {
  7636. "type": "string",
  7637. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  7638. "name": "startDate",
  7639. "in": "query"
  7640. },
  7641. {
  7642. "type": "string",
  7643. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  7644. "name": "endDate",
  7645. "in": "query"
  7646. }
  7647. ],
  7648. "responses": {
  7649. "200": {
  7650. "description": "OK",
  7651. "schema": {
  7652. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  7653. }
  7654. },
  7655. "500": {
  7656. "description": "Internal Server Error",
  7657. "schema": {
  7658. "$ref": "#/definitions/app.Response"
  7659. }
  7660. }
  7661. }
  7662. }
  7663. },
  7664. "/Order/QueryTradeDetail": {
  7665. "get": {
  7666. "security": [
  7667. {
  7668. "ApiKeyAuth": []
  7669. }
  7670. ],
  7671. "produces": [
  7672. "application/json"
  7673. ],
  7674. "tags": [
  7675. "通用单据"
  7676. ],
  7677. "summary": "成交单查询(合约市场)",
  7678. "parameters": [
  7679. {
  7680. "type": "string",
  7681. "description": "资金账户 - 格式:1,2,3",
  7682. "name": "accountID",
  7683. "in": "query",
  7684. "required": true
  7685. },
  7686. {
  7687. "type": "integer",
  7688. "description": "成交单号",
  7689. "name": "tradeID",
  7690. "in": "query"
  7691. },
  7692. {
  7693. "type": "integer",
  7694. "description": "委托单号",
  7695. "name": "orderID",
  7696. "in": "query"
  7697. },
  7698. {
  7699. "type": "string",
  7700. "description": "交易模式 - 格式:1,2,3",
  7701. "name": "tradeMode",
  7702. "in": "query"
  7703. },
  7704. {
  7705. "type": "integer",
  7706. "description": "委托单据类型",
  7707. "name": "buildType",
  7708. "in": "query"
  7709. },
  7710. {
  7711. "type": "string",
  7712. "description": "成交类别 - 格式:1,2,3",
  7713. "name": "tradeType",
  7714. "in": "query"
  7715. },
  7716. {
  7717. "type": "integer",
  7718. "description": "商品ID",
  7719. "name": "goodsID",
  7720. "in": "query"
  7721. }
  7722. ],
  7723. "responses": {
  7724. "200": {
  7725. "description": "OK",
  7726. "schema": {
  7727. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  7728. }
  7729. },
  7730. "500": {
  7731. "description": "Internal Server Error",
  7732. "schema": {
  7733. "$ref": "#/definitions/app.Response"
  7734. }
  7735. }
  7736. }
  7737. }
  7738. },
  7739. "/Order/QueryTradeHolderDetail": {
  7740. "get": {
  7741. "security": [
  7742. {
  7743. "ApiKeyAuth": []
  7744. }
  7745. ],
  7746. "produces": [
  7747. "application/json"
  7748. ],
  7749. "tags": [
  7750. "通用单据"
  7751. ],
  7752. "summary": "查询持仓明细",
  7753. "parameters": [
  7754. {
  7755. "type": "integer",
  7756. "description": "用户id",
  7757. "name": "userid",
  7758. "in": "query"
  7759. },
  7760. {
  7761. "type": "string",
  7762. "description": "资金账号, 格式 1,2,3",
  7763. "name": "accids",
  7764. "in": "query"
  7765. },
  7766. {
  7767. "type": "string",
  7768. "description": "交易模式, 格式 1,2,3",
  7769. "name": "trademodes",
  7770. "in": "query"
  7771. },
  7772. {
  7773. "type": "string",
  7774. "description": "市场id, 格式 1,2,3",
  7775. "name": "marketids",
  7776. "in": "query"
  7777. },
  7778. {
  7779. "type": "integer",
  7780. "description": "商品id",
  7781. "name": "goodsid",
  7782. "in": "query"
  7783. },
  7784. {
  7785. "type": "integer",
  7786. "description": "买卖方向 0-买 1-卖",
  7787. "name": "buyorsell",
  7788. "in": "query"
  7789. }
  7790. ],
  7791. "responses": {
  7792. "200": {
  7793. "description": "OK",
  7794. "schema": {
  7795. "type": "array",
  7796. "items": {
  7797. "$ref": "#/definitions/models.TradeHolderDetail"
  7798. }
  7799. }
  7800. },
  7801. "500": {
  7802. "description": "Internal Server Error",
  7803. "schema": {
  7804. "$ref": "#/definitions/app.Response"
  7805. }
  7806. }
  7807. }
  7808. }
  7809. },
  7810. "/Order/QueryTradeOrderDetail": {
  7811. "get": {
  7812. "security": [
  7813. {
  7814. "ApiKeyAuth": []
  7815. }
  7816. ],
  7817. "produces": [
  7818. "application/json"
  7819. ],
  7820. "tags": [
  7821. "通用单据"
  7822. ],
  7823. "summary": "委托单查询请求(合约市场)",
  7824. "parameters": [
  7825. {
  7826. "type": "string",
  7827. "description": "资金账户 - 格式:1,2,3",
  7828. "name": "accountID",
  7829. "in": "query",
  7830. "required": true
  7831. },
  7832. {
  7833. "type": "string",
  7834. "description": "交易模式 - 格式:1,2,3",
  7835. "name": "tradeMode",
  7836. "in": "query"
  7837. },
  7838. {
  7839. "type": "string",
  7840. "description": "委托状态 - 格式:1,2,3",
  7841. "name": "orderStatus",
  7842. "in": "query"
  7843. },
  7844. {
  7845. "type": "integer",
  7846. "description": "委托单号",
  7847. "name": "orderID",
  7848. "in": "query"
  7849. }
  7850. ],
  7851. "responses": {
  7852. "200": {
  7853. "description": "OK",
  7854. "schema": {
  7855. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  7856. }
  7857. },
  7858. "500": {
  7859. "description": "Internal Server Error",
  7860. "schema": {
  7861. "$ref": "#/definitions/app.Response"
  7862. }
  7863. }
  7864. }
  7865. }
  7866. },
  7867. "/Order/QueryTradePosition": {
  7868. "get": {
  7869. "security": [
  7870. {
  7871. "ApiKeyAuth": []
  7872. }
  7873. ],
  7874. "produces": [
  7875. "application/json"
  7876. ],
  7877. "tags": [
  7878. "通用单据"
  7879. ],
  7880. "summary": "持仓汇总查询(合约市场)",
  7881. "parameters": [
  7882. {
  7883. "type": "string",
  7884. "description": "资金账户 - 格式:1,2,3",
  7885. "name": "accountID",
  7886. "in": "query",
  7887. "required": true
  7888. },
  7889. {
  7890. "type": "string",
  7891. "description": "交易模式 - 格式:1,2,3",
  7892. "name": "tradeMode",
  7893. "in": "query"
  7894. }
  7895. ],
  7896. "responses": {
  7897. "200": {
  7898. "description": "OK",
  7899. "schema": {
  7900. "$ref": "#/definitions/order.QueryTradePositionRsp"
  7901. }
  7902. },
  7903. "500": {
  7904. "description": "Internal Server Error",
  7905. "schema": {
  7906. "$ref": "#/definitions/app.Response"
  7907. }
  7908. }
  7909. }
  7910. }
  7911. },
  7912. "/Qhj/QueryAccountInOutApply": {
  7913. "get": {
  7914. "security": [
  7915. {
  7916. "ApiKeyAuth": []
  7917. }
  7918. ],
  7919. "produces": [
  7920. "application/json"
  7921. ],
  7922. "tags": [
  7923. "大连千海金"
  7924. ],
  7925. "summary": "查询充值提现",
  7926. "parameters": [
  7927. {
  7928. "type": "integer",
  7929. "description": "用户ID",
  7930. "name": "userid",
  7931. "in": "query",
  7932. "required": true
  7933. },
  7934. {
  7935. "type": "string",
  7936. "description": "申请起始日期(格式yyyymmdd)",
  7937. "name": "begindate",
  7938. "in": "query"
  7939. },
  7940. {
  7941. "type": "string",
  7942. "description": "申请截止日期(格式yyyymmdd)",
  7943. "name": "enddate",
  7944. "in": "query"
  7945. },
  7946. {
  7947. "type": "string",
  7948. "description": "模糊搜索名称",
  7949. "name": "likename",
  7950. "in": "query"
  7951. }
  7952. ],
  7953. "responses": {
  7954. "200": {
  7955. "description": "OK",
  7956. "schema": {
  7957. "type": "array",
  7958. "items": {
  7959. "$ref": "#/definitions/models.QhjAccountOutInApply"
  7960. }
  7961. }
  7962. },
  7963. "500": {
  7964. "description": "Internal Server Error",
  7965. "schema": {
  7966. "$ref": "#/definitions/app.Response"
  7967. }
  7968. }
  7969. }
  7970. }
  7971. },
  7972. "/Qhj/QueryAreaFinanceConfig": {
  7973. "get": {
  7974. "security": [
  7975. {
  7976. "ApiKeyAuth": []
  7977. }
  7978. ],
  7979. "produces": [
  7980. "application/json"
  7981. ],
  7982. "tags": [
  7983. "大连千海金"
  7984. ],
  7985. "summary": "查询企业配置表",
  7986. "parameters": [
  7987. {
  7988. "type": "integer",
  7989. "description": "机构用户ID 其他做市关系,都设置为 1",
  7990. "name": "userid",
  7991. "in": "query"
  7992. }
  7993. ],
  7994. "responses": {
  7995. "200": {
  7996. "description": "OK",
  7997. "schema": {
  7998. "type": "array",
  7999. "items": {
  8000. "$ref": "#/definitions/models.QhjAreaFinanceConfig"
  8001. }
  8002. }
  8003. },
  8004. "500": {
  8005. "description": "Internal Server Error",
  8006. "schema": {
  8007. "$ref": "#/definitions/app.Response"
  8008. }
  8009. }
  8010. }
  8011. }
  8012. },
  8013. "/Qhj/QueryBankAccountSign": {
  8014. "get": {
  8015. "security": [
  8016. {
  8017. "ApiKeyAuth": []
  8018. }
  8019. ],
  8020. "produces": [
  8021. "application/json"
  8022. ],
  8023. "tags": [
  8024. "大连千海金"
  8025. ],
  8026. "summary": "查询签约银行信息(提现账户管理)",
  8027. "parameters": [
  8028. {
  8029. "type": "integer",
  8030. "description": "用户ID",
  8031. "name": "userid",
  8032. "in": "query",
  8033. "required": true
  8034. }
  8035. ],
  8036. "responses": {
  8037. "200": {
  8038. "description": "OK",
  8039. "schema": {
  8040. "type": "array",
  8041. "items": {
  8042. "$ref": "#/definitions/models.QhjBankAccountSign"
  8043. }
  8044. }
  8045. },
  8046. "500": {
  8047. "description": "Internal Server Error",
  8048. "schema": {
  8049. "$ref": "#/definitions/app.Response"
  8050. }
  8051. }
  8052. }
  8053. }
  8054. },
  8055. "/Qhj/QueryBankInfo": {
  8056. "get": {
  8057. "security": [
  8058. {
  8059. "ApiKeyAuth": []
  8060. }
  8061. ],
  8062. "produces": [
  8063. "application/json"
  8064. ],
  8065. "tags": [
  8066. "大连千海金"
  8067. ],
  8068. "summary": "查询开户行",
  8069. "responses": {
  8070. "200": {
  8071. "description": "OK",
  8072. "schema": {
  8073. "type": "array",
  8074. "items": {
  8075. "$ref": "#/definitions/models.QhjBankInfo"
  8076. }
  8077. }
  8078. },
  8079. "500": {
  8080. "description": "Internal Server Error",
  8081. "schema": {
  8082. "$ref": "#/definitions/app.Response"
  8083. }
  8084. }
  8085. }
  8086. }
  8087. },
  8088. "/Qhj/QueryBrokerApply": {
  8089. "get": {
  8090. "security": [
  8091. {
  8092. "ApiKeyAuth": []
  8093. }
  8094. ],
  8095. "produces": [
  8096. "application/json"
  8097. ],
  8098. "tags": [
  8099. "大连千海金"
  8100. ],
  8101. "summary": "查询经纪人申请",
  8102. "parameters": [
  8103. {
  8104. "type": "integer",
  8105. "description": "所属机构ID",
  8106. "name": "userid",
  8107. "in": "query"
  8108. },
  8109. {
  8110. "type": "string",
  8111. "description": "状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  8112. "name": "filterstatus",
  8113. "in": "query"
  8114. }
  8115. ],
  8116. "responses": {
  8117. "200": {
  8118. "description": "OK",
  8119. "schema": {
  8120. "type": "array",
  8121. "items": {
  8122. "$ref": "#/definitions/models.QhjBrokerApply"
  8123. }
  8124. }
  8125. },
  8126. "500": {
  8127. "description": "Internal Server Error",
  8128. "schema": {
  8129. "$ref": "#/definitions/app.Response"
  8130. }
  8131. }
  8132. }
  8133. }
  8134. },
  8135. "/Qhj/QueryBrokerApplyEx": {
  8136. "get": {
  8137. "security": [
  8138. {
  8139. "ApiKeyAuth": []
  8140. }
  8141. ],
  8142. "produces": [
  8143. "application/json"
  8144. ],
  8145. "tags": [
  8146. "大连千海金"
  8147. ],
  8148. "summary": "查询经纪人信息和申请记录",
  8149. "parameters": [
  8150. {
  8151. "type": "integer",
  8152. "description": "所属机构ID",
  8153. "name": "userid",
  8154. "in": "query"
  8155. }
  8156. ],
  8157. "responses": {
  8158. "200": {
  8159. "description": "OK",
  8160. "schema": {
  8161. "type": "array",
  8162. "items": {
  8163. "$ref": "#/definitions/models.QhjBrokerApplyEx"
  8164. }
  8165. }
  8166. },
  8167. "500": {
  8168. "description": "Internal Server Error",
  8169. "schema": {
  8170. "$ref": "#/definitions/app.Response"
  8171. }
  8172. }
  8173. }
  8174. }
  8175. },
  8176. "/Qhj/QueryBrokerRewardLog": {
  8177. "get": {
  8178. "security": [
  8179. {
  8180. "ApiKeyAuth": []
  8181. }
  8182. ],
  8183. "produces": [
  8184. "application/json"
  8185. ],
  8186. "tags": [
  8187. "大连千海金"
  8188. ],
  8189. "summary": "查询奖励流水(我的奖励)",
  8190. "parameters": [
  8191. {
  8192. "type": "integer",
  8193. "description": "用户ID",
  8194. "name": "userid",
  8195. "in": "query",
  8196. "required": true
  8197. },
  8198. {
  8199. "type": "string",
  8200. "description": "开始交易日(yyyymmdd)",
  8201. "name": "begindate",
  8202. "in": "query"
  8203. },
  8204. {
  8205. "type": "string",
  8206. "description": "结束交易日(yyyymmdd)",
  8207. "name": "enddate",
  8208. "in": "query"
  8209. }
  8210. ],
  8211. "responses": {
  8212. "200": {
  8213. "description": "OK",
  8214. "schema": {
  8215. "type": "array",
  8216. "items": {
  8217. "$ref": "#/definitions/models.QhjBrokerRewardLog"
  8218. }
  8219. }
  8220. },
  8221. "500": {
  8222. "description": "Internal Server Error",
  8223. "schema": {
  8224. "$ref": "#/definitions/app.Response"
  8225. }
  8226. }
  8227. }
  8228. }
  8229. },
  8230. "/Qhj/QueryContract": {
  8231. "get": {
  8232. "security": [
  8233. {
  8234. "ApiKeyAuth": []
  8235. }
  8236. ],
  8237. "produces": [
  8238. "application/json"
  8239. ],
  8240. "tags": [
  8241. "大连千海金"
  8242. ],
  8243. "summary": "查询融资明细(合同)",
  8244. "parameters": [
  8245. {
  8246. "type": "integer",
  8247. "description": "用户ID",
  8248. "name": "userid",
  8249. "in": "query"
  8250. },
  8251. {
  8252. "type": "integer",
  8253. "description": "scf合同id",
  8254. "name": "scfcontractid",
  8255. "in": "query"
  8256. }
  8257. ],
  8258. "responses": {
  8259. "200": {
  8260. "description": "OK",
  8261. "schema": {
  8262. "type": "array",
  8263. "items": {
  8264. "$ref": "#/definitions/models.QhjContract"
  8265. }
  8266. }
  8267. },
  8268. "500": {
  8269. "description": "Internal Server Error",
  8270. "schema": {
  8271. "$ref": "#/definitions/app.Response"
  8272. }
  8273. }
  8274. }
  8275. }
  8276. },
  8277. "/Qhj/QueryContractLog": {
  8278. "get": {
  8279. "security": [
  8280. {
  8281. "ApiKeyAuth": []
  8282. }
  8283. ],
  8284. "produces": [
  8285. "application/json"
  8286. ],
  8287. "tags": [
  8288. "大连千海金"
  8289. ],
  8290. "summary": "查询融资明细流水(融资明细详情页中的流水)",
  8291. "parameters": [
  8292. {
  8293. "type": "integer",
  8294. "description": "scf合同id",
  8295. "name": "scfcontractid",
  8296. "in": "query",
  8297. "required": true
  8298. },
  8299. {
  8300. "type": "string",
  8301. "description": "资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款",
  8302. "name": "amounttype",
  8303. "in": "query"
  8304. }
  8305. ],
  8306. "responses": {
  8307. "200": {
  8308. "description": "OK",
  8309. "schema": {
  8310. "type": "array",
  8311. "items": {
  8312. "$ref": "#/definitions/models.QhjContractLog"
  8313. }
  8314. }
  8315. },
  8316. "500": {
  8317. "description": "Internal Server Error",
  8318. "schema": {
  8319. "$ref": "#/definitions/app.Response"
  8320. }
  8321. }
  8322. }
  8323. }
  8324. },
  8325. "/Qhj/QueryCusBankSignBank": {
  8326. "get": {
  8327. "security": [
  8328. {
  8329. "ApiKeyAuth": []
  8330. }
  8331. ],
  8332. "produces": [
  8333. "application/json"
  8334. ],
  8335. "tags": [
  8336. "大连千海金"
  8337. ],
  8338. "summary": "查询托管银行",
  8339. "responses": {
  8340. "200": {
  8341. "description": "OK",
  8342. "schema": {
  8343. "type": "array",
  8344. "items": {
  8345. "$ref": "#/definitions/models.QhjCusBankSignBankEx"
  8346. }
  8347. }
  8348. },
  8349. "500": {
  8350. "description": "Internal Server Error",
  8351. "schema": {
  8352. "$ref": "#/definitions/app.Response"
  8353. }
  8354. }
  8355. }
  8356. }
  8357. },
  8358. "/Qhj/QueryCustomerInfo": {
  8359. "get": {
  8360. "security": [
  8361. {
  8362. "ApiKeyAuth": []
  8363. }
  8364. ],
  8365. "produces": [
  8366. "application/json"
  8367. ],
  8368. "tags": [
  8369. "大连千海金"
  8370. ],
  8371. "summary": "查询客户资料",
  8372. "parameters": [
  8373. {
  8374. "type": "integer",
  8375. "description": "用户ID",
  8376. "name": "userid",
  8377. "in": "query",
  8378. "required": true
  8379. },
  8380. {
  8381. "type": "integer",
  8382. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  8383. "name": "querytype",
  8384. "in": "query",
  8385. "required": true
  8386. },
  8387. {
  8388. "type": "integer",
  8389. "description": "客户类型 1-个人 2-企业",
  8390. "name": "userinfotype",
  8391. "in": "query"
  8392. },
  8393. {
  8394. "type": "string",
  8395. "description": "客户名称(模糊匹配)",
  8396. "name": "customername",
  8397. "in": "query"
  8398. },
  8399. {
  8400. "type": "string",
  8401. "description": "昵称(模糊匹配)",
  8402. "name": "nickname",
  8403. "in": "query"
  8404. },
  8405. {
  8406. "type": "integer",
  8407. "description": "是否包含子级 1-包含",
  8408. "name": "includesub",
  8409. "in": "query"
  8410. }
  8411. ],
  8412. "responses": {
  8413. "200": {
  8414. "description": "OK",
  8415. "schema": {
  8416. "type": "array",
  8417. "items": {
  8418. "$ref": "#/definitions/models.QhjCustomer"
  8419. }
  8420. }
  8421. },
  8422. "500": {
  8423. "description": "Internal Server Error",
  8424. "schema": {
  8425. "$ref": "#/definitions/app.Response"
  8426. }
  8427. }
  8428. }
  8429. }
  8430. },
  8431. "/Qhj/QueryGoodsEx": {
  8432. "get": {
  8433. "security": [
  8434. {
  8435. "ApiKeyAuth": []
  8436. }
  8437. ],
  8438. "produces": [
  8439. "application/json"
  8440. ],
  8441. "tags": [
  8442. "大连千海金"
  8443. ],
  8444. "summary": "交易商品扩展表",
  8445. "parameters": [
  8446. {
  8447. "type": "integer",
  8448. "description": "商品id",
  8449. "name": "goodsid",
  8450. "in": "query"
  8451. }
  8452. ],
  8453. "responses": {
  8454. "200": {
  8455. "description": "OK",
  8456. "schema": {
  8457. "type": "array",
  8458. "items": {
  8459. "$ref": "#/definitions/models.Qhjgoodsex"
  8460. }
  8461. }
  8462. },
  8463. "500": {
  8464. "description": "Internal Server Error",
  8465. "schema": {
  8466. "$ref": "#/definitions/app.Response"
  8467. }
  8468. }
  8469. }
  8470. }
  8471. },
  8472. "/Qhj/QueryMyTeam": {
  8473. "get": {
  8474. "security": [
  8475. {
  8476. "ApiKeyAuth": []
  8477. }
  8478. ],
  8479. "produces": [
  8480. "application/json"
  8481. ],
  8482. "tags": [
  8483. "大连千海金"
  8484. ],
  8485. "summary": "查询我的团队",
  8486. "parameters": [
  8487. {
  8488. "type": "integer",
  8489. "description": "用户ID",
  8490. "name": "userid",
  8491. "in": "query",
  8492. "required": true
  8493. }
  8494. ],
  8495. "responses": {
  8496. "200": {
  8497. "description": "OK",
  8498. "schema": {
  8499. "type": "array",
  8500. "items": {
  8501. "$ref": "#/definitions/models.QhjMyTeamEx"
  8502. }
  8503. }
  8504. },
  8505. "500": {
  8506. "description": "Internal Server Error",
  8507. "schema": {
  8508. "$ref": "#/definitions/app.Response"
  8509. }
  8510. }
  8511. }
  8512. }
  8513. },
  8514. "/Qhj/QueryMyTeamOrder": {
  8515. "get": {
  8516. "security": [
  8517. {
  8518. "ApiKeyAuth": []
  8519. }
  8520. ],
  8521. "produces": [
  8522. "application/json"
  8523. ],
  8524. "tags": [
  8525. "大连千海金"
  8526. ],
  8527. "summary": "查询团队订单(我的团队/团队订单)",
  8528. "parameters": [
  8529. {
  8530. "type": "integer",
  8531. "description": "页码",
  8532. "name": "page",
  8533. "in": "query"
  8534. },
  8535. {
  8536. "type": "integer",
  8537. "description": "每页条数",
  8538. "name": "pagesize",
  8539. "in": "query"
  8540. },
  8541. {
  8542. "type": "integer",
  8543. "description": "用户ID",
  8544. "name": "userid",
  8545. "in": "query",
  8546. "required": true
  8547. },
  8548. {
  8549. "type": "integer",
  8550. "description": "交易模式",
  8551. "name": "trademode",
  8552. "in": "query"
  8553. },
  8554. {
  8555. "type": "string",
  8556. "description": "名称(模糊搜索账户)",
  8557. "name": "filtername",
  8558. "in": "query"
  8559. }
  8560. ],
  8561. "responses": {
  8562. "200": {
  8563. "description": "OK",
  8564. "schema": {
  8565. "type": "array",
  8566. "items": {
  8567. "$ref": "#/definitions/models.QhjTeamOrder"
  8568. }
  8569. }
  8570. },
  8571. "500": {
  8572. "description": "Internal Server Error",
  8573. "schema": {
  8574. "$ref": "#/definitions/app.Response"
  8575. }
  8576. }
  8577. }
  8578. }
  8579. },
  8580. "/Qhj/QueryParentAreaList": {
  8581. "get": {
  8582. "security": [
  8583. {
  8584. "ApiKeyAuth": []
  8585. }
  8586. ],
  8587. "produces": [
  8588. "application/json"
  8589. ],
  8590. "tags": [
  8591. "大连千海金"
  8592. ],
  8593. "summary": "查询所属机构列表",
  8594. "parameters": [
  8595. {
  8596. "type": "integer",
  8597. "description": "用户ID",
  8598. "name": "userid",
  8599. "in": "query",
  8600. "required": true
  8601. }
  8602. ],
  8603. "responses": {
  8604. "200": {
  8605. "description": "OK",
  8606. "schema": {
  8607. "type": "array",
  8608. "items": {
  8609. "$ref": "#/definitions/models.QhjParentAreaList"
  8610. }
  8611. }
  8612. },
  8613. "500": {
  8614. "description": "Internal Server Error",
  8615. "schema": {
  8616. "$ref": "#/definitions/app.Response"
  8617. }
  8618. }
  8619. }
  8620. }
  8621. },
  8622. "/Qhj/QueryPayOrder": {
  8623. "get": {
  8624. "security": [
  8625. {
  8626. "ApiKeyAuth": []
  8627. }
  8628. ],
  8629. "produces": [
  8630. "application/json"
  8631. ],
  8632. "tags": [
  8633. "大连千海金"
  8634. ],
  8635. "summary": "查询待付款单据",
  8636. "parameters": [
  8637. {
  8638. "type": "integer",
  8639. "description": "资金账号id",
  8640. "name": "accountid",
  8641. "in": "query",
  8642. "required": true
  8643. },
  8644. {
  8645. "type": "integer",
  8646. "description": "成交单号",
  8647. "name": "tradeid",
  8648. "in": "query"
  8649. },
  8650. {
  8651. "type": "string",
  8652. "description": "付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  8653. "name": "payflag",
  8654. "in": "query"
  8655. }
  8656. ],
  8657. "responses": {
  8658. "200": {
  8659. "description": "OK",
  8660. "schema": {
  8661. "type": "array",
  8662. "items": {
  8663. "$ref": "#/definitions/models.QhjPayOrder"
  8664. }
  8665. }
  8666. },
  8667. "500": {
  8668. "description": "Internal Server Error",
  8669. "schema": {
  8670. "$ref": "#/definitions/app.Response"
  8671. }
  8672. }
  8673. }
  8674. }
  8675. },
  8676. "/Qhj/QueryPickArea": {
  8677. "get": {
  8678. "security": [
  8679. {
  8680. "ApiKeyAuth": []
  8681. }
  8682. ],
  8683. "produces": [
  8684. "application/json"
  8685. ],
  8686. "tags": [
  8687. "大连千海金"
  8688. ],
  8689. "summary": "查询提货门店",
  8690. "parameters": [
  8691. {
  8692. "type": "integer",
  8693. "description": "用户ID",
  8694. "name": "userid",
  8695. "in": "query"
  8696. }
  8697. ],
  8698. "responses": {
  8699. "200": {
  8700. "description": "OK",
  8701. "schema": {
  8702. "type": "array",
  8703. "items": {
  8704. "$ref": "#/definitions/models.QhjPickArea"
  8705. }
  8706. }
  8707. },
  8708. "500": {
  8709. "description": "Internal Server Error",
  8710. "schema": {
  8711. "$ref": "#/definitions/app.Response"
  8712. }
  8713. }
  8714. }
  8715. }
  8716. },
  8717. "/Qhj/QueryPickGoods": {
  8718. "get": {
  8719. "security": [
  8720. {
  8721. "ApiKeyAuth": []
  8722. }
  8723. ],
  8724. "produces": [
  8725. "application/json"
  8726. ],
  8727. "tags": [
  8728. "大连千海金"
  8729. ],
  8730. "summary": "查询提货商品",
  8731. "parameters": [
  8732. {
  8733. "type": "integer",
  8734. "description": "交易商品id",
  8735. "name": "goodsid",
  8736. "in": "query",
  8737. "required": true
  8738. },
  8739. {
  8740. "type": "string",
  8741. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  8742. "name": "status",
  8743. "in": "query"
  8744. }
  8745. ],
  8746. "responses": {
  8747. "200": {
  8748. "description": "OK",
  8749. "schema": {
  8750. "type": "array",
  8751. "items": {
  8752. "$ref": "#/definitions/models.QhjPickGoods"
  8753. }
  8754. }
  8755. },
  8756. "500": {
  8757. "description": "Internal Server Error",
  8758. "schema": {
  8759. "$ref": "#/definitions/app.Response"
  8760. }
  8761. }
  8762. }
  8763. }
  8764. },
  8765. "/Qhj/QueryRSTriggerLog": {
  8766. "get": {
  8767. "security": [
  8768. {
  8769. "ApiKeyAuth": []
  8770. }
  8771. ],
  8772. "produces": [
  8773. "application/json"
  8774. ],
  8775. "tags": [
  8776. "大连千海金"
  8777. ],
  8778. "summary": "查询定投记录(定投管理/详情/定投记录)",
  8779. "parameters": [
  8780. {
  8781. "type": "integer",
  8782. "description": "用户ID",
  8783. "name": "userid",
  8784. "in": "query"
  8785. },
  8786. {
  8787. "type": "integer",
  8788. "description": "定投策略id",
  8789. "name": "regularlystrategyid",
  8790. "in": "query"
  8791. },
  8792. {
  8793. "type": "integer",
  8794. "description": "商品id",
  8795. "name": "goodsid",
  8796. "in": "query"
  8797. },
  8798. {
  8799. "type": "string",
  8800. "description": "开始交易日(yyyymmdd)",
  8801. "name": "begindate",
  8802. "in": "query"
  8803. },
  8804. {
  8805. "type": "string",
  8806. "description": "结束交易日(yyyymmdd)",
  8807. "name": "enddate",
  8808. "in": "query"
  8809. },
  8810. {
  8811. "type": "string",
  8812. "description": "名称(模糊搜索账户)",
  8813. "name": "filtername",
  8814. "in": "query"
  8815. }
  8816. ],
  8817. "responses": {
  8818. "200": {
  8819. "description": "OK",
  8820. "schema": {
  8821. "type": "array",
  8822. "items": {
  8823. "$ref": "#/definitions/models.QhjRSTriggerLog"
  8824. }
  8825. }
  8826. },
  8827. "500": {
  8828. "description": "Internal Server Error",
  8829. "schema": {
  8830. "$ref": "#/definitions/app.Response"
  8831. }
  8832. }
  8833. }
  8834. }
  8835. },
  8836. "/Qhj/QueryRStrategy": {
  8837. "get": {
  8838. "security": [
  8839. {
  8840. "ApiKeyAuth": []
  8841. }
  8842. ],
  8843. "produces": [
  8844. "application/json"
  8845. ],
  8846. "tags": [
  8847. "大连千海金"
  8848. ],
  8849. "summary": "查询定投设置(我的定投/历史定投[状态=已终止])",
  8850. "parameters": [
  8851. {
  8852. "type": "integer",
  8853. "description": "用户ID",
  8854. "name": "userid",
  8855. "in": "query"
  8856. },
  8857. {
  8858. "type": "integer",
  8859. "description": "商品id",
  8860. "name": "goodsid",
  8861. "in": "query"
  8862. },
  8863. {
  8864. "type": "string",
  8865. "description": "策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止",
  8866. "name": "status",
  8867. "in": "query"
  8868. },
  8869. {
  8870. "type": "string",
  8871. "description": "名称(模糊搜索账户)",
  8872. "name": "filtername",
  8873. "in": "query"
  8874. }
  8875. ],
  8876. "responses": {
  8877. "200": {
  8878. "description": "OK",
  8879. "schema": {
  8880. "type": "array",
  8881. "items": {
  8882. "$ref": "#/definitions/models.QhjRStrategy"
  8883. }
  8884. }
  8885. },
  8886. "500": {
  8887. "description": "Internal Server Error",
  8888. "schema": {
  8889. "$ref": "#/definitions/app.Response"
  8890. }
  8891. }
  8892. }
  8893. }
  8894. },
  8895. "/Qhj/QueryReckonPriceLog": {
  8896. "get": {
  8897. "security": [
  8898. {
  8899. "ApiKeyAuth": []
  8900. }
  8901. ],
  8902. "produces": [
  8903. "application/json"
  8904. ],
  8905. "tags": [
  8906. "大连千海金"
  8907. ],
  8908. "summary": "查询定投价(结算价)",
  8909. "parameters": [
  8910. {
  8911. "type": "integer",
  8912. "description": "商品ID",
  8913. "name": "goodsid",
  8914. "in": "query"
  8915. },
  8916. {
  8917. "type": "string",
  8918. "description": "交易日 格式(yyyymmdd)",
  8919. "name": "tradedate",
  8920. "in": "query"
  8921. }
  8922. ],
  8923. "responses": {
  8924. "200": {
  8925. "description": "OK",
  8926. "schema": {
  8927. "type": "array",
  8928. "items": {
  8929. "$ref": "#/definitions/models.QhjReckonPriceLog"
  8930. }
  8931. }
  8932. },
  8933. "500": {
  8934. "description": "Internal Server Error",
  8935. "schema": {
  8936. "$ref": "#/definitions/app.Response"
  8937. }
  8938. }
  8939. }
  8940. }
  8941. },
  8942. "/Qhj/QueryScoreLog": {
  8943. "get": {
  8944. "security": [
  8945. {
  8946. "ApiKeyAuth": []
  8947. }
  8948. ],
  8949. "produces": [
  8950. "application/json"
  8951. ],
  8952. "tags": [
  8953. "大连千海金"
  8954. ],
  8955. "summary": "查询积分流水(我的积分)",
  8956. "parameters": [
  8957. {
  8958. "type": "integer",
  8959. "description": "用户ID",
  8960. "name": "userid",
  8961. "in": "query",
  8962. "required": true
  8963. },
  8964. {
  8965. "type": "string",
  8966. "description": "开始交易日(yyyymmdd)",
  8967. "name": "begindate",
  8968. "in": "query"
  8969. },
  8970. {
  8971. "type": "string",
  8972. "description": "结束交易日(yyyymmdd)",
  8973. "name": "enddate",
  8974. "in": "query"
  8975. },
  8976. {
  8977. "type": "integer",
  8978. "description": "最近多少条",
  8979. "name": "lastnum",
  8980. "in": "query"
  8981. }
  8982. ],
  8983. "responses": {
  8984. "200": {
  8985. "description": "OK",
  8986. "schema": {
  8987. "type": "array",
  8988. "items": {
  8989. "$ref": "#/definitions/models.QhjScoreLog"
  8990. }
  8991. }
  8992. },
  8993. "500": {
  8994. "description": "Internal Server Error",
  8995. "schema": {
  8996. "$ref": "#/definitions/app.Response"
  8997. }
  8998. }
  8999. }
  9000. }
  9001. },
  9002. "/Qhj/QuerySiteColumnDetail": {
  9003. "get": {
  9004. "security": [
  9005. {
  9006. "ApiKeyAuth": []
  9007. }
  9008. ],
  9009. "produces": [
  9010. "application/json"
  9011. ],
  9012. "tags": [
  9013. "大连千海金"
  9014. ],
  9015. "summary": "查询资讯",
  9016. "parameters": [
  9017. {
  9018. "type": "integer",
  9019. "description": "用户ID",
  9020. "name": "userid",
  9021. "in": "query",
  9022. "required": true
  9023. }
  9024. ],
  9025. "responses": {
  9026. "200": {
  9027. "description": "OK",
  9028. "schema": {
  9029. "type": "array",
  9030. "items": {
  9031. "$ref": "#/definitions/models.QhjSiteColumnDetail"
  9032. }
  9033. }
  9034. },
  9035. "500": {
  9036. "description": "Internal Server Error",
  9037. "schema": {
  9038. "$ref": "#/definitions/app.Response"
  9039. }
  9040. }
  9041. }
  9042. }
  9043. },
  9044. "/Qhj/QueryTradeGoodsPickup": {
  9045. "get": {
  9046. "security": [
  9047. {
  9048. "ApiKeyAuth": []
  9049. }
  9050. ],
  9051. "produces": [
  9052. "application/json"
  9053. ],
  9054. "tags": [
  9055. "大连千海金"
  9056. ],
  9057. "summary": "查询提货",
  9058. "parameters": [
  9059. {
  9060. "type": "integer",
  9061. "description": "用户ID",
  9062. "name": "userid",
  9063. "in": "query",
  9064. "required": true
  9065. },
  9066. {
  9067. "type": "integer",
  9068. "description": "提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  9069. "name": "takeorderstatus",
  9070. "in": "query"
  9071. }
  9072. ],
  9073. "responses": {
  9074. "200": {
  9075. "description": "OK",
  9076. "schema": {
  9077. "type": "array",
  9078. "items": {
  9079. "$ref": "#/definitions/models.QhjTradeGoodsPickup"
  9080. }
  9081. }
  9082. },
  9083. "500": {
  9084. "description": "Internal Server Error",
  9085. "schema": {
  9086. "$ref": "#/definitions/app.Response"
  9087. }
  9088. }
  9089. }
  9090. }
  9091. },
  9092. "/Qhj/QueryUserCollectConfig": {
  9093. "get": {
  9094. "security": [
  9095. {
  9096. "ApiKeyAuth": []
  9097. }
  9098. ],
  9099. "produces": [
  9100. "application/json"
  9101. ],
  9102. "tags": [
  9103. "大连千海金"
  9104. ],
  9105. "summary": "查询提现账户设置",
  9106. "parameters": [
  9107. {
  9108. "type": "integer",
  9109. "description": "用户ID",
  9110. "name": "userid",
  9111. "in": "query",
  9112. "required": true
  9113. }
  9114. ],
  9115. "responses": {
  9116. "200": {
  9117. "description": "OK",
  9118. "schema": {
  9119. "type": "array",
  9120. "items": {
  9121. "$ref": "#/definitions/models.UserCollectConfig"
  9122. }
  9123. }
  9124. },
  9125. "500": {
  9126. "description": "Internal Server Error",
  9127. "schema": {
  9128. "$ref": "#/definitions/app.Response"
  9129. }
  9130. }
  9131. }
  9132. }
  9133. },
  9134. "/Qhj/QueryUserReceiveInfo": {
  9135. "get": {
  9136. "security": [
  9137. {
  9138. "ApiKeyAuth": []
  9139. }
  9140. ],
  9141. "produces": [
  9142. "application/json"
  9143. ],
  9144. "tags": [
  9145. "大连千海金"
  9146. ],
  9147. "summary": "查询收货地址信息",
  9148. "parameters": [
  9149. {
  9150. "type": "integer",
  9151. "description": "用户ID",
  9152. "name": "userid",
  9153. "in": "query",
  9154. "required": true
  9155. }
  9156. ],
  9157. "responses": {
  9158. "200": {
  9159. "description": "OK",
  9160. "schema": {
  9161. "type": "array",
  9162. "items": {
  9163. "$ref": "#/definitions/models.UserReceiveInfo"
  9164. }
  9165. }
  9166. },
  9167. "500": {
  9168. "description": "Internal Server Error",
  9169. "schema": {
  9170. "$ref": "#/definitions/app.Response"
  9171. }
  9172. }
  9173. }
  9174. }
  9175. },
  9176. "/QhjMgr/QueryAccountInOutApply": {
  9177. "get": {
  9178. "security": [
  9179. {
  9180. "ApiKeyAuth": []
  9181. }
  9182. ],
  9183. "produces": [
  9184. "application/json"
  9185. ],
  9186. "tags": [
  9187. "大连千海金(PCWeb)"
  9188. ],
  9189. "summary": "查询充值提现",
  9190. "parameters": [
  9191. {
  9192. "type": "integer",
  9193. "description": "查询类型 1-提现(出金) 2-充值(出金)",
  9194. "name": "querytype",
  9195. "in": "query",
  9196. "required": true
  9197. },
  9198. {
  9199. "type": "integer",
  9200. "description": "状态 1-待审核 2-审核通过 3-审核拒绝",
  9201. "name": "applystatus",
  9202. "in": "query"
  9203. },
  9204. {
  9205. "type": "string",
  9206. "description": "申请起始日期(格式yyyymmdd)",
  9207. "name": "begindate",
  9208. "in": "query"
  9209. },
  9210. {
  9211. "type": "string",
  9212. "description": "申请截止日期(格式yyyymmdd)",
  9213. "name": "enddate",
  9214. "in": "query"
  9215. },
  9216. {
  9217. "type": "string",
  9218. "description": "模糊搜索名称",
  9219. "name": "likename",
  9220. "in": "query"
  9221. }
  9222. ],
  9223. "responses": {
  9224. "200": {
  9225. "description": "OK",
  9226. "schema": {
  9227. "type": "array",
  9228. "items": {
  9229. "$ref": "#/definitions/models.QhjMgrAccountOutInApply"
  9230. }
  9231. }
  9232. },
  9233. "500": {
  9234. "description": "Internal Server Error",
  9235. "schema": {
  9236. "$ref": "#/definitions/app.Response"
  9237. }
  9238. }
  9239. }
  9240. }
  9241. },
  9242. "/QhjMgr/QueryBrokerApply": {
  9243. "get": {
  9244. "security": [
  9245. {
  9246. "ApiKeyAuth": []
  9247. }
  9248. ],
  9249. "produces": [
  9250. "application/json"
  9251. ],
  9252. "tags": [
  9253. "大连千海金(PCWeb)"
  9254. ],
  9255. "summary": "查询经纪人申请",
  9256. "parameters": [
  9257. {
  9258. "type": "integer",
  9259. "description": "所属机构ID",
  9260. "name": "userid",
  9261. "in": "query"
  9262. },
  9263. {
  9264. "type": "string",
  9265. "description": "状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  9266. "name": "filterstatus",
  9267. "in": "query"
  9268. },
  9269. {
  9270. "type": "string",
  9271. "description": "名称(模糊匹配)",
  9272. "name": "filtername",
  9273. "in": "query"
  9274. },
  9275. {
  9276. "type": "integer",
  9277. "description": "是否包含子级 1-包含",
  9278. "name": "includesub",
  9279. "in": "query"
  9280. }
  9281. ],
  9282. "responses": {
  9283. "200": {
  9284. "description": "OK",
  9285. "schema": {
  9286. "type": "array",
  9287. "items": {
  9288. "$ref": "#/definitions/models.QhjMgrBrokerApply"
  9289. }
  9290. }
  9291. },
  9292. "500": {
  9293. "description": "Internal Server Error",
  9294. "schema": {
  9295. "$ref": "#/definitions/app.Response"
  9296. }
  9297. }
  9298. }
  9299. }
  9300. },
  9301. "/QhjMgr/QueryBrokerRewardReport": {
  9302. "get": {
  9303. "security": [
  9304. {
  9305. "ApiKeyAuth": []
  9306. }
  9307. ],
  9308. "produces": [
  9309. "application/json"
  9310. ],
  9311. "tags": [
  9312. "大连千海金(PCWeb)"
  9313. ],
  9314. "summary": "查询经纪人奖励报表(废弃)",
  9315. "parameters": [
  9316. {
  9317. "type": "integer",
  9318. "description": "所属机构ID",
  9319. "name": "userid",
  9320. "in": "query",
  9321. "required": true
  9322. },
  9323. {
  9324. "type": "integer",
  9325. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  9326. "name": "cycletype",
  9327. "in": "query",
  9328. "required": true
  9329. },
  9330. {
  9331. "type": "string",
  9332. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】",
  9333. "name": "cycletime",
  9334. "in": "query",
  9335. "required": true
  9336. },
  9337. {
  9338. "type": "string",
  9339. "description": "名称(模糊匹配)",
  9340. "name": "filtername",
  9341. "in": "query"
  9342. },
  9343. {
  9344. "type": "integer",
  9345. "description": "是否包含子级 1-包含",
  9346. "name": "includesub",
  9347. "in": "query"
  9348. }
  9349. ],
  9350. "responses": {
  9351. "200": {
  9352. "description": "OK",
  9353. "schema": {
  9354. "type": "array",
  9355. "items": {
  9356. "$ref": "#/definitions/models.QhjMgrBrokerRewardReport"
  9357. }
  9358. }
  9359. },
  9360. "500": {
  9361. "description": "Internal Server Error",
  9362. "schema": {
  9363. "$ref": "#/definitions/app.Response"
  9364. }
  9365. }
  9366. }
  9367. }
  9368. },
  9369. "/QhjMgr/QueryContract": {
  9370. "get": {
  9371. "security": [
  9372. {
  9373. "ApiKeyAuth": []
  9374. }
  9375. ],
  9376. "produces": [
  9377. "application/json"
  9378. ],
  9379. "tags": [
  9380. "大连千海金(PCWeb)"
  9381. ],
  9382. "summary": "查询融资信息(合同)",
  9383. "parameters": [
  9384. {
  9385. "type": "integer",
  9386. "description": "用户ID",
  9387. "name": "userid",
  9388. "in": "query"
  9389. },
  9390. {
  9391. "type": "integer",
  9392. "description": "商品id",
  9393. "name": "goodsid",
  9394. "in": "query"
  9395. },
  9396. {
  9397. "type": "string",
  9398. "description": "名称(模糊搜索账户)",
  9399. "name": "filtername",
  9400. "in": "query"
  9401. },
  9402. {
  9403. "type": "string",
  9404. "description": "风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款",
  9405. "name": "risklevel",
  9406. "in": "query"
  9407. },
  9408. {
  9409. "type": "string",
  9410. "description": "开始交易日(yyyymmdd)",
  9411. "name": "begindate",
  9412. "in": "query"
  9413. },
  9414. {
  9415. "type": "string",
  9416. "description": "结束交易日(yyyymmdd)",
  9417. "name": "enddate",
  9418. "in": "query"
  9419. }
  9420. ],
  9421. "responses": {
  9422. "200": {
  9423. "description": "OK",
  9424. "schema": {
  9425. "type": "array",
  9426. "items": {
  9427. "$ref": "#/definitions/models.QhjMgrContract"
  9428. }
  9429. }
  9430. },
  9431. "500": {
  9432. "description": "Internal Server Error",
  9433. "schema": {
  9434. "$ref": "#/definitions/app.Response"
  9435. }
  9436. }
  9437. }
  9438. }
  9439. },
  9440. "/QhjMgr/QueryCustomerInfo": {
  9441. "get": {
  9442. "security": [
  9443. {
  9444. "ApiKeyAuth": []
  9445. }
  9446. ],
  9447. "produces": [
  9448. "application/json"
  9449. ],
  9450. "tags": [
  9451. "大连千海金(PCWeb)"
  9452. ],
  9453. "summary": "查询客户资料",
  9454. "parameters": [
  9455. {
  9456. "type": "integer",
  9457. "description": "用户ID",
  9458. "name": "userid",
  9459. "in": "query",
  9460. "required": true
  9461. },
  9462. {
  9463. "type": "integer",
  9464. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  9465. "name": "querytype",
  9466. "in": "query",
  9467. "required": true
  9468. },
  9469. {
  9470. "type": "integer",
  9471. "description": "客户类型 1-个人 2-企业",
  9472. "name": "userinfotype",
  9473. "in": "query"
  9474. },
  9475. {
  9476. "type": "string",
  9477. "description": "客户名称(模糊匹配)",
  9478. "name": "customername",
  9479. "in": "query"
  9480. },
  9481. {
  9482. "type": "string",
  9483. "description": "昵称(模糊匹配)",
  9484. "name": "nickname",
  9485. "in": "query"
  9486. },
  9487. {
  9488. "type": "string",
  9489. "description": "所属客户经理(模糊匹配)",
  9490. "name": "brokername",
  9491. "in": "query"
  9492. },
  9493. {
  9494. "type": "string",
  9495. "description": "生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd, 如0503 -5月3日)",
  9496. "name": "birthday",
  9497. "in": "query"
  9498. },
  9499. {
  9500. "type": "integer",
  9501. "description": "是否包含子级 1-包含",
  9502. "name": "includesub",
  9503. "in": "query"
  9504. }
  9505. ],
  9506. "responses": {
  9507. "200": {
  9508. "description": "OK",
  9509. "schema": {
  9510. "type": "array",
  9511. "items": {
  9512. "$ref": "#/definitions/models.QhjMgrCustomer"
  9513. }
  9514. }
  9515. },
  9516. "500": {
  9517. "description": "Internal Server Error",
  9518. "schema": {
  9519. "$ref": "#/definitions/app.Response"
  9520. }
  9521. }
  9522. }
  9523. }
  9524. },
  9525. "/QhjMgr/QueryPickGoods": {
  9526. "get": {
  9527. "security": [
  9528. {
  9529. "ApiKeyAuth": []
  9530. }
  9531. ],
  9532. "produces": [
  9533. "application/json"
  9534. ],
  9535. "tags": [
  9536. "大连千海金(PCWeb)"
  9537. ],
  9538. "summary": "查询提货商品",
  9539. "parameters": [
  9540. {
  9541. "type": "string",
  9542. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  9543. "name": "status",
  9544. "in": "query"
  9545. }
  9546. ],
  9547. "responses": {
  9548. "200": {
  9549. "description": "OK",
  9550. "schema": {
  9551. "type": "array",
  9552. "items": {
  9553. "$ref": "#/definitions/models.QhjMgrPickGoods"
  9554. }
  9555. }
  9556. },
  9557. "500": {
  9558. "description": "Internal Server Error",
  9559. "schema": {
  9560. "$ref": "#/definitions/app.Response"
  9561. }
  9562. }
  9563. }
  9564. }
  9565. },
  9566. "/QhjMgr/QuerySubArea": {
  9567. "get": {
  9568. "security": [
  9569. {
  9570. "ApiKeyAuth": []
  9571. }
  9572. ],
  9573. "produces": [
  9574. "application/json"
  9575. ],
  9576. "tags": [
  9577. "大连千海金(PCWeb)"
  9578. ],
  9579. "summary": "查询子机构列表",
  9580. "parameters": [
  9581. {
  9582. "type": "integer",
  9583. "description": "用户ID",
  9584. "name": "userid",
  9585. "in": "query",
  9586. "required": true
  9587. }
  9588. ],
  9589. "responses": {
  9590. "200": {
  9591. "description": "OK",
  9592. "schema": {
  9593. "type": "array",
  9594. "items": {
  9595. "$ref": "#/definitions/models.QhjMgrSubArea"
  9596. }
  9597. }
  9598. },
  9599. "500": {
  9600. "description": "Internal Server Error",
  9601. "schema": {
  9602. "$ref": "#/definitions/app.Response"
  9603. }
  9604. }
  9605. }
  9606. }
  9607. },
  9608. "/QhjMgr/QueryTradeDetail": {
  9609. "get": {
  9610. "security": [
  9611. {
  9612. "ApiKeyAuth": []
  9613. }
  9614. ],
  9615. "produces": [
  9616. "application/json"
  9617. ],
  9618. "tags": [
  9619. "大连千海金(PCWeb)"
  9620. ],
  9621. "summary": "查询成交明细",
  9622. "parameters": [
  9623. {
  9624. "type": "integer",
  9625. "description": "用户ID",
  9626. "name": "userid",
  9627. "in": "query",
  9628. "required": true
  9629. },
  9630. {
  9631. "type": "integer",
  9632. "description": "用户类型 1-个人 2-企业",
  9633. "name": "userinfotype",
  9634. "in": "query"
  9635. },
  9636. {
  9637. "type": "integer",
  9638. "description": "交易模式",
  9639. "name": "trademode",
  9640. "in": "query"
  9641. },
  9642. {
  9643. "type": "integer",
  9644. "description": "商品id",
  9645. "name": "goodsid",
  9646. "in": "query"
  9647. },
  9648. {
  9649. "type": "string",
  9650. "description": "名称(模糊搜索账户)",
  9651. "name": "filtername",
  9652. "in": "query"
  9653. },
  9654. {
  9655. "type": "string",
  9656. "description": "开始交易日(yyyymmdd)",
  9657. "name": "begindate",
  9658. "in": "query"
  9659. },
  9660. {
  9661. "type": "string",
  9662. "description": "结束交易日(yyyymmdd)",
  9663. "name": "enddate",
  9664. "in": "query"
  9665. },
  9666. {
  9667. "type": "integer",
  9668. "description": "是否包含子级 1-包含",
  9669. "name": "includesub",
  9670. "in": "query"
  9671. }
  9672. ],
  9673. "responses": {
  9674. "200": {
  9675. "description": "OK",
  9676. "schema": {
  9677. "type": "array",
  9678. "items": {
  9679. "$ref": "#/definitions/models.QhjMgrTradeDetailRsp"
  9680. }
  9681. }
  9682. },
  9683. "500": {
  9684. "description": "Internal Server Error",
  9685. "schema": {
  9686. "$ref": "#/definitions/app.Response"
  9687. }
  9688. }
  9689. }
  9690. }
  9691. },
  9692. "/QhjMgr/QueryTradeOrderDetail": {
  9693. "get": {
  9694. "security": [
  9695. {
  9696. "ApiKeyAuth": []
  9697. }
  9698. ],
  9699. "produces": [
  9700. "application/json"
  9701. ],
  9702. "tags": [
  9703. "大连千海金(PCWeb)"
  9704. ],
  9705. "summary": "查询委托明细",
  9706. "parameters": [
  9707. {
  9708. "type": "integer",
  9709. "description": "用户ID",
  9710. "name": "userid",
  9711. "in": "query",
  9712. "required": true
  9713. },
  9714. {
  9715. "type": "integer",
  9716. "description": "用户类型 1-个人 2-企业",
  9717. "name": "userinfotype",
  9718. "in": "query"
  9719. },
  9720. {
  9721. "type": "integer",
  9722. "description": "交易模式",
  9723. "name": "trademode",
  9724. "in": "query"
  9725. },
  9726. {
  9727. "type": "integer",
  9728. "description": "商品id",
  9729. "name": "goodsid",
  9730. "in": "query"
  9731. },
  9732. {
  9733. "type": "string",
  9734. "description": "名称(模糊搜索账户)",
  9735. "name": "filtername",
  9736. "in": "query"
  9737. },
  9738. {
  9739. "type": "string",
  9740. "description": "开始交易日(yyyymmdd)",
  9741. "name": "begindate",
  9742. "in": "query"
  9743. },
  9744. {
  9745. "type": "string",
  9746. "description": "结束交易日(yyyymmdd)",
  9747. "name": "enddate",
  9748. "in": "query"
  9749. },
  9750. {
  9751. "type": "integer",
  9752. "description": "是否包含子级 1-包含",
  9753. "name": "includesub",
  9754. "in": "query"
  9755. }
  9756. ],
  9757. "responses": {
  9758. "200": {
  9759. "description": "OK",
  9760. "schema": {
  9761. "type": "array",
  9762. "items": {
  9763. "$ref": "#/definitions/models.QhjMgrTradeOrderDetailRsp"
  9764. }
  9765. }
  9766. },
  9767. "500": {
  9768. "description": "Internal Server Error",
  9769. "schema": {
  9770. "$ref": "#/definitions/app.Response"
  9771. }
  9772. }
  9773. }
  9774. }
  9775. },
  9776. "/QhjMgr/QueryTradePayOrder": {
  9777. "get": {
  9778. "security": [
  9779. {
  9780. "ApiKeyAuth": []
  9781. }
  9782. ],
  9783. "produces": [
  9784. "application/json"
  9785. ],
  9786. "tags": [
  9787. "大连千海金(PCWeb)"
  9788. ],
  9789. "summary": "查询待付款单",
  9790. "parameters": [
  9791. {
  9792. "type": "integer",
  9793. "description": "用户ID",
  9794. "name": "userid",
  9795. "in": "query",
  9796. "required": true
  9797. },
  9798. {
  9799. "type": "string",
  9800. "description": "付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  9801. "name": "payflag",
  9802. "in": "query"
  9803. },
  9804. {
  9805. "type": "integer",
  9806. "description": "用户类型 1-个人 2-企业",
  9807. "name": "userinfotype",
  9808. "in": "query"
  9809. },
  9810. {
  9811. "type": "integer",
  9812. "description": "交易模式",
  9813. "name": "trademode",
  9814. "in": "query"
  9815. },
  9816. {
  9817. "type": "integer",
  9818. "description": "商品id",
  9819. "name": "goodsid",
  9820. "in": "query"
  9821. },
  9822. {
  9823. "type": "string",
  9824. "description": "名称(模糊搜索账户)",
  9825. "name": "filtername",
  9826. "in": "query"
  9827. },
  9828. {
  9829. "type": "string",
  9830. "description": "开始交易日(yyyymmdd)",
  9831. "name": "begindate",
  9832. "in": "query"
  9833. },
  9834. {
  9835. "type": "string",
  9836. "description": "结束交易日(yyyymmdd)",
  9837. "name": "enddate",
  9838. "in": "query"
  9839. },
  9840. {
  9841. "type": "integer",
  9842. "description": "是否包含子级 1-包含",
  9843. "name": "includesub",
  9844. "in": "query"
  9845. }
  9846. ],
  9847. "responses": {
  9848. "200": {
  9849. "description": "OK",
  9850. "schema": {
  9851. "type": "array",
  9852. "items": {
  9853. "$ref": "#/definitions/models.QhjMgrTradePayOrder"
  9854. }
  9855. }
  9856. },
  9857. "500": {
  9858. "description": "Internal Server Error",
  9859. "schema": {
  9860. "$ref": "#/definitions/app.Response"
  9861. }
  9862. }
  9863. }
  9864. }
  9865. },
  9866. "/QhjMgr/QueryTradePosition": {
  9867. "get": {
  9868. "security": [
  9869. {
  9870. "ApiKeyAuth": []
  9871. }
  9872. ],
  9873. "produces": [
  9874. "application/json"
  9875. ],
  9876. "tags": [
  9877. "大连千海金(PCWeb)"
  9878. ],
  9879. "summary": "查询持仓汇总",
  9880. "parameters": [
  9881. {
  9882. "type": "integer",
  9883. "description": "用户ID",
  9884. "name": "userid",
  9885. "in": "query",
  9886. "required": true
  9887. },
  9888. {
  9889. "type": "integer",
  9890. "description": "用户类型 1-个人 2-企业",
  9891. "name": "userinfotype",
  9892. "in": "query"
  9893. },
  9894. {
  9895. "type": "integer",
  9896. "description": "交易模式",
  9897. "name": "trademode",
  9898. "in": "query"
  9899. },
  9900. {
  9901. "type": "integer",
  9902. "description": "商品id",
  9903. "name": "goodsid",
  9904. "in": "query"
  9905. },
  9906. {
  9907. "type": "string",
  9908. "description": "名称(模糊搜索账户)",
  9909. "name": "filtername",
  9910. "in": "query"
  9911. },
  9912. {
  9913. "type": "integer",
  9914. "description": "是否包含子级 1-包含",
  9915. "name": "includesub",
  9916. "in": "query"
  9917. }
  9918. ],
  9919. "responses": {
  9920. "200": {
  9921. "description": "OK",
  9922. "schema": {
  9923. "type": "array",
  9924. "items": {
  9925. "$ref": "#/definitions/models.QhjMgrPositionRsp"
  9926. }
  9927. }
  9928. },
  9929. "500": {
  9930. "description": "Internal Server Error",
  9931. "schema": {
  9932. "$ref": "#/definitions/app.Response"
  9933. }
  9934. }
  9935. }
  9936. }
  9937. },
  9938. "/QhjSys/QueryAgreementChangeLog": {
  9939. "get": {
  9940. "security": [
  9941. {
  9942. "ApiKeyAuth": []
  9943. }
  9944. ],
  9945. "produces": [
  9946. "application/json"
  9947. ],
  9948. "tags": [
  9949. "大连千海金(协议和签约信息)"
  9950. ],
  9951. "summary": "查询协议配置变更流水",
  9952. "parameters": [
  9953. {
  9954. "type": "integer",
  9955. "description": "协议ID",
  9956. "name": "agreementid",
  9957. "in": "query"
  9958. },
  9959. {
  9960. "type": "integer",
  9961. "description": "协议版本号",
  9962. "name": "agreementversion",
  9963. "in": "query"
  9964. },
  9965. {
  9966. "type": "integer",
  9967. "description": "协议类型 - 1:注册 2:登录 3:交易",
  9968. "name": "agreementtype",
  9969. "in": "query"
  9970. },
  9971. {
  9972. "type": "string",
  9973. "description": "协议编号(模糊匹配)",
  9974. "name": "agreementno",
  9975. "in": "query"
  9976. },
  9977. {
  9978. "type": "string",
  9979. "description": "协议名称(模糊匹配)",
  9980. "name": "agreementname",
  9981. "in": "query"
  9982. }
  9983. ],
  9984. "responses": {
  9985. "200": {
  9986. "description": "OK",
  9987. "schema": {
  9988. "type": "array",
  9989. "items": {
  9990. "$ref": "#/definitions/models.QhjAgreementChangeLog"
  9991. }
  9992. }
  9993. },
  9994. "500": {
  9995. "description": "Internal Server Error",
  9996. "schema": {
  9997. "$ref": "#/definitions/app.Response"
  9998. }
  9999. }
  10000. }
  10001. }
  10002. },
  10003. "/QhjSys/QueryAgreementConfig": {
  10004. "get": {
  10005. "security": [
  10006. {
  10007. "ApiKeyAuth": []
  10008. }
  10009. ],
  10010. "produces": [
  10011. "application/json"
  10012. ],
  10013. "tags": [
  10014. "大连千海金(协议和签约信息)"
  10015. ],
  10016. "summary": "查询协议配置",
  10017. "parameters": [
  10018. {
  10019. "type": "integer",
  10020. "description": "协议ID",
  10021. "name": "agreementid",
  10022. "in": "query"
  10023. },
  10024. {
  10025. "type": "integer",
  10026. "description": "协议版本号",
  10027. "name": "agreementversion",
  10028. "in": "query"
  10029. },
  10030. {
  10031. "type": "integer",
  10032. "description": "协议类型 - 1:注册 2:登录 3:交易",
  10033. "name": "agreementtype",
  10034. "in": "query"
  10035. },
  10036. {
  10037. "type": "integer",
  10038. "description": "是否有效 - 是否有效 - 1:正常 2:停用 3:注销",
  10039. "name": "isvalid",
  10040. "in": "query"
  10041. },
  10042. {
  10043. "type": "string",
  10044. "description": "协议编号(模糊匹配)",
  10045. "name": "agreementno",
  10046. "in": "query"
  10047. },
  10048. {
  10049. "type": "string",
  10050. "description": "协议名称(模糊匹配)",
  10051. "name": "agreementname",
  10052. "in": "query"
  10053. }
  10054. ],
  10055. "responses": {
  10056. "200": {
  10057. "description": "OK",
  10058. "schema": {
  10059. "type": "array",
  10060. "items": {
  10061. "$ref": "#/definitions/models.QhjAgreementConfig"
  10062. }
  10063. }
  10064. },
  10065. "500": {
  10066. "description": "Internal Server Error",
  10067. "schema": {
  10068. "$ref": "#/definitions/app.Response"
  10069. }
  10070. }
  10071. }
  10072. }
  10073. },
  10074. "/QhjSys/QueryCustomerSignStatus": {
  10075. "get": {
  10076. "security": [
  10077. {
  10078. "ApiKeyAuth": []
  10079. }
  10080. ],
  10081. "produces": [
  10082. "application/json"
  10083. ],
  10084. "tags": [
  10085. "大连千海金(协议和签约信息)"
  10086. ],
  10087. "summary": "查询客户协议签约状态",
  10088. "parameters": [
  10089. {
  10090. "type": "integer",
  10091. "description": "客户ID",
  10092. "name": "userid",
  10093. "in": "query"
  10094. },
  10095. {
  10096. "type": "integer",
  10097. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  10098. "name": "nodetype",
  10099. "in": "query"
  10100. },
  10101. {
  10102. "type": "integer",
  10103. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  10104. "name": "goodsid",
  10105. "in": "query"
  10106. },
  10107. {
  10108. "type": "string",
  10109. "description": "创建交易日(yyyyMMdd)",
  10110. "name": "tradedate",
  10111. "in": "query"
  10112. },
  10113. {
  10114. "type": "string",
  10115. "description": "用户名称(模糊匹配)",
  10116. "name": "username",
  10117. "in": "query"
  10118. }
  10119. ],
  10120. "responses": {
  10121. "200": {
  10122. "description": "OK",
  10123. "schema": {
  10124. "type": "array",
  10125. "items": {
  10126. "$ref": "#/definitions/models.QhjCustomerSignStatus"
  10127. }
  10128. }
  10129. },
  10130. "500": {
  10131. "description": "Internal Server Error",
  10132. "schema": {
  10133. "$ref": "#/definitions/app.Response"
  10134. }
  10135. }
  10136. }
  10137. }
  10138. },
  10139. "/QhjSys/QueryNodeAgreementConfig": {
  10140. "get": {
  10141. "security": [
  10142. {
  10143. "ApiKeyAuth": []
  10144. }
  10145. ],
  10146. "produces": [
  10147. "application/json"
  10148. ],
  10149. "tags": [
  10150. "大连千海金(协议和签约信息)"
  10151. ],
  10152. "summary": "查询协议节点配置",
  10153. "parameters": [
  10154. {
  10155. "type": "integer",
  10156. "description": "配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  10157. "name": "configid",
  10158. "in": "query"
  10159. },
  10160. {
  10161. "type": "integer",
  10162. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  10163. "name": "nodetype",
  10164. "in": "query"
  10165. },
  10166. {
  10167. "type": "integer",
  10168. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  10169. "name": "goodsid",
  10170. "in": "query"
  10171. },
  10172. {
  10173. "type": "integer",
  10174. "description": "协议ID",
  10175. "name": "agreementid",
  10176. "in": "query"
  10177. },
  10178. {
  10179. "type": "integer",
  10180. "description": "协议类型 - 1:注册 2:登录 3:交易",
  10181. "name": "agreementtype",
  10182. "in": "query"
  10183. },
  10184. {
  10185. "type": "integer",
  10186. "description": "协议版本号",
  10187. "name": "agreementversion",
  10188. "in": "query"
  10189. },
  10190. {
  10191. "type": "string",
  10192. "description": "协议编号(模糊匹配)",
  10193. "name": "agreementno",
  10194. "in": "query"
  10195. },
  10196. {
  10197. "type": "string",
  10198. "description": "协议名称(模糊匹配)",
  10199. "name": "agreementname",
  10200. "in": "query"
  10201. }
  10202. ],
  10203. "responses": {
  10204. "200": {
  10205. "description": "OK",
  10206. "schema": {
  10207. "type": "array",
  10208. "items": {
  10209. "$ref": "#/definitions/models.QhjNodeAgreementConfig"
  10210. }
  10211. }
  10212. },
  10213. "500": {
  10214. "description": "Internal Server Error",
  10215. "schema": {
  10216. "$ref": "#/definitions/app.Response"
  10217. }
  10218. }
  10219. }
  10220. }
  10221. },
  10222. "/QhjSys/QueryQhjCustomerSignLog": {
  10223. "get": {
  10224. "security": [
  10225. {
  10226. "ApiKeyAuth": []
  10227. }
  10228. ],
  10229. "produces": [
  10230. "application/json"
  10231. ],
  10232. "tags": [
  10233. "大连千海金(协议和签约信息)"
  10234. ],
  10235. "summary": "查询客户协议签约流水",
  10236. "parameters": [
  10237. {
  10238. "type": "integer",
  10239. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  10240. "name": "logid",
  10241. "in": "query"
  10242. },
  10243. {
  10244. "type": "integer",
  10245. "description": "客户ID",
  10246. "name": "userid",
  10247. "in": "query"
  10248. },
  10249. {
  10250. "type": "integer",
  10251. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  10252. "name": "nodetype",
  10253. "in": "query"
  10254. },
  10255. {
  10256. "type": "integer",
  10257. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  10258. "name": "goodsid",
  10259. "in": "query"
  10260. },
  10261. {
  10262. "type": "integer",
  10263. "description": "协议ID",
  10264. "name": "agreementid",
  10265. "in": "query"
  10266. },
  10267. {
  10268. "type": "string",
  10269. "description": "用户名称(模糊匹配)",
  10270. "name": "username",
  10271. "in": "query"
  10272. },
  10273. {
  10274. "type": "string",
  10275. "description": "协议编号(模糊匹配)",
  10276. "name": "agreementno",
  10277. "in": "query"
  10278. },
  10279. {
  10280. "type": "string",
  10281. "description": "协议名称(模糊匹配)",
  10282. "name": "agreementname",
  10283. "in": "query"
  10284. }
  10285. ],
  10286. "responses": {
  10287. "200": {
  10288. "description": "OK",
  10289. "schema": {
  10290. "type": "array",
  10291. "items": {
  10292. "$ref": "#/definitions/models.QhjCustomerSignLog"
  10293. }
  10294. }
  10295. },
  10296. "500": {
  10297. "description": "Internal Server Error",
  10298. "schema": {
  10299. "$ref": "#/definitions/app.Response"
  10300. }
  10301. }
  10302. }
  10303. }
  10304. },
  10305. "/QhjSys/QueryUserNodeCfgAndStatus": {
  10306. "get": {
  10307. "security": [
  10308. {
  10309. "ApiKeyAuth": []
  10310. }
  10311. ],
  10312. "produces": [
  10313. "application/json"
  10314. ],
  10315. "tags": [
  10316. "大连千海金(协议和签约信息)"
  10317. ],
  10318. "summary": "查询用户协议节点配置和状态",
  10319. "parameters": [
  10320. {
  10321. "type": "integer",
  10322. "description": "客户ID",
  10323. "name": "userid",
  10324. "in": "query"
  10325. },
  10326. {
  10327. "type": "integer",
  10328. "description": "配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  10329. "name": "configid",
  10330. "in": "query"
  10331. },
  10332. {
  10333. "type": "string",
  10334. "description": "环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  10335. "name": "nodetype",
  10336. "in": "query"
  10337. },
  10338. {
  10339. "type": "integer",
  10340. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  10341. "name": "goodsid",
  10342. "in": "query"
  10343. },
  10344. {
  10345. "type": "integer",
  10346. "description": "协议ID",
  10347. "name": "agreementid",
  10348. "in": "query"
  10349. },
  10350. {
  10351. "type": "integer",
  10352. "description": "协议类型 - 1:注册 2:登录 3:交易",
  10353. "name": "agreementtype",
  10354. "in": "query"
  10355. },
  10356. {
  10357. "type": "integer",
  10358. "description": "协议版本号",
  10359. "name": "agreementversion",
  10360. "in": "query"
  10361. },
  10362. {
  10363. "type": "string",
  10364. "description": "协议编号(模糊匹配)",
  10365. "name": "agreementno",
  10366. "in": "query"
  10367. },
  10368. {
  10369. "type": "string",
  10370. "description": "协议名称(模糊匹配)",
  10371. "name": "agreementname",
  10372. "in": "query"
  10373. }
  10374. ],
  10375. "responses": {
  10376. "200": {
  10377. "description": "OK",
  10378. "schema": {
  10379. "type": "array",
  10380. "items": {
  10381. "$ref": "#/definitions/models.QhjUserNodeCfgAndStatus"
  10382. }
  10383. }
  10384. },
  10385. "500": {
  10386. "description": "Internal Server Error",
  10387. "schema": {
  10388. "$ref": "#/definitions/app.Response"
  10389. }
  10390. }
  10391. }
  10392. }
  10393. },
  10394. "/Quote/QueryHistoryDatas": {
  10395. "get": {
  10396. "security": [
  10397. {
  10398. "ApiKeyAuth": []
  10399. }
  10400. ],
  10401. "produces": [
  10402. "application/json"
  10403. ],
  10404. "tags": [
  10405. "行情服务"
  10406. ],
  10407. "summary": "查询行情历史数据",
  10408. "parameters": [
  10409. {
  10410. "type": "integer",
  10411. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线",
  10412. "name": "cycleType",
  10413. "in": "query",
  10414. "required": true
  10415. },
  10416. {
  10417. "type": "string",
  10418. "description": "商品代码",
  10419. "name": "goodsCode",
  10420. "in": "query",
  10421. "required": true
  10422. },
  10423. {
  10424. "type": "string",
  10425. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  10426. "name": "startTime",
  10427. "in": "query"
  10428. },
  10429. {
  10430. "type": "string",
  10431. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  10432. "name": "endTime",
  10433. "in": "query"
  10434. },
  10435. {
  10436. "type": "integer",
  10437. "description": "条数",
  10438. "name": "count",
  10439. "in": "query"
  10440. },
  10441. {
  10442. "type": "boolean",
  10443. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  10444. "name": "isAsc",
  10445. "in": "query"
  10446. }
  10447. ],
  10448. "responses": {
  10449. "200": {
  10450. "description": "OK",
  10451. "schema": {
  10452. "$ref": "#/definitions/quote.HistoryData"
  10453. }
  10454. },
  10455. "500": {
  10456. "description": "Internal Server Error",
  10457. "schema": {
  10458. "$ref": "#/definitions/app.Response"
  10459. }
  10460. }
  10461. }
  10462. }
  10463. },
  10464. "/Quote/QueryHistoryTikDatas": {
  10465. "get": {
  10466. "security": [
  10467. {
  10468. "ApiKeyAuth": []
  10469. }
  10470. ],
  10471. "produces": [
  10472. "application/json"
  10473. ],
  10474. "tags": [
  10475. "行情服务"
  10476. ],
  10477. "summary": "查询行情Tik数据",
  10478. "parameters": [
  10479. {
  10480. "type": "string",
  10481. "description": "商品代码",
  10482. "name": "goodsCode",
  10483. "in": "query",
  10484. "required": true
  10485. },
  10486. {
  10487. "type": "string",
  10488. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  10489. "name": "startTime",
  10490. "in": "query"
  10491. },
  10492. {
  10493. "type": "string",
  10494. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  10495. "name": "endTime",
  10496. "in": "query"
  10497. },
  10498. {
  10499. "type": "integer",
  10500. "description": "条数",
  10501. "name": "count",
  10502. "in": "query"
  10503. },
  10504. {
  10505. "type": "boolean",
  10506. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  10507. "name": "isAsc",
  10508. "in": "query"
  10509. }
  10510. ],
  10511. "responses": {
  10512. "200": {
  10513. "description": "OK",
  10514. "schema": {
  10515. "$ref": "#/definitions/quote.HistoryTikData"
  10516. }
  10517. },
  10518. "500": {
  10519. "description": "Internal Server Error",
  10520. "schema": {
  10521. "$ref": "#/definitions/app.Response"
  10522. }
  10523. }
  10524. }
  10525. }
  10526. },
  10527. "/Quote/QueryQuoteDay": {
  10528. "get": {
  10529. "security": [
  10530. {
  10531. "ApiKeyAuth": []
  10532. }
  10533. ],
  10534. "produces": [
  10535. "application/json"
  10536. ],
  10537. "tags": [
  10538. "行情服务"
  10539. ],
  10540. "summary": "获取商品盘面信息",
  10541. "parameters": [
  10542. {
  10543. "type": "string",
  10544. "description": "此参数不填则查所有;商品代码列表,格式:CU2102,CU2103,AL2107",
  10545. "name": "goodsCodes",
  10546. "in": "query"
  10547. }
  10548. ],
  10549. "responses": {
  10550. "200": {
  10551. "description": "OK",
  10552. "schema": {
  10553. "$ref": "#/definitions/quote.QueryQuoteDayRsp"
  10554. }
  10555. },
  10556. "500": {
  10557. "description": "Internal Server Error",
  10558. "schema": {
  10559. "$ref": "#/definitions/app.Response"
  10560. }
  10561. }
  10562. }
  10563. }
  10564. },
  10565. "/Quote/QueryTSData": {
  10566. "get": {
  10567. "security": [
  10568. {
  10569. "ApiKeyAuth": []
  10570. }
  10571. ],
  10572. "produces": [
  10573. "application/json"
  10574. ],
  10575. "tags": [
  10576. "行情服务"
  10577. ],
  10578. "summary": "分时图数据查询",
  10579. "parameters": [
  10580. {
  10581. "type": "string",
  10582. "description": "商品代码",
  10583. "name": "goodsCode",
  10584. "in": "query",
  10585. "required": true
  10586. }
  10587. ],
  10588. "responses": {
  10589. "200": {
  10590. "description": "OK",
  10591. "schema": {
  10592. "$ref": "#/definitions/quote.QueryTSDataRsp"
  10593. }
  10594. },
  10595. "500": {
  10596. "description": "Internal Server Error",
  10597. "schema": {
  10598. "$ref": "#/definitions/app.Response"
  10599. }
  10600. }
  10601. }
  10602. }
  10603. },
  10604. "/SZDZ/QueryConvertConfig": {
  10605. "get": {
  10606. "security": [
  10607. {
  10608. "ApiKeyAuth": []
  10609. }
  10610. ],
  10611. "produces": [
  10612. "application/json"
  10613. ],
  10614. "tags": [
  10615. "定制【尚志大宗】"
  10616. ],
  10617. "summary": "查询交易系统转换设置",
  10618. "parameters": [
  10619. {
  10620. "type": "integer",
  10621. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  10622. "name": "convertType",
  10623. "in": "query"
  10624. },
  10625. {
  10626. "type": "string",
  10627. "description": "外部商品代码[JD\\PD]",
  10628. "name": "outerGoodsCode",
  10629. "in": "query"
  10630. },
  10631. {
  10632. "type": "string",
  10633. "description": "内部商品ID列表[交易],格式:1,2,3",
  10634. "name": "innerGoodsIDs",
  10635. "in": "query"
  10636. }
  10637. ],
  10638. "responses": {
  10639. "200": {
  10640. "description": "OK",
  10641. "schema": {
  10642. "$ref": "#/definitions/models.Szdz3convertconfig"
  10643. }
  10644. },
  10645. "500": {
  10646. "description": "Internal Server Error",
  10647. "schema": {
  10648. "$ref": "#/definitions/app.Response"
  10649. }
  10650. }
  10651. }
  10652. }
  10653. },
  10654. "/SZDZ/QueryConvertLog": {
  10655. "get": {
  10656. "security": [
  10657. {
  10658. "ApiKeyAuth": []
  10659. }
  10660. ],
  10661. "produces": [
  10662. "application/json"
  10663. ],
  10664. "tags": [
  10665. "定制【尚志大宗】"
  10666. ],
  10667. "summary": "交易系统转换流水查询",
  10668. "parameters": [
  10669. {
  10670. "type": "string",
  10671. "description": "资金账户 - 格式:1,2,3",
  10672. "name": "accountID",
  10673. "in": "query",
  10674. "required": true
  10675. },
  10676. {
  10677. "type": "string",
  10678. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  10679. "name": "startDate",
  10680. "in": "query"
  10681. },
  10682. {
  10683. "type": "string",
  10684. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  10685. "name": "endDate",
  10686. "in": "query"
  10687. }
  10688. ],
  10689. "responses": {
  10690. "200": {
  10691. "description": "OK",
  10692. "schema": {
  10693. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  10694. }
  10695. },
  10696. "500": {
  10697. "description": "Internal Server Error",
  10698. "schema": {
  10699. "$ref": "#/definitions/app.Response"
  10700. }
  10701. }
  10702. }
  10703. }
  10704. },
  10705. "/SZDZ/QueryGoodsPickup": {
  10706. "get": {
  10707. "security": [
  10708. {
  10709. "ApiKeyAuth": []
  10710. }
  10711. ],
  10712. "produces": [
  10713. "application/json"
  10714. ],
  10715. "tags": [
  10716. "定制【尚志大宗】"
  10717. ],
  10718. "summary": "商品提货单查询",
  10719. "parameters": [
  10720. {
  10721. "type": "string",
  10722. "description": "资金账户 - 格式:1,2,3",
  10723. "name": "accountID",
  10724. "in": "query",
  10725. "required": true
  10726. },
  10727. {
  10728. "type": "integer",
  10729. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  10730. "name": "takeOrderStatus",
  10731. "in": "query"
  10732. }
  10733. ],
  10734. "responses": {
  10735. "200": {
  10736. "description": "OK",
  10737. "schema": {
  10738. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  10739. }
  10740. },
  10741. "500": {
  10742. "description": "Internal Server Error",
  10743. "schema": {
  10744. "$ref": "#/definitions/app.Response"
  10745. }
  10746. }
  10747. }
  10748. }
  10749. },
  10750. "/SZDZ/QueryRecieptOrder": {
  10751. "get": {
  10752. "security": [
  10753. {
  10754. "ApiKeyAuth": []
  10755. }
  10756. ],
  10757. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  10758. "produces": [
  10759. "application/json"
  10760. ],
  10761. "tags": [
  10762. "定制【尚志大宗】"
  10763. ],
  10764. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  10765. "parameters": [
  10766. {
  10767. "type": "integer",
  10768. "description": "页码",
  10769. "name": "page",
  10770. "in": "query"
  10771. },
  10772. {
  10773. "type": "integer",
  10774. "description": "每页条数",
  10775. "name": "pagesize",
  10776. "in": "query"
  10777. },
  10778. {
  10779. "type": "integer",
  10780. "description": "商品ID",
  10781. "name": "goodsID",
  10782. "in": "query",
  10783. "required": true
  10784. },
  10785. {
  10786. "type": "string",
  10787. "description": "所属账户名称",
  10788. "name": "accountName",
  10789. "in": "query"
  10790. },
  10791. {
  10792. "type": "integer",
  10793. "description": "市场ID",
  10794. "name": "marketID",
  10795. "in": "query"
  10796. },
  10797. {
  10798. "type": "integer",
  10799. "description": "方向 - 0:买 1:卖",
  10800. "name": "buyorsell",
  10801. "in": "query",
  10802. "required": true
  10803. }
  10804. ],
  10805. "responses": {
  10806. "200": {
  10807. "description": "OK",
  10808. "schema": {
  10809. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  10810. }
  10811. },
  10812. "500": {
  10813. "description": "Internal Server Error",
  10814. "schema": {
  10815. "$ref": "#/definitions/app.Response"
  10816. }
  10817. }
  10818. }
  10819. }
  10820. },
  10821. "/SZDZ/QuerySZDZTradePosition": {
  10822. "get": {
  10823. "security": [
  10824. {
  10825. "ApiKeyAuth": []
  10826. }
  10827. ],
  10828. "produces": [
  10829. "application/json"
  10830. ],
  10831. "tags": [
  10832. "定制【尚志大宗】"
  10833. ],
  10834. "summary": "持仓汇总查询(尚志大宗)",
  10835. "parameters": [
  10836. {
  10837. "type": "integer",
  10838. "description": "资金账户",
  10839. "name": "accountID",
  10840. "in": "query",
  10841. "required": true
  10842. }
  10843. ],
  10844. "responses": {
  10845. "200": {
  10846. "description": "OK",
  10847. "schema": {
  10848. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  10849. }
  10850. },
  10851. "500": {
  10852. "description": "Internal Server Error",
  10853. "schema": {
  10854. "$ref": "#/definitions/app.Response"
  10855. }
  10856. }
  10857. }
  10858. }
  10859. },
  10860. "/SZDZ/SearchWhite": {
  10861. "get": {
  10862. "security": [
  10863. {
  10864. "ApiKeyAuth": []
  10865. }
  10866. ],
  10867. "produces": [
  10868. "application/json"
  10869. ],
  10870. "tags": [
  10871. "定制【尚志大宗】"
  10872. ],
  10873. "summary": "搜索白名单",
  10874. "parameters": [
  10875. {
  10876. "type": "integer",
  10877. "description": "用户ID",
  10878. "name": "userID",
  10879. "in": "query",
  10880. "required": true
  10881. }
  10882. ],
  10883. "responses": {
  10884. "200": {
  10885. "description": "OK",
  10886. "schema": {
  10887. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  10888. }
  10889. },
  10890. "500": {
  10891. "description": "Internal Server Error",
  10892. "schema": {
  10893. "$ref": "#/definitions/app.Response"
  10894. }
  10895. }
  10896. }
  10897. }
  10898. },
  10899. "/Search/SearchGoodses": {
  10900. "get": {
  10901. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  10902. "produces": [
  10903. "application/json"
  10904. ],
  10905. "tags": [
  10906. "检索服务"
  10907. ],
  10908. "summary": "检索商品信息",
  10909. "parameters": [
  10910. {
  10911. "type": "string",
  10912. "description": "检索内容",
  10913. "name": "content",
  10914. "in": "query",
  10915. "required": true
  10916. },
  10917. {
  10918. "type": "string",
  10919. "description": "交易模式,格式:1,2,3",
  10920. "name": "tradeModes",
  10921. "in": "query"
  10922. }
  10923. ],
  10924. "responses": {
  10925. "200": {
  10926. "description": "OK",
  10927. "schema": {
  10928. "$ref": "#/definitions/models.SearchGoods"
  10929. }
  10930. },
  10931. "500": {
  10932. "description": "Internal Server Error",
  10933. "schema": {
  10934. "$ref": "#/definitions/app.Response"
  10935. }
  10936. }
  10937. }
  10938. }
  10939. },
  10940. "/TaAccount/GetTaAccounts": {
  10941. "get": {
  10942. "security": [
  10943. {
  10944. "ApiKeyAuth": []
  10945. }
  10946. ],
  10947. "produces": [
  10948. "application/json"
  10949. ],
  10950. "tags": [
  10951. "资金账户"
  10952. ],
  10953. "summary": "获取资金账户信息",
  10954. "parameters": [
  10955. {
  10956. "type": "integer",
  10957. "description": "登录账户",
  10958. "name": "loginID",
  10959. "in": "query",
  10960. "required": true
  10961. },
  10962. {
  10963. "type": "integer",
  10964. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  10965. "name": "taAccountType",
  10966. "in": "query"
  10967. }
  10968. ],
  10969. "responses": {
  10970. "200": {
  10971. "description": "OK",
  10972. "schema": {
  10973. "$ref": "#/definitions/models.Taaccount"
  10974. }
  10975. },
  10976. "500": {
  10977. "description": "Internal Server Error",
  10978. "schema": {
  10979. "$ref": "#/definitions/app.Response"
  10980. }
  10981. }
  10982. }
  10983. }
  10984. },
  10985. "/TaAccount/QueryAmountLog": {
  10986. "get": {
  10987. "security": [
  10988. {
  10989. "ApiKeyAuth": []
  10990. }
  10991. ],
  10992. "produces": [
  10993. "application/json"
  10994. ],
  10995. "tags": [
  10996. "资金账户"
  10997. ],
  10998. "summary": "资金流水查询(当前)",
  10999. "parameters": [
  11000. {
  11001. "type": "integer",
  11002. "description": "页码",
  11003. "name": "page",
  11004. "in": "query"
  11005. },
  11006. {
  11007. "type": "integer",
  11008. "description": "每页条数",
  11009. "name": "pagesize",
  11010. "in": "query"
  11011. },
  11012. {
  11013. "type": "string",
  11014. "description": "资金账户 - 格式:1,2,3",
  11015. "name": "accountID",
  11016. "in": "query",
  11017. "required": true
  11018. },
  11019. {
  11020. "type": "string",
  11021. "description": "资金操作类型 - 格式:1,2,3",
  11022. "name": "OperateType",
  11023. "in": "query"
  11024. }
  11025. ],
  11026. "responses": {
  11027. "200": {
  11028. "description": "OK",
  11029. "schema": {
  11030. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  11031. }
  11032. },
  11033. "500": {
  11034. "description": "Internal Server Error",
  11035. "schema": {
  11036. "$ref": "#/definitions/app.Response"
  11037. }
  11038. }
  11039. }
  11040. }
  11041. },
  11042. "/TaAccount/QueryHisAmountLog": {
  11043. "get": {
  11044. "security": [
  11045. {
  11046. "ApiKeyAuth": []
  11047. }
  11048. ],
  11049. "produces": [
  11050. "application/json"
  11051. ],
  11052. "tags": [
  11053. "资金账户"
  11054. ],
  11055. "summary": "资金流水查询(历史)",
  11056. "parameters": [
  11057. {
  11058. "type": "integer",
  11059. "description": "页码",
  11060. "name": "page",
  11061. "in": "query"
  11062. },
  11063. {
  11064. "type": "integer",
  11065. "description": "每页条数",
  11066. "name": "pagesize",
  11067. "in": "query"
  11068. },
  11069. {
  11070. "type": "string",
  11071. "description": "资金账户 - 格式:1,2,3",
  11072. "name": "accountID",
  11073. "in": "query",
  11074. "required": true
  11075. },
  11076. {
  11077. "type": "string",
  11078. "description": "资金操作类型 - 格式:1,2,3",
  11079. "name": "OperateType",
  11080. "in": "query"
  11081. },
  11082. {
  11083. "type": "string",
  11084. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  11085. "name": "startDate",
  11086. "in": "query"
  11087. },
  11088. {
  11089. "type": "string",
  11090. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  11091. "name": "endDate",
  11092. "in": "query"
  11093. }
  11094. ],
  11095. "responses": {
  11096. "200": {
  11097. "description": "OK",
  11098. "schema": {
  11099. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  11100. }
  11101. },
  11102. "500": {
  11103. "description": "Internal Server Error",
  11104. "schema": {
  11105. "$ref": "#/definitions/app.Response"
  11106. }
  11107. }
  11108. }
  11109. }
  11110. },
  11111. "/Tjmd/QueryQuoteGoodsList": {
  11112. "get": {
  11113. "security": [
  11114. {
  11115. "ApiKeyAuth": []
  11116. }
  11117. ],
  11118. "description": "用户类型必传, 查掉期报价列表 marketids=掉期市场id",
  11119. "produces": [
  11120. "application/json"
  11121. ],
  11122. "tags": [
  11123. "天津麦顿"
  11124. ],
  11125. "summary": "查询掉期报价列表",
  11126. "parameters": [
  11127. {
  11128. "type": "integer",
  11129. "description": "用户类型",
  11130. "name": "usertype",
  11131. "in": "query",
  11132. "required": true
  11133. },
  11134. {
  11135. "type": "string",
  11136. "description": "市场id, 格式 1,2,3",
  11137. "name": "marketids",
  11138. "in": "query"
  11139. },
  11140. {
  11141. "type": "integer",
  11142. "description": "商品组id",
  11143. "name": "goodsgroupid",
  11144. "in": "query"
  11145. },
  11146. {
  11147. "type": "integer",
  11148. "description": "商品id",
  11149. "name": "goodsid",
  11150. "in": "query"
  11151. }
  11152. ],
  11153. "responses": {
  11154. "200": {
  11155. "description": "OK",
  11156. "schema": {
  11157. "type": "array",
  11158. "items": {
  11159. "$ref": "#/definitions/models.TjmdQuoteGoods"
  11160. }
  11161. }
  11162. },
  11163. "500": {
  11164. "description": "Internal Server Error",
  11165. "schema": {
  11166. "$ref": "#/definitions/app.Response"
  11167. }
  11168. }
  11169. }
  11170. }
  11171. },
  11172. "/Tjmd/QueryTjmdMarketSection": {
  11173. "get": {
  11174. "security": [
  11175. {
  11176. "ApiKeyAuth": []
  11177. }
  11178. ],
  11179. "produces": [
  11180. "application/json"
  11181. ],
  11182. "tags": [
  11183. "天津麦顿"
  11184. ],
  11185. "summary": "查询市场板块",
  11186. "responses": {
  11187. "200": {
  11188. "description": "OK",
  11189. "schema": {
  11190. "type": "array",
  11191. "items": {
  11192. "$ref": "#/definitions/models.TjmdMarketSection"
  11193. }
  11194. }
  11195. },
  11196. "500": {
  11197. "description": "Internal Server Error",
  11198. "schema": {
  11199. "$ref": "#/definitions/app.Response"
  11200. }
  11201. }
  11202. }
  11203. }
  11204. },
  11205. "/Tjmd/QueryTjmdTodayAccountMargin": {
  11206. "get": {
  11207. "security": [
  11208. {
  11209. "ApiKeyAuth": []
  11210. }
  11211. ],
  11212. "produces": [
  11213. "application/json"
  11214. ],
  11215. "tags": [
  11216. "天津麦顿"
  11217. ],
  11218. "summary": "查询今日账户保证金配置",
  11219. "parameters": [
  11220. {
  11221. "type": "string",
  11222. "description": "市场id",
  11223. "name": "marketid",
  11224. "in": "query"
  11225. },
  11226. {
  11227. "type": "string",
  11228. "description": "商品id",
  11229. "name": "goodsid",
  11230. "in": "query"
  11231. },
  11232. {
  11233. "type": "string",
  11234. "description": "资金账号",
  11235. "name": "accountid",
  11236. "in": "query"
  11237. }
  11238. ],
  11239. "responses": {
  11240. "200": {
  11241. "description": "OK",
  11242. "schema": {
  11243. "type": "array",
  11244. "items": {
  11245. "$ref": "#/definitions/models.TjmdTodayAccountMargin"
  11246. }
  11247. }
  11248. },
  11249. "500": {
  11250. "description": "Internal Server Error",
  11251. "schema": {
  11252. "$ref": "#/definitions/app.Response"
  11253. }
  11254. }
  11255. }
  11256. }
  11257. },
  11258. "/Tjmd/QueryTjmdTradeOrderDetail": {
  11259. "get": {
  11260. "security": [
  11261. {
  11262. "ApiKeyAuth": []
  11263. }
  11264. ],
  11265. "description": "用户类型必传, 投资者只能看到自营会员的单, 反之亦然",
  11266. "produces": [
  11267. "application/json"
  11268. ],
  11269. "tags": [
  11270. "天津麦顿"
  11271. ],
  11272. "summary": "查询掉期买卖大厅",
  11273. "parameters": [
  11274. {
  11275. "type": "integer",
  11276. "description": "页码",
  11277. "name": "page",
  11278. "in": "query"
  11279. },
  11280. {
  11281. "type": "integer",
  11282. "description": "每页条数",
  11283. "name": "pagesize",
  11284. "in": "query"
  11285. },
  11286. {
  11287. "type": "integer",
  11288. "description": "用户id",
  11289. "name": "userid",
  11290. "in": "query",
  11291. "required": true
  11292. },
  11293. {
  11294. "type": "integer",
  11295. "description": "用户类型",
  11296. "name": "usertype",
  11297. "in": "query",
  11298. "required": true
  11299. },
  11300. {
  11301. "type": "string",
  11302. "description": "市场id, 格式 1,2,3",
  11303. "name": "marketids",
  11304. "in": "query"
  11305. },
  11306. {
  11307. "type": "integer",
  11308. "description": "商品id",
  11309. "name": "goodsid",
  11310. "in": "query",
  11311. "required": true
  11312. },
  11313. {
  11314. "type": "integer",
  11315. "description": "买卖方向 0-买 1-卖",
  11316. "name": "buyorsell",
  11317. "in": "query",
  11318. "required": true
  11319. }
  11320. ],
  11321. "responses": {
  11322. "200": {
  11323. "description": "OK",
  11324. "schema": {
  11325. "type": "array",
  11326. "items": {
  11327. "$ref": "#/definitions/models.TjmdTradeOrderDetail"
  11328. }
  11329. }
  11330. },
  11331. "500": {
  11332. "description": "Internal Server Error",
  11333. "schema": {
  11334. "$ref": "#/definitions/app.Response"
  11335. }
  11336. }
  11337. }
  11338. }
  11339. },
  11340. "/Tjmd/QueryTjmdTransferApply": {
  11341. "get": {
  11342. "security": [
  11343. {
  11344. "ApiKeyAuth": []
  11345. }
  11346. ],
  11347. "produces": [
  11348. "application/json"
  11349. ],
  11350. "tags": [
  11351. "天津麦顿"
  11352. ],
  11353. "summary": "查询掉期协议单",
  11354. "parameters": [
  11355. {
  11356. "type": "integer",
  11357. "description": "类型 1-我的申请 2-对方申请",
  11358. "name": "applytype",
  11359. "in": "query",
  11360. "required": true
  11361. },
  11362. {
  11363. "type": "string",
  11364. "description": "市场id, 格式 1,2,3",
  11365. "name": "marketids",
  11366. "in": "query"
  11367. },
  11368. {
  11369. "type": "string",
  11370. "description": "资金账号, 格式 25000000001,25000000003",
  11371. "name": "accountids",
  11372. "in": "query"
  11373. },
  11374. {
  11375. "type": "string",
  11376. "description": "开始交易日(yyyymmdd)",
  11377. "name": "begindate",
  11378. "in": "query"
  11379. },
  11380. {
  11381. "type": "string",
  11382. "description": "结束交易日(yyyymmdd)",
  11383. "name": "enddate",
  11384. "in": "query"
  11385. }
  11386. ],
  11387. "responses": {
  11388. "200": {
  11389. "description": "OK",
  11390. "schema": {
  11391. "type": "array",
  11392. "items": {
  11393. "$ref": "#/definitions/models.TjmdTransferApply"
  11394. }
  11395. }
  11396. },
  11397. "500": {
  11398. "description": "Internal Server Error",
  11399. "schema": {
  11400. "$ref": "#/definitions/app.Response"
  11401. }
  11402. }
  11403. }
  11404. }
  11405. },
  11406. "/Trade/QueryRecieptOrder": {
  11407. "get": {
  11408. "security": [
  11409. {
  11410. "ApiKeyAuth": []
  11411. }
  11412. ],
  11413. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  11414. "produces": [
  11415. "application/json"
  11416. ],
  11417. "tags": [
  11418. "通用交易"
  11419. ],
  11420. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  11421. "parameters": [
  11422. {
  11423. "type": "integer",
  11424. "description": "页码",
  11425. "name": "page",
  11426. "in": "query"
  11427. },
  11428. {
  11429. "type": "integer",
  11430. "description": "每页条数",
  11431. "name": "pagesize",
  11432. "in": "query"
  11433. },
  11434. {
  11435. "type": "integer",
  11436. "description": "商品ID",
  11437. "name": "goodsID",
  11438. "in": "query",
  11439. "required": true
  11440. },
  11441. {
  11442. "type": "string",
  11443. "description": "所属账户名称",
  11444. "name": "accountName",
  11445. "in": "query"
  11446. },
  11447. {
  11448. "type": "integer",
  11449. "description": "市场ID",
  11450. "name": "marketID",
  11451. "in": "query"
  11452. },
  11453. {
  11454. "type": "integer",
  11455. "description": "方向 - 0:买 1:卖",
  11456. "name": "buyorsell",
  11457. "in": "query",
  11458. "required": true
  11459. }
  11460. ],
  11461. "responses": {
  11462. "200": {
  11463. "description": "OK",
  11464. "schema": {
  11465. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  11466. }
  11467. },
  11468. "500": {
  11469. "description": "Internal Server Error",
  11470. "schema": {
  11471. "$ref": "#/definitions/app.Response"
  11472. }
  11473. }
  11474. }
  11475. }
  11476. },
  11477. "/User/AddMessageBoard": {
  11478. "post": {
  11479. "security": [
  11480. {
  11481. "ApiKeyAuth": []
  11482. }
  11483. ],
  11484. "produces": [
  11485. "application/json"
  11486. ],
  11487. "tags": [
  11488. "用户信息"
  11489. ],
  11490. "summary": "添加用户留言板信息",
  11491. "parameters": [
  11492. {
  11493. "type": "integer",
  11494. "description": "用户ID",
  11495. "name": "userID",
  11496. "in": "query",
  11497. "required": true
  11498. },
  11499. {
  11500. "type": "string",
  11501. "description": "留言信息",
  11502. "name": "message",
  11503. "in": "query",
  11504. "required": true
  11505. },
  11506. {
  11507. "type": "string",
  11508. "description": "联系电话",
  11509. "name": "contactNum",
  11510. "in": "query",
  11511. "required": true
  11512. }
  11513. ],
  11514. "responses": {
  11515. "200": {
  11516. "description": "OK",
  11517. "schema": {
  11518. "$ref": "#/definitions/app.Response"
  11519. }
  11520. },
  11521. "500": {
  11522. "description": "Internal Server Error",
  11523. "schema": {
  11524. "$ref": "#/definitions/app.Response"
  11525. }
  11526. }
  11527. }
  11528. }
  11529. },
  11530. "/User/AddUserFavoriteGoods": {
  11531. "post": {
  11532. "security": [
  11533. {
  11534. "ApiKeyAuth": []
  11535. }
  11536. ],
  11537. "produces": [
  11538. "application/json"
  11539. ],
  11540. "tags": [
  11541. "用户信息"
  11542. ],
  11543. "summary": "添加用户商品收藏信息",
  11544. "parameters": [
  11545. {
  11546. "type": "integer",
  11547. "description": "用户ID",
  11548. "name": "userID",
  11549. "in": "query",
  11550. "required": true
  11551. },
  11552. {
  11553. "type": "integer",
  11554. "description": "商品ID",
  11555. "name": "goodsID",
  11556. "in": "query",
  11557. "required": true
  11558. }
  11559. ],
  11560. "responses": {
  11561. "200": {
  11562. "description": "OK",
  11563. "schema": {
  11564. "$ref": "#/definitions/app.Response"
  11565. }
  11566. },
  11567. "500": {
  11568. "description": "Internal Server Error",
  11569. "schema": {
  11570. "$ref": "#/definitions/app.Response"
  11571. }
  11572. }
  11573. }
  11574. }
  11575. },
  11576. "/User/GetLoginID": {
  11577. "get": {
  11578. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  11579. "produces": [
  11580. "application/json"
  11581. ],
  11582. "tags": [
  11583. "用户信息"
  11584. ],
  11585. "summary": "获取登录ID",
  11586. "parameters": [
  11587. {
  11588. "type": "string",
  11589. "description": "登录代码",
  11590. "name": "username",
  11591. "in": "query",
  11592. "required": true
  11593. }
  11594. ],
  11595. "responses": {
  11596. "200": {
  11597. "description": "OK",
  11598. "schema": {
  11599. "$ref": "#/definitions/app.Response"
  11600. }
  11601. },
  11602. "500": {
  11603. "description": "Internal Server Error",
  11604. "schema": {
  11605. "$ref": "#/definitions/app.Response"
  11606. }
  11607. }
  11608. }
  11609. }
  11610. },
  11611. "/User/GetUserAccount": {
  11612. "get": {
  11613. "security": [
  11614. {
  11615. "ApiKeyAuth": []
  11616. }
  11617. ],
  11618. "produces": [
  11619. "application/json"
  11620. ],
  11621. "tags": [
  11622. "用户信息"
  11623. ],
  11624. "summary": "获取用户账号信息",
  11625. "parameters": [
  11626. {
  11627. "type": "integer",
  11628. "description": "用户ID",
  11629. "name": "userID",
  11630. "in": "query",
  11631. "required": true
  11632. }
  11633. ],
  11634. "responses": {
  11635. "200": {
  11636. "description": "OK",
  11637. "schema": {
  11638. "$ref": "#/definitions/models.Useraccount"
  11639. }
  11640. },
  11641. "500": {
  11642. "description": "Internal Server Error",
  11643. "schema": {
  11644. "$ref": "#/definitions/app.Response"
  11645. }
  11646. }
  11647. }
  11648. }
  11649. },
  11650. "/User/GetUserAuthStatus": {
  11651. "get": {
  11652. "security": [
  11653. {
  11654. "ApiKeyAuth": []
  11655. }
  11656. ],
  11657. "produces": [
  11658. "application/json"
  11659. ],
  11660. "tags": [
  11661. "用户信息"
  11662. ],
  11663. "summary": "获取用户实名认证状态",
  11664. "parameters": [
  11665. {
  11666. "type": "integer",
  11667. "description": "用户ID",
  11668. "name": "userID",
  11669. "in": "query",
  11670. "required": true
  11671. }
  11672. ],
  11673. "responses": {
  11674. "200": {
  11675. "description": "OK",
  11676. "schema": {
  11677. "$ref": "#/definitions/app.Response"
  11678. }
  11679. },
  11680. "500": {
  11681. "description": "Internal Server Error",
  11682. "schema": {
  11683. "$ref": "#/definitions/app.Response"
  11684. }
  11685. }
  11686. }
  11687. }
  11688. },
  11689. "/User/LoginQuery": {
  11690. "get": {
  11691. "security": [
  11692. {
  11693. "ApiKeyAuth": []
  11694. }
  11695. ],
  11696. "produces": [
  11697. "application/json"
  11698. ],
  11699. "tags": [
  11700. "用户信息"
  11701. ],
  11702. "summary": "账户登录后信息查询",
  11703. "parameters": [
  11704. {
  11705. "type": "integer",
  11706. "description": "登录账号",
  11707. "name": "loginID",
  11708. "in": "query",
  11709. "required": true
  11710. }
  11711. ],
  11712. "responses": {
  11713. "200": {
  11714. "description": "OK",
  11715. "schema": {
  11716. "$ref": "#/definitions/user.LoginQueryRsp"
  11717. }
  11718. },
  11719. "500": {
  11720. "description": "Internal Server Error",
  11721. "schema": {
  11722. "$ref": "#/definitions/app.Response"
  11723. }
  11724. }
  11725. }
  11726. }
  11727. },
  11728. "/User/QueryMessageBoard": {
  11729. "get": {
  11730. "security": [
  11731. {
  11732. "ApiKeyAuth": []
  11733. }
  11734. ],
  11735. "produces": [
  11736. "application/json"
  11737. ],
  11738. "tags": [
  11739. "用户信息"
  11740. ],
  11741. "summary": "获取用户留言板信息",
  11742. "parameters": [
  11743. {
  11744. "type": "integer",
  11745. "description": "用户ID",
  11746. "name": "userID",
  11747. "in": "query",
  11748. "required": true
  11749. }
  11750. ],
  11751. "responses": {
  11752. "200": {
  11753. "description": "OK",
  11754. "schema": {
  11755. "$ref": "#/definitions/models.Messageboard"
  11756. }
  11757. },
  11758. "500": {
  11759. "description": "Internal Server Error",
  11760. "schema": {
  11761. "$ref": "#/definitions/app.Response"
  11762. }
  11763. }
  11764. }
  11765. }
  11766. },
  11767. "/User/QueryUserFavoriteGoodses": {
  11768. "get": {
  11769. "security": [
  11770. {
  11771. "ApiKeyAuth": []
  11772. }
  11773. ],
  11774. "produces": [
  11775. "application/json"
  11776. ],
  11777. "tags": [
  11778. "用户信息"
  11779. ],
  11780. "summary": "获取用户商品收藏信息",
  11781. "parameters": [
  11782. {
  11783. "type": "integer",
  11784. "description": "用户ID",
  11785. "name": "userID",
  11786. "in": "query",
  11787. "required": true
  11788. }
  11789. ],
  11790. "responses": {
  11791. "200": {
  11792. "description": "OK",
  11793. "schema": {
  11794. "$ref": "#/definitions/models.Userfavoritegoods"
  11795. }
  11796. },
  11797. "500": {
  11798. "description": "Internal Server Error",
  11799. "schema": {
  11800. "$ref": "#/definitions/app.Response"
  11801. }
  11802. }
  11803. }
  11804. }
  11805. },
  11806. "/User/QueryUserInfo": {
  11807. "get": {
  11808. "security": [
  11809. {
  11810. "ApiKeyAuth": []
  11811. }
  11812. ],
  11813. "produces": [
  11814. "application/json"
  11815. ],
  11816. "tags": [
  11817. "用户信息"
  11818. ],
  11819. "summary": "获取用户信息",
  11820. "parameters": [
  11821. {
  11822. "type": "integer",
  11823. "description": "用户ID",
  11824. "name": "userID",
  11825. "in": "query",
  11826. "required": true
  11827. },
  11828. {
  11829. "type": "boolean",
  11830. "description": "是否解密",
  11831. "name": "isDecrypt",
  11832. "in": "query"
  11833. }
  11834. ],
  11835. "responses": {
  11836. "200": {
  11837. "description": "OK",
  11838. "schema": {
  11839. "$ref": "#/definitions/models.Userinfo"
  11840. }
  11841. },
  11842. "500": {
  11843. "description": "Internal Server Error",
  11844. "schema": {
  11845. "$ref": "#/definitions/app.Response"
  11846. }
  11847. }
  11848. }
  11849. }
  11850. },
  11851. "/User/QueryUserReferNum": {
  11852. "get": {
  11853. "produces": [
  11854. "application/json"
  11855. ],
  11856. "tags": [
  11857. "用户信息"
  11858. ],
  11859. "summary": "获取用户邀请码",
  11860. "parameters": [
  11861. {
  11862. "type": "integer",
  11863. "description": "用户ID",
  11864. "name": "userID",
  11865. "in": "query",
  11866. "required": true
  11867. }
  11868. ],
  11869. "responses": {
  11870. "200": {
  11871. "description": "OK",
  11872. "schema": {
  11873. "$ref": "#/definitions/app.Response"
  11874. }
  11875. },
  11876. "500": {
  11877. "description": "Internal Server Error",
  11878. "schema": {
  11879. "$ref": "#/definitions/app.Response"
  11880. }
  11881. }
  11882. }
  11883. }
  11884. },
  11885. "/User/RemoveUserFavoriteGoods": {
  11886. "post": {
  11887. "security": [
  11888. {
  11889. "ApiKeyAuth": []
  11890. }
  11891. ],
  11892. "produces": [
  11893. "application/json"
  11894. ],
  11895. "tags": [
  11896. "用户信息"
  11897. ],
  11898. "summary": "移除用户商品收藏信息",
  11899. "parameters": [
  11900. {
  11901. "type": "integer",
  11902. "description": "用户ID",
  11903. "name": "userID",
  11904. "in": "query",
  11905. "required": true
  11906. },
  11907. {
  11908. "type": "integer",
  11909. "description": "商品ID",
  11910. "name": "goodsID",
  11911. "in": "query",
  11912. "required": true
  11913. }
  11914. ],
  11915. "responses": {
  11916. "200": {
  11917. "description": "OK",
  11918. "schema": {
  11919. "$ref": "#/definitions/app.Response"
  11920. }
  11921. },
  11922. "500": {
  11923. "description": "Internal Server Error",
  11924. "schema": {
  11925. "$ref": "#/definitions/app.Response"
  11926. }
  11927. }
  11928. }
  11929. }
  11930. },
  11931. "/User/UpdateUserAccountStatus": {
  11932. "post": {
  11933. "security": [
  11934. {
  11935. "ApiKeyAuth": []
  11936. }
  11937. ],
  11938. "produces": [
  11939. "application/json"
  11940. ],
  11941. "tags": [
  11942. "用户信息"
  11943. ],
  11944. "summary": "更新用户状态",
  11945. "parameters": [
  11946. {
  11947. "type": "integer",
  11948. "description": "用户ID",
  11949. "name": "userID",
  11950. "in": "query",
  11951. "required": true
  11952. },
  11953. {
  11954. "type": "integer",
  11955. "description": "账户状态 - 4:正常 6:注销(停用)",
  11956. "name": "accountStatus",
  11957. "in": "query",
  11958. "required": true
  11959. }
  11960. ],
  11961. "responses": {
  11962. "200": {
  11963. "description": "OK",
  11964. "schema": {
  11965. "$ref": "#/definitions/app.Response"
  11966. }
  11967. },
  11968. "500": {
  11969. "description": "Internal Server Error",
  11970. "schema": {
  11971. "$ref": "#/definitions/app.Response"
  11972. }
  11973. }
  11974. }
  11975. }
  11976. },
  11977. "/WRTrade/GetAllDeliveryGoods": {
  11978. "get": {
  11979. "security": [
  11980. {
  11981. "ApiKeyAuth": []
  11982. },
  11983. {
  11984. "ApiKeyAuth": []
  11985. }
  11986. ],
  11987. "produces": [
  11988. "application/json",
  11989. "application/json"
  11990. ],
  11991. "tags": [
  11992. "仓单贸易",
  11993. "仓单贸易"
  11994. ],
  11995. "summary": "获取带仓单分类的种类信息",
  11996. "responses": {
  11997. "200": {
  11998. "description": "OK",
  11999. "schema": {
  12000. "$ref": "#/definitions/app.Response"
  12001. }
  12002. },
  12003. "500": {
  12004. "description": "Internal Server Error",
  12005. "schema": {
  12006. "$ref": "#/definitions/app.Response"
  12007. }
  12008. }
  12009. }
  12010. }
  12011. },
  12012. "/WrTrade2/QueryDeliveryGoodsSection": {
  12013. "get": {
  12014. "security": [
  12015. {
  12016. "ApiKeyAuth": []
  12017. }
  12018. ],
  12019. "produces": [
  12020. "application/json"
  12021. ],
  12022. "tags": [
  12023. "仓单贸易v2"
  12024. ],
  12025. "summary": "查询板块(分类)",
  12026. "responses": {
  12027. "200": {
  12028. "description": "OK",
  12029. "schema": {
  12030. "type": "array",
  12031. "items": {
  12032. "$ref": "#/definitions/models.WrDeliveryGoodsSection"
  12033. }
  12034. }
  12035. },
  12036. "500": {
  12037. "description": "Internal Server Error",
  12038. "schema": {
  12039. "$ref": "#/definitions/app.Response"
  12040. }
  12041. }
  12042. }
  12043. }
  12044. },
  12045. "/WrTrade2/QueryFaProductDetail": {
  12046. "get": {
  12047. "security": [
  12048. {
  12049. "ApiKeyAuth": []
  12050. }
  12051. ],
  12052. "description": "页面 买卖大厅 -\u003e 选择融资方案",
  12053. "produces": [
  12054. "application/json"
  12055. ],
  12056. "tags": [
  12057. "仓单贸易v2"
  12058. ],
  12059. "summary": "查询融资产品列表",
  12060. "parameters": [
  12061. {
  12062. "type": "integer",
  12063. "description": "仓单要素id",
  12064. "name": "wrfactortypeid",
  12065. "in": "query",
  12066. "required": true
  12067. }
  12068. ],
  12069. "responses": {
  12070. "200": {
  12071. "description": "OK",
  12072. "schema": {
  12073. "type": "array",
  12074. "items": {
  12075. "$ref": "#/definitions/models.WrFAProductDetail"
  12076. }
  12077. }
  12078. },
  12079. "500": {
  12080. "description": "Internal Server Error",
  12081. "schema": {
  12082. "$ref": "#/definitions/app.Response"
  12083. }
  12084. }
  12085. }
  12086. }
  12087. },
  12088. "/WrTrade2/QueryFilterItem": {
  12089. "get": {
  12090. "security": [
  12091. {
  12092. "ApiKeyAuth": []
  12093. }
  12094. ],
  12095. "produces": [
  12096. "application/json"
  12097. ],
  12098. "tags": [
  12099. "仓单贸易v2"
  12100. ],
  12101. "summary": "查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)",
  12102. "parameters": [
  12103. {
  12104. "type": "string",
  12105. "description": "类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库",
  12106. "name": "itype",
  12107. "in": "query",
  12108. "required": true
  12109. }
  12110. ],
  12111. "responses": {
  12112. "200": {
  12113. "description": "OK",
  12114. "schema": {
  12115. "type": "array",
  12116. "items": {
  12117. "$ref": "#/definitions/models.WrFilterItem"
  12118. }
  12119. }
  12120. },
  12121. "500": {
  12122. "description": "Internal Server Error",
  12123. "schema": {
  12124. "$ref": "#/definitions/app.Response"
  12125. }
  12126. }
  12127. }
  12128. }
  12129. },
  12130. "/WrTrade2/QueryFtDeliveryGoods": {
  12131. "get": {
  12132. "security": [
  12133. {
  12134. "ApiKeyAuth": []
  12135. }
  12136. ],
  12137. "produces": [
  12138. "application/json"
  12139. ],
  12140. "tags": [
  12141. "仓单贸易v2"
  12142. ],
  12143. "summary": "查询品种品类筛选框列表",
  12144. "responses": {
  12145. "200": {
  12146. "description": "OK",
  12147. "schema": {
  12148. "type": "array",
  12149. "items": {
  12150. "$ref": "#/definitions/models.WrFtDeliveryGoods"
  12151. }
  12152. }
  12153. },
  12154. "500": {
  12155. "description": "Internal Server Error",
  12156. "schema": {
  12157. "$ref": "#/definitions/app.Response"
  12158. }
  12159. }
  12160. }
  12161. }
  12162. },
  12163. "/WrTrade2/QueryHoldLB": {
  12164. "get": {
  12165. "security": [
  12166. {
  12167. "ApiKeyAuth": []
  12168. }
  12169. ],
  12170. "description": "页面 现货仓单-\u003e现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。",
  12171. "produces": [
  12172. "application/json"
  12173. ],
  12174. "tags": [
  12175. "仓单贸易v2"
  12176. ],
  12177. "summary": "查询仓单持有记录",
  12178. "parameters": [
  12179. {
  12180. "type": "integer",
  12181. "description": "资金账号",
  12182. "name": "accountid",
  12183. "in": "query",
  12184. "required": true
  12185. },
  12186. {
  12187. "type": "integer",
  12188. "description": "仓库id",
  12189. "name": "warehouseid",
  12190. "in": "query"
  12191. },
  12192. {
  12193. "type": "integer",
  12194. "description": "品种id",
  12195. "name": "deliverygoodsid",
  12196. "in": "query"
  12197. },
  12198. {
  12199. "type": "integer",
  12200. "description": "品类id",
  12201. "name": "wrstandardid",
  12202. "in": "query"
  12203. },
  12204. {
  12205. "type": "integer",
  12206. "description": "仓单要素id",
  12207. "name": "wrfactortypeid",
  12208. "in": "query"
  12209. },
  12210. {
  12211. "type": "string",
  12212. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  12213. "name": "dgitemname",
  12214. "in": "query"
  12215. }
  12216. ],
  12217. "responses": {
  12218. "200": {
  12219. "description": "OK",
  12220. "schema": {
  12221. "type": "array",
  12222. "items": {
  12223. "$ref": "#/definitions/models.WrHoldLB"
  12224. }
  12225. }
  12226. },
  12227. "500": {
  12228. "description": "Internal Server Error",
  12229. "schema": {
  12230. "$ref": "#/definitions/app.Response"
  12231. }
  12232. }
  12233. }
  12234. }
  12235. },
  12236. "/WrTrade2/QueryOrderQuote": {
  12237. "get": {
  12238. "security": [
  12239. {
  12240. "ApiKeyAuth": []
  12241. }
  12242. ],
  12243. "description": "仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth 唯一确定1条记录",
  12244. "produces": [
  12245. "application/json"
  12246. ],
  12247. "tags": [
  12248. "仓单贸易v2"
  12249. ],
  12250. "summary": "查询大厅行情列表",
  12251. "parameters": [
  12252. {
  12253. "type": "integer",
  12254. "description": "页码",
  12255. "name": "page",
  12256. "in": "query"
  12257. },
  12258. {
  12259. "type": "integer",
  12260. "description": "每页条数",
  12261. "name": "pagesize",
  12262. "in": "query"
  12263. },
  12264. {
  12265. "type": "integer",
  12266. "description": "仓单贸易市场id",
  12267. "name": "marketid",
  12268. "in": "query"
  12269. },
  12270. {
  12271. "type": "integer",
  12272. "description": "价格方式 - 1:固定价 2-浮动价",
  12273. "name": "wrpricetype",
  12274. "in": "query",
  12275. "required": true
  12276. },
  12277. {
  12278. "type": "integer",
  12279. "description": "0:仓单预售 1:仓单贸易",
  12280. "name": "haswr",
  12281. "in": "query"
  12282. },
  12283. {
  12284. "type": "string",
  12285. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  12286. "name": "dgitemname",
  12287. "in": "query"
  12288. },
  12289. {
  12290. "type": "integer",
  12291. "description": "仓库id(筛选条件)",
  12292. "name": "warehouseid",
  12293. "in": "query"
  12294. },
  12295. {
  12296. "type": "integer",
  12297. "description": "品种id",
  12298. "name": "deliverygoodsid",
  12299. "in": "query"
  12300. },
  12301. {
  12302. "type": "integer",
  12303. "description": "品类id",
  12304. "name": "wrstandardid",
  12305. "in": "query"
  12306. },
  12307. {
  12308. "type": "integer",
  12309. "description": "仓单要素id",
  12310. "name": "wrfactortypeid",
  12311. "in": "query"
  12312. },
  12313. {
  12314. "type": "string",
  12315. "description": "交收月(yyyy-mm) 仓单预售填写",
  12316. "name": "deliverymonth",
  12317. "in": "query"
  12318. }
  12319. ],
  12320. "responses": {
  12321. "200": {
  12322. "description": "OK",
  12323. "schema": {
  12324. "type": "array",
  12325. "items": {
  12326. "$ref": "#/definitions/models.WrOrderQuote"
  12327. }
  12328. }
  12329. },
  12330. "500": {
  12331. "description": "Internal Server Error",
  12332. "schema": {
  12333. "$ref": "#/definitions/app.Response"
  12334. }
  12335. }
  12336. }
  12337. }
  12338. },
  12339. "/WrTrade2/QueryOrderQuoteDetail": {
  12340. "get": {
  12341. "security": [
  12342. {
  12343. "ApiKeyAuth": []
  12344. }
  12345. ],
  12346. "produces": [
  12347. "application/json"
  12348. ],
  12349. "tags": [
  12350. "仓单贸易v2"
  12351. ],
  12352. "summary": "查询买卖大厅",
  12353. "parameters": [
  12354. {
  12355. "type": "integer",
  12356. "description": "页码",
  12357. "name": "page",
  12358. "in": "query"
  12359. },
  12360. {
  12361. "type": "integer",
  12362. "description": "每页条数",
  12363. "name": "pagesize",
  12364. "in": "query"
  12365. },
  12366. {
  12367. "type": "integer",
  12368. "description": "仓单贸易市场id",
  12369. "name": "marketid",
  12370. "in": "query"
  12371. },
  12372. {
  12373. "type": "integer",
  12374. "description": "价格方式 - 1:固定价 2-浮动价",
  12375. "name": "wrpricetype",
  12376. "in": "query",
  12377. "required": true
  12378. },
  12379. {
  12380. "type": "integer",
  12381. "description": "0:仓单预售 1:仓单贸易",
  12382. "name": "haswr",
  12383. "in": "query"
  12384. },
  12385. {
  12386. "type": "integer",
  12387. "description": "仓单要素id",
  12388. "name": "wrfactortypeid",
  12389. "in": "query",
  12390. "required": true
  12391. },
  12392. {
  12393. "type": "integer",
  12394. "description": "期货商品id(浮动价方式时填)",
  12395. "name": "goodsid",
  12396. "in": "query"
  12397. },
  12398. {
  12399. "type": "integer",
  12400. "description": "买卖方向 0-买 1-卖",
  12401. "name": "buyorsell",
  12402. "in": "query",
  12403. "required": true
  12404. },
  12405. {
  12406. "type": "string",
  12407. "description": "交收月(yyyy-mm) 查仓单预售的买卖大厅时填写",
  12408. "name": "deliverymonth",
  12409. "in": "query"
  12410. }
  12411. ],
  12412. "responses": {
  12413. "200": {
  12414. "description": "OK",
  12415. "schema": {
  12416. "type": "array",
  12417. "items": {
  12418. "$ref": "#/definitions/models.WrOrderQuoteDetail"
  12419. }
  12420. }
  12421. },
  12422. "500": {
  12423. "description": "Internal Server Error",
  12424. "schema": {
  12425. "$ref": "#/definitions/app.Response"
  12426. }
  12427. }
  12428. }
  12429. }
  12430. },
  12431. "/WrTrade2/QueryOrderQuoteMyq": {
  12432. "get": {
  12433. "security": [
  12434. {
  12435. "ApiKeyAuth": []
  12436. }
  12437. ],
  12438. "produces": [
  12439. "application/json"
  12440. ],
  12441. "tags": [
  12442. "仓单贸易v2"
  12443. ],
  12444. "summary": "查询贸易圈挂牌大厅",
  12445. "parameters": [
  12446. {
  12447. "type": "integer",
  12448. "description": "页码",
  12449. "name": "page",
  12450. "in": "query"
  12451. },
  12452. {
  12453. "type": "integer",
  12454. "description": "每页条数",
  12455. "name": "pagesize",
  12456. "in": "query"
  12457. },
  12458. {
  12459. "type": "integer",
  12460. "description": "用户id",
  12461. "name": "userid",
  12462. "in": "query",
  12463. "required": true
  12464. },
  12465. {
  12466. "type": "integer",
  12467. "description": "仓单贸易市场id",
  12468. "name": "marketid",
  12469. "in": "query"
  12470. },
  12471. {
  12472. "type": "integer",
  12473. "description": "0:仓单预售 1:仓单贸易",
  12474. "name": "haswr",
  12475. "in": "query"
  12476. },
  12477. {
  12478. "type": "integer",
  12479. "description": "买卖方向 0-买 1-卖",
  12480. "name": "buyorsell",
  12481. "in": "query",
  12482. "required": true
  12483. },
  12484. {
  12485. "type": "integer",
  12486. "description": "品种id",
  12487. "name": "deliverygoodsid",
  12488. "in": "query"
  12489. },
  12490. {
  12491. "type": "integer",
  12492. "description": "品类id",
  12493. "name": "wrstandardid",
  12494. "in": "query"
  12495. },
  12496. {
  12497. "type": "string",
  12498. "description": "交收月(yyyy-mm) 仓单预售填写",
  12499. "name": "deliverymonth",
  12500. "in": "query"
  12501. },
  12502. {
  12503. "type": "string",
  12504. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  12505. "name": "dgitemname",
  12506. "in": "query"
  12507. }
  12508. ],
  12509. "responses": {
  12510. "200": {
  12511. "description": "OK",
  12512. "schema": {
  12513. "type": "array",
  12514. "items": {
  12515. "$ref": "#/definitions/models.WrQuoteOrderMyq"
  12516. }
  12517. }
  12518. },
  12519. "500": {
  12520. "description": "Internal Server Error",
  12521. "schema": {
  12522. "$ref": "#/definitions/app.Response"
  12523. }
  12524. }
  12525. }
  12526. }
  12527. },
  12528. "/WrTrade2/QueryPerformancePlan": {
  12529. "get": {
  12530. "security": [
  12531. {
  12532. "ApiKeyAuth": []
  12533. }
  12534. ],
  12535. "produces": [
  12536. "application/json"
  12537. ],
  12538. "tags": [
  12539. "仓单贸易v2"
  12540. ],
  12541. "summary": "查询履约信息",
  12542. "parameters": [
  12543. {
  12544. "type": "integer",
  12545. "description": "用户id",
  12546. "name": "userid",
  12547. "in": "query",
  12548. "required": true
  12549. },
  12550. {
  12551. "type": "integer",
  12552. "description": "买卖方向 0-买 1-卖",
  12553. "name": "buyorsell",
  12554. "in": "query",
  12555. "required": true
  12556. },
  12557. {
  12558. "type": "string",
  12559. "description": "履约状态(可多个,逗号隔开) 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭",
  12560. "name": "status",
  12561. "in": "query"
  12562. }
  12563. ],
  12564. "responses": {
  12565. "200": {
  12566. "description": "OK",
  12567. "schema": {
  12568. "type": "array",
  12569. "items": {
  12570. "$ref": "#/definitions/models.WrPerformancePlan"
  12571. }
  12572. }
  12573. },
  12574. "500": {
  12575. "description": "Internal Server Error",
  12576. "schema": {
  12577. "$ref": "#/definitions/app.Response"
  12578. }
  12579. }
  12580. }
  12581. }
  12582. },
  12583. "/WrTrade2/QueryPermancePlanTmp": {
  12584. "get": {
  12585. "security": [
  12586. {
  12587. "ApiKeyAuth": []
  12588. }
  12589. ],
  12590. "description": "返回指定用户的模板和公共模板(用户id为空)\n注意:天津麦顿客户 填写marketid参数,其它参数不用填;其它客户不用填marketid字段",
  12591. "produces": [
  12592. "application/json"
  12593. ],
  12594. "tags": [
  12595. "仓单贸易v2"
  12596. ],
  12597. "summary": "查询履约模板",
  12598. "parameters": [
  12599. {
  12600. "type": "integer",
  12601. "description": "用户id",
  12602. "name": "userid",
  12603. "in": "query"
  12604. },
  12605. {
  12606. "type": "string",
  12607. "description": "模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式",
  12608. "name": "tmptype",
  12609. "in": "query"
  12610. },
  12611. {
  12612. "type": "integer",
  12613. "description": "是否包含公共模板(用户id为空的) 1-包含",
  12614. "name": "includepub",
  12615. "in": "query"
  12616. },
  12617. {
  12618. "type": "integer",
  12619. "description": "市场id(天津麦顿指定此参数,其它不用)",
  12620. "name": "marketid",
  12621. "in": "query"
  12622. }
  12623. ],
  12624. "responses": {
  12625. "200": {
  12626. "description": "OK",
  12627. "schema": {
  12628. "type": "array",
  12629. "items": {
  12630. "$ref": "#/definitions/models.WrPerformanceTemplateEx"
  12631. }
  12632. }
  12633. },
  12634. "500": {
  12635. "description": "Internal Server Error",
  12636. "schema": {
  12637. "$ref": "#/definitions/app.Response"
  12638. }
  12639. }
  12640. }
  12641. }
  12642. },
  12643. "/WrTrade2/QuerySiteColumnDetail": {
  12644. "get": {
  12645. "security": [
  12646. {
  12647. "ApiKeyAuth": []
  12648. }
  12649. ],
  12650. "produces": [
  12651. "application/json"
  12652. ],
  12653. "tags": [
  12654. "仓单贸易v2"
  12655. ],
  12656. "summary": "查询资讯",
  12657. "parameters": [
  12658. {
  12659. "type": "integer",
  12660. "description": "页码",
  12661. "name": "page",
  12662. "in": "query"
  12663. },
  12664. {
  12665. "type": "integer",
  12666. "description": "每页条数",
  12667. "name": "pagesize",
  12668. "in": "query"
  12669. }
  12670. ],
  12671. "responses": {
  12672. "200": {
  12673. "description": "OK",
  12674. "schema": {
  12675. "type": "array",
  12676. "items": {
  12677. "$ref": "#/definitions/models.WrSiteColumnDetail"
  12678. }
  12679. }
  12680. },
  12681. "500": {
  12682. "description": "Internal Server Error",
  12683. "schema": {
  12684. "$ref": "#/definitions/app.Response"
  12685. }
  12686. }
  12687. }
  12688. }
  12689. },
  12690. "/WrTrade2/QuerySpotGroupTradeSum": {
  12691. "get": {
  12692. "security": [
  12693. {
  12694. "ApiKeyAuth": []
  12695. }
  12696. ],
  12697. "produces": [
  12698. "application/json"
  12699. ],
  12700. "tags": [
  12701. "仓单贸易v2"
  12702. ],
  12703. "summary": "查询指数",
  12704. "responses": {
  12705. "200": {
  12706. "description": "OK",
  12707. "schema": {
  12708. "type": "array",
  12709. "items": {
  12710. "$ref": "#/definitions/models.WrSpotGroupTradeSumEx"
  12711. }
  12712. }
  12713. },
  12714. "500": {
  12715. "description": "Internal Server Error",
  12716. "schema": {
  12717. "$ref": "#/definitions/app.Response"
  12718. }
  12719. }
  12720. }
  12721. }
  12722. },
  12723. "/WrTrade2/QuerySpotGroupTradeSumDetail": {
  12724. "get": {
  12725. "security": [
  12726. {
  12727. "ApiKeyAuth": []
  12728. }
  12729. ],
  12730. "description": "查询的结果将会按日期 从小到大 排序",
  12731. "produces": [
  12732. "application/json"
  12733. ],
  12734. "tags": [
  12735. "仓单贸易v2"
  12736. ],
  12737. "summary": "查询指数详细(价格走势图)",
  12738. "parameters": [
  12739. {
  12740. "type": "integer",
  12741. "description": "现货商品id",
  12742. "name": "deliverygoodsid",
  12743. "in": "query",
  12744. "required": true
  12745. },
  12746. {
  12747. "type": "integer",
  12748. "description": "查询最新多少条记录(如不填写此项, 默认查30条)",
  12749. "name": "lastnum",
  12750. "in": "query"
  12751. }
  12752. ],
  12753. "responses": {
  12754. "200": {
  12755. "description": "OK",
  12756. "schema": {
  12757. "type": "array",
  12758. "items": {
  12759. "$ref": "#/definitions/models.WrSpotGroupTradeSumDetail"
  12760. }
  12761. }
  12762. },
  12763. "500": {
  12764. "description": "Internal Server Error",
  12765. "schema": {
  12766. "$ref": "#/definitions/app.Response"
  12767. }
  12768. }
  12769. }
  12770. }
  12771. },
  12772. "/WrTrade2/QueryWrAverageTradePrice": {
  12773. "get": {
  12774. "security": [
  12775. {
  12776. "ApiKeyAuth": []
  12777. }
  12778. ],
  12779. "produces": [
  12780. "application/json"
  12781. ],
  12782. "tags": [
  12783. "仓单贸易v2"
  12784. ],
  12785. "summary": "查询成交价(历史走势)",
  12786. "parameters": [
  12787. {
  12788. "type": "integer",
  12789. "description": "页码",
  12790. "name": "page",
  12791. "in": "query"
  12792. },
  12793. {
  12794. "type": "integer",
  12795. "description": "每页条数",
  12796. "name": "pagesize",
  12797. "in": "query"
  12798. },
  12799. {
  12800. "type": "integer",
  12801. "description": "0:仓单预售 1:仓单贸易",
  12802. "name": "haswr",
  12803. "in": "query",
  12804. "required": true
  12805. },
  12806. {
  12807. "type": "integer",
  12808. "description": "仓单要素id",
  12809. "name": "wrfactortypeid",
  12810. "in": "query",
  12811. "required": true
  12812. }
  12813. ],
  12814. "responses": {
  12815. "200": {
  12816. "description": "OK",
  12817. "schema": {
  12818. "type": "array",
  12819. "items": {
  12820. "$ref": "#/definitions/models.WrAverageTradePrice"
  12821. }
  12822. }
  12823. },
  12824. "500": {
  12825. "description": "Internal Server Error",
  12826. "schema": {
  12827. "$ref": "#/definitions/app.Response"
  12828. }
  12829. }
  12830. }
  12831. }
  12832. },
  12833. "/WrTrade2/QueryWrBsGoodsInfo": {
  12834. "get": {
  12835. "security": [
  12836. {
  12837. "ApiKeyAuth": []
  12838. }
  12839. ],
  12840. "description": "合约交易/买卖大厅/详情",
  12841. "produces": [
  12842. "application/json"
  12843. ],
  12844. "tags": [
  12845. "仓单贸易v2"
  12846. ],
  12847. "summary": "查询合约交易买卖大厅详情",
  12848. "parameters": [
  12849. {
  12850. "type": "integer",
  12851. "description": "商品id",
  12852. "name": "goodsid",
  12853. "in": "query",
  12854. "required": true
  12855. }
  12856. ],
  12857. "responses": {
  12858. "200": {
  12859. "description": "OK",
  12860. "schema": {
  12861. "type": "array",
  12862. "items": {
  12863. "$ref": "#/definitions/models.WrBsGoodsInfo"
  12864. }
  12865. }
  12866. },
  12867. "500": {
  12868. "description": "Internal Server Error",
  12869. "schema": {
  12870. "$ref": "#/definitions/app.Response"
  12871. }
  12872. }
  12873. }
  12874. }
  12875. },
  12876. "/WrTrade2/QueryWrBuybackDetail": {
  12877. "get": {
  12878. "security": [
  12879. {
  12880. "ApiKeyAuth": []
  12881. }
  12882. ],
  12883. "produces": [
  12884. "application/json"
  12885. ],
  12886. "tags": [
  12887. "仓单贸易v2"
  12888. ],
  12889. "summary": "查询仓单回购明细",
  12890. "parameters": [
  12891. {
  12892. "type": "integer",
  12893. "description": "融资合同id",
  12894. "name": "scfcontractid",
  12895. "in": "query"
  12896. }
  12897. ],
  12898. "responses": {
  12899. "200": {
  12900. "description": "OK",
  12901. "schema": {
  12902. "type": "array",
  12903. "items": {
  12904. "$ref": "#/definitions/models.WrBuybackDetail"
  12905. }
  12906. }
  12907. },
  12908. "500": {
  12909. "description": "Internal Server Error",
  12910. "schema": {
  12911. "$ref": "#/definitions/app.Response"
  12912. }
  12913. }
  12914. }
  12915. }
  12916. },
  12917. "/WrTrade2/QueryWrDeliveryAvalidHoldLB": {
  12918. "get": {
  12919. "security": [
  12920. {
  12921. "ApiKeyAuth": []
  12922. }
  12923. ],
  12924. "produces": [
  12925. "application/json"
  12926. ],
  12927. "tags": [
  12928. "仓单贸易v2"
  12929. ],
  12930. "summary": "查询合约交收可点选仓单",
  12931. "parameters": [
  12932. {
  12933. "type": "integer",
  12934. "description": "资金账号",
  12935. "name": "accountid",
  12936. "in": "query",
  12937. "required": true
  12938. },
  12939. {
  12940. "type": "integer",
  12941. "description": "商品id",
  12942. "name": "goodsid",
  12943. "in": "query",
  12944. "required": true
  12945. }
  12946. ],
  12947. "responses": {
  12948. "200": {
  12949. "description": "OK",
  12950. "schema": {
  12951. "type": "array",
  12952. "items": {
  12953. "$ref": "#/definitions/models.WrDeliveryAvalidHoldLB"
  12954. }
  12955. }
  12956. },
  12957. "500": {
  12958. "description": "Internal Server Error",
  12959. "schema": {
  12960. "$ref": "#/definitions/app.Response"
  12961. }
  12962. }
  12963. }
  12964. }
  12965. },
  12966. "/WrTrade2/QueryWrDeliveryDetail": {
  12967. "get": {
  12968. "security": [
  12969. {
  12970. "ApiKeyAuth": []
  12971. }
  12972. ],
  12973. "produces": [
  12974. "application/json"
  12975. ],
  12976. "tags": [
  12977. "仓单贸易v2"
  12978. ],
  12979. "summary": "查询交收",
  12980. "parameters": [
  12981. {
  12982. "type": "integer",
  12983. "description": "用户id",
  12984. "name": "userid",
  12985. "in": "query",
  12986. "required": true
  12987. },
  12988. {
  12989. "type": "integer",
  12990. "description": "资金账号id",
  12991. "name": "accountid",
  12992. "in": "query"
  12993. },
  12994. {
  12995. "type": "string",
  12996. "description": "开始交易日(yyyymmdd)",
  12997. "name": "begindate",
  12998. "in": "query"
  12999. },
  13000. {
  13001. "type": "string",
  13002. "description": "结束交易日(yyyymmdd)",
  13003. "name": "enddate",
  13004. "in": "query"
  13005. }
  13006. ],
  13007. "responses": {
  13008. "200": {
  13009. "description": "OK",
  13010. "schema": {
  13011. "type": "array",
  13012. "items": {
  13013. "$ref": "#/definitions/models.WrDeliveryDetail"
  13014. }
  13015. }
  13016. },
  13017. "500": {
  13018. "description": "Internal Server Error",
  13019. "schema": {
  13020. "$ref": "#/definitions/app.Response"
  13021. }
  13022. }
  13023. }
  13024. }
  13025. },
  13026. "/WrTrade2/QueryWrFactorTypeInfo": {
  13027. "get": {
  13028. "security": [
  13029. {
  13030. "ApiKeyAuth": []
  13031. }
  13032. ],
  13033. "produces": [
  13034. "application/json"
  13035. ],
  13036. "tags": [
  13037. "仓单贸易v2"
  13038. ],
  13039. "summary": "查询仓单要素详细信息",
  13040. "parameters": [
  13041. {
  13042. "type": "integer",
  13043. "description": "仓单要素id",
  13044. "name": "wrfactortypeid",
  13045. "in": "query",
  13046. "required": true
  13047. }
  13048. ],
  13049. "responses": {
  13050. "200": {
  13051. "description": "OK",
  13052. "schema": {
  13053. "type": "array",
  13054. "items": {
  13055. "$ref": "#/definitions/models.WrFactorTypeInfo"
  13056. }
  13057. }
  13058. },
  13059. "500": {
  13060. "description": "Internal Server Error",
  13061. "schema": {
  13062. "$ref": "#/definitions/app.Response"
  13063. }
  13064. }
  13065. }
  13066. }
  13067. },
  13068. "/WrTrade2/QueryWrFactorTypeInfoEx": {
  13069. "get": {
  13070. "security": [
  13071. {
  13072. "ApiKeyAuth": []
  13073. }
  13074. ],
  13075. "produces": [
  13076. "application/json"
  13077. ],
  13078. "tags": [
  13079. "仓单贸易v2"
  13080. ],
  13081. "summary": "查询仓单要素详细信息列表项",
  13082. "parameters": [
  13083. {
  13084. "type": "integer",
  13085. "description": "仓单要素id",
  13086. "name": "wrfactortypeid",
  13087. "in": "query",
  13088. "required": true
  13089. }
  13090. ],
  13091. "responses": {
  13092. "200": {
  13093. "description": "OK",
  13094. "schema": {
  13095. "type": "array",
  13096. "items": {
  13097. "$ref": "#/definitions/models.WrTypeItem"
  13098. }
  13099. }
  13100. },
  13101. "500": {
  13102. "description": "Internal Server Error",
  13103. "schema": {
  13104. "$ref": "#/definitions/app.Response"
  13105. }
  13106. }
  13107. }
  13108. }
  13109. },
  13110. "/WrTrade2/QueryWrFinanceBuyApply": {
  13111. "get": {
  13112. "security": [
  13113. {
  13114. "ApiKeyAuth": []
  13115. }
  13116. ],
  13117. "description": "页面 融资信息+ / 申请单",
  13118. "produces": [
  13119. "application/json"
  13120. ],
  13121. "tags": [
  13122. "仓单贸易v2"
  13123. ],
  13124. "summary": "查询融资购买申请",
  13125. "parameters": [
  13126. {
  13127. "type": "integer",
  13128. "description": "用户id",
  13129. "name": "userid",
  13130. "in": "query",
  13131. "required": true
  13132. }
  13133. ],
  13134. "responses": {
  13135. "200": {
  13136. "description": "OK",
  13137. "schema": {
  13138. "type": "array",
  13139. "items": {
  13140. "$ref": "#/definitions/models.WrFinanceBuyApply"
  13141. }
  13142. }
  13143. },
  13144. "500": {
  13145. "description": "Internal Server Error",
  13146. "schema": {
  13147. "$ref": "#/definitions/app.Response"
  13148. }
  13149. }
  13150. }
  13151. }
  13152. },
  13153. "/WrTrade2/QueryWrFriendApply": {
  13154. "get": {
  13155. "security": [
  13156. {
  13157. "ApiKeyAuth": []
  13158. }
  13159. ],
  13160. "produces": [
  13161. "application/json"
  13162. ],
  13163. "tags": [
  13164. "仓单贸易v2"
  13165. ],
  13166. "summary": "查询好友申请记录",
  13167. "parameters": [
  13168. {
  13169. "type": "integer",
  13170. "description": "用户id",
  13171. "name": "userid",
  13172. "in": "query",
  13173. "required": true
  13174. }
  13175. ],
  13176. "responses": {
  13177. "200": {
  13178. "description": "OK",
  13179. "schema": {
  13180. "type": "array",
  13181. "items": {
  13182. "$ref": "#/definitions/models.WrFriendApply"
  13183. }
  13184. }
  13185. },
  13186. "500": {
  13187. "description": "Internal Server Error",
  13188. "schema": {
  13189. "$ref": "#/definitions/app.Response"
  13190. }
  13191. }
  13192. }
  13193. }
  13194. },
  13195. "/WrTrade2/QueryWrGoodsInfo": {
  13196. "get": {
  13197. "security": [
  13198. {
  13199. "ApiKeyAuth": []
  13200. }
  13201. ],
  13202. "produces": [
  13203. "application/json"
  13204. ],
  13205. "tags": [
  13206. "仓单贸易v2"
  13207. ],
  13208. "summary": "查询仓单商品信息",
  13209. "parameters": [
  13210. {
  13211. "type": "integer",
  13212. "description": "仓单贸易市场id",
  13213. "name": "marketid",
  13214. "in": "query"
  13215. },
  13216. {
  13217. "type": "integer",
  13218. "description": "0:仓单预售 1:仓单贸易",
  13219. "name": "haswr",
  13220. "in": "query",
  13221. "required": true
  13222. },
  13223. {
  13224. "type": "integer",
  13225. "description": "仓单要素id",
  13226. "name": "wrfactortypeid",
  13227. "in": "query",
  13228. "required": true
  13229. },
  13230. {
  13231. "type": "integer",
  13232. "description": "履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)",
  13233. "name": "tmplateid",
  13234. "in": "query"
  13235. }
  13236. ],
  13237. "responses": {
  13238. "200": {
  13239. "description": "OK",
  13240. "schema": {
  13241. "type": "array",
  13242. "items": {
  13243. "$ref": "#/definitions/models.WrGoodsInfo"
  13244. }
  13245. }
  13246. },
  13247. "500": {
  13248. "description": "Internal Server Error",
  13249. "schema": {
  13250. "$ref": "#/definitions/app.Response"
  13251. }
  13252. }
  13253. }
  13254. }
  13255. },
  13256. "/WrTrade2/QueryWrMarketTradeConfig": {
  13257. "get": {
  13258. "security": [
  13259. {
  13260. "ApiKeyAuth": []
  13261. }
  13262. ],
  13263. "produces": [
  13264. "application/json"
  13265. ],
  13266. "tags": [
  13267. "仓单贸易v2"
  13268. ],
  13269. "summary": "查询市场交易参数配置",
  13270. "parameters": [
  13271. {
  13272. "type": "integer",
  13273. "description": "市场id",
  13274. "name": "marketid",
  13275. "in": "query"
  13276. }
  13277. ],
  13278. "responses": {
  13279. "200": {
  13280. "description": "OK",
  13281. "schema": {
  13282. "type": "array",
  13283. "items": {
  13284. "$ref": "#/definitions/models.WrMarketTradeConfig"
  13285. }
  13286. }
  13287. },
  13288. "500": {
  13289. "description": "Internal Server Error",
  13290. "schema": {
  13291. "$ref": "#/definitions/app.Response"
  13292. }
  13293. }
  13294. }
  13295. }
  13296. },
  13297. "/WrTrade2/QueryWrOrderDetail": {
  13298. "get": {
  13299. "security": [
  13300. {
  13301. "ApiKeyAuth": []
  13302. }
  13303. ],
  13304. "description": "页面 现货仓单 | 预售仓单 -\u003e 挂单",
  13305. "produces": [
  13306. "application/json"
  13307. ],
  13308. "tags": [
  13309. "仓单贸易v2"
  13310. ],
  13311. "summary": "查询仓单委托单(挂单)",
  13312. "parameters": [
  13313. {
  13314. "type": "integer",
  13315. "description": "页码",
  13316. "name": "page",
  13317. "in": "query"
  13318. },
  13319. {
  13320. "type": "integer",
  13321. "description": "每页条数",
  13322. "name": "pagesize",
  13323. "in": "query"
  13324. },
  13325. {
  13326. "type": "integer",
  13327. "description": "用户id",
  13328. "name": "userid",
  13329. "in": "query",
  13330. "required": true
  13331. },
  13332. {
  13333. "type": "integer",
  13334. "description": "仓单贸易市场id",
  13335. "name": "marketid",
  13336. "in": "query"
  13337. },
  13338. {
  13339. "type": "integer",
  13340. "description": "0:仓单预售 1:仓单贸易",
  13341. "name": "haswr",
  13342. "in": "query",
  13343. "required": true
  13344. },
  13345. {
  13346. "type": "string",
  13347. "description": "开始交易日(yyyymmdd)",
  13348. "name": "begindate",
  13349. "in": "query"
  13350. },
  13351. {
  13352. "type": "string",
  13353. "description": "结束交易日(yyyymmdd)",
  13354. "name": "enddate",
  13355. "in": "query"
  13356. }
  13357. ],
  13358. "responses": {
  13359. "200": {
  13360. "description": "OK",
  13361. "schema": {
  13362. "type": "array",
  13363. "items": {
  13364. "$ref": "#/definitions/models.WrOrderDetail"
  13365. }
  13366. }
  13367. },
  13368. "500": {
  13369. "description": "Internal Server Error",
  13370. "schema": {
  13371. "$ref": "#/definitions/app.Response"
  13372. }
  13373. }
  13374. }
  13375. }
  13376. },
  13377. "/WrTrade2/QueryWrOutInApply": {
  13378. "get": {
  13379. "security": [
  13380. {
  13381. "ApiKeyAuth": []
  13382. }
  13383. ],
  13384. "produces": [
  13385. "application/json"
  13386. ],
  13387. "tags": [
  13388. "仓单贸易v2"
  13389. ],
  13390. "summary": "查询提货申请",
  13391. "parameters": [
  13392. {
  13393. "type": "integer",
  13394. "description": "用户id",
  13395. "name": "userid",
  13396. "in": "query",
  13397. "required": true
  13398. },
  13399. {
  13400. "type": "string",
  13401. "description": "开始交易日(yyyymmdd)",
  13402. "name": "begindate",
  13403. "in": "query"
  13404. },
  13405. {
  13406. "type": "string",
  13407. "description": "结束交易日(yyyymmdd)",
  13408. "name": "enddate",
  13409. "in": "query"
  13410. }
  13411. ],
  13412. "responses": {
  13413. "200": {
  13414. "description": "OK",
  13415. "schema": {
  13416. "type": "array",
  13417. "items": {
  13418. "$ref": "#/definitions/models.WrOutInApply"
  13419. }
  13420. }
  13421. },
  13422. "500": {
  13423. "description": "Internal Server Error",
  13424. "schema": {
  13425. "$ref": "#/definitions/app.Response"
  13426. }
  13427. }
  13428. }
  13429. }
  13430. },
  13431. "/WrTrade2/QueryWrPerformancePlanStep": {
  13432. "get": {
  13433. "security": [
  13434. {
  13435. "ApiKeyAuth": []
  13436. }
  13437. ],
  13438. "produces": [
  13439. "application/json"
  13440. ],
  13441. "tags": [
  13442. "仓单贸易v2"
  13443. ],
  13444. "summary": "查询履约信息详情",
  13445. "parameters": [
  13446. {
  13447. "type": "integer",
  13448. "description": "履约计划id(performanceplanid)",
  13449. "name": "planid",
  13450. "in": "query",
  13451. "required": true
  13452. },
  13453. {
  13454. "type": "integer",
  13455. "description": "当前步骤id",
  13456. "name": "curstepid",
  13457. "in": "query"
  13458. }
  13459. ],
  13460. "responses": {
  13461. "200": {
  13462. "description": "OK",
  13463. "schema": {
  13464. "type": "array",
  13465. "items": {
  13466. "$ref": "#/definitions/models.WrPerformancePlanStep"
  13467. }
  13468. }
  13469. },
  13470. "500": {
  13471. "description": "Internal Server Error",
  13472. "schema": {
  13473. "$ref": "#/definitions/app.Response"
  13474. }
  13475. }
  13476. }
  13477. }
  13478. },
  13479. "/WrTrade2/QueryWrPerformanceStepType": {
  13480. "get": {
  13481. "security": [
  13482. {
  13483. "ApiKeyAuth": []
  13484. }
  13485. ],
  13486. "produces": [
  13487. "application/json"
  13488. ],
  13489. "tags": [
  13490. "仓单贸易v2"
  13491. ],
  13492. "summary": "查询履约步骤枚举",
  13493. "responses": {
  13494. "200": {
  13495. "description": "OK",
  13496. "schema": {
  13497. "type": "array",
  13498. "items": {
  13499. "$ref": "#/definitions/models.WrPerformanceStepType"
  13500. }
  13501. }
  13502. },
  13503. "500": {
  13504. "description": "Internal Server Error",
  13505. "schema": {
  13506. "$ref": "#/definitions/app.Response"
  13507. }
  13508. }
  13509. }
  13510. }
  13511. },
  13512. "/WrTrade2/QueryWrPosition": {
  13513. "get": {
  13514. "security": [
  13515. {
  13516. "ApiKeyAuth": []
  13517. }
  13518. ],
  13519. "description": "页面 现货仓单-\u003e现货汇总/库存汇总; 预售仓单-\u003e订单汇总",
  13520. "produces": [
  13521. "application/json"
  13522. ],
  13523. "tags": [
  13524. "仓单贸易v2"
  13525. ],
  13526. "summary": "查询现货(预售)仓单持仓",
  13527. "parameters": [
  13528. {
  13529. "type": "integer",
  13530. "description": "用户id",
  13531. "name": "userid",
  13532. "in": "query",
  13533. "required": true
  13534. },
  13535. {
  13536. "type": "integer",
  13537. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总)",
  13538. "name": "querytype",
  13539. "in": "query",
  13540. "required": true
  13541. },
  13542. {
  13543. "type": "integer",
  13544. "description": "0:仓单预售 1:仓单贸易",
  13545. "name": "haswr",
  13546. "in": "query",
  13547. "required": true
  13548. },
  13549. {
  13550. "type": "string",
  13551. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  13552. "name": "dgitemname",
  13553. "in": "query"
  13554. },
  13555. {
  13556. "type": "integer",
  13557. "description": "仓库id(筛选条件)",
  13558. "name": "warehouseid",
  13559. "in": "query"
  13560. },
  13561. {
  13562. "type": "integer",
  13563. "description": "品种id",
  13564. "name": "deliverygoodsid",
  13565. "in": "query"
  13566. },
  13567. {
  13568. "type": "integer",
  13569. "description": "品类id",
  13570. "name": "wrstandardid",
  13571. "in": "query"
  13572. }
  13573. ],
  13574. "responses": {
  13575. "200": {
  13576. "description": "OK",
  13577. "schema": {
  13578. "type": "array",
  13579. "items": {
  13580. "$ref": "#/definitions/models.WrPosition"
  13581. }
  13582. }
  13583. },
  13584. "500": {
  13585. "description": "Internal Server Error",
  13586. "schema": {
  13587. "$ref": "#/definitions/app.Response"
  13588. }
  13589. }
  13590. }
  13591. }
  13592. },
  13593. "/WrTrade2/QueryWrScfContract": {
  13594. "get": {
  13595. "security": [
  13596. {
  13597. "ApiKeyAuth": []
  13598. }
  13599. ],
  13600. "produces": [
  13601. "application/json"
  13602. ],
  13603. "tags": [
  13604. "仓单贸易v2"
  13605. ],
  13606. "summary": "查询仓单贸易融资合同",
  13607. "parameters": [
  13608. {
  13609. "type": "integer",
  13610. "description": "用户id",
  13611. "name": "userid",
  13612. "in": "query",
  13613. "required": true
  13614. },
  13615. {
  13616. "type": "integer",
  13617. "description": "融资合同id",
  13618. "name": "scfcontractid",
  13619. "in": "query"
  13620. }
  13621. ],
  13622. "responses": {
  13623. "200": {
  13624. "description": "OK",
  13625. "schema": {
  13626. "type": "array",
  13627. "items": {
  13628. "$ref": "#/definitions/models.WrScfContract"
  13629. }
  13630. }
  13631. },
  13632. "500": {
  13633. "description": "Internal Server Error",
  13634. "schema": {
  13635. "$ref": "#/definitions/app.Response"
  13636. }
  13637. }
  13638. }
  13639. }
  13640. },
  13641. "/WrTrade2/QueryWrScfContractInterest": {
  13642. "get": {
  13643. "security": [
  13644. {
  13645. "ApiKeyAuth": []
  13646. }
  13647. ],
  13648. "produces": [
  13649. "application/json"
  13650. ],
  13651. "tags": [
  13652. "仓单贸易v2"
  13653. ],
  13654. "summary": "查询融资合同费用明细",
  13655. "parameters": [
  13656. {
  13657. "type": "integer",
  13658. "description": "融资合同id",
  13659. "name": "scfcontractid",
  13660. "in": "query"
  13661. }
  13662. ],
  13663. "responses": {
  13664. "200": {
  13665. "description": "OK",
  13666. "schema": {
  13667. "type": "array",
  13668. "items": {
  13669. "$ref": "#/definitions/models.WrScfContractInterest"
  13670. }
  13671. }
  13672. },
  13673. "500": {
  13674. "description": "Internal Server Error",
  13675. "schema": {
  13676. "$ref": "#/definitions/app.Response"
  13677. }
  13678. }
  13679. }
  13680. }
  13681. },
  13682. "/WrTrade2/QueryWrSpecialMatchOrder": {
  13683. "get": {
  13684. "security": [
  13685. {
  13686. "ApiKeyAuth": []
  13687. }
  13688. ],
  13689. "description": "页面 现货仓单 | 预售仓单 -\u003e 指定成交",
  13690. "produces": [
  13691. "application/json"
  13692. ],
  13693. "tags": [
  13694. "仓单贸易v2"
  13695. ],
  13696. "summary": "查询指定成交",
  13697. "parameters": [
  13698. {
  13699. "type": "integer",
  13700. "description": "页码",
  13701. "name": "page",
  13702. "in": "query"
  13703. },
  13704. {
  13705. "type": "integer",
  13706. "description": "每页条数",
  13707. "name": "pagesize",
  13708. "in": "query"
  13709. },
  13710. {
  13711. "type": "integer",
  13712. "description": "用户id",
  13713. "name": "userid",
  13714. "in": "query",
  13715. "required": true
  13716. },
  13717. {
  13718. "type": "integer",
  13719. "description": "仓单贸易市场id",
  13720. "name": "marketid",
  13721. "in": "query"
  13722. },
  13723. {
  13724. "type": "integer",
  13725. "description": "0:仓单预售 1:仓单贸易",
  13726. "name": "haswr",
  13727. "in": "query",
  13728. "required": true
  13729. },
  13730. {
  13731. "type": "integer",
  13732. "description": "1:指定好友(贸易圈) 2:指定对手 - [挂牌]",
  13733. "name": "isspecified",
  13734. "in": "query"
  13735. }
  13736. ],
  13737. "responses": {
  13738. "200": {
  13739. "description": "OK",
  13740. "schema": {
  13741. "type": "array",
  13742. "items": {
  13743. "$ref": "#/definitions/models.WrSpecialMatchOrder"
  13744. }
  13745. }
  13746. },
  13747. "500": {
  13748. "description": "Internal Server Error",
  13749. "schema": {
  13750. "$ref": "#/definitions/app.Response"
  13751. }
  13752. }
  13753. }
  13754. }
  13755. },
  13756. "/WrTrade2/QueryWrStandardFactoryItem": {
  13757. "get": {
  13758. "security": [
  13759. {
  13760. "ApiKeyAuth": []
  13761. }
  13762. ],
  13763. "produces": [
  13764. "application/json"
  13765. ],
  13766. "tags": [
  13767. "仓单贸易v2"
  13768. ],
  13769. "summary": "查询品类要素定义项",
  13770. "parameters": [
  13771. {
  13772. "type": "integer",
  13773. "description": "品类id",
  13774. "name": "wrstandardid",
  13775. "in": "query",
  13776. "required": true
  13777. }
  13778. ],
  13779. "responses": {
  13780. "200": {
  13781. "description": "OK",
  13782. "schema": {
  13783. "type": "array",
  13784. "items": {
  13785. "$ref": "#/definitions/models.WrStandardFactoryItemEx"
  13786. }
  13787. }
  13788. },
  13789. "500": {
  13790. "description": "Internal Server Error",
  13791. "schema": {
  13792. "$ref": "#/definitions/app.Response"
  13793. }
  13794. }
  13795. }
  13796. }
  13797. },
  13798. "/WrTrade2/QueryWrTradeBargainApply": {
  13799. "get": {
  13800. "security": [
  13801. {
  13802. "ApiKeyAuth": []
  13803. }
  13804. ],
  13805. "description": "1.页面 挂单/议价单, 只需传单号就行 \u003cbr\u003e2.页面 议价-\u003e我的议价 参数 userid=登录userid \u003cbr\u003e3.页面 议价-\u003e对方议价 填写matchuserid=登录用户id",
  13806. "produces": [
  13807. "application/json"
  13808. ],
  13809. "tags": [
  13810. "仓单贸易v2"
  13811. ],
  13812. "summary": "查询议价单",
  13813. "parameters": [
  13814. {
  13815. "type": "integer",
  13816. "description": "议价人id(摘牌方)",
  13817. "name": "userid",
  13818. "in": "query"
  13819. },
  13820. {
  13821. "type": "integer",
  13822. "description": "挂牌方id(查对方议价时,填写此项)",
  13823. "name": "matchuserid",
  13824. "in": "query"
  13825. },
  13826. {
  13827. "type": "integer",
  13828. "description": "关联委托单id",
  13829. "name": "wrtradeorderid",
  13830. "in": "query"
  13831. },
  13832. {
  13833. "type": "integer",
  13834. "description": "0:仓单预售 1:仓单贸易",
  13835. "name": "haswr",
  13836. "in": "query",
  13837. "required": true
  13838. },
  13839. {
  13840. "type": "string",
  13841. "description": "开始交易日(yyyymmdd)",
  13842. "name": "begindate",
  13843. "in": "query"
  13844. },
  13845. {
  13846. "type": "string",
  13847. "description": "结束交易日(yyyymmdd)",
  13848. "name": "enddate",
  13849. "in": "query"
  13850. }
  13851. ],
  13852. "responses": {
  13853. "200": {
  13854. "description": "OK",
  13855. "schema": {
  13856. "type": "array",
  13857. "items": {
  13858. "$ref": "#/definitions/models.WRTradeBargainApply"
  13859. }
  13860. }
  13861. },
  13862. "500": {
  13863. "description": "Internal Server Error",
  13864. "schema": {
  13865. "$ref": "#/definitions/app.Response"
  13866. }
  13867. }
  13868. }
  13869. }
  13870. },
  13871. "/WrTrade2/QueryWrTradeDetail": {
  13872. "get": {
  13873. "security": [
  13874. {
  13875. "ApiKeyAuth": []
  13876. }
  13877. ],
  13878. "produces": [
  13879. "application/json"
  13880. ],
  13881. "tags": [
  13882. "仓单贸易v2"
  13883. ],
  13884. "summary": "查询仓单成交明细",
  13885. "parameters": [
  13886. {
  13887. "type": "integer",
  13888. "description": "页码",
  13889. "name": "page",
  13890. "in": "query"
  13891. },
  13892. {
  13893. "type": "integer",
  13894. "description": "每页条数",
  13895. "name": "pagesize",
  13896. "in": "query"
  13897. },
  13898. {
  13899. "type": "integer",
  13900. "description": "用户id",
  13901. "name": "userid",
  13902. "in": "query",
  13903. "required": true
  13904. },
  13905. {
  13906. "type": "integer",
  13907. "description": "仓单贸易市场id",
  13908. "name": "marketid",
  13909. "in": "query"
  13910. },
  13911. {
  13912. "type": "integer",
  13913. "description": "0:仓单预售 1:仓单贸易",
  13914. "name": "haswr",
  13915. "in": "query",
  13916. "required": true
  13917. },
  13918. {
  13919. "type": "string",
  13920. "description": "开始交易日(yyyymmdd)",
  13921. "name": "begindate",
  13922. "in": "query"
  13923. },
  13924. {
  13925. "type": "string",
  13926. "description": "结束交易日(yyyymmdd)",
  13927. "name": "enddate",
  13928. "in": "query"
  13929. }
  13930. ],
  13931. "responses": {
  13932. "200": {
  13933. "description": "OK",
  13934. "schema": {
  13935. "type": "array",
  13936. "items": {
  13937. "$ref": "#/definitions/models.WrTradeDetail"
  13938. }
  13939. }
  13940. },
  13941. "500": {
  13942. "description": "Internal Server Error",
  13943. "schema": {
  13944. "$ref": "#/definitions/app.Response"
  13945. }
  13946. }
  13947. }
  13948. }
  13949. },
  13950. "/WrTrade2/QueryWrTradeOrderDetail": {
  13951. "get": {
  13952. "security": [
  13953. {
  13954. "ApiKeyAuth": []
  13955. }
  13956. ],
  13957. "produces": [
  13958. "application/json"
  13959. ],
  13960. "tags": [
  13961. "仓单贸易v2"
  13962. ],
  13963. "summary": "查询合约交易买卖大厅",
  13964. "parameters": [
  13965. {
  13966. "type": "integer",
  13967. "description": "页码",
  13968. "name": "page",
  13969. "in": "query"
  13970. },
  13971. {
  13972. "type": "integer",
  13973. "description": "每页条数",
  13974. "name": "pagesize",
  13975. "in": "query"
  13976. },
  13977. {
  13978. "type": "integer",
  13979. "description": "商品id",
  13980. "name": "goodsid",
  13981. "in": "query",
  13982. "required": true
  13983. },
  13984. {
  13985. "type": "integer",
  13986. "description": "买卖方向 0-买 1-卖",
  13987. "name": "buyorsell",
  13988. "in": "query",
  13989. "required": true
  13990. }
  13991. ],
  13992. "responses": {
  13993. "200": {
  13994. "description": "OK",
  13995. "schema": {
  13996. "type": "array",
  13997. "items": {
  13998. "$ref": "#/definitions/models.WrTradeOrderDetail"
  13999. }
  14000. }
  14001. },
  14002. "500": {
  14003. "description": "Internal Server Error",
  14004. "schema": {
  14005. "$ref": "#/definitions/app.Response"
  14006. }
  14007. }
  14008. }
  14009. }
  14010. },
  14011. "/WrTrade2/QueryWrUserFriend": {
  14012. "get": {
  14013. "security": [
  14014. {
  14015. "ApiKeyAuth": []
  14016. }
  14017. ],
  14018. "produces": [
  14019. "application/json"
  14020. ],
  14021. "tags": [
  14022. "仓单贸易v2"
  14023. ],
  14024. "summary": "查询我的朋友",
  14025. "parameters": [
  14026. {
  14027. "type": "integer",
  14028. "description": "用户id",
  14029. "name": "userid",
  14030. "in": "query",
  14031. "required": true
  14032. },
  14033. {
  14034. "type": "integer",
  14035. "description": "新朋友userid, 如果填写了此项则查找新朋友",
  14036. "name": "newuserid",
  14037. "in": "query"
  14038. }
  14039. ],
  14040. "responses": {
  14041. "200": {
  14042. "description": "OK",
  14043. "schema": {
  14044. "type": "array",
  14045. "items": {
  14046. "$ref": "#/definitions/models.WrUserFriend"
  14047. }
  14048. }
  14049. },
  14050. "500": {
  14051. "description": "Internal Server Error",
  14052. "schema": {
  14053. "$ref": "#/definitions/app.Response"
  14054. }
  14055. }
  14056. }
  14057. }
  14058. },
  14059. "/WrTrade2/QueryWrUserReceiptInfo": {
  14060. "get": {
  14061. "security": [
  14062. {
  14063. "ApiKeyAuth": []
  14064. }
  14065. ],
  14066. "produces": [
  14067. "application/json"
  14068. ],
  14069. "tags": [
  14070. "仓单贸易v2"
  14071. ],
  14072. "summary": "查询发票信息",
  14073. "parameters": [
  14074. {
  14075. "type": "integer",
  14076. "description": "用户id",
  14077. "name": "userid",
  14078. "in": "query"
  14079. },
  14080. {
  14081. "type": "integer",
  14082. "description": "发票类型 - 1:个人 2:企业",
  14083. "name": "receipttype",
  14084. "in": "query"
  14085. }
  14086. ],
  14087. "responses": {
  14088. "200": {
  14089. "description": "OK",
  14090. "schema": {
  14091. "type": "array",
  14092. "items": {
  14093. "$ref": "#/definitions/models.WrUserReceiptInfo"
  14094. }
  14095. }
  14096. },
  14097. "500": {
  14098. "description": "Internal Server Error",
  14099. "schema": {
  14100. "$ref": "#/definitions/app.Response"
  14101. }
  14102. }
  14103. }
  14104. }
  14105. },
  14106. "/ZJ/GetBankTip": {
  14107. "get": {
  14108. "produces": [
  14109. "application/json"
  14110. ],
  14111. "tags": [
  14112. "中江"
  14113. ],
  14114. "summary": "获取中江网银端出入金提示信息",
  14115. "responses": {
  14116. "200": {
  14117. "description": "OK",
  14118. "schema": {
  14119. "type": "string"
  14120. }
  14121. },
  14122. "500": {
  14123. "description": "Internal Server Error",
  14124. "schema": {
  14125. "$ref": "#/definitions/app.Response"
  14126. }
  14127. }
  14128. }
  14129. }
  14130. },
  14131. "/ZJ/GetCusBankChannels": {
  14132. "get": {
  14133. "produces": [
  14134. "application/json"
  14135. ],
  14136. "tags": [
  14137. "中江"
  14138. ],
  14139. "summary": "获取中江出入金渠道显示列表",
  14140. "responses": {
  14141. "200": {
  14142. "description": "OK",
  14143. "schema": {
  14144. "type": "array",
  14145. "items": {
  14146. "type": "string"
  14147. }
  14148. }
  14149. },
  14150. "500": {
  14151. "description": "Internal Server Error",
  14152. "schema": {
  14153. "$ref": "#/definitions/app.Response"
  14154. }
  14155. }
  14156. }
  14157. }
  14158. }
  14159. },
  14160. "definitions": {
  14161. "app.Response": {
  14162. "type": "object",
  14163. "properties": {
  14164. "code": {
  14165. "type": "integer"
  14166. },
  14167. "data": {
  14168. "type": "object"
  14169. },
  14170. "msg": {
  14171. "type": "string"
  14172. },
  14173. "page": {
  14174. "description": "页码",
  14175. "type": "integer"
  14176. },
  14177. "pagesize": {
  14178. "description": "每页条数",
  14179. "type": "integer"
  14180. },
  14181. "total": {
  14182. "description": "总条数",
  14183. "type": "integer"
  14184. }
  14185. }
  14186. },
  14187. "common.ClientMenu": {
  14188. "type": "object",
  14189. "properties": {
  14190. "children": {
  14191. "description": "子菜单列表",
  14192. "type": "array",
  14193. "items": {
  14194. "$ref": "#/definitions/common.ClientMenu"
  14195. }
  14196. },
  14197. "code": {
  14198. "description": "ID",
  14199. "type": "string"
  14200. },
  14201. "isshow": {
  14202. "description": "是否显示",
  14203. "type": "boolean"
  14204. },
  14205. "remark": {
  14206. "description": "备注",
  14207. "type": "string"
  14208. },
  14209. "rulekey": {
  14210. "description": "对应权限主键,对应FUNCMENULIST表RESOURCECODE",
  14211. "type": "string"
  14212. },
  14213. "sort": {
  14214. "description": "排序",
  14215. "type": "integer"
  14216. },
  14217. "title": {
  14218. "description": "标题",
  14219. "type": "string"
  14220. },
  14221. "type": {
  14222. "description": "类型,1:菜单 2:按钮",
  14223. "type": "integer"
  14224. },
  14225. "url": {
  14226. "description": "URL",
  14227. "type": "string"
  14228. }
  14229. }
  14230. },
  14231. "common.PCWebMenu": {
  14232. "type": "object",
  14233. "properties": {
  14234. "auth": {
  14235. "description": "页面权限列表",
  14236. "type": "array",
  14237. "items": {
  14238. "$ref": "#/definitions/common.PCWebMenuAuth"
  14239. }
  14240. },
  14241. "children": {
  14242. "description": "子菜单列表",
  14243. "type": "array",
  14244. "items": {
  14245. "$ref": "#/definitions/common.PCWebMenu"
  14246. }
  14247. },
  14248. "code": {
  14249. "description": "ID,新版本中权限KEY也是这个字段",
  14250. "type": "string"
  14251. },
  14252. "component": {
  14253. "description": "路由组件",
  14254. "type": "string"
  14255. },
  14256. "isshow": {
  14257. "description": "是否显示",
  14258. "type": "boolean"
  14259. },
  14260. "path": {
  14261. "description": "路由路径",
  14262. "type": "string"
  14263. },
  14264. "remark": {
  14265. "description": "备注",
  14266. "type": "string"
  14267. },
  14268. "rulekey": {
  14269. "description": "权限主键,非空表示需要判断控制,非空值不可重复",
  14270. "type": "string"
  14271. },
  14272. "sort": {
  14273. "description": "排序",
  14274. "type": "integer"
  14275. },
  14276. "title": {
  14277. "description": "标题",
  14278. "type": "string"
  14279. },
  14280. "url": {
  14281. "description": "URL",
  14282. "type": "string"
  14283. }
  14284. }
  14285. },
  14286. "common.PCWebMenuAuth": {
  14287. "type": "object",
  14288. "properties": {
  14289. "code": {
  14290. "description": "ID,新版本中权限KEY也是这个字段",
  14291. "type": "string"
  14292. },
  14293. "isshow": {
  14294. "description": "是否显示",
  14295. "type": "boolean"
  14296. },
  14297. "label": {
  14298. "description": "标题",
  14299. "type": "string"
  14300. },
  14301. "remark": {
  14302. "description": "备注",
  14303. "type": "string"
  14304. },
  14305. "rulekey": {
  14306. "description": "权限主键,非空表示需要判断控制,非空值不可重复",
  14307. "type": "string"
  14308. }
  14309. }
  14310. },
  14311. "common.QueryImageConfigsRsp": {
  14312. "type": "object",
  14313. "required": [
  14314. "configid"
  14315. ],
  14316. "properties": {
  14317. "areauserid": {
  14318. "description": "所属机构ID",
  14319. "type": "integer"
  14320. },
  14321. "configid": {
  14322. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  14323. "type": "integer"
  14324. },
  14325. "createdate": {
  14326. "description": "创建时间",
  14327. "type": "string"
  14328. },
  14329. "creatorid": {
  14330. "description": "创建人",
  14331. "type": "integer"
  14332. },
  14333. "imagepath": {
  14334. "description": "图片",
  14335. "type": "string"
  14336. },
  14337. "imagetype": {
  14338. "description": "类型 - 1:首页轮播(移动) 2:我的(移动)",
  14339. "type": "integer"
  14340. },
  14341. "isshow": {
  14342. "description": "是否展示 - 0:不展示 1:展示",
  14343. "type": "integer"
  14344. },
  14345. "marketid": {
  14346. "description": "市场ID",
  14347. "type": "integer"
  14348. },
  14349. "modifierid": {
  14350. "description": "操作人",
  14351. "type": "integer"
  14352. },
  14353. "sort": {
  14354. "description": "排序",
  14355. "type": "integer"
  14356. },
  14357. "title": {
  14358. "description": "标题",
  14359. "type": "string"
  14360. },
  14361. "trademode": {
  14362. "description": "交易模式",
  14363. "type": "integer"
  14364. },
  14365. "updatedate": {
  14366. "description": "修改时间",
  14367. "type": "string"
  14368. },
  14369. "url": {
  14370. "description": "链接(地址或商品ID)",
  14371. "type": "string"
  14372. },
  14373. "urltype": {
  14374. "description": "链接类型 - 1:直接地址 2:商品ID",
  14375. "type": "integer"
  14376. }
  14377. }
  14378. },
  14379. "common.QueryNoticeRsp": {
  14380. "type": "object",
  14381. "required": [
  14382. "autoid"
  14383. ],
  14384. "properties": {
  14385. "auditoruserid": {
  14386. "description": "审核人",
  14387. "type": "integer"
  14388. },
  14389. "auditremark": {
  14390. "description": "审核备注",
  14391. "type": "string"
  14392. },
  14393. "audittime": {
  14394. "description": "审核日期",
  14395. "type": "string"
  14396. },
  14397. "autoid": {
  14398. "description": "自增ID",
  14399. "type": "integer"
  14400. },
  14401. "content": {
  14402. "description": "内容",
  14403. "type": "string"
  14404. },
  14405. "createtime": {
  14406. "description": "创建时间",
  14407. "type": "string"
  14408. },
  14409. "creatorid": {
  14410. "description": "建仓人",
  14411. "type": "integer"
  14412. },
  14413. "endtime": {
  14414. "description": "结束时间",
  14415. "type": "string"
  14416. },
  14417. "istop": {
  14418. "description": "是否置顶 - 0:不置顶 1:置顶",
  14419. "type": "integer"
  14420. },
  14421. "msgiconurl": {
  14422. "description": "消息图标Url",
  14423. "type": "string"
  14424. },
  14425. "msgtype": {
  14426. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  14427. "type": "integer"
  14428. },
  14429. "publisher": {
  14430. "description": "消息发布者",
  14431. "type": "string"
  14432. },
  14433. "readed": {
  14434. "description": "是否已读",
  14435. "type": "boolean"
  14436. },
  14437. "scheduletime": {
  14438. "description": "计划发送时间",
  14439. "type": "string"
  14440. },
  14441. "sendtype": {
  14442. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  14443. "type": "integer"
  14444. },
  14445. "sentstatus": {
  14446. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  14447. "type": "integer"
  14448. },
  14449. "title": {
  14450. "description": "标题",
  14451. "type": "string"
  14452. },
  14453. "userid": {
  14454. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  14455. "type": "integer"
  14456. }
  14457. }
  14458. },
  14459. "common.QueryProvincesAndCitiesRsp": {
  14460. "type": "object",
  14461. "properties": {
  14462. "cities": {
  14463. "description": "市",
  14464. "type": "array",
  14465. "items": {
  14466. "$ref": "#/definitions/models.Division"
  14467. }
  14468. },
  14469. "province": {
  14470. "description": "省",
  14471. "$ref": "#/definitions/models.Division"
  14472. }
  14473. }
  14474. },
  14475. "common.QueryTableDefineRsp": {
  14476. "type": "object",
  14477. "required": [
  14478. "tablekey"
  14479. ],
  14480. "properties": {
  14481. "columns": {
  14482. "description": "列头信息数组",
  14483. "type": "array",
  14484. "items": {
  14485. "$ref": "#/definitions/models.Tablecolumnconfig"
  14486. }
  14487. },
  14488. "remark": {
  14489. "description": "Remark",
  14490. "type": "string"
  14491. },
  14492. "tabelmenu": {
  14493. "description": "列表菜单",
  14494. "type": "string"
  14495. },
  14496. "tablekey": {
  14497. "description": "列表Key",
  14498. "type": "string"
  14499. },
  14500. "tablename": {
  14501. "description": "列表名称",
  14502. "type": "string"
  14503. },
  14504. "tabletype": {
  14505. "description": "列表类型 - 1:管理端 2:终端",
  14506. "type": "integer"
  14507. }
  14508. }
  14509. },
  14510. "common.QueryTraderMenuRsp": {
  14511. "type": "object",
  14512. "properties": {
  14513. "OperationMenu": {
  14514. "description": "功能菜单",
  14515. "type": "array",
  14516. "items": {
  14517. "$ref": "#/definitions/models.OperationPrimaryMenu"
  14518. }
  14519. },
  14520. "QuoteMenu": {
  14521. "description": "报价牌分类菜单",
  14522. "type": "array",
  14523. "items": {
  14524. "$ref": "#/definitions/models.QuotePrimaryMenu"
  14525. }
  14526. }
  14527. }
  14528. },
  14529. "cptrade.Cptradepositioncancel": {
  14530. "type": "object",
  14531. "required": [
  14532. "cancelid"
  14533. ],
  14534. "properties": {
  14535. "accountid": {
  14536. "description": "申请人账户ID",
  14537. "type": "integer"
  14538. },
  14539. "applystatus": {
  14540. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  14541. "type": "integer"
  14542. },
  14543. "applytime": {
  14544. "description": "申请时间",
  14545. "type": "string"
  14546. },
  14547. "cancelid": {
  14548. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  14549. "type": "integer"
  14550. },
  14551. "cancelqty": {
  14552. "description": "注销数量",
  14553. "type": "integer"
  14554. },
  14555. "createtime": {
  14556. "description": "创建时间",
  14557. "type": "string"
  14558. },
  14559. "creatorid": {
  14560. "description": "创建人ID",
  14561. "type": "integer"
  14562. },
  14563. "creatorname": {
  14564. "description": "创建人",
  14565. "type": "string"
  14566. },
  14567. "goodscode": {
  14568. "description": "订单商品代码",
  14569. "type": "string"
  14570. },
  14571. "goodsid": {
  14572. "description": "商品ID",
  14573. "type": "integer"
  14574. },
  14575. "goodsname": {
  14576. "description": "订单商品名称",
  14577. "type": "string"
  14578. },
  14579. "goodunit": {
  14580. "description": "报价单位",
  14581. "type": "string"
  14582. },
  14583. "handlestatus": {
  14584. "description": "处理状态",
  14585. "type": "integer"
  14586. },
  14587. "marketid": {
  14588. "description": "市场ID",
  14589. "type": "integer"
  14590. },
  14591. "marketname": {
  14592. "description": "市场名称",
  14593. "type": "string"
  14594. },
  14595. "tradedate": {
  14596. "description": "交易日(yyyyMMdd)",
  14597. "type": "string"
  14598. },
  14599. "userid": {
  14600. "description": "申请人ID",
  14601. "type": "integer"
  14602. }
  14603. }
  14604. },
  14605. "cptrade.Cptradepresaleapply": {
  14606. "type": "object",
  14607. "required": [
  14608. "applyid"
  14609. ],
  14610. "properties": {
  14611. "accountid": {
  14612. "description": "申请人账户ID",
  14613. "type": "integer"
  14614. },
  14615. "applyid": {
  14616. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  14617. "type": "integer"
  14618. },
  14619. "applyremark": {
  14620. "description": "申请备注",
  14621. "type": "string"
  14622. },
  14623. "applystatus": {
  14624. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  14625. "type": "integer"
  14626. },
  14627. "applytime": {
  14628. "description": "申请时间",
  14629. "type": "string"
  14630. },
  14631. "attachmenturl": {
  14632. "description": "附件地址",
  14633. "type": "string"
  14634. },
  14635. "endtime": {
  14636. "description": "预售结束时间",
  14637. "type": "string"
  14638. },
  14639. "goodscode": {
  14640. "description": "商品代码",
  14641. "type": "string"
  14642. },
  14643. "goodsid": {
  14644. "description": "商品ID",
  14645. "type": "integer"
  14646. },
  14647. "goodsname": {
  14648. "description": "商品名称",
  14649. "type": "string"
  14650. },
  14651. "goodunit": {
  14652. "description": "报价单位",
  14653. "type": "string"
  14654. },
  14655. "handlestatus": {
  14656. "description": "处理状态",
  14657. "type": "integer"
  14658. },
  14659. "marketid": {
  14660. "description": "预售市场ID",
  14661. "type": "integer"
  14662. },
  14663. "marketname": {
  14664. "description": "预售市场名称",
  14665. "type": "string"
  14666. },
  14667. "presaleqty": {
  14668. "description": "预售数量",
  14669. "type": "integer"
  14670. },
  14671. "relatedgoodscode": {
  14672. "description": "关联交易合约代码",
  14673. "type": "string"
  14674. },
  14675. "relatedgoodsid": {
  14676. "description": "关联交易合约ID",
  14677. "type": "integer"
  14678. },
  14679. "relatedgoodsname": {
  14680. "description": "关联交易合约名称",
  14681. "type": "string"
  14682. },
  14683. "starttime": {
  14684. "description": "预售开始时间",
  14685. "type": "string"
  14686. },
  14687. "tradedate": {
  14688. "description": "交易日(yyyyMMdd)",
  14689. "type": "string"
  14690. },
  14691. "trademode": {
  14692. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  14693. "type": "integer"
  14694. },
  14695. "userid": {
  14696. "description": "申请人ID",
  14697. "type": "integer"
  14698. }
  14699. }
  14700. },
  14701. "cptrade.Cptradeusergoodsdata": {
  14702. "type": "object",
  14703. "required": [
  14704. "accountid",
  14705. "goodsid"
  14706. ],
  14707. "properties": {
  14708. "EnabledQty": {
  14709. "description": "可用量",
  14710. "type": "integer"
  14711. },
  14712. "GoodsCode": {
  14713. "description": "订单商品代码",
  14714. "type": "string"
  14715. },
  14716. "GoodsName": {
  14717. "description": "订单商品名称",
  14718. "type": "string"
  14719. },
  14720. "WRStandardCode": {
  14721. "description": "仓单标准代码",
  14722. "type": "string"
  14723. },
  14724. "WRStandardName": {
  14725. "description": "仓单标准名称",
  14726. "type": "string"
  14727. },
  14728. "accountid": {
  14729. "description": "账户ID",
  14730. "type": "integer"
  14731. },
  14732. "cancelqty": {
  14733. "description": "注销量",
  14734. "type": "integer"
  14735. },
  14736. "curpresaleqty": {
  14737. "description": "当前预售量",
  14738. "type": "integer"
  14739. },
  14740. "deliveryqty": {
  14741. "description": "交割量",
  14742. "type": "integer"
  14743. },
  14744. "freezeamount": {
  14745. "description": "冻结金额",
  14746. "type": "number"
  14747. },
  14748. "goodsid": {
  14749. "description": "商品ID",
  14750. "type": "integer"
  14751. },
  14752. "goodunit": {
  14753. "description": "报价单位",
  14754. "type": "string"
  14755. },
  14756. "hasspotfreeze": {
  14757. "description": "是否有现货冻结 - 0:否 1:有",
  14758. "type": "integer"
  14759. },
  14760. "inqty": {
  14761. "description": "转入量(总数量)",
  14762. "type": "integer"
  14763. },
  14764. "marketid": {
  14765. "description": "市场ID",
  14766. "type": "integer"
  14767. },
  14768. "presaledamount": {
  14769. "description": "已预售总金额",
  14770. "type": "integer"
  14771. },
  14772. "presaledqty": {
  14773. "description": "已预售量",
  14774. "type": "integer"
  14775. },
  14776. "userid": {
  14777. "description": "用户ID",
  14778. "type": "integer"
  14779. },
  14780. "wrstandardid": {
  14781. "description": "仓单标准ID",
  14782. "type": "integer"
  14783. }
  14784. }
  14785. },
  14786. "cptrade.QueryCPTradeMyBidRsp": {
  14787. "type": "object",
  14788. "required": [
  14789. "accountid",
  14790. "goodsid",
  14791. "marketid",
  14792. "orderid",
  14793. "orderqty",
  14794. "ordertime",
  14795. "tradeprice",
  14796. "tradeqty"
  14797. ],
  14798. "properties": {
  14799. "accountid": {
  14800. "description": "账户ID[报价币种]",
  14801. "type": "integer"
  14802. },
  14803. "goodsid": {
  14804. "description": "商品ID",
  14805. "type": "integer"
  14806. },
  14807. "goodunit": {
  14808. "description": "报价单位",
  14809. "type": "string"
  14810. },
  14811. "marketid": {
  14812. "description": "市场ID",
  14813. "type": "integer"
  14814. },
  14815. "orderid": {
  14816. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14817. "type": "integer"
  14818. },
  14819. "orderprice": {
  14820. "description": "委托价格",
  14821. "type": "number"
  14822. },
  14823. "orderqty": {
  14824. "description": "委托数量",
  14825. "type": "integer"
  14826. },
  14827. "ordertime": {
  14828. "description": "委托时间",
  14829. "type": "string"
  14830. },
  14831. "ordertotalprice": {
  14832. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  14833. "type": "number"
  14834. },
  14835. "ordertotalweight": {
  14836. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  14837. "type": "integer"
  14838. },
  14839. "totaltotalprice": {
  14840. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  14841. "type": "number"
  14842. },
  14843. "tradeprice": {
  14844. "description": "成交价格",
  14845. "type": "number"
  14846. },
  14847. "tradeqty": {
  14848. "description": "成交数量",
  14849. "type": "integer"
  14850. }
  14851. }
  14852. },
  14853. "cptrade.QueryCPTradeOrderDetailRsq": {
  14854. "type": "object",
  14855. "required": [
  14856. "accountid",
  14857. "buildtype",
  14858. "buyorsell",
  14859. "goodsid",
  14860. "marketid",
  14861. "memberuserid",
  14862. "operatetype",
  14863. "orderqty",
  14864. "ordertime",
  14865. "pricemode",
  14866. "strorderid",
  14867. "tradedate",
  14868. "validtype"
  14869. ],
  14870. "properties": {
  14871. "accountid": {
  14872. "description": "账户ID[报价币种]",
  14873. "type": "integer"
  14874. },
  14875. "buildtype": {
  14876. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  14877. "type": "integer"
  14878. },
  14879. "buyorsell": {
  14880. "description": "买卖 - 0:买 1:卖",
  14881. "type": "integer"
  14882. },
  14883. "cancelorderid": {
  14884. "description": "撤单单号(撤单时填写)",
  14885. "type": "integer"
  14886. },
  14887. "cancelqty": {
  14888. "description": "撤单数量",
  14889. "type": "integer"
  14890. },
  14891. "clientordertime": {
  14892. "description": "客户端委托时间",
  14893. "type": "string"
  14894. },
  14895. "clientticket": {
  14896. "description": "客户端流水号",
  14897. "type": "string"
  14898. },
  14899. "clienttype": {
  14900. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  14901. "type": "integer"
  14902. },
  14903. "closeexchagechargevalue": {
  14904. "description": "平仓交易所手续费设置值",
  14905. "type": "number"
  14906. },
  14907. "closefeealgorithm": {
  14908. "description": "平仓手续费收取方式 1:比率 2:固定",
  14909. "type": "integer"
  14910. },
  14911. "closefreezecharge": {
  14912. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  14913. "type": "number"
  14914. },
  14915. "closememberchargevalue": {
  14916. "description": "平仓会员手续费设置值",
  14917. "type": "number"
  14918. },
  14919. "closeqty": {
  14920. "description": "平仓数量(先建后平操作 需要记录)",
  14921. "type": "integer"
  14922. },
  14923. "closetradeqty": {
  14924. "description": "平仓成交数量(先建后平操作,需要记录)",
  14925. "type": "integer"
  14926. },
  14927. "closeunfreezecharge": {
  14928. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  14929. "type": "number"
  14930. },
  14931. "delistingtype": {
  14932. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  14933. "type": "integer"
  14934. },
  14935. "freezecharge": {
  14936. "description": "冻结手续费",
  14937. "type": "number"
  14938. },
  14939. "freezemargin": {
  14940. "description": "冻结保证金(冻结交易金额)",
  14941. "type": "number"
  14942. },
  14943. "gcaccountid": {
  14944. "description": "账户ID[合约币种]",
  14945. "type": "integer"
  14946. },
  14947. "goodsid": {
  14948. "description": "商品ID",
  14949. "type": "integer"
  14950. },
  14951. "isconfirmexercise": {
  14952. "description": "是否确认行权- 0:否 1:是",
  14953. "type": "integer"
  14954. },
  14955. "ispreexercise": {
  14956. "description": "是否预申报- 0:否 1:是",
  14957. "type": "integer"
  14958. },
  14959. "listingselecttype": {
  14960. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  14961. "type": "integer"
  14962. },
  14963. "marginalgorithm": {
  14964. "description": "保证金收取方式 1:比率 2:固定",
  14965. "type": "integer"
  14966. },
  14967. "marginvalue": {
  14968. "description": "即市保证金设置值",
  14969. "type": "number"
  14970. },
  14971. "marketid": {
  14972. "description": "市场ID",
  14973. "type": "integer"
  14974. },
  14975. "marketmaxsub": {
  14976. "description": "市价最大偏移范围",
  14977. "type": "number"
  14978. },
  14979. "memberuserid": {
  14980. "description": "所属会员UserID",
  14981. "type": "integer"
  14982. },
  14983. "openexchagechargevalue": {
  14984. "description": "建仓交易所手续费设置值",
  14985. "type": "number"
  14986. },
  14987. "openfeealgorithm": {
  14988. "description": "建仓手续费收取方式 1:比率 2:固定",
  14989. "type": "integer"
  14990. },
  14991. "openfreezecharge": {
  14992. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  14993. "type": "number"
  14994. },
  14995. "openmemberchargevalue": {
  14996. "description": "建仓会员手续费设置值",
  14997. "type": "number"
  14998. },
  14999. "openqty": {
  15000. "description": "开仓数量(先建后平操作,需要记录)",
  15001. "type": "integer"
  15002. },
  15003. "opentradeqty": {
  15004. "description": "开仓成交数量(先建后平操作,需要记录)",
  15005. "type": "integer"
  15006. },
  15007. "openunfreezecharge": {
  15008. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  15009. "type": "number"
  15010. },
  15011. "operatetype": {
  15012. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  15013. "type": "integer"
  15014. },
  15015. "operatorid": {
  15016. "description": "登录账号(LoginID)",
  15017. "type": "integer"
  15018. },
  15019. "optiontype": {
  15020. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  15021. "type": "integer"
  15022. },
  15023. "orderprice": {
  15024. "description": "委托价格",
  15025. "type": "number"
  15026. },
  15027. "orderqty": {
  15028. "description": "委托数量",
  15029. "type": "integer"
  15030. },
  15031. "ordersrc": {
  15032. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  15033. "type": "integer"
  15034. },
  15035. "orderstatus": {
  15036. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  15037. "type": "integer"
  15038. },
  15039. "ordertime": {
  15040. "description": "委托时间",
  15041. "type": "string"
  15042. },
  15043. "preexerciseprice": {
  15044. "description": "预申报价格",
  15045. "type": "number"
  15046. },
  15047. "premium": {
  15048. "description": "权利金",
  15049. "type": "number"
  15050. },
  15051. "preorderid": {
  15052. "description": "关联预埋单号(止盈止损单时填写)",
  15053. "type": "integer"
  15054. },
  15055. "pricemode": {
  15056. "description": "取价方式 - 1:市价 2: 限价",
  15057. "type": "integer"
  15058. },
  15059. "quoteid": {
  15060. "description": "报价单ID",
  15061. "type": "integer"
  15062. },
  15063. "relatedid": {
  15064. "description": "关联单号(交割单)",
  15065. "type": "integer"
  15066. },
  15067. "retcode": {
  15068. "description": "错误代码",
  15069. "type": "integer"
  15070. },
  15071. "sessionid": {
  15072. "description": "会话ID",
  15073. "type": "integer"
  15074. },
  15075. "strorderid": {
  15076. "description": "委托单号",
  15077. "type": "string"
  15078. },
  15079. "tradedate": {
  15080. "description": "交易日(yyyyMMdd)",
  15081. "type": "string"
  15082. },
  15083. "tradeproperty": {
  15084. "description": "交易属性",
  15085. "type": "integer"
  15086. },
  15087. "tradeqty": {
  15088. "description": "成交数量",
  15089. "type": "integer"
  15090. },
  15091. "unfreezecharge": {
  15092. "description": "解冻手续费",
  15093. "type": "number"
  15094. },
  15095. "unfreezemargin": {
  15096. "description": "解冻保证金",
  15097. "type": "number"
  15098. },
  15099. "updatetime": {
  15100. "description": "更新时间",
  15101. "type": "string"
  15102. },
  15103. "uuid": {
  15104. "description": "发起端唯一id",
  15105. "type": "string"
  15106. },
  15107. "validtime": {
  15108. "description": "有效期限",
  15109. "type": "string"
  15110. },
  15111. "validtype": {
  15112. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  15113. "type": "integer"
  15114. },
  15115. "volumetype": {
  15116. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  15117. "type": "integer"
  15118. }
  15119. }
  15120. },
  15121. "cptrade.QueryMyCPTradeGoodsRsp": {
  15122. "type": "object",
  15123. "required": [
  15124. "goodscode",
  15125. "goodsid",
  15126. "goodsname",
  15127. "marketid",
  15128. "relatedgoodscode",
  15129. "relatedgoodsname"
  15130. ],
  15131. "properties": {
  15132. "accountid": {
  15133. "description": "卖方账户ID",
  15134. "type": "integer"
  15135. },
  15136. "agreeunit": {
  15137. "description": "合约单位",
  15138. "type": "number"
  15139. },
  15140. "applyid": {
  15141. "description": "关联申请ID",
  15142. "type": "integer"
  15143. },
  15144. "attachmenturl": {
  15145. "description": "附件地址",
  15146. "type": "string"
  15147. },
  15148. "createtime": {
  15149. "description": "创建时间",
  15150. "type": "string"
  15151. },
  15152. "currencyid": {
  15153. "description": "报价货币ID",
  15154. "type": "integer"
  15155. },
  15156. "decimalplace": {
  15157. "description": "报价小数位",
  15158. "type": "integer"
  15159. },
  15160. "endtime": {
  15161. "description": "预售结束时间",
  15162. "type": "string"
  15163. },
  15164. "floorprice": {
  15165. "description": "底价[大宗式竞拍]",
  15166. "type": "number"
  15167. },
  15168. "goodscode": {
  15169. "description": "商品代码(预售)",
  15170. "type": "string"
  15171. },
  15172. "goodsdetail": {
  15173. "description": "详情[大宗]",
  15174. "type": "string"
  15175. },
  15176. "goodsid": {
  15177. "description": "商品ID(自增ID SEQ_GOODS)",
  15178. "type": "integer"
  15179. },
  15180. "goodsname": {
  15181. "description": "商品名称(预售)",
  15182. "type": "string"
  15183. },
  15184. "goodunit": {
  15185. "description": "报价单位",
  15186. "type": "string"
  15187. },
  15188. "goodunitid": {
  15189. "description": "报价单位ID",
  15190. "type": "integer"
  15191. },
  15192. "marketid": {
  15193. "description": "所属市场ID",
  15194. "type": "integer"
  15195. },
  15196. "marketname": {
  15197. "description": "预售市场名称",
  15198. "type": "string"
  15199. },
  15200. "presaledamount": {
  15201. "description": "已预售总金额(预售结束时更新)",
  15202. "type": "number"
  15203. },
  15204. "presaledqty": {
  15205. "description": "已预售量(预售结束时更新)",
  15206. "type": "integer"
  15207. },
  15208. "presalemode": {
  15209. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  15210. "type": "integer"
  15211. },
  15212. "presaleqty": {
  15213. "description": "预售数量",
  15214. "type": "integer"
  15215. },
  15216. "refprice": {
  15217. "description": "参考价格[一口价]",
  15218. "type": "number"
  15219. },
  15220. "relatedgoodscode": {
  15221. "description": "商品代码(订单)",
  15222. "type": "string"
  15223. },
  15224. "relatedgoodsid": {
  15225. "description": "关联交易合约ID",
  15226. "type": "integer"
  15227. },
  15228. "relatedgoodsname": {
  15229. "description": "商品名称(订单)",
  15230. "type": "string"
  15231. },
  15232. "relatedmarketid": {
  15233. "description": "关联交易合约市场ID",
  15234. "type": "integer"
  15235. },
  15236. "sellstatus": {
  15237. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  15238. "type": "integer"
  15239. },
  15240. "startprice": {
  15241. "description": "起拍价[大宗式竞拍]",
  15242. "type": "number"
  15243. },
  15244. "starttime": {
  15245. "description": "预售开始时间",
  15246. "type": "string"
  15247. },
  15248. "tradedate": {
  15249. "description": "交易日(yyyyMMdd)",
  15250. "type": "string"
  15251. },
  15252. "tradeprice": {
  15253. "description": "成交价[大宗]",
  15254. "type": "number"
  15255. },
  15256. "userid": {
  15257. "description": "卖方用户ID",
  15258. "type": "integer"
  15259. }
  15260. }
  15261. },
  15262. "cptrade.QueryPresaleGoodsExRsp": {
  15263. "type": "object",
  15264. "required": [
  15265. "goodsid"
  15266. ],
  15267. "properties": {
  15268. "attachmenturl": {
  15269. "description": "附件地址",
  15270. "type": "string"
  15271. },
  15272. "createtime": {
  15273. "description": "创建时间",
  15274. "type": "string"
  15275. },
  15276. "endtime": {
  15277. "description": "预售结束时间",
  15278. "type": "string"
  15279. },
  15280. "floorprice": {
  15281. "description": "底价[大宗式竞拍]",
  15282. "type": "number"
  15283. },
  15284. "goodsdetail": {
  15285. "description": "详情[大宗]",
  15286. "type": "string"
  15287. },
  15288. "goodsid": {
  15289. "description": "商品ID(预售)",
  15290. "type": "integer"
  15291. },
  15292. "goodunit": {
  15293. "description": "报价单位",
  15294. "type": "string"
  15295. },
  15296. "marketid": {
  15297. "description": "预售市场ID - 根据预售模式选择市场",
  15298. "type": "integer"
  15299. },
  15300. "presaledamount": {
  15301. "description": "已预售总金额(预售结束时更新)",
  15302. "type": "number"
  15303. },
  15304. "presaledqty": {
  15305. "description": "已预售量(预售结束时更新)",
  15306. "type": "integer"
  15307. },
  15308. "presalemode": {
  15309. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  15310. "type": "integer"
  15311. },
  15312. "presaleqty": {
  15313. "description": "预售数量",
  15314. "type": "integer"
  15315. },
  15316. "refprice": {
  15317. "description": "参考价格[一口价]",
  15318. "type": "number"
  15319. },
  15320. "relatedgoodsid": {
  15321. "description": "关联交易合约ID",
  15322. "type": "integer"
  15323. },
  15324. "relatedmarketid": {
  15325. "description": "关联交易合约市场ID",
  15326. "type": "integer"
  15327. },
  15328. "sellstatus": {
  15329. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  15330. "type": "integer"
  15331. },
  15332. "startprice": {
  15333. "description": "起拍价[大宗式竞拍]",
  15334. "type": "number"
  15335. },
  15336. "starttime": {
  15337. "description": "预售开始时间",
  15338. "type": "string"
  15339. },
  15340. "tradedate": {
  15341. "description": "交易日(yyyyMMdd)",
  15342. "type": "string"
  15343. },
  15344. "tradeprice": {
  15345. "description": "成交价[大宗]",
  15346. "type": "number"
  15347. }
  15348. }
  15349. },
  15350. "delivery.QueryDeliveryRelationRsp": {
  15351. "type": "object",
  15352. "required": [
  15353. "begindate",
  15354. "enddate",
  15355. "goodsid",
  15356. "mindeliveryqty",
  15357. "xdeliveryratio"
  15358. ],
  15359. "properties": {
  15360. "begindate": {
  15361. "description": "起始日期(yyyyMMdd)",
  15362. "type": "string"
  15363. },
  15364. "buytemplateid": {
  15365. "description": "买履约计划模板ID",
  15366. "type": "integer"
  15367. },
  15368. "deliverygoodscode": {
  15369. "description": "品种代码",
  15370. "type": "string"
  15371. },
  15372. "deliverygoodsid": {
  15373. "description": "交割商品",
  15374. "type": "integer"
  15375. },
  15376. "deliverygoodsname": {
  15377. "description": "品种名称",
  15378. "type": "string"
  15379. },
  15380. "deliverymode": {
  15381. "description": "交割方式 - 1:点选式 2:申报式",
  15382. "type": "integer"
  15383. },
  15384. "deliverypricerule": {
  15385. "description": "交割价规则- 1:行情价 2:建仓价",
  15386. "type": "integer"
  15387. },
  15388. "deliverytype": {
  15389. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  15390. "type": "integer"
  15391. },
  15392. "enddate": {
  15393. "description": "结束日期(yyyyMMdd)",
  15394. "type": "string"
  15395. },
  15396. "enumdicname": {
  15397. "description": "品类单位名称",
  15398. "type": "string"
  15399. },
  15400. "goodscode": {
  15401. "description": "商品代码",
  15402. "type": "string"
  15403. },
  15404. "goodsid": {
  15405. "description": "交易合约ID",
  15406. "type": "integer"
  15407. },
  15408. "goodsname": {
  15409. "description": "商品名称",
  15410. "type": "string"
  15411. },
  15412. "marketid": {
  15413. "description": "市场ID",
  15414. "type": "integer"
  15415. },
  15416. "mindeliveryqty": {
  15417. "description": "最小交割系数(K)",
  15418. "type": "integer"
  15419. },
  15420. "p2deliveryprice": {
  15421. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  15422. "type": "number"
  15423. },
  15424. "p2deliveryratio": {
  15425. "description": "P2合约系数(p)",
  15426. "type": "integer"
  15427. },
  15428. "p2goodsid": {
  15429. "description": "P2合约ID",
  15430. "type": "integer"
  15431. },
  15432. "p2pricemode": {
  15433. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  15434. "type": "integer"
  15435. },
  15436. "pdeliveryprice": {
  15437. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  15438. "type": "number"
  15439. },
  15440. "pdeliveryratio": {
  15441. "description": "P合约系数(n)",
  15442. "type": "integer"
  15443. },
  15444. "pgoodscode": {
  15445. "description": "p合约代码",
  15446. "type": "string"
  15447. },
  15448. "pgoodsid": {
  15449. "description": "P合约ID",
  15450. "type": "integer"
  15451. },
  15452. "ppricemode": {
  15453. "description": "P合约价格方式 - 1:商品价 2:固定值",
  15454. "type": "integer"
  15455. },
  15456. "rratio": {
  15457. "description": "兑换系数(R)",
  15458. "type": "integer"
  15459. },
  15460. "rratio1": {
  15461. "description": "兑换系数(交易合约)(R1)",
  15462. "type": "integer"
  15463. },
  15464. "rratio2": {
  15465. "description": "兑换系数(仓单标准)(R2)",
  15466. "type": "integer"
  15467. },
  15468. "selltemplateid": {
  15469. "description": "卖履约计划模板ID",
  15470. "type": "integer"
  15471. },
  15472. "wrstandardid": {
  15473. "description": "仓单标准ID",
  15474. "type": "integer"
  15475. },
  15476. "xdeliveryratio": {
  15477. "description": "交易合约系数(m)",
  15478. "type": "integer"
  15479. }
  15480. }
  15481. },
  15482. "ermcp.ExposureDetailRsp": {
  15483. "type": "object",
  15484. "properties": {
  15485. "areauserid": {
  15486. "description": "机构ID",
  15487. "type": "integer"
  15488. },
  15489. "changeQty": {
  15490. "description": "套保变动量",
  15491. "type": "number"
  15492. },
  15493. "contracttype": {
  15494. "description": "现货合同类型 - 1:采购 -1:销售",
  15495. "type": "integer"
  15496. },
  15497. "convertfactor": {
  15498. "description": "标仓系数",
  15499. "type": "number"
  15500. },
  15501. "convertratio": {
  15502. "description": "套保系数",
  15503. "type": "number"
  15504. },
  15505. "createtime": {
  15506. "description": "时间",
  15507. "type": "string"
  15508. },
  15509. "enumdicname": {
  15510. "description": "现货商品单位名称",
  15511. "type": "string"
  15512. },
  15513. "logtype": {
  15514. "description": "类型 - 1:套保计划 2:现货合同",
  15515. "type": "integer"
  15516. },
  15517. "middlegoodsId": {
  15518. "description": "套保商品id",
  15519. "type": "integer"
  15520. },
  15521. "middlegoodscode": {
  15522. "description": "套保商品代码",
  15523. "type": "string"
  15524. },
  15525. "middlegoodsname": {
  15526. "description": "套保商品名称",
  15527. "type": "string"
  15528. },
  15529. "qty": {
  15530. "description": "数量",
  15531. "type": "number"
  15532. },
  15533. "relateNo": {
  15534. "description": "现货合同/套保计划编号",
  15535. "type": "string"
  15536. },
  15537. "wrstandardcode": {
  15538. "description": "现货商品代码",
  15539. "type": "string"
  15540. },
  15541. "wrstandardid": {
  15542. "description": "现货商品ID",
  15543. "type": "integer"
  15544. },
  15545. "wrstandardname": {
  15546. "description": "现货商品名称",
  15547. "type": "string"
  15548. }
  15549. }
  15550. },
  15551. "ermcp.ExposureHedgePosDetailRsp": {
  15552. "type": "object",
  15553. "properties": {
  15554. "buyorsell": {
  15555. "description": "买卖方向 0-买 1-卖",
  15556. "type": "integer"
  15557. },
  15558. "channelbuildtype": {
  15559. "description": "开平方向 1-建仓 2-平仓",
  15560. "type": "integer"
  15561. },
  15562. "goodscode": {
  15563. "description": "商品代码",
  15564. "type": "string"
  15565. },
  15566. "goodsname": {
  15567. "description": "商品名称",
  15568. "type": "string"
  15569. },
  15570. "hedgegoodsid": {
  15571. "description": "商品id",
  15572. "type": "integer"
  15573. },
  15574. "tradeqty": {
  15575. "description": "数量(成交数量)",
  15576. "type": "integer"
  15577. },
  15578. "tradetime": {
  15579. "description": "时间(成交时间)",
  15580. "type": "string"
  15581. }
  15582. }
  15583. },
  15584. "ermcp.ExposureHedgePositionRsp": {
  15585. "type": "object",
  15586. "properties": {
  15587. "accountid": {
  15588. "description": "资金账号[外部母账户]",
  15589. "type": "integer"
  15590. },
  15591. "curbuyposition": {
  15592. "description": "期末买头寸",
  15593. "type": "integer"
  15594. },
  15595. "cursellposition": {
  15596. "description": "期末卖头寸",
  15597. "type": "integer"
  15598. },
  15599. "curtdbuyposition": {
  15600. "description": "期末今日买头寸",
  15601. "type": "integer"
  15602. },
  15603. "curtdsellposition": {
  15604. "description": "期末今日卖头寸",
  15605. "type": "integer"
  15606. },
  15607. "curydbuyposition": {
  15608. "description": "期末上日买头寸",
  15609. "type": "integer"
  15610. },
  15611. "curydsellposition": {
  15612. "description": "期末上日卖头寸",
  15613. "type": "integer"
  15614. },
  15615. "decreaseqty": {
  15616. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  15617. "type": "integer"
  15618. },
  15619. "fretdbuyposition": {
  15620. "description": "冻结今日买头寸",
  15621. "type": "integer"
  15622. },
  15623. "fretdsellposition": {
  15624. "description": "冻结今日卖头寸",
  15625. "type": "integer"
  15626. },
  15627. "freydbuyposition": {
  15628. "description": "冻结上日买头寸",
  15629. "type": "integer"
  15630. },
  15631. "freydsellposition": {
  15632. "description": "冻结上日卖头寸",
  15633. "type": "integer"
  15634. },
  15635. "goodscode": {
  15636. "description": "商品代码",
  15637. "type": "string"
  15638. },
  15639. "goodsid": {
  15640. "description": "商品id",
  15641. "type": "integer"
  15642. },
  15643. "goodsname": {
  15644. "description": "商品名称",
  15645. "type": "string"
  15646. },
  15647. "hedgeaccountcode": {
  15648. "description": "对冲账号",
  15649. "type": "string"
  15650. },
  15651. "hedgegoodsid": {
  15652. "description": "对冲合约ID",
  15653. "type": "integer"
  15654. },
  15655. "increaseqty": {
  15656. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  15657. "type": "integer"
  15658. },
  15659. "marketid": {
  15660. "description": "市场ID",
  15661. "type": "integer"
  15662. },
  15663. "relateduserid": {
  15664. "description": "关联用户id",
  15665. "type": "integer"
  15666. },
  15667. "totalcurqty": {
  15668. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  15669. "type": "integer"
  15670. },
  15671. "totalydqty": {
  15672. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  15673. "type": "integer"
  15674. },
  15675. "tradedate": {
  15676. "description": "交易日(yyyyMMdd)",
  15677. "type": "string"
  15678. },
  15679. "ydbuyposition": {
  15680. "description": "期初买头寸",
  15681. "type": "integer"
  15682. },
  15683. "ydsellposition": {
  15684. "description": "期初卖头寸",
  15685. "type": "integer"
  15686. }
  15687. }
  15688. },
  15689. "ermcp.ExposureSpotDetailRsp": {
  15690. "type": "object",
  15691. "properties": {
  15692. "contracttype": {
  15693. "description": "合同类型 1-采购 -1-销售",
  15694. "type": "integer"
  15695. },
  15696. "createtime": {
  15697. "description": "创建时间",
  15698. "type": "string"
  15699. },
  15700. "enumdicname": {
  15701. "description": "现货商品单位名称",
  15702. "type": "string"
  15703. },
  15704. "logtype": {
  15705. "description": "记录类型 1-套保 2-现货合同",
  15706. "type": "integer"
  15707. },
  15708. "qty": {
  15709. "description": "数量",
  15710. "type": "number"
  15711. },
  15712. "recordname": {
  15713. "description": "类型名称",
  15714. "type": "string"
  15715. },
  15716. "relatedid": {
  15717. "description": "套保计划ID/现货合同ID",
  15718. "type": "string"
  15719. },
  15720. "relatedno": {
  15721. "description": "编号",
  15722. "type": "string"
  15723. },
  15724. "strtime": {
  15725. "description": "时间",
  15726. "type": "string"
  15727. },
  15728. "wrstandardcode": {
  15729. "description": "现货商品代码",
  15730. "type": "string"
  15731. },
  15732. "wrstandardname": {
  15733. "description": "现货商品名称",
  15734. "type": "string"
  15735. }
  15736. }
  15737. },
  15738. "ermcp.ExposureSpotRsp": {
  15739. "type": "object",
  15740. "properties": {
  15741. "areauserid": {
  15742. "description": "所属机构",
  15743. "type": "integer"
  15744. },
  15745. "decreaseqty": {
  15746. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  15747. "type": "number"
  15748. },
  15749. "increaseqty": {
  15750. "description": "增加数量=销售计划数量+采购已定价数量",
  15751. "type": "number"
  15752. },
  15753. "oritoalspotqty": {
  15754. "description": "昨日数量",
  15755. "type": "number"
  15756. },
  15757. "totalspotqty": {
  15758. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  15759. "type": "number"
  15760. },
  15761. "updatetime": {
  15762. "description": "更新时间",
  15763. "type": "string"
  15764. },
  15765. "wrstandardcode": {
  15766. "description": "现货品种代码",
  15767. "type": "string"
  15768. },
  15769. "wrstandardid": {
  15770. "description": "现货商品ID",
  15771. "type": "integer"
  15772. },
  15773. "wrstandardname": {
  15774. "description": "现货品种",
  15775. "type": "string"
  15776. }
  15777. }
  15778. },
  15779. "ermcp.HisExposureRsp": {
  15780. "type": "object",
  15781. "properties": {
  15782. "data": {
  15783. "description": "历史敞口",
  15784. "type": "array",
  15785. "items": {
  15786. "$ref": "#/definitions/models.ErmcpHisExposure"
  15787. }
  15788. },
  15789. "enumdicname": {
  15790. "description": "单位名称",
  15791. "type": "string"
  15792. },
  15793. "middlegoodscode": {
  15794. "description": "套保品种代码",
  15795. "type": "string"
  15796. },
  15797. "middlegoodsid": {
  15798. "description": "套保品种ID",
  15799. "type": "integer"
  15800. },
  15801. "middlegoodsname": {
  15802. "description": "套保品种名称",
  15803. "type": "string"
  15804. }
  15805. }
  15806. },
  15807. "ermcp.PendingAuditCntRsp": {
  15808. "type": "object",
  15809. "properties": {
  15810. "areastockqty": {
  15811. "description": "待审核数量: 库存申请",
  15812. "type": "integer"
  15813. },
  15814. "businessdjqty": {
  15815. "description": "待审核数量: 点价",
  15816. "type": "integer"
  15817. },
  15818. "businessfpqty": {
  15819. "description": "待审核数量: 发票",
  15820. "type": "integer"
  15821. },
  15822. "businessjsqty": {
  15823. "description": "待审核数量: 结算",
  15824. "type": "integer"
  15825. },
  15826. "businesskxqty": {
  15827. "description": "待审核数量: 款项",
  15828. "type": "integer"
  15829. },
  15830. "hedgeplanqty": {
  15831. "description": "待审核数量: 套保计划",
  15832. "type": "integer"
  15833. },
  15834. "spotcontractqty": {
  15835. "description": "待审核数量: 现货合同",
  15836. "type": "integer"
  15837. },
  15838. "userqty": {
  15839. "description": "待审核数量: 用户",
  15840. "type": "integer"
  15841. }
  15842. }
  15843. },
  15844. "ermcp.QryAvalidGPRsp": {
  15845. "type": "object",
  15846. "properties": {
  15847. "goodsgroupid": {
  15848. "description": "期货品种id",
  15849. "type": "integer"
  15850. },
  15851. "goodsgroupname": {
  15852. "description": "期货品种名称",
  15853. "type": "string"
  15854. },
  15855. "goodunitid": {
  15856. "description": "品种单位id",
  15857. "type": "integer"
  15858. },
  15859. "goodunitname": {
  15860. "description": "品种单位名称",
  15861. "type": "string"
  15862. },
  15863. "outergroupcode": {
  15864. "description": "期货品种代码",
  15865. "type": "string"
  15866. }
  15867. }
  15868. },
  15869. "ermcp.QryBusinessDjRsp": {
  15870. "type": "object",
  15871. "properties": {
  15872. "amount": {
  15873. "description": "点价金额=(点价价格+升贴水)*点价数量",
  15874. "type": "number"
  15875. },
  15876. "applyid": {
  15877. "description": "申请人",
  15878. "type": "string"
  15879. },
  15880. "applyname": {
  15881. "description": "申请人名称",
  15882. "type": "string"
  15883. },
  15884. "applystatus": {
  15885. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  15886. "type": "integer"
  15887. },
  15888. "applytime": {
  15889. "description": "申请时间",
  15890. "type": "string"
  15891. },
  15892. "attachurl": {
  15893. "description": "附件",
  15894. "type": "string"
  15895. },
  15896. "auditid": {
  15897. "description": "审核人ID",
  15898. "type": "string"
  15899. },
  15900. "auditname": {
  15901. "description": "审核人名称",
  15902. "type": "string"
  15903. },
  15904. "auditremark": {
  15905. "description": "审核备注",
  15906. "type": "string"
  15907. },
  15908. "audittime": {
  15909. "description": "审核时间",
  15910. "type": "string"
  15911. },
  15912. "buyusername": {
  15913. "description": "采购方名称",
  15914. "type": "string"
  15915. },
  15916. "contractno": {
  15917. "description": "合同编号",
  15918. "type": "string"
  15919. },
  15920. "contractstatus": {
  15921. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  15922. "type": "integer"
  15923. },
  15924. "contracttype": {
  15925. "description": "现货合同类型 - 1:采购 -1:销售",
  15926. "type": "integer"
  15927. },
  15928. "deliverygoodscode": {
  15929. "description": "现货品种代码",
  15930. "type": "string"
  15931. },
  15932. "deliverygoodsid": {
  15933. "description": "现货商品ID",
  15934. "type": "integer"
  15935. },
  15936. "deliverygoodsname": {
  15937. "description": "现货品种名称",
  15938. "type": "string"
  15939. },
  15940. "enumdicname": {
  15941. "description": "单位名称",
  15942. "type": "string"
  15943. },
  15944. "goodscode": {
  15945. "description": "点价合约",
  15946. "type": "string"
  15947. },
  15948. "goodsname": {
  15949. "description": "商品名称",
  15950. "type": "string"
  15951. },
  15952. "operateapplyid": {
  15953. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  15954. "type": "string"
  15955. },
  15956. "operateapplytype": {
  15957. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  15958. "type": "integer"
  15959. },
  15960. "pricedPrice": {
  15961. "description": "点价价格(非必填)",
  15962. "type": "number"
  15963. },
  15964. "pricedQty": {
  15965. "description": "点价数量(非必填)",
  15966. "type": "number"
  15967. },
  15968. "pricemove": {
  15969. "description": "升贴水",
  15970. "type": "number"
  15971. },
  15972. "pricetype": {
  15973. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  15974. "type": "integer"
  15975. },
  15976. "relatedid": {
  15977. "description": "现货合同ID",
  15978. "type": "string"
  15979. },
  15980. "sellusername": {
  15981. "description": "销售方名字",
  15982. "type": "string"
  15983. },
  15984. "userid": {
  15985. "description": "用户ID",
  15986. "type": "integer"
  15987. },
  15988. "wrstandardcode": {
  15989. "description": "品类代码",
  15990. "type": "string"
  15991. },
  15992. "wrstandardid": {
  15993. "description": "品类id",
  15994. "type": "integer"
  15995. },
  15996. "wrstandardname": {
  15997. "description": "品类名称",
  15998. "type": "string"
  15999. }
  16000. }
  16001. },
  16002. "ermcp.QryBussinessFpRsp": {
  16003. "type": "object",
  16004. "properties": {
  16005. "applyid": {
  16006. "description": "申请人",
  16007. "type": "string"
  16008. },
  16009. "applyname": {
  16010. "description": "申请人名称",
  16011. "type": "string"
  16012. },
  16013. "applystatus": {
  16014. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  16015. "type": "integer"
  16016. },
  16017. "applytime": {
  16018. "description": "申请时间",
  16019. "type": "string"
  16020. },
  16021. "attachurl": {
  16022. "description": "附件",
  16023. "type": "string"
  16024. },
  16025. "auditid": {
  16026. "description": "审核人ID",
  16027. "type": "string"
  16028. },
  16029. "auditname": {
  16030. "description": "审核人名称",
  16031. "type": "string"
  16032. },
  16033. "auditremark": {
  16034. "description": "审核备注",
  16035. "type": "string"
  16036. },
  16037. "audittime": {
  16038. "description": "审核时间",
  16039. "type": "string"
  16040. },
  16041. "buyusername": {
  16042. "description": "采购方名称",
  16043. "type": "string"
  16044. },
  16045. "contractno": {
  16046. "description": "合同编号",
  16047. "type": "string"
  16048. },
  16049. "contractstatus": {
  16050. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  16051. "type": "integer"
  16052. },
  16053. "contracttype": {
  16054. "description": "现货合同类型 - 1:采购 -1:销售",
  16055. "type": "integer"
  16056. },
  16057. "deliverygoodscode": {
  16058. "description": "现货品种代码",
  16059. "type": "string"
  16060. },
  16061. "deliverygoodsid": {
  16062. "description": "现货商品ID",
  16063. "type": "integer"
  16064. },
  16065. "deliverygoodsname": {
  16066. "description": "现货品种名称",
  16067. "type": "string"
  16068. },
  16069. "enumdicname": {
  16070. "description": "单位名称",
  16071. "type": "string"
  16072. },
  16073. "goodscode": {
  16074. "description": "点价合约",
  16075. "type": "string"
  16076. },
  16077. "goodsname": {
  16078. "description": "商品名称",
  16079. "type": "string"
  16080. },
  16081. "invoiceamount": {
  16082. "description": "已开收票金额(销售为开票,采购为收票)",
  16083. "type": "number"
  16084. },
  16085. "operateapplyid": {
  16086. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  16087. "type": "string"
  16088. },
  16089. "operateapplytype": {
  16090. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  16091. "type": "integer"
  16092. },
  16093. "pricemove": {
  16094. "description": "升贴水",
  16095. "type": "number"
  16096. },
  16097. "pricetype": {
  16098. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  16099. "type": "integer"
  16100. },
  16101. "relatedid": {
  16102. "description": "现货合同ID",
  16103. "type": "string"
  16104. },
  16105. "sellusername": {
  16106. "description": "销售方名字",
  16107. "type": "string"
  16108. },
  16109. "userid": {
  16110. "description": "用户ID",
  16111. "type": "integer"
  16112. },
  16113. "wrstandardcode": {
  16114. "description": "品类代码",
  16115. "type": "string"
  16116. },
  16117. "wrstandardid": {
  16118. "description": "品类id",
  16119. "type": "integer"
  16120. },
  16121. "wrstandardname": {
  16122. "description": "品类名称",
  16123. "type": "string"
  16124. }
  16125. }
  16126. },
  16127. "ermcp.QryBussinessJsExRsp": {
  16128. "type": "object",
  16129. "properties": {
  16130. "applyid": {
  16131. "description": "申请人",
  16132. "type": "string"
  16133. },
  16134. "applyname": {
  16135. "description": "申请人名称",
  16136. "type": "string"
  16137. },
  16138. "applystatus": {
  16139. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  16140. "type": "integer"
  16141. },
  16142. "applytime": {
  16143. "description": "申请时间",
  16144. "type": "string"
  16145. },
  16146. "attachurl": {
  16147. "description": "附件",
  16148. "type": "string"
  16149. },
  16150. "auditid": {
  16151. "description": "审核人ID",
  16152. "type": "string"
  16153. },
  16154. "auditname": {
  16155. "description": "审核人名称",
  16156. "type": "string"
  16157. },
  16158. "auditremark": {
  16159. "description": "审核备注",
  16160. "type": "string"
  16161. },
  16162. "audittime": {
  16163. "description": "审核时间",
  16164. "type": "string"
  16165. },
  16166. "buyusername": {
  16167. "description": "采购方名称",
  16168. "type": "string"
  16169. },
  16170. "contractno": {
  16171. "description": "合同编号",
  16172. "type": "string"
  16173. },
  16174. "contractstatus": {
  16175. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  16176. "type": "integer"
  16177. },
  16178. "contracttype": {
  16179. "description": "现货合同类型 - 1:采购 -1:销售",
  16180. "type": "integer"
  16181. },
  16182. "deliverygoodscode": {
  16183. "description": "现货品种代码",
  16184. "type": "string"
  16185. },
  16186. "deliverygoodsid": {
  16187. "description": "现货商品ID",
  16188. "type": "integer"
  16189. },
  16190. "deliverygoodsname": {
  16191. "description": "现货品种名称",
  16192. "type": "string"
  16193. },
  16194. "enumdicname": {
  16195. "description": "单位名称",
  16196. "type": "string"
  16197. },
  16198. "goodscode": {
  16199. "description": "点价合约",
  16200. "type": "string"
  16201. },
  16202. "goodsname": {
  16203. "description": "商品名称",
  16204. "type": "string"
  16205. },
  16206. "operateapplyid": {
  16207. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  16208. "type": "string"
  16209. },
  16210. "operateapplytype": {
  16211. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  16212. "type": "integer"
  16213. },
  16214. "pricemove": {
  16215. "description": "升贴水",
  16216. "type": "number"
  16217. },
  16218. "pricetype": {
  16219. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  16220. "type": "integer"
  16221. },
  16222. "reckontype": {
  16223. "description": "结算类型",
  16224. "type": "string"
  16225. },
  16226. "reckonvalue": {
  16227. "description": "值",
  16228. "type": "number"
  16229. },
  16230. "relatedid": {
  16231. "description": "现货合同ID",
  16232. "type": "string"
  16233. },
  16234. "sellusername": {
  16235. "description": "销售方名字",
  16236. "type": "string"
  16237. },
  16238. "userid": {
  16239. "description": "用户ID",
  16240. "type": "integer"
  16241. },
  16242. "wrstandardcode": {
  16243. "description": "品类代码",
  16244. "type": "string"
  16245. },
  16246. "wrstandardid": {
  16247. "description": "品类id",
  16248. "type": "integer"
  16249. },
  16250. "wrstandardname": {
  16251. "description": "品类名称",
  16252. "type": "string"
  16253. }
  16254. }
  16255. },
  16256. "ermcp.QryBussinessJsRsp": {
  16257. "type": "object",
  16258. "properties": {
  16259. "addmargin": {
  16260. "description": "追加保证金(非必填)",
  16261. "type": "number"
  16262. },
  16263. "applyid": {
  16264. "description": "申请人",
  16265. "type": "string"
  16266. },
  16267. "applyname": {
  16268. "description": "申请人名称",
  16269. "type": "string"
  16270. },
  16271. "applystatus": {
  16272. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  16273. "type": "integer"
  16274. },
  16275. "applytime": {
  16276. "description": "申请时间",
  16277. "type": "string"
  16278. },
  16279. "attachurl": {
  16280. "description": "附件",
  16281. "type": "string"
  16282. },
  16283. "auditid": {
  16284. "description": "审核人ID",
  16285. "type": "string"
  16286. },
  16287. "auditname": {
  16288. "description": "审核人名称",
  16289. "type": "string"
  16290. },
  16291. "auditremark": {
  16292. "description": "审核备注",
  16293. "type": "string"
  16294. },
  16295. "audittime": {
  16296. "description": "审核时间",
  16297. "type": "string"
  16298. },
  16299. "buyusername": {
  16300. "description": "采购方名称",
  16301. "type": "string"
  16302. },
  16303. "contractno": {
  16304. "description": "合同编号",
  16305. "type": "string"
  16306. },
  16307. "contractstatus": {
  16308. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  16309. "type": "integer"
  16310. },
  16311. "contracttype": {
  16312. "description": "现货合同类型 - 1:采购 -1:销售",
  16313. "type": "integer"
  16314. },
  16315. "decmargin": {
  16316. "description": "减少保证金(非必填)",
  16317. "type": "number"
  16318. },
  16319. "deliverygoodscode": {
  16320. "description": "现货品种代码",
  16321. "type": "string"
  16322. },
  16323. "deliverygoodsid": {
  16324. "description": "现货商品ID",
  16325. "type": "integer"
  16326. },
  16327. "deliverygoodsname": {
  16328. "description": "现货品种名称",
  16329. "type": "string"
  16330. },
  16331. "enumdicname": {
  16332. "description": "单位名称",
  16333. "type": "string"
  16334. },
  16335. "goodscode": {
  16336. "description": "点价合约",
  16337. "type": "string"
  16338. },
  16339. "goodsname": {
  16340. "description": "商品名称",
  16341. "type": "string"
  16342. },
  16343. "operateapplyid": {
  16344. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  16345. "type": "string"
  16346. },
  16347. "operateapplytype": {
  16348. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  16349. "type": "integer"
  16350. },
  16351. "pricemove": {
  16352. "description": "升贴水",
  16353. "type": "number"
  16354. },
  16355. "pricetype": {
  16356. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  16357. "type": "integer"
  16358. },
  16359. "reckonadjustamount": {
  16360. "description": "结算调整金额(非必填)",
  16361. "type": "number"
  16362. },
  16363. "reckonosamount": {
  16364. "description": "结算溢短金额(非必填)",
  16365. "type": "number"
  16366. },
  16367. "reckonotheramount": {
  16368. "description": "结算其他费用(非必填)",
  16369. "type": "number"
  16370. },
  16371. "reckonrealqty": {
  16372. "description": "结算实际数量(非必填)",
  16373. "type": "number"
  16374. },
  16375. "relatedid": {
  16376. "description": "现货合同ID",
  16377. "type": "string"
  16378. },
  16379. "sellusername": {
  16380. "description": "销售方名字",
  16381. "type": "string"
  16382. },
  16383. "userid": {
  16384. "description": "用户ID",
  16385. "type": "integer"
  16386. },
  16387. "wrstandardcode": {
  16388. "description": "品类代码",
  16389. "type": "string"
  16390. },
  16391. "wrstandardid": {
  16392. "description": "品类id",
  16393. "type": "integer"
  16394. },
  16395. "wrstandardname": {
  16396. "description": "品类名称",
  16397. "type": "string"
  16398. }
  16399. }
  16400. },
  16401. "ermcp.QryBussinessKxRsp": {
  16402. "type": "object",
  16403. "properties": {
  16404. "applyid": {
  16405. "description": "申请人",
  16406. "type": "string"
  16407. },
  16408. "applyname": {
  16409. "description": "申请人名称",
  16410. "type": "string"
  16411. },
  16412. "applystatus": {
  16413. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  16414. "type": "integer"
  16415. },
  16416. "applytime": {
  16417. "description": "申请时间",
  16418. "type": "string"
  16419. },
  16420. "attachurl": {
  16421. "description": "附件",
  16422. "type": "string"
  16423. },
  16424. "auditid": {
  16425. "description": "审核人ID",
  16426. "type": "string"
  16427. },
  16428. "auditname": {
  16429. "description": "审核人名称",
  16430. "type": "string"
  16431. },
  16432. "auditremark": {
  16433. "description": "审核备注",
  16434. "type": "string"
  16435. },
  16436. "audittime": {
  16437. "description": "审核时间",
  16438. "type": "string"
  16439. },
  16440. "buyusername": {
  16441. "description": "采购方名称",
  16442. "type": "string"
  16443. },
  16444. "contractno": {
  16445. "description": "合同编号",
  16446. "type": "string"
  16447. },
  16448. "contractstatus": {
  16449. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  16450. "type": "integer"
  16451. },
  16452. "contracttype": {
  16453. "description": "现货合同类型 - 1:采购 -1:销售",
  16454. "type": "integer"
  16455. },
  16456. "deductamount": {
  16457. "description": "退款(非必填)",
  16458. "type": "number"
  16459. },
  16460. "deliverygoodscode": {
  16461. "description": "现货品种代码",
  16462. "type": "string"
  16463. },
  16464. "deliverygoodsid": {
  16465. "description": "现货商品ID",
  16466. "type": "integer"
  16467. },
  16468. "deliverygoodsname": {
  16469. "description": "现货品种名称",
  16470. "type": "string"
  16471. },
  16472. "enumdicname": {
  16473. "description": "单位名称",
  16474. "type": "string"
  16475. },
  16476. "goodscode": {
  16477. "description": "点价合约",
  16478. "type": "string"
  16479. },
  16480. "goodsname": {
  16481. "description": "商品名称",
  16482. "type": "string"
  16483. },
  16484. "kxtype": {
  16485. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  16486. "type": "integer"
  16487. },
  16488. "operateapplyid": {
  16489. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  16490. "type": "string"
  16491. },
  16492. "operateapplytype": {
  16493. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  16494. "type": "integer"
  16495. },
  16496. "payamount": {
  16497. "description": "收付款(非必填)",
  16498. "type": "number"
  16499. },
  16500. "pricemove": {
  16501. "description": "升贴水",
  16502. "type": "number"
  16503. },
  16504. "pricetype": {
  16505. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  16506. "type": "integer"
  16507. },
  16508. "relatedid": {
  16509. "description": "现货合同ID",
  16510. "type": "string"
  16511. },
  16512. "sellusername": {
  16513. "description": "销售方名字",
  16514. "type": "string"
  16515. },
  16516. "userid": {
  16517. "description": "用户ID",
  16518. "type": "integer"
  16519. },
  16520. "wrstandardcode": {
  16521. "description": "品类代码",
  16522. "type": "string"
  16523. },
  16524. "wrstandardid": {
  16525. "description": "品类id",
  16526. "type": "integer"
  16527. },
  16528. "wrstandardname": {
  16529. "description": "品类名称",
  16530. "type": "string"
  16531. }
  16532. }
  16533. },
  16534. "ermcp.QryGGCovertCfgRsp": {
  16535. "type": "object",
  16536. "properties": {
  16537. "convertratio": {
  16538. "description": "折算系数",
  16539. "type": "number"
  16540. },
  16541. "destgoodsgroupid": {
  16542. "description": "目标品种ID",
  16543. "type": "integer"
  16544. },
  16545. "dstcode": {
  16546. "description": "目录品种代码",
  16547. "type": "string"
  16548. },
  16549. "dstexchangecode": {
  16550. "description": "目标期货交易所",
  16551. "type": "string"
  16552. },
  16553. "dstname": {
  16554. "description": "目标品种名称",
  16555. "type": "string"
  16556. },
  16557. "dstunitid": {
  16558. "description": "目标品种单位ID",
  16559. "type": "integer"
  16560. },
  16561. "dstunitidname": {
  16562. "description": "目标品种单位名称",
  16563. "type": "string"
  16564. },
  16565. "modifytime": {
  16566. "description": "修改时间",
  16567. "type": "string"
  16568. },
  16569. "srccode": {
  16570. "description": "源品种代码",
  16571. "type": "string"
  16572. },
  16573. "srcexchangecode": {
  16574. "description": "源期货交易所",
  16575. "type": "string"
  16576. },
  16577. "srcgoodsgroupid": {
  16578. "description": "源品种ID",
  16579. "type": "integer"
  16580. },
  16581. "srcname": {
  16582. "description": "源品种名称",
  16583. "type": "string"
  16584. },
  16585. "srcunitid": {
  16586. "description": "源品种单位ID",
  16587. "type": "integer"
  16588. },
  16589. "srcunitidname": {
  16590. "description": "源品种单位名称",
  16591. "type": "string"
  16592. }
  16593. }
  16594. },
  16595. "ermcp.QryMGChangeLogRsp": {
  16596. "type": "object",
  16597. "properties": {
  16598. "aftervalue": {
  16599. "description": "变更后",
  16600. "type": "number"
  16601. },
  16602. "applyid": {
  16603. "description": "操作人",
  16604. "type": "integer"
  16605. },
  16606. "applyname": {
  16607. "description": "操作人名称",
  16608. "type": "string"
  16609. },
  16610. "applysrc": {
  16611. "description": "操作来源 - 1:管理端 2:终端",
  16612. "type": "integer"
  16613. },
  16614. "beforevalue": {
  16615. "description": "变更前",
  16616. "type": "number"
  16617. },
  16618. "changelogtype": {
  16619. "description": "变更流水类型 - 1:套保比率变更",
  16620. "type": "integer"
  16621. },
  16622. "handlestatus": {
  16623. "description": "处理状态",
  16624. "type": "integer"
  16625. },
  16626. "logdatetime": {
  16627. "description": "流水日期",
  16628. "type": "string"
  16629. },
  16630. "logid": {
  16631. "description": "流水ID",
  16632. "type": "integer"
  16633. },
  16634. "logremark": {
  16635. "description": "流水备注",
  16636. "type": "string"
  16637. },
  16638. "middlegoodsid": {
  16639. "description": "套保品种ID",
  16640. "type": "integer"
  16641. },
  16642. "tradedate": {
  16643. "description": "交易日(yyyyMMdd)",
  16644. "type": "string"
  16645. },
  16646. "updatetime": {
  16647. "description": "更新时间",
  16648. "type": "string"
  16649. }
  16650. }
  16651. },
  16652. "ermcp.QryMiddleGoodsDetailRsp": {
  16653. "type": "object",
  16654. "properties": {
  16655. "cvList": {
  16656. "description": "期货品种折算列表",
  16657. "type": "array",
  16658. "items": {
  16659. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  16660. }
  16661. },
  16662. "mg": {
  16663. "description": "套保品种基本信息",
  16664. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  16665. },
  16666. "wrcList": {
  16667. "description": "现货品种列表(现货商品折算配置)",
  16668. "type": "array",
  16669. "items": {
  16670. "$ref": "#/definitions/models.WRSConverTDetail"
  16671. }
  16672. }
  16673. }
  16674. },
  16675. "ermcp.QryMiddleGoodsRsp": {
  16676. "type": "object",
  16677. "properties": {
  16678. "areauserid": {
  16679. "description": "机构用户ID",
  16680. "type": "integer"
  16681. },
  16682. "createtime": {
  16683. "description": "修改时间",
  16684. "type": "string"
  16685. },
  16686. "enumdicname": {
  16687. "description": "单位名称",
  16688. "type": "string"
  16689. },
  16690. "evaluateratio": {
  16691. "description": "估价系数",
  16692. "type": "number"
  16693. },
  16694. "goodsgroupid": {
  16695. "description": "关联期货品种ID",
  16696. "type": "integer"
  16697. },
  16698. "goodsunitid": {
  16699. "description": "单位ID",
  16700. "type": "integer"
  16701. },
  16702. "isvalid": {
  16703. "description": "状态 0-无效(停用) 1-有效(正常)",
  16704. "type": "integer"
  16705. },
  16706. "middlegoodscode": {
  16707. "description": "套保品种代码",
  16708. "type": "string"
  16709. },
  16710. "middlegoodsid": {
  16711. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  16712. "type": "integer"
  16713. },
  16714. "middlegoodsname": {
  16715. "description": "套保品种名称",
  16716. "type": "string"
  16717. },
  16718. "modifytime": {
  16719. "description": "修改时间",
  16720. "type": "string"
  16721. },
  16722. "needarbitrageratio": {
  16723. "description": "套利比例",
  16724. "type": "number"
  16725. },
  16726. "needhedgeratio": {
  16727. "description": "套保比率",
  16728. "type": "number"
  16729. },
  16730. "qtydecimalplace": {
  16731. "description": "数量小数位",
  16732. "type": "integer"
  16733. },
  16734. "relatedgoodsid": {
  16735. "description": "关联交易商品ID",
  16736. "type": "integer"
  16737. },
  16738. "relatedgoodstype": {
  16739. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  16740. "type": "integer"
  16741. },
  16742. "remark": {
  16743. "description": "备注",
  16744. "type": "string"
  16745. }
  16746. }
  16747. },
  16748. "ermcp.QryOPLogRsp": {
  16749. "type": "object",
  16750. "properties": {
  16751. "aftervalue": {
  16752. "description": "变更后",
  16753. "type": "number"
  16754. },
  16755. "applyid": {
  16756. "description": "操作人ID",
  16757. "type": "string"
  16758. },
  16759. "applyname": {
  16760. "description": "操作人名称",
  16761. "type": "string"
  16762. },
  16763. "beforevalue": {
  16764. "description": "变更前",
  16765. "type": "number"
  16766. },
  16767. "biztype": {
  16768. "description": "业务类型 - 1:套保计划 2:现货合同",
  16769. "type": "integer"
  16770. },
  16771. "contracttype": {
  16772. "description": "现货合同类型 - 1:采购 -1:销售",
  16773. "type": "integer"
  16774. },
  16775. "logvalue": {
  16776. "description": "数值",
  16777. "type": "number"
  16778. },
  16779. "operatelogtype": {
  16780. "description": "操作流水类型",
  16781. "type": "integer"
  16782. },
  16783. "operatelogtypedesc": {
  16784. "description": "操作流水类型名称",
  16785. "type": "string"
  16786. },
  16787. "relatedid": {
  16788. "description": "现货合同ID\\套保计划",
  16789. "type": "string"
  16790. },
  16791. "updatetime": {
  16792. "description": "更新时间",
  16793. "type": "string"
  16794. }
  16795. }
  16796. },
  16797. "ermcp.QryUserInfoRsp": {
  16798. "type": "object",
  16799. "properties": {
  16800. "address": {
  16801. "description": "通讯地址",
  16802. "type": "string"
  16803. },
  16804. "attachment1": {
  16805. "description": "附件1",
  16806. "type": "string"
  16807. },
  16808. "audittime": {
  16809. "description": "审核时间",
  16810. "type": "string"
  16811. },
  16812. "cardbackphotourl": {
  16813. "description": "证件反面图片地址",
  16814. "type": "string"
  16815. },
  16816. "cardfrontphotourl": {
  16817. "description": "证件正面图片地址",
  16818. "type": "string"
  16819. },
  16820. "cardnum": {
  16821. "description": "证件号码",
  16822. "type": "string"
  16823. },
  16824. "cardtype": {
  16825. "description": "证件类型",
  16826. "type": "integer"
  16827. },
  16828. "cardtypename": {
  16829. "description": "证件类型名称",
  16830. "type": "string"
  16831. },
  16832. "cityid": {
  16833. "description": "市",
  16834. "type": "integer"
  16835. },
  16836. "contactname": {
  16837. "description": "联系人",
  16838. "type": "string"
  16839. },
  16840. "countryid": {
  16841. "description": "国家",
  16842. "type": "integer"
  16843. },
  16844. "createtime": {
  16845. "description": "创建时间",
  16846. "type": "string"
  16847. },
  16848. "customername": {
  16849. "description": "企业名称",
  16850. "type": "string"
  16851. },
  16852. "districtid": {
  16853. "description": "区域",
  16854. "type": "integer"
  16855. },
  16856. "email": {
  16857. "description": "邮件",
  16858. "type": "string"
  16859. },
  16860. "legalpersonname": {
  16861. "description": "法人姓名(企业)",
  16862. "type": "string"
  16863. },
  16864. "memberuserid": {
  16865. "description": "所属机构ID",
  16866. "type": "integer"
  16867. },
  16868. "mobile": {
  16869. "description": "手机号码",
  16870. "type": "string"
  16871. },
  16872. "modifytime": {
  16873. "description": "修改时间",
  16874. "type": "string"
  16875. },
  16876. "nickname": {
  16877. "description": "昵称",
  16878. "type": "string"
  16879. },
  16880. "provinceid": {
  16881. "description": "省",
  16882. "type": "integer"
  16883. },
  16884. "remark": {
  16885. "description": "备注",
  16886. "type": "string"
  16887. },
  16888. "status": {
  16889. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  16890. "type": "integer"
  16891. },
  16892. "statusdesc": {
  16893. "description": "账户状态中文描述",
  16894. "type": "string"
  16895. },
  16896. "taxpayernum": {
  16897. "description": "纳税人识别号",
  16898. "type": "string"
  16899. },
  16900. "telphone": {
  16901. "description": "联系电话",
  16902. "type": "string"
  16903. },
  16904. "userid": {
  16905. "description": "用户ID",
  16906. "type": "integer"
  16907. },
  16908. "userinfotype": {
  16909. "description": "客户类型",
  16910. "type": "string"
  16911. }
  16912. }
  16913. },
  16914. "ermcp.QryWarehouseRsp": {
  16915. "type": "object",
  16916. "properties": {
  16917. "address": {
  16918. "description": "详细地址",
  16919. "type": "string"
  16920. },
  16921. "areauserid": {
  16922. "description": "所属机构",
  16923. "type": "integer"
  16924. },
  16925. "autoid": {
  16926. "description": "自增ID(仓库ID)",
  16927. "type": "integer"
  16928. },
  16929. "cityid": {
  16930. "description": "市",
  16931. "type": "integer"
  16932. },
  16933. "contactname": {
  16934. "description": "联系人",
  16935. "type": "string"
  16936. },
  16937. "contactnum": {
  16938. "description": "联系电话",
  16939. "type": "string"
  16940. },
  16941. "countryid": {
  16942. "description": "国家",
  16943. "type": "integer"
  16944. },
  16945. "createtime": {
  16946. "description": "创建时间",
  16947. "type": "string"
  16948. },
  16949. "districtid": {
  16950. "description": "区",
  16951. "type": "integer"
  16952. },
  16953. "hasvideo": {
  16954. "description": "是否有视频 - 0:无 1:有",
  16955. "type": "integer"
  16956. },
  16957. "provinceid": {
  16958. "description": "省",
  16959. "type": "integer"
  16960. },
  16961. "remark": {
  16962. "description": "审核备注",
  16963. "type": "string"
  16964. },
  16965. "videourl": {
  16966. "description": "视频地址",
  16967. "type": "string"
  16968. },
  16969. "warehousecode": {
  16970. "description": "仓库代码",
  16971. "type": "string"
  16972. },
  16973. "warehousename": {
  16974. "description": "仓库名称",
  16975. "type": "string"
  16976. },
  16977. "warehousestatus": {
  16978. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  16979. "type": "integer"
  16980. },
  16981. "warehousetype": {
  16982. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  16983. "type": "integer"
  16984. }
  16985. }
  16986. },
  16987. "ermcp.QueryErmcpTradePositionRsp": {
  16988. "type": "object",
  16989. "properties": {
  16990. "agreeunit": {
  16991. "description": "合约单位",
  16992. "type": "number"
  16993. },
  16994. "buyorsell": {
  16995. "description": "方向 - 0:买 1:卖",
  16996. "type": "integer"
  16997. },
  16998. "curpositionqty": {
  16999. "description": "持仓(总仓数量, 期末头寸)",
  17000. "type": "integer"
  17001. },
  17002. "curtdposition": {
  17003. "description": "今仓数量(期末今日头寸)",
  17004. "type": "integer"
  17005. },
  17006. "curtdpositionenabled": {
  17007. "description": "今仓可用",
  17008. "type": "integer"
  17009. },
  17010. "decimalplace": {
  17011. "description": "报价小数位",
  17012. "type": "integer"
  17013. },
  17014. "enableqty": {
  17015. "description": "可用(总仓可用)",
  17016. "type": "integer"
  17017. },
  17018. "exexchangename": {
  17019. "description": "外部交易所名称",
  17020. "type": "string"
  17021. },
  17022. "exexehangecode": {
  17023. "description": "外部交易所代码",
  17024. "type": "string"
  17025. },
  17026. "exexehangeid": {
  17027. "description": "外部交易所id",
  17028. "type": "integer"
  17029. },
  17030. "goodscode": {
  17031. "description": "商品代码(内部)",
  17032. "type": "string"
  17033. },
  17034. "goodsid": {
  17035. "description": "商品ID(自增ID SEQ_GOODS)",
  17036. "type": "integer"
  17037. },
  17038. "goodsname": {
  17039. "description": "商品名称",
  17040. "type": "string"
  17041. },
  17042. "last": {
  17043. "description": "现价",
  17044. "type": "number"
  17045. },
  17046. "marketid": {
  17047. "description": "所属市场ID",
  17048. "type": "integer"
  17049. },
  17050. "openaverageprice": {
  17051. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  17052. "type": "number"
  17053. },
  17054. "opencost": {
  17055. "description": "开仓成本",
  17056. "type": "number"
  17057. },
  17058. "openpl": {
  17059. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  17060. "type": "number"
  17061. },
  17062. "outgoodscode": {
  17063. "description": "商品代码(外部)",
  17064. "type": "string"
  17065. },
  17066. "positionaverageprice": {
  17067. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  17068. "type": "number"
  17069. },
  17070. "positioncost": {
  17071. "description": "持仓成本",
  17072. "type": "number"
  17073. },
  17074. "positionpl": {
  17075. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  17076. "type": "number"
  17077. },
  17078. "positionplrate": {
  17079. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  17080. "type": "number"
  17081. },
  17082. "usedmargin": {
  17083. "description": "占用保证金",
  17084. "type": "number"
  17085. }
  17086. }
  17087. },
  17088. "ermcp.RealtimeExposurePositionRsp": {
  17089. "type": "object",
  17090. "properties": {
  17091. "agreeunit": {
  17092. "description": "合约单位",
  17093. "type": "string"
  17094. },
  17095. "areauserid": {
  17096. "description": "所属机构id",
  17097. "type": "integer"
  17098. },
  17099. "convertratio": {
  17100. "description": "期货品种系数(折算系数)",
  17101. "type": "number"
  17102. },
  17103. "curqty": {
  17104. "description": "当前持仓",
  17105. "type": "integer"
  17106. },
  17107. "diffhedgeqty": {
  17108. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  17109. "type": "number"
  17110. },
  17111. "diffqty": {
  17112. "description": "持仓变动量=当前持仓-昨日持仓",
  17113. "type": "integer"
  17114. },
  17115. "goodscode": {
  17116. "description": "商品代码",
  17117. "type": "string"
  17118. },
  17119. "goodsid": {
  17120. "description": "商品id",
  17121. "type": "integer"
  17122. },
  17123. "goodsname": {
  17124. "description": "商品名称",
  17125. "type": "string"
  17126. },
  17127. "middlegoodsid": {
  17128. "description": "套保商品id",
  17129. "type": "integer"
  17130. },
  17131. "ydqty": {
  17132. "description": "昨日持仓",
  17133. "type": "integer"
  17134. }
  17135. }
  17136. },
  17137. "ermcp.RealtimeExposureRsp": {
  17138. "type": "object",
  17139. "properties": {
  17140. "AreaUserID": {
  17141. "description": "所属机构",
  17142. "type": "integer"
  17143. },
  17144. "BuyFutureQty": {
  17145. "description": "买入期货数量",
  17146. "type": "number"
  17147. },
  17148. "BuyPlanQty": {
  17149. "description": "采购计划数量",
  17150. "type": "number"
  17151. },
  17152. "BuyPricedQty": {
  17153. "description": "采购合同已定价数量",
  17154. "type": "number"
  17155. },
  17156. "MiddleGoodsCode": {
  17157. "description": "套保品种代码",
  17158. "type": "string"
  17159. },
  17160. "MiddleGoodsHedgeRatio": {
  17161. "description": "套保比例",
  17162. "type": "number"
  17163. },
  17164. "MiddleGoodsID": {
  17165. "description": "套保品种",
  17166. "type": "integer"
  17167. },
  17168. "MiddleGoodsName": {
  17169. "description": "套保品种名称",
  17170. "type": "string"
  17171. },
  17172. "NeedHedgeExposoure": {
  17173. "description": "应套保敞口(套保敞口)",
  17174. "type": "number"
  17175. },
  17176. "NeedHedgeRatio": {
  17177. "description": "应套保敞口比例",
  17178. "type": "number"
  17179. },
  17180. "OriBuyFutureQty": {
  17181. "description": "期初买入期货数量",
  17182. "type": "number"
  17183. },
  17184. "OriBuyPlanQty": {
  17185. "description": "期初采购计划数量",
  17186. "type": "number"
  17187. },
  17188. "OriBuyPricedQty": {
  17189. "description": "期初采购合同已定价数量",
  17190. "type": "number"
  17191. },
  17192. "OriSellFutureQty": {
  17193. "description": "期初卖出期货数量",
  17194. "type": "number"
  17195. },
  17196. "OriSellPlanQty": {
  17197. "description": "期初销售计划数量",
  17198. "type": "number"
  17199. },
  17200. "OriSellPricedQty": {
  17201. "description": "期初销售合同已定价数量",
  17202. "type": "number"
  17203. },
  17204. "SellFutureQty": {
  17205. "description": "卖出期货数量",
  17206. "type": "number"
  17207. },
  17208. "SellPlanQty": {
  17209. "description": "销售计划数量",
  17210. "type": "number"
  17211. },
  17212. "SellPricedQty": {
  17213. "description": "销售合同已定价数量",
  17214. "type": "number"
  17215. },
  17216. "TotalExposure": {
  17217. "description": "总敞口 平安:净敞口",
  17218. "type": "number"
  17219. },
  17220. "TotalFutureQty": {
  17221. "description": "期货总量 平安:保值净持仓量",
  17222. "type": "number"
  17223. },
  17224. "TotalHedgeRatio": {
  17225. "description": "敞口比例",
  17226. "type": "number"
  17227. },
  17228. "TotalNeedHedgeQty": {
  17229. "description": "应套保总量(现货应套保总量)",
  17230. "type": "number"
  17231. },
  17232. "TotalSpotQty": {
  17233. "description": "现货总量 平安:采销定价净值",
  17234. "type": "number"
  17235. },
  17236. "arbitrageqty": {
  17237. "description": "套利量",
  17238. "type": "number"
  17239. },
  17240. "diffArbitrageQty": {
  17241. "description": "套利变动量",
  17242. "type": "number"
  17243. },
  17244. "diffExposoureQty": {
  17245. "description": "变动量(套保敞口)",
  17246. "type": "number"
  17247. },
  17248. "diffFutuQty": {
  17249. "description": "变动量(期货总量) 平安:保值净持仓量今日变动",
  17250. "type": "number"
  17251. },
  17252. "diffHedgeQty": {
  17253. "description": "套保变动量",
  17254. "type": "number"
  17255. },
  17256. "diffQty": {
  17257. "description": "变动量(总敞口) 平安:净敞口今日变动",
  17258. "type": "number"
  17259. },
  17260. "diffSpotHedgeQty": {
  17261. "description": "变动量(现货应套保总量) 平安:应套保量今日变动",
  17262. "type": "number"
  17263. },
  17264. "diffSpotQty": {
  17265. "description": "变动量(现货总量) = 现货数量 - 期初现货数量 平安:采销定价净值今日变动",
  17266. "type": "number"
  17267. },
  17268. "enumdicname": {
  17269. "description": "单位名称",
  17270. "type": "string"
  17271. },
  17272. "hedgeqty": {
  17273. "description": "套保量",
  17274. "type": "number"
  17275. },
  17276. "needarbitrageqty": {
  17277. "description": "应套利量",
  17278. "type": "number"
  17279. },
  17280. "needarbitrageratio": {
  17281. "description": "套利比例",
  17282. "type": "number"
  17283. },
  17284. "needhedgeqty": {
  17285. "description": "应套保量",
  17286. "type": "number"
  17287. },
  17288. "oriTotalFutuQty": {
  17289. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  17290. "type": "number"
  17291. },
  17292. "oriTotalSpotQty": {
  17293. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  17294. "type": "number"
  17295. },
  17296. "oriarbitrageqty": {
  17297. "description": "期初套利量",
  17298. "type": "number"
  17299. },
  17300. "orihedgeqty": {
  17301. "description": "期初套保量",
  17302. "type": "number"
  17303. },
  17304. "orineedhedgeexposoure": {
  17305. "description": "期初套保敞口",
  17306. "type": "number"
  17307. },
  17308. "oritotalexposure": {
  17309. "description": "期初总敞口",
  17310. "type": "number"
  17311. },
  17312. "oritotalfutureqty": {
  17313. "description": "期初期货总量",
  17314. "type": "number"
  17315. },
  17316. "oritotalneedhedgeqty": {
  17317. "description": "期初现货应套保量",
  17318. "type": "number"
  17319. }
  17320. }
  17321. },
  17322. "erms2.QueryArbitrageStrategyRsp": {
  17323. "type": "object",
  17324. "required": [
  17325. "asapplyid"
  17326. ],
  17327. "properties": {
  17328. "applybasis": {
  17329. "description": "申请基差",
  17330. "type": "number"
  17331. },
  17332. "asapplyid": {
  17333. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  17334. "type": "string"
  17335. },
  17336. "asname": {
  17337. "description": "策略名称",
  17338. "type": "string"
  17339. },
  17340. "asno": {
  17341. "description": "策略编号",
  17342. "type": "string"
  17343. },
  17344. "basischangepl": {
  17345. "description": "基差变动损益[结算更新]",
  17346. "type": "number"
  17347. },
  17348. "biztype": {
  17349. "description": "业务类型 - 1:正向套利 -1:反向套利",
  17350. "type": "integer"
  17351. },
  17352. "closetradedate": {
  17353. "description": "完结交易日(yyyyMMdd)",
  17354. "type": "string"
  17355. },
  17356. "curbasis": {
  17357. "description": "当前基差[结算更新]",
  17358. "type": "number"
  17359. },
  17360. "deliverygoodsid": {
  17361. "description": "现货品种ID",
  17362. "type": "integer"
  17363. },
  17364. "futureavgprice": {
  17365. "description": "期货建仓均价",
  17366. "type": "number"
  17367. },
  17368. "futurecloseamount": {
  17369. "description": "期货平仓金额",
  17370. "type": "number"
  17371. },
  17372. "futurecloseqty": {
  17373. "description": "期货平仓数量",
  17374. "type": "number"
  17375. },
  17376. "futureopenamount": {
  17377. "description": "期货开仓金额",
  17378. "type": "number"
  17379. },
  17380. "futureopenqty": {
  17381. "description": "期货开仓数量",
  17382. "type": "number"
  17383. },
  17384. "futurepl": {
  17385. "description": "期货总盈亏[结算更新]",
  17386. "type": "number"
  17387. },
  17388. "futureqty": {
  17389. "description": "期货持仓数量",
  17390. "type": "number"
  17391. },
  17392. "futurequote": {
  17393. "description": "期货额度",
  17394. "type": "number"
  17395. },
  17396. "goodsgroupid": {
  17397. "description": "期货品种ID",
  17398. "type": "integer"
  17399. },
  17400. "marketid": {
  17401. "description": "市场ID",
  17402. "type": "integer"
  17403. },
  17404. "netexposure": {
  17405. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  17406. "type": "number"
  17407. },
  17408. "netexposurepl": {
  17409. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  17410. "type": "number"
  17411. },
  17412. "netexposurerate": {
  17413. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  17414. "type": "number"
  17415. },
  17416. "openbasis": {
  17417. "description": "建仓基差",
  17418. "type": "number"
  17419. },
  17420. "pricedspotqty": {
  17421. "description": "已定价现货数量",
  17422. "type": "number"
  17423. },
  17424. "pricedspotqtynotax": {
  17425. "description": "已定价现货不含税数量",
  17426. "type": "number"
  17427. },
  17428. "remark": {
  17429. "description": "备注",
  17430. "type": "string"
  17431. },
  17432. "spotavgprice": {
  17433. "description": "现货均价",
  17434. "type": "number"
  17435. },
  17436. "spotbuyamount": {
  17437. "description": "现货采购金额",
  17438. "type": "number"
  17439. },
  17440. "spotbuyqty": {
  17441. "description": "现货采购数量",
  17442. "type": "number"
  17443. },
  17444. "spotpl": {
  17445. "description": "现货总盈亏[结算更新]",
  17446. "type": "number"
  17447. },
  17448. "spotquota": {
  17449. "description": "现货额度",
  17450. "type": "number"
  17451. },
  17452. "spotsellamount": {
  17453. "description": "现货销售金额",
  17454. "type": "number"
  17455. },
  17456. "spotsellqty": {
  17457. "description": "现货销售数量",
  17458. "type": "number"
  17459. },
  17460. "spotusedquota": {
  17461. "description": "现货占用资金",
  17462. "type": "number"
  17463. },
  17464. "strategystatus": {
  17465. "description": "策略状态 - 0:未结束 1:已结束",
  17466. "type": "integer"
  17467. },
  17468. "totalpl": {
  17469. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  17470. "type": "number"
  17471. },
  17472. "tradedate": {
  17473. "description": "交易日(yyyyMMdd)",
  17474. "type": "string"
  17475. },
  17476. "updatetime": {
  17477. "description": "更新时间",
  17478. "type": "string"
  17479. },
  17480. "usedquota": {
  17481. "description": "已占用资金",
  17482. "type": "number"
  17483. },
  17484. "userid": {
  17485. "description": "所属机构",
  17486. "type": "integer"
  17487. }
  17488. }
  17489. },
  17490. "erms2.QueryInnerTradeDetailRsp": {
  17491. "type": "object",
  17492. "required": [
  17493. "asapplyid",
  17494. "buyorsell",
  17495. "goodscode",
  17496. "goodsgroupid",
  17497. "goodsgroupname",
  17498. "goodsname",
  17499. "tradeid"
  17500. ],
  17501. "properties": {
  17502. "accountid": {
  17503. "description": "账号ID",
  17504. "type": "integer"
  17505. },
  17506. "agreeunit": {
  17507. "description": "合约单位",
  17508. "type": "number"
  17509. },
  17510. "asapplyid": {
  17511. "description": "策略申请ID",
  17512. "type": "integer"
  17513. },
  17514. "asname": {
  17515. "description": "策略名称",
  17516. "type": "string"
  17517. },
  17518. "asno": {
  17519. "description": "策略编号",
  17520. "type": "string"
  17521. },
  17522. "buyorsell": {
  17523. "description": "方向 - 0:买 1:卖",
  17524. "type": "integer"
  17525. },
  17526. "channelbuildtype": {
  17527. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  17528. "type": "integer"
  17529. },
  17530. "closetype": {
  17531. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  17532. "type": "integer"
  17533. },
  17534. "decimalplace": {
  17535. "description": "报价小数位",
  17536. "type": "integer"
  17537. },
  17538. "detailtype": {
  17539. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  17540. "type": "integer"
  17541. },
  17542. "exexchangecode": {
  17543. "description": "外部交易所代码",
  17544. "type": "string"
  17545. },
  17546. "exexchangename": {
  17547. "description": "外部交易所名称",
  17548. "type": "string"
  17549. },
  17550. "goodscode": {
  17551. "description": "商品代码(合约)",
  17552. "type": "string"
  17553. },
  17554. "goodsgroupid": {
  17555. "description": "商品组ID(品种ID)",
  17556. "type": "integer"
  17557. },
  17558. "goodsgroupname": {
  17559. "description": "商品组名称(品种)",
  17560. "type": "string"
  17561. },
  17562. "goodsid": {
  17563. "description": "商品ID",
  17564. "type": "integer"
  17565. },
  17566. "goodsname": {
  17567. "description": "商品名称(合约)",
  17568. "type": "string"
  17569. },
  17570. "goodunit": {
  17571. "description": "报价单位",
  17572. "type": "string"
  17573. },
  17574. "marketid": {
  17575. "description": "市场ID",
  17576. "type": "integer"
  17577. },
  17578. "orderid": {
  17579. "description": "委托单号",
  17580. "type": "string"
  17581. },
  17582. "outgoodscode": {
  17583. "description": "商品代码(外部)",
  17584. "type": "string"
  17585. },
  17586. "relatedouttradeid": {
  17587. "description": "关联外部成交单ID",
  17588. "type": "string"
  17589. },
  17590. "remark": {
  17591. "description": "备注",
  17592. "type": "string"
  17593. },
  17594. "spotcontractid": {
  17595. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  17596. "type": "integer"
  17597. },
  17598. "spotcontractno": {
  17599. "description": "现货合同编号",
  17600. "type": "string"
  17601. },
  17602. "tradeid": {
  17603. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  17604. "type": "string"
  17605. },
  17606. "tradeprice": {
  17607. "description": "成交价格",
  17608. "type": "number"
  17609. },
  17610. "tradeqty": {
  17611. "description": "成交数量",
  17612. "type": "integer"
  17613. },
  17614. "tradetime": {
  17615. "description": "成交时间",
  17616. "type": "string"
  17617. },
  17618. "updatetime": {
  17619. "description": "更新时间",
  17620. "type": "string"
  17621. }
  17622. }
  17623. },
  17624. "erms2.QuerySpotContractRsp": {
  17625. "type": "object",
  17626. "required": [
  17627. "spotcontractid"
  17628. ],
  17629. "properties": {
  17630. "accountid": {
  17631. "description": "资金账户ID",
  17632. "type": "integer"
  17633. },
  17634. "areauserid": {
  17635. "description": "所属机构",
  17636. "type": "integer"
  17637. },
  17638. "closedate": {
  17639. "description": "终止日期",
  17640. "type": "string"
  17641. },
  17642. "closeremark": {
  17643. "description": "结束备注",
  17644. "type": "string"
  17645. },
  17646. "closetradedate": {
  17647. "description": "完结交易日(yyyyMMdd)",
  17648. "type": "string"
  17649. },
  17650. "closetype": {
  17651. "description": "终止类型 - 1:违约 2:提前终止",
  17652. "type": "integer"
  17653. },
  17654. "contractamount": {
  17655. "description": "合同金额",
  17656. "type": "number"
  17657. },
  17658. "contractattachment": {
  17659. "description": "合同附件",
  17660. "type": "string"
  17661. },
  17662. "contractno": {
  17663. "description": "现货合同编号",
  17664. "type": "string"
  17665. },
  17666. "contractqty": {
  17667. "description": "合同数量(数值) (用于计算)",
  17668. "type": "number"
  17669. },
  17670. "contractqtychar": {
  17671. "description": "合同数量\\已订价数量 (用于显示)",
  17672. "type": "string"
  17673. },
  17674. "contractstatus": {
  17675. "description": "合同状态 - 0:未结束 1:已结束",
  17676. "type": "integer"
  17677. },
  17678. "contracttype": {
  17679. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  17680. "type": "integer"
  17681. },
  17682. "customeraccountid": {
  17683. "description": "客户资金账户ID",
  17684. "type": "integer"
  17685. },
  17686. "customeruserid": {
  17687. "description": "客户ID",
  17688. "type": "integer"
  17689. },
  17690. "deliverygoodsdesc": {
  17691. "description": "品种说明",
  17692. "type": "string"
  17693. },
  17694. "deliverygoodsid": {
  17695. "description": "现货品种ID",
  17696. "type": "integer"
  17697. },
  17698. "handlestatus": {
  17699. "description": "处理状态",
  17700. "type": "integer"
  17701. },
  17702. "invoiceatt": {
  17703. "description": "发票附件",
  17704. "type": "string"
  17705. },
  17706. "invoicedatetime": {
  17707. "description": "开收票更新时间",
  17708. "type": "string"
  17709. },
  17710. "invoiceopentime": {
  17711. "description": "开票时间",
  17712. "type": "string"
  17713. },
  17714. "invoiceremark": {
  17715. "description": "发票备注",
  17716. "type": "string"
  17717. },
  17718. "invoicestatus": {
  17719. "description": "开收票状态 - 0:未开票 1:已开票",
  17720. "type": "integer"
  17721. },
  17722. "lastdate": {
  17723. "description": "交货时间",
  17724. "type": "string"
  17725. },
  17726. "marketid": {
  17727. "description": "市场ID",
  17728. "type": "integer"
  17729. },
  17730. "paydatetime": {
  17731. "description": "收付款更新时间",
  17732. "type": "string"
  17733. },
  17734. "payremark": {
  17735. "description": "收付款备注",
  17736. "type": "string"
  17737. },
  17738. "paystatus": {
  17739. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  17740. "type": "integer"
  17741. },
  17742. "positionqty": {
  17743. "description": "头寸数量 - 合同数量去小数部分",
  17744. "type": "integer"
  17745. },
  17746. "producttype": {
  17747. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  17748. "type": "integer"
  17749. },
  17750. "relatedqty": {
  17751. "description": "已关联数量",
  17752. "type": "number"
  17753. },
  17754. "relatedstatus": {
  17755. "description": "关联完结状态 - 0:未结束 1:已结束",
  17756. "type": "integer"
  17757. },
  17758. "remark": {
  17759. "description": "备注",
  17760. "type": "string"
  17761. },
  17762. "signdate": {
  17763. "description": "签订日期",
  17764. "type": "string"
  17765. },
  17766. "spotcontractid": {
  17767. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  17768. "type": "string"
  17769. },
  17770. "spotdatetime": {
  17771. "description": "收发货更新时间",
  17772. "type": "string"
  17773. },
  17774. "spotprice": {
  17775. "description": "价格",
  17776. "type": "number"
  17777. },
  17778. "spotremark": {
  17779. "description": "收发货备注",
  17780. "type": "string"
  17781. },
  17782. "spotstatus": {
  17783. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  17784. "type": "integer"
  17785. },
  17786. "tradedate": {
  17787. "description": "交易日(yyyyMMdd)",
  17788. "type": "string"
  17789. },
  17790. "userid": {
  17791. "description": "业务员用户ID",
  17792. "type": "integer"
  17793. },
  17794. "warehouseid": {
  17795. "description": "仓库ID",
  17796. "type": "integer"
  17797. },
  17798. "wrfactortypeid": {
  17799. "description": "仓单要素类型ID",
  17800. "type": "integer"
  17801. },
  17802. "wrstandardid": {
  17803. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  17804. "type": "integer"
  17805. }
  17806. }
  17807. },
  17808. "erms3.AddErms2ASApplyReq": {
  17809. "type": "object",
  17810. "required": [
  17811. "asapplyid"
  17812. ],
  17813. "properties": {
  17814. "applybasis": {
  17815. "description": "申请基差",
  17816. "type": "number"
  17817. },
  17818. "applystatus": {
  17819. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  17820. "type": "integer"
  17821. },
  17822. "asapplyid": {
  17823. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  17824. "type": "integer"
  17825. },
  17826. "asname": {
  17827. "description": "策略名称",
  17828. "type": "string"
  17829. },
  17830. "asno": {
  17831. "description": "策略编号",
  17832. "type": "string"
  17833. },
  17834. "auditid": {
  17835. "description": "审核人",
  17836. "type": "integer"
  17837. },
  17838. "auditremark": {
  17839. "description": "审核备注",
  17840. "type": "string"
  17841. },
  17842. "audittime": {
  17843. "description": "审核时间",
  17844. "type": "string"
  17845. },
  17846. "biztype": {
  17847. "description": "业务类型 - 1:正向套利 2:反向套利",
  17848. "type": "integer"
  17849. },
  17850. "createtime": {
  17851. "description": "创建时间",
  17852. "type": "string"
  17853. },
  17854. "creatorid": {
  17855. "description": "创建人",
  17856. "type": "integer"
  17857. },
  17858. "deliverygoodsid": {
  17859. "description": "现货品种ID",
  17860. "type": "integer"
  17861. },
  17862. "futurequote": {
  17863. "description": "期货额度",
  17864. "type": "number"
  17865. },
  17866. "goodsgroupid": {
  17867. "description": "期货品种ID",
  17868. "type": "integer"
  17869. },
  17870. "marketid": {
  17871. "description": "市场ID",
  17872. "type": "integer"
  17873. },
  17874. "remark": {
  17875. "description": "备注",
  17876. "type": "string"
  17877. },
  17878. "spotquota": {
  17879. "description": "现货额度",
  17880. "type": "number"
  17881. },
  17882. "tradedate": {
  17883. "description": "交易日(yyyyMMdd)",
  17884. "type": "string"
  17885. },
  17886. "userid": {
  17887. "description": "所属机构",
  17888. "type": "integer"
  17889. }
  17890. }
  17891. },
  17892. "erms3.AddErms2SpotTradeApplyReq": {
  17893. "type": "object",
  17894. "required": [
  17895. "spottradeid"
  17896. ],
  17897. "properties": {
  17898. "applyjsondetail": {
  17899. "description": "申请明细(JSON)",
  17900. "type": "string"
  17901. },
  17902. "applystatus": {
  17903. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  17904. "type": "integer"
  17905. },
  17906. "areauserid": {
  17907. "description": "所属机构",
  17908. "type": "integer"
  17909. },
  17910. "auditid": {
  17911. "description": "审核人",
  17912. "type": "integer"
  17913. },
  17914. "auditremark": {
  17915. "description": "审核备注",
  17916. "type": "string"
  17917. },
  17918. "audittime": {
  17919. "description": "审核时间",
  17920. "type": "string"
  17921. },
  17922. "createtime": {
  17923. "description": "创建时间",
  17924. "type": "string"
  17925. },
  17926. "creatorid": {
  17927. "description": "创建人",
  17928. "type": "integer"
  17929. },
  17930. "deliverygoodsid": {
  17931. "description": "现货品种ID",
  17932. "type": "integer"
  17933. },
  17934. "futureaccountid": {
  17935. "description": "期货资金账户",
  17936. "type": "integer"
  17937. },
  17938. "goodsgroupid": {
  17939. "description": "期货品种",
  17940. "type": "integer"
  17941. },
  17942. "marketid": {
  17943. "description": "市场ID",
  17944. "type": "integer"
  17945. },
  17946. "remark": {
  17947. "description": "备注",
  17948. "type": "string"
  17949. },
  17950. "spotaccountid": {
  17951. "description": "现货资金账户",
  17952. "type": "integer"
  17953. },
  17954. "spottradeid": {
  17955. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  17956. "type": "integer"
  17957. },
  17958. "spottradename": {
  17959. "description": "业务名称",
  17960. "type": "string"
  17961. },
  17962. "spottradeno": {
  17963. "description": "业务编号",
  17964. "type": "string"
  17965. },
  17966. "tradedate": {
  17967. "description": "交易日(yyyyMMdd)",
  17968. "type": "string"
  17969. },
  17970. "wrstandardid": {
  17971. "description": "仓单标准ID",
  17972. "type": "integer"
  17973. }
  17974. }
  17975. },
  17976. "erms3.AddSpotContractApplyReq": {
  17977. "type": "object",
  17978. "required": [
  17979. "accountid",
  17980. "areauserid",
  17981. "contractno",
  17982. "contracttype",
  17983. "customeraccountid",
  17984. "customeruserid",
  17985. "details",
  17986. "orimargin",
  17987. "signdate"
  17988. ],
  17989. "properties": {
  17990. "accountid": {
  17991. "description": "资金账户ID",
  17992. "type": "integer"
  17993. },
  17994. "areauserid": {
  17995. "description": "所属机构",
  17996. "type": "integer"
  17997. },
  17998. "contractattachment": {
  17999. "description": "合同附件",
  18000. "type": "string"
  18001. },
  18002. "contractno": {
  18003. "description": "现货合同编号",
  18004. "type": "string"
  18005. },
  18006. "contracttype": {
  18007. "description": "现货合同类型 - 1:采购 -1:销售",
  18008. "type": "integer"
  18009. },
  18010. "creatorid": {
  18011. "description": "申请人",
  18012. "type": "integer"
  18013. },
  18014. "customeraccountid": {
  18015. "description": "客户资金账户ID",
  18016. "type": "integer"
  18017. },
  18018. "customeruserid": {
  18019. "description": "客户ID",
  18020. "type": "integer"
  18021. },
  18022. "details": {
  18023. "description": "明细",
  18024. "type": "array",
  18025. "items": {
  18026. "$ref": "#/definitions/erms3.SoptContractDetail"
  18027. }
  18028. },
  18029. "orimargin": {
  18030. "description": "初始保证金",
  18031. "type": "number"
  18032. },
  18033. "remark": {
  18034. "description": "备注",
  18035. "type": "string"
  18036. },
  18037. "signdate": {
  18038. "description": "签订日期",
  18039. "type": "string"
  18040. }
  18041. }
  18042. },
  18043. "erms3.AddSpotContractApplyRsp": {
  18044. "type": "object",
  18045. "required": [
  18046. "contractno"
  18047. ],
  18048. "properties": {
  18049. "contractno": {
  18050. "description": "现货合同编号",
  18051. "type": "string"
  18052. },
  18053. "spotcontractid": {
  18054. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  18055. "type": "integer"
  18056. }
  18057. }
  18058. },
  18059. "erms3.AddUserInfoApplyReq": {
  18060. "type": "object",
  18061. "required": [
  18062. "userid"
  18063. ],
  18064. "properties": {
  18065. "accountid": {
  18066. "description": "交易系统帐号Id (加密存储)",
  18067. "type": "integer"
  18068. },
  18069. "areacode": {
  18070. "description": "机构代码",
  18071. "type": "string"
  18072. },
  18073. "areaid": {
  18074. "description": "机构Id",
  18075. "type": "integer"
  18076. },
  18077. "attachment1": {
  18078. "description": "附件1",
  18079. "type": "string"
  18080. },
  18081. "attachment2": {
  18082. "description": "附件2",
  18083. "type": "string"
  18084. },
  18085. "attachment3": {
  18086. "description": "附件3",
  18087. "type": "string"
  18088. },
  18089. "attachment4": {
  18090. "description": "附件4",
  18091. "type": "string"
  18092. },
  18093. "attachment5": {
  18094. "description": "附件5",
  18095. "type": "string"
  18096. },
  18097. "auditedby": {
  18098. "description": "审核人",
  18099. "type": "string"
  18100. },
  18101. "auditime": {
  18102. "description": "审核时间",
  18103. "type": "string"
  18104. },
  18105. "auditsrc": {
  18106. "description": "审核来源 - 1:管理端 2:终端",
  18107. "type": "integer"
  18108. },
  18109. "bankaccount": {
  18110. "description": "银行帐号 (加密存储)",
  18111. "type": "string"
  18112. },
  18113. "bankaccountname": {
  18114. "description": "收款人名称",
  18115. "type": "string"
  18116. },
  18117. "bankcardbackphotourl": {
  18118. "description": "银行卡背面照地址",
  18119. "type": "string"
  18120. },
  18121. "bankcardfrontphotourl": {
  18122. "description": "银行卡正面照地址",
  18123. "type": "string"
  18124. },
  18125. "bankid": {
  18126. "description": "银行编码",
  18127. "type": "string"
  18128. },
  18129. "bankname": {
  18130. "description": "银行名称",
  18131. "type": "string"
  18132. },
  18133. "bankpictureurl": {
  18134. "description": "银行卡正面地址",
  18135. "type": "string"
  18136. },
  18137. "biznature": {
  18138. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  18139. "type": "integer"
  18140. },
  18141. "bizscope": {
  18142. "description": "企业经营范围(企业)",
  18143. "type": "string"
  18144. },
  18145. "biztype": {
  18146. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  18147. "type": "integer"
  18148. },
  18149. "brokerid": {
  18150. "description": "经纪人ID(加密存储)",
  18151. "type": "string"
  18152. },
  18153. "cardaddress": {
  18154. "description": "证件地址 (加密存储)",
  18155. "type": "string"
  18156. },
  18157. "cardbackphotourl": {
  18158. "description": "背面证件照地址",
  18159. "type": "string"
  18160. },
  18161. "cardfrontphotourl": {
  18162. "description": "正面证件照地址",
  18163. "type": "string"
  18164. },
  18165. "cardnum": {
  18166. "description": "证件号码 (加密存储)",
  18167. "type": "string"
  18168. },
  18169. "cardtype": {
  18170. "description": "证件类型",
  18171. "type": "integer"
  18172. },
  18173. "cityid": {
  18174. "description": "市",
  18175. "type": "integer"
  18176. },
  18177. "company": {
  18178. "description": "公司(个人)",
  18179. "type": "string"
  18180. },
  18181. "contactcardbackphotourl": {
  18182. "description": "联系人证件背面图片地址",
  18183. "type": "string"
  18184. },
  18185. "contactcardfrontphotourl": {
  18186. "description": "联系人证件正面图片地址",
  18187. "type": "string"
  18188. },
  18189. "contactname": {
  18190. "description": "联系人",
  18191. "type": "string"
  18192. },
  18193. "countryid": {
  18194. "description": "国家",
  18195. "type": "integer"
  18196. },
  18197. "createtime": {
  18198. "description": "开户申请时间",
  18199. "type": "string"
  18200. },
  18201. "cusbankid": {
  18202. "description": "签约类型",
  18203. "type": "string"
  18204. },
  18205. "cusbankname": {
  18206. "description": "签约类型名称",
  18207. "type": "string"
  18208. },
  18209. "customername": {
  18210. "description": "客户名称(企业名称)",
  18211. "type": "string"
  18212. },
  18213. "districtid": {
  18214. "description": "地区",
  18215. "type": "integer"
  18216. },
  18217. "email": {
  18218. "description": "Email地址(加密存储)",
  18219. "type": "string"
  18220. },
  18221. "halfbodyphotourl": {
  18222. "description": "半身照地址",
  18223. "type": "string"
  18224. },
  18225. "headurl": {
  18226. "description": "头像地址",
  18227. "type": "string"
  18228. },
  18229. "ipaddress": {
  18230. "description": "IP地址",
  18231. "type": "string"
  18232. },
  18233. "isvalidate": {
  18234. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  18235. "type": "string"
  18236. },
  18237. "legalcardbackphotourl": {
  18238. "description": "法人身份证背面照地址",
  18239. "type": "string"
  18240. },
  18241. "legalcardfrontphotourl": {
  18242. "description": "法人身份证正面照地址",
  18243. "type": "string"
  18244. },
  18245. "legalpersonname": {
  18246. "description": "法人姓名(企业)",
  18247. "type": "string"
  18248. },
  18249. "logincode": {
  18250. "description": "登录帐号 (加密存储)",
  18251. "type": "string"
  18252. },
  18253. "memberareaid": {
  18254. "description": "所属会员ID",
  18255. "type": "integer"
  18256. },
  18257. "mobile2": {
  18258. "description": "手机号码[明文-尚志]",
  18259. "type": "string"
  18260. },
  18261. "mobilephone": {
  18262. "description": "手机号码 (加密存储)",
  18263. "type": "string"
  18264. },
  18265. "modifiedby": {
  18266. "description": "修改人帐号",
  18267. "type": "integer"
  18268. },
  18269. "modifiedtime": {
  18270. "description": "修改时间",
  18271. "type": "string"
  18272. },
  18273. "nickname": {
  18274. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  18275. "type": "string"
  18276. },
  18277. "openmode": {
  18278. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  18279. "type": "integer"
  18280. },
  18281. "otherurl": {
  18282. "description": "其它图片地址[使用分号分隔]",
  18283. "type": "string"
  18284. },
  18285. "postalcode": {
  18286. "description": "邮政编码",
  18287. "type": "string"
  18288. },
  18289. "provinceid": {
  18290. "description": "省",
  18291. "type": "integer"
  18292. },
  18293. "proxystatementurl": {
  18294. "description": "授权委托书",
  18295. "type": "string"
  18296. },
  18297. "qq": {
  18298. "description": "QQ(加密存储",
  18299. "type": "string"
  18300. },
  18301. "referral": {
  18302. "description": "推荐人编码",
  18303. "type": "string"
  18304. },
  18305. "remark": {
  18306. "description": "备注",
  18307. "type": "string"
  18308. },
  18309. "removebeforestatus": {
  18310. "description": "REMOVEBEFORESTATUS",
  18311. "type": "integer"
  18312. },
  18313. "sex": {
  18314. "description": "性别 - 0:女 1:男",
  18315. "type": "integer"
  18316. },
  18317. "signedstatus": {
  18318. "description": "账户一号签签约状态",
  18319. "type": "integer"
  18320. },
  18321. "signpdfurl": {
  18322. "description": "签约pdf文件",
  18323. "type": "string"
  18324. },
  18325. "subbranch": {
  18326. "description": "开户支行",
  18327. "type": "string"
  18328. },
  18329. "taxpayernum": {
  18330. "description": "纳税人识别号",
  18331. "type": "string"
  18332. },
  18333. "telphone": {
  18334. "description": "联系电话(加密存储)",
  18335. "type": "string"
  18336. },
  18337. "userid": {
  18338. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  18339. "type": "integer"
  18340. },
  18341. "userinfotype": {
  18342. "description": "用户信息类型 - 1:个人 2:企业",
  18343. "type": "integer"
  18344. },
  18345. "username": {
  18346. "description": "用户姓名",
  18347. "type": "string"
  18348. },
  18349. "userstate": {
  18350. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  18351. "type": "integer"
  18352. },
  18353. "usertype": {
  18354. "description": "用户类型 - 1:投资者 2:机构",
  18355. "type": "integer"
  18356. },
  18357. "videourl": {
  18358. "description": "视频地址",
  18359. "type": "string"
  18360. },
  18361. "wechat": {
  18362. "description": "微信号 (加密存储)",
  18363. "type": "string"
  18364. }
  18365. }
  18366. },
  18367. "erms3.CustomerInfo": {
  18368. "type": "object",
  18369. "required": [
  18370. "userid"
  18371. ],
  18372. "properties": {
  18373. "accountids": {
  18374. "description": "资金账户ID列表",
  18375. "type": "array",
  18376. "items": {
  18377. "type": "integer"
  18378. }
  18379. },
  18380. "customername": {
  18381. "description": "名称(企业名称)",
  18382. "type": "string"
  18383. },
  18384. "mobile": {
  18385. "description": "手机号码",
  18386. "type": "string"
  18387. },
  18388. "userid": {
  18389. "description": "用户ID",
  18390. "type": "integer"
  18391. }
  18392. }
  18393. },
  18394. "erms3.ModifyUserInfoApplyReq": {
  18395. "type": "object",
  18396. "required": [
  18397. "userid"
  18398. ],
  18399. "properties": {
  18400. "accountid": {
  18401. "description": "交易系统帐号Id (加密存储)",
  18402. "type": "integer"
  18403. },
  18404. "areacode": {
  18405. "description": "机构代码",
  18406. "type": "string"
  18407. },
  18408. "areaid": {
  18409. "description": "机构Id",
  18410. "type": "integer"
  18411. },
  18412. "attachment1": {
  18413. "description": "附件1",
  18414. "type": "string"
  18415. },
  18416. "attachment2": {
  18417. "description": "附件2",
  18418. "type": "string"
  18419. },
  18420. "attachment3": {
  18421. "description": "附件3",
  18422. "type": "string"
  18423. },
  18424. "attachment4": {
  18425. "description": "附件4",
  18426. "type": "string"
  18427. },
  18428. "attachment5": {
  18429. "description": "附件5",
  18430. "type": "string"
  18431. },
  18432. "auditedby": {
  18433. "description": "审核人",
  18434. "type": "string"
  18435. },
  18436. "auditime": {
  18437. "description": "审核时间",
  18438. "type": "string"
  18439. },
  18440. "auditsrc": {
  18441. "description": "审核来源 - 1:管理端 2:终端",
  18442. "type": "integer"
  18443. },
  18444. "bankaccount": {
  18445. "description": "银行帐号 (加密存储)",
  18446. "type": "string"
  18447. },
  18448. "bankaccountname": {
  18449. "description": "收款人名称",
  18450. "type": "string"
  18451. },
  18452. "bankcardbackphotourl": {
  18453. "description": "银行卡背面照地址",
  18454. "type": "string"
  18455. },
  18456. "bankcardfrontphotourl": {
  18457. "description": "银行卡正面照地址",
  18458. "type": "string"
  18459. },
  18460. "bankid": {
  18461. "description": "银行编码",
  18462. "type": "string"
  18463. },
  18464. "bankname": {
  18465. "description": "银行名称",
  18466. "type": "string"
  18467. },
  18468. "bankpictureurl": {
  18469. "description": "银行卡正面地址",
  18470. "type": "string"
  18471. },
  18472. "biznature": {
  18473. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  18474. "type": "integer"
  18475. },
  18476. "bizscope": {
  18477. "description": "企业经营范围(企业)",
  18478. "type": "string"
  18479. },
  18480. "biztype": {
  18481. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  18482. "type": "integer"
  18483. },
  18484. "brokerid": {
  18485. "description": "经纪人ID(加密存储)",
  18486. "type": "string"
  18487. },
  18488. "cardaddress": {
  18489. "description": "证件地址 (加密存储)",
  18490. "type": "string"
  18491. },
  18492. "cardbackphotourl": {
  18493. "description": "背面证件照地址",
  18494. "type": "string"
  18495. },
  18496. "cardfrontphotourl": {
  18497. "description": "正面证件照地址",
  18498. "type": "string"
  18499. },
  18500. "cardnum": {
  18501. "description": "证件号码 (加密存储)",
  18502. "type": "string"
  18503. },
  18504. "cardtype": {
  18505. "description": "证件类型",
  18506. "type": "integer"
  18507. },
  18508. "cityid": {
  18509. "description": "市",
  18510. "type": "integer"
  18511. },
  18512. "company": {
  18513. "description": "公司(个人)",
  18514. "type": "string"
  18515. },
  18516. "contactcardbackphotourl": {
  18517. "description": "联系人证件背面图片地址",
  18518. "type": "string"
  18519. },
  18520. "contactcardfrontphotourl": {
  18521. "description": "联系人证件正面图片地址",
  18522. "type": "string"
  18523. },
  18524. "contactname": {
  18525. "description": "联系人",
  18526. "type": "string"
  18527. },
  18528. "countryid": {
  18529. "description": "国家",
  18530. "type": "integer"
  18531. },
  18532. "createtime": {
  18533. "description": "开户申请时间",
  18534. "type": "string"
  18535. },
  18536. "cusbankid": {
  18537. "description": "签约类型",
  18538. "type": "string"
  18539. },
  18540. "cusbankname": {
  18541. "description": "签约类型名称",
  18542. "type": "string"
  18543. },
  18544. "customername": {
  18545. "description": "客户名称(企业名称)",
  18546. "type": "string"
  18547. },
  18548. "districtid": {
  18549. "description": "地区",
  18550. "type": "integer"
  18551. },
  18552. "email": {
  18553. "description": "Email地址(加密存储)",
  18554. "type": "string"
  18555. },
  18556. "halfbodyphotourl": {
  18557. "description": "半身照地址",
  18558. "type": "string"
  18559. },
  18560. "headurl": {
  18561. "description": "头像地址",
  18562. "type": "string"
  18563. },
  18564. "ipaddress": {
  18565. "description": "IP地址",
  18566. "type": "string"
  18567. },
  18568. "isvalidate": {
  18569. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  18570. "type": "string"
  18571. },
  18572. "legalcardbackphotourl": {
  18573. "description": "法人身份证背面照地址",
  18574. "type": "string"
  18575. },
  18576. "legalcardfrontphotourl": {
  18577. "description": "法人身份证正面照地址",
  18578. "type": "string"
  18579. },
  18580. "legalpersonname": {
  18581. "description": "法人姓名(企业)",
  18582. "type": "string"
  18583. },
  18584. "logincode": {
  18585. "description": "登录帐号 (加密存储)",
  18586. "type": "string"
  18587. },
  18588. "memberareaid": {
  18589. "description": "所属会员ID",
  18590. "type": "integer"
  18591. },
  18592. "mobile2": {
  18593. "description": "手机号码[明文-尚志]",
  18594. "type": "string"
  18595. },
  18596. "mobilephone": {
  18597. "description": "手机号码 (加密存储)",
  18598. "type": "string"
  18599. },
  18600. "modifiedby": {
  18601. "description": "修改人帐号",
  18602. "type": "integer"
  18603. },
  18604. "modifiedtime": {
  18605. "description": "修改时间",
  18606. "type": "string"
  18607. },
  18608. "nickname": {
  18609. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  18610. "type": "string"
  18611. },
  18612. "openmode": {
  18613. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  18614. "type": "integer"
  18615. },
  18616. "otherurl": {
  18617. "description": "其它图片地址[使用分号分隔]",
  18618. "type": "string"
  18619. },
  18620. "postalcode": {
  18621. "description": "邮政编码",
  18622. "type": "string"
  18623. },
  18624. "provinceid": {
  18625. "description": "省",
  18626. "type": "integer"
  18627. },
  18628. "proxystatementurl": {
  18629. "description": "授权委托书",
  18630. "type": "string"
  18631. },
  18632. "qq": {
  18633. "description": "QQ(加密存储",
  18634. "type": "string"
  18635. },
  18636. "referral": {
  18637. "description": "推荐人编码",
  18638. "type": "string"
  18639. },
  18640. "remark": {
  18641. "description": "备注",
  18642. "type": "string"
  18643. },
  18644. "removebeforestatus": {
  18645. "description": "REMOVEBEFORESTATUS",
  18646. "type": "integer"
  18647. },
  18648. "sex": {
  18649. "description": "性别 - 0:女 1:男",
  18650. "type": "integer"
  18651. },
  18652. "signedstatus": {
  18653. "description": "账户一号签签约状态",
  18654. "type": "integer"
  18655. },
  18656. "signpdfurl": {
  18657. "description": "签约pdf文件",
  18658. "type": "string"
  18659. },
  18660. "subbranch": {
  18661. "description": "开户支行",
  18662. "type": "string"
  18663. },
  18664. "taxpayernum": {
  18665. "description": "纳税人识别号",
  18666. "type": "string"
  18667. },
  18668. "telphone": {
  18669. "description": "联系电话(加密存储)",
  18670. "type": "string"
  18671. },
  18672. "userid": {
  18673. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  18674. "type": "integer"
  18675. },
  18676. "userinfotype": {
  18677. "description": "用户信息类型 - 1:个人 2:企业",
  18678. "type": "integer"
  18679. },
  18680. "username": {
  18681. "description": "用户姓名",
  18682. "type": "string"
  18683. },
  18684. "userstate": {
  18685. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  18686. "type": "integer"
  18687. },
  18688. "usertype": {
  18689. "description": "用户类型 - 1:投资者 2:机构",
  18690. "type": "integer"
  18691. },
  18692. "videourl": {
  18693. "description": "视频地址",
  18694. "type": "string"
  18695. },
  18696. "wechat": {
  18697. "description": "微信号 (加密存储)",
  18698. "type": "string"
  18699. }
  18700. }
  18701. },
  18702. "erms3.QryAuditContractRsp": {
  18703. "type": "object",
  18704. "required": [
  18705. "matchcustomername",
  18706. "spotcontractid"
  18707. ],
  18708. "properties": {
  18709. "accountid": {
  18710. "description": "交易员ID",
  18711. "type": "string"
  18712. },
  18713. "applystatus": {
  18714. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  18715. "type": "integer"
  18716. },
  18717. "curdeliveryqty": {
  18718. "description": "未交收量",
  18719. "type": "integer"
  18720. },
  18721. "customername": {
  18722. "description": "采购方ID",
  18723. "type": "string"
  18724. },
  18725. "deliverygoodsid": {
  18726. "description": "品种ID",
  18727. "type": "string"
  18728. },
  18729. "deliveryqty": {
  18730. "description": "交收量",
  18731. "type": "integer"
  18732. },
  18733. "enumdicname": {
  18734. "description": "单位名称",
  18735. "type": "string"
  18736. },
  18737. "matchaccountid": {
  18738. "description": "业务员ID",
  18739. "type": "string"
  18740. },
  18741. "matchcustomername": {
  18742. "description": "销售方ID",
  18743. "type": "string"
  18744. },
  18745. "pricedqty": {
  18746. "description": "定价量",
  18747. "type": "number"
  18748. },
  18749. "signdate": {
  18750. "description": "签订日期",
  18751. "type": "string"
  18752. },
  18753. "spotcontractid": {
  18754. "description": "合同ID",
  18755. "type": "string"
  18756. },
  18757. "totaldqty": {
  18758. "description": "合同量",
  18759. "type": "number"
  18760. },
  18761. "unpricedqty": {
  18762. "description": "未定价量",
  18763. "type": "number"
  18764. },
  18765. "wrstandardname": {
  18766. "description": "商品名称",
  18767. "type": "string"
  18768. }
  18769. }
  18770. },
  18771. "erms3.QryPendingBizRsp": {
  18772. "type": "object",
  18773. "properties": {
  18774. "accountid": {
  18775. "description": "现货账户",
  18776. "type": "string"
  18777. },
  18778. "areaname": {
  18779. "description": "所属部门",
  18780. "type": "string"
  18781. },
  18782. "bizid": {
  18783. "description": "业务ID",
  18784. "type": "string"
  18785. },
  18786. "bizname": {
  18787. "description": "业务名称",
  18788. "type": "string"
  18789. },
  18790. "status": {
  18791. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  18792. "type": "integer"
  18793. },
  18794. "type": {
  18795. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  18796. "type": "integer"
  18797. }
  18798. }
  18799. },
  18800. "erms3.QueryBusinessInfoRsp": {
  18801. "type": "object",
  18802. "properties": {
  18803. "businessid": {
  18804. "description": "业务ID.",
  18805. "type": "integer"
  18806. },
  18807. "buyamount": {
  18808. "description": "采购额.",
  18809. "type": "number"
  18810. },
  18811. "buyqty": {
  18812. "description": "采购量.",
  18813. "type": "string"
  18814. },
  18815. "futurepl": {
  18816. "description": "期货盈亏.",
  18817. "type": "number"
  18818. },
  18819. "futureqty": {
  18820. "description": "期货敞口.",
  18821. "type": "string"
  18822. },
  18823. "goodsid": {
  18824. "description": "商品名称/商品代码.",
  18825. "type": "string"
  18826. },
  18827. "hedgingqty": {
  18828. "description": "套保量.",
  18829. "type": "string"
  18830. },
  18831. "sellamount": {
  18832. "description": "销售额.",
  18833. "type": "number"
  18834. },
  18835. "sellqty": {
  18836. "description": "销售量.",
  18837. "type": "string"
  18838. },
  18839. "spotmarketvalue": {
  18840. "description": "现货市值.",
  18841. "type": "number"
  18842. },
  18843. "spotpl": {
  18844. "description": "浮动权益.",
  18845. "type": "number"
  18846. },
  18847. "spotqty": {
  18848. "description": "现货量.",
  18849. "type": "string"
  18850. },
  18851. "statu": {
  18852. "description": "状态,0-未结束 1-已结束.",
  18853. "type": "integer"
  18854. },
  18855. "totalpl": {
  18856. "description": "总盈亏.",
  18857. "type": "number"
  18858. },
  18859. "totalqty": {
  18860. "description": "总敞口.",
  18861. "type": "string"
  18862. },
  18863. "type": {
  18864. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  18865. "type": "integer"
  18866. }
  18867. }
  18868. },
  18869. "erms3.QuerySpotContractAppleFormRsp": {
  18870. "type": "object",
  18871. "properties": {
  18872. "goodses": {
  18873. "description": "合约列表",
  18874. "type": "array",
  18875. "items": {
  18876. "$ref": "#/definitions/models.GoodsIDAndName"
  18877. }
  18878. },
  18879. "oppositeusers": {
  18880. "description": "对方账号列表",
  18881. "type": "array",
  18882. "items": {
  18883. "$ref": "#/definitions/erms3.CustomerInfo"
  18884. }
  18885. },
  18886. "ouruser": {
  18887. "description": "我方账号",
  18888. "$ref": "#/definitions/erms3.CustomerInfo"
  18889. },
  18890. "warehouseinfos": {
  18891. "description": "仓库信息列表",
  18892. "type": "array",
  18893. "items": {
  18894. "$ref": "#/definitions/models.Warehouseinfo"
  18895. }
  18896. },
  18897. "wrstandards": {
  18898. "description": "仓单标准列表",
  18899. "type": "array",
  18900. "items": {
  18901. "$ref": "#/definitions/models.WRStandardInfo"
  18902. }
  18903. }
  18904. }
  18905. },
  18906. "erms3.QuerySpotContractInfoRsp": {
  18907. "type": "object",
  18908. "properties": {
  18909. "accountid": {
  18910. "description": "表示交易员ID.",
  18911. "type": "integer"
  18912. },
  18913. "curdeliveryqty": {
  18914. "description": "表示未交收量.",
  18915. "type": "number"
  18916. },
  18917. "customername": {
  18918. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  18919. "type": "string"
  18920. },
  18921. "deliverygoodsid": {
  18922. "description": "表示品种ID.",
  18923. "type": "string"
  18924. },
  18925. "deliveryqty": {
  18926. "description": "表示交收量.",
  18927. "type": "number"
  18928. },
  18929. "matchaccountid": {
  18930. "description": "表示业务员ID.",
  18931. "type": "integer"
  18932. },
  18933. "matchcustomername": {
  18934. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  18935. "type": "string"
  18936. },
  18937. "priceqty": {
  18938. "description": "表示定价量.",
  18939. "type": "number"
  18940. },
  18941. "relatedbizid": {
  18942. "description": "表示业务ID.",
  18943. "type": "string"
  18944. },
  18945. "signdate": {
  18946. "description": "表示签订日期.",
  18947. "type": "string"
  18948. },
  18949. "spotcontractid": {
  18950. "description": "合同ID",
  18951. "type": "string"
  18952. },
  18953. "status": {
  18954. "description": "表示状态,0-履约中 1-已完成.",
  18955. "type": "integer"
  18956. },
  18957. "totalqty": {
  18958. "description": "表示合同量.",
  18959. "type": "number"
  18960. },
  18961. "unpricedqty": {
  18962. "description": "表示未定价量.",
  18963. "type": "number"
  18964. },
  18965. "wrstandardname": {
  18966. "description": "表示商品ID.",
  18967. "type": "string"
  18968. }
  18969. }
  18970. },
  18971. "erms3.QueryUserInfoAppliesRsp": {
  18972. "type": "object",
  18973. "required": [
  18974. "userid"
  18975. ],
  18976. "properties": {
  18977. "biznature": {
  18978. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  18979. "type": "integer"
  18980. },
  18981. "contactname": {
  18982. "description": "联系人",
  18983. "type": "string"
  18984. },
  18985. "createtime": {
  18986. "description": "开户申请时间",
  18987. "type": "string"
  18988. },
  18989. "userid": {
  18990. "description": "用户ID(自增ID)",
  18991. "type": "integer"
  18992. },
  18993. "userinfotype": {
  18994. "description": "用户信息类型 - 1:个人 2:企业",
  18995. "type": "integer"
  18996. },
  18997. "username": {
  18998. "description": "用户姓名",
  18999. "type": "string"
  19000. },
  19001. "userstate": {
  19002. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  19003. "type": "integer"
  19004. }
  19005. }
  19006. },
  19007. "erms3.QueryUserInfosRsp": {
  19008. "type": "object",
  19009. "required": [
  19010. "userid"
  19011. ],
  19012. "properties": {
  19013. "biznature": {
  19014. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  19015. "type": "integer"
  19016. },
  19017. "contactname": {
  19018. "description": "联系人",
  19019. "type": "string"
  19020. },
  19021. "customername": {
  19022. "description": "客户名称(企业名称)",
  19023. "type": "string"
  19024. },
  19025. "userid": {
  19026. "description": "用户ID",
  19027. "type": "integer"
  19028. },
  19029. "userinfotype": {
  19030. "description": "用户信息类型 - 1:个人 2:企业",
  19031. "type": "integer"
  19032. },
  19033. "userstatus": {
  19034. "description": "用户状态 - 1:正常 2:注销",
  19035. "type": "integer"
  19036. }
  19037. }
  19038. },
  19039. "erms3.SoptContractDetail": {
  19040. "type": "object",
  19041. "required": [
  19042. "deliverygoodsid",
  19043. "producttype",
  19044. "unitname",
  19045. "warehouseid",
  19046. "wrstandardid",
  19047. "wrstandardname"
  19048. ],
  19049. "properties": {
  19050. "deliverygoodsdesc": {
  19051. "description": "现货品种说明",
  19052. "type": "string"
  19053. },
  19054. "deliverygoodsid": {
  19055. "description": "现货品种ID",
  19056. "type": "integer"
  19057. },
  19058. "deliverygoodsname": {
  19059. "description": "现货品种名称",
  19060. "type": "string"
  19061. },
  19062. "pointdesc": {
  19063. "description": "点价描述",
  19064. "type": "string"
  19065. },
  19066. "producttype": {
  19067. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  19068. "type": "integer"
  19069. },
  19070. "producttypename": {
  19071. "description": "产品类型名称",
  19072. "type": "string"
  19073. },
  19074. "spotPointOrderVoList": {
  19075. "description": "点价列表",
  19076. "type": "array",
  19077. "items": {
  19078. "$ref": "#/definitions/erms3.SpotPointOrder"
  19079. }
  19080. },
  19081. "spotPriceOrderList": {
  19082. "description": "定价列表",
  19083. "type": "array",
  19084. "items": {
  19085. "$ref": "#/definitions/erms3.SpotPriceOrder"
  19086. }
  19087. },
  19088. "unitname": {
  19089. "description": "单位名称",
  19090. "type": "string"
  19091. },
  19092. "warehouseid": {
  19093. "description": "仓库ID",
  19094. "type": "integer"
  19095. },
  19096. "warehousename": {
  19097. "description": "仓库名称",
  19098. "type": "string"
  19099. },
  19100. "wrstandardid": {
  19101. "description": "交易标的ID",
  19102. "type": "integer"
  19103. },
  19104. "wrstandardname": {
  19105. "description": "交易标的名称",
  19106. "type": "string"
  19107. }
  19108. }
  19109. },
  19110. "erms3.SpotPointOrder": {
  19111. "type": "object",
  19112. "required": [
  19113. "basic",
  19114. "goodsid",
  19115. "qty"
  19116. ],
  19117. "properties": {
  19118. "basic": {
  19119. "description": "基差",
  19120. "type": "number"
  19121. },
  19122. "deliveryenddate": {
  19123. "description": "交收结束日期",
  19124. "type": "string"
  19125. },
  19126. "deliverystartdate": {
  19127. "description": "交收开始日期",
  19128. "type": "string"
  19129. },
  19130. "enddate": {
  19131. "description": "点价结束日期",
  19132. "type": "string"
  19133. },
  19134. "goodsid": {
  19135. "description": "商品ID",
  19136. "type": "integer"
  19137. },
  19138. "goodsname": {
  19139. "description": "商品名称",
  19140. "type": "string"
  19141. },
  19142. "qty": {
  19143. "description": "数量",
  19144. "type": "number"
  19145. },
  19146. "startdate": {
  19147. "description": "点价开始日期",
  19148. "type": "string"
  19149. }
  19150. }
  19151. },
  19152. "erms3.SpotPriceOrder": {
  19153. "type": "object",
  19154. "required": [
  19155. "amount",
  19156. "price",
  19157. "qty"
  19158. ],
  19159. "properties": {
  19160. "amount": {
  19161. "description": "金额",
  19162. "type": "number"
  19163. },
  19164. "deliveryenddate": {
  19165. "description": "交收结束日期",
  19166. "type": "string"
  19167. },
  19168. "deliverystartdate": {
  19169. "description": "交收开始日期",
  19170. "type": "string"
  19171. },
  19172. "price": {
  19173. "description": "价格",
  19174. "type": "number"
  19175. },
  19176. "qty": {
  19177. "description": "数量",
  19178. "type": "number"
  19179. }
  19180. }
  19181. },
  19182. "hsby.GetHsbyMyCountRsp": {
  19183. "type": "object",
  19184. "properties": {
  19185. "myCouponCount": {
  19186. "description": "我的优惠卷数量",
  19187. "type": "integer"
  19188. },
  19189. "myOrderDetailListingCount": {
  19190. "description": "我的订单求购中数量",
  19191. "type": "integer"
  19192. },
  19193. "myOrderDetailPreCount": {
  19194. "description": "我的订单抢购中数量",
  19195. "type": "integer"
  19196. },
  19197. "myPackageUnReceiveCount": {
  19198. "description": "我的包裹待收货数量",
  19199. "type": "integer"
  19200. },
  19201. "myPackageUnSendCount": {
  19202. "description": "我的包裹待发货数量",
  19203. "type": "integer"
  19204. },
  19205. "myPayOrderCount": {
  19206. "description": "我的订单待付款数量",
  19207. "type": "integer"
  19208. }
  19209. }
  19210. },
  19211. "hsby.QueryProvincesAndCitiesRsp": {
  19212. "type": "object",
  19213. "properties": {
  19214. "cities": {
  19215. "description": "市",
  19216. "type": "array",
  19217. "items": {
  19218. "$ref": "#/definitions/models.Division"
  19219. }
  19220. },
  19221. "province": {
  19222. "description": "省",
  19223. "$ref": "#/definitions/models.Division"
  19224. }
  19225. }
  19226. },
  19227. "models.Arearole": {
  19228. "type": "object",
  19229. "required": [
  19230. "roletype",
  19231. "userid"
  19232. ],
  19233. "properties": {
  19234. "createtime": {
  19235. "description": "创建时间",
  19236. "type": "string"
  19237. },
  19238. "creatorid": {
  19239. "description": "创建人ID",
  19240. "type": "integer"
  19241. },
  19242. "fromuserid": {
  19243. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  19244. "type": "integer"
  19245. },
  19246. "isreturnscore": {
  19247. "description": "是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还",
  19248. "type": "integer"
  19249. },
  19250. "modifierid": {
  19251. "description": "修改人ID",
  19252. "type": "integer"
  19253. },
  19254. "modifytime": {
  19255. "description": "修改时间",
  19256. "type": "string"
  19257. },
  19258. "orgtype": {
  19259. "description": "组织机构类型 1:机构\\分支节点 2:交易员\\叶子节点 3:部门\\分支节点",
  19260. "type": "integer"
  19261. },
  19262. "outuserid": {
  19263. "description": "外部账户[场外期权做市商]",
  19264. "type": "string"
  19265. },
  19266. "parentuserid": {
  19267. "description": "上级组织机构(组织机构)",
  19268. "type": "integer"
  19269. },
  19270. "roletype": {
  19271. "description": "角色类型 - 1:交易所 2:运营机构 3:营销中心 4:仓库机构 5:三方服务机构 6:自营会员 7:经纪会员 8:做市会员 9:产业会员 10:金融机构 11:商城店铺 12:子机构 13:报价商 14:积分服务商 15:供货商 16:圈内会员 17:物流机构 18:报价配置机构 19:场外期权做市商 20:组织机构 21:顶级机构 22:业务员 23:跟单员 24:交易员 25:客户 98:代理 99:门店",
  19272. "type": "integer"
  19273. },
  19274. "rootuserid": {
  19275. "description": "顶级组织机构用户ID(组织机构)",
  19276. "type": "integer"
  19277. },
  19278. "shoppassword": {
  19279. "description": "商城店铺登陆密码(商城店铺角色使用)",
  19280. "type": "string"
  19281. },
  19282. "sublevelpath": {
  19283. "description": "组织机构层级路径(逗号分隔,首尾加逗号)",
  19284. "type": "string"
  19285. },
  19286. "suborgtype": {
  19287. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  19288. "type": "integer"
  19289. },
  19290. "tradeaccountid": {
  19291. "description": "默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount",
  19292. "type": "integer"
  19293. },
  19294. "transurl": {
  19295. "description": "物流地址(物流机构)",
  19296. "type": "string"
  19297. },
  19298. "userid": {
  19299. "description": "机构用户ID其他做市关系,都设置为 1",
  19300. "type": "integer"
  19301. }
  19302. }
  19303. },
  19304. "models.Clientfixedadconfig": {
  19305. "type": "object",
  19306. "required": [
  19307. "adsort",
  19308. "adtype"
  19309. ],
  19310. "properties": {
  19311. "adsort": {
  19312. "description": "排序",
  19313. "type": "integer"
  19314. },
  19315. "adtype": {
  19316. "description": "广告位类型 - 1:新品抢购(HSBY)",
  19317. "type": "integer"
  19318. },
  19319. "areauserid": {
  19320. "description": "所属机构ID",
  19321. "type": "integer"
  19322. },
  19323. "createdate": {
  19324. "description": "创建时间",
  19325. "type": "string"
  19326. },
  19327. "creatorid": {
  19328. "description": "创建人",
  19329. "type": "integer"
  19330. },
  19331. "imagepath": {
  19332. "description": "图片",
  19333. "type": "string"
  19334. },
  19335. "isshow": {
  19336. "description": "是否展示 - 0:不展示 1:展示",
  19337. "type": "integer"
  19338. },
  19339. "modifierid": {
  19340. "description": "操作人",
  19341. "type": "integer"
  19342. },
  19343. "recsize": {
  19344. "description": "推荐尺寸",
  19345. "type": "string"
  19346. },
  19347. "title": {
  19348. "description": "标题",
  19349. "type": "string"
  19350. },
  19351. "updatedate": {
  19352. "description": "更新时间",
  19353. "type": "string"
  19354. },
  19355. "urlcontent": {
  19356. "description": "链接(地址或商品ID)",
  19357. "type": "string"
  19358. },
  19359. "urltype": {
  19360. "description": "链接类型 - 1:直接地址 2:商品ID",
  19361. "type": "integer"
  19362. }
  19363. }
  19364. },
  19365. "models.Division": {
  19366. "type": "object",
  19367. "required": [
  19368. "autoid",
  19369. "divisioncode"
  19370. ],
  19371. "properties": {
  19372. "autoid": {
  19373. "description": "自增ID",
  19374. "type": "integer"
  19375. },
  19376. "divisioncode": {
  19377. "description": "行政代码",
  19378. "type": "string"
  19379. },
  19380. "divisionlevel": {
  19381. "description": "行政级别",
  19382. "type": "string"
  19383. },
  19384. "divisionname": {
  19385. "description": "行政名称",
  19386. "type": "string"
  19387. },
  19388. "modifierid": {
  19389. "description": "修改人",
  19390. "type": "integer"
  19391. },
  19392. "modifytime": {
  19393. "description": "修改时间",
  19394. "type": "string"
  19395. },
  19396. "parentcode": {
  19397. "description": "上级行政代码",
  19398. "type": "string"
  19399. },
  19400. "pathname": {
  19401. "description": "路径名称",
  19402. "type": "string"
  19403. },
  19404. "postcode": {
  19405. "description": "邮政编码",
  19406. "type": "string"
  19407. },
  19408. "separablename": {
  19409. "description": "可拆分的全称",
  19410. "type": "string"
  19411. },
  19412. "shortcode": {
  19413. "description": "地区简码",
  19414. "type": "string"
  19415. }
  19416. }
  19417. },
  19418. "models.Enumdicitem": {
  19419. "type": "object",
  19420. "required": [
  19421. "autoid",
  19422. "enumdiccode",
  19423. "enumdicid",
  19424. "enumitemname"
  19425. ],
  19426. "properties": {
  19427. "autoid": {
  19428. "description": "自增ID",
  19429. "type": "integer"
  19430. },
  19431. "bankmappedvalue": {
  19432. "description": "银行服务对应值",
  19433. "type": "string"
  19434. },
  19435. "enumdiccode": {
  19436. "description": "所属枚举代码",
  19437. "type": "string"
  19438. },
  19439. "enumdicid": {
  19440. "description": "所属枚举ID",
  19441. "type": "integer"
  19442. },
  19443. "enumdicname": {
  19444. "description": "枚举项名称",
  19445. "type": "string"
  19446. },
  19447. "enumitemname": {
  19448. "description": "枚举项值",
  19449. "type": "integer"
  19450. },
  19451. "enumitemstatus": {
  19452. "description": "枚举项状态 - 1.启用 2.不启用",
  19453. "type": "integer"
  19454. },
  19455. "enumitemvalue": {
  19456. "description": "通用值 - [币种通用简写]",
  19457. "type": "string"
  19458. },
  19459. "param1": {
  19460. "description": "参数1[币种:币种小数位]",
  19461. "type": "string"
  19462. },
  19463. "param2": {
  19464. "description": "参数1[币种:币种显示单位]",
  19465. "type": "string"
  19466. },
  19467. "remark": {
  19468. "description": "备注",
  19469. "type": "string"
  19470. }
  19471. }
  19472. },
  19473. "models.Ermcp3AreaSpot": {
  19474. "type": "object",
  19475. "properties": {
  19476. "areauserid": {
  19477. "description": "所属机构",
  19478. "type": "integer"
  19479. },
  19480. "convertratio": {
  19481. "description": "套保系数",
  19482. "type": "number"
  19483. },
  19484. "decreaseqty": {
  19485. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  19486. "type": "number"
  19487. },
  19488. "enumdicname": {
  19489. "description": "单位名称",
  19490. "type": "string"
  19491. },
  19492. "increaseqty": {
  19493. "description": "增加数量=销售计划数量+采购已定价数量",
  19494. "type": "number"
  19495. },
  19496. "oritoalspotqty": {
  19497. "description": "昨日数量",
  19498. "type": "number"
  19499. },
  19500. "totalspotqty": {
  19501. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  19502. "type": "number"
  19503. },
  19504. "unitid": {
  19505. "description": "现货商品单位id",
  19506. "type": "integer"
  19507. },
  19508. "updatetime": {
  19509. "description": "更新时间",
  19510. "type": "string"
  19511. },
  19512. "wrstandardcode": {
  19513. "description": "现货商品代码",
  19514. "type": "string"
  19515. },
  19516. "wrstandardid": {
  19517. "description": "现货商品ID(SEQ_WRSTANDARD)",
  19518. "type": "integer"
  19519. },
  19520. "wrstandardname": {
  19521. "description": "现货商品名称",
  19522. "type": "string"
  19523. }
  19524. }
  19525. },
  19526. "models.Ermcp3AreaSpotDetail": {
  19527. "type": "object",
  19528. "properties": {
  19529. "contracttype": {
  19530. "description": "合同类型 1-采购 -1-销售",
  19531. "type": "integer"
  19532. },
  19533. "createtime": {
  19534. "description": "创建时间",
  19535. "type": "string"
  19536. },
  19537. "enumdicname": {
  19538. "description": "现货商品单位名称",
  19539. "type": "string"
  19540. },
  19541. "logtype": {
  19542. "description": "记录类型 1-套保 2-现货合同",
  19543. "type": "integer"
  19544. },
  19545. "qty": {
  19546. "description": "数量",
  19547. "type": "number"
  19548. },
  19549. "recordname": {
  19550. "description": "类型名称",
  19551. "type": "string"
  19552. },
  19553. "relatedid": {
  19554. "description": "套保计划ID/现货合同ID",
  19555. "type": "string"
  19556. },
  19557. "relatedno": {
  19558. "description": "编号",
  19559. "type": "string"
  19560. },
  19561. "strtime": {
  19562. "description": "时间",
  19563. "type": "string"
  19564. },
  19565. "wrstandardcode": {
  19566. "description": "现货商品代码",
  19567. "type": "string"
  19568. },
  19569. "wrstandardid": {
  19570. "description": "现货商品ID(SEQ_WRSTANDARD)",
  19571. "type": "integer"
  19572. },
  19573. "wrstandardname": {
  19574. "description": "现货商品名称",
  19575. "type": "string"
  19576. }
  19577. }
  19578. },
  19579. "models.Ermcp3AreaSpotPLReport": {
  19580. "type": "object",
  19581. "properties": {
  19582. "accountid": {
  19583. "description": "期货账户ID (作废, 默认为0)",
  19584. "type": "integer"
  19585. },
  19586. "accountname": {
  19587. "description": "机构名称",
  19588. "type": "string"
  19589. },
  19590. "actualpl": {
  19591. "description": "现货损益",
  19592. "type": "number"
  19593. },
  19594. "areauserid": {
  19595. "description": "所属机构\\交易用户ID",
  19596. "type": "integer"
  19597. },
  19598. "begindate": {
  19599. "description": "开始交易日",
  19600. "type": "string"
  19601. },
  19602. "biztype": {
  19603. "description": "业务类型 - 1:套保 2:套利",
  19604. "type": "integer"
  19605. },
  19606. "brandname": {
  19607. "description": "品牌名称",
  19608. "type": "string"
  19609. },
  19610. "curamount": {
  19611. "description": "期末额",
  19612. "type": "number"
  19613. },
  19614. "curaverageprice": {
  19615. "description": "期末均价",
  19616. "type": "number"
  19617. },
  19618. "curbuyamount": {
  19619. "description": "期末采购总额",
  19620. "type": "number"
  19621. },
  19622. "curbuyqty": {
  19623. "description": "期末采购总量",
  19624. "type": "number"
  19625. },
  19626. "curmarketvalue": {
  19627. "description": "参考市值(期末市值)",
  19628. "type": "number"
  19629. },
  19630. "curqty": {
  19631. "description": "期末量",
  19632. "type": "number"
  19633. },
  19634. "currencyid": {
  19635. "description": "结算币种ID【原值】",
  19636. "type": "integer"
  19637. },
  19638. "currencyname": {
  19639. "description": "币种名称",
  19640. "type": "string"
  19641. },
  19642. "cursellamount": {
  19643. "description": "期末销售总额",
  19644. "type": "number"
  19645. },
  19646. "cursellqty": {
  19647. "description": "期末销售总量",
  19648. "type": "number"
  19649. },
  19650. "curspotprice": {
  19651. "description": "参考市价(最新价)",
  19652. "type": "number"
  19653. },
  19654. "cycletime": {
  19655. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  19656. "type": "string"
  19657. },
  19658. "cycletype": {
  19659. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  19660. "type": "integer"
  19661. },
  19662. "deliverygoodscode": {
  19663. "description": "现货商品代码",
  19664. "type": "string"
  19665. },
  19666. "deliverygoodsid": {
  19667. "description": "现货品种ID",
  19668. "type": "integer"
  19669. },
  19670. "deliverygoodsname": {
  19671. "description": "现货商品名称",
  19672. "type": "string"
  19673. },
  19674. "enddate": {
  19675. "description": "结束交易日",
  19676. "type": "string"
  19677. },
  19678. "enumdicname": {
  19679. "description": "现货商品单位名称",
  19680. "type": "string"
  19681. },
  19682. "floatpl": {
  19683. "description": "浮动损益",
  19684. "type": "number"
  19685. },
  19686. "goodsunitid": {
  19687. "description": "现货商品单位id",
  19688. "type": "integer"
  19689. },
  19690. "oriamount": {
  19691. "description": "期初额",
  19692. "type": "number"
  19693. },
  19694. "oriaverageprice": {
  19695. "description": "期初均价",
  19696. "type": "number"
  19697. },
  19698. "oribuyamount": {
  19699. "description": "期初采购总额",
  19700. "type": "number"
  19701. },
  19702. "oribuyqty": {
  19703. "description": "期初采购总量",
  19704. "type": "number"
  19705. },
  19706. "oriqty": {
  19707. "description": "期初量",
  19708. "type": "number"
  19709. },
  19710. "orisellamount": {
  19711. "description": "期初销售总额",
  19712. "type": "number"
  19713. },
  19714. "orisellqty": {
  19715. "description": "期初销售总量",
  19716. "type": "number"
  19717. },
  19718. "reckondate": {
  19719. "description": "日照时期(yyyyMMdd)",
  19720. "type": "string"
  19721. },
  19722. "spotgoodsbrandid": {
  19723. "description": "现货品牌ID",
  19724. "type": "integer"
  19725. },
  19726. "todaybuyamount": {
  19727. "description": "今日采购额(今采购额)",
  19728. "type": "number"
  19729. },
  19730. "todaybuyaverageprice": {
  19731. "description": "今日采购均价",
  19732. "type": "number"
  19733. },
  19734. "todaybuyqty": {
  19735. "description": "今日采购量(今采购量)",
  19736. "type": "number"
  19737. },
  19738. "todayinqty": {
  19739. "description": "今日入库量(今入库量)",
  19740. "type": "number"
  19741. },
  19742. "todayoutqty": {
  19743. "description": "今日出库量(今出库量)",
  19744. "type": "number"
  19745. },
  19746. "todaysellamount": {
  19747. "description": "今日销售额(今销售额)",
  19748. "type": "number"
  19749. },
  19750. "todaysellaverageprice": {
  19751. "description": "今日销售均价",
  19752. "type": "number"
  19753. },
  19754. "todaysellqty": {
  19755. "description": "今日销售量(今销售量)",
  19756. "type": "number"
  19757. },
  19758. "unitid": {
  19759. "description": "品类单位id",
  19760. "type": "integer"
  19761. },
  19762. "unitidname": {
  19763. "description": "品类单位名称",
  19764. "type": "string"
  19765. },
  19766. "updatetime": {
  19767. "description": "更新时间",
  19768. "type": "string"
  19769. },
  19770. "wrfactortypeid": {
  19771. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  19772. "type": "integer"
  19773. },
  19774. "wrstandardcode": {
  19775. "description": "品类代码",
  19776. "type": "string"
  19777. },
  19778. "wrstandardid": {
  19779. "description": "现货品类ID",
  19780. "type": "integer"
  19781. },
  19782. "wrstandardname": {
  19783. "description": "品类名称",
  19784. "type": "string"
  19785. }
  19786. }
  19787. },
  19788. "models.Ermcp3AreaStock": {
  19789. "type": "object",
  19790. "required": [
  19791. "userid"
  19792. ],
  19793. "properties": {
  19794. "brandname": {
  19795. "description": "品牌名称",
  19796. "type": "string"
  19797. },
  19798. "curstock": {
  19799. "description": "期末库存量(今日量)",
  19800. "type": "number"
  19801. },
  19802. "deliverygoodscode": {
  19803. "description": "现货品种代码",
  19804. "type": "string"
  19805. },
  19806. "deliverygoodsid": {
  19807. "description": "现货品种id",
  19808. "type": "integer"
  19809. },
  19810. "deliverygoodsname": {
  19811. "description": "现货品种名称",
  19812. "type": "string"
  19813. },
  19814. "enumdicname": {
  19815. "description": "单位名称",
  19816. "type": "string"
  19817. },
  19818. "goodsunitid": {
  19819. "description": "现货商品单位id",
  19820. "type": "integer"
  19821. },
  19822. "oristock": {
  19823. "description": "期初库存量(昨日量)",
  19824. "type": "number"
  19825. },
  19826. "spotgoodsbrandid": {
  19827. "description": "现货品牌ID",
  19828. "type": "integer"
  19829. },
  19830. "todaybuyinqty": {
  19831. "description": "今日采购入库量",
  19832. "type": "number"
  19833. },
  19834. "todayproduceinqty": {
  19835. "description": "今日生产入库量",
  19836. "type": "number"
  19837. },
  19838. "todayproduceoutqty": {
  19839. "description": "今日生产出库量",
  19840. "type": "number"
  19841. },
  19842. "todayselloutqty": {
  19843. "description": "今日销售出库量",
  19844. "type": "number"
  19845. },
  19846. "unitid": {
  19847. "description": "单位id",
  19848. "type": "integer"
  19849. },
  19850. "updatetime": {
  19851. "description": "更新时间",
  19852. "type": "string"
  19853. },
  19854. "userid": {
  19855. "description": "机构ID",
  19856. "type": "integer"
  19857. },
  19858. "username": {
  19859. "description": "机构名称",
  19860. "type": "string"
  19861. },
  19862. "warehousecode": {
  19863. "description": "仓库代码",
  19864. "type": "string"
  19865. },
  19866. "warehouseinfoid": {
  19867. "description": "仓库ID",
  19868. "type": "string"
  19869. },
  19870. "warehousename": {
  19871. "description": "仓库名称",
  19872. "type": "string"
  19873. },
  19874. "warehousetype": {
  19875. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  19876. "type": "integer"
  19877. },
  19878. "wrstandardcode": {
  19879. "description": "品类代码",
  19880. "type": "string"
  19881. },
  19882. "wrstandardid": {
  19883. "description": "品类ID",
  19884. "type": "string"
  19885. },
  19886. "wrstandardname": {
  19887. "description": "品类名称",
  19888. "type": "string"
  19889. }
  19890. }
  19891. },
  19892. "models.Ermcp3AreaStockApply": {
  19893. "type": "object",
  19894. "properties": {
  19895. "applyid": {
  19896. "description": "申请人",
  19897. "type": "integer"
  19898. },
  19899. "applyname": {
  19900. "description": "申请人名称",
  19901. "type": "string"
  19902. },
  19903. "applyremark": {
  19904. "description": "申请备注",
  19905. "type": "string"
  19906. },
  19907. "applysrc": {
  19908. "description": "申请来源 - 1:管理端 2:终端",
  19909. "type": "integer"
  19910. },
  19911. "applystatus": {
  19912. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  19913. "type": "integer"
  19914. },
  19915. "applytime": {
  19916. "description": "申请时间",
  19917. "type": "string"
  19918. },
  19919. "auditid": {
  19920. "description": "审核人",
  19921. "type": "integer"
  19922. },
  19923. "auditname": {
  19924. "description": "审核人名称",
  19925. "type": "string"
  19926. },
  19927. "auditremark": {
  19928. "description": "审核备注",
  19929. "type": "string"
  19930. },
  19931. "auditsrc": {
  19932. "description": "审核来源 - 1:管理端 2:终端",
  19933. "type": "integer"
  19934. },
  19935. "audittime": {
  19936. "description": "审核时间",
  19937. "type": "string"
  19938. },
  19939. "audittradedate": {
  19940. "description": "审核交易日(yyyyMMdd)",
  19941. "type": "string"
  19942. },
  19943. "brandname": {
  19944. "description": "品牌名称",
  19945. "type": "string"
  19946. },
  19947. "buynickname": {
  19948. "description": "采购方昵称",
  19949. "type": "string"
  19950. },
  19951. "buyuserid": {
  19952. "description": "采购方userid",
  19953. "type": "integer"
  19954. },
  19955. "buyusername": {
  19956. "description": "采购方名称",
  19957. "type": "string"
  19958. },
  19959. "contractno": {
  19960. "description": "合同编号",
  19961. "type": "string"
  19962. },
  19963. "contractqty": {
  19964. "description": "合同量",
  19965. "type": "number"
  19966. },
  19967. "contracttype": {
  19968. "description": "现货合同类型 - 1:采购 -1:销售",
  19969. "type": "integer"
  19970. },
  19971. "deliverygoodscode": {
  19972. "description": "现货品种代码",
  19973. "type": "string"
  19974. },
  19975. "deliverygoodsid": {
  19976. "description": "现货品种id",
  19977. "type": "integer"
  19978. },
  19979. "deliverygoodsname": {
  19980. "description": "现货品种名称",
  19981. "type": "string"
  19982. },
  19983. "detailjson": {
  19984. "description": "明细数据",
  19985. "type": "string"
  19986. },
  19987. "enumdicname": {
  19988. "description": "现货商品单位名称",
  19989. "type": "string"
  19990. },
  19991. "inoutapplyid": {
  19992. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  19993. "type": "string"
  19994. },
  19995. "inouttype": {
  19996. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  19997. "type": "integer"
  19998. },
  19999. "pricetype": {
  20000. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  20001. "type": "integer"
  20002. },
  20003. "qty": {
  20004. "description": "数量",
  20005. "type": "number"
  20006. },
  20007. "sellnickname": {
  20008. "description": "销售方昵称",
  20009. "type": "string"
  20010. },
  20011. "selluserid": {
  20012. "description": "销售方userid",
  20013. "type": "integer"
  20014. },
  20015. "sellusername": {
  20016. "description": "销售方名称",
  20017. "type": "string"
  20018. },
  20019. "spotcontractid": {
  20020. "description": "关联现货合同ID",
  20021. "type": "string"
  20022. },
  20023. "spotgoodsbrandid": {
  20024. "description": "现货品牌ID",
  20025. "type": "integer"
  20026. },
  20027. "unitid": {
  20028. "description": "单位id",
  20029. "type": "integer"
  20030. },
  20031. "userid": {
  20032. "description": "机构ID",
  20033. "type": "integer"
  20034. },
  20035. "warehousecode": {
  20036. "description": "仓库代码",
  20037. "type": "string"
  20038. },
  20039. "warehouseinfoid": {
  20040. "description": "现货仓库ID",
  20041. "type": "string"
  20042. },
  20043. "warehousename": {
  20044. "description": "仓库名称",
  20045. "type": "string"
  20046. },
  20047. "warehousetype": {
  20048. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  20049. "type": "integer"
  20050. },
  20051. "wrstandardcode": {
  20052. "description": "品类代码",
  20053. "type": "string"
  20054. },
  20055. "wrstandardid": {
  20056. "description": "品类ID",
  20057. "type": "integer"
  20058. },
  20059. "wrstandardname": {
  20060. "description": "品类名称",
  20061. "type": "string"
  20062. }
  20063. }
  20064. },
  20065. "models.Ermcp3AreaStockApplySum": {
  20066. "type": "object",
  20067. "properties": {
  20068. "brandname": {
  20069. "description": "品牌名称",
  20070. "type": "string"
  20071. },
  20072. "inouttype": {
  20073. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  20074. "type": "integer"
  20075. },
  20076. "spotcontractid": {
  20077. "description": "关联现货合同ID",
  20078. "type": "string"
  20079. },
  20080. "spotgoodsbrandid": {
  20081. "description": "品牌id",
  20082. "type": "integer"
  20083. },
  20084. "totalqty": {
  20085. "description": "总数量",
  20086. "type": "number"
  20087. },
  20088. "wrstandardid": {
  20089. "description": "品类id",
  20090. "type": "integer"
  20091. },
  20092. "wrstandardname": {
  20093. "description": "品类名称",
  20094. "type": "string"
  20095. }
  20096. }
  20097. },
  20098. "models.Ermcp3AreaStockReportEx": {
  20099. "type": "object",
  20100. "properties": {
  20101. "begindate": {
  20102. "description": "开始交易日",
  20103. "type": "string"
  20104. },
  20105. "brandname": {
  20106. "description": "品牌名称",
  20107. "type": "string"
  20108. },
  20109. "curstock": {
  20110. "description": "期末库存量",
  20111. "type": "number"
  20112. },
  20113. "cycletime": {
  20114. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  20115. "type": "string"
  20116. },
  20117. "cycletype": {
  20118. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  20119. "type": "integer"
  20120. },
  20121. "deliverygoodscode": {
  20122. "description": "现货品种代码",
  20123. "type": "string"
  20124. },
  20125. "deliverygoodsid": {
  20126. "description": "现货品种id",
  20127. "type": "integer"
  20128. },
  20129. "deliverygoodsname": {
  20130. "description": "现货品种名称",
  20131. "type": "string"
  20132. },
  20133. "diffqty": {
  20134. "description": "库存变化量 = 期末 - 期初",
  20135. "type": "number"
  20136. },
  20137. "enddate": {
  20138. "description": "结束交易日",
  20139. "type": "string"
  20140. },
  20141. "enumdicname": {
  20142. "description": "单位名称",
  20143. "type": "string"
  20144. },
  20145. "goodsunitid": {
  20146. "description": "现货单位id",
  20147. "type": "integer"
  20148. },
  20149. "oristock": {
  20150. "description": "期初库存量",
  20151. "type": "number"
  20152. },
  20153. "reckondate": {
  20154. "description": "日照时期(yyyyMMdd)",
  20155. "type": "string"
  20156. },
  20157. "spotgoodsbrandid": {
  20158. "description": "现货品牌ID",
  20159. "type": "integer"
  20160. },
  20161. "todaybuyinqty": {
  20162. "description": "今采购入库量",
  20163. "type": "number"
  20164. },
  20165. "todayproduceinqty": {
  20166. "description": "今内部入库量",
  20167. "type": "number"
  20168. },
  20169. "todayproduceoutqty": {
  20170. "description": "今内部出库量",
  20171. "type": "number"
  20172. },
  20173. "todayselloutqty": {
  20174. "description": "今销售出库量",
  20175. "type": "number"
  20176. },
  20177. "unbuyinqty": {
  20178. "description": "采购未入库量(数据库未找到相关字段?)",
  20179. "type": "number"
  20180. },
  20181. "unitid": {
  20182. "description": "品类单位id",
  20183. "type": "integer"
  20184. },
  20185. "unselloutqty": {
  20186. "description": "销售未出库量(数据库未找到相关字段?)",
  20187. "type": "number"
  20188. },
  20189. "updatetime": {
  20190. "description": "更新时间",
  20191. "type": "string"
  20192. },
  20193. "userid": {
  20194. "description": "机构ID",
  20195. "type": "integer"
  20196. },
  20197. "username": {
  20198. "description": "机构名称",
  20199. "type": "string"
  20200. },
  20201. "warehousecode": {
  20202. "description": "仓库代码",
  20203. "type": "string"
  20204. },
  20205. "warehouseinfoid": {
  20206. "description": "仓库ID",
  20207. "type": "string"
  20208. },
  20209. "warehousename": {
  20210. "description": "仓库名称",
  20211. "type": "string"
  20212. },
  20213. "warehousetype": {
  20214. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  20215. "type": "integer"
  20216. },
  20217. "wrstandardcode": {
  20218. "description": "品类代码",
  20219. "type": "string"
  20220. },
  20221. "wrstandardid": {
  20222. "description": "品类ID",
  20223. "type": "integer"
  20224. },
  20225. "wrstandardname": {
  20226. "description": "品类名称",
  20227. "type": "string"
  20228. }
  20229. }
  20230. },
  20231. "models.Ermcp3ArealSumPL": {
  20232. "type": "object",
  20233. "properties": {
  20234. "accountname": {
  20235. "description": "机构名称",
  20236. "type": "string"
  20237. },
  20238. "areauserid": {
  20239. "description": "所属机构\\交易用户ID",
  20240. "type": "integer"
  20241. },
  20242. "begindate": {
  20243. "description": "开始交易日",
  20244. "type": "string"
  20245. },
  20246. "currencyid": {
  20247. "description": "结算币种ID",
  20248. "type": "integer"
  20249. },
  20250. "currencyname": {
  20251. "description": "币种名称",
  20252. "type": "string"
  20253. },
  20254. "cycletime": {
  20255. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  20256. "type": "string"
  20257. },
  20258. "cycletype": {
  20259. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  20260. "type": "integer"
  20261. },
  20262. "enddate": {
  20263. "description": "结束交易日",
  20264. "type": "string"
  20265. },
  20266. "enumdicname": {
  20267. "description": "单位名称(套保品种)",
  20268. "type": "string"
  20269. },
  20270. "futureactualpl": {
  20271. "description": "期货损益",
  20272. "type": "number"
  20273. },
  20274. "futurefloatpl": {
  20275. "description": "期货浮动损益",
  20276. "type": "number"
  20277. },
  20278. "futurespotratio": {
  20279. "description": "期现比例 = 期货头寸总量 / 现货头寸总量",
  20280. "type": "number"
  20281. },
  20282. "goodsunitid": {
  20283. "description": "套保品种单位id",
  20284. "type": "integer"
  20285. },
  20286. "hedgeexposurepl": {
  20287. "description": "套保敞口损益",
  20288. "type": "number"
  20289. },
  20290. "middlegoodscode": {
  20291. "description": "套保品种代码",
  20292. "type": "string"
  20293. },
  20294. "middlegoodsid": {
  20295. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  20296. "type": "integer"
  20297. },
  20298. "middlegoodsname": {
  20299. "description": "套保品种名称",
  20300. "type": "string"
  20301. },
  20302. "reckondate": {
  20303. "description": "日照时期(yyyyMMdd)",
  20304. "type": "string"
  20305. },
  20306. "spotactualpl": {
  20307. "description": "现货损益",
  20308. "type": "number"
  20309. },
  20310. "spotfloatpl": {
  20311. "description": "现货浮动损益",
  20312. "type": "number"
  20313. },
  20314. "sumactualpl": {
  20315. "description": "实际损益 = (ActualPL + FutureActualPL)",
  20316. "type": "number"
  20317. },
  20318. "sumpl": {
  20319. "description": "总敞口损益 | 汇总损益",
  20320. "type": "number"
  20321. },
  20322. "totalfutureqty": {
  20323. "description": "期货头寸总量",
  20324. "type": "number"
  20325. },
  20326. "totalneedhedgeqty": {
  20327. "description": "应套保总量",
  20328. "type": "number"
  20329. },
  20330. "totalspotqty": {
  20331. "description": "现货头寸总量",
  20332. "type": "number"
  20333. },
  20334. "updatetime": {
  20335. "description": "更新时间",
  20336. "type": "string"
  20337. }
  20338. }
  20339. },
  20340. "models.Ermcp3Brand": {
  20341. "type": "object",
  20342. "properties": {
  20343. "areauserid": {
  20344. "description": "用户id",
  20345. "type": "integer"
  20346. },
  20347. "brandid": {
  20348. "description": "品牌id",
  20349. "type": "integer"
  20350. },
  20351. "brandname": {
  20352. "description": "品牌名称",
  20353. "type": "string"
  20354. },
  20355. "deliverygoodsid": {
  20356. "description": "品种ID",
  20357. "type": "integer"
  20358. },
  20359. "isvalid": {
  20360. "description": "是否有效",
  20361. "type": "integer"
  20362. }
  20363. }
  20364. },
  20365. "models.Ermcp3Contract": {
  20366. "type": "object",
  20367. "properties": {
  20368. "accountid": {
  20369. "description": "期货账户id",
  20370. "type": "string"
  20371. },
  20372. "amount": {
  20373. "description": "金额 [1:一口价、3:暂定价]",
  20374. "type": "number"
  20375. },
  20376. "attachment": {
  20377. "description": "附件",
  20378. "type": "string"
  20379. },
  20380. "auditremark": {
  20381. "description": "审核意见",
  20382. "type": "string"
  20383. },
  20384. "audittime": {
  20385. "description": "审核时间",
  20386. "type": "string"
  20387. },
  20388. "biztype": {
  20389. "description": "业务类型 1-套保 2-套利",
  20390. "type": "integer"
  20391. },
  20392. "brandname": {
  20393. "description": "品牌名称",
  20394. "type": "string"
  20395. },
  20396. "buynickname": {
  20397. "description": "销售方昵称",
  20398. "type": "string"
  20399. },
  20400. "buyuserid": {
  20401. "description": "采购方ID",
  20402. "type": "integer"
  20403. },
  20404. "buyusername": {
  20405. "description": "采购方名称",
  20406. "type": "string"
  20407. },
  20408. "contracctstatus": {
  20409. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  20410. "type": "integer"
  20411. },
  20412. "contractmargin": {
  20413. "description": "合同保证金",
  20414. "type": "number"
  20415. },
  20416. "contractno": {
  20417. "description": "现货合同编号",
  20418. "type": "string"
  20419. },
  20420. "contracttype": {
  20421. "description": "现货合同类型 - 1:采购 -1:销售",
  20422. "type": "integer"
  20423. },
  20424. "convertfactor": {
  20425. "description": "标仓系数(品类)",
  20426. "type": "number"
  20427. },
  20428. "createtime": {
  20429. "description": "创建时间",
  20430. "type": "string"
  20431. },
  20432. "currencyid": {
  20433. "description": "币种id",
  20434. "type": "integer"
  20435. },
  20436. "currencyname": {
  20437. "description": "币种名称",
  20438. "type": "string"
  20439. },
  20440. "deliveryenddate": {
  20441. "description": "交收期(结束)",
  20442. "type": "string"
  20443. },
  20444. "deliverygoodscode": {
  20445. "description": "现货品种代码",
  20446. "type": "string"
  20447. },
  20448. "deliverygoodsid": {
  20449. "description": "现货品种ID",
  20450. "type": "integer"
  20451. },
  20452. "deliverygoodsname": {
  20453. "description": "现货品种名称",
  20454. "type": "string"
  20455. },
  20456. "deliverystartdate": {
  20457. "description": "交收期(开始)",
  20458. "type": "string"
  20459. },
  20460. "enddate": {
  20461. "description": "点价结束日期 [2:点价 3:暂定价]",
  20462. "type": "string"
  20463. },
  20464. "enumdicname": {
  20465. "description": "单位名称",
  20466. "type": "string"
  20467. },
  20468. "goodscode": {
  20469. "description": "点价合约代码",
  20470. "type": "string"
  20471. },
  20472. "goodsid": {
  20473. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  20474. "type": "integer"
  20475. },
  20476. "goodsname": {
  20477. "description": "点价商品名称",
  20478. "type": "string"
  20479. },
  20480. "margin": {
  20481. "description": "当前保证金",
  20482. "type": "number"
  20483. },
  20484. "meruserid": {
  20485. "description": "跟单员id",
  20486. "type": "integer"
  20487. },
  20488. "meruserlogincode": {
  20489. "description": "跟单员登录代码",
  20490. "type": "string"
  20491. },
  20492. "merusername": {
  20493. "description": "跟单员名称",
  20494. "type": "string"
  20495. },
  20496. "price": {
  20497. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  20498. "type": "number"
  20499. },
  20500. "pricemove": {
  20501. "description": "升贴水 [2:点价 3:暂定价]",
  20502. "type": "number"
  20503. },
  20504. "pricetype": {
  20505. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  20506. "type": "integer"
  20507. },
  20508. "producttype": {
  20509. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  20510. "type": "integer"
  20511. },
  20512. "qty": {
  20513. "description": "数量",
  20514. "type": "number"
  20515. },
  20516. "remark": {
  20517. "description": "备注",
  20518. "type": "string"
  20519. },
  20520. "saleuserid": {
  20521. "description": "业务员id",
  20522. "type": "integer"
  20523. },
  20524. "saleuserlogincode": {
  20525. "description": "业务员登录代码",
  20526. "type": "string"
  20527. },
  20528. "saleusername": {
  20529. "description": "业务员名称",
  20530. "type": "string"
  20531. },
  20532. "sellnickname": {
  20533. "description": "采购方昵称",
  20534. "type": "string"
  20535. },
  20536. "selluserid": {
  20537. "description": "销售方ID",
  20538. "type": "integer"
  20539. },
  20540. "sellusername": {
  20541. "description": "销售方名称",
  20542. "type": "string"
  20543. },
  20544. "spotcontractid": {
  20545. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  20546. "type": "string"
  20547. },
  20548. "spotgoodsbrandid": {
  20549. "description": "现货品牌ID(DGFactoryItem表的ID)",
  20550. "type": "integer"
  20551. },
  20552. "spotgoodsdesc": {
  20553. "description": "商品型号",
  20554. "type": "string"
  20555. },
  20556. "startdate": {
  20557. "description": "点价开始日期 [2:点价 3:暂定价]",
  20558. "type": "string"
  20559. },
  20560. "subjectid": {
  20561. "description": "交易主体ID",
  20562. "type": "integer"
  20563. },
  20564. "subjectname": {
  20565. "description": "交易主体名称",
  20566. "type": "string"
  20567. },
  20568. "tradeuserid": {
  20569. "description": "交易员id",
  20570. "type": "integer"
  20571. },
  20572. "tradeuserlogincode": {
  20573. "description": "交易员登录代码",
  20574. "type": "string"
  20575. },
  20576. "tradeusername": {
  20577. "description": "交易员名称",
  20578. "type": "string"
  20579. },
  20580. "unitid": {
  20581. "description": "单位id(取品类上的单位id)",
  20582. "type": "integer"
  20583. },
  20584. "updatetime": {
  20585. "description": "更新时间",
  20586. "type": "string"
  20587. },
  20588. "userid": {
  20589. "description": "所属机构ID",
  20590. "type": "integer"
  20591. },
  20592. "vatrate": {
  20593. "description": "增值税率",
  20594. "type": "number"
  20595. },
  20596. "wrstandardcode": {
  20597. "description": "品类代码",
  20598. "type": "string"
  20599. },
  20600. "wrstandardid": {
  20601. "description": "品类ID",
  20602. "type": "integer"
  20603. },
  20604. "wrstandardname": {
  20605. "description": "品类名称",
  20606. "type": "string"
  20607. }
  20608. }
  20609. },
  20610. "models.Ermcp3ExposureContractDetail": {
  20611. "type": "object",
  20612. "properties": {
  20613. "biztype": {
  20614. "description": "业务类型 1-套保 2-套利",
  20615. "type": "integer"
  20616. },
  20617. "brandname": {
  20618. "description": "品牌名称",
  20619. "type": "string"
  20620. },
  20621. "buyuserid": {
  20622. "description": "采购方id",
  20623. "type": "integer"
  20624. },
  20625. "buyusername": {
  20626. "description": "采购方名称",
  20627. "type": "string"
  20628. },
  20629. "contractno": {
  20630. "description": "合同编号",
  20631. "type": "string"
  20632. },
  20633. "contracttype": {
  20634. "description": "现货合同类型 - 1:采购 -1:销售",
  20635. "type": "integer"
  20636. },
  20637. "convertfactor": {
  20638. "description": "标仓系数",
  20639. "type": "number"
  20640. },
  20641. "convertratio": {
  20642. "description": "折算系数(套保品种)",
  20643. "type": "number"
  20644. },
  20645. "curqty": {
  20646. "description": "今定价量",
  20647. "type": "number"
  20648. },
  20649. "deliverygoodscode": {
  20650. "description": "现货品种代码",
  20651. "type": "string"
  20652. },
  20653. "deliverygoodsid": {
  20654. "description": "现货品种id",
  20655. "type": "integer"
  20656. },
  20657. "deliverygoodsname": {
  20658. "description": "现货品种名称",
  20659. "type": "string"
  20660. },
  20661. "diffhedgeqty": {
  20662. "description": "套保变动量",
  20663. "type": "number"
  20664. },
  20665. "diffneedhedgeqty": {
  20666. "description": "应套保变动量",
  20667. "type": "number"
  20668. },
  20669. "diffqty": {
  20670. "description": "套保品种今变动量",
  20671. "type": "number"
  20672. },
  20673. "enumdicname": {
  20674. "description": "单位名称",
  20675. "type": "string"
  20676. },
  20677. "mgunitname": {
  20678. "description": "套保品种单位名称",
  20679. "type": "string"
  20680. },
  20681. "middlegoodscode": {
  20682. "description": "套保品种代码",
  20683. "type": "string"
  20684. },
  20685. "middlegoodsid": {
  20686. "description": "套保品种id",
  20687. "type": "integer"
  20688. },
  20689. "middlegoodsname": {
  20690. "description": "套保品种名称",
  20691. "type": "string"
  20692. },
  20693. "needarbitrageratio": {
  20694. "description": "应套利比例",
  20695. "type": "number"
  20696. },
  20697. "needhedgeratio": {
  20698. "description": "应套保比例",
  20699. "type": "number"
  20700. },
  20701. "pricedqty": {
  20702. "description": "已定价量",
  20703. "type": "number"
  20704. },
  20705. "qty": {
  20706. "description": "合同量",
  20707. "type": "number"
  20708. },
  20709. "selluserid": {
  20710. "description": "销售方id",
  20711. "type": "integer"
  20712. },
  20713. "sellusername": {
  20714. "description": "销售方名称",
  20715. "type": "string"
  20716. },
  20717. "spotcontractid": {
  20718. "description": "合同id",
  20719. "type": "string"
  20720. },
  20721. "todaypricedqty": {
  20722. "description": "今定价量",
  20723. "type": "number"
  20724. },
  20725. "tradedate": {
  20726. "description": "交易日",
  20727. "type": "string"
  20728. },
  20729. "unitid": {
  20730. "description": "品类单位id",
  20731. "type": "integer"
  20732. },
  20733. "userid": {
  20734. "description": "机构id",
  20735. "type": "integer"
  20736. },
  20737. "username": {
  20738. "description": "交易用户",
  20739. "type": "string"
  20740. },
  20741. "wrstandardcode": {
  20742. "description": "现货商品代码",
  20743. "type": "string"
  20744. },
  20745. "wrstandardid": {
  20746. "description": "现货商品id",
  20747. "type": "integer"
  20748. },
  20749. "wrstandardname": {
  20750. "description": "现货商品名称",
  20751. "type": "string"
  20752. }
  20753. }
  20754. },
  20755. "models.Ermcp3ExposureDetail": {
  20756. "type": "object",
  20757. "properties": {
  20758. "areauserid": {
  20759. "description": "机构ID",
  20760. "type": "integer"
  20761. },
  20762. "changeQty": {
  20763. "description": "套保变动量",
  20764. "type": "number"
  20765. },
  20766. "contracttype": {
  20767. "description": "现货合同类型 - 1:采购 -1:销售",
  20768. "type": "integer"
  20769. },
  20770. "convertfactor": {
  20771. "description": "标仓系数",
  20772. "type": "number"
  20773. },
  20774. "convertratio": {
  20775. "description": "折算系数",
  20776. "type": "number"
  20777. },
  20778. "createtime": {
  20779. "description": "时间",
  20780. "type": "string"
  20781. },
  20782. "enumdicname": {
  20783. "description": "现货商品单位名称",
  20784. "type": "string"
  20785. },
  20786. "logtype": {
  20787. "description": "类型 - 1:套保计划 2:现货合同",
  20788. "type": "integer"
  20789. },
  20790. "mgunitid": {
  20791. "description": "套保品种单位id",
  20792. "type": "integer"
  20793. },
  20794. "mgunitidname": {
  20795. "description": "套保品种单位名称",
  20796. "type": "string"
  20797. },
  20798. "middlegoodsId": {
  20799. "description": "套保商品id",
  20800. "type": "integer"
  20801. },
  20802. "middlegoodscode": {
  20803. "description": "套保商品代码",
  20804. "type": "string"
  20805. },
  20806. "middlegoodsname": {
  20807. "description": "套保商品名称",
  20808. "type": "string"
  20809. },
  20810. "qty": {
  20811. "description": "数量",
  20812. "type": "number"
  20813. },
  20814. "relateNo": {
  20815. "description": "现货合同/套保计划编号",
  20816. "type": "string"
  20817. },
  20818. "unitid": {
  20819. "description": "现货商品单位id",
  20820. "type": "integer"
  20821. },
  20822. "wrstandardcode": {
  20823. "description": "现货商品代码",
  20824. "type": "string"
  20825. },
  20826. "wrstandardid": {
  20827. "description": "现货商品ID(SEQ_WRSTANDARD)",
  20828. "type": "integer"
  20829. },
  20830. "wrstandardname": {
  20831. "description": "现货商品名称",
  20832. "type": "string"
  20833. }
  20834. }
  20835. },
  20836. "models.Ermcp3ExposureFutuDetail": {
  20837. "type": "object",
  20838. "properties": {
  20839. "accountid": {
  20840. "description": "交易账户id",
  20841. "type": "integer"
  20842. },
  20843. "accountname": {
  20844. "description": "交易账户",
  20845. "type": "string"
  20846. },
  20847. "begindate": {
  20848. "description": "开始交易日",
  20849. "type": "string"
  20850. },
  20851. "buyorsell": {
  20852. "description": "方向 0-买 1-卖",
  20853. "type": "integer"
  20854. },
  20855. "diffmgqty": {
  20856. "description": "套保品种今变化量",
  20857. "type": "number"
  20858. },
  20859. "diffneedqty": {
  20860. "description": "应套保总量变化量",
  20861. "type": "number"
  20862. },
  20863. "difftradeqty": {
  20864. "description": "交易品种今变化量",
  20865. "type": "number"
  20866. },
  20867. "enddate": {
  20868. "description": "结束交易日",
  20869. "type": "string"
  20870. },
  20871. "enumdicname": {
  20872. "description": "单位名称",
  20873. "type": "string"
  20874. },
  20875. "goodscode": {
  20876. "description": "商品代码",
  20877. "type": "string"
  20878. },
  20879. "goodsid": {
  20880. "description": "商品id",
  20881. "type": "integer"
  20882. },
  20883. "goodsname": {
  20884. "description": "商品名称",
  20885. "type": "string"
  20886. },
  20887. "holdqty": {
  20888. "description": "期末持仓量",
  20889. "type": "number"
  20890. },
  20891. "middlegoodscode": {
  20892. "description": "套保商品代码",
  20893. "type": "string"
  20894. },
  20895. "middlegoodsid": {
  20896. "description": "套保商品id",
  20897. "type": "integer"
  20898. },
  20899. "middlegoodsname": {
  20900. "description": "套保商品名称",
  20901. "type": "string"
  20902. },
  20903. "oriholdqty": {
  20904. "description": "期初持仓量",
  20905. "type": "number"
  20906. },
  20907. "todaycloseqty": {
  20908. "description": "今平仓量",
  20909. "type": "number"
  20910. },
  20911. "todayopenqty": {
  20912. "description": "今开仓量",
  20913. "type": "number"
  20914. },
  20915. "tradedate": {
  20916. "description": "交易日",
  20917. "type": "string"
  20918. },
  20919. "username": {
  20920. "description": "用户名称(交易用户)",
  20921. "type": "string"
  20922. }
  20923. }
  20924. },
  20925. "models.Ermcp3ExposureHedgeplanDetail": {
  20926. "type": "object",
  20927. "properties": {
  20928. "biztype": {
  20929. "description": "业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利",
  20930. "type": "integer"
  20931. },
  20932. "changqty": {
  20933. "description": "应套保总量变化量",
  20934. "type": "number"
  20935. },
  20936. "contracttype": {
  20937. "description": "计划类型 - 1:采购 -1:销售",
  20938. "type": "integer"
  20939. },
  20940. "convertratio": {
  20941. "description": "折算系数(套保品种)",
  20942. "type": "number"
  20943. },
  20944. "deliverygoodscode": {
  20945. "description": "现货商品代码",
  20946. "type": "string"
  20947. },
  20948. "deliverygoodsid": {
  20949. "description": "现货商品id",
  20950. "type": "integer"
  20951. },
  20952. "deliverygoodsname": {
  20953. "description": "现货商吕名称",
  20954. "type": "string"
  20955. },
  20956. "dgunitid": {
  20957. "description": "现货商品单位id",
  20958. "type": "integer"
  20959. },
  20960. "dgunitidname": {
  20961. "description": "单位名称(现货商品)",
  20962. "type": "string"
  20963. },
  20964. "diffqty": {
  20965. "description": "套保品种今变动量",
  20966. "type": "number"
  20967. },
  20968. "enumdicname": {
  20969. "description": "单位名称(品类)",
  20970. "type": "string"
  20971. },
  20972. "hedgeplanid": {
  20973. "description": "套保计划id",
  20974. "type": "string"
  20975. },
  20976. "hedgeplanno": {
  20977. "description": "套保计划名称",
  20978. "type": "string"
  20979. },
  20980. "hedgeplanstatus": {
  20981. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  20982. "type": "integer"
  20983. },
  20984. "mgunitidname": {
  20985. "description": "单位名称(套保商品)",
  20986. "type": "string"
  20987. },
  20988. "middlegoodscode": {
  20989. "description": "套保品种代码",
  20990. "type": "string"
  20991. },
  20992. "middlegoodsid": {
  20993. "description": "套保品种id",
  20994. "type": "integer"
  20995. },
  20996. "middlegoodsname": {
  20997. "description": "套保品种名称",
  20998. "type": "string"
  20999. },
  21000. "needarbitrageratio": {
  21001. "description": "应套利比例",
  21002. "type": "number"
  21003. },
  21004. "needhedgeratio": {
  21005. "description": "应套保比例",
  21006. "type": "number"
  21007. },
  21008. "pricedqty": {
  21009. "description": "已定价量",
  21010. "type": "number"
  21011. },
  21012. "qty": {
  21013. "description": "合同量",
  21014. "type": "number"
  21015. },
  21016. "tradedate": {
  21017. "description": "交易日(登记日)",
  21018. "type": "string"
  21019. },
  21020. "unitid": {
  21021. "description": "品类单位id",
  21022. "type": "integer"
  21023. },
  21024. "userid": {
  21025. "description": "机构id",
  21026. "type": "integer"
  21027. },
  21028. "wrstandardcode": {
  21029. "description": "品类代码",
  21030. "type": "string"
  21031. },
  21032. "wrstandardid": {
  21033. "description": "品类id",
  21034. "type": "integer"
  21035. },
  21036. "wrstandardname": {
  21037. "description": "品类名称",
  21038. "type": "string"
  21039. }
  21040. }
  21041. },
  21042. "models.Ermcp3ExposureParamChLog": {
  21043. "type": "object",
  21044. "properties": {
  21045. "accountid": {
  21046. "description": "期货账户ID (作废, 默认为0)",
  21047. "type": "integer"
  21048. },
  21049. "aftervalue": {
  21050. "description": "应套保\\套利量变更后(调整后应套保总量)",
  21051. "type": "number"
  21052. },
  21053. "areauserid": {
  21054. "description": "所属机构\\交易用户ID",
  21055. "type": "integer"
  21056. },
  21057. "beforevalue": {
  21058. "description": "应套保\\套利量变更前(调整前应套保总量)",
  21059. "type": "number"
  21060. },
  21061. "begindate": {
  21062. "description": "开始交易日",
  21063. "type": "string"
  21064. },
  21065. "changelogtype": {
  21066. "description": "变更流水类型 - 1:套保比率变更 2:套利比率变更",
  21067. "type": "integer"
  21068. },
  21069. "curvalue": {
  21070. "description": "当前套保\\套利量(套保总量|套利总量)",
  21071. "type": "number"
  21072. },
  21073. "diffvalue": {
  21074. "description": "应套保总量变化量",
  21075. "type": "number"
  21076. },
  21077. "enddate": {
  21078. "description": "结束交易日",
  21079. "type": "string"
  21080. },
  21081. "logdatetime": {
  21082. "description": "流水日期",
  21083. "type": "string"
  21084. },
  21085. "logid": {
  21086. "description": "流水ID(609+Unix秒时间戳(10位)+xxxxxx)",
  21087. "type": "string"
  21088. },
  21089. "middlegoodscode": {
  21090. "description": "套保品种代码",
  21091. "type": "string"
  21092. },
  21093. "middlegoodsid": {
  21094. "description": "套保品种",
  21095. "type": "integer"
  21096. },
  21097. "middlegoodsname": {
  21098. "description": "套保品种名称",
  21099. "type": "string"
  21100. },
  21101. "paramaftervalue": {
  21102. "description": "参数变更后(调整后参数值)",
  21103. "type": "number"
  21104. },
  21105. "parambeforevalue": {
  21106. "description": "参数变更前(调整前参数值)",
  21107. "type": "number"
  21108. },
  21109. "tradedate": {
  21110. "description": "交易日(yyyyMMdd)",
  21111. "type": "string"
  21112. }
  21113. }
  21114. },
  21115. "models.Ermcp3ExpourseReport": {
  21116. "type": "object",
  21117. "properties": {
  21118. "accountid": {
  21119. "description": "期货账户ID (作废, 默认为0)",
  21120. "type": "integer"
  21121. },
  21122. "accountname": {
  21123. "description": "机构名称",
  21124. "type": "string"
  21125. },
  21126. "arbitrageqty": {
  21127. "description": "套利量",
  21128. "type": "number"
  21129. },
  21130. "areauserid": {
  21131. "description": "所属机构\\交易用户ID",
  21132. "type": "integer"
  21133. },
  21134. "begindate": {
  21135. "description": "开始交易日",
  21136. "type": "string"
  21137. },
  21138. "buyfutureqty": {
  21139. "description": "买入期货数量",
  21140. "type": "number"
  21141. },
  21142. "buyplanqty": {
  21143. "description": "采购计划数量",
  21144. "type": "number"
  21145. },
  21146. "buypricedqty": {
  21147. "description": "采购合同已定价数量",
  21148. "type": "number"
  21149. },
  21150. "cycletime": {
  21151. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  21152. "type": "string"
  21153. },
  21154. "cycletype": {
  21155. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  21156. "type": "integer"
  21157. },
  21158. "diffexposure": {
  21159. "description": "变动量(套保敞口)",
  21160. "type": "number"
  21161. },
  21162. "difffutuqty": {
  21163. "description": "变动量(期货)",
  21164. "type": "number"
  21165. },
  21166. "diffhedgeqty": {
  21167. "description": "变动量(现货应套保总量)",
  21168. "type": "number"
  21169. },
  21170. "diffmgqtya": {
  21171. "description": "套保变动量",
  21172. "type": "number"
  21173. },
  21174. "diffmgqtyb": {
  21175. "description": "套利变动量",
  21176. "type": "number"
  21177. },
  21178. "diffqty": {
  21179. "description": "变动量(总敞口)",
  21180. "type": "number"
  21181. },
  21182. "diffspotqty": {
  21183. "description": "变动量(现货)",
  21184. "type": "number"
  21185. },
  21186. "enddate": {
  21187. "description": "结束交易日",
  21188. "type": "string"
  21189. },
  21190. "enumdicname": {
  21191. "description": "单位名称",
  21192. "type": "string"
  21193. },
  21194. "hedgeqty": {
  21195. "description": "套保量",
  21196. "type": "number"
  21197. },
  21198. "mgneedhedgeratio": {
  21199. "description": "套保比例(套保品的)",
  21200. "type": "number"
  21201. },
  21202. "middlegoodsid": {
  21203. "description": "套保品种ID",
  21204. "type": "integer"
  21205. },
  21206. "middlegoodsname": {
  21207. "description": "套保商品名称",
  21208. "type": "string"
  21209. },
  21210. "middlgoodscode": {
  21211. "description": "套保商品代码",
  21212. "type": "string"
  21213. },
  21214. "needarbitrageqty": {
  21215. "description": "应套利量",
  21216. "type": "number"
  21217. },
  21218. "needarbitrageratio": {
  21219. "description": "套利比例(套保品的)",
  21220. "type": "number"
  21221. },
  21222. "needhedgeexposoure": {
  21223. "description": "应套保敞口(套保敞口)",
  21224. "type": "number"
  21225. },
  21226. "needhedgeqty": {
  21227. "description": "应套保量",
  21228. "type": "number"
  21229. },
  21230. "needhedgeratio": {
  21231. "description": "应套保敞口比例",
  21232. "type": "number"
  21233. },
  21234. "oriarbitrageqty": {
  21235. "description": "期初套利量",
  21236. "type": "number"
  21237. },
  21238. "oribuyfutureqty": {
  21239. "description": "期初买入期货数量",
  21240. "type": "number"
  21241. },
  21242. "oribuyplanqty": {
  21243. "description": "期初采购计划数量",
  21244. "type": "number"
  21245. },
  21246. "oribuypricedqty": {
  21247. "description": "期初采购合同已定价数量",
  21248. "type": "number"
  21249. },
  21250. "orihedgeqty": {
  21251. "description": "期初套保量",
  21252. "type": "number"
  21253. },
  21254. "orineedarbitrageqty": {
  21255. "description": "期初应套利量",
  21256. "type": "number"
  21257. },
  21258. "orineedhedgeexposoure": {
  21259. "description": "期初应套保敞口",
  21260. "type": "number"
  21261. },
  21262. "orineedhedgeqty": {
  21263. "description": "期初应套保量",
  21264. "type": "number"
  21265. },
  21266. "orisellfutureqty": {
  21267. "description": "期初卖出期货数量",
  21268. "type": "number"
  21269. },
  21270. "orisellplanqty": {
  21271. "description": "期初销售计划数量",
  21272. "type": "number"
  21273. },
  21274. "orisellpricedqty": {
  21275. "description": "期初销售合同已定价数量",
  21276. "type": "number"
  21277. },
  21278. "oritotalexposure": {
  21279. "description": "期初实时总敞口",
  21280. "type": "number"
  21281. },
  21282. "oritotalfutureqty": {
  21283. "description": "期初期货头寸总量",
  21284. "type": "number"
  21285. },
  21286. "oritotalneedhedgeqty": {
  21287. "description": "期初应套保总量",
  21288. "type": "number"
  21289. },
  21290. "oritotalspotqty": {
  21291. "description": "期初现货头寸总量",
  21292. "type": "number"
  21293. },
  21294. "reckondate": {
  21295. "description": "日照时期(yyyyMMdd)",
  21296. "type": "string"
  21297. },
  21298. "sellfutureqty": {
  21299. "description": "卖出期货数量",
  21300. "type": "number"
  21301. },
  21302. "sellplanqty": {
  21303. "description": "销售计划数量",
  21304. "type": "number"
  21305. },
  21306. "sellpricedqty": {
  21307. "description": "销售合同已定价数量",
  21308. "type": "number"
  21309. },
  21310. "totalexposure": {
  21311. "description": "实时总敞口(总敞口)",
  21312. "type": "number"
  21313. },
  21314. "totalfutureqty": {
  21315. "description": "期货头寸总量(期货总量)",
  21316. "type": "number"
  21317. },
  21318. "totalhedgeratio": {
  21319. "description": "敞口比例",
  21320. "type": "number"
  21321. },
  21322. "totalneedhedgeqty": {
  21323. "description": "应套保总量(现货应套保总量)",
  21324. "type": "number"
  21325. },
  21326. "totalspotqty": {
  21327. "description": "现货头寸总量",
  21328. "type": "number"
  21329. },
  21330. "unitid": {
  21331. "description": "单位id",
  21332. "type": "integer"
  21333. },
  21334. "updatetime": {
  21335. "description": "更新时间",
  21336. "type": "string"
  21337. }
  21338. }
  21339. },
  21340. "models.Ermcp3FinanceReport": {
  21341. "type": "object",
  21342. "properties": {
  21343. "accountname": {
  21344. "description": "机构名称",
  21345. "type": "string"
  21346. },
  21347. "areauserid": {
  21348. "description": "所属机构\\交易用户ID",
  21349. "type": "integer"
  21350. },
  21351. "begindate": {
  21352. "description": "开始交易日",
  21353. "type": "string"
  21354. },
  21355. "biztype": {
  21356. "description": "业务类型 - 1:套保 2:套利",
  21357. "type": "integer"
  21358. },
  21359. "brandname": {
  21360. "description": "品牌名称",
  21361. "type": "string"
  21362. },
  21363. "buypreinvoicedamount": {
  21364. "description": "采购预收票额(预收票额)",
  21365. "type": "number"
  21366. },
  21367. "buyprepaidamount": {
  21368. "description": "采购预付款额(预付货款额)",
  21369. "type": "number"
  21370. },
  21371. "buytodayinvoiceamount": {
  21372. "description": "采购今收票额(今收票额)",
  21373. "type": "number"
  21374. },
  21375. "buytodayrefundamount": {
  21376. "description": "采购今收退款额(今收退款额)",
  21377. "type": "number"
  21378. },
  21379. "buytodaysettleamount": {
  21380. "description": "采购今付款额(今付货款额)",
  21381. "type": "number"
  21382. },
  21383. "buyuninvoicedamount": {
  21384. "description": "采购应收票额(应收票额)",
  21385. "type": "number"
  21386. },
  21387. "buyunpaidamount": {
  21388. "description": "采购应付款额(应付货款额)",
  21389. "type": "number"
  21390. },
  21391. "currencyid": {
  21392. "description": "结算币种ID",
  21393. "type": "integer"
  21394. },
  21395. "currencyname": {
  21396. "description": "币种名称",
  21397. "type": "string"
  21398. },
  21399. "cycletime": {
  21400. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  21401. "type": "string"
  21402. },
  21403. "cycletype": {
  21404. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  21405. "type": "integer"
  21406. },
  21407. "deliverygoodscode": {
  21408. "description": "现货品种代码",
  21409. "type": "string"
  21410. },
  21411. "deliverygoodsid": {
  21412. "description": "现货品种ID",
  21413. "type": "integer"
  21414. },
  21415. "deliverygoodsname": {
  21416. "description": "现货品种名称",
  21417. "type": "string"
  21418. },
  21419. "enddate": {
  21420. "description": "结束交易日",
  21421. "type": "string"
  21422. },
  21423. "reckondate": {
  21424. "description": "日照时期(yyyyMMdd)",
  21425. "type": "string"
  21426. },
  21427. "sellpreinvoicedamount": {
  21428. "description": "销售预开票额(预开票额)",
  21429. "type": "number"
  21430. },
  21431. "sellprepaidamount": {
  21432. "description": "销售预收款额(预收货款额)",
  21433. "type": "number"
  21434. },
  21435. "selltodayinvoiceamount": {
  21436. "description": "销售今开票额(今开票额)",
  21437. "type": "number"
  21438. },
  21439. "selltodayrefundamount": {
  21440. "description": "销售今付退款额(今付退款额)",
  21441. "type": "number"
  21442. },
  21443. "selltodaysettleamount": {
  21444. "description": "销售今收款额(今收货款额)",
  21445. "type": "number"
  21446. },
  21447. "selluninvoicedamount": {
  21448. "description": "销售应开票额(应开票额)",
  21449. "type": "number"
  21450. },
  21451. "sellunpaidamount": {
  21452. "description": "销售应收款额(应收货款额)",
  21453. "type": "number"
  21454. },
  21455. "spotgoodsbrandid": {
  21456. "description": "现货品牌ID",
  21457. "type": "integer"
  21458. },
  21459. "todaypaysum": {
  21460. "description": "今付款合计",
  21461. "type": "number"
  21462. },
  21463. "todayreceivesum": {
  21464. "description": "今收款合计",
  21465. "type": "number"
  21466. },
  21467. "updatetime": {
  21468. "description": "更新时间",
  21469. "type": "string"
  21470. },
  21471. "wrfactortypeid": {
  21472. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  21473. "type": "integer"
  21474. },
  21475. "wrstandardcode": {
  21476. "description": "品类代码",
  21477. "type": "string"
  21478. },
  21479. "wrstandardid": {
  21480. "description": "现货商品ID",
  21481. "type": "integer"
  21482. },
  21483. "wrstandardname": {
  21484. "description": "品类名称",
  21485. "type": "string"
  21486. }
  21487. }
  21488. },
  21489. "models.Ermcp3GoodsGroup": {
  21490. "type": "object",
  21491. "required": [
  21492. "areauserid"
  21493. ],
  21494. "properties": {
  21495. "agreeunit": {
  21496. "description": "合约单位",
  21497. "type": "number"
  21498. },
  21499. "areauserid": {
  21500. "description": "所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)",
  21501. "type": "integer"
  21502. },
  21503. "canshort": {
  21504. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  21505. "type": "integer"
  21506. },
  21507. "closepricemode": {
  21508. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  21509. "type": "integer"
  21510. },
  21511. "createtime": {
  21512. "description": "创建时间",
  21513. "type": "string"
  21514. },
  21515. "creatorid": {
  21516. "description": "创建人",
  21517. "type": "integer"
  21518. },
  21519. "currencyid": {
  21520. "description": "报价货币ID",
  21521. "type": "integer"
  21522. },
  21523. "decimalplace": {
  21524. "description": "报价小数位",
  21525. "type": "integer"
  21526. },
  21527. "enumdicname": {
  21528. "description": "单位名称",
  21529. "type": "string"
  21530. },
  21531. "exchangefullname": {
  21532. "description": "交易所全称",
  21533. "type": "string"
  21534. },
  21535. "excludecfg": {
  21536. "description": "排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除",
  21537. "type": "integer"
  21538. },
  21539. "exexchangecode": {
  21540. "description": "交易所代码",
  21541. "type": "string"
  21542. },
  21543. "exexchangeid": {
  21544. "description": "外部交易所ID[通道交易]",
  21545. "type": "integer"
  21546. },
  21547. "exexchangename": {
  21548. "description": "交易所名称",
  21549. "type": "string"
  21550. },
  21551. "goodsgroupid": {
  21552. "description": "商品组ID(自增ID)",
  21553. "type": "integer"
  21554. },
  21555. "goodsgroupname": {
  21556. "description": "商品组名称",
  21557. "type": "string"
  21558. },
  21559. "goodsgroupstatus": {
  21560. "description": "商品组状态 - 1:正常 2:注销",
  21561. "type": "integer"
  21562. },
  21563. "goodunitid": {
  21564. "description": "报价单位ID",
  21565. "type": "integer"
  21566. },
  21567. "groupcategroyid": {
  21568. "description": "品种分类ID",
  21569. "type": "integer"
  21570. },
  21571. "innerdealmode": {
  21572. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  21573. "type": "integer"
  21574. },
  21575. "marketid": {
  21576. "description": "所属市场ID",
  21577. "type": "integer"
  21578. },
  21579. "modifierid": {
  21580. "description": "修改人",
  21581. "type": "integer"
  21582. },
  21583. "modifytime": {
  21584. "description": "修改时间",
  21585. "type": "string"
  21586. },
  21587. "outerdealmode": {
  21588. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  21589. "type": "integer"
  21590. },
  21591. "outergroupcode": {
  21592. "description": "外部商品组代码[通道交易]",
  21593. "type": "string"
  21594. },
  21595. "quoteminunit": {
  21596. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  21597. "type": "integer"
  21598. },
  21599. "quotesourcegroupid": {
  21600. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  21601. "type": "integer"
  21602. },
  21603. "syncgoodsqty": {
  21604. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  21605. "type": "integer"
  21606. }
  21607. }
  21608. },
  21609. "models.Ermcp3HedgePlan": {
  21610. "type": "object",
  21611. "properties": {
  21612. "accountid": {
  21613. "description": "资金账号",
  21614. "type": "integer"
  21615. },
  21616. "areauserid": {
  21617. "description": "用户ID",
  21618. "type": "integer"
  21619. },
  21620. "auditid": {
  21621. "description": "审核id",
  21622. "type": "integer"
  21623. },
  21624. "auditname": {
  21625. "description": "审核人名称",
  21626. "type": "string"
  21627. },
  21628. "auditremark": {
  21629. "description": "审核备注",
  21630. "type": "string"
  21631. },
  21632. "auditsrc": {
  21633. "description": "审核来源 1-管理端 2-终端",
  21634. "type": "integer"
  21635. },
  21636. "audittime": {
  21637. "description": "审核时间",
  21638. "type": "string"
  21639. },
  21640. "contracttype": {
  21641. "description": "计划类型 - 1:采购 -1:销售",
  21642. "type": "integer"
  21643. },
  21644. "convertfactor": {
  21645. "description": "标仓系数",
  21646. "type": "number"
  21647. },
  21648. "createtime": {
  21649. "description": "创建时间",
  21650. "type": "string"
  21651. },
  21652. "currencyid": {
  21653. "description": "币种id",
  21654. "type": "integer"
  21655. },
  21656. "currencyname": {
  21657. "description": "币种名称",
  21658. "type": "string"
  21659. },
  21660. "deliverygoodscode": {
  21661. "description": "现货品种代码",
  21662. "type": "string"
  21663. },
  21664. "deliverygoodsid": {
  21665. "description": "现货品种ID",
  21666. "type": "integer"
  21667. },
  21668. "deliverygoodsname": {
  21669. "description": "现货品种名称",
  21670. "type": "string"
  21671. },
  21672. "enumdicname": {
  21673. "description": "单位名称(现货商品)",
  21674. "type": "string"
  21675. },
  21676. "hedgeplanid": {
  21677. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  21678. "type": "string"
  21679. },
  21680. "hedgeplanno": {
  21681. "description": "套保计划编号(名称)",
  21682. "type": "string"
  21683. },
  21684. "hedgeplanstatus": {
  21685. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  21686. "type": "integer"
  21687. },
  21688. "planqty": {
  21689. "description": "计划数量",
  21690. "type": "number"
  21691. },
  21692. "plantime": {
  21693. "description": "计划时间",
  21694. "type": "string"
  21695. },
  21696. "producttype": {
  21697. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  21698. "type": "integer"
  21699. },
  21700. "remark": {
  21701. "description": "备注",
  21702. "type": "string"
  21703. },
  21704. "spotgoodsdesc": {
  21705. "description": "商品型号",
  21706. "type": "string"
  21707. },
  21708. "taaccountname": {
  21709. "description": "资金账号名称",
  21710. "type": "string"
  21711. },
  21712. "tradeuserid": {
  21713. "description": "交易用户id",
  21714. "type": "integer"
  21715. },
  21716. "tradeusername": {
  21717. "description": "交易用户名称",
  21718. "type": "string"
  21719. },
  21720. "unitid": {
  21721. "description": "单位id(现货商品)",
  21722. "type": "integer"
  21723. },
  21724. "updatetime": {
  21725. "description": "更新时间",
  21726. "type": "string"
  21727. },
  21728. "vatrate": {
  21729. "description": "增值税率",
  21730. "type": "number"
  21731. },
  21732. "wrstandardcode": {
  21733. "description": "品类代码",
  21734. "type": "string"
  21735. },
  21736. "wrstandardid": {
  21737. "description": "品类id",
  21738. "type": "integer"
  21739. },
  21740. "wrstandardname": {
  21741. "description": "品类名称",
  21742. "type": "string"
  21743. },
  21744. "wrunitid": {
  21745. "description": "品类单位id",
  21746. "type": "integer"
  21747. },
  21748. "wrunitidame": {
  21749. "description": "品类单位名称",
  21750. "type": "string"
  21751. }
  21752. }
  21753. },
  21754. "models.Ermcp3InnerTradeLink": {
  21755. "type": "object",
  21756. "properties": {
  21757. "accountid": {
  21758. "description": "期货账号代码 | 资金账号ID",
  21759. "type": "integer"
  21760. },
  21761. "buyorsell": {
  21762. "description": "方向 - 0:买 1:卖",
  21763. "type": "integer"
  21764. },
  21765. "channelbuildtype": {
  21766. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  21767. "type": "integer"
  21768. },
  21769. "currencyid": {
  21770. "description": "币种id",
  21771. "type": "integer"
  21772. },
  21773. "currencyname": {
  21774. "description": "结算币种 名称",
  21775. "type": "string"
  21776. },
  21777. "goodscode": {
  21778. "description": "商品代码",
  21779. "type": "string"
  21780. },
  21781. "goodsid": {
  21782. "description": "商品ID",
  21783. "type": "integer"
  21784. },
  21785. "goodsname": {
  21786. "description": "商品名称",
  21787. "type": "string"
  21788. },
  21789. "outtradeid": {
  21790. "description": "外部成交单号",
  21791. "type": "string"
  21792. },
  21793. "taname": {
  21794. "description": "期货账户名称",
  21795. "type": "string"
  21796. },
  21797. "tradeid": {
  21798. "description": "期货单号 | 内部成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21799. "type": "string"
  21800. },
  21801. "tradeprice": {
  21802. "description": "成交价格",
  21803. "type": "number"
  21804. },
  21805. "tradeqty": {
  21806. "description": "期货成交数量",
  21807. "type": "integer"
  21808. },
  21809. "tradetime": {
  21810. "description": "关联时间 | 成交时间 ps:因为数据库表里没有关联时间, 所以取外部成交单的成交时间",
  21811. "type": "string"
  21812. },
  21813. "username": {
  21814. "description": "用户名称",
  21815. "type": "string"
  21816. }
  21817. }
  21818. },
  21819. "models.Ermcp3OutTradeLink": {
  21820. "type": "object",
  21821. "properties": {
  21822. "buyorsell": {
  21823. "description": "买卖方向 - 0:买 1:卖",
  21824. "type": "integer"
  21825. },
  21826. "channelbuildtype": {
  21827. "description": "开平标志- 0:无 1:建仓 2:平仓",
  21828. "type": "integer"
  21829. },
  21830. "currencyname": {
  21831. "description": "币种名称",
  21832. "type": "string"
  21833. },
  21834. "exexchangecode": {
  21835. "description": "交易所代码",
  21836. "type": "string"
  21837. },
  21838. "exexchangename": {
  21839. "description": "交易所名称",
  21840. "type": "string"
  21841. },
  21842. "goodscode": {
  21843. "description": "合约代码",
  21844. "type": "string"
  21845. },
  21846. "goodsid": {
  21847. "description": "合约id",
  21848. "type": "integer"
  21849. },
  21850. "goodsname": {
  21851. "description": "合约名称",
  21852. "type": "string"
  21853. },
  21854. "hasinnerorder": {
  21855. "description": "是否有内部单关联 - 0:无 1:有",
  21856. "type": "integer"
  21857. },
  21858. "hedgeaccountcode": {
  21859. "description": "外部账号 | 对冲账号",
  21860. "type": "string"
  21861. },
  21862. "outtradeid": {
  21863. "description": "外部订单号 | 外部成交单ID(114+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21864. "type": "string"
  21865. },
  21866. "tradeprice": {
  21867. "description": "成交价格",
  21868. "type": "number"
  21869. },
  21870. "tradeqty": {
  21871. "description": "成交数量",
  21872. "type": "integer"
  21873. },
  21874. "tradetime": {
  21875. "description": "成交时间",
  21876. "type": "string"
  21877. }
  21878. }
  21879. },
  21880. "models.Ermcp3PaAreaAuditCfg": {
  21881. "type": "object",
  21882. "properties": {
  21883. "areauserid": {
  21884. "description": "用户ID",
  21885. "type": "integer"
  21886. },
  21887. "buyinauditflag": {
  21888. "description": "采购入库是否需要审核 - 0:不需审核 1:需要审核",
  21889. "type": "integer"
  21890. },
  21891. "costratioauditflag": {
  21892. "description": "现货商品成本权重修改是否需要审核 - 0:不需审核 1:需要审核",
  21893. "type": "integer"
  21894. },
  21895. "customerauditflag": {
  21896. "description": "客户资料是否需要审核 - 0:不需审核 1:需要审核",
  21897. "type": "integer"
  21898. },
  21899. "deliveryauditflag": {
  21900. "description": "交收是否需要审核 - 0:不需审核 1:需要审核",
  21901. "type": "integer"
  21902. },
  21903. "invoiceauditflag": {
  21904. "description": "发票是否需要审核 - 0:不需审核 1:需要审核",
  21905. "type": "integer"
  21906. },
  21907. "mgneedhedgeratioauditflag": {
  21908. "description": "套保品种套保比例修改是否需要审 - 0:不需审核 1:需要审核",
  21909. "type": "integer"
  21910. },
  21911. "moneyauditflag": {
  21912. "description": "款项是否需要审核 - 0:不需审核 1:需要审核",
  21913. "type": "integer"
  21914. },
  21915. "operatorid": {
  21916. "description": "操作人",
  21917. "type": "integer"
  21918. },
  21919. "operatorsrc": {
  21920. "description": "操作来源 - 1:管理端 2:终端",
  21921. "type": "integer"
  21922. },
  21923. "pointpriceauditflag": {
  21924. "description": "点价是否需要审核 - 0:不需审核 1:需要审核",
  21925. "type": "integer"
  21926. },
  21927. "produceinauditflag": {
  21928. "description": "生产入库是否需要审核 - 0:不需审核 1:需要审核",
  21929. "type": "integer"
  21930. },
  21931. "produceoutauditflag": {
  21932. "description": "生产出库是否需要审核 - 0:不需审核 1:需要审核",
  21933. "type": "integer"
  21934. },
  21935. "selloutauditflag": {
  21936. "description": "销售出库是否需要审核 - 0:不需审核 1:需要审核",
  21937. "type": "integer"
  21938. },
  21939. "sgconvertratioauditflag": {
  21940. "description": "现货商品折算系数修改是否需要审核 - 0:不需审核 1:需要审核",
  21941. "type": "integer"
  21942. },
  21943. "sgvtaratioauditflag": {
  21944. "description": "现货商品增值税税率修改是否需要审核 - 0:不需审核 1:需要审核",
  21945. "type": "integer"
  21946. },
  21947. "spotcontractauditflag": {
  21948. "description": "现货合同是否需要审核 - 0:不需审核 1:需要审核",
  21949. "type": "integer"
  21950. },
  21951. "updatetime": {
  21952. "description": "更新时间",
  21953. "type": "string"
  21954. }
  21955. }
  21956. },
  21957. "models.Ermcp3PaAreaSubject": {
  21958. "type": "object",
  21959. "properties": {
  21960. "areauserid": {
  21961. "description": "所属机构",
  21962. "type": "integer"
  21963. },
  21964. "canmodify": {
  21965. "description": "是否可修改 - 0:否 1:是",
  21966. "type": "integer"
  21967. },
  21968. "createtime": {
  21969. "description": "创建时间",
  21970. "type": "string"
  21971. },
  21972. "creatorid": {
  21973. "description": "创建人ID",
  21974. "type": "string"
  21975. },
  21976. "creatorsrc": {
  21977. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  21978. "type": "integer"
  21979. },
  21980. "modifierid": {
  21981. "description": "修改人",
  21982. "type": "string"
  21983. },
  21984. "modifiersrc": {
  21985. "description": "修改人来源 - 1:管理端 2:终端",
  21986. "type": "integer"
  21987. },
  21988. "modifytime": {
  21989. "description": "修改时间",
  21990. "type": "string"
  21991. },
  21992. "parentsubjectid": {
  21993. "description": "上级主体ID",
  21994. "type": "string"
  21995. },
  21996. "remark": {
  21997. "description": "备注",
  21998. "type": "string"
  21999. },
  22000. "subjectid": {
  22001. "description": "主体ID(SEQ_ERMCP_PA_AREASUBJECT)",
  22002. "type": "integer"
  22003. },
  22004. "subjectname": {
  22005. "description": "主体名称",
  22006. "type": "string"
  22007. },
  22008. "subjectstatus": {
  22009. "description": "主体状态 - 1:正常 2: 停用",
  22010. "type": "integer"
  22011. },
  22012. "subjecttype": {
  22013. "description": "主体类型 - 1:交易主体 2:业务部门",
  22014. "type": "integer"
  22015. }
  22016. }
  22017. },
  22018. "models.Ermcp3PaTradeLink": {
  22019. "type": "object",
  22020. "properties": {
  22021. "accountid": {
  22022. "description": "期货账户代码 | 账号ID",
  22023. "type": "integer"
  22024. },
  22025. "agreeunit": {
  22026. "description": "合约乘数",
  22027. "type": "number"
  22028. },
  22029. "buyorsell": {
  22030. "description": "方向 - 0:买 1:卖",
  22031. "type": "integer"
  22032. },
  22033. "channelbuildtype": {
  22034. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  22035. "type": "integer"
  22036. },
  22037. "charge": {
  22038. "description": "手续费",
  22039. "type": "number"
  22040. },
  22041. "closepl": {
  22042. "description": "平仓盈亏",
  22043. "type": "number"
  22044. },
  22045. "closetype": {
  22046. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  22047. "type": "integer"
  22048. },
  22049. "convertratio": {
  22050. "description": "折算系数",
  22051. "type": "number"
  22052. },
  22053. "enumdicname": {
  22054. "description": "单位名称",
  22055. "type": "string"
  22056. },
  22057. "executeprice": {
  22058. "description": "执行价 [期权]",
  22059. "type": "integer"
  22060. },
  22061. "goodscode": {
  22062. "description": "合约代码",
  22063. "type": "string"
  22064. },
  22065. "goodsgroupid": {
  22066. "description": "对冲品种ID[期货合约商品组ID]",
  22067. "type": "integer"
  22068. },
  22069. "goodsid": {
  22070. "description": "商品ID",
  22071. "type": "integer"
  22072. },
  22073. "goodsname": {
  22074. "description": "合约名称",
  22075. "type": "string"
  22076. },
  22077. "goodunitid": {
  22078. "description": "单位id",
  22079. "type": "integer"
  22080. },
  22081. "hedgeflag": {
  22082. "description": "投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)",
  22083. "type": "integer"
  22084. },
  22085. "marketid": {
  22086. "description": "市场ID",
  22087. "type": "integer"
  22088. },
  22089. "middlegoodsid": {
  22090. "description": "套保品种ID",
  22091. "type": "integer"
  22092. },
  22093. "middlegoodsqty": {
  22094. "description": "套保品种数量 = TradeQty * AgreeUnit * ConvertRatio",
  22095. "type": "number"
  22096. },
  22097. "optioncode": {
  22098. "description": "期权代码 [期权]",
  22099. "type": "string"
  22100. },
  22101. "ordertype": {
  22102. "description": "单据类型 - 1:期货单 2:看涨期权单 3:看跌期权单",
  22103. "type": "integer"
  22104. },
  22105. "ordertypename": {
  22106. "description": "订单类型",
  22107. "type": "string"
  22108. },
  22109. "parentaccountid": {
  22110. "description": "所属母账户",
  22111. "type": "integer"
  22112. },
  22113. "premium": {
  22114. "description": "权利金 [期权]",
  22115. "type": "number"
  22116. },
  22117. "relatedlot": {
  22118. "description": "已关联数量(已关联数量手) | db:关联手数",
  22119. "type": "number"
  22120. },
  22121. "relatedouttradeid": {
  22122. "description": "关联外部成交单ID",
  22123. "type": "string"
  22124. },
  22125. "relatedqty": {
  22126. "description": "关联数量",
  22127. "type": "number"
  22128. },
  22129. "spotcontractid": {
  22130. "description": "现货合同ID [4:套期保值\\10\\11]",
  22131. "type": "string"
  22132. },
  22133. "taname": {
  22134. "description": "期货账户名称",
  22135. "type": "string"
  22136. },
  22137. "tradeamount": {
  22138. "description": "成交金额(账户)",
  22139. "type": "number"
  22140. },
  22141. "tradedate": {
  22142. "description": "交易日(yyyyMMdd)",
  22143. "type": "string"
  22144. },
  22145. "tradeid": {
  22146. "description": "期货单号 | db:成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22147. "type": "string"
  22148. },
  22149. "tradelot": {
  22150. "description": "成交数量(期货数量) ps:这是手数,转换为具体多少吨要乘以AGREEUNIT | db:成交手数",
  22151. "type": "integer"
  22152. },
  22153. "tradeprice": {
  22154. "description": "成交价格",
  22155. "type": "number"
  22156. },
  22157. "tradetime": {
  22158. "description": "时间 | db:成交时间",
  22159. "type": "string"
  22160. },
  22161. "tradetype": {
  22162. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  22163. "type": "integer"
  22164. },
  22165. "userid": {
  22166. "description": "所属机构 - 所属母账户的UserID",
  22167. "type": "string"
  22168. },
  22169. "username": {
  22170. "description": "用户名称",
  22171. "type": "string"
  22172. }
  22173. }
  22174. },
  22175. "models.Ermcp3ParamChangeApp": {
  22176. "type": "object",
  22177. "properties": {
  22178. "aftervalue": {
  22179. "description": "变更后",
  22180. "type": "number"
  22181. },
  22182. "applicationid": {
  22183. "description": "申请ID(619+Unix秒时间戳(10位)+xxxxxx)",
  22184. "type": "string"
  22185. },
  22186. "applyid": {
  22187. "description": "申请人",
  22188. "type": "string"
  22189. },
  22190. "applyname": {
  22191. "description": "申请人名称(代码)",
  22192. "type": "string"
  22193. },
  22194. "applyremark": {
  22195. "description": "申请备注",
  22196. "type": "string"
  22197. },
  22198. "applysrc": {
  22199. "description": "申请来源 - 1:管理端 2:终端",
  22200. "type": "integer"
  22201. },
  22202. "applystatus": {
  22203. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  22204. "type": "integer"
  22205. },
  22206. "applytime": {
  22207. "description": "申请时间",
  22208. "type": "string"
  22209. },
  22210. "areauserid": {
  22211. "description": "所属机构用户ID",
  22212. "type": "integer"
  22213. },
  22214. "auditid": {
  22215. "description": "审核人",
  22216. "type": "string"
  22217. },
  22218. "auditname": {
  22219. "description": "审核人名称(代码)",
  22220. "type": "string"
  22221. },
  22222. "auditremark": {
  22223. "description": "审核备注",
  22224. "type": "string"
  22225. },
  22226. "auditsrc": {
  22227. "description": "审核来源 - 1:管理端 2:终端",
  22228. "type": "integer"
  22229. },
  22230. "audittime": {
  22231. "description": "审核时间",
  22232. "type": "string"
  22233. },
  22234. "audittradedate": {
  22235. "description": "审核交易日(yyyyMMdd)",
  22236. "type": "string"
  22237. },
  22238. "beforevalue": {
  22239. "description": "变更前",
  22240. "type": "number"
  22241. },
  22242. "deliverygoodscode": {
  22243. "description": "品种代码",
  22244. "type": "string"
  22245. },
  22246. "deliverygoodsid": {
  22247. "description": "品种id",
  22248. "type": "integer"
  22249. },
  22250. "deliverygoodsname": {
  22251. "description": "品种名称",
  22252. "type": "string"
  22253. },
  22254. "middlegoodscode": {
  22255. "description": "套保品种代码",
  22256. "type": "string"
  22257. },
  22258. "middlegoodsid": {
  22259. "description": "套保品种ID [ParamChangeType = 2,3,4]",
  22260. "type": "integer"
  22261. },
  22262. "middlegoodsname": {
  22263. "description": "套保品种名称",
  22264. "type": "string"
  22265. },
  22266. "operatetype": {
  22267. "description": "操作类型 - 1:新增 2:修改",
  22268. "type": "integer"
  22269. },
  22270. "paramchangetype": {
  22271. "description": "参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)",
  22272. "type": "integer"
  22273. },
  22274. "wrstandardcode": {
  22275. "description": "现货商品代码",
  22276. "type": "string"
  22277. },
  22278. "wrstandardid": {
  22279. "description": "现货商品ID [ParamChangeType = 1,2,3]",
  22280. "type": "integer"
  22281. },
  22282. "wrstandardname": {
  22283. "description": "现货商品名称",
  22284. "type": "string"
  22285. }
  22286. }
  22287. },
  22288. "models.Ermcp3RootUserAccount": {
  22289. "type": "object",
  22290. "properties": {
  22291. "accountname": {
  22292. "description": "账户名称(机构名称)",
  22293. "type": "string"
  22294. },
  22295. "accountstatus": {
  22296. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  22297. "type": "integer"
  22298. },
  22299. "applysrc": {
  22300. "description": "申请来源 - 1:管理端 2:终端",
  22301. "type": "integer"
  22302. },
  22303. "auditremark": {
  22304. "description": "审核备注",
  22305. "type": "string"
  22306. },
  22307. "auditsrc": {
  22308. "description": "审核来源 - 1:管理端 2:终端",
  22309. "type": "integer"
  22310. },
  22311. "audittime": {
  22312. "description": "审核时间",
  22313. "type": "string"
  22314. },
  22315. "audituserid": {
  22316. "description": "审核人",
  22317. "type": "integer"
  22318. },
  22319. "broker": {
  22320. "description": "所属经纪人ID",
  22321. "type": "integer"
  22322. },
  22323. "canceltime": {
  22324. "description": "销户时间",
  22325. "type": "string"
  22326. },
  22327. "canceluserid": {
  22328. "description": "销户人",
  22329. "type": "integer"
  22330. },
  22331. "canrecommend": {
  22332. "description": "是否可推荐 - 0:不可 1;可",
  22333. "type": "integer"
  22334. },
  22335. "createtime": {
  22336. "description": "创建时间",
  22337. "type": "string"
  22338. },
  22339. "creatorid": {
  22340. "description": "创建人",
  22341. "type": "integer"
  22342. },
  22343. "hasauth": {
  22344. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  22345. "type": "integer"
  22346. },
  22347. "isanonymous": {
  22348. "description": "是否匿名下单 - 0:否 1:是",
  22349. "type": "integer"
  22350. },
  22351. "maxinvestornum": {
  22352. "description": "最大用户数(经纪会员下投资者个数)",
  22353. "type": "integer"
  22354. },
  22355. "memberuserid": {
  22356. "description": "所属会员ID",
  22357. "type": "integer"
  22358. },
  22359. "modifierid": {
  22360. "description": "修改人",
  22361. "type": "integer"
  22362. },
  22363. "modifyremark": {
  22364. "description": "变更备注",
  22365. "type": "string"
  22366. },
  22367. "modifystatus": {
  22368. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  22369. "type": "integer"
  22370. },
  22371. "modifytime": {
  22372. "description": "修改时间",
  22373. "type": "string"
  22374. },
  22375. "nickname": {
  22376. "description": "昵称",
  22377. "type": "string"
  22378. },
  22379. "parenttopuser": {
  22380. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  22381. "type": "string"
  22382. },
  22383. "parentuserid": {
  22384. "description": "所属机构ID",
  22385. "type": "integer"
  22386. },
  22387. "reckonaccountid": {
  22388. "description": "默认结算资金账号ID(机构分润使用) 作废",
  22389. "type": "integer"
  22390. },
  22391. "refercount": {
  22392. "description": "推荐总人数",
  22393. "type": "integer"
  22394. },
  22395. "refereeuserid": {
  22396. "description": "推荐人ID",
  22397. "type": "integer"
  22398. },
  22399. "refernum": {
  22400. "description": "推荐码",
  22401. "type": "string"
  22402. },
  22403. "rootuserid": {
  22404. "description": "根用户ID",
  22405. "type": "integer"
  22406. },
  22407. "subaccountlevel": {
  22408. "description": "子账户层数",
  22409. "type": "integer"
  22410. },
  22411. "subarealevelpath": {
  22412. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  22413. "type": "string"
  22414. },
  22415. "userid": {
  22416. "description": "用户ID",
  22417. "type": "integer"
  22418. },
  22419. "usertype": {
  22420. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  22421. "type": "integer"
  22422. }
  22423. }
  22424. },
  22425. "models.Ermcp3SCMiddleGoods": {
  22426. "type": "object",
  22427. "properties": {
  22428. "biztype": {
  22429. "description": "业务类型 1:套保 2:套利",
  22430. "type": "integer"
  22431. },
  22432. "contractno": {
  22433. "description": "合同编号",
  22434. "type": "string"
  22435. },
  22436. "contracttype": {
  22437. "description": "合同类型 1:采购 -1:销售",
  22438. "type": "integer"
  22439. },
  22440. "convertratio": {
  22441. "description": "折算系数",
  22442. "type": "number"
  22443. },
  22444. "customername": {
  22445. "description": "对手手名称",
  22446. "type": "string"
  22447. },
  22448. "customeruserid": {
  22449. "description": "对手id",
  22450. "type": "integer"
  22451. },
  22452. "deliverygoodscode": {
  22453. "description": "现货品种代码",
  22454. "type": "string"
  22455. },
  22456. "deliverygoodsid": {
  22457. "description": "现货品种ID",
  22458. "type": "integer"
  22459. },
  22460. "deliverygoodsname": {
  22461. "description": "现货品种名称",
  22462. "type": "string"
  22463. },
  22464. "enumdicname": {
  22465. "description": "现货单位名称",
  22466. "type": "string"
  22467. },
  22468. "middlegoodsid": {
  22469. "description": "套保品种ID",
  22470. "type": "integer"
  22471. },
  22472. "middlegoodspricedqty3": {
  22473. "description": "应套保数量 = MiddleGoodsPricedQty2 * 套保比率",
  22474. "type": "number"
  22475. },
  22476. "needhedgeratio": {
  22477. "description": "套保比例",
  22478. "type": "number"
  22479. },
  22480. "pricedqty": {
  22481. "description": "已定价量",
  22482. "type": "number"
  22483. },
  22484. "relatedmiddlegoodsqty": {
  22485. "description": "已关联量(套保品种)(期货)",
  22486. "type": "number"
  22487. },
  22488. "spotcontractid": {
  22489. "description": "合同编号",
  22490. "type": "string"
  22491. },
  22492. "unitid": {
  22493. "description": "现货单位id",
  22494. "type": "integer"
  22495. },
  22496. "userid": {
  22497. "description": "用户id",
  22498. "type": "integer"
  22499. },
  22500. "vatrate": {
  22501. "description": "增值税率",
  22502. "type": "number"
  22503. },
  22504. "wrstandardcode": {
  22505. "description": "现货商品代码",
  22506. "type": "string"
  22507. },
  22508. "wrstandardid": {
  22509. "description": "现货商品id",
  22510. "type": "integer"
  22511. },
  22512. "wrstandardname": {
  22513. "description": "现货商品名称",
  22514. "type": "string"
  22515. }
  22516. }
  22517. },
  22518. "models.Ermcp3SCMiddleGoodsReport": {
  22519. "type": "object",
  22520. "properties": {
  22521. "begindate": {
  22522. "description": "开始交易日",
  22523. "type": "string"
  22524. },
  22525. "contractno": {
  22526. "description": "合同编号",
  22527. "type": "string"
  22528. },
  22529. "contracttype": {
  22530. "description": "合同类型 1:采购 -1:销售",
  22531. "type": "integer"
  22532. },
  22533. "convertratio": {
  22534. "description": "折算系数",
  22535. "type": "number"
  22536. },
  22537. "cycletime": {
  22538. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  22539. "type": "string"
  22540. },
  22541. "cycletype": {
  22542. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  22543. "type": "integer"
  22544. },
  22545. "deliverygoodscode": {
  22546. "description": "品种代码",
  22547. "type": "string"
  22548. },
  22549. "deliverygoodsid": {
  22550. "description": "现货品种ID",
  22551. "type": "integer"
  22552. },
  22553. "deliverygoodsname": {
  22554. "description": "品种名称",
  22555. "type": "string"
  22556. },
  22557. "diffprice": {
  22558. "description": "现期价格差 = 今日点价登记均价(基价) - 今日期货成交均价",
  22559. "type": "number"
  22560. },
  22561. "diffqty": {
  22562. "description": "期现数量差 = 套保计划量 - 今日期货关联成交量",
  22563. "type": "number"
  22564. },
  22565. "enddate": {
  22566. "description": "结束交易日",
  22567. "type": "string"
  22568. },
  22569. "hedgeplanqty": {
  22570. "description": "套保计划量 = TodayPricedQty * 折算系数 * (1/(1+增值税率)) * 套保比例",
  22571. "type": "number"
  22572. },
  22573. "matchname": {
  22574. "description": "交易对手方(个人:用户名称 企业:简称)",
  22575. "type": "string"
  22576. },
  22577. "middlegoodscode": {
  22578. "description": "套保品种代码",
  22579. "type": "string"
  22580. },
  22581. "middlegoodsid": {
  22582. "description": "套保品种ID",
  22583. "type": "integer"
  22584. },
  22585. "middlegoodsname": {
  22586. "description": "套保品种名称",
  22587. "type": "string"
  22588. },
  22589. "middlegoodspricedqty": {
  22590. "description": "已定价量(套保品种 - 税前) = PricedQty * 折算系数",
  22591. "type": "number"
  22592. },
  22593. "middlegoodspricedqty2": {
  22594. "description": "已定价量(套保品种- 税后) = MiddleGoodsPricedQty * (1/(1+增值税率))",
  22595. "type": "number"
  22596. },
  22597. "middlegoodspricedqty3": {
  22598. "description": "已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率",
  22599. "type": "number"
  22600. },
  22601. "needhedgeratio": {
  22602. "description": "套保系数",
  22603. "type": "number"
  22604. },
  22605. "pricedamount": {
  22606. "description": "已定价额(现货)",
  22607. "type": "number"
  22608. },
  22609. "pricedamount2": {
  22610. "description": "已定价额(现货-基价额)",
  22611. "type": "number"
  22612. },
  22613. "pricedqty": {
  22614. "description": "已定价量(现货)",
  22615. "type": "number"
  22616. },
  22617. "reckondate": {
  22618. "description": "日照时期(yyyyMMdd)",
  22619. "type": "string"
  22620. },
  22621. "relatedmiddlegoodsamount": {
  22622. "description": "已关联额(期货)",
  22623. "type": "number"
  22624. },
  22625. "relatedmiddlegoodsqty": {
  22626. "description": "已关联量(套保品种)(期货)",
  22627. "type": "number"
  22628. },
  22629. "spotcontractid": {
  22630. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  22631. "type": "string"
  22632. },
  22633. "todayavgfutuprice": {
  22634. "description": "今日期货成交均价 = TodayRelatedMiddleGoodsAmount /todayrelatedfutureqty",
  22635. "type": "number"
  22636. },
  22637. "todayavgprice": {
  22638. "description": "今日定价均价 = TodayPricedAmount / TodayPricedQty",
  22639. "type": "number"
  22640. },
  22641. "todayavgprice2": {
  22642. "description": "今日点价登记均价(基价) = TodayPricedAmount2 / TodayPricedQty",
  22643. "type": "number"
  22644. },
  22645. "todaypricedamount": {
  22646. "description": "今日定价额(现货)",
  22647. "type": "number"
  22648. },
  22649. "todaypricedamount2": {
  22650. "description": "今日定价额(现货-基价额)",
  22651. "type": "number"
  22652. },
  22653. "todaypricedqty": {
  22654. "description": "今日定价量(现货)",
  22655. "type": "number"
  22656. },
  22657. "todayrelatedfutureqty": {
  22658. "description": "今日关联量(期货)",
  22659. "type": "number"
  22660. },
  22661. "todayrelatedmiddlegoodsamount": {
  22662. "description": "今日关联额(期货)",
  22663. "type": "number"
  22664. },
  22665. "todayrelatedmiddlegoodsqty": {
  22666. "description": "今日关联量(套保品-期货)",
  22667. "type": "number"
  22668. },
  22669. "updatetime": {
  22670. "description": "更新时间",
  22671. "type": "string"
  22672. },
  22673. "userid": {
  22674. "description": "合同所属用户id",
  22675. "type": "integer"
  22676. },
  22677. "vatrate": {
  22678. "description": "增值税率",
  22679. "type": "number"
  22680. },
  22681. "wrstandardcode": {
  22682. "description": "商品(品类) 代码",
  22683. "type": "string"
  22684. },
  22685. "wrstandardid": {
  22686. "description": "现货商品ID",
  22687. "type": "integer"
  22688. },
  22689. "wrstandardname": {
  22690. "description": "商品(品类) 名称",
  22691. "type": "string"
  22692. }
  22693. }
  22694. },
  22695. "models.Ermcp3SellBuyContract": {
  22696. "type": "object",
  22697. "properties": {
  22698. "accountid": {
  22699. "description": "期货账户id",
  22700. "type": "string"
  22701. },
  22702. "accountname": {
  22703. "description": "账户名称",
  22704. "type": "string"
  22705. },
  22706. "attachment": {
  22707. "description": "附件",
  22708. "type": "string"
  22709. },
  22710. "audittime": {
  22711. "description": "审核时间",
  22712. "type": "string"
  22713. },
  22714. "bizsubjectid": {
  22715. "description": "归属业务部门ID - SubjectID",
  22716. "type": "integer"
  22717. },
  22718. "biztype": {
  22719. "description": "业务类型 1-套保 2-套利",
  22720. "type": "integer"
  22721. },
  22722. "brandname": {
  22723. "description": "品牌名称",
  22724. "type": "string"
  22725. },
  22726. "contracctstatus": {
  22727. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  22728. "type": "integer"
  22729. },
  22730. "contractmargin": {
  22731. "description": "合同保证金",
  22732. "type": "number"
  22733. },
  22734. "contractno": {
  22735. "description": "合同编号",
  22736. "type": "string"
  22737. },
  22738. "contracttype": {
  22739. "description": "合同类型 1-采购, -1-销售",
  22740. "type": "integer"
  22741. },
  22742. "convertfactor": {
  22743. "description": "标仓系数(品类)",
  22744. "type": "number"
  22745. },
  22746. "createtime": {
  22747. "description": "创建时间",
  22748. "type": "string"
  22749. },
  22750. "currencyid": {
  22751. "description": "币种id",
  22752. "type": "integer"
  22753. },
  22754. "currencyname": {
  22755. "description": "币种名称",
  22756. "type": "string"
  22757. },
  22758. "daikaiamount": {
  22759. "description": "应收(开)票额",
  22760. "type": "number"
  22761. },
  22762. "deliveryenddate": {
  22763. "description": "交割结束日",
  22764. "type": "string"
  22765. },
  22766. "deliverygoodscode": {
  22767. "description": "现货品种代码",
  22768. "type": "string"
  22769. },
  22770. "deliverygoodsid": {
  22771. "description": "现货商品ID",
  22772. "type": "integer"
  22773. },
  22774. "deliverygoodsname": {
  22775. "description": "现货品种名称",
  22776. "type": "string"
  22777. },
  22778. "deliverystartdate": {
  22779. "description": "交割开始日",
  22780. "type": "string"
  22781. },
  22782. "enddate": {
  22783. "description": "点价结束日",
  22784. "type": "string"
  22785. },
  22786. "enumdicname": {
  22787. "description": "单位名称",
  22788. "type": "string"
  22789. },
  22790. "goodscode": {
  22791. "description": "点价商品代码",
  22792. "type": "string"
  22793. },
  22794. "goodsid": {
  22795. "description": "点价商品ID",
  22796. "type": "integer"
  22797. },
  22798. "goodsname": {
  22799. "description": "点价商品名称",
  22800. "type": "string"
  22801. },
  22802. "invoiceamount": {
  22803. "description": "已开票额",
  22804. "type": "number"
  22805. },
  22806. "loanamount": {
  22807. "description": "贷款总额=已定价额+调整金额",
  22808. "type": "number"
  22809. },
  22810. "margin": {
  22811. "description": "保证金",
  22812. "type": "number"
  22813. },
  22814. "meruserid": {
  22815. "description": "跟单员id",
  22816. "type": "integer"
  22817. },
  22818. "meruserlogincode": {
  22819. "description": "跟单员登录代码",
  22820. "type": "string"
  22821. },
  22822. "merusername": {
  22823. "description": "跟单员名称",
  22824. "type": "string"
  22825. },
  22826. "nickname": {
  22827. "description": "账户昵称",
  22828. "type": "string"
  22829. },
  22830. "payamount": {
  22831. "description": "已收付额(收款或付款)",
  22832. "type": "number"
  22833. },
  22834. "preinvoiceamount": {
  22835. "description": "预收(开)票额",
  22836. "type": "number"
  22837. },
  22838. "prepayamount": {
  22839. "description": "预收付额",
  22840. "type": "number"
  22841. },
  22842. "price": {
  22843. "description": "价格",
  22844. "type": "number"
  22845. },
  22846. "pricedamount": {
  22847. "description": "已定价额",
  22848. "type": "number"
  22849. },
  22850. "pricedavg": {
  22851. "description": "已点均价",
  22852. "type": "number"
  22853. },
  22854. "pricedqty": {
  22855. "description": "已定价量",
  22856. "type": "number"
  22857. },
  22858. "pricemove": {
  22859. "description": "升贴水",
  22860. "type": "number"
  22861. },
  22862. "pricetype": {
  22863. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  22864. "type": "integer"
  22865. },
  22866. "producttype": {
  22867. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  22868. "type": "integer"
  22869. },
  22870. "qty": {
  22871. "description": "合同量",
  22872. "type": "number"
  22873. },
  22874. "reckonadjustamount": {
  22875. "description": "调整金额",
  22876. "type": "number"
  22877. },
  22878. "reckonedamount": {
  22879. "description": "实际已收付额(已确定额,已收付总额-已退款总额)",
  22880. "type": "number"
  22881. },
  22882. "reckonotheramount": {
  22883. "description": "其它费用",
  22884. "type": "number"
  22885. },
  22886. "reckonrealqty": {
  22887. "description": "已确定量",
  22888. "type": "number"
  22889. },
  22890. "remark": {
  22891. "description": "备注",
  22892. "type": "string"
  22893. },
  22894. "saleuserid": {
  22895. "description": "业务员id",
  22896. "type": "integer"
  22897. },
  22898. "saleuserlogincode": {
  22899. "description": "业务员登录代码",
  22900. "type": "string"
  22901. },
  22902. "saleusername": {
  22903. "description": "业务员名称",
  22904. "type": "string"
  22905. },
  22906. "spotcontractid": {
  22907. "description": "合同ID",
  22908. "type": "string"
  22909. },
  22910. "spotgoodsbrandid": {
  22911. "description": "现货品牌ID(DGFactoryItem表的ID)",
  22912. "type": "integer"
  22913. },
  22914. "spotgoodsdesc": {
  22915. "description": "商品型号(商品规格)",
  22916. "type": "string"
  22917. },
  22918. "startdate": {
  22919. "description": "点价开始日",
  22920. "type": "string"
  22921. },
  22922. "subjectid": {
  22923. "description": "交易主体ID",
  22924. "type": "integer"
  22925. },
  22926. "subjectname": {
  22927. "description": "交易主体名称",
  22928. "type": "string"
  22929. },
  22930. "totalamount": {
  22931. "description": "合计总额",
  22932. "type": "number"
  22933. },
  22934. "tradeuserid": {
  22935. "description": "交易员id",
  22936. "type": "integer"
  22937. },
  22938. "tradeuserlogincode": {
  22939. "description": "交易员登录代码",
  22940. "type": "string"
  22941. },
  22942. "tradeusername": {
  22943. "description": "交易员名称",
  22944. "type": "string"
  22945. },
  22946. "unpayamount": {
  22947. "description": "应收付款额(应支付或应收款)",
  22948. "type": "number"
  22949. },
  22950. "unpricedqty": {
  22951. "description": "未定价量",
  22952. "type": "number"
  22953. },
  22954. "unsureqty": {
  22955. "description": "未确定量",
  22956. "type": "number"
  22957. },
  22958. "userid": {
  22959. "description": "机构ID",
  22960. "type": "integer"
  22961. },
  22962. "vatrate": {
  22963. "description": "增值税率",
  22964. "type": "number"
  22965. },
  22966. "wrstandardcode": {
  22967. "description": "品类代码",
  22968. "type": "string"
  22969. },
  22970. "wrstandardid": {
  22971. "description": "品类ID",
  22972. "type": "integer"
  22973. },
  22974. "wrstandardname": {
  22975. "description": "品类名称",
  22976. "type": "string"
  22977. }
  22978. }
  22979. },
  22980. "models.Ermcp3SpotGoodsPrice": {
  22981. "type": "object",
  22982. "properties": {
  22983. "areauserid": {
  22984. "description": "所属机构id",
  22985. "type": "integer"
  22986. },
  22987. "brandname": {
  22988. "description": "品牌名称",
  22989. "type": "string"
  22990. },
  22991. "currencyid": {
  22992. "description": "报价货币ID",
  22993. "type": "integer"
  22994. },
  22995. "currencyname": {
  22996. "description": "币种名称",
  22997. "type": "string"
  22998. },
  22999. "deliverygoodscode": {
  23000. "description": "现货商品代码",
  23001. "type": "string"
  23002. },
  23003. "deliverygoodsid": {
  23004. "description": "现货商品id",
  23005. "type": "integer"
  23006. },
  23007. "deliverygoodsname": {
  23008. "description": "现货商品名称",
  23009. "type": "string"
  23010. },
  23011. "enumdicname": {
  23012. "description": "现货商品单位名称",
  23013. "type": "string"
  23014. },
  23015. "gbenumdicname": {
  23016. "description": "品类单位名称",
  23017. "type": "string"
  23018. },
  23019. "gmunitid": {
  23020. "description": "品类单位id",
  23021. "type": "integer"
  23022. },
  23023. "isvalid": {
  23024. "description": "是否有效 - 0:无效 1:有效",
  23025. "type": "integer"
  23026. },
  23027. "operateid": {
  23028. "description": "最后操作人",
  23029. "type": "integer"
  23030. },
  23031. "operatesrc": {
  23032. "description": "最后操作来源 - 1:管理端 2:终端",
  23033. "type": "integer"
  23034. },
  23035. "operatetime": {
  23036. "description": "最后操作时间",
  23037. "type": "string"
  23038. },
  23039. "operatorname": {
  23040. "description": "操作人名称",
  23041. "type": "string"
  23042. },
  23043. "spotgoodsbrandid": {
  23044. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  23045. "type": "integer"
  23046. },
  23047. "spotgoodsprice": {
  23048. "description": "现货价格",
  23049. "type": "number"
  23050. },
  23051. "tradedate": {
  23052. "description": "交易日(yyyyMMdd)",
  23053. "type": "string"
  23054. },
  23055. "unitid": {
  23056. "description": "现货商品单位id",
  23057. "type": "integer"
  23058. },
  23059. "wrstandardcode": {
  23060. "description": "品类代码",
  23061. "type": "string"
  23062. },
  23063. "wrstandardid": {
  23064. "description": "现货品类ID(通用则为0)",
  23065. "type": "integer"
  23066. },
  23067. "wrstandardname": {
  23068. "description": "品类名称",
  23069. "type": "string"
  23070. }
  23071. }
  23072. },
  23073. "models.Ermcp3SpotGoodsPriceLog": {
  23074. "type": "object",
  23075. "properties": {
  23076. "areauserid": {
  23077. "description": "所属机构id",
  23078. "type": "integer"
  23079. },
  23080. "brandname": {
  23081. "description": "品牌名称",
  23082. "type": "string"
  23083. },
  23084. "currencyid": {
  23085. "description": "报价货币ID",
  23086. "type": "integer"
  23087. },
  23088. "deliverygoodscode": {
  23089. "description": "现货商品代码",
  23090. "type": "string"
  23091. },
  23092. "deliverygoodsid": {
  23093. "description": "现货商品id",
  23094. "type": "integer"
  23095. },
  23096. "deliverygoodsname": {
  23097. "description": "现货商品名称",
  23098. "type": "string"
  23099. },
  23100. "enumdicname": {
  23101. "description": "现货商品单位名称",
  23102. "type": "string"
  23103. },
  23104. "gbenumdicname": {
  23105. "description": "品类单位名称",
  23106. "type": "string"
  23107. },
  23108. "gmunitid": {
  23109. "description": "品类单位id",
  23110. "type": "integer"
  23111. },
  23112. "logid": {
  23113. "description": "日志id",
  23114. "type": "integer"
  23115. },
  23116. "operateid": {
  23117. "description": "最后操作人",
  23118. "type": "integer"
  23119. },
  23120. "operatesrc": {
  23121. "description": "最后操作来源 - 1:管理端 2:终端",
  23122. "type": "integer"
  23123. },
  23124. "operatetime": {
  23125. "description": "最后操作时间",
  23126. "type": "string"
  23127. },
  23128. "operatorname": {
  23129. "description": "操作人名称",
  23130. "type": "string"
  23131. },
  23132. "spotgoodsbrandid": {
  23133. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  23134. "type": "integer"
  23135. },
  23136. "spotgoodsprice": {
  23137. "description": "现货价格",
  23138. "type": "number"
  23139. },
  23140. "tradedate": {
  23141. "description": "交易日(yyyyMMdd)",
  23142. "type": "string"
  23143. },
  23144. "unitid": {
  23145. "description": "现货商品单位id",
  23146. "type": "integer"
  23147. },
  23148. "wrstandardcode": {
  23149. "description": "品类代码",
  23150. "type": "string"
  23151. },
  23152. "wrstandardid": {
  23153. "description": "现货品类ID(通用则为0)",
  23154. "type": "integer"
  23155. },
  23156. "wrstandardname": {
  23157. "description": "品类名称",
  23158. "type": "string"
  23159. }
  23160. }
  23161. },
  23162. "models.Ermcp3SubTaaccount": {
  23163. "type": "object",
  23164. "properties": {
  23165. "accountid": {
  23166. "description": "资金账户ID",
  23167. "type": "integer"
  23168. },
  23169. "parentaccountcode": {
  23170. "description": "所属根账号代码(母账号代码)",
  23171. "type": "string"
  23172. },
  23173. "parentaccountid": {
  23174. "description": "所属根账号(母账号)",
  23175. "type": "integer"
  23176. },
  23177. "taname": {
  23178. "description": "资金账号名称",
  23179. "type": "string"
  23180. },
  23181. "tradestatus": {
  23182. "description": "交易状态 - 1:正常 2:受限 3:冻结(停用) 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已删除(注销)",
  23183. "type": "integer"
  23184. },
  23185. "username": {
  23186. "description": "交易用户",
  23187. "type": "string"
  23188. }
  23189. }
  23190. },
  23191. "models.Ermcp3TaFutuReDataReport": {
  23192. "type": "object",
  23193. "properties": {
  23194. "accountid": {
  23195. "description": "交易账户",
  23196. "type": "integer"
  23197. },
  23198. "accountname": {
  23199. "description": "交易账号名称",
  23200. "type": "string"
  23201. },
  23202. "agreeunit": {
  23203. "description": "商品合约单位",
  23204. "type": "number"
  23205. },
  23206. "begindate": {
  23207. "description": "开始交易日",
  23208. "type": "string"
  23209. },
  23210. "buyorsell": {
  23211. "description": "持仓方向",
  23212. "type": "integer"
  23213. },
  23214. "charge": {
  23215. "description": "手续费",
  23216. "type": "number"
  23217. },
  23218. "closeavgprice": {
  23219. "description": "平仓均价",
  23220. "type": "number"
  23221. },
  23222. "closepl": {
  23223. "description": "平仓损益",
  23224. "type": "number"
  23225. },
  23226. "currencyid": {
  23227. "description": "结算币种ID",
  23228. "type": "integer"
  23229. },
  23230. "currencyname": {
  23231. "description": "币种名称",
  23232. "type": "string"
  23233. },
  23234. "cycletime": {
  23235. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  23236. "type": "string"
  23237. },
  23238. "cycletype": {
  23239. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  23240. "type": "integer"
  23241. },
  23242. "enddate": {
  23243. "description": "结束交易日",
  23244. "type": "string"
  23245. },
  23246. "enumdicname": {
  23247. "description": "单位名称",
  23248. "type": "string"
  23249. },
  23250. "floatpl": {
  23251. "description": "浮动损益",
  23252. "type": "number"
  23253. },
  23254. "goodscode": {
  23255. "description": "交易合约代码",
  23256. "type": "string"
  23257. },
  23258. "goodsgroupid": {
  23259. "description": "交易品种",
  23260. "type": "integer"
  23261. },
  23262. "goodsgroupname": {
  23263. "description": "交易品种名称",
  23264. "type": "string"
  23265. },
  23266. "goodsgroupspotqty": {
  23267. "description": "交易品种期末量 (= 期末持仓量 * 合约乘数)",
  23268. "type": "number"
  23269. },
  23270. "goodsid": {
  23271. "description": "交易合约",
  23272. "type": "integer"
  23273. },
  23274. "goodsname": {
  23275. "description": "交易合约名称",
  23276. "type": "string"
  23277. },
  23278. "goodunitid": {
  23279. "description": "交易合约单位id",
  23280. "type": "integer"
  23281. },
  23282. "holdamount": {
  23283. "description": "期末持仓额",
  23284. "type": "number"
  23285. },
  23286. "holdqty": {
  23287. "description": "期末持仓量",
  23288. "type": "number"
  23289. },
  23290. "lastholdamount": {
  23291. "description": "当前持仓额",
  23292. "type": "number"
  23293. },
  23294. "lastprice": {
  23295. "description": "最新价",
  23296. "type": "number"
  23297. },
  23298. "middlegoodsid": {
  23299. "description": "套保品种id",
  23300. "type": "integer"
  23301. },
  23302. "middlegoodsname": {
  23303. "description": "套保商品名称",
  23304. "type": "string"
  23305. },
  23306. "middlegoodsqty": {
  23307. "description": "套保品种期末量 (=交易品种期末量 * 期货品种折算系数)",
  23308. "type": "number"
  23309. },
  23310. "middlgoodscode": {
  23311. "description": "套保商品代码",
  23312. "type": "string"
  23313. },
  23314. "openamount": {
  23315. "description": "期末开仓额",
  23316. "type": "number"
  23317. },
  23318. "openavgprice": {
  23319. "description": "开仓均价",
  23320. "type": "number"
  23321. },
  23322. "oriholdamount": {
  23323. "description": "期初持仓额",
  23324. "type": "number"
  23325. },
  23326. "oriholdqty": {
  23327. "description": "期初持仓量",
  23328. "type": "number"
  23329. },
  23330. "oriopenamount": {
  23331. "description": "期初开仓额",
  23332. "type": "number"
  23333. },
  23334. "outergroupcode": {
  23335. "description": "交易品种代码",
  23336. "type": "string"
  23337. },
  23338. "qtydecimalplace": {
  23339. "description": "成交量小数位",
  23340. "type": "integer"
  23341. },
  23342. "reckondate": {
  23343. "description": "日照时期(yyyyMMdd)",
  23344. "type": "string"
  23345. },
  23346. "reckonholdamount": {
  23347. "description": "结算持仓额",
  23348. "type": "number"
  23349. },
  23350. "reckonpl": {
  23351. "description": "结算损益",
  23352. "type": "number"
  23353. },
  23354. "reckonpl2": {
  23355. "description": "结算逐笔盈亏",
  23356. "type": "number"
  23357. },
  23358. "reckonprice": {
  23359. "description": "结算价",
  23360. "type": "number"
  23361. },
  23362. "relateduserid": {
  23363. "description": "账户关联用户ID",
  23364. "type": "integer"
  23365. },
  23366. "todaycloseamount": {
  23367. "description": "今平仓额",
  23368. "type": "number"
  23369. },
  23370. "todaycloseqty": {
  23371. "description": "今平仓量",
  23372. "type": "number"
  23373. },
  23374. "todaygoodsgroupspotqty": {
  23375. "description": "交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)",
  23376. "type": "number"
  23377. },
  23378. "todaymiddlegoodsqty": {
  23379. "description": "套保品种变化量 (= 交易品种变化量*期货品种折算系数)",
  23380. "type": "number"
  23381. },
  23382. "todayopenamount": {
  23383. "description": "今开仓额",
  23384. "type": "number"
  23385. },
  23386. "todayopenqty": {
  23387. "description": "今开仓量",
  23388. "type": "number"
  23389. },
  23390. "userid": {
  23391. "description": "账户所属用户ID",
  23392. "type": "integer"
  23393. }
  23394. }
  23395. },
  23396. "models.Ermcp3TradeLinkDetail": {
  23397. "type": "object",
  23398. "properties": {
  23399. "accountid": {
  23400. "description": "资金账号",
  23401. "type": "integer"
  23402. },
  23403. "agreeunit": {
  23404. "description": "合约乘数",
  23405. "type": "number"
  23406. },
  23407. "areauserid": {
  23408. "description": "所属机构",
  23409. "type": "string"
  23410. },
  23411. "bizsubjectid": {
  23412. "description": "归属业务部门ID - SubjectID",
  23413. "type": "string"
  23414. },
  23415. "buyorsell": {
  23416. "description": "方向 - 0:买 1:卖",
  23417. "type": "integer"
  23418. },
  23419. "channelbuildtype": {
  23420. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  23421. "type": "integer"
  23422. },
  23423. "contractno": {
  23424. "description": "现货编号 (合同编号)",
  23425. "type": "string"
  23426. },
  23427. "convertratio": {
  23428. "description": "折算系数",
  23429. "type": "number"
  23430. },
  23431. "createtime": {
  23432. "description": "关联时间 | 创建时间",
  23433. "type": "string"
  23434. },
  23435. "creatorid": {
  23436. "description": "创建人ID",
  23437. "type": "string"
  23438. },
  23439. "creatorsrc": {
  23440. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  23441. "type": "integer"
  23442. },
  23443. "enumdicname": {
  23444. "description": "单位名称",
  23445. "type": "string"
  23446. },
  23447. "goodscode": {
  23448. "description": "合约代码",
  23449. "type": "string"
  23450. },
  23451. "goodsgroupid": {
  23452. "description": "对冲品种ID[期货合约商品组ID]",
  23453. "type": "integer"
  23454. },
  23455. "goodsid": {
  23456. "description": "商品ID",
  23457. "type": "integer"
  23458. },
  23459. "goodsname": {
  23460. "description": "合约名称",
  23461. "type": "string"
  23462. },
  23463. "hedgeflag": {
  23464. "description": "业务类型 | 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)",
  23465. "type": "integer"
  23466. },
  23467. "linkdetailid": {
  23468. "description": "关联ID(614+Unix秒时间戳(10位)+xxxxxx)",
  23469. "type": "string"
  23470. },
  23471. "linkstatus": {
  23472. "description": "关联状态 - 1:成功 2:失败 3:解绑",
  23473. "type": "integer"
  23474. },
  23475. "middlegoodscode": {
  23476. "description": "套保品种代码",
  23477. "type": "string"
  23478. },
  23479. "middlegoodsid": {
  23480. "description": "套保品种ID",
  23481. "type": "integer"
  23482. },
  23483. "middlegoodsname": {
  23484. "description": "套保品种名称",
  23485. "type": "string"
  23486. },
  23487. "relatedlot": {
  23488. "description": "关联手数",
  23489. "type": "number"
  23490. },
  23491. "relatedmode": {
  23492. "description": "关联方式 - 1:自动关联 2:手动关联 3:解绑关联",
  23493. "type": "integer"
  23494. },
  23495. "relatedqty": {
  23496. "description": "关联数量 = RelatedLot * AgreeUnit * ConvertRatio",
  23497. "type": "number"
  23498. },
  23499. "retcode": {
  23500. "description": "返回码",
  23501. "type": "integer"
  23502. },
  23503. "saleuserid": {
  23504. "description": "业务员ID",
  23505. "type": "string"
  23506. },
  23507. "spotcontractid": {
  23508. "description": "现货合同\\套保计划ID [4,10,11 - 现货合同ID] [9:套期保值(计划) - 套保计划ID]",
  23509. "type": "string"
  23510. },
  23511. "taname": {
  23512. "description": "期货账户",
  23513. "type": "string"
  23514. },
  23515. "tradedate": {
  23516. "description": "关联交易日(yyyyMMdd)",
  23517. "type": "string"
  23518. },
  23519. "tradeid": {
  23520. "description": "期货订单号 | 内部成交单ID",
  23521. "type": "string"
  23522. },
  23523. "tradelot": {
  23524. "description": "成交数量 | 成交手数",
  23525. "type": "integer"
  23526. },
  23527. "tradeprice": {
  23528. "description": "成交价格",
  23529. "type": "number"
  23530. },
  23531. "tradetime": {
  23532. "description": "期货成交时间",
  23533. "type": "string"
  23534. },
  23535. "tradetradedate": {
  23536. "description": "成交交易日(yyyyMMdd)",
  23537. "type": "string"
  23538. },
  23539. "username": {
  23540. "description": "用户名称",
  23541. "type": "string"
  23542. }
  23543. }
  23544. },
  23545. "models.Ermcp3Wrstandard": {
  23546. "type": "object",
  23547. "properties": {
  23548. "areauserid": {
  23549. "description": "所属机构",
  23550. "type": "integer"
  23551. },
  23552. "cantrade": {
  23553. "description": "是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)",
  23554. "type": "integer"
  23555. },
  23556. "convertfactor": {
  23557. "description": "标仓系数",
  23558. "type": "number"
  23559. },
  23560. "createtime": {
  23561. "description": "创建时间",
  23562. "type": "string"
  23563. },
  23564. "creatorid": {
  23565. "description": "创建人",
  23566. "type": "integer"
  23567. },
  23568. "deliverygoodsid": {
  23569. "description": "现货品种ID",
  23570. "type": "integer"
  23571. },
  23572. "enumdicname": {
  23573. "description": "品类单位名称",
  23574. "type": "string"
  23575. },
  23576. "isvalid": {
  23577. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  23578. "type": "integer"
  23579. },
  23580. "minivalue": {
  23581. "description": "最小变动值",
  23582. "type": "integer"
  23583. },
  23584. "minivaluedp": {
  23585. "description": "最小变动值小数位",
  23586. "type": "integer"
  23587. },
  23588. "realminivalue": {
  23589. "description": "实际最小变动值",
  23590. "type": "integer"
  23591. },
  23592. "realminivaluedp": {
  23593. "description": "实际最小变动值小数位",
  23594. "type": "integer"
  23595. },
  23596. "remark": {
  23597. "description": "备注",
  23598. "type": "string"
  23599. },
  23600. "unitid": {
  23601. "description": "品类单位ID",
  23602. "type": "integer"
  23603. },
  23604. "updatetime": {
  23605. "description": "更新时间",
  23606. "type": "string"
  23607. },
  23608. "wrstandardcode": {
  23609. "description": "品类代码",
  23610. "type": "string"
  23611. },
  23612. "wrstandardid": {
  23613. "description": "品类ID(SEQ_WRSTANDARD)",
  23614. "type": "integer"
  23615. },
  23616. "wrstandardname": {
  23617. "description": "品类名称",
  23618. "type": "string"
  23619. }
  23620. }
  23621. },
  23622. "models.ErmcpBizGroupEx": {
  23623. "type": "object",
  23624. "properties": {
  23625. "acclist": {
  23626. "description": "账号列表",
  23627. "type": "array",
  23628. "items": {
  23629. "$ref": "#/definitions/models.ErmcpBizGroupTaAccount"
  23630. }
  23631. },
  23632. "bizgroupid": {
  23633. "description": "业务分组id",
  23634. "type": "integer"
  23635. },
  23636. "biztype": {
  23637. "description": "业务类型 1-套保 2-套利",
  23638. "type": "integer"
  23639. },
  23640. "wrlist": {
  23641. "description": "现货商品表",
  23642. "type": "array",
  23643. "items": {
  23644. "$ref": "#/definitions/models.ErmcpBizGroupSpotGoods"
  23645. }
  23646. }
  23647. }
  23648. },
  23649. "models.ErmcpBizGroupSpotGoods": {
  23650. "type": "object",
  23651. "properties": {
  23652. "areauserid": {
  23653. "description": "所属机构id",
  23654. "type": "integer"
  23655. },
  23656. "bizgroupid": {
  23657. "description": "分组id",
  23658. "type": "integer"
  23659. },
  23660. "biztype": {
  23661. "description": "业务类型 1-套保 2-套利",
  23662. "type": "integer"
  23663. },
  23664. "deliverygoodscode": {
  23665. "description": "现货商品代码",
  23666. "type": "string"
  23667. },
  23668. "deliverygoodsid": {
  23669. "description": "现货商品id",
  23670. "type": "integer"
  23671. },
  23672. "deliverygoodsname": {
  23673. "description": "现货商品名称",
  23674. "type": "string"
  23675. },
  23676. "unitid": {
  23677. "description": "现货商品单位id",
  23678. "type": "integer"
  23679. }
  23680. }
  23681. },
  23682. "models.ErmcpBizGroupTaAccount": {
  23683. "type": "object",
  23684. "properties": {
  23685. "accountid": {
  23686. "description": "账号id",
  23687. "type": "integer"
  23688. },
  23689. "accountname": {
  23690. "description": "账号名称",
  23691. "type": "string"
  23692. },
  23693. "areauserid": {
  23694. "description": "所属机构id",
  23695. "type": "integer"
  23696. },
  23697. "bizgroupid": {
  23698. "description": "业务分组id",
  23699. "type": "integer"
  23700. },
  23701. "ismain": {
  23702. "description": "是否主账号 1-是 0-否",
  23703. "type": "integer"
  23704. }
  23705. }
  23706. },
  23707. "models.ErmcpDGFactoryItem": {
  23708. "type": "object",
  23709. "properties": {
  23710. "areauserid": {
  23711. "description": "用户id",
  23712. "type": "integer"
  23713. },
  23714. "deliverygoodsid": {
  23715. "description": "现货品种ID",
  23716. "type": "integer"
  23717. },
  23718. "dgfactoryitemid": {
  23719. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  23720. "type": "integer"
  23721. },
  23722. "dgfactoryitemtypeid": {
  23723. "description": "要素项类型",
  23724. "type": "integer"
  23725. },
  23726. "dgfactoryitemvalue": {
  23727. "description": "要素项值(类型为仓库时填写仓库名称)",
  23728. "type": "string"
  23729. },
  23730. "isvalid": {
  23731. "description": "是否有效 - 0:无效 1:有效",
  23732. "type": "integer"
  23733. },
  23734. "orderindex": {
  23735. "description": "顺序",
  23736. "type": "integer"
  23737. },
  23738. "warehouseid": {
  23739. "description": "仓库ID(类型为仓库时填写)",
  23740. "type": "integer"
  23741. }
  23742. }
  23743. },
  23744. "models.ErmcpDeliveryGoods": {
  23745. "type": "object",
  23746. "properties": {
  23747. "agreeunit": {
  23748. "description": "合约单位[散货时默认为1, 整装时默认为标准数量]",
  23749. "type": "integer"
  23750. },
  23751. "areauserid": {
  23752. "description": "所属机构",
  23753. "type": "integer"
  23754. },
  23755. "auditflag": {
  23756. "description": "交割是否需要审核 - 0:不需要 1:需要审核 默认为0",
  23757. "type": "integer"
  23758. },
  23759. "categoryid": {
  23760. "description": "类别ID(SEQ_WRCATEGORY)",
  23761. "type": "integer"
  23762. },
  23763. "deliverygoodscode": {
  23764. "description": "现货品种代码",
  23765. "type": "string"
  23766. },
  23767. "deliverygoodsid": {
  23768. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  23769. "type": "integer"
  23770. },
  23771. "deliverygoodsname": {
  23772. "description": "现货品种名称",
  23773. "type": "string"
  23774. },
  23775. "deliverygoodstype": {
  23776. "description": "现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细",
  23777. "type": "integer"
  23778. },
  23779. "dgstatus": {
  23780. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  23781. "type": "integer"
  23782. },
  23783. "enumdicname": {
  23784. "description": "现货品种单位名称",
  23785. "type": "string"
  23786. },
  23787. "goodsunitid": {
  23788. "description": "现货品种单位ID",
  23789. "type": "integer"
  23790. },
  23791. "isvalid": {
  23792. "description": "是否有效 - 0:无效 1:有效",
  23793. "type": "integer"
  23794. },
  23795. "qtydecimalplace": {
  23796. "description": "成交量小数位",
  23797. "type": "integer"
  23798. },
  23799. "remark": {
  23800. "description": "备注",
  23801. "type": "string"
  23802. },
  23803. "standardqty": {
  23804. "description": "标准数量(库位数量) [标准品特有]",
  23805. "type": "integer"
  23806. },
  23807. "standardqtyrange": {
  23808. "description": "标准数量偏差范围 [标准品特有]",
  23809. "type": "integer"
  23810. }
  23811. }
  23812. },
  23813. "models.ErmcpFuturesCompany": {
  23814. "type": "object",
  23815. "properties": {
  23816. "brokerid": {
  23817. "description": "经纪公司代码",
  23818. "type": "string"
  23819. },
  23820. "channeladdress": {
  23821. "description": "对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001",
  23822. "type": "string"
  23823. },
  23824. "channelid": {
  23825. "description": "对冲渠道ID",
  23826. "type": "string"
  23827. },
  23828. "createtime": {
  23829. "description": "创建时间",
  23830. "type": "string"
  23831. },
  23832. "creatorid": {
  23833. "description": "创建人",
  23834. "type": "string"
  23835. },
  23836. "fcid": {
  23837. "description": "期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)",
  23838. "type": "integer"
  23839. },
  23840. "fcname": {
  23841. "description": "期货公司名称",
  23842. "type": "string"
  23843. },
  23844. "isvalid": {
  23845. "description": "是否有效 - 0:无效 1:有效",
  23846. "type": "integer"
  23847. },
  23848. "mhpaddress": {
  23849. "description": "MHP服务地址(IP:Port)",
  23850. "type": "string"
  23851. },
  23852. "riskrulegroupid": {
  23853. "description": "风控规则组ID",
  23854. "type": "string"
  23855. },
  23856. "tradefeetmpid": {
  23857. "description": "手续费模板ID[TradeConfigTmpType为2]",
  23858. "type": "string"
  23859. },
  23860. "trademargintmpid": {
  23861. "description": "保证金模板ID [TradeConfigTmpType为1]",
  23862. "type": "string"
  23863. },
  23864. "traderatetmpid": {
  23865. "description": "汇率模板ID[TradeConfigTmpType为3]",
  23866. "type": "string"
  23867. },
  23868. "updatetime": {
  23869. "description": "更新时间",
  23870. "type": "string"
  23871. },
  23872. "updatorid": {
  23873. "description": "更新人",
  23874. "type": "string"
  23875. }
  23876. }
  23877. },
  23878. "models.ErmcpGGConvertCfg": {
  23879. "type": "object",
  23880. "properties": {
  23881. "convertratio": {
  23882. "description": "折算系数",
  23883. "type": "number"
  23884. },
  23885. "destgoodsgroupid": {
  23886. "description": "目标品种ID",
  23887. "type": "integer"
  23888. },
  23889. "dstcode": {
  23890. "description": "目录品种代码",
  23891. "type": "string"
  23892. },
  23893. "dstexchangecode": {
  23894. "description": "目标期货交易所",
  23895. "type": "string"
  23896. },
  23897. "dstname": {
  23898. "description": "目标品种名称",
  23899. "type": "string"
  23900. },
  23901. "dstunitid": {
  23902. "description": "目标品种单位ID",
  23903. "type": "integer"
  23904. },
  23905. "dstunitidname": {
  23906. "description": "目标品种单位名称",
  23907. "type": "string"
  23908. },
  23909. "modifytime": {
  23910. "description": "修改时间",
  23911. "type": "string"
  23912. },
  23913. "srccode": {
  23914. "description": "源品种代码",
  23915. "type": "string"
  23916. },
  23917. "srcexchangecode": {
  23918. "description": "源期货交易所",
  23919. "type": "string"
  23920. },
  23921. "srcgoodsgroupid": {
  23922. "description": "源品种ID",
  23923. "type": "integer"
  23924. },
  23925. "srcname": {
  23926. "description": "源品种名称",
  23927. "type": "string"
  23928. },
  23929. "srcunitid": {
  23930. "description": "源品种单位ID",
  23931. "type": "integer"
  23932. },
  23933. "srcunitidname": {
  23934. "description": "源品种单位名称",
  23935. "type": "string"
  23936. }
  23937. }
  23938. },
  23939. "models.ErmcpGoods": {
  23940. "type": "object",
  23941. "required": [
  23942. "goodscode",
  23943. "goodsid",
  23944. "goodsname",
  23945. "marketid"
  23946. ],
  23947. "properties": {
  23948. "agreeunit": {
  23949. "description": "合约单位",
  23950. "type": "number"
  23951. },
  23952. "areauserid": {
  23953. "description": "所属机构",
  23954. "type": "integer"
  23955. },
  23956. "auditaccountid": {
  23957. "description": "审核操作员账号",
  23958. "type": "integer"
  23959. },
  23960. "audittime": {
  23961. "description": "审核时间",
  23962. "type": "string"
  23963. },
  23964. "cancelaccountid": {
  23965. "description": "注销操作员账号",
  23966. "type": "integer"
  23967. },
  23968. "canceltime": {
  23969. "description": "注销时间",
  23970. "type": "string"
  23971. },
  23972. "closepricemode": {
  23973. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  23974. "type": "integer"
  23975. },
  23976. "closepriceparam": {
  23977. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  23978. "type": "number"
  23979. },
  23980. "createtime": {
  23981. "description": "创建时间",
  23982. "type": "string"
  23983. },
  23984. "creatorid": {
  23985. "description": "创建人",
  23986. "type": "integer"
  23987. },
  23988. "currencyid": {
  23989. "description": "报价货币ID",
  23990. "type": "integer"
  23991. },
  23992. "cutmode": {
  23993. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  23994. "type": "integer"
  23995. },
  23996. "decimalplace": {
  23997. "description": "报价小数位",
  23998. "type": "integer"
  23999. },
  24000. "delistingdate": {
  24001. "description": "商品退市时间(状态:退市) -- 已作废",
  24002. "type": "string"
  24003. },
  24004. "delistingmode": {
  24005. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  24006. "type": "integer"
  24007. },
  24008. "deliveryflag": {
  24009. "description": "交割标志 - 0:不可交割 1:可交割",
  24010. "type": "integer"
  24011. },
  24012. "enumdicname": {
  24013. "description": "单位名称",
  24014. "type": "string"
  24015. },
  24016. "forceclosemode": {
  24017. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  24018. "type": "integer"
  24019. },
  24020. "forceclosevalue": {
  24021. "description": "定期强平参数 [收益权]",
  24022. "type": "integer"
  24023. },
  24024. "goodscode": {
  24025. "description": "商品代码(内部)",
  24026. "type": "string"
  24027. },
  24028. "goodscurrencyid": {
  24029. "description": "合约货币ID",
  24030. "type": "integer"
  24031. },
  24032. "goodsgroupid": {
  24033. "description": "所属商品组ID",
  24034. "type": "integer"
  24035. },
  24036. "goodsid": {
  24037. "description": "商品ID(自增ID SEQ_GOODS)",
  24038. "type": "integer"
  24039. },
  24040. "goodsname": {
  24041. "description": "商品名称",
  24042. "type": "string"
  24043. },
  24044. "goodsquotetype": {
  24045. "description": "合约报价类型: 1-直接报价 2-间接报价",
  24046. "type": "integer"
  24047. },
  24048. "goodsstatus": {
  24049. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  24050. "type": "integer"
  24051. },
  24052. "goodstradetype": {
  24053. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  24054. "type": "integer"
  24055. },
  24056. "goodunitid": {
  24057. "description": "报价单位ID",
  24058. "type": "integer"
  24059. },
  24060. "hasquoter": {
  24061. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  24062. "type": "integer"
  24063. },
  24064. "hqprotecttime": {
  24065. "description": "行情保护时间(秒)",
  24066. "type": "integer"
  24067. },
  24068. "innerdealmode": {
  24069. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  24070. "type": "integer"
  24071. },
  24072. "isbuylimited": {
  24073. "description": "是否限制建仓量 - 0:不限制 1:限制",
  24074. "type": "integer"
  24075. },
  24076. "isvisible": {
  24077. "description": "游客是否可见 - 0:不可见 1:可见",
  24078. "type": "integer"
  24079. },
  24080. "lasttradedate": {
  24081. "description": "最后交易日期(状态:待退市)",
  24082. "type": "string"
  24083. },
  24084. "listingdate": {
  24085. "description": "交易开始日期",
  24086. "type": "string"
  24087. },
  24088. "marketid": {
  24089. "description": "所属市场ID",
  24090. "type": "integer"
  24091. },
  24092. "modifierid": {
  24093. "description": "修改人",
  24094. "type": "integer"
  24095. },
  24096. "modifystatus": {
  24097. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  24098. "type": "integer"
  24099. },
  24100. "modifytime": {
  24101. "description": "修改时间",
  24102. "type": "string"
  24103. },
  24104. "outerdealmode": {
  24105. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  24106. "type": "integer"
  24107. },
  24108. "outgoodscode": {
  24109. "description": "商品代码(外部)",
  24110. "type": "string"
  24111. },
  24112. "pictureurl": {
  24113. "description": "商品图片",
  24114. "type": "string"
  24115. },
  24116. "qtydecimalplace": {
  24117. "description": "成交量小数位",
  24118. "type": "integer"
  24119. },
  24120. "quotegear": {
  24121. "description": "行情档位(1-10)",
  24122. "type": "integer"
  24123. },
  24124. "quoteminunit": {
  24125. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  24126. "type": "integer"
  24127. },
  24128. "quoteshowtype": {
  24129. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  24130. "type": "integer"
  24131. },
  24132. "quoteshowtypeinterval": {
  24133. "description": "行情报价间隔时间(秒)(成交价时为0)",
  24134. "type": "integer"
  24135. },
  24136. "relatedgoodsid": {
  24137. "description": "关联参考商品ID",
  24138. "type": "integer"
  24139. },
  24140. "remark": {
  24141. "description": "备注",
  24142. "type": "string"
  24143. },
  24144. "trademode": {
  24145. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  24146. "type": "integer"
  24147. }
  24148. }
  24149. },
  24150. "models.ErmcpGoodsBrand": {
  24151. "type": "object",
  24152. "properties": {
  24153. "areauserid": {
  24154. "description": "所属机构",
  24155. "type": "integer"
  24156. },
  24157. "brandid": {
  24158. "description": "BrandID(SEQ_SPOTGOODSBRAND)",
  24159. "type": "integer"
  24160. },
  24161. "brandname": {
  24162. "description": "品牌名称",
  24163. "type": "string"
  24164. },
  24165. "createtime": {
  24166. "description": "创建时间",
  24167. "type": "string"
  24168. },
  24169. "creatorid": {
  24170. "description": "创建人",
  24171. "type": "integer"
  24172. },
  24173. "creatorsrc": {
  24174. "description": "创建人来源 - 1:管理端 2:终端",
  24175. "type": "integer"
  24176. },
  24177. "deliverygoodsid": {
  24178. "description": "现货品种ID",
  24179. "type": "integer"
  24180. },
  24181. "isvalid": {
  24182. "description": "是否有效 - 0:无效 1:有效",
  24183. "type": "integer"
  24184. },
  24185. "updatetime": {
  24186. "description": "更新时间",
  24187. "type": "string"
  24188. },
  24189. "updatorid": {
  24190. "description": "更新人",
  24191. "type": "integer"
  24192. },
  24193. "updatorsrc": {
  24194. "description": "更新人来源 - 1:管理端 2:终端",
  24195. "type": "integer"
  24196. },
  24197. "wrstandardid": {
  24198. "description": "现货商品ID",
  24199. "type": "integer"
  24200. }
  24201. }
  24202. },
  24203. "models.ErmcpGoodsModel": {
  24204. "type": "object",
  24205. "properties": {
  24206. "areauserid": {
  24207. "description": "所属机构",
  24208. "type": "integer"
  24209. },
  24210. "convertfactor": {
  24211. "description": "标仓系数",
  24212. "type": "number"
  24213. },
  24214. "createtime": {
  24215. "description": "创建时间",
  24216. "type": "string"
  24217. },
  24218. "creatorid": {
  24219. "description": "创建人",
  24220. "type": "integer"
  24221. },
  24222. "creatorsrc": {
  24223. "description": "创建人来源 - 1:管理端 2:终端",
  24224. "type": "integer"
  24225. },
  24226. "deliverygoodsid": {
  24227. "description": "现货品种ID",
  24228. "type": "integer"
  24229. },
  24230. "isvalid": {
  24231. "description": "是否有效 - 0:无效 1:有效",
  24232. "type": "integer"
  24233. },
  24234. "modelid": {
  24235. "description": "ModelID(SEQ_SPOTGOODSMODEL)",
  24236. "type": "integer"
  24237. },
  24238. "modelname": {
  24239. "description": "型号名称",
  24240. "type": "string"
  24241. },
  24242. "updatetime": {
  24243. "description": "更新时间",
  24244. "type": "string"
  24245. },
  24246. "updatorid": {
  24247. "description": "更新人",
  24248. "type": "integer"
  24249. },
  24250. "updatorsrc": {
  24251. "description": "更新人来源 - 1:管理端 2:终端",
  24252. "type": "integer"
  24253. },
  24254. "wrstandardid": {
  24255. "description": "现货商品ID",
  24256. "type": "integer"
  24257. }
  24258. }
  24259. },
  24260. "models.ErmcpHisExposure": {
  24261. "type": "object",
  24262. "properties": {
  24263. "needhedgeexposoure": {
  24264. "description": "应套保敞口",
  24265. "type": "number"
  24266. },
  24267. "reckondate": {
  24268. "description": "日照时期(yyyyMMdd)",
  24269. "type": "string"
  24270. },
  24271. "totalexposure": {
  24272. "description": "总敞口",
  24273. "type": "number"
  24274. }
  24275. }
  24276. },
  24277. "models.ErmcpLoginTaAccount": {
  24278. "type": "object",
  24279. "properties": {
  24280. "accountid": {
  24281. "description": "账号id",
  24282. "type": "integer"
  24283. },
  24284. "accountname": {
  24285. "description": "账号名称",
  24286. "type": "string"
  24287. }
  24288. }
  24289. },
  24290. "models.ErmcpLoginUser": {
  24291. "type": "object",
  24292. "properties": {
  24293. "acclist": {
  24294. "description": "关联资金账号",
  24295. "type": "array",
  24296. "items": {
  24297. "$ref": "#/definitions/models.ErmcpLoginTaAccount"
  24298. }
  24299. },
  24300. "accountname": {
  24301. "description": "用户名称",
  24302. "type": "string"
  24303. },
  24304. "clientroleid": {
  24305. "description": "角色id(usertype=2)",
  24306. "type": "integer"
  24307. },
  24308. "createtime": {
  24309. "description": "创建时间",
  24310. "type": "string"
  24311. },
  24312. "logincode": {
  24313. "description": "登录代码",
  24314. "type": "string"
  24315. },
  24316. "loginid": {
  24317. "description": "登录id(LOGINID)",
  24318. "type": "integer"
  24319. },
  24320. "loginname": {
  24321. "description": "登录名称(loginaccount表中的accountname字段)",
  24322. "type": "string"
  24323. },
  24324. "loginstatus": {
  24325. "description": "登录账户状态 - 1:正常 2:冻结 3:无效",
  24326. "type": "integer"
  24327. },
  24328. "memberuserid": {
  24329. "description": "所属会员id",
  24330. "type": "integer"
  24331. },
  24332. "mobile": {
  24333. "description": "手机号",
  24334. "type": "string"
  24335. },
  24336. "modifytime": {
  24337. "description": "修改时间",
  24338. "type": "string"
  24339. },
  24340. "password": {
  24341. "description": "密码(不可解密)",
  24342. "type": "string"
  24343. },
  24344. "rolename": {
  24345. "description": "角色名称",
  24346. "type": "string"
  24347. },
  24348. "rolestatus": {
  24349. "description": "角色状态 1-启用 2-停用",
  24350. "type": "integer"
  24351. },
  24352. "roletype": {
  24353. "description": "角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员",
  24354. "type": "string"
  24355. },
  24356. "userid": {
  24357. "description": "用户id",
  24358. "type": "integer"
  24359. },
  24360. "usertype": {
  24361. "description": "用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  24362. "type": "integer"
  24363. }
  24364. }
  24365. },
  24366. "models.ErmcpLoginUserEx": {
  24367. "type": "object",
  24368. "properties": {
  24369. "accountstatus": {
  24370. "description": "账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  24371. "type": "integer"
  24372. },
  24373. "mobile": {
  24374. "description": "手机号",
  24375. "type": "string"
  24376. },
  24377. "querytype": {
  24378. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  24379. "type": "integer"
  24380. },
  24381. "roleid": {
  24382. "description": "角色id(交易账户-\u003e用户id)",
  24383. "type": "integer"
  24384. },
  24385. "rolename": {
  24386. "description": "角色名称(交易账户-\u003e用户名称)",
  24387. "type": "string"
  24388. },
  24389. "userlist": {
  24390. "description": "用户列表",
  24391. "type": "array",
  24392. "items": {
  24393. "$ref": "#/definitions/models.ErmcpLoginUser"
  24394. }
  24395. },
  24396. "usertype": {
  24397. "description": "用户类型 2-机构 7-企业成员(云平台)",
  24398. "type": "integer"
  24399. }
  24400. }
  24401. },
  24402. "models.ErmcpMiddleGoodsModel": {
  24403. "type": "object",
  24404. "properties": {
  24405. "areauserid": {
  24406. "description": "机构用户ID",
  24407. "type": "integer"
  24408. },
  24409. "createtime": {
  24410. "description": "修改时间",
  24411. "type": "string"
  24412. },
  24413. "enumdicname": {
  24414. "description": "单位名称",
  24415. "type": "string"
  24416. },
  24417. "evaluateratio": {
  24418. "description": "估价系数",
  24419. "type": "number"
  24420. },
  24421. "goodsgroupid": {
  24422. "description": "关联期货品种ID",
  24423. "type": "integer"
  24424. },
  24425. "goodsunitid": {
  24426. "description": "单位ID",
  24427. "type": "integer"
  24428. },
  24429. "isvalid": {
  24430. "description": "状态 0-无效(停用) 1-有效(正常)",
  24431. "type": "integer"
  24432. },
  24433. "middlegoodscode": {
  24434. "description": "套保品种代码",
  24435. "type": "string"
  24436. },
  24437. "middlegoodsid": {
  24438. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  24439. "type": "integer"
  24440. },
  24441. "middlegoodsname": {
  24442. "description": "套保品种名称",
  24443. "type": "string"
  24444. },
  24445. "modifytime": {
  24446. "description": "修改时间",
  24447. "type": "string"
  24448. },
  24449. "needarbitrageratio": {
  24450. "description": "套利比例",
  24451. "type": "number"
  24452. },
  24453. "needhedgeratio": {
  24454. "description": "套保比率",
  24455. "type": "number"
  24456. },
  24457. "qtydecimalplace": {
  24458. "description": "数量小数位",
  24459. "type": "integer"
  24460. },
  24461. "relatedgoodsid": {
  24462. "description": "关联交易商品ID",
  24463. "type": "integer"
  24464. },
  24465. "relatedgoodstype": {
  24466. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  24467. "type": "integer"
  24468. },
  24469. "remark": {
  24470. "description": "备注",
  24471. "type": "string"
  24472. }
  24473. }
  24474. },
  24475. "models.ErmcpMiddlegoodsRelateGoods": {
  24476. "type": "object",
  24477. "properties": {
  24478. "agreeunit": {
  24479. "description": "合约乘数",
  24480. "type": "number"
  24481. },
  24482. "convertratio": {
  24483. "description": "折算系数",
  24484. "type": "number"
  24485. },
  24486. "enumdicname": {
  24487. "description": "单位名称(交易商品)",
  24488. "type": "string"
  24489. },
  24490. "goodscode": {
  24491. "description": "交易商品代码",
  24492. "type": "string"
  24493. },
  24494. "goodsgroupid": {
  24495. "description": "交易品种id",
  24496. "type": "integer"
  24497. },
  24498. "goodsid": {
  24499. "description": "商品Id",
  24500. "type": "integer"
  24501. },
  24502. "goodsname": {
  24503. "description": "交易商品名称",
  24504. "type": "string"
  24505. },
  24506. "goodunitid": {
  24507. "description": "交易商品单位id",
  24508. "type": "integer"
  24509. },
  24510. "middlegoodsid": {
  24511. "description": "套保商品id",
  24512. "type": "integer"
  24513. },
  24514. "middlegoodsname": {
  24515. "description": "套保商品名称",
  24516. "type": "string"
  24517. },
  24518. "middlegoodsswcode": {
  24519. "description": "套保商品代码",
  24520. "type": "string"
  24521. },
  24522. "needarbitrageratio": {
  24523. "description": "应套利比例",
  24524. "type": "number"
  24525. },
  24526. "needhedgeratio": {
  24527. "description": "应套保比例",
  24528. "type": "number"
  24529. }
  24530. }
  24531. },
  24532. "models.ErmcpRole": {
  24533. "type": "object",
  24534. "properties": {
  24535. "areauserid": {
  24536. "description": "所属机构",
  24537. "type": "integer"
  24538. },
  24539. "autoid": {
  24540. "description": "角色ID(自增ID)",
  24541. "type": "integer"
  24542. },
  24543. "modifierid": {
  24544. "description": "修改人(创建人)",
  24545. "type": "integer"
  24546. },
  24547. "modifiername": {
  24548. "description": "修改人名称",
  24549. "type": "string"
  24550. },
  24551. "modifytime": {
  24552. "description": "修改时间(创建时间)",
  24553. "type": "string"
  24554. },
  24555. "rolename": {
  24556. "description": "角色名称",
  24557. "type": "string"
  24558. },
  24559. "rolestatus": {
  24560. "description": "角色状态 - 1:启用 2:停用",
  24561. "type": "integer"
  24562. },
  24563. "roletype": {
  24564. "description": "角色类型 - 1- 管理端 2- 交易端",
  24565. "type": "integer"
  24566. }
  24567. }
  24568. },
  24569. "models.ErmcpRoleMenu": {
  24570. "type": "object",
  24571. "properties": {
  24572. "iconame": {
  24573. "description": "菜单图标",
  24574. "type": "string"
  24575. },
  24576. "ishadrole": {
  24577. "description": "是否有权限",
  24578. "type": "boolean"
  24579. },
  24580. "menutype": {
  24581. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 5:PCWEB(v6)",
  24582. "type": "integer"
  24583. },
  24584. "parentcode": {
  24585. "description": "上级资源代码",
  24586. "type": "string"
  24587. },
  24588. "remark": {
  24589. "description": "菜单备注",
  24590. "type": "string"
  24591. },
  24592. "resourcecode": {
  24593. "description": "菜单代码",
  24594. "type": "string"
  24595. },
  24596. "resourcelevel": {
  24597. "description": "级别",
  24598. "type": "integer"
  24599. },
  24600. "resourcename": {
  24601. "description": "菜单名称",
  24602. "type": "string"
  24603. },
  24604. "roleid": {
  24605. "description": "角色id",
  24606. "type": "integer"
  24607. },
  24608. "sort": {
  24609. "description": "排序",
  24610. "type": "integer"
  24611. },
  24612. "url": {
  24613. "description": "URL",
  24614. "type": "string"
  24615. },
  24616. "userid": {
  24617. "description": "用户id",
  24618. "type": "integer"
  24619. }
  24620. }
  24621. },
  24622. "models.ErmcpRoleMenuEx": {
  24623. "type": "object",
  24624. "properties": {
  24625. "menu": {
  24626. "description": "父级菜单",
  24627. "$ref": "#/definitions/models.ErmcpRoleMenu"
  24628. },
  24629. "subMenu": {
  24630. "description": "子级菜单",
  24631. "type": "array",
  24632. "items": {
  24633. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  24634. }
  24635. }
  24636. }
  24637. },
  24638. "models.ErmcpTaAccount": {
  24639. "type": "object",
  24640. "properties": {
  24641. "accountid": {
  24642. "description": "账户id",
  24643. "type": "integer"
  24644. },
  24645. "accountname": {
  24646. "description": "账户名称",
  24647. "type": "string"
  24648. },
  24649. "currencyid": {
  24650. "description": "币种id",
  24651. "type": "integer"
  24652. },
  24653. "hedgeaccountcode": {
  24654. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  24655. "type": "string"
  24656. },
  24657. "ismain": {
  24658. "description": "是否主账户 0-否 1-是",
  24659. "type": "integer"
  24660. },
  24661. "parentaccountid": {
  24662. "description": "父账户id",
  24663. "type": "integer"
  24664. },
  24665. "relateduserid": {
  24666. "description": "关联userid",
  24667. "type": "integer"
  24668. },
  24669. "tradefeetmpid": {
  24670. "description": "手续费模板id",
  24671. "type": "integer"
  24672. },
  24673. "tradefeetmpname": {
  24674. "description": "手续费模板名称",
  24675. "type": "string"
  24676. },
  24677. "trademargintmpid": {
  24678. "description": "保证金模板id",
  24679. "type": "integer"
  24680. },
  24681. "trademargintmpname": {
  24682. "description": "保证金模板名称",
  24683. "type": "string"
  24684. },
  24685. "traderatetmpid": {
  24686. "description": "汇率模板id",
  24687. "type": "integer"
  24688. },
  24689. "traderatetmpname": {
  24690. "description": "汇率模板名称",
  24691. "type": "string"
  24692. },
  24693. "tradestatus": {
  24694. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  24695. "type": "integer"
  24696. },
  24697. "userid": {
  24698. "description": "用户id",
  24699. "type": "integer"
  24700. }
  24701. }
  24702. },
  24703. "models.ErmcpTaAccountEx": {
  24704. "type": "object",
  24705. "properties": {
  24706. "mainAcc": {
  24707. "description": "主账号",
  24708. "$ref": "#/definitions/models.ErmcpTaAccountM"
  24709. },
  24710. "subacclist": {
  24711. "description": "子账号列表",
  24712. "type": "array",
  24713. "items": {
  24714. "$ref": "#/definitions/models.ErmcpTaAccount"
  24715. }
  24716. }
  24717. }
  24718. },
  24719. "models.ErmcpTaAccountInfo": {
  24720. "type": "object",
  24721. "properties": {
  24722. "accountid": {
  24723. "description": "资金账户ID",
  24724. "type": "integer"
  24725. },
  24726. "accountname": {
  24727. "description": "账户名称",
  24728. "type": "string"
  24729. },
  24730. "balance": {
  24731. "description": "期初余额",
  24732. "type": "number"
  24733. },
  24734. "capitalbalance": {
  24735. "description": "本金余额[外部子账户实际出入金余额]",
  24736. "type": "number"
  24737. },
  24738. "closepl": {
  24739. "description": "今日平仓盈亏",
  24740. "type": "number"
  24741. },
  24742. "creditdecrease": {
  24743. "description": "今日授信减少",
  24744. "type": "number"
  24745. },
  24746. "creditincrease": {
  24747. "description": "今日授信增加",
  24748. "type": "number"
  24749. },
  24750. "curdebt": {
  24751. "description": "期末欠款",
  24752. "type": "number"
  24753. },
  24754. "currencyid": {
  24755. "description": "货币ID",
  24756. "type": "integer"
  24757. },
  24758. "currentbalance": {
  24759. "description": "期末余额",
  24760. "type": "number"
  24761. },
  24762. "freezecharge": {
  24763. "description": "手续费冻结",
  24764. "type": "number"
  24765. },
  24766. "freezemargin": {
  24767. "description": "冻结保证金",
  24768. "type": "number"
  24769. },
  24770. "fromaccountid": {
  24771. "description": "所属上级账户",
  24772. "type": "integer"
  24773. },
  24774. "inamount": {
  24775. "description": "今日入金金额(包括三方入金)",
  24776. "type": "number"
  24777. },
  24778. "ismain": {
  24779. "description": "是否母账号 0:不是母账户 1:是母账户",
  24780. "type": "integer"
  24781. },
  24782. "mortgagecredit": {
  24783. "description": "授信金额",
  24784. "type": "number"
  24785. },
  24786. "oridebt": {
  24787. "description": "期初欠款",
  24788. "type": "number"
  24789. },
  24790. "orifreezecharge": {
  24791. "description": "期初手续费冻结",
  24792. "type": "number"
  24793. },
  24794. "orifreezemargin": {
  24795. "description": "期初冻结保证金",
  24796. "type": "number"
  24797. },
  24798. "orimortgagecredit": {
  24799. "description": "期初授信金额",
  24800. "type": "number"
  24801. },
  24802. "oriothercredit": {
  24803. "description": "期初其它授信金额",
  24804. "type": "number"
  24805. },
  24806. "oriotherfreezemargin": {
  24807. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  24808. "type": "number"
  24809. },
  24810. "orioutamountfreeze": {
  24811. "description": "期初出金冻结",
  24812. "type": "number"
  24813. },
  24814. "oriusedmargin": {
  24815. "description": "期初占用保证金",
  24816. "type": "number"
  24817. },
  24818. "othercredit": {
  24819. "description": "其它授信金额",
  24820. "type": "number"
  24821. },
  24822. "othercreditdecrease": {
  24823. "description": "今日其它授信减少",
  24824. "type": "number"
  24825. },
  24826. "othercreditincrease": {
  24827. "description": "今日其它授信增加",
  24828. "type": "number"
  24829. },
  24830. "otherfreezemargin": {
  24831. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  24832. "type": "number"
  24833. },
  24834. "outamount": {
  24835. "description": "今日出金金额(包括三方出金)",
  24836. "type": "number"
  24837. },
  24838. "outamountfreeze": {
  24839. "description": "出金冻结",
  24840. "type": "number"
  24841. },
  24842. "outthreshold": {
  24843. "description": "出金阈值",
  24844. "type": "number"
  24845. },
  24846. "parentaccountid": {
  24847. "description": "所属根账号",
  24848. "type": "integer"
  24849. },
  24850. "paycharge": {
  24851. "description": "今日手续费支出",
  24852. "type": "number"
  24853. },
  24854. "relateduserid": {
  24855. "description": "关联用户",
  24856. "type": "integer"
  24857. },
  24858. "signstatus": {
  24859. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  24860. "type": "integer"
  24861. },
  24862. "sublevelpath": {
  24863. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  24864. "type": "string"
  24865. },
  24866. "taaccounttype": {
  24867. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  24868. "type": "integer"
  24869. },
  24870. "thirdinamount": {
  24871. "description": "今日三方入金",
  24872. "type": "number"
  24873. },
  24874. "thirdoutamount": {
  24875. "description": "今日三方出金",
  24876. "type": "number"
  24877. },
  24878. "tradestatus": {
  24879. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  24880. "type": "integer"
  24881. },
  24882. "transferamount": {
  24883. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  24884. "type": "number"
  24885. },
  24886. "usedmargin": {
  24887. "description": "占用保证金",
  24888. "type": "number"
  24889. },
  24890. "userid": {
  24891. "description": "用户ID",
  24892. "type": "integer"
  24893. }
  24894. }
  24895. },
  24896. "models.ErmcpTaAccountM": {
  24897. "type": "object",
  24898. "properties": {
  24899. "accountid": {
  24900. "description": "账户id",
  24901. "type": "integer"
  24902. },
  24903. "accountname": {
  24904. "description": "账户名称",
  24905. "type": "string"
  24906. },
  24907. "currencyid": {
  24908. "description": "币种id",
  24909. "type": "integer"
  24910. },
  24911. "fcid": {
  24912. "description": "期货公司id",
  24913. "type": "integer"
  24914. },
  24915. "fcname": {
  24916. "description": "期货公司代码",
  24917. "type": "string"
  24918. },
  24919. "hedgeaccountcode": {
  24920. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  24921. "type": "string"
  24922. },
  24923. "ismain": {
  24924. "description": "是否主账户 0-否 1-是",
  24925. "type": "integer"
  24926. },
  24927. "parentaccountid": {
  24928. "description": "父账户id",
  24929. "type": "integer"
  24930. },
  24931. "relateduserid": {
  24932. "description": "关联userid",
  24933. "type": "integer"
  24934. },
  24935. "tradefeetmpid": {
  24936. "description": "手续费模板id",
  24937. "type": "integer"
  24938. },
  24939. "tradefeetmpname": {
  24940. "description": "手续费模板名称",
  24941. "type": "string"
  24942. },
  24943. "trademargintmpid": {
  24944. "description": "保证金模板id",
  24945. "type": "integer"
  24946. },
  24947. "trademargintmpname": {
  24948. "description": "保证金模板名称",
  24949. "type": "string"
  24950. },
  24951. "traderatetmpid": {
  24952. "description": "汇率模板id",
  24953. "type": "integer"
  24954. },
  24955. "traderatetmpname": {
  24956. "description": "汇率模板名称",
  24957. "type": "string"
  24958. },
  24959. "tradestatus": {
  24960. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  24961. "type": "integer"
  24962. },
  24963. "userid": {
  24964. "description": "用户id",
  24965. "type": "integer"
  24966. }
  24967. }
  24968. },
  24969. "models.ErmcpTradeConfigTMP": {
  24970. "type": "object",
  24971. "properties": {
  24972. "areauserid": {
  24973. "description": "所属机构",
  24974. "type": "integer"
  24975. },
  24976. "basiccurrencyid": {
  24977. "description": "基本币种ID[汇率] - 目标币种",
  24978. "type": "integer"
  24979. },
  24980. "mainaccountid": {
  24981. "description": "主账户ID",
  24982. "type": "integer"
  24983. },
  24984. "modifierid": {
  24985. "description": "修改人",
  24986. "type": "integer"
  24987. },
  24988. "remark": {
  24989. "description": "备注",
  24990. "type": "string"
  24991. },
  24992. "tradeconfigtmpid": {
  24993. "description": "交易配置模板ID(SEQ_TRADECONFIGTMP)",
  24994. "type": "integer"
  24995. },
  24996. "tradeconfigtmpname": {
  24997. "description": "交易配置模板名称",
  24998. "type": "string"
  24999. },
  25000. "tradeconfigtmptype": {
  25001. "description": "交易配置模板类型 - 1:保证金 2:手续费 3:汇率",
  25002. "type": "integer"
  25003. },
  25004. "updatetime": {
  25005. "description": "更新时间",
  25006. "type": "string"
  25007. }
  25008. }
  25009. },
  25010. "models.Externalexchange": {
  25011. "type": "object",
  25012. "required": [
  25013. "autoid"
  25014. ],
  25015. "properties": {
  25016. "autoid": {
  25017. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  25018. "type": "integer"
  25019. },
  25020. "exchangefullname": {
  25021. "description": "外部交易所全称",
  25022. "type": "string"
  25023. },
  25024. "exexchangecode": {
  25025. "description": "外部交易所代码",
  25026. "type": "string"
  25027. },
  25028. "exexchangename": {
  25029. "description": "外部交易所名称(简称)",
  25030. "type": "string"
  25031. },
  25032. "ismarketprice": {
  25033. "description": "是否支持市价 - 0:不支持 1:支持",
  25034. "type": "integer"
  25035. },
  25036. "quotegear": {
  25037. "description": "行情档位(1-10)",
  25038. "type": "integer"
  25039. },
  25040. "showbrokerflag": {
  25041. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  25042. "type": "integer"
  25043. },
  25044. "updatetime": {
  25045. "description": "更新时间",
  25046. "type": "string"
  25047. }
  25048. }
  25049. },
  25050. "models.Funcmenulist": {
  25051. "type": "object",
  25052. "required": [
  25053. "resourcecode"
  25054. ],
  25055. "properties": {
  25056. "iconame": {
  25057. "description": "菜单图标",
  25058. "type": "string"
  25059. },
  25060. "menutype": {
  25061. "description": "菜单类型 1-管理端 2-交易端 3-终端权限",
  25062. "type": "integer"
  25063. },
  25064. "parentcode": {
  25065. "description": "上级资源代码",
  25066. "type": "string"
  25067. },
  25068. "remark": {
  25069. "description": "备注",
  25070. "type": "string"
  25071. },
  25072. "resourcecode": {
  25073. "description": "资源代码",
  25074. "type": "string"
  25075. },
  25076. "resourcelevel": {
  25077. "description": "级别 1-一级 2-二级 3-三级 4-四级",
  25078. "type": "integer"
  25079. },
  25080. "resourcename": {
  25081. "description": "资源名",
  25082. "type": "string"
  25083. },
  25084. "sort": {
  25085. "description": "排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序",
  25086. "type": "integer"
  25087. },
  25088. "url": {
  25089. "description": "URL",
  25090. "type": "string"
  25091. }
  25092. }
  25093. },
  25094. "models.Goods": {
  25095. "type": "object",
  25096. "required": [
  25097. "goodscode",
  25098. "goodsid",
  25099. "goodsname",
  25100. "marketid"
  25101. ],
  25102. "properties": {
  25103. "agreeunit": {
  25104. "description": "合约单位",
  25105. "type": "number"
  25106. },
  25107. "areauserid": {
  25108. "description": "所属机构",
  25109. "type": "integer"
  25110. },
  25111. "auditaccountid": {
  25112. "description": "审核操作员账号",
  25113. "type": "integer"
  25114. },
  25115. "audittime": {
  25116. "description": "审核时间",
  25117. "type": "string"
  25118. },
  25119. "cancelaccountid": {
  25120. "description": "注销操作员账号",
  25121. "type": "integer"
  25122. },
  25123. "canceltime": {
  25124. "description": "注销时间",
  25125. "type": "string"
  25126. },
  25127. "closepricemode": {
  25128. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  25129. "type": "integer"
  25130. },
  25131. "closepriceparam": {
  25132. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  25133. "type": "number"
  25134. },
  25135. "createtime": {
  25136. "description": "创建时间",
  25137. "type": "string"
  25138. },
  25139. "creatorid": {
  25140. "description": "创建人",
  25141. "type": "integer"
  25142. },
  25143. "currencyid": {
  25144. "description": "报价货币ID",
  25145. "type": "integer"
  25146. },
  25147. "cutmode": {
  25148. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  25149. "type": "integer"
  25150. },
  25151. "decimalplace": {
  25152. "description": "报价小数位",
  25153. "type": "integer"
  25154. },
  25155. "delistingdate": {
  25156. "description": "商品退市时间(状态:退市) -- 已作废",
  25157. "type": "string"
  25158. },
  25159. "delistingmode": {
  25160. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  25161. "type": "integer"
  25162. },
  25163. "deliveryflag": {
  25164. "description": "交割标志 - 0:不可交割 1:可交割",
  25165. "type": "integer"
  25166. },
  25167. "forceclosemode": {
  25168. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  25169. "type": "integer"
  25170. },
  25171. "forceclosevalue": {
  25172. "description": "定期强平参数 [收益权]",
  25173. "type": "integer"
  25174. },
  25175. "goodscode": {
  25176. "description": "商品代码(内部)",
  25177. "type": "string"
  25178. },
  25179. "goodscurrencyid": {
  25180. "description": "合约货币ID",
  25181. "type": "integer"
  25182. },
  25183. "goodsgroupid": {
  25184. "description": "所属商品组ID",
  25185. "type": "integer"
  25186. },
  25187. "goodsid": {
  25188. "description": "商品ID(自增ID SEQ_GOODS)",
  25189. "type": "integer"
  25190. },
  25191. "goodsname": {
  25192. "description": "商品名称",
  25193. "type": "string"
  25194. },
  25195. "goodsquotetype": {
  25196. "description": "合约报价类型: 1-直接报价 2-间接报价",
  25197. "type": "integer"
  25198. },
  25199. "goodsstatus": {
  25200. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  25201. "type": "integer"
  25202. },
  25203. "goodstradetype": {
  25204. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  25205. "type": "integer"
  25206. },
  25207. "goodunitid": {
  25208. "description": "报价单位ID",
  25209. "type": "integer"
  25210. },
  25211. "hasquoter": {
  25212. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  25213. "type": "integer"
  25214. },
  25215. "hqprotecttime": {
  25216. "description": "行情保护时间(秒)",
  25217. "type": "integer"
  25218. },
  25219. "innerdealmode": {
  25220. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  25221. "type": "integer"
  25222. },
  25223. "isbuylimited": {
  25224. "description": "是否限制建仓量 - 0:不限制 1:限制",
  25225. "type": "integer"
  25226. },
  25227. "isvisible": {
  25228. "description": "游客是否可见 - 0:不可见 1:可见",
  25229. "type": "integer"
  25230. },
  25231. "lasttradedate": {
  25232. "description": "最后交易日期(状态:待退市)",
  25233. "type": "string"
  25234. },
  25235. "listingdate": {
  25236. "description": "交易开始日期",
  25237. "type": "string"
  25238. },
  25239. "marketid": {
  25240. "description": "所属市场ID",
  25241. "type": "integer"
  25242. },
  25243. "modifierid": {
  25244. "description": "修改人",
  25245. "type": "integer"
  25246. },
  25247. "modifystatus": {
  25248. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  25249. "type": "integer"
  25250. },
  25251. "modifytime": {
  25252. "description": "修改时间",
  25253. "type": "string"
  25254. },
  25255. "outerdealmode": {
  25256. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  25257. "type": "integer"
  25258. },
  25259. "outgoodscode": {
  25260. "description": "商品代码(外部)",
  25261. "type": "string"
  25262. },
  25263. "pictureurl": {
  25264. "description": "商品图片",
  25265. "type": "string"
  25266. },
  25267. "qtydecimalplace": {
  25268. "description": "成交量小数位",
  25269. "type": "integer"
  25270. },
  25271. "quotegear": {
  25272. "description": "行情档位(1-10)",
  25273. "type": "integer"
  25274. },
  25275. "quoteminunit": {
  25276. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  25277. "type": "integer"
  25278. },
  25279. "quoteshowtype": {
  25280. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  25281. "type": "integer"
  25282. },
  25283. "quoteshowtypeinterval": {
  25284. "description": "行情报价间隔时间(秒)(成交价时为0)",
  25285. "type": "integer"
  25286. },
  25287. "remark": {
  25288. "description": "备注",
  25289. "type": "string"
  25290. }
  25291. }
  25292. },
  25293. "models.GoodsIDAndName": {
  25294. "type": "object",
  25295. "required": [
  25296. "goodscode",
  25297. "goodsid",
  25298. "goodsname",
  25299. "marketid"
  25300. ],
  25301. "properties": {
  25302. "goodscode": {
  25303. "description": "商品代码(内部)",
  25304. "type": "string"
  25305. },
  25306. "goodsid": {
  25307. "description": "商品ID(自增ID SEQ_GOODS)",
  25308. "type": "integer"
  25309. },
  25310. "goodsname": {
  25311. "description": "商品名称",
  25312. "type": "string"
  25313. },
  25314. "marketid": {
  25315. "description": "所属市场ID",
  25316. "type": "integer"
  25317. }
  25318. }
  25319. },
  25320. "models.Goodsgroup": {
  25321. "type": "object",
  25322. "required": [
  25323. "goodsgroupid",
  25324. "goodsgroupname",
  25325. "goodsgroupstatus",
  25326. "marketid"
  25327. ],
  25328. "properties": {
  25329. "agreeunit": {
  25330. "description": "合约单位",
  25331. "type": "number"
  25332. },
  25333. "canshort": {
  25334. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  25335. "type": "integer"
  25336. },
  25337. "closepricemode": {
  25338. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  25339. "type": "integer"
  25340. },
  25341. "closepriceparam": {
  25342. "description": "强平最新价浮动比例 - 方式为2时使用",
  25343. "type": "number"
  25344. },
  25345. "createtime": {
  25346. "description": "创建时间",
  25347. "type": "string"
  25348. },
  25349. "creatorid": {
  25350. "description": "创建人",
  25351. "type": "integer"
  25352. },
  25353. "currencyid": {
  25354. "description": "报价货币ID",
  25355. "type": "integer"
  25356. },
  25357. "decimalplace": {
  25358. "description": "报价小数位",
  25359. "type": "integer"
  25360. },
  25361. "exercisetype": {
  25362. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  25363. "type": "integer"
  25364. },
  25365. "exexchangeid": {
  25366. "description": "外部交易所ID[通道交易]",
  25367. "type": "integer"
  25368. },
  25369. "goodsgroupid": {
  25370. "description": "商品组ID(自增ID)",
  25371. "type": "integer"
  25372. },
  25373. "goodsgroupname": {
  25374. "description": "商品组名称",
  25375. "type": "string"
  25376. },
  25377. "goodsgroupstatus": {
  25378. "description": "商品组状态 - 1:正常 2:注销",
  25379. "type": "integer"
  25380. },
  25381. "goodunitid": {
  25382. "description": "报价单位ID",
  25383. "type": "integer"
  25384. },
  25385. "innerdealmode": {
  25386. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  25387. "type": "integer"
  25388. },
  25389. "isbuylimited": {
  25390. "description": "是否限制建仓量 - 0:不限制 1:限制",
  25391. "type": "integer"
  25392. },
  25393. "marketid": {
  25394. "description": "所属市场ID",
  25395. "type": "integer"
  25396. },
  25397. "modifierid": {
  25398. "description": "修改人",
  25399. "type": "integer"
  25400. },
  25401. "modifytime": {
  25402. "description": "修改时间",
  25403. "type": "string"
  25404. },
  25405. "outerdealmode": {
  25406. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  25407. "type": "integer"
  25408. },
  25409. "outergroupcode": {
  25410. "description": "外部商品组代码[通道交易]",
  25411. "type": "string"
  25412. },
  25413. "premiumdecimalplace": {
  25414. "description": "权利金小数位[场外期权]",
  25415. "type": "integer"
  25416. },
  25417. "premiumspreadalgorithm": {
  25418. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  25419. "type": "integer"
  25420. },
  25421. "premiumspreadvalue": {
  25422. "description": "权利金点差值[场外期权]",
  25423. "type": "number"
  25424. },
  25425. "qtydecimalplace": {
  25426. "description": "成交量小数位",
  25427. "type": "integer"
  25428. },
  25429. "quotegear": {
  25430. "description": "行情档位(1-10)",
  25431. "type": "integer"
  25432. },
  25433. "quoteminunit": {
  25434. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  25435. "type": "integer"
  25436. },
  25437. "quoterid": {
  25438. "description": "报价商ID[场外期权]",
  25439. "type": "integer"
  25440. },
  25441. "quotesourcegroupid": {
  25442. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  25443. "type": "integer"
  25444. },
  25445. "syncgoodsqty": {
  25446. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  25447. "type": "integer"
  25448. }
  25449. }
  25450. },
  25451. "models.Goodssortbypreposition": {
  25452. "type": "object",
  25453. "required": [
  25454. "goodscode",
  25455. "tradedate"
  25456. ],
  25457. "properties": {
  25458. "goodscode": {
  25459. "description": "合约代码 - 易盛接口:合约代码=品种代码+合约代码",
  25460. "type": "string"
  25461. },
  25462. "goodsgroupcode": {
  25463. "description": "品种代码",
  25464. "type": "string"
  25465. },
  25466. "prepositionqty": {
  25467. "description": "昨持仓量",
  25468. "type": "integer"
  25469. },
  25470. "sortindex": {
  25471. "description": "排序",
  25472. "type": "integer"
  25473. },
  25474. "tradedate": {
  25475. "description": "交易日",
  25476. "type": "string"
  25477. },
  25478. "updatetime": {
  25479. "description": "更新时间",
  25480. "type": "string"
  25481. }
  25482. }
  25483. },
  25484. "models.Hedgeinnerholderdetail": {
  25485. "type": "object",
  25486. "required": [
  25487. "buyorsell",
  25488. "tradeid"
  25489. ],
  25490. "properties": {
  25491. "accountid": {
  25492. "description": "账号ID",
  25493. "type": "integer"
  25494. },
  25495. "buyorsell": {
  25496. "description": "方向 - 0:买 1:卖",
  25497. "type": "integer"
  25498. },
  25499. "freezeqty": {
  25500. "description": "冻结数量 - 按单平使用",
  25501. "type": "integer"
  25502. },
  25503. "goodsid": {
  25504. "description": "商品ID",
  25505. "type": "integer"
  25506. },
  25507. "holderamount": {
  25508. "description": "持仓金额 [商品币种]",
  25509. "type": "number"
  25510. },
  25511. "holderdays": {
  25512. "description": "剩余冻结天数",
  25513. "type": "integer"
  25514. },
  25515. "holderprice": {
  25516. "description": "持仓价格",
  25517. "type": "number"
  25518. },
  25519. "holderqty": {
  25520. "description": "持仓数量",
  25521. "type": "integer"
  25522. },
  25523. "marketid": {
  25524. "description": "市场ID",
  25525. "type": "integer"
  25526. },
  25527. "openprice": {
  25528. "description": "建仓价格",
  25529. "type": "number"
  25530. },
  25531. "openqty": {
  25532. "description": "建仓数量",
  25533. "type": "integer"
  25534. },
  25535. "parentaccountid": {
  25536. "description": "所属母账户",
  25537. "type": "integer"
  25538. },
  25539. "releaseamount": {
  25540. "description": "释放持仓金额[商品币种]",
  25541. "type": "number"
  25542. },
  25543. "tradeamount": {
  25544. "description": "成交金额[账户]",
  25545. "type": "number"
  25546. },
  25547. "tradedate": {
  25548. "description": "交易日(yyyyMMdd)",
  25549. "type": "string"
  25550. },
  25551. "tradeid": {
  25552. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25553. "type": "string"
  25554. },
  25555. "tradetime": {
  25556. "description": "交易时间",
  25557. "type": "string"
  25558. }
  25559. }
  25560. },
  25561. "models.Hedgemarketopenlog": {
  25562. "type": "object",
  25563. "required": [
  25564. "accountid"
  25565. ],
  25566. "properties": {
  25567. "accountid": {
  25568. "description": "资金账号[外部母账户]",
  25569. "type": "integer"
  25570. },
  25571. "fcname": {
  25572. "description": "期货公司名称",
  25573. "type": "string"
  25574. },
  25575. "handlestatus": {
  25576. "description": "处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp",
  25577. "type": "integer"
  25578. },
  25579. "marketid": {
  25580. "description": "市场ID",
  25581. "type": "integer"
  25582. },
  25583. "status": {
  25584. "description": "状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败",
  25585. "type": "integer"
  25586. },
  25587. "tradedate": {
  25588. "description": "交易日(yyyyMMdd)",
  25589. "type": "string"
  25590. },
  25591. "updatetime": {
  25592. "description": "更新时间",
  25593. "type": "string"
  25594. }
  25595. }
  25596. },
  25597. "models.HsbyBuyMyPayOrder": {
  25598. "type": "object",
  25599. "required": [
  25600. "goodscode",
  25601. "goodsname",
  25602. "tradeid",
  25603. "trademode"
  25604. ],
  25605. "properties": {
  25606. "agreeunit": {
  25607. "description": "合约单位",
  25608. "type": "number"
  25609. },
  25610. "buyaccountid": {
  25611. "description": "买方账号ID[报价币种]",
  25612. "type": "integer"
  25613. },
  25614. "buyorderid": {
  25615. "description": "买方委托单号",
  25616. "type": "string"
  25617. },
  25618. "createtime": {
  25619. "description": "创建时间",
  25620. "type": "string"
  25621. },
  25622. "currencysign": {
  25623. "description": "货币符号",
  25624. "type": "string"
  25625. },
  25626. "decimalplace": {
  25627. "description": "报价小数位",
  25628. "type": "integer"
  25629. },
  25630. "goodscode": {
  25631. "description": "商品代码(内部)",
  25632. "type": "string"
  25633. },
  25634. "goodsid": {
  25635. "description": "商品ID",
  25636. "type": "integer"
  25637. },
  25638. "goodsname": {
  25639. "description": "商品名称",
  25640. "type": "string"
  25641. },
  25642. "marketid": {
  25643. "description": "市场ID",
  25644. "type": "integer"
  25645. },
  25646. "offamount": {
  25647. "description": "优惠金额",
  25648. "type": "number"
  25649. },
  25650. "originalamount": {
  25651. "description": "原金额 = TradeAmount + TradeCharge + OffAmount",
  25652. "type": "number"
  25653. },
  25654. "payamount": {
  25655. "description": "支付金额 = TradeAmount + TradeCharge",
  25656. "type": "number"
  25657. },
  25658. "payflag": {
  25659. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  25660. "type": "integer"
  25661. },
  25662. "paylimitedtime": {
  25663. "description": "支付期限",
  25664. "type": "string"
  25665. },
  25666. "paytime": {
  25667. "description": "付款时间",
  25668. "type": "string"
  25669. },
  25670. "picurls1": {
  25671. "description": "预售商品介绍图片[多张用逗号分隔]",
  25672. "type": "string"
  25673. },
  25674. "picurls2": {
  25675. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  25676. "type": "string"
  25677. },
  25678. "sellaccountid": {
  25679. "description": "卖方账号ID[报价币种]",
  25680. "type": "integer"
  25681. },
  25682. "sellorderid": {
  25683. "description": "卖方委托单号",
  25684. "type": "string"
  25685. },
  25686. "tradeamount": {
  25687. "description": "成交金额",
  25688. "type": "number"
  25689. },
  25690. "tradecharge": {
  25691. "description": "成交手续费(买方)",
  25692. "type": "number"
  25693. },
  25694. "tradedate": {
  25695. "description": "交易日(yyyyMMdd)",
  25696. "type": "string"
  25697. },
  25698. "tradeid": {
  25699. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25700. "type": "string"
  25701. },
  25702. "trademode": {
  25703. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  25704. "type": "integer"
  25705. },
  25706. "tradeprice": {
  25707. "description": "成交价格",
  25708. "type": "number"
  25709. },
  25710. "tradeqty": {
  25711. "description": "成交数量",
  25712. "type": "integer"
  25713. },
  25714. "vendorname1": {
  25715. "description": "预售商品供应商名称",
  25716. "type": "string"
  25717. },
  25718. "vendorname2": {
  25719. "description": "挂牌商品供应商名称",
  25720. "type": "string"
  25721. }
  25722. }
  25723. },
  25724. "models.HsbyBuyMyTradeDetail": {
  25725. "type": "object",
  25726. "required": [
  25727. "accountid",
  25728. "buyorsell",
  25729. "goodscode",
  25730. "goodsid",
  25731. "goodsname",
  25732. "marketid",
  25733. "orderid",
  25734. "qty",
  25735. "time",
  25736. "trademode"
  25737. ],
  25738. "properties": {
  25739. "accountid": {
  25740. "description": "账户ID[报价币种]",
  25741. "type": "integer"
  25742. },
  25743. "agreeunit": {
  25744. "description": "合约单位",
  25745. "type": "number"
  25746. },
  25747. "amount": {
  25748. "description": "金额 = 价格 * 数量 * 合约单位",
  25749. "type": "number"
  25750. },
  25751. "buyorsell": {
  25752. "description": "买卖 - 0:买 1:卖",
  25753. "type": "integer"
  25754. },
  25755. "currencysign": {
  25756. "description": "货币符号",
  25757. "type": "string"
  25758. },
  25759. "decimalplace": {
  25760. "description": "报价小数位",
  25761. "type": "integer"
  25762. },
  25763. "goodscode": {
  25764. "description": "商品代码(内部)",
  25765. "type": "string"
  25766. },
  25767. "goodsid": {
  25768. "description": "商品ID",
  25769. "type": "integer"
  25770. },
  25771. "goodsname": {
  25772. "description": "商品名称",
  25773. "type": "string"
  25774. },
  25775. "marketid": {
  25776. "description": "市场ID",
  25777. "type": "integer"
  25778. },
  25779. "orderamount": {
  25780. "description": "委托金额",
  25781. "type": "number"
  25782. },
  25783. "orderid": {
  25784. "description": "单号(成交单号)",
  25785. "type": "string"
  25786. },
  25787. "picurls1": {
  25788. "description": "预售商品介绍图片[多张用逗号分隔]",
  25789. "type": "string"
  25790. },
  25791. "picurls2": {
  25792. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  25793. "type": "string"
  25794. },
  25795. "price": {
  25796. "description": "价格",
  25797. "type": "number"
  25798. },
  25799. "qty": {
  25800. "description": "数量",
  25801. "type": "integer"
  25802. },
  25803. "time": {
  25804. "description": "时间",
  25805. "type": "string"
  25806. },
  25807. "trademode": {
  25808. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  25809. "type": "integer"
  25810. },
  25811. "vendorname1": {
  25812. "description": "预售商品供应商名称",
  25813. "type": "string"
  25814. },
  25815. "vendorname2": {
  25816. "description": "挂牌商品供应商名称",
  25817. "type": "string"
  25818. }
  25819. }
  25820. },
  25821. "models.HsbyGoodsOrderDetail": {
  25822. "type": "object",
  25823. "required": [
  25824. "buyorsell",
  25825. "orderid",
  25826. "ordertime"
  25827. ],
  25828. "properties": {
  25829. "buyorsell": {
  25830. "description": "买卖 - 0:买 1:卖",
  25831. "type": "integer"
  25832. },
  25833. "currencysign": {
  25834. "description": "货币符号",
  25835. "type": "string"
  25836. },
  25837. "customername": {
  25838. "description": "客户名称(企业名称),已脱敏",
  25839. "type": "string"
  25840. },
  25841. "enableqty": {
  25842. "description": "可用数量",
  25843. "type": "integer"
  25844. },
  25845. "goodunit": {
  25846. "description": "报价单位",
  25847. "type": "string"
  25848. },
  25849. "orderid": {
  25850. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25851. "type": "string"
  25852. },
  25853. "orderprice": {
  25854. "description": "委托价格",
  25855. "type": "number"
  25856. },
  25857. "ordertime": {
  25858. "description": "委托时间",
  25859. "type": "string"
  25860. }
  25861. }
  25862. },
  25863. "models.HsbyListingGoodsDetail": {
  25864. "type": "object",
  25865. "required": [
  25866. "goodscode",
  25867. "goodsid",
  25868. "goodsname",
  25869. "marketid",
  25870. "trademode"
  25871. ],
  25872. "properties": {
  25873. "agreeunit": {
  25874. "description": "合约单位",
  25875. "type": "number"
  25876. },
  25877. "buymaxqty": {
  25878. "description": "购买上限 [71] - 0为不限",
  25879. "type": "integer"
  25880. },
  25881. "currency": {
  25882. "description": "货币",
  25883. "type": "string"
  25884. },
  25885. "currencysign": {
  25886. "description": "货币符号",
  25887. "type": "string"
  25888. },
  25889. "decimalplace": {
  25890. "description": "报价小数位",
  25891. "type": "integer"
  25892. },
  25893. "desccityid": {
  25894. "description": "目的地(市)ID",
  25895. "type": "integer"
  25896. },
  25897. "descprovinceid": {
  25898. "description": "目的地(省)ID",
  25899. "type": "integer"
  25900. },
  25901. "goodscode": {
  25902. "description": "商品代码(内部)",
  25903. "type": "string"
  25904. },
  25905. "goodsdesc": {
  25906. "description": "商品详情",
  25907. "type": "string"
  25908. },
  25909. "goodsid": {
  25910. "description": "商品ID(自增ID SEQ_GOODS)",
  25911. "type": "integer"
  25912. },
  25913. "goodsname": {
  25914. "description": "商品名称",
  25915. "type": "string"
  25916. },
  25917. "goodsprice": {
  25918. "description": "商品价格",
  25919. "type": "number"
  25920. },
  25921. "hotindex": {
  25922. "description": "景点热度",
  25923. "type": "integer"
  25924. },
  25925. "last": {
  25926. "description": "现价",
  25927. "type": "number"
  25928. },
  25929. "limitdown": {
  25930. "description": "跌停价",
  25931. "type": "number"
  25932. },
  25933. "limitup": {
  25934. "description": "涨停价",
  25935. "type": "number"
  25936. },
  25937. "lotsize": {
  25938. "description": "手数最小变动单位",
  25939. "type": "integer"
  25940. },
  25941. "marketid": {
  25942. "description": "所属市场ID",
  25943. "type": "integer"
  25944. },
  25945. "picurls": {
  25946. "description": "介绍图片[多张用逗号分隔]",
  25947. "type": "string"
  25948. },
  25949. "quoteminunit": {
  25950. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  25951. "type": "integer"
  25952. },
  25953. "stepvalue": {
  25954. "description": "价格最小变动单位",
  25955. "type": "number"
  25956. },
  25957. "trademode": {
  25958. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  25959. "type": "integer"
  25960. },
  25961. "vendorattr": {
  25962. "description": "供应商附件(多张,逗号分隔)",
  25963. "type": "string"
  25964. },
  25965. "vendorname": {
  25966. "description": "供应商名称",
  25967. "type": "string"
  25968. },
  25969. "vendorphone": {
  25970. "description": "供应商客服电话",
  25971. "type": "string"
  25972. },
  25973. "videourls": {
  25974. "description": "介绍视频[多张用逗号分隔]",
  25975. "type": "string"
  25976. }
  25977. }
  25978. },
  25979. "models.HsbyMarketGoods": {
  25980. "type": "object",
  25981. "required": [
  25982. "accountid",
  25983. "buyorsell",
  25984. "goodscode",
  25985. "goodsid",
  25986. "goodsname",
  25987. "marketid",
  25988. "orderid",
  25989. "trademode"
  25990. ],
  25991. "properties": {
  25992. "accountid": {
  25993. "description": "账户ID[报价币种]",
  25994. "type": "integer"
  25995. },
  25996. "agreeunit": {
  25997. "description": "合约单位",
  25998. "type": "number"
  25999. },
  26000. "buyorsell": {
  26001. "description": "买卖 - 0:买 1:卖",
  26002. "type": "integer"
  26003. },
  26004. "categoryid": {
  26005. "description": "类别ID(WRCATEGORY)",
  26006. "type": "integer"
  26007. },
  26008. "currency": {
  26009. "description": "货币",
  26010. "type": "string"
  26011. },
  26012. "currencysign": {
  26013. "description": "货币符号",
  26014. "type": "string"
  26015. },
  26016. "customername": {
  26017. "description": "卖家名称",
  26018. "type": "string"
  26019. },
  26020. "decimalplace": {
  26021. "description": "报价小数位",
  26022. "type": "integer"
  26023. },
  26024. "goodscode": {
  26025. "description": "商品代码(内部)",
  26026. "type": "string"
  26027. },
  26028. "goodsid": {
  26029. "description": "商品ID",
  26030. "type": "integer"
  26031. },
  26032. "goodsname": {
  26033. "description": "商品名称",
  26034. "type": "string"
  26035. },
  26036. "goodsprice": {
  26037. "description": "商品价格",
  26038. "type": "number"
  26039. },
  26040. "hascoupon": {
  26041. "description": "是否可用优惠卷",
  26042. "type": "boolean"
  26043. },
  26044. "hotindex": {
  26045. "description": "景点热度",
  26046. "type": "integer"
  26047. },
  26048. "marketid": {
  26049. "description": "市场ID",
  26050. "type": "integer"
  26051. },
  26052. "orderid": {
  26053. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26054. "type": "string"
  26055. },
  26056. "orderprice": {
  26057. "description": "委托价格",
  26058. "type": "number"
  26059. },
  26060. "orderstatus": {
  26061. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  26062. "type": "integer"
  26063. },
  26064. "picurls": {
  26065. "description": "介绍图片[多张用逗号分隔]",
  26066. "type": "string"
  26067. },
  26068. "quoteminunit": {
  26069. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  26070. "type": "integer"
  26071. },
  26072. "sellUserID": {
  26073. "description": "卖方UserID",
  26074. "type": "integer"
  26075. },
  26076. "trademode": {
  26077. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26078. "type": "integer"
  26079. },
  26080. "videourls": {
  26081. "description": "介绍视频[多张用逗号分隔]",
  26082. "type": "string"
  26083. }
  26084. }
  26085. },
  26086. "models.HsbyMarketGoodsDetail": {
  26087. "type": "object",
  26088. "required": [
  26089. "accountid",
  26090. "buyorsell",
  26091. "goodscode",
  26092. "goodsid",
  26093. "goodsname",
  26094. "marketid",
  26095. "orderid",
  26096. "orderqty",
  26097. "trademode"
  26098. ],
  26099. "properties": {
  26100. "accountid": {
  26101. "description": "账户ID[报价币种]",
  26102. "type": "integer"
  26103. },
  26104. "agreeunit": {
  26105. "description": "合约单位",
  26106. "type": "number"
  26107. },
  26108. "buymaxqty": {
  26109. "description": "购买上限 [71] - 0为不限",
  26110. "type": "integer"
  26111. },
  26112. "buyorsell": {
  26113. "description": "买卖 - 0:买 1:卖",
  26114. "type": "integer"
  26115. },
  26116. "cancelqty": {
  26117. "description": "撤单数量",
  26118. "type": "integer"
  26119. },
  26120. "categoryid": {
  26121. "description": "类别ID(WRCATEGORY)",
  26122. "type": "integer"
  26123. },
  26124. "currency": {
  26125. "description": "货币",
  26126. "type": "string"
  26127. },
  26128. "currencysign": {
  26129. "description": "货币符号",
  26130. "type": "string"
  26131. },
  26132. "customername": {
  26133. "description": "卖家名称",
  26134. "type": "string"
  26135. },
  26136. "decimalplace": {
  26137. "description": "报价小数位",
  26138. "type": "integer"
  26139. },
  26140. "goodscode": {
  26141. "description": "商品代码(内部)",
  26142. "type": "string"
  26143. },
  26144. "goodsdesc": {
  26145. "description": "商品详情",
  26146. "type": "string"
  26147. },
  26148. "goodsid": {
  26149. "description": "商品ID",
  26150. "type": "integer"
  26151. },
  26152. "goodsname": {
  26153. "description": "商品名称",
  26154. "type": "string"
  26155. },
  26156. "goodsprice": {
  26157. "description": "商品价格",
  26158. "type": "number"
  26159. },
  26160. "hotindex": {
  26161. "description": "景点热度",
  26162. "type": "integer"
  26163. },
  26164. "lotsize": {
  26165. "description": "手数最小变动单位",
  26166. "type": "integer"
  26167. },
  26168. "marketid": {
  26169. "description": "市场ID",
  26170. "type": "integer"
  26171. },
  26172. "orderid": {
  26173. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26174. "type": "string"
  26175. },
  26176. "orderprice": {
  26177. "description": "委托价格",
  26178. "type": "number"
  26179. },
  26180. "orderqty": {
  26181. "description": "委托数量",
  26182. "type": "integer"
  26183. },
  26184. "orderstatus": {
  26185. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  26186. "type": "integer"
  26187. },
  26188. "picurls": {
  26189. "description": "介绍图片[多张用逗号分隔]",
  26190. "type": "string"
  26191. },
  26192. "quoteminunit": {
  26193. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  26194. "type": "integer"
  26195. },
  26196. "sellUserID": {
  26197. "description": "卖方UserID",
  26198. "type": "integer"
  26199. },
  26200. "trademode": {
  26201. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26202. "type": "integer"
  26203. },
  26204. "tradeqty": {
  26205. "description": "成交数量",
  26206. "type": "integer"
  26207. },
  26208. "vendorattr": {
  26209. "description": "供应商附件(多张,逗号分隔)",
  26210. "type": "string"
  26211. },
  26212. "vendorname": {
  26213. "description": "供应商名称",
  26214. "type": "string"
  26215. },
  26216. "vendorphone": {
  26217. "description": "供应商客服电话",
  26218. "type": "string"
  26219. },
  26220. "videourls": {
  26221. "description": "介绍视频[多张用逗号分隔]",
  26222. "type": "string"
  26223. }
  26224. }
  26225. },
  26226. "models.HsbyMarketInfo": {
  26227. "type": "object",
  26228. "required": [
  26229. "marketid",
  26230. "marketstatus",
  26231. "trademode"
  26232. ],
  26233. "properties": {
  26234. "marketid": {
  26235. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  26236. "type": "integer"
  26237. },
  26238. "marketname": {
  26239. "description": "市场名称",
  26240. "type": "string"
  26241. },
  26242. "marketstatus": {
  26243. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  26244. "type": "integer"
  26245. },
  26246. "trademode": {
  26247. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26248. "type": "integer"
  26249. }
  26250. }
  26251. },
  26252. "models.HsbyMyGoods": {
  26253. "type": "object",
  26254. "required": [
  26255. "accountid",
  26256. "goodscode",
  26257. "goodsid",
  26258. "goodsname",
  26259. "marketid",
  26260. "trademode"
  26261. ],
  26262. "properties": {
  26263. "accountid": {
  26264. "description": "账号Id",
  26265. "type": "integer"
  26266. },
  26267. "agreeunit": {
  26268. "description": "合约单位",
  26269. "type": "number"
  26270. },
  26271. "buyaverageprice": {
  26272. "description": "持仓均价",
  26273. "type": "number"
  26274. },
  26275. "buycurholderamount": {
  26276. "description": "买当前持仓总金额[商品币种]",
  26277. "type": "number"
  26278. },
  26279. "buycurpositionqty": {
  26280. "description": "买当前持仓总数量",
  26281. "type": "integer"
  26282. },
  26283. "buymaxqty": {
  26284. "description": "购买上限 [71] - 0为不限",
  26285. "type": "integer"
  26286. },
  26287. "currencysign": {
  26288. "description": "货币符号",
  26289. "type": "string"
  26290. },
  26291. "decimalplace": {
  26292. "description": "报价小数位",
  26293. "type": "integer"
  26294. },
  26295. "enableqty": {
  26296. "description": "可用数量",
  26297. "type": "integer"
  26298. },
  26299. "goodscode": {
  26300. "description": "商品代码(内部)",
  26301. "type": "string"
  26302. },
  26303. "goodsid": {
  26304. "description": "商品Id",
  26305. "type": "integer"
  26306. },
  26307. "goodsname": {
  26308. "description": "商品名称",
  26309. "type": "string"
  26310. },
  26311. "goodsprice": {
  26312. "description": "商品价格",
  26313. "type": "number"
  26314. },
  26315. "goodsstatus": {
  26316. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  26317. "type": "integer"
  26318. },
  26319. "last": {
  26320. "description": "现价(仅使用于挂牌点选)",
  26321. "type": "number"
  26322. },
  26323. "limitdown": {
  26324. "description": "跌停价(仅使用于挂牌点选)",
  26325. "type": "number"
  26326. },
  26327. "limitup": {
  26328. "description": "涨停价(仅使用于挂牌点选)",
  26329. "type": "number"
  26330. },
  26331. "lotsize": {
  26332. "description": "手数最小变动单位",
  26333. "type": "integer"
  26334. },
  26335. "marketid": {
  26336. "description": "所属市场ID",
  26337. "type": "integer"
  26338. },
  26339. "picurls": {
  26340. "description": "介绍图片[多张用逗号分隔]",
  26341. "type": "string"
  26342. },
  26343. "quoteminunit": {
  26344. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  26345. "type": "integer"
  26346. },
  26347. "stepvalue": {
  26348. "description": "价格最小变动单位",
  26349. "type": "number"
  26350. },
  26351. "trademode": {
  26352. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26353. "type": "integer"
  26354. }
  26355. }
  26356. },
  26357. "models.HsbyMyPackage": {
  26358. "type": "object",
  26359. "required": [
  26360. "goodscode",
  26361. "goodsname",
  26362. "takeorderid",
  26363. "trademode"
  26364. ],
  26365. "properties": {
  26366. "accountid": {
  26367. "description": "账户ID",
  26368. "type": "integer"
  26369. },
  26370. "address": {
  26371. "description": "提货人详细地址",
  26372. "type": "string"
  26373. },
  26374. "agreeunit": {
  26375. "description": "合约单位",
  26376. "type": "number"
  26377. },
  26378. "amount": {
  26379. "description": "提货金额",
  26380. "type": "number"
  26381. },
  26382. "auditer": {
  26383. "description": "审核人",
  26384. "type": "integer"
  26385. },
  26386. "audittime": {
  26387. "description": "审核时间",
  26388. "type": "string"
  26389. },
  26390. "averageprice": {
  26391. "description": "均价",
  26392. "type": "number"
  26393. },
  26394. "cardnum": {
  26395. "description": "提货人证件号码",
  26396. "type": "string"
  26397. },
  26398. "cardtypeid": {
  26399. "description": "提货人证件类型",
  26400. "type": "integer"
  26401. },
  26402. "checkremark": {
  26403. "description": "审核备注",
  26404. "type": "string"
  26405. },
  26406. "currencysign": {
  26407. "description": "货币符号",
  26408. "type": "string"
  26409. },
  26410. "decimalplace": {
  26411. "description": "报价小数位",
  26412. "type": "integer"
  26413. },
  26414. "goodscode": {
  26415. "description": "商品代码(内部)",
  26416. "type": "string"
  26417. },
  26418. "goodsid": {
  26419. "description": "商品ID",
  26420. "type": "integer"
  26421. },
  26422. "goodsname": {
  26423. "description": "商品名称",
  26424. "type": "string"
  26425. },
  26426. "handlestatus": {
  26427. "description": "处理状态",
  26428. "type": "integer"
  26429. },
  26430. "marketid": {
  26431. "description": "市场ID",
  26432. "type": "integer"
  26433. },
  26434. "phonenum": {
  26435. "description": "提货人联系方式",
  26436. "type": "string"
  26437. },
  26438. "picurls": {
  26439. "description": "介绍图片[多张用逗号分隔]",
  26440. "type": "string"
  26441. },
  26442. "qty": {
  26443. "description": "提货数量",
  26444. "type": "number"
  26445. },
  26446. "recivername": {
  26447. "description": "提货人姓名",
  26448. "type": "string"
  26449. },
  26450. "reqtime": {
  26451. "description": "更新时间",
  26452. "type": "string"
  26453. },
  26454. "takemode": {
  26455. "description": "提货方式 - 2:自提 3:配送",
  26456. "type": "integer"
  26457. },
  26458. "takeorderid": {
  26459. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  26460. "type": "string"
  26461. },
  26462. "takeorderstatus": {
  26463. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  26464. "type": "integer"
  26465. },
  26466. "takeremark": {
  26467. "description": "提货备注",
  26468. "type": "string"
  26469. },
  26470. "tradedate": {
  26471. "description": "交易日(yyyyMMdd)",
  26472. "type": "string"
  26473. },
  26474. "trademode": {
  26475. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26476. "type": "integer"
  26477. },
  26478. "userid": {
  26479. "description": "用户ID",
  26480. "type": "integer"
  26481. },
  26482. "vendorname": {
  26483. "description": "供应商名称",
  26484. "type": "string"
  26485. }
  26486. }
  26487. },
  26488. "models.HsbyPreGoods": {
  26489. "type": "object",
  26490. "required": [
  26491. "goodscode",
  26492. "goodsid",
  26493. "goodsname",
  26494. "marketid",
  26495. "trademode"
  26496. ],
  26497. "properties": {
  26498. "agreeunit": {
  26499. "description": "合约单位",
  26500. "type": "number"
  26501. },
  26502. "currency": {
  26503. "description": "货币",
  26504. "type": "string"
  26505. },
  26506. "currencysign": {
  26507. "description": "货币符号",
  26508. "type": "string"
  26509. },
  26510. "decimalplace": {
  26511. "description": "报价小数位",
  26512. "type": "integer"
  26513. },
  26514. "desccityid": {
  26515. "description": "目的地(市)",
  26516. "type": "integer"
  26517. },
  26518. "descprovinceid": {
  26519. "description": "目的地(省)",
  26520. "type": "integer"
  26521. },
  26522. "enableqty": {
  26523. "description": "剩余数量",
  26524. "type": "integer"
  26525. },
  26526. "goodscode": {
  26527. "description": "商品代码(内部)",
  26528. "type": "string"
  26529. },
  26530. "goodsid": {
  26531. "description": "商品ID(自增ID SEQ_GOODS)",
  26532. "type": "integer"
  26533. },
  26534. "goodsname": {
  26535. "description": "商品名称",
  26536. "type": "string"
  26537. },
  26538. "goodsstatus": {
  26539. "description": "商品状态- 2:未上市 3:上市",
  26540. "type": "integer"
  26541. },
  26542. "lasttradedate": {
  26543. "description": "最后交易日期(状态:待退市)",
  26544. "type": "string"
  26545. },
  26546. "listingdate": {
  26547. "description": "交易开始日期",
  26548. "type": "string"
  26549. },
  26550. "marketid": {
  26551. "description": "所属市场ID",
  26552. "type": "integer"
  26553. },
  26554. "picurls": {
  26555. "description": "介绍图片[多张用逗号分隔]",
  26556. "type": "string"
  26557. },
  26558. "presaledqty": {
  26559. "description": "已预售量(预售结束时更新)",
  26560. "type": "integer"
  26561. },
  26562. "presaleqty": {
  26563. "description": "预售数量",
  26564. "type": "integer"
  26565. },
  26566. "quoteminunit": {
  26567. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  26568. "type": "integer"
  26569. },
  26570. "refprice": {
  26571. "description": "参考价格[一口价]",
  26572. "type": "number"
  26573. },
  26574. "relatedgoodsid": {
  26575. "description": "关联交易合约ID",
  26576. "type": "integer"
  26577. },
  26578. "trademode": {
  26579. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26580. "type": "integer"
  26581. },
  26582. "videourls": {
  26583. "description": "介绍视频[多张用逗号分隔]",
  26584. "type": "string"
  26585. }
  26586. }
  26587. },
  26588. "models.HsbyPreGoodsDetail": {
  26589. "type": "object",
  26590. "required": [
  26591. "goodscode",
  26592. "goodsid",
  26593. "goodsname",
  26594. "marketid",
  26595. "trademode"
  26596. ],
  26597. "properties": {
  26598. "agreeunit": {
  26599. "description": "合约单位",
  26600. "type": "number"
  26601. },
  26602. "buymaxqty": {
  26603. "description": "购买上限 [71] - 0为不限",
  26604. "type": "integer"
  26605. },
  26606. "currency": {
  26607. "description": "货币",
  26608. "type": "string"
  26609. },
  26610. "currencysign": {
  26611. "description": "货币符号",
  26612. "type": "string"
  26613. },
  26614. "customername": {
  26615. "description": "发行单位",
  26616. "type": "string"
  26617. },
  26618. "decimalplace": {
  26619. "description": "报价小数位",
  26620. "type": "integer"
  26621. },
  26622. "desccityid": {
  26623. "description": "目的地(市)ID",
  26624. "type": "integer"
  26625. },
  26626. "descprovinceid": {
  26627. "description": "目的地(省)ID",
  26628. "type": "integer"
  26629. },
  26630. "enableqty": {
  26631. "description": "剩余数量",
  26632. "type": "integer"
  26633. },
  26634. "goodscode": {
  26635. "description": "商品代码(内部)",
  26636. "type": "string"
  26637. },
  26638. "goodsdesc": {
  26639. "description": "商品详情",
  26640. "type": "string"
  26641. },
  26642. "goodsid": {
  26643. "description": "商品ID(自增ID SEQ_GOODS)",
  26644. "type": "integer"
  26645. },
  26646. "goodsname": {
  26647. "description": "商品名称",
  26648. "type": "string"
  26649. },
  26650. "goodsstatus": {
  26651. "description": "商品状态- 2:未上市 3:上市",
  26652. "type": "integer"
  26653. },
  26654. "goodunit": {
  26655. "description": "报价单位",
  26656. "type": "string"
  26657. },
  26658. "lasttradedate": {
  26659. "description": "最后交易日期(状态:待退市)",
  26660. "type": "string"
  26661. },
  26662. "listingdate": {
  26663. "description": "交易开始日期",
  26664. "type": "string"
  26665. },
  26666. "lotsize": {
  26667. "description": "手数最小变动单位",
  26668. "type": "integer"
  26669. },
  26670. "marketid": {
  26671. "description": "所属市场ID",
  26672. "type": "integer"
  26673. },
  26674. "picurls": {
  26675. "description": "介绍图片[多张用逗号分隔]",
  26676. "type": "string"
  26677. },
  26678. "presaledqty": {
  26679. "description": "已预售量(预售结束时更新)",
  26680. "type": "integer"
  26681. },
  26682. "presaleqty": {
  26683. "description": "预售数量",
  26684. "type": "integer"
  26685. },
  26686. "quoteminunit": {
  26687. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  26688. "type": "integer"
  26689. },
  26690. "refprice": {
  26691. "description": "参考价格[一口价]",
  26692. "type": "number"
  26693. },
  26694. "relatedgoodsid": {
  26695. "description": "关联交易合约ID",
  26696. "type": "integer"
  26697. },
  26698. "stepvalue": {
  26699. "description": "价格最小变动单位",
  26700. "type": "number"
  26701. },
  26702. "trademode": {
  26703. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26704. "type": "integer"
  26705. },
  26706. "vendorattr": {
  26707. "description": "供应商附件(多张,逗号分隔)",
  26708. "type": "string"
  26709. },
  26710. "vendorname": {
  26711. "description": "供应商名称",
  26712. "type": "string"
  26713. },
  26714. "vendorphone": {
  26715. "description": "供应商客服电话",
  26716. "type": "string"
  26717. },
  26718. "videourls": {
  26719. "description": "介绍视频[多张用逗号分隔]",
  26720. "type": "string"
  26721. }
  26722. }
  26723. },
  26724. "models.HsbySellCollectionOrder": {
  26725. "type": "object",
  26726. "required": [
  26727. "goodscode",
  26728. "goodsname",
  26729. "tradeid",
  26730. "trademode"
  26731. ],
  26732. "properties": {
  26733. "agreeunit": {
  26734. "description": "合约单位",
  26735. "type": "number"
  26736. },
  26737. "buyaccountid": {
  26738. "description": "买方账号ID[报价币种]",
  26739. "type": "integer"
  26740. },
  26741. "buyorderid": {
  26742. "description": "买方委托单号",
  26743. "type": "string"
  26744. },
  26745. "createtime": {
  26746. "description": "创建时间",
  26747. "type": "string"
  26748. },
  26749. "currencysign": {
  26750. "description": "货币符号",
  26751. "type": "string"
  26752. },
  26753. "decimalplace": {
  26754. "description": "报价小数位",
  26755. "type": "integer"
  26756. },
  26757. "goodscode": {
  26758. "description": "商品代码(内部)",
  26759. "type": "string"
  26760. },
  26761. "goodsid": {
  26762. "description": "商品ID",
  26763. "type": "integer"
  26764. },
  26765. "goodsname": {
  26766. "description": "商品名称",
  26767. "type": "string"
  26768. },
  26769. "marketid": {
  26770. "description": "市场ID",
  26771. "type": "integer"
  26772. },
  26773. "offamount": {
  26774. "description": "优惠金额",
  26775. "type": "number"
  26776. },
  26777. "payamount": {
  26778. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  26779. "type": "number"
  26780. },
  26781. "payflag": {
  26782. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  26783. "type": "integer"
  26784. },
  26785. "paylimitedtime": {
  26786. "description": "支付期限",
  26787. "type": "string"
  26788. },
  26789. "paytime": {
  26790. "description": "付款时间",
  26791. "type": "string"
  26792. },
  26793. "picurls": {
  26794. "description": "商品介绍图片[多张用逗号分隔]",
  26795. "type": "string"
  26796. },
  26797. "sellaccountid": {
  26798. "description": "卖方账号ID[报价币种]",
  26799. "type": "integer"
  26800. },
  26801. "sellorderid": {
  26802. "description": "卖方委托单号",
  26803. "type": "string"
  26804. },
  26805. "tradeamount": {
  26806. "description": "成交金额",
  26807. "type": "number"
  26808. },
  26809. "tradecharge": {
  26810. "description": "成交手续费(买方)",
  26811. "type": "number"
  26812. },
  26813. "tradedate": {
  26814. "description": "交易日(yyyyMMdd)",
  26815. "type": "string"
  26816. },
  26817. "tradeid": {
  26818. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26819. "type": "string"
  26820. },
  26821. "trademode": {
  26822. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26823. "type": "integer"
  26824. },
  26825. "tradeprice": {
  26826. "description": "成交价格",
  26827. "type": "number"
  26828. },
  26829. "tradeqty": {
  26830. "description": "成交数量",
  26831. "type": "integer"
  26832. }
  26833. }
  26834. },
  26835. "models.HsbySellMyDetail": {
  26836. "type": "object",
  26837. "required": [
  26838. "accountid",
  26839. "buyorsell",
  26840. "goodscode",
  26841. "goodsid",
  26842. "goodsname",
  26843. "marketid",
  26844. "orderid",
  26845. "time",
  26846. "trademode"
  26847. ],
  26848. "properties": {
  26849. "accountid": {
  26850. "description": "账户ID[报价币种]",
  26851. "type": "integer"
  26852. },
  26853. "agreeunit": {
  26854. "description": "合约单位",
  26855. "type": "number"
  26856. },
  26857. "buyorsell": {
  26858. "description": "买卖 - 0:买 1:卖",
  26859. "type": "integer"
  26860. },
  26861. "currencysign": {
  26862. "description": "货币符号",
  26863. "type": "string"
  26864. },
  26865. "decimalplace": {
  26866. "description": "报价小数位",
  26867. "type": "integer"
  26868. },
  26869. "goodscode": {
  26870. "description": "商品代码(内部)",
  26871. "type": "string"
  26872. },
  26873. "goodsid": {
  26874. "description": "商品ID",
  26875. "type": "integer"
  26876. },
  26877. "goodsname": {
  26878. "description": "商品名称",
  26879. "type": "string"
  26880. },
  26881. "marketid": {
  26882. "description": "市场ID",
  26883. "type": "integer"
  26884. },
  26885. "orderid": {
  26886. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  26887. "type": "string"
  26888. },
  26889. "ordertype": {
  26890. "description": "单据类型:0 - 发布中, 1 - 已完成",
  26891. "type": "integer"
  26892. },
  26893. "picurls": {
  26894. "description": "介绍图片[多张用逗号分隔]",
  26895. "type": "string"
  26896. },
  26897. "price": {
  26898. "description": "价格",
  26899. "type": "number"
  26900. },
  26901. "qty": {
  26902. "description": "数量",
  26903. "type": "integer"
  26904. },
  26905. "time": {
  26906. "description": "时间",
  26907. "type": "string"
  26908. },
  26909. "trademode": {
  26910. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26911. "type": "integer"
  26912. },
  26913. "vendorname": {
  26914. "description": "供应商名称",
  26915. "type": "string"
  26916. }
  26917. }
  26918. },
  26919. "models.HsbyTopGoods": {
  26920. "type": "object",
  26921. "required": [
  26922. "goodscode",
  26923. "goodsid",
  26924. "goodsname",
  26925. "marketid",
  26926. "trademode"
  26927. ],
  26928. "properties": {
  26929. "agreeunit": {
  26930. "description": "合约单位",
  26931. "type": "number"
  26932. },
  26933. "currency": {
  26934. "description": "货币",
  26935. "type": "string"
  26936. },
  26937. "currencysign": {
  26938. "description": "货币符号",
  26939. "type": "string"
  26940. },
  26941. "decimalplace": {
  26942. "description": "报价小数位",
  26943. "type": "integer"
  26944. },
  26945. "desccityid": {
  26946. "description": "目的地(市)",
  26947. "type": "integer"
  26948. },
  26949. "descprovinceid": {
  26950. "description": "目的地(省)",
  26951. "type": "integer"
  26952. },
  26953. "goodscode": {
  26954. "description": "商品代码(内部)",
  26955. "type": "string"
  26956. },
  26957. "goodsid": {
  26958. "description": "商品ID(自增ID SEQ_GOODS)",
  26959. "type": "integer"
  26960. },
  26961. "goodsname": {
  26962. "description": "商品名称",
  26963. "type": "string"
  26964. },
  26965. "hotindex": {
  26966. "description": "景点热度",
  26967. "type": "integer"
  26968. },
  26969. "last": {
  26970. "description": "现价",
  26971. "type": "number"
  26972. },
  26973. "marketid": {
  26974. "description": "所属市场ID",
  26975. "type": "integer"
  26976. },
  26977. "picurls": {
  26978. "description": "介绍图片[多张用逗号分隔]",
  26979. "type": "string"
  26980. },
  26981. "quoteminunit": {
  26982. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  26983. "type": "integer"
  26984. },
  26985. "trademode": {
  26986. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26987. "type": "integer"
  26988. },
  26989. "videourls": {
  26990. "description": "介绍视频[多张用逗号分隔]",
  26991. "type": "string"
  26992. }
  26993. }
  26994. },
  26995. "models.HybsMyBuyOrderDetail": {
  26996. "type": "object",
  26997. "required": [
  26998. "accountid",
  26999. "buyorsell",
  27000. "goodscode",
  27001. "goodsid",
  27002. "goodsname",
  27003. "marketid",
  27004. "orderid",
  27005. "orderqty",
  27006. "ordertime",
  27007. "trademode"
  27008. ],
  27009. "properties": {
  27010. "accountid": {
  27011. "description": "账户ID[报价币种]",
  27012. "type": "integer"
  27013. },
  27014. "agreeunit": {
  27015. "description": "合约单位",
  27016. "type": "number"
  27017. },
  27018. "buyorsell": {
  27019. "description": "买卖 - 0:买 1:卖",
  27020. "type": "integer"
  27021. },
  27022. "cancelqty": {
  27023. "description": "撤单数量",
  27024. "type": "integer"
  27025. },
  27026. "currencysign": {
  27027. "description": "货币符号",
  27028. "type": "string"
  27029. },
  27030. "decimalplace": {
  27031. "description": "报价小数位",
  27032. "type": "integer"
  27033. },
  27034. "goodscode": {
  27035. "description": "商品代码(内部)",
  27036. "type": "string"
  27037. },
  27038. "goodsid": {
  27039. "description": "商品ID",
  27040. "type": "integer"
  27041. },
  27042. "goodsname": {
  27043. "description": "商品名称",
  27044. "type": "string"
  27045. },
  27046. "listingselecttype": {
  27047. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  27048. "type": "integer"
  27049. },
  27050. "marketid": {
  27051. "description": "市场ID",
  27052. "type": "integer"
  27053. },
  27054. "mybuystatus": {
  27055. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  27056. "type": "integer"
  27057. },
  27058. "orderamount": {
  27059. "description": "委托金额",
  27060. "type": "number"
  27061. },
  27062. "orderid": {
  27063. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  27064. "type": "string"
  27065. },
  27066. "orderprice": {
  27067. "description": "委托价格",
  27068. "type": "number"
  27069. },
  27070. "orderqty": {
  27071. "description": "委托数量",
  27072. "type": "integer"
  27073. },
  27074. "orderstatus": {
  27075. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  27076. "type": "integer"
  27077. },
  27078. "ordertime": {
  27079. "description": "委托时间",
  27080. "type": "string"
  27081. },
  27082. "picurls1": {
  27083. "description": "预售商品介绍图片[多张用逗号分隔]",
  27084. "type": "string"
  27085. },
  27086. "picurls2": {
  27087. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  27088. "type": "string"
  27089. },
  27090. "trademode": {
  27091. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  27092. "type": "integer"
  27093. },
  27094. "tradeqty": {
  27095. "description": "成交数量",
  27096. "type": "integer"
  27097. },
  27098. "vendorname1": {
  27099. "description": "预售商品供应商名称",
  27100. "type": "string"
  27101. },
  27102. "vendorname2": {
  27103. "description": "挂牌商品供应商名称",
  27104. "type": "string"
  27105. }
  27106. }
  27107. },
  27108. "models.Loginaccount": {
  27109. "type": "object",
  27110. "required": [
  27111. "loginid"
  27112. ],
  27113. "properties": {
  27114. "accountname": {
  27115. "description": "账户名称",
  27116. "type": "string"
  27117. },
  27118. "canoutin": {
  27119. "description": "是否可出入金 - 0:不可 1:可",
  27120. "type": "integer"
  27121. },
  27122. "clientroleid": {
  27123. "description": "终端角色ID",
  27124. "type": "integer"
  27125. },
  27126. "haslogined": {
  27127. "description": "是否已登录 - 0:未登录 1:已登录",
  27128. "type": "integer"
  27129. },
  27130. "hasupdatedpwd": {
  27131. "description": "是否已更改密码 - 0:未修改 1:已修改",
  27132. "type": "integer"
  27133. },
  27134. "lastloginip": {
  27135. "description": "最新登录地址",
  27136. "type": "string"
  27137. },
  27138. "lastloginmode": {
  27139. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  27140. "type": "integer"
  27141. },
  27142. "lastloginremark": {
  27143. "description": "最新登录描述",
  27144. "type": "string"
  27145. },
  27146. "lastlogintime": {
  27147. "description": "最新登录时间",
  27148. "type": "string"
  27149. },
  27150. "logincode": {
  27151. "description": "登录代码",
  27152. "type": "string"
  27153. },
  27154. "loginfailnum": {
  27155. "description": "连续登录失败次数(登录成功时清零)",
  27156. "type": "integer"
  27157. },
  27158. "loginid": {
  27159. "description": "登陆账号",
  27160. "type": "integer"
  27161. },
  27162. "loginport": {
  27163. "description": "最新登录端口",
  27164. "type": "integer"
  27165. },
  27166. "loginstatus": {
  27167. "description": "登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)",
  27168. "type": "integer"
  27169. },
  27170. "loginusertype": {
  27171. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  27172. "type": "integer"
  27173. },
  27174. "mobile": {
  27175. "description": "手机号码(加密存储)",
  27176. "type": "string"
  27177. },
  27178. "modifierid": {
  27179. "description": "修改人",
  27180. "type": "integer"
  27181. },
  27182. "modifysrc": {
  27183. "description": "审核来源 - 1:管理端 2:终端",
  27184. "type": "integer"
  27185. },
  27186. "modifytime": {
  27187. "description": "修改时间",
  27188. "type": "string"
  27189. },
  27190. "password": {
  27191. "description": "登陆密码",
  27192. "type": "string"
  27193. },
  27194. "pwdwrongcount": {
  27195. "description": "密码错误次数",
  27196. "type": "integer"
  27197. },
  27198. "relateduserid": {
  27199. "description": "关联用户ID(机构)",
  27200. "type": "integer"
  27201. },
  27202. "taaccountrighttype": {
  27203. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  27204. "type": "integer"
  27205. },
  27206. "unfreezetime": {
  27207. "description": "账户解冻时间",
  27208. "type": "string"
  27209. },
  27210. "userid": {
  27211. "description": "用户ID",
  27212. "type": "integer"
  27213. }
  27214. }
  27215. },
  27216. "models.MainAccountInfo": {
  27217. "type": "object",
  27218. "properties": {
  27219. "accountid": {
  27220. "description": "账号id",
  27221. "type": "integer"
  27222. },
  27223. "accountname": {
  27224. "description": "账号名称(taaccount表中的名称)",
  27225. "type": "string"
  27226. },
  27227. "appid": {
  27228. "description": "AppID",
  27229. "type": "string"
  27230. },
  27231. "authcode": {
  27232. "description": "授权码",
  27233. "type": "string"
  27234. },
  27235. "brokerid": {
  27236. "description": "经纪商id",
  27237. "type": "string"
  27238. },
  27239. "fcid": {
  27240. "description": "期货公司id",
  27241. "type": "integer"
  27242. },
  27243. "fcname": {
  27244. "description": "期货公司代码",
  27245. "type": "string"
  27246. },
  27247. "hedgeaccountcode": {
  27248. "description": "外部账号代码(主账号登录代码)",
  27249. "type": "string"
  27250. },
  27251. "hedgeaccountpwd": {
  27252. "description": "密码",
  27253. "type": "string"
  27254. },
  27255. "ismain": {
  27256. "description": "是否主账号",
  27257. "type": "integer"
  27258. },
  27259. "relateduserid": {
  27260. "description": "关联用户id",
  27261. "type": "integer"
  27262. },
  27263. "userid": {
  27264. "description": "关联用户id",
  27265. "type": "integer"
  27266. }
  27267. }
  27268. },
  27269. "models.Market": {
  27270. "type": "object",
  27271. "required": [
  27272. "marketid",
  27273. "marketstatus",
  27274. "openmethod",
  27275. "reckonpricealgorithm",
  27276. "trademode",
  27277. "tradeproperty"
  27278. ],
  27279. "properties": {
  27280. "auctionwrtype": {
  27281. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  27282. "type": "integer"
  27283. },
  27284. "canacceptquote": {
  27285. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  27286. "type": "integer"
  27287. },
  27288. "cangoodsexercise": {
  27289. "description": "[期权]是否可现货行权- 0:否 1:是",
  27290. "type": "integer"
  27291. },
  27292. "cangoodsexercisetype": {
  27293. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  27294. "type": "integer"
  27295. },
  27296. "canmanualquotestrike": {
  27297. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  27298. "type": "integer"
  27299. },
  27300. "canmutistage": {
  27301. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  27302. "type": "integer"
  27303. },
  27304. "canpreexercise": {
  27305. "description": "[期权]是否可预申报- 0:否 1:是",
  27306. "type": "integer"
  27307. },
  27308. "clearinterval": {
  27309. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  27310. "type": "integer"
  27311. },
  27312. "contracttmp": {
  27313. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  27314. "type": "string"
  27315. },
  27316. "exchareaid": {
  27317. "description": "所属交易所,可以没有",
  27318. "type": "integer"
  27319. },
  27320. "goodstype": {
  27321. "description": "商品类型 - 1:交易商品 2:仓单商品",
  27322. "type": "integer"
  27323. },
  27324. "hasrebate": {
  27325. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  27326. "type": "integer"
  27327. },
  27328. "hastradecredit": {
  27329. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  27330. "type": "integer"
  27331. },
  27332. "haswr": {
  27333. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  27334. "type": "integer"
  27335. },
  27336. "isdeductmargin": {
  27337. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  27338. "type": "integer"
  27339. },
  27340. "isrecordsource": {
  27341. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  27342. "type": "integer"
  27343. },
  27344. "isreleasemargin": {
  27345. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  27346. "type": "integer"
  27347. },
  27348. "marginformula": {
  27349. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  27350. "type": "integer"
  27351. },
  27352. "marginformula2": {
  27353. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  27354. "type": "integer"
  27355. },
  27356. "marketid": {
  27357. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  27358. "type": "integer"
  27359. },
  27360. "marketname": {
  27361. "description": "市场名称",
  27362. "type": "string"
  27363. },
  27364. "marketserviceid": {
  27365. "description": "市场服务ID",
  27366. "type": "integer"
  27367. },
  27368. "marketstatus": {
  27369. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  27370. "type": "integer"
  27371. },
  27372. "markettype": {
  27373. "description": "市场类型- 1:非交易服务 2:交易服务",
  27374. "type": "integer"
  27375. },
  27376. "matchermode": {
  27377. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  27378. "type": "integer"
  27379. },
  27380. "openmethod": {
  27381. "description": "开盘模式 - 0 自动 1手动",
  27382. "type": "integer"
  27383. },
  27384. "otcuserid": {
  27385. "description": "场外期权做市商[场外期权]",
  27386. "type": "integer"
  27387. },
  27388. "outersynctime": {
  27389. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  27390. "type": "string"
  27391. },
  27392. "pendingflag": {
  27393. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  27394. "type": "integer"
  27395. },
  27396. "pendingtime": {
  27397. "description": "待开市时间[通道交易-对冲](HH:mm)",
  27398. "type": "string"
  27399. },
  27400. "performancetempid": {
  27401. "description": "履约计划模板ID - 作废",
  27402. "type": "integer"
  27403. },
  27404. "premiumquotemode": {
  27405. "description": "权利金报价方式 - 1:自动 2:手动",
  27406. "type": "integer"
  27407. },
  27408. "rebateratio": {
  27409. "description": "返利比率[竞价式]",
  27410. "type": "number"
  27411. },
  27412. "reckonorder": {
  27413. "description": "结算顺序",
  27414. "type": "integer"
  27415. },
  27416. "reckonpricealgorithm": {
  27417. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  27418. "type": "integer"
  27419. },
  27420. "reckonpriceparam": {
  27421. "description": "结算价参数",
  27422. "type": "integer"
  27423. },
  27424. "reckontime": {
  27425. "description": "结算时间[通道交易-对冲](HH:mm)",
  27426. "type": "string"
  27427. },
  27428. "roleprioritytype": {
  27429. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  27430. "type": "integer"
  27431. },
  27432. "selllistingauditflag": {
  27433. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  27434. "type": "integer"
  27435. },
  27436. "trademarkettype": {
  27437. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  27438. "type": "integer"
  27439. },
  27440. "trademode": {
  27441. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  27442. "type": "integer"
  27443. },
  27444. "tradeproperty": {
  27445. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  27446. "type": "integer"
  27447. },
  27448. "tradetype": {
  27449. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  27450. "type": "integer"
  27451. }
  27452. }
  27453. },
  27454. "models.Marketrun": {
  27455. "type": "object",
  27456. "required": [
  27457. "marketid",
  27458. "nexttradedate",
  27459. "reckonflag",
  27460. "runstatus",
  27461. "tradedate",
  27462. "tradedate2"
  27463. ],
  27464. "properties": {
  27465. "afternexttradedate": {
  27466. "description": "下下交易日",
  27467. "type": "string"
  27468. },
  27469. "clearquoteflag": {
  27470. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  27471. "type": "integer"
  27472. },
  27473. "lastreckondate": {
  27474. "description": "最新交易日(结算成功)",
  27475. "type": "string"
  27476. },
  27477. "machinedate": {
  27478. "description": "机器时间",
  27479. "type": "string"
  27480. },
  27481. "manualflag": {
  27482. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  27483. "type": "integer"
  27484. },
  27485. "marketid": {
  27486. "description": "市场ID",
  27487. "type": "integer"
  27488. },
  27489. "nexttradedate": {
  27490. "description": "下一交易日",
  27491. "type": "string"
  27492. },
  27493. "pretradedate": {
  27494. "description": "上一交易日",
  27495. "type": "string"
  27496. },
  27497. "reckonflag": {
  27498. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  27499. "type": "integer"
  27500. },
  27501. "runstatus": {
  27502. "description": "运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内) 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始 62.今日免清算",
  27503. "type": "integer"
  27504. },
  27505. "sectionid": {
  27506. "description": "时间段号[多时段时用]",
  27507. "type": "integer"
  27508. },
  27509. "tradedate": {
  27510. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  27511. "type": "string"
  27512. },
  27513. "tradedate2": {
  27514. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  27515. "type": "string"
  27516. },
  27517. "updatetime": {
  27518. "description": "更新时间",
  27519. "type": "string"
  27520. }
  27521. }
  27522. },
  27523. "models.Messageboard": {
  27524. "type": "object",
  27525. "required": [
  27526. "messageboardid"
  27527. ],
  27528. "properties": {
  27529. "contactnum": {
  27530. "description": "联系电话",
  27531. "type": "string"
  27532. },
  27533. "createtime": {
  27534. "description": "创建时间",
  27535. "type": "string"
  27536. },
  27537. "message": {
  27538. "description": "留言信息",
  27539. "type": "string"
  27540. },
  27541. "messageboardid": {
  27542. "description": "留言簿ID(SEQ_MessageBoard)",
  27543. "type": "integer"
  27544. },
  27545. "userid": {
  27546. "description": "用户ID",
  27547. "type": "integer"
  27548. }
  27549. }
  27550. },
  27551. "models.MyCoupon": {
  27552. "type": "object",
  27553. "required": [
  27554. "accountid",
  27555. "coupontypeid"
  27556. ],
  27557. "properties": {
  27558. "accountid": {
  27559. "description": "资金账户ID",
  27560. "type": "integer"
  27561. },
  27562. "areauserid": {
  27563. "description": "所属机构",
  27564. "type": "integer"
  27565. },
  27566. "conditionvalue": {
  27567. "description": "条件阈值(可为0)",
  27568. "type": "number"
  27569. },
  27570. "couponcategroy": {
  27571. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  27572. "type": "integer"
  27573. },
  27574. "couponname": {
  27575. "description": "优惠券名称",
  27576. "type": "string"
  27577. },
  27578. "coupontypeid": {
  27579. "description": "优惠券类型ID",
  27580. "type": "string"
  27581. },
  27582. "couponvalue": {
  27583. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  27584. "type": "number"
  27585. },
  27586. "curfreezeqty": {
  27587. "description": "期末冻结数量",
  27588. "type": "integer"
  27589. },
  27590. "curqty": {
  27591. "description": "期末数量",
  27592. "type": "integer"
  27593. },
  27594. "isgeneral": {
  27595. "description": "是否通用券 - 0:否 1:是",
  27596. "type": "integer"
  27597. },
  27598. "isunusable": {
  27599. "description": "是否不可用",
  27600. "type": "boolean"
  27601. },
  27602. "limitedflag": {
  27603. "description": "是否指定商品 - 0:不限 1:限制",
  27604. "type": "integer"
  27605. },
  27606. "limitedgoodsids": {
  27607. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  27608. "type": "string"
  27609. },
  27610. "orifreezeqty": {
  27611. "description": "期初冻结数量",
  27612. "type": "integer"
  27613. },
  27614. "oriqty": {
  27615. "description": "期初数量",
  27616. "type": "integer"
  27617. },
  27618. "reasontype": {
  27619. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  27620. "type": "integer"
  27621. },
  27622. "todaydecrease": {
  27623. "description": "今日减少",
  27624. "type": "integer"
  27625. },
  27626. "todayincrease": {
  27627. "description": "今日增加",
  27628. "type": "integer"
  27629. },
  27630. "userid": {
  27631. "description": "用户ID",
  27632. "type": "integer"
  27633. },
  27634. "userscope": {
  27635. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  27636. "type": "string"
  27637. }
  27638. }
  27639. },
  27640. "models.MyCouponHold": {
  27641. "type": "object",
  27642. "required": [
  27643. "couponholdid"
  27644. ],
  27645. "properties": {
  27646. "accountid": {
  27647. "description": "资金账户ID",
  27648. "type": "integer"
  27649. },
  27650. "conditionvalue": {
  27651. "description": "条件阈值(可为0)",
  27652. "type": "number"
  27653. },
  27654. "couponcategroy": {
  27655. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  27656. "type": "integer"
  27657. },
  27658. "couponholdid": {
  27659. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  27660. "type": "string"
  27661. },
  27662. "couponname": {
  27663. "description": "优惠券名称",
  27664. "type": "string"
  27665. },
  27666. "coupontypeid": {
  27667. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  27668. "type": "string"
  27669. },
  27670. "couponvalue": {
  27671. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  27672. "type": "number"
  27673. },
  27674. "createtime": {
  27675. "description": "创建时间",
  27676. "type": "string"
  27677. },
  27678. "enddate": {
  27679. "description": "结束日期",
  27680. "type": "string"
  27681. },
  27682. "giveapplyid": {
  27683. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  27684. "type": "integer"
  27685. },
  27686. "holdstatus": {
  27687. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  27688. "type": "integer"
  27689. },
  27690. "isgeneral": {
  27691. "description": "是否通用券 - 0:否 1:是",
  27692. "type": "integer"
  27693. },
  27694. "limitedflag": {
  27695. "description": "是否指定商品 - 0:不限 1:限制",
  27696. "type": "integer"
  27697. },
  27698. "limitedgoodsids": {
  27699. "description": "指定商品IDs[逗号分隔]",
  27700. "type": "string"
  27701. },
  27702. "qty": {
  27703. "description": "数量(按1平铺)",
  27704. "type": "integer"
  27705. },
  27706. "startdate": {
  27707. "description": "开始日期",
  27708. "type": "string"
  27709. },
  27710. "userid": {
  27711. "description": "用户ID",
  27712. "type": "integer"
  27713. },
  27714. "userscope": {
  27715. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  27716. "type": "string"
  27717. }
  27718. }
  27719. },
  27720. "models.MyUsedCoupon": {
  27721. "type": "object",
  27722. "required": [
  27723. "coupontypeid",
  27724. "orderid"
  27725. ],
  27726. "properties": {
  27727. "accountid": {
  27728. "description": "资金账户ID(买方)",
  27729. "type": "integer"
  27730. },
  27731. "conditionvalue": {
  27732. "description": "条件阈值(可为0)",
  27733. "type": "number"
  27734. },
  27735. "couponcategroy": {
  27736. "description": "种类 - 1:现金券 2:折扣券",
  27737. "type": "integer"
  27738. },
  27739. "couponname": {
  27740. "description": "优惠券名称",
  27741. "type": "string"
  27742. },
  27743. "coupontypeid": {
  27744. "description": "优惠券类型ID(买方)",
  27745. "type": "string"
  27746. },
  27747. "couponvalue": {
  27748. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  27749. "type": "number"
  27750. },
  27751. "createtime": {
  27752. "description": "创建时间",
  27753. "type": "string"
  27754. },
  27755. "goodsid": {
  27756. "description": "商品ID",
  27757. "type": "integer"
  27758. },
  27759. "handlestatus": {
  27760. "description": "处理状态",
  27761. "type": "integer"
  27762. },
  27763. "marketid": {
  27764. "description": "市场ID",
  27765. "type": "integer"
  27766. },
  27767. "offamount": {
  27768. "description": "优惠金额",
  27769. "type": "number"
  27770. },
  27771. "orderid": {
  27772. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  27773. "type": "string"
  27774. },
  27775. "sellaccountid": {
  27776. "description": "资金账户ID(卖方)",
  27777. "type": "integer"
  27778. },
  27779. "tradeamount": {
  27780. "description": "成交金额",
  27781. "type": "number"
  27782. },
  27783. "tradeid": {
  27784. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  27785. "type": "string"
  27786. },
  27787. "usedqty": {
  27788. "description": "使用数量",
  27789. "type": "integer"
  27790. }
  27791. }
  27792. },
  27793. "models.OperationPrimaryMenu": {
  27794. "type": "object",
  27795. "properties": {
  27796. "Children": {
  27797. "description": "二级功能菜单",
  27798. "type": "array",
  27799. "items": {
  27800. "$ref": "#/definitions/models.OperationSecondaryMenu"
  27801. }
  27802. },
  27803. "Key": {
  27804. "description": "菜单KEY",
  27805. "type": "string"
  27806. },
  27807. "Label": {
  27808. "description": "菜单标题",
  27809. "type": "string"
  27810. }
  27811. }
  27812. },
  27813. "models.OperationSecondaryMenu": {
  27814. "type": "object",
  27815. "properties": {
  27816. "Key": {
  27817. "description": "菜单KEY",
  27818. "type": "string"
  27819. },
  27820. "Label": {
  27821. "description": "菜单标题",
  27822. "type": "string"
  27823. },
  27824. "TabList": {
  27825. "description": "三级功能菜单",
  27826. "type": "array",
  27827. "items": {
  27828. "$ref": "#/definitions/models.OperationTabMenu"
  27829. }
  27830. }
  27831. }
  27832. },
  27833. "models.OperationTabMenu": {
  27834. "type": "object",
  27835. "properties": {
  27836. "Key": {
  27837. "description": "菜单KEY",
  27838. "type": "string"
  27839. },
  27840. "Label": {
  27841. "description": "菜单标题",
  27842. "type": "string"
  27843. }
  27844. }
  27845. },
  27846. "models.QhjAccountOutInApply": {
  27847. "type": "object",
  27848. "properties": {
  27849. "accountcode": {
  27850. "description": "资金账号",
  27851. "type": "string"
  27852. },
  27853. "accountname": {
  27854. "description": "用户名称(名称)",
  27855. "type": "string"
  27856. },
  27857. "accountpwd": {
  27858. "description": "资金密码",
  27859. "type": "string"
  27860. },
  27861. "accountticket": {
  27862. "description": "最新账户服务流水号",
  27863. "type": "string"
  27864. },
  27865. "amount": {
  27866. "description": "金额",
  27867. "type": "number"
  27868. },
  27869. "applyremark": {
  27870. "description": "申请备注",
  27871. "type": "string"
  27872. },
  27873. "applystatus": {
  27874. "description": "申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败; 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22: 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;",
  27875. "type": "integer"
  27876. },
  27877. "auditid": {
  27878. "description": "审核人",
  27879. "type": "integer"
  27880. },
  27881. "audittime": {
  27882. "description": "审核时间",
  27883. "type": "string"
  27884. },
  27885. "bank_apply_ticket": {
  27886. "description": "银行申请流水",
  27887. "type": "string"
  27888. },
  27889. "bankaccountname": {
  27890. "description": "银行账户名",
  27891. "type": "string"
  27892. },
  27893. "bankaccountno": {
  27894. "description": "银行卡号",
  27895. "type": "string"
  27896. },
  27897. "bankid": {
  27898. "description": "银行编号",
  27899. "type": "string"
  27900. },
  27901. "bankticket": {
  27902. "description": "银行流水",
  27903. "type": "string"
  27904. },
  27905. "branchbankid": {
  27906. "description": "银行支行号",
  27907. "type": "string"
  27908. },
  27909. "branchbankname": {
  27910. "description": "银行支行名称",
  27911. "type": "string"
  27912. },
  27913. "capamountout": {
  27914. "description": "出金(劣后本金) - 外部子账户",
  27915. "type": "number"
  27916. },
  27917. "certificatephotourl": {
  27918. "description": "凭证地址",
  27919. "type": "string"
  27920. },
  27921. "charge": {
  27922. "description": "手续费",
  27923. "type": "number"
  27924. },
  27925. "checkerrorflag": {
  27926. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  27927. "type": "integer"
  27928. },
  27929. "currency": {
  27930. "description": "币种",
  27931. "type": "string"
  27932. },
  27933. "cusbankid": {
  27934. "description": "托管银行编号",
  27935. "type": "string"
  27936. },
  27937. "exchticket": {
  27938. "description": "银行服务流水号",
  27939. "type": "string"
  27940. },
  27941. "executetype": {
  27942. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  27943. "type": "integer"
  27944. },
  27945. "extendinfo": {
  27946. "description": "扩展信息",
  27947. "type": "string"
  27948. },
  27949. "extoperateid": {
  27950. "description": "交易服务流水号",
  27951. "type": "integer"
  27952. },
  27953. "infamount": {
  27954. "description": "劣后金额(自有)",
  27955. "type": "number"
  27956. },
  27957. "logincode": {
  27958. "description": "登录账号(账号)",
  27959. "type": "string"
  27960. },
  27961. "netaddr": {
  27962. "description": "调转网址",
  27963. "type": "string"
  27964. },
  27965. "priamount": {
  27966. "description": "优先金额(授信)",
  27967. "type": "number"
  27968. },
  27969. "reauditid": {
  27970. "description": "复审人",
  27971. "type": "integer"
  27972. },
  27973. "reauditremark": {
  27974. "description": "复审备注",
  27975. "type": "string"
  27976. },
  27977. "reaudittime": {
  27978. "description": "复审时间",
  27979. "type": "string"
  27980. },
  27981. "relatedorderid": {
  27982. "description": "三方关联ID",
  27983. "type": "string"
  27984. },
  27985. "remark": {
  27986. "description": "备注",
  27987. "type": "string"
  27988. },
  27989. "remark2": {
  27990. "description": "备注(失败原因)",
  27991. "type": "string"
  27992. },
  27993. "soucreamount": {
  27994. "description": "原始出入金金额",
  27995. "type": "number"
  27996. },
  27997. "soucrecurrencyid": {
  27998. "description": "原始出入金币种",
  27999. "type": "integer"
  28000. },
  28001. "tradedate": {
  28002. "description": "交易日(yyyyMMdd)",
  28003. "type": "string"
  28004. },
  28005. "updatetime": {
  28006. "description": "更新时间(申请时间)",
  28007. "type": "string"
  28008. },
  28009. "userid": {
  28010. "description": "用户id",
  28011. "type": "integer"
  28012. },
  28013. "userinfotype": {
  28014. "description": "账户类型 1-个人 2-企业",
  28015. "type": "integer"
  28016. }
  28017. }
  28018. },
  28019. "models.QhjAgreementChangeLog": {
  28020. "type": "object",
  28021. "properties": {
  28022. "agreementcontent": {
  28023. "description": "协议内容",
  28024. "type": "string"
  28025. },
  28026. "agreementfrequency": {
  28027. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  28028. "type": "integer"
  28029. },
  28030. "agreementid": {
  28031. "description": "协议ID",
  28032. "type": "integer"
  28033. },
  28034. "agreementname": {
  28035. "description": "协议名称",
  28036. "type": "string"
  28037. },
  28038. "agreementno": {
  28039. "description": "协议编号",
  28040. "type": "string"
  28041. },
  28042. "agreementtype": {
  28043. "description": "协议类型 - 1:注册 2:登录 3:交易",
  28044. "type": "integer"
  28045. },
  28046. "agreementversion": {
  28047. "description": "协议版本号",
  28048. "type": "integer"
  28049. },
  28050. "logid": {
  28051. "description": "流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)",
  28052. "type": "integer"
  28053. },
  28054. "reviserid": {
  28055. "description": "修改人",
  28056. "type": "integer"
  28057. },
  28058. "revisersrc": {
  28059. "description": "修改来源 - 1:管理端 2:终端",
  28060. "type": "integer"
  28061. },
  28062. "updatetime": {
  28063. "description": "更新时间",
  28064. "type": "string"
  28065. }
  28066. }
  28067. },
  28068. "models.QhjAgreementConfig": {
  28069. "type": "object",
  28070. "properties": {
  28071. "agreementcontent": {
  28072. "description": "协议内容",
  28073. "type": "string"
  28074. },
  28075. "agreementfrequency": {
  28076. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  28077. "type": "integer"
  28078. },
  28079. "agreementid": {
  28080. "description": "协议ID(SEQ_QHJ_AGREEMENTCONFIG)",
  28081. "type": "integer"
  28082. },
  28083. "agreementname": {
  28084. "description": "协议名称",
  28085. "type": "string"
  28086. },
  28087. "agreementno": {
  28088. "description": "协议编号",
  28089. "type": "string"
  28090. },
  28091. "agreementtype": {
  28092. "description": "协议类型 - 1:注册 2:登录 3:交易",
  28093. "type": "integer"
  28094. },
  28095. "agreementversion": {
  28096. "description": "协议版本号(从1开始每次修改加1)",
  28097. "type": "integer"
  28098. },
  28099. "createtime": {
  28100. "description": "创建时间",
  28101. "type": "string"
  28102. },
  28103. "creatorid": {
  28104. "description": "创建人",
  28105. "type": "integer"
  28106. },
  28107. "creatorsrc": {
  28108. "description": "创建来源 - 1:管理端 2:终端",
  28109. "type": "integer"
  28110. },
  28111. "isvalid": {
  28112. "description": "是否有效 - 是否有效 - 1:正常 2:停用 3:注销",
  28113. "type": "integer"
  28114. },
  28115. "reviserid": {
  28116. "description": "修改人",
  28117. "type": "integer"
  28118. },
  28119. "revisersrc": {
  28120. "description": "修改来源 - 1:管理端 2:终端",
  28121. "type": "integer"
  28122. },
  28123. "updatetime": {
  28124. "description": "更新时间",
  28125. "type": "string"
  28126. }
  28127. }
  28128. },
  28129. "models.QhjAreaFinanceConfig": {
  28130. "type": "object",
  28131. "properties": {
  28132. "additionalratio": {
  28133. "description": "追加款比例",
  28134. "type": "number"
  28135. },
  28136. "advanceratio": {
  28137. "description": "预付款比例",
  28138. "type": "number"
  28139. },
  28140. "alarmratio": {
  28141. "description": "告警比例",
  28142. "type": "number"
  28143. },
  28144. "consumptiondirectreward": {
  28145. "description": "消费直推奖励值",
  28146. "type": "number"
  28147. },
  28148. "consumptionenabled": {
  28149. "description": "是否启用消费奖励 - 0:不启用 1:启用",
  28150. "type": "integer"
  28151. },
  28152. "consumptionindirectreward": {
  28153. "description": "消费间推奖励值",
  28154. "type": "number"
  28155. },
  28156. "consumptionmodel": {
  28157. "description": "消费奖励方式 - 1:比率 2:固定",
  28158. "type": "integer"
  28159. },
  28160. "customerservicenum": {
  28161. "description": "客服电话",
  28162. "type": "string"
  28163. },
  28164. "dayinterestrate": {
  28165. "description": "日利率",
  28166. "type": "number"
  28167. },
  28168. "disableconsumptiontips": {
  28169. "description": "关闭消费奖励提示",
  28170. "type": "string"
  28171. },
  28172. "modifierid": {
  28173. "description": "修改人ID",
  28174. "type": "integer"
  28175. },
  28176. "modifysrc": {
  28177. "description": "审核来源 - 1:管理端 2:终端",
  28178. "type": "integer"
  28179. },
  28180. "modifytime": {
  28181. "description": "修改时间",
  28182. "type": "string"
  28183. },
  28184. "promotionvalue": {
  28185. "description": "推广奖励值(固定)",
  28186. "type": "number"
  28187. },
  28188. "scoreconfigvalue1": {
  28189. "description": "提货积分配置1",
  28190. "type": "integer"
  28191. },
  28192. "scoreconfigvalue2": {
  28193. "description": "提货积分配置2",
  28194. "type": "integer"
  28195. },
  28196. "userid": {
  28197. "description": "机构用户ID其他做市关系,都设置为 1",
  28198. "type": "integer"
  28199. },
  28200. "username": {
  28201. "description": "用户名称",
  28202. "type": "string"
  28203. }
  28204. }
  28205. },
  28206. "models.QhjBankAccountSign": {
  28207. "type": "object",
  28208. "properties": {
  28209. "accountcode": {
  28210. "description": "资金账号",
  28211. "type": "string"
  28212. },
  28213. "accountname": {
  28214. "description": "资金账号对应的账号名(UserName)",
  28215. "type": "string"
  28216. },
  28217. "accountname2": {
  28218. "description": "资金账号对应的账号名(UserName) - 密文",
  28219. "type": "string"
  28220. },
  28221. "accounttype": {
  28222. "description": "账户类型(UserType)",
  28223. "type": "integer"
  28224. },
  28225. "applicationtime": {
  28226. "description": "最后一次更新的时间",
  28227. "type": "string"
  28228. },
  28229. "applyexchticket": {
  28230. "description": "申请流水",
  28231. "type": "string"
  28232. },
  28233. "auditid": {
  28234. "description": "审核人",
  28235. "type": "integer"
  28236. },
  28237. "audittime": {
  28238. "description": "审核时间",
  28239. "type": "string"
  28240. },
  28241. "bankaccountname": {
  28242. "description": "签约银行卡账号名",
  28243. "type": "string"
  28244. },
  28245. "bankaccountname2": {
  28246. "description": "签约银行卡账号名 - 密文",
  28247. "type": "string"
  28248. },
  28249. "bankaccountno": {
  28250. "description": "银行卡号",
  28251. "type": "string"
  28252. },
  28253. "bankaccountno2": {
  28254. "description": "银行卡号 - 密文",
  28255. "type": "string"
  28256. },
  28257. "bankaccounttype": {
  28258. "description": "银行账户类型 - 1-对私; 2-对公",
  28259. "type": "integer"
  28260. },
  28261. "bankcardtype": {
  28262. "description": "银行卡类型",
  28263. "type": "integer"
  28264. },
  28265. "bankchildaccount": {
  28266. "description": "银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)",
  28267. "type": "string"
  28268. },
  28269. "bankcity": {
  28270. "description": "开户行城市",
  28271. "type": "string"
  28272. },
  28273. "bankid": {
  28274. "description": "签约银行ID",
  28275. "type": "string"
  28276. },
  28277. "bankname": {
  28278. "description": "签约银行名称",
  28279. "type": "string"
  28280. },
  28281. "bankprovince": {
  28282. "description": "开户行省份",
  28283. "type": "string"
  28284. },
  28285. "branchbankid": {
  28286. "description": "签约银行支行号",
  28287. "type": "string"
  28288. },
  28289. "branchbankname": {
  28290. "description": "签约银行支行名称",
  28291. "type": "string"
  28292. },
  28293. "cardno": {
  28294. "description": "证件号码",
  28295. "type": "string"
  28296. },
  28297. "cardno2": {
  28298. "description": "证件号码 - 密文",
  28299. "type": "string"
  28300. },
  28301. "cardtype": {
  28302. "description": "证件类型",
  28303. "type": "string"
  28304. },
  28305. "currency": {
  28306. "description": "币种",
  28307. "type": "string"
  28308. },
  28309. "cusbankid": {
  28310. "description": "托管银行编号",
  28311. "type": "string"
  28312. },
  28313. "direct": {
  28314. "description": "方向(可以判断那方先发起的签约)",
  28315. "type": "integer"
  28316. },
  28317. "exchticket": {
  28318. "description": "最后一次签约成功的流水号",
  28319. "type": "string"
  28320. },
  28321. "extendinfo": {
  28322. "description": "扩展信息(JSON字符串)",
  28323. "type": "string"
  28324. },
  28325. "mobilephone": {
  28326. "description": "手机号",
  28327. "type": "string"
  28328. },
  28329. "mobilephone2": {
  28330. "description": "手机号 - 密文",
  28331. "type": "string"
  28332. },
  28333. "netaddr": {
  28334. "description": "调转网址",
  28335. "type": "string"
  28336. },
  28337. "relateduserid": {
  28338. "description": "关联使用者userid",
  28339. "type": "integer"
  28340. },
  28341. "signstatus": {
  28342. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中 10:审核拒绝 11:换签待审核",
  28343. "type": "integer"
  28344. },
  28345. "updatetime": {
  28346. "description": "更新时间(签解约更新时间)",
  28347. "type": "string"
  28348. }
  28349. }
  28350. },
  28351. "models.QhjBankInfo": {
  28352. "type": "object",
  28353. "properties": {
  28354. "bankid": {
  28355. "description": "银行ID",
  28356. "type": "string"
  28357. },
  28358. "bankname": {
  28359. "description": "银行名称",
  28360. "type": "string"
  28361. },
  28362. "clearbankno": {
  28363. "description": "清算系统银行编号",
  28364. "type": "string"
  28365. },
  28366. "orderindex": {
  28367. "description": "排序顺序",
  28368. "type": "integer"
  28369. },
  28370. "status": {
  28371. "description": "状态 - 0:正常 1:注销",
  28372. "type": "integer"
  28373. }
  28374. }
  28375. },
  28376. "models.QhjBrokerApply": {
  28377. "type": "object",
  28378. "properties": {
  28379. "applicantid": {
  28380. "description": "申请人",
  28381. "type": "integer"
  28382. },
  28383. "applysrc": {
  28384. "description": "申请来源 - 1:管理端 2:终端",
  28385. "type": "integer"
  28386. },
  28387. "applystatus": {
  28388. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  28389. "type": "integer"
  28390. },
  28391. "applytime": {
  28392. "description": "申请时间",
  28393. "type": "string"
  28394. },
  28395. "auditorid": {
  28396. "description": "审核人",
  28397. "type": "integer"
  28398. },
  28399. "auditremark": {
  28400. "description": "审核备注",
  28401. "type": "string"
  28402. },
  28403. "auditsrc": {
  28404. "description": "审核来源 - 1:管理端 2:终端",
  28405. "type": "integer"
  28406. },
  28407. "audittime": {
  28408. "description": "审核时间",
  28409. "type": "string"
  28410. },
  28411. "audittradedate": {
  28412. "description": "审核交易日(yyyyMMdd)",
  28413. "type": "string"
  28414. },
  28415. "brokerapplyid": {
  28416. "description": "申请ID(SEQ_BROKERAPPLY)",
  28417. "type": "integer"
  28418. },
  28419. "cardbackphotourl": {
  28420. "description": "证件背面图片地址",
  28421. "type": "string"
  28422. },
  28423. "cardfrontphotourl": {
  28424. "description": "证件正面图片地址",
  28425. "type": "string"
  28426. },
  28427. "cardnum": {
  28428. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  28429. "type": "string"
  28430. },
  28431. "customername": {
  28432. "description": "姓名",
  28433. "type": "string"
  28434. },
  28435. "logincode": {
  28436. "description": "登录代码",
  28437. "type": "string"
  28438. },
  28439. "mobile": {
  28440. "description": "手机号码",
  28441. "type": "string"
  28442. },
  28443. "parentuserid": {
  28444. "description": "所属机构id",
  28445. "type": "integer"
  28446. },
  28447. "parentusername": {
  28448. "description": "所属机构名称",
  28449. "type": "string"
  28450. },
  28451. "refereeuserid": {
  28452. "description": "推荐人id(经纪人)",
  28453. "type": "integer"
  28454. },
  28455. "refernum": {
  28456. "description": "推荐码",
  28457. "type": "string"
  28458. },
  28459. "remark": {
  28460. "description": "备注",
  28461. "type": "string"
  28462. },
  28463. "subarealevelpath": {
  28464. "description": "层级路径",
  28465. "type": "string"
  28466. },
  28467. "tradedate": {
  28468. "description": "交易日(yyyyMMdd)",
  28469. "type": "string"
  28470. },
  28471. "userid": {
  28472. "description": "申请人用户ID",
  28473. "type": "integer"
  28474. },
  28475. "userinfotype": {
  28476. "description": "用户类型 1-个人 2-企业",
  28477. "type": "integer"
  28478. },
  28479. "username": {
  28480. "description": "用户名称",
  28481. "type": "string"
  28482. }
  28483. }
  28484. },
  28485. "models.QhjBrokerApplyEx": {
  28486. "type": "object",
  28487. "properties": {
  28488. "applylist": {
  28489. "description": "经纪人申请记录(只返回最新一条)",
  28490. "type": "array",
  28491. "items": {
  28492. "$ref": "#/definitions/models.QhjBrokerApply"
  28493. }
  28494. },
  28495. "canrecommend": {
  28496. "description": "是否经纪人 0-不是 1-是",
  28497. "type": "integer"
  28498. },
  28499. "refernum": {
  28500. "description": "推荐码",
  28501. "type": "string"
  28502. },
  28503. "userid": {
  28504. "description": "用户id",
  28505. "type": "integer"
  28506. },
  28507. "userinfotype": {
  28508. "description": "用户类型 1-个人 2-企业",
  28509. "type": "integer"
  28510. }
  28511. }
  28512. },
  28513. "models.QhjBrokerRewardLog": {
  28514. "type": "object",
  28515. "properties": {
  28516. "accountid": {
  28517. "description": "资金账号ID",
  28518. "type": "integer"
  28519. },
  28520. "createtime": {
  28521. "description": "创建时间(时间)",
  28522. "type": "string"
  28523. },
  28524. "handlestatus": {
  28525. "description": "处理状态",
  28526. "type": "integer"
  28527. },
  28528. "logid": {
  28529. "description": "奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  28530. "type": "string"
  28531. },
  28532. "marketid": {
  28533. "description": "市场ID",
  28534. "type": "integer"
  28535. },
  28536. "mmaccountid": {
  28537. "description": "做市商资金账号ID",
  28538. "type": "string"
  28539. },
  28540. "mmuserid": {
  28541. "description": "做市商用户ID",
  28542. "type": "string"
  28543. },
  28544. "rewardamount": {
  28545. "description": "奖励金额",
  28546. "type": "number"
  28547. },
  28548. "rewardmodel": {
  28549. "description": "消费奖励方式 - 1:比率 2:固定",
  28550. "type": "integer"
  28551. },
  28552. "rewardtype": {
  28553. "description": "奖励类型 - 1:推广 2:消费1级 3:消费2级",
  28554. "type": "integer"
  28555. },
  28556. "rewardvalue": {
  28557. "description": "配置奖励值",
  28558. "type": "number"
  28559. },
  28560. "srcamount": {
  28561. "description": "成交金额 [消费奖励] (金额)",
  28562. "type": "number"
  28563. },
  28564. "srcgoodsid": {
  28565. "description": "来源商品ID [消费奖励]",
  28566. "type": "string"
  28567. },
  28568. "srctime": {
  28569. "description": "来源时间 (成交时间) [消费奖励]",
  28570. "type": "string"
  28571. },
  28572. "srctradeid": {
  28573. "description": "来源成交单ID [消费奖励] - 排除提货成交",
  28574. "type": "string"
  28575. },
  28576. "srcuserid": {
  28577. "description": "来源用户ID(推广账户)",
  28578. "type": "string"
  28579. },
  28580. "srcusername": {
  28581. "description": "推广账户名称",
  28582. "type": "string"
  28583. },
  28584. "tradedate": {
  28585. "description": "交易日(yyyyMMdd)",
  28586. "type": "string"
  28587. },
  28588. "userid": {
  28589. "description": "经纪人用户ID",
  28590. "type": "integer"
  28591. }
  28592. }
  28593. },
  28594. "models.QhjContract": {
  28595. "type": "object",
  28596. "properties": {
  28597. "contractconfirmtime": {
  28598. "description": "合同确认时间(时间)",
  28599. "type": "string"
  28600. },
  28601. "currisklevel": {
  28602. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  28603. "type": "integer"
  28604. },
  28605. "decimalplace": {
  28606. "description": "商品报价小数位",
  28607. "type": "integer"
  28608. },
  28609. "enumdicname": {
  28610. "description": "单位名称",
  28611. "type": "string"
  28612. },
  28613. "goodscode": {
  28614. "description": "商品代码",
  28615. "type": "string"
  28616. },
  28617. "goodsid": {
  28618. "description": "商品ID [5:融资单]",
  28619. "type": "integer"
  28620. },
  28621. "goodsname": {
  28622. "description": "商品名称",
  28623. "type": "string"
  28624. },
  28625. "goodunitid": {
  28626. "description": "商品单位id",
  28627. "type": "integer"
  28628. },
  28629. "initmargin": {
  28630. "description": "初始保证金(首付款)",
  28631. "type": "number"
  28632. },
  28633. "lenderamount": {
  28634. "description": "贷款金额(总额|订单总额)",
  28635. "type": "number"
  28636. },
  28637. "marginratio": {
  28638. "description": "保证金比率(首付比例)",
  28639. "type": "number"
  28640. },
  28641. "payamount": {
  28642. "description": "已付(已付货款)",
  28643. "type": "number"
  28644. },
  28645. "reckonrecovermargin": {
  28646. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  28647. "type": "number"
  28648. },
  28649. "recoveredmargin": {
  28650. "description": "已追缴保证金",
  28651. "type": "number"
  28652. },
  28653. "remainamount": {
  28654. "description": "合同剩余金额(融资额)",
  28655. "type": "number"
  28656. },
  28657. "scfcontractid": {
  28658. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  28659. "type": "string"
  28660. },
  28661. "scfcontractstatus": {
  28662. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  28663. "type": "integer"
  28664. },
  28665. "scfcontracttype": {
  28666. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  28667. "type": "integer"
  28668. },
  28669. "totalinterest": {
  28670. "description": "已计总利息(利息)",
  28671. "type": "number"
  28672. },
  28673. "tradeprice": {
  28674. "description": "成交价格(成本价格)",
  28675. "type": "number"
  28676. },
  28677. "userid": {
  28678. "description": "用户ID",
  28679. "type": "integer"
  28680. },
  28681. "username": {
  28682. "description": "用户名称",
  28683. "type": "string"
  28684. },
  28685. "wrqty": {
  28686. "description": "仓单数量(数量)",
  28687. "type": "number"
  28688. }
  28689. }
  28690. },
  28691. "models.QhjContractLog": {
  28692. "type": "object",
  28693. "properties": {
  28694. "amount": {
  28695. "description": "支付金额",
  28696. "type": "number"
  28697. },
  28698. "amounttype": {
  28699. "description": "资金类型 - 1:首付款 2:尾款 3:利息 4:追加款",
  28700. "type": "integer"
  28701. },
  28702. "logid": {
  28703. "description": "LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  28704. "type": "string"
  28705. },
  28706. "remainamount": {
  28707. "description": "剩余货款",
  28708. "type": "number"
  28709. },
  28710. "scfcontractid": {
  28711. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  28712. "type": "integer"
  28713. },
  28714. "updatetime": {
  28715. "description": "更新时间",
  28716. "type": "string"
  28717. }
  28718. }
  28719. },
  28720. "models.QhjCusBankSignBankEx": {
  28721. "type": "object",
  28722. "properties": {
  28723. "banklst": {
  28724. "description": "银行列表",
  28725. "type": "array",
  28726. "items": {
  28727. "$ref": "#/definitions/models.QhjBankInfo"
  28728. }
  28729. },
  28730. "canallot": {
  28731. "description": "是否支持跨行调拨 - 0:不支持 1:支持",
  28732. "type": "integer"
  28733. },
  28734. "canallotquery": {
  28735. "description": "是否支持跨行调拨查询 - 0:不支持 1:支持",
  28736. "type": "integer"
  28737. },
  28738. "canbindcard": {
  28739. "description": "是否可绑卡与解卡 - 0:不可 1:可以",
  28740. "type": "integer"
  28741. },
  28742. "caninamount": {
  28743. "description": "是否可入金 - 0:不可 1:可以",
  28744. "type": "integer"
  28745. },
  28746. "caninamount2": {
  28747. "description": "是否可入金(网银端) - 0:不可 1:可以",
  28748. "type": "integer"
  28749. },
  28750. "canmodifybankcard": {
  28751. "description": "是否可修改银行卡号 - 0:不可 1:可以",
  28752. "type": "integer"
  28753. },
  28754. "canmodifyphone": {
  28755. "description": "是否可修改手机号 - 0:不可 1:可以",
  28756. "type": "integer"
  28757. },
  28758. "canmodifysigninfo": {
  28759. "description": "是否可修改签约信息 - 0:不可 1:可以",
  28760. "type": "integer"
  28761. },
  28762. "canoutamount": {
  28763. "description": "是否可出金 - 0:不可 1:可以",
  28764. "type": "integer"
  28765. },
  28766. "canoutamount2": {
  28767. "description": "是否可出金(网银端) - 0:不可 1:可以",
  28768. "type": "integer"
  28769. },
  28770. "canrelease": {
  28771. "description": "是否可解约 - 0:不可 1:可以",
  28772. "type": "integer"
  28773. },
  28774. "canrelease2": {
  28775. "description": "是否可解约(网银端) - 0:不可 1:可以",
  28776. "type": "integer"
  28777. },
  28778. "cansign": {
  28779. "description": "是否可签约 - 0:不可 1:可以",
  28780. "type": "integer"
  28781. },
  28782. "cansign2": {
  28783. "description": "是否可签约(网银端) - 0:不可 1:可以",
  28784. "type": "integer"
  28785. },
  28786. "currency": {
  28787. "description": "币种",
  28788. "type": "string"
  28789. },
  28790. "cusbankid": {
  28791. "description": "托管银行编号(对应清算中心TRAN_NO)",
  28792. "type": "string"
  28793. },
  28794. "cusbankname": {
  28795. "description": "银行业务名称",
  28796. "type": "string"
  28797. },
  28798. "cusbankshortname": {
  28799. "description": "银行业务简称",
  28800. "type": "string"
  28801. },
  28802. "exchbankid": {
  28803. "description": "交易所开户银行ID",
  28804. "type": "string"
  28805. },
  28806. "exchpaybankaccname": {
  28807. "description": "交易所支出结算账户户名",
  28808. "type": "string"
  28809. },
  28810. "exchpaybankaccno": {
  28811. "description": "交易所支出结算账户",
  28812. "type": "string"
  28813. },
  28814. "isneedcheck": {
  28815. "description": "是否需要对账 - 0:需要 1:不需要 [不需要界面配置]",
  28816. "type": "integer"
  28817. },
  28818. "isneedclear": {
  28819. "description": "是否需要清算 - 0:不需要 1:需要",
  28820. "type": "integer"
  28821. },
  28822. "lastcheckstatus": {
  28823. "description": "最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败",
  28824. "type": "integer"
  28825. },
  28826. "lastchecktime": {
  28827. "description": "最后对账时间",
  28828. "type": "string"
  28829. },
  28830. "lastclearstatus": {
  28831. "description": "最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功",
  28832. "type": "integer"
  28833. },
  28834. "lastcleartime": {
  28835. "description": "最后清算时间",
  28836. "type": "string"
  28837. },
  28838. "lastsignintime": {
  28839. "description": "最后签到时间",
  28840. "type": "string"
  28841. },
  28842. "lastsignouttime": {
  28843. "description": "最后签退时间",
  28844. "type": "string"
  28845. },
  28846. "riskinfo": {
  28847. "description": "签约风险提示书",
  28848. "type": "string"
  28849. },
  28850. "signstatus": {
  28851. "description": "当前签到/签退状态 - 1:签到 2:签退",
  28852. "type": "integer"
  28853. },
  28854. "tradedate": {
  28855. "description": "交易日(yyyyMMdd)",
  28856. "type": "string"
  28857. },
  28858. "updatetime": {
  28859. "description": "当前签到/签退更新时间",
  28860. "type": "string"
  28861. }
  28862. }
  28863. },
  28864. "models.QhjCustomer": {
  28865. "type": "object",
  28866. "properties": {
  28867. "address": {
  28868. "description": "通讯地址",
  28869. "type": "string"
  28870. },
  28871. "attachment1": {
  28872. "description": "附件1",
  28873. "type": "string"
  28874. },
  28875. "attachment2": {
  28876. "description": "附件2",
  28877. "type": "string"
  28878. },
  28879. "audittime": {
  28880. "description": "审核时间",
  28881. "type": "string"
  28882. },
  28883. "cardbackphotourl": {
  28884. "description": "证件反面图片地址",
  28885. "type": "string"
  28886. },
  28887. "cardfrontphotourl": {
  28888. "description": "证件正面图片地址",
  28889. "type": "string"
  28890. },
  28891. "cardnum": {
  28892. "description": "证件号码",
  28893. "type": "string"
  28894. },
  28895. "cardtype": {
  28896. "description": "证件类型",
  28897. "type": "integer"
  28898. },
  28899. "cardtypename": {
  28900. "description": "证件类型名称",
  28901. "type": "string"
  28902. },
  28903. "cityid": {
  28904. "description": "市",
  28905. "type": "integer"
  28906. },
  28907. "cityname": {
  28908. "description": "城市名称",
  28909. "type": "string"
  28910. },
  28911. "contactname": {
  28912. "description": "联系人",
  28913. "type": "string"
  28914. },
  28915. "countryid": {
  28916. "description": "国家",
  28917. "type": "integer"
  28918. },
  28919. "countryname": {
  28920. "description": "国家名称",
  28921. "type": "string"
  28922. },
  28923. "createtime": {
  28924. "description": "创建时间",
  28925. "type": "string"
  28926. },
  28927. "customername": {
  28928. "description": "客户名称",
  28929. "type": "string"
  28930. },
  28931. "districtid": {
  28932. "description": "区域",
  28933. "type": "integer"
  28934. },
  28935. "districtname": {
  28936. "description": "地区名称",
  28937. "type": "string"
  28938. },
  28939. "email": {
  28940. "description": "邮件",
  28941. "type": "string"
  28942. },
  28943. "legalpersonname": {
  28944. "description": "法人姓名(企业)",
  28945. "type": "string"
  28946. },
  28947. "logincode": {
  28948. "description": "登录账号(代码)",
  28949. "type": "string"
  28950. },
  28951. "memberuserid": {
  28952. "description": "所属机构ID(所属会员)",
  28953. "type": "integer"
  28954. },
  28955. "memberusername": {
  28956. "description": "所属会员名称",
  28957. "type": "string"
  28958. },
  28959. "mobile": {
  28960. "description": "手机号码",
  28961. "type": "string"
  28962. },
  28963. "modifytime": {
  28964. "description": "修改时间",
  28965. "type": "string"
  28966. },
  28967. "nickname": {
  28968. "description": "昵称",
  28969. "type": "string"
  28970. },
  28971. "parentuserid": {
  28972. "description": "上级机构(所属机构)",
  28973. "type": "integer"
  28974. },
  28975. "parentusername": {
  28976. "description": "所属机构名称",
  28977. "type": "string"
  28978. },
  28979. "provinceid": {
  28980. "description": "省",
  28981. "type": "integer"
  28982. },
  28983. "provincename": {
  28984. "description": "省名称",
  28985. "type": "string"
  28986. },
  28987. "proxystatementurl": {
  28988. "description": "授权委托书",
  28989. "type": "string"
  28990. },
  28991. "remark": {
  28992. "description": "备注",
  28993. "type": "string"
  28994. },
  28995. "status": {
  28996. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  28997. "type": "integer"
  28998. },
  28999. "statusdesc": {
  29000. "description": "账户状态中文描述",
  29001. "type": "string"
  29002. },
  29003. "taxpayernum": {
  29004. "description": "纳税人识别号",
  29005. "type": "string"
  29006. },
  29007. "telphone": {
  29008. "description": "联系电话",
  29009. "type": "string"
  29010. },
  29011. "userid": {
  29012. "description": "用户ID",
  29013. "type": "integer"
  29014. },
  29015. "userinfotype": {
  29016. "description": "客户类型 1-个人 2-企业",
  29017. "type": "integer"
  29018. },
  29019. "username": {
  29020. "description": "用户名称",
  29021. "type": "string"
  29022. }
  29023. }
  29024. },
  29025. "models.QhjCustomerSignLog": {
  29026. "type": "object",
  29027. "properties": {
  29028. "agreementcontent": {
  29029. "description": "协议内容",
  29030. "type": "string"
  29031. },
  29032. "agreementid": {
  29033. "description": "协议ID",
  29034. "type": "integer"
  29035. },
  29036. "agreementname": {
  29037. "description": "协议名称",
  29038. "type": "string"
  29039. },
  29040. "agreementno": {
  29041. "description": "协议编号",
  29042. "type": "string"
  29043. },
  29044. "agreementtype": {
  29045. "description": "协议类型 - 1:注册 2:登录 3:交易",
  29046. "type": "integer"
  29047. },
  29048. "agreementversion": {
  29049. "description": "协议版本号",
  29050. "type": "integer"
  29051. },
  29052. "createtime": {
  29053. "description": "创建时间",
  29054. "type": "string"
  29055. },
  29056. "goodscode": {
  29057. "description": "商品代码",
  29058. "type": "string"
  29059. },
  29060. "goodsid": {
  29061. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  29062. "type": "integer"
  29063. },
  29064. "goodsname": {
  29065. "description": "商品名称",
  29066. "type": "string"
  29067. },
  29068. "logid": {
  29069. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  29070. "type": "integer"
  29071. },
  29072. "nodetype": {
  29073. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  29074. "type": "integer"
  29075. },
  29076. "signadressurl": {
  29077. "description": "签约文件地址",
  29078. "type": "string"
  29079. },
  29080. "signtimestamp": {
  29081. "description": "签约状态时间戳",
  29082. "type": "string"
  29083. },
  29084. "userid": {
  29085. "description": "客户ID",
  29086. "type": "integer"
  29087. },
  29088. "username": {
  29089. "description": "客户名称",
  29090. "type": "string"
  29091. }
  29092. }
  29093. },
  29094. "models.QhjCustomerSignStatus": {
  29095. "type": "object",
  29096. "properties": {
  29097. "createtime": {
  29098. "description": "创建时间",
  29099. "type": "string"
  29100. },
  29101. "goodscode": {
  29102. "description": "商品代码",
  29103. "type": "string"
  29104. },
  29105. "goodsid": {
  29106. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  29107. "type": "integer"
  29108. },
  29109. "goodsname": {
  29110. "description": "商品名称",
  29111. "type": "string"
  29112. },
  29113. "nodetype": {
  29114. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  29115. "type": "integer"
  29116. },
  29117. "signtimestamp": {
  29118. "description": "签约状态时间戳",
  29119. "type": "string"
  29120. },
  29121. "tradedate": {
  29122. "description": "创建交易日(yyyyMMdd)",
  29123. "type": "string"
  29124. },
  29125. "updatetime": {
  29126. "description": "更新时间",
  29127. "type": "string"
  29128. },
  29129. "userid": {
  29130. "description": "客户ID",
  29131. "type": "integer"
  29132. },
  29133. "username": {
  29134. "description": "客户名称",
  29135. "type": "string"
  29136. }
  29137. }
  29138. },
  29139. "models.QhjMgrAccountOutInApply": {
  29140. "type": "object",
  29141. "properties": {
  29142. "accountcode": {
  29143. "description": "资金账号",
  29144. "type": "string"
  29145. },
  29146. "accountname": {
  29147. "description": "用户名称(名称)",
  29148. "type": "string"
  29149. },
  29150. "accountpwd": {
  29151. "description": "资金密码",
  29152. "type": "string"
  29153. },
  29154. "accountticket": {
  29155. "description": "最新账户服务流水号",
  29156. "type": "string"
  29157. },
  29158. "amount": {
  29159. "description": "金额",
  29160. "type": "number"
  29161. },
  29162. "applyremark": {
  29163. "description": "申请备注",
  29164. "type": "string"
  29165. },
  29166. "applystatus": {
  29167. "description": "申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败; 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22: 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;",
  29168. "type": "integer"
  29169. },
  29170. "auditid": {
  29171. "description": "审核人",
  29172. "type": "integer"
  29173. },
  29174. "audittime": {
  29175. "description": "审核时间",
  29176. "type": "string"
  29177. },
  29178. "bank_apply_ticket": {
  29179. "description": "银行申请流水",
  29180. "type": "string"
  29181. },
  29182. "bankaccountname": {
  29183. "description": "银行账户名",
  29184. "type": "string"
  29185. },
  29186. "bankaccountno": {
  29187. "description": "银行卡号",
  29188. "type": "string"
  29189. },
  29190. "bankid": {
  29191. "description": "银行编号",
  29192. "type": "string"
  29193. },
  29194. "bankname": {
  29195. "description": "银行名称",
  29196. "type": "string"
  29197. },
  29198. "bankticket": {
  29199. "description": "银行流水",
  29200. "type": "string"
  29201. },
  29202. "branchbankid": {
  29203. "description": "银行支行号",
  29204. "type": "string"
  29205. },
  29206. "branchbankname": {
  29207. "description": "银行支行名称",
  29208. "type": "string"
  29209. },
  29210. "capamountout": {
  29211. "description": "出金(劣后本金) - 外部子账户",
  29212. "type": "number"
  29213. },
  29214. "certificatephotourl": {
  29215. "description": "凭证地址",
  29216. "type": "string"
  29217. },
  29218. "charge": {
  29219. "description": "手续费",
  29220. "type": "number"
  29221. },
  29222. "checkerrorflag": {
  29223. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  29224. "type": "integer"
  29225. },
  29226. "currency": {
  29227. "description": "币种",
  29228. "type": "string"
  29229. },
  29230. "cusbankid": {
  29231. "description": "托管银行编号",
  29232. "type": "string"
  29233. },
  29234. "exchticket": {
  29235. "description": "银行服务流水号",
  29236. "type": "string"
  29237. },
  29238. "executetype": {
  29239. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  29240. "type": "integer"
  29241. },
  29242. "extendinfo": {
  29243. "description": "扩展信息",
  29244. "type": "string"
  29245. },
  29246. "extoperateid": {
  29247. "description": "交易服务流水号",
  29248. "type": "integer"
  29249. },
  29250. "infamount": {
  29251. "description": "劣后金额(自有)",
  29252. "type": "number"
  29253. },
  29254. "logincode": {
  29255. "description": "登录账号(账号)",
  29256. "type": "string"
  29257. },
  29258. "netaddr": {
  29259. "description": "调转网址",
  29260. "type": "string"
  29261. },
  29262. "priamount": {
  29263. "description": "优先金额(授信)",
  29264. "type": "number"
  29265. },
  29266. "reauditid": {
  29267. "description": "复审人",
  29268. "type": "integer"
  29269. },
  29270. "reauditremark": {
  29271. "description": "复审备注",
  29272. "type": "string"
  29273. },
  29274. "reaudittime": {
  29275. "description": "复审时间",
  29276. "type": "string"
  29277. },
  29278. "relatedorderid": {
  29279. "description": "三方关联ID",
  29280. "type": "string"
  29281. },
  29282. "remark": {
  29283. "description": "备注",
  29284. "type": "string"
  29285. },
  29286. "remark2": {
  29287. "description": "备注(失败原因)",
  29288. "type": "string"
  29289. },
  29290. "soucreamount": {
  29291. "description": "原始出入金金额",
  29292. "type": "number"
  29293. },
  29294. "soucrecurrencyid": {
  29295. "description": "原始出入金币种",
  29296. "type": "integer"
  29297. },
  29298. "tradedate": {
  29299. "description": "交易日(yyyyMMdd)",
  29300. "type": "string"
  29301. },
  29302. "updatetime": {
  29303. "description": "更新时间(申请时间)",
  29304. "type": "string"
  29305. },
  29306. "userid": {
  29307. "description": "用户id",
  29308. "type": "integer"
  29309. },
  29310. "userinfotype": {
  29311. "description": "账户类型 1-个人 2-企业",
  29312. "type": "integer"
  29313. }
  29314. }
  29315. },
  29316. "models.QhjMgrBrokerApply": {
  29317. "type": "object",
  29318. "properties": {
  29319. "applicantid": {
  29320. "description": "申请人",
  29321. "type": "integer"
  29322. },
  29323. "applysrc": {
  29324. "description": "申请来源 - 1:管理端 2:终端",
  29325. "type": "integer"
  29326. },
  29327. "applystatus": {
  29328. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  29329. "type": "integer"
  29330. },
  29331. "applytime": {
  29332. "description": "申请时间",
  29333. "type": "string"
  29334. },
  29335. "auditorid": {
  29336. "description": "审核人",
  29337. "type": "integer"
  29338. },
  29339. "auditremark": {
  29340. "description": "审核备注",
  29341. "type": "string"
  29342. },
  29343. "auditsrc": {
  29344. "description": "审核来源 - 1:管理端 2:终端",
  29345. "type": "integer"
  29346. },
  29347. "audittime": {
  29348. "description": "审核时间",
  29349. "type": "string"
  29350. },
  29351. "audittradedate": {
  29352. "description": "审核交易日(yyyyMMdd)",
  29353. "type": "string"
  29354. },
  29355. "brokerapplyid": {
  29356. "description": "申请ID(SEQ_BROKERAPPLY)",
  29357. "type": "integer"
  29358. },
  29359. "cardbackphotourl": {
  29360. "description": "证件背面图片地址",
  29361. "type": "string"
  29362. },
  29363. "cardfrontphotourl": {
  29364. "description": "证件正面图片地址",
  29365. "type": "string"
  29366. },
  29367. "cardnum": {
  29368. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  29369. "type": "string"
  29370. },
  29371. "customername": {
  29372. "description": "姓名",
  29373. "type": "string"
  29374. },
  29375. "filterstatus": {
  29376. "description": "筛选条件",
  29377. "type": "string"
  29378. },
  29379. "logincode": {
  29380. "description": "登录代码",
  29381. "type": "string"
  29382. },
  29383. "mobile": {
  29384. "description": "手机号码",
  29385. "type": "string"
  29386. },
  29387. "parentuserid": {
  29388. "description": "所属机构id",
  29389. "type": "integer"
  29390. },
  29391. "parentusername": {
  29392. "description": "所属机构名称",
  29393. "type": "string"
  29394. },
  29395. "refereeuserid": {
  29396. "description": "推荐人id(经纪人)",
  29397. "type": "integer"
  29398. },
  29399. "refernum": {
  29400. "description": "推荐码",
  29401. "type": "string"
  29402. },
  29403. "remark": {
  29404. "description": "备注",
  29405. "type": "string"
  29406. },
  29407. "subarealevelpath": {
  29408. "description": "层级路径",
  29409. "type": "string"
  29410. },
  29411. "tradedate": {
  29412. "description": "交易日(yyyyMMdd)",
  29413. "type": "string"
  29414. },
  29415. "userid": {
  29416. "description": "申请人用户ID",
  29417. "type": "integer"
  29418. },
  29419. "userinfotype": {
  29420. "description": "用户类型 1-个人 2-企业",
  29421. "type": "integer"
  29422. },
  29423. "username": {
  29424. "description": "用户名称",
  29425. "type": "string"
  29426. }
  29427. }
  29428. },
  29429. "models.QhjMgrBrokerRewardReport": {
  29430. "type": "object",
  29431. "properties": {
  29432. "createtime": {
  29433. "description": "创建时间(注册时间)",
  29434. "type": "string"
  29435. },
  29436. "cycletime": {
  29437. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】",
  29438. "type": "string"
  29439. },
  29440. "cycletype": {
  29441. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  29442. "type": "integer"
  29443. },
  29444. "directtotalnum": {
  29445. "description": "直推总人数【期末】",
  29446. "type": "integer"
  29447. },
  29448. "indirecttotalnum": {
  29449. "description": "间推总人数【期末】",
  29450. "type": "integer"
  29451. },
  29452. "mobile": {
  29453. "description": "电话号码",
  29454. "type": "string"
  29455. },
  29456. "refereeuserid": {
  29457. "description": "推荐人id(经纪人id)",
  29458. "type": "integer"
  29459. },
  29460. "refereeusername": {
  29461. "description": "推荐人名称(经纪人) 上级经纪人名称",
  29462. "type": "string"
  29463. },
  29464. "refernum": {
  29465. "description": "推荐码",
  29466. "type": "string"
  29467. },
  29468. "subarealevelpath": {
  29469. "description": "用户层级路径",
  29470. "type": "string"
  29471. },
  29472. "todayrewardamount": {
  29473. "description": "奖励总金额【汇总】",
  29474. "type": "number"
  29475. },
  29476. "updatetime": {
  29477. "description": "更新时间",
  29478. "type": "string"
  29479. },
  29480. "userid": {
  29481. "description": "经纪人用户ID",
  29482. "type": "integer"
  29483. },
  29484. "userinfotype": {
  29485. "description": "用户类型 1-个人 2-企业",
  29486. "type": "integer"
  29487. },
  29488. "username": {
  29489. "description": "用户名称",
  29490. "type": "string"
  29491. }
  29492. }
  29493. },
  29494. "models.QhjMgrContract": {
  29495. "type": "object",
  29496. "properties": {
  29497. "contractconfirmtime": {
  29498. "description": "合同确认时间(时间)",
  29499. "type": "string"
  29500. },
  29501. "currisklevel": {
  29502. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  29503. "type": "integer"
  29504. },
  29505. "decimalplace": {
  29506. "description": "商品报价小数位",
  29507. "type": "integer"
  29508. },
  29509. "enumdicname": {
  29510. "description": "单位名称",
  29511. "type": "string"
  29512. },
  29513. "goodscode": {
  29514. "description": "商品代码",
  29515. "type": "string"
  29516. },
  29517. "goodsid": {
  29518. "description": "商品ID [5:融资单]",
  29519. "type": "integer"
  29520. },
  29521. "goodsname": {
  29522. "description": "商品名称",
  29523. "type": "string"
  29524. },
  29525. "goodunitid": {
  29526. "description": "商品单位id",
  29527. "type": "integer"
  29528. },
  29529. "initmargin": {
  29530. "description": "初始保证金(首付款)",
  29531. "type": "number"
  29532. },
  29533. "lenderamount": {
  29534. "description": "贷款金额(总额|订单总额)",
  29535. "type": "number"
  29536. },
  29537. "logincode": {
  29538. "description": "账号(登录代码)",
  29539. "type": "string"
  29540. },
  29541. "marginratio": {
  29542. "description": "保证金比率(首付比例)",
  29543. "type": "number"
  29544. },
  29545. "mobile": {
  29546. "description": "电话号码(用户资料里的电话)",
  29547. "type": "string"
  29548. },
  29549. "payamount": {
  29550. "description": "已付(已付货款)",
  29551. "type": "number"
  29552. },
  29553. "reckonrecovermargin": {
  29554. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  29555. "type": "number"
  29556. },
  29557. "recoveredmargin": {
  29558. "description": "已追缴保证金",
  29559. "type": "number"
  29560. },
  29561. "remainamount": {
  29562. "description": "合同剩余金额(融资额)",
  29563. "type": "number"
  29564. },
  29565. "scfcontractid": {
  29566. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  29567. "type": "string"
  29568. },
  29569. "scfcontractstatus": {
  29570. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  29571. "type": "integer"
  29572. },
  29573. "scfcontracttype": {
  29574. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  29575. "type": "integer"
  29576. },
  29577. "totalinterest": {
  29578. "description": "已计总利息(利息)",
  29579. "type": "number"
  29580. },
  29581. "tradedate": {
  29582. "description": "交易日",
  29583. "type": "string"
  29584. },
  29585. "tradeprice": {
  29586. "description": "成交价格(成本价格)",
  29587. "type": "number"
  29588. },
  29589. "userid": {
  29590. "description": "用户ID",
  29591. "type": "integer"
  29592. },
  29593. "userinfotype": {
  29594. "description": "用户类型 1-个人 2-企业",
  29595. "type": "integer"
  29596. },
  29597. "username": {
  29598. "description": "用户名称",
  29599. "type": "string"
  29600. },
  29601. "wrqty": {
  29602. "description": "仓单数量(数量)",
  29603. "type": "number"
  29604. }
  29605. }
  29606. },
  29607. "models.QhjMgrCustomer": {
  29608. "type": "object",
  29609. "properties": {
  29610. "address": {
  29611. "description": "通讯地址",
  29612. "type": "string"
  29613. },
  29614. "attachment1": {
  29615. "description": "附件1",
  29616. "type": "string"
  29617. },
  29618. "audittime": {
  29619. "description": "审核时间",
  29620. "type": "string"
  29621. },
  29622. "birthday": {
  29623. "description": "生日",
  29624. "type": "string"
  29625. },
  29626. "brokerid": {
  29627. "description": "所属客户经理id",
  29628. "type": "integer"
  29629. },
  29630. "brokername": {
  29631. "description": "所属客户经理名称",
  29632. "type": "string"
  29633. },
  29634. "cardbackphotourl": {
  29635. "description": "证件反面图片地址",
  29636. "type": "string"
  29637. },
  29638. "cardfrontphotourl": {
  29639. "description": "证件正面图片地址",
  29640. "type": "string"
  29641. },
  29642. "cardnum": {
  29643. "description": "证件号码",
  29644. "type": "string"
  29645. },
  29646. "cardtype": {
  29647. "description": "证件类型",
  29648. "type": "integer"
  29649. },
  29650. "cardtypename": {
  29651. "description": "证件类型名称",
  29652. "type": "string"
  29653. },
  29654. "cityid": {
  29655. "description": "市",
  29656. "type": "integer"
  29657. },
  29658. "cityname": {
  29659. "description": "城市名称",
  29660. "type": "string"
  29661. },
  29662. "contactname": {
  29663. "description": "联系人",
  29664. "type": "string"
  29665. },
  29666. "countryid": {
  29667. "description": "国家",
  29668. "type": "integer"
  29669. },
  29670. "countryname": {
  29671. "description": "国家名称",
  29672. "type": "string"
  29673. },
  29674. "createtime": {
  29675. "description": "创建时间",
  29676. "type": "string"
  29677. },
  29678. "customername": {
  29679. "description": "客户名称",
  29680. "type": "string"
  29681. },
  29682. "districtid": {
  29683. "description": "区域",
  29684. "type": "integer"
  29685. },
  29686. "districtname": {
  29687. "description": "地区名称",
  29688. "type": "string"
  29689. },
  29690. "email": {
  29691. "description": "邮件",
  29692. "type": "string"
  29693. },
  29694. "legalpersonname": {
  29695. "description": "法人姓名(企业)",
  29696. "type": "string"
  29697. },
  29698. "logincode": {
  29699. "description": "登录账号(代码)",
  29700. "type": "string"
  29701. },
  29702. "memberuserid": {
  29703. "description": "所属机构ID(所属会员)",
  29704. "type": "integer"
  29705. },
  29706. "memberusername": {
  29707. "description": "所属会员名称",
  29708. "type": "string"
  29709. },
  29710. "mobile": {
  29711. "description": "手机号码",
  29712. "type": "string"
  29713. },
  29714. "modifytime": {
  29715. "description": "修改时间",
  29716. "type": "string"
  29717. },
  29718. "nickname": {
  29719. "description": "昵称",
  29720. "type": "string"
  29721. },
  29722. "parentuserid": {
  29723. "description": "上级机构(所属机构)",
  29724. "type": "integer"
  29725. },
  29726. "parentusername": {
  29727. "description": "所属机构名称",
  29728. "type": "string"
  29729. },
  29730. "provinceid": {
  29731. "description": "省",
  29732. "type": "integer"
  29733. },
  29734. "provincename": {
  29735. "description": "省名称",
  29736. "type": "string"
  29737. },
  29738. "proxystatementurl": {
  29739. "description": "授权委托书",
  29740. "type": "string"
  29741. },
  29742. "querytype": {
  29743. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  29744. "type": "integer"
  29745. },
  29746. "remark": {
  29747. "description": "备注",
  29748. "type": "string"
  29749. },
  29750. "sex": {
  29751. "description": "性别 0-女 1-男",
  29752. "type": "integer"
  29753. },
  29754. "status": {
  29755. "description": "开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过 ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  29756. "type": "integer"
  29757. },
  29758. "statusdesc": {
  29759. "description": "账户状态中文描述",
  29760. "type": "string"
  29761. },
  29762. "taxpayernum": {
  29763. "description": "纳税人识别号",
  29764. "type": "string"
  29765. },
  29766. "telphone": {
  29767. "description": "联系电话",
  29768. "type": "string"
  29769. },
  29770. "userid": {
  29771. "description": "用户ID",
  29772. "type": "integer"
  29773. },
  29774. "userinfotype": {
  29775. "description": "客户类型 1-个人 2-企业",
  29776. "type": "integer"
  29777. },
  29778. "username": {
  29779. "description": "用户名称",
  29780. "type": "string"
  29781. }
  29782. }
  29783. },
  29784. "models.QhjMgrPickGoods": {
  29785. "type": "object",
  29786. "properties": {
  29787. "enumdicname": {
  29788. "description": "单位名称(提货商品)",
  29789. "type": "string"
  29790. },
  29791. "goodsid": {
  29792. "description": "商品id",
  29793. "type": "integer"
  29794. },
  29795. "imageaddress": {
  29796. "description": "图片",
  29797. "type": "string"
  29798. },
  29799. "modifierid": {
  29800. "description": "修改人",
  29801. "type": "integer"
  29802. },
  29803. "modifiername": {
  29804. "description": "修改人名称",
  29805. "type": "string"
  29806. },
  29807. "modifysrc": {
  29808. "description": "修改来源 - 1:管理端 2:终端",
  29809. "type": "integer"
  29810. },
  29811. "pickupgoodsagreeunit": {
  29812. "description": "合约乘数",
  29813. "type": "number"
  29814. },
  29815. "pickupgoodsdesc": {
  29816. "description": "描述",
  29817. "type": "string"
  29818. },
  29819. "pickupgoodsid": {
  29820. "description": "提货商品ID",
  29821. "type": "string"
  29822. },
  29823. "pickupgoodsname": {
  29824. "description": "提货商品名称",
  29825. "type": "string"
  29826. },
  29827. "pickupgoodsstatus": {
  29828. "description": "状态 - 1:正常 2:停用 3:注销",
  29829. "type": "integer"
  29830. },
  29831. "pickupgoodsunitid": {
  29832. "description": "单位ID",
  29833. "type": "integer"
  29834. },
  29835. "pickupratio": {
  29836. "description": "提货系数",
  29837. "type": "number"
  29838. },
  29839. "preparedays": {
  29840. "description": "备货期(天)",
  29841. "type": "integer"
  29842. },
  29843. "remark": {
  29844. "description": "备注",
  29845. "type": "string"
  29846. },
  29847. "updatetime": {
  29848. "description": "更新时间",
  29849. "type": "string"
  29850. }
  29851. }
  29852. },
  29853. "models.QhjMgrPositionRsp": {
  29854. "type": "object",
  29855. "properties": {
  29856. "accountid": {
  29857. "description": "账号Id",
  29858. "type": "integer"
  29859. },
  29860. "accountname": {
  29861. "description": "用户名称",
  29862. "type": "string"
  29863. },
  29864. "agreeunit": {
  29865. "description": "合约乘数",
  29866. "type": "number"
  29867. },
  29868. "averageprice": {
  29869. "description": "均价",
  29870. "type": "number"
  29871. },
  29872. "avialqty": {
  29873. "description": "可用数量",
  29874. "type": "number"
  29875. },
  29876. "decimalplace": {
  29877. "description": "报价小数位",
  29878. "type": "integer"
  29879. },
  29880. "enumdicname": {
  29881. "description": "单位名称(商品)",
  29882. "type": "string"
  29883. },
  29884. "frozenqty": {
  29885. "description": "冻结数量",
  29886. "type": "number"
  29887. },
  29888. "goodscode": {
  29889. "description": "商品代码(内部)",
  29890. "type": "string"
  29891. },
  29892. "goodsid": {
  29893. "description": "商品Id",
  29894. "type": "integer"
  29895. },
  29896. "goodsname": {
  29897. "description": "商品名称",
  29898. "type": "string"
  29899. },
  29900. "goodunitid": {
  29901. "description": "报价单位ID",
  29902. "type": "integer"
  29903. },
  29904. "holderamount": {
  29905. "description": "金额",
  29906. "type": "number"
  29907. },
  29908. "holderqty": {
  29909. "description": "持有数量",
  29910. "type": "number"
  29911. },
  29912. "holdertype": {
  29913. "description": "持仓类别 - 1:单边持仓 2:双边持仓",
  29914. "type": "integer"
  29915. },
  29916. "logincode": {
  29917. "description": "登录代码(账户)",
  29918. "type": "string"
  29919. },
  29920. "marketid": {
  29921. "description": "市场id",
  29922. "type": "integer"
  29923. },
  29924. "qtydecimalplace": {
  29925. "description": "成交量小数位",
  29926. "type": "integer"
  29927. },
  29928. "trademode": {
  29929. "description": "交易模式",
  29930. "type": "integer"
  29931. },
  29932. "userid": {
  29933. "description": "用户id",
  29934. "type": "integer"
  29935. },
  29936. "userinfotype": {
  29937. "description": "账户类型 1-个人 2-企业",
  29938. "type": "integer"
  29939. }
  29940. }
  29941. },
  29942. "models.QhjMgrSubArea": {
  29943. "type": "object",
  29944. "properties": {
  29945. "accountname": {
  29946. "description": "账户名称(机构名称)",
  29947. "type": "string"
  29948. },
  29949. "memberuserid": {
  29950. "description": "所属会员ID",
  29951. "type": "integer"
  29952. },
  29953. "parenttopuser": {
  29954. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  29955. "type": "string"
  29956. },
  29957. "parentuserid": {
  29958. "description": "所属机构ID",
  29959. "type": "integer"
  29960. },
  29961. "rootuserid": {
  29962. "description": "根用户ID",
  29963. "type": "string"
  29964. },
  29965. "subaccountlevel": {
  29966. "description": "子账户层数",
  29967. "type": "integer"
  29968. },
  29969. "subarealevelpath": {
  29970. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  29971. "type": "string"
  29972. },
  29973. "userid": {
  29974. "description": "用户ID",
  29975. "type": "integer"
  29976. },
  29977. "usertype": {
  29978. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  29979. "type": "integer"
  29980. }
  29981. }
  29982. },
  29983. "models.QhjMgrTradeDetailRsp": {
  29984. "type": "object",
  29985. "properties": {
  29986. "accountid": {
  29987. "description": "资金账号",
  29988. "type": "integer"
  29989. },
  29990. "accountname": {
  29991. "description": "用户名称",
  29992. "type": "string"
  29993. },
  29994. "agreeunit": {
  29995. "description": "合约乘数",
  29996. "type": "number"
  29997. },
  29998. "buyorsell": {
  29999. "description": "成交类型(方向) 0:买 1:卖",
  30000. "type": "integer"
  30001. },
  30002. "decimalplace": {
  30003. "description": "报价小数位",
  30004. "type": "integer"
  30005. },
  30006. "enumdicname": {
  30007. "description": "单位名称(商品)",
  30008. "type": "string"
  30009. },
  30010. "goodscode": {
  30011. "description": "商品代码(内部)",
  30012. "type": "string"
  30013. },
  30014. "goodsid": {
  30015. "description": "商品id",
  30016. "type": "integer"
  30017. },
  30018. "goodsname": {
  30019. "description": "商品名称",
  30020. "type": "string"
  30021. },
  30022. "goodunitid": {
  30023. "description": "报价单位ID",
  30024. "type": "integer"
  30025. },
  30026. "logincode": {
  30027. "description": "登录代码(账户)",
  30028. "type": "string"
  30029. },
  30030. "marketid": {
  30031. "description": "市场id",
  30032. "type": "integer"
  30033. },
  30034. "orderid": {
  30035. "description": "关联委托单号",
  30036. "type": "string"
  30037. },
  30038. "qtydecimalplace": {
  30039. "description": "成交量小数位",
  30040. "type": "integer"
  30041. },
  30042. "tradeamount": {
  30043. "description": "金额",
  30044. "type": "number"
  30045. },
  30046. "tradedate": {
  30047. "description": "交易日",
  30048. "type": "string"
  30049. },
  30050. "tradeid": {
  30051. "description": "成交单号",
  30052. "type": "string"
  30053. },
  30054. "trademode": {
  30055. "description": "交易模式",
  30056. "type": "integer"
  30057. },
  30058. "tradeprice": {
  30059. "description": "价格",
  30060. "type": "number"
  30061. },
  30062. "tradeqty": {
  30063. "description": "数量",
  30064. "type": "number"
  30065. },
  30066. "tradetime": {
  30067. "description": "成交时间",
  30068. "type": "string"
  30069. },
  30070. "userid": {
  30071. "description": "用户id",
  30072. "type": "integer"
  30073. },
  30074. "userinfotype": {
  30075. "description": "账户类型 1-个人 2-企业",
  30076. "type": "integer"
  30077. }
  30078. }
  30079. },
  30080. "models.QhjMgrTradeOrderDetailRsp": {
  30081. "type": "object",
  30082. "properties": {
  30083. "accountid": {
  30084. "description": "资金账号",
  30085. "type": "integer"
  30086. },
  30087. "accountname": {
  30088. "description": "用户名称",
  30089. "type": "string"
  30090. },
  30091. "agreeunit": {
  30092. "description": "合约乘数",
  30093. "type": "number"
  30094. },
  30095. "amount": {
  30096. "description": "金额",
  30097. "type": "number"
  30098. },
  30099. "decimalplace": {
  30100. "description": "报价小数位",
  30101. "type": "integer"
  30102. },
  30103. "enumdicname": {
  30104. "description": "单位名称(商品)",
  30105. "type": "string"
  30106. },
  30107. "goodscode": {
  30108. "description": "商品代码(内部)",
  30109. "type": "string"
  30110. },
  30111. "goodsid": {
  30112. "description": "商品id",
  30113. "type": "integer"
  30114. },
  30115. "goodsname": {
  30116. "description": "商品名称",
  30117. "type": "string"
  30118. },
  30119. "goodunitid": {
  30120. "description": "报价单位ID",
  30121. "type": "integer"
  30122. },
  30123. "logincode": {
  30124. "description": "登录代码(账户)",
  30125. "type": "string"
  30126. },
  30127. "marketid": {
  30128. "description": "市场id",
  30129. "type": "integer"
  30130. },
  30131. "orderid": {
  30132. "description": "关联委托单号",
  30133. "type": "string"
  30134. },
  30135. "orderprice": {
  30136. "description": "价格",
  30137. "type": "number"
  30138. },
  30139. "orderqty": {
  30140. "description": "数量",
  30141. "type": "number"
  30142. },
  30143. "orderstatus": {
  30144. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  30145. "type": "integer"
  30146. },
  30147. "ordertime": {
  30148. "description": "委托时间",
  30149. "type": "string"
  30150. },
  30151. "qtydecimalplace": {
  30152. "description": "成交量小数位",
  30153. "type": "integer"
  30154. },
  30155. "tradedate": {
  30156. "description": "交易日",
  30157. "type": "string"
  30158. },
  30159. "trademode": {
  30160. "description": "交易模式",
  30161. "type": "integer"
  30162. },
  30163. "userid": {
  30164. "description": "用户id",
  30165. "type": "integer"
  30166. },
  30167. "userinfotype": {
  30168. "description": "账户类型 1-个人 2-企业",
  30169. "type": "integer"
  30170. }
  30171. }
  30172. },
  30173. "models.QhjMgrTradePayOrder": {
  30174. "type": "object",
  30175. "properties": {
  30176. "accountname": {
  30177. "description": "用户名称",
  30178. "type": "string"
  30179. },
  30180. "advanceratio": {
  30181. "description": "首付比率",
  30182. "type": "number"
  30183. },
  30184. "agreeunit": {
  30185. "description": "合约乘数",
  30186. "type": "number"
  30187. },
  30188. "buyaccountid": {
  30189. "description": "买方账号ID[报价币种]",
  30190. "type": "integer"
  30191. },
  30192. "buyorderid": {
  30193. "description": "买方委托单号(关联单号)",
  30194. "type": "string"
  30195. },
  30196. "createtime": {
  30197. "description": "创建时间",
  30198. "type": "string"
  30199. },
  30200. "decimalplace": {
  30201. "description": "报价小数位",
  30202. "type": "integer"
  30203. },
  30204. "enumdicname": {
  30205. "description": "单位名称(商品)",
  30206. "type": "string"
  30207. },
  30208. "goodscode": {
  30209. "description": "商品代码(内部)",
  30210. "type": "string"
  30211. },
  30212. "goodsid": {
  30213. "description": "商品ID",
  30214. "type": "integer"
  30215. },
  30216. "goodsname": {
  30217. "description": "商品名称",
  30218. "type": "string"
  30219. },
  30220. "goodunitid": {
  30221. "description": "报价单位ID",
  30222. "type": "integer"
  30223. },
  30224. "logincode": {
  30225. "description": "登录代码(账户)",
  30226. "type": "string"
  30227. },
  30228. "marketid": {
  30229. "description": "市场id",
  30230. "type": "integer"
  30231. },
  30232. "offamount": {
  30233. "description": "优惠金额",
  30234. "type": "number"
  30235. },
  30236. "operatetype": {
  30237. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  30238. "type": "integer"
  30239. },
  30240. "payamount": {
  30241. "description": "支付金额(金额)",
  30242. "type": "number"
  30243. },
  30244. "payflag": {
  30245. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  30246. "type": "integer"
  30247. },
  30248. "paylimitedtime": {
  30249. "description": "支付期限",
  30250. "type": "string"
  30251. },
  30252. "paytime": {
  30253. "description": "付款时间",
  30254. "type": "string"
  30255. },
  30256. "qtydecimalplace": {
  30257. "description": "成交量小数位",
  30258. "type": "integer"
  30259. },
  30260. "sellaccountid": {
  30261. "description": "卖方账号ID[报价币种]",
  30262. "type": "integer"
  30263. },
  30264. "sellorderid": {
  30265. "description": "卖方委托单号",
  30266. "type": "string"
  30267. },
  30268. "tradeamount": {
  30269. "description": "成交金额(优惠后金额)",
  30270. "type": "number"
  30271. },
  30272. "tradecharge": {
  30273. "description": "成交手续费(买方)",
  30274. "type": "number"
  30275. },
  30276. "tradedate": {
  30277. "description": "交易日(yyyyMMdd)",
  30278. "type": "string"
  30279. },
  30280. "tradeid": {
  30281. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  30282. "type": "string"
  30283. },
  30284. "trademode": {
  30285. "description": "交易模式",
  30286. "type": "integer"
  30287. },
  30288. "tradeprice": {
  30289. "description": "成交价格(价格)",
  30290. "type": "number"
  30291. },
  30292. "tradeqty": {
  30293. "description": "成交数量(数量)",
  30294. "type": "number"
  30295. },
  30296. "tradetime": {
  30297. "description": "成交时间",
  30298. "type": "string"
  30299. },
  30300. "userid": {
  30301. "description": "用户id",
  30302. "type": "integer"
  30303. },
  30304. "userinfotype": {
  30305. "description": "账户类型 1-个人 2-企业",
  30306. "type": "integer"
  30307. }
  30308. }
  30309. },
  30310. "models.QhjMyTeamEx": {
  30311. "type": "object",
  30312. "properties": {
  30313. "accountname": {
  30314. "description": "用户名称",
  30315. "type": "string"
  30316. },
  30317. "accountstatus": {
  30318. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  30319. "type": "integer"
  30320. },
  30321. "createtime": {
  30322. "description": "创建时间",
  30323. "type": "string"
  30324. },
  30325. "mobile": {
  30326. "description": "手机号码",
  30327. "type": "string"
  30328. },
  30329. "refereeuserid": {
  30330. "description": "推荐人id",
  30331. "type": "integer"
  30332. },
  30333. "refernum": {
  30334. "description": "推荐码",
  30335. "type": "string"
  30336. },
  30337. "subList": {
  30338. "type": "array",
  30339. "items": {
  30340. "$ref": "#/definitions/models.QhjMyTeamEx"
  30341. }
  30342. },
  30343. "userid": {
  30344. "description": "用户id",
  30345. "type": "integer"
  30346. },
  30347. "userinfotype": {
  30348. "description": "用户类型 1-个人 2-企业",
  30349. "type": "integer"
  30350. }
  30351. }
  30352. },
  30353. "models.QhjNodeAgreementConfig": {
  30354. "type": "object",
  30355. "properties": {
  30356. "agreementcontent": {
  30357. "description": "协议内容",
  30358. "type": "string"
  30359. },
  30360. "agreementid": {
  30361. "description": "协议ID",
  30362. "type": "integer"
  30363. },
  30364. "agreementname": {
  30365. "description": "协议名称",
  30366. "type": "string"
  30367. },
  30368. "agreementno": {
  30369. "description": "协议编号",
  30370. "type": "string"
  30371. },
  30372. "agreementtype": {
  30373. "description": "协议类型 - 1:注册 2:登录 3:交易",
  30374. "type": "integer"
  30375. },
  30376. "agreementversion": {
  30377. "description": "协议版本号",
  30378. "type": "integer"
  30379. },
  30380. "configid": {
  30381. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  30382. "type": "integer"
  30383. },
  30384. "createtime": {
  30385. "description": "创建时间",
  30386. "type": "string"
  30387. },
  30388. "goodsid": {
  30389. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  30390. "type": "integer"
  30391. },
  30392. "nodetype": {
  30393. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  30394. "type": "integer"
  30395. }
  30396. }
  30397. },
  30398. "models.QhjParentAreaList": {
  30399. "type": "object",
  30400. "properties": {
  30401. "accountname": {
  30402. "description": "账户名称(机构名称)",
  30403. "type": "string"
  30404. },
  30405. "userid": {
  30406. "description": "用户ID",
  30407. "type": "integer"
  30408. },
  30409. "usertype": {
  30410. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  30411. "type": "integer"
  30412. }
  30413. }
  30414. },
  30415. "models.QhjPayOrder": {
  30416. "type": "object",
  30417. "properties": {
  30418. "advanceratio": {
  30419. "description": "首付比率",
  30420. "type": "number"
  30421. },
  30422. "buyaccountid": {
  30423. "description": "买方账号ID[报价币种]",
  30424. "type": "integer"
  30425. },
  30426. "buyorderid": {
  30427. "description": "买方委托单号",
  30428. "type": "string"
  30429. },
  30430. "createtime": {
  30431. "description": "创建时间",
  30432. "type": "string"
  30433. },
  30434. "decimalplace": {
  30435. "description": "商品报价小数位",
  30436. "type": "integer"
  30437. },
  30438. "enumdicname": {
  30439. "description": "单位名称",
  30440. "type": "string"
  30441. },
  30442. "goodscode": {
  30443. "description": "商品代码",
  30444. "type": "string"
  30445. },
  30446. "goodsid": {
  30447. "description": "商品ID",
  30448. "type": "integer"
  30449. },
  30450. "goodsname": {
  30451. "description": "商品名称",
  30452. "type": "string"
  30453. },
  30454. "goodunitid": {
  30455. "description": "商品单位id",
  30456. "type": "integer"
  30457. },
  30458. "marketid": {
  30459. "description": "市场ID",
  30460. "type": "integer"
  30461. },
  30462. "offamount": {
  30463. "description": "优惠金额",
  30464. "type": "number"
  30465. },
  30466. "operatetype": {
  30467. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  30468. "type": "integer"
  30469. },
  30470. "payamount": {
  30471. "description": "支付金额",
  30472. "type": "number"
  30473. },
  30474. "payflag": {
  30475. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  30476. "type": "integer"
  30477. },
  30478. "paylimitedtime": {
  30479. "description": "支付期限",
  30480. "type": "string"
  30481. },
  30482. "paytime": {
  30483. "description": "付款时间",
  30484. "type": "string"
  30485. },
  30486. "qtydecimalplace": {
  30487. "description": "成交量小数位",
  30488. "type": "integer"
  30489. },
  30490. "sellaccountid": {
  30491. "description": "卖方账号ID[报价币种]",
  30492. "type": "integer"
  30493. },
  30494. "sellorderid": {
  30495. "description": "卖方委托单号",
  30496. "type": "string"
  30497. },
  30498. "tradeamount": {
  30499. "description": "成交金额(优惠后金额)",
  30500. "type": "number"
  30501. },
  30502. "tradecharge": {
  30503. "description": "成交手续费(买方)",
  30504. "type": "number"
  30505. },
  30506. "tradedate": {
  30507. "description": "交易日(yyyyMMdd)",
  30508. "type": "string"
  30509. },
  30510. "tradeid": {
  30511. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  30512. "type": "string"
  30513. },
  30514. "tradeprice": {
  30515. "description": "成交价格",
  30516. "type": "number"
  30517. },
  30518. "tradeqty": {
  30519. "description": "成交数量",
  30520. "type": "number"
  30521. }
  30522. }
  30523. },
  30524. "models.QhjPickArea": {
  30525. "type": "object",
  30526. "properties": {
  30527. "address": {
  30528. "description": "详细地址",
  30529. "type": "string"
  30530. },
  30531. "cityid": {
  30532. "description": "市",
  30533. "type": "integer"
  30534. },
  30535. "cityname": {
  30536. "description": "城市名称",
  30537. "type": "string"
  30538. },
  30539. "countryid": {
  30540. "description": "国家",
  30541. "type": "integer"
  30542. },
  30543. "countryname": {
  30544. "description": "国家名称",
  30545. "type": "string"
  30546. },
  30547. "districtid": {
  30548. "description": "地区",
  30549. "type": "integer"
  30550. },
  30551. "districtname": {
  30552. "description": "地区名称",
  30553. "type": "string"
  30554. },
  30555. "fromuserid": {
  30556. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  30557. "type": "integer"
  30558. },
  30559. "fromusername": {
  30560. "description": "所属机构名称",
  30561. "type": "string"
  30562. },
  30563. "provinceid": {
  30564. "description": "省",
  30565. "type": "integer"
  30566. },
  30567. "provincename": {
  30568. "description": "省名称",
  30569. "type": "string"
  30570. },
  30571. "suborgtype": {
  30572. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  30573. "type": "integer"
  30574. },
  30575. "userid": {
  30576. "description": "机构用户ID 其他做市关系,都设置为 1",
  30577. "type": "integer"
  30578. },
  30579. "username": {
  30580. "description": "机构用户名称(门店门称)",
  30581. "type": "string"
  30582. }
  30583. }
  30584. },
  30585. "models.QhjPickGoods": {
  30586. "type": "object",
  30587. "properties": {
  30588. "enumdicname": {
  30589. "description": "单位名称(提货商品)",
  30590. "type": "string"
  30591. },
  30592. "goodsid": {
  30593. "description": "商品id",
  30594. "type": "integer"
  30595. },
  30596. "imageaddress": {
  30597. "description": "图片",
  30598. "type": "string"
  30599. },
  30600. "modifierid": {
  30601. "description": "修改人",
  30602. "type": "integer"
  30603. },
  30604. "modifiername": {
  30605. "description": "修改人名称",
  30606. "type": "string"
  30607. },
  30608. "modifysrc": {
  30609. "description": "修改来源 - 1:管理端 2:终端",
  30610. "type": "integer"
  30611. },
  30612. "pickupgoodsagreeunit": {
  30613. "description": "合约乘数",
  30614. "type": "number"
  30615. },
  30616. "pickupgoodsdesc": {
  30617. "description": "描述",
  30618. "type": "string"
  30619. },
  30620. "pickupgoodsid": {
  30621. "description": "提货商品ID",
  30622. "type": "string"
  30623. },
  30624. "pickupgoodsname": {
  30625. "description": "提货商品名称",
  30626. "type": "string"
  30627. },
  30628. "pickupgoodsstatus": {
  30629. "description": "状态 - 1:正常 2:停用 3:注销",
  30630. "type": "integer"
  30631. },
  30632. "pickupgoodsunitid": {
  30633. "description": "单位ID",
  30634. "type": "integer"
  30635. },
  30636. "pickupratio": {
  30637. "description": "提货系数",
  30638. "type": "number"
  30639. },
  30640. "preparedays": {
  30641. "description": "备货期(天)",
  30642. "type": "integer"
  30643. },
  30644. "remark": {
  30645. "description": "备注",
  30646. "type": "string"
  30647. },
  30648. "updatetime": {
  30649. "description": "更新时间",
  30650. "type": "string"
  30651. }
  30652. }
  30653. },
  30654. "models.QhjRSTriggerLog": {
  30655. "type": "object",
  30656. "properties": {
  30657. "accountid": {
  30658. "description": "用户资金账户",
  30659. "type": "integer"
  30660. },
  30661. "accountname": {
  30662. "description": "账号名称(ACCOUNTID对应的名称)",
  30663. "type": "string"
  30664. },
  30665. "currencyid": {
  30666. "description": "币种id",
  30667. "type": "integer"
  30668. },
  30669. "currencyname": {
  30670. "description": "币种名称",
  30671. "type": "string"
  30672. },
  30673. "decimalplace": {
  30674. "description": "商品报价小数位",
  30675. "type": "integer"
  30676. },
  30677. "enumdicname": {
  30678. "description": "单位名称",
  30679. "type": "string"
  30680. },
  30681. "goodscode": {
  30682. "description": "定投商品代码",
  30683. "type": "string"
  30684. },
  30685. "goodsid": {
  30686. "description": "定投商品ID",
  30687. "type": "integer"
  30688. },
  30689. "goodsname": {
  30690. "description": "定投商品名称",
  30691. "type": "string"
  30692. },
  30693. "goodunitid": {
  30694. "description": "定投商品单位id",
  30695. "type": "integer"
  30696. },
  30697. "logid": {
  30698. "description": "LogID(SEQ_QHJ_RSTRIGGERLOG)",
  30699. "type": "string"
  30700. },
  30701. "logincode": {
  30702. "description": "账号(登录代码)",
  30703. "type": "string"
  30704. },
  30705. "qtydecimalplace": {
  30706. "description": "成交量小数位",
  30707. "type": "integer"
  30708. },
  30709. "regularlycycle": {
  30710. "description": "定投频率 - 1:每周 2:每月",
  30711. "type": "integer"
  30712. },
  30713. "regularlycyclevalue": {
  30714. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  30715. "type": "string"
  30716. },
  30717. "regularlymode": {
  30718. "description": "定投方式 - 1:按数量 2:按金额",
  30719. "type": "integer"
  30720. },
  30721. "regularlymodevalue": {
  30722. "description": "定投方式值 - 数量或金额",
  30723. "type": "number"
  30724. },
  30725. "regularlystrategyid": {
  30726. "description": "定投策略ID",
  30727. "type": "integer"
  30728. },
  30729. "retcode": {
  30730. "description": "错误码",
  30731. "type": "string"
  30732. },
  30733. "tradeid": {
  30734. "description": "成交单ID",
  30735. "type": "string"
  30736. },
  30737. "triggeramount": {
  30738. "description": "触发金额",
  30739. "type": "number"
  30740. },
  30741. "triggerqty": {
  30742. "description": "触发数量",
  30743. "type": "number"
  30744. },
  30745. "triggerstatus": {
  30746. "description": "触发状态 - 1:成功 2:失败",
  30747. "type": "integer"
  30748. },
  30749. "triggertime": {
  30750. "description": "触发时间",
  30751. "type": "string"
  30752. },
  30753. "triggertradedate": {
  30754. "description": "触发交易日",
  30755. "type": "string"
  30756. },
  30757. "userid": {
  30758. "description": "所属用户ID",
  30759. "type": "integer"
  30760. },
  30761. "userinfotype": {
  30762. "description": "用户类型 1-个人 2-企业",
  30763. "type": "integer"
  30764. },
  30765. "username": {
  30766. "description": "用户名称(userid对应的名称)",
  30767. "type": "string"
  30768. }
  30769. }
  30770. },
  30771. "models.QhjRStrategy": {
  30772. "type": "object",
  30773. "properties": {
  30774. "accountid": {
  30775. "description": "用户资金账户",
  30776. "type": "integer"
  30777. },
  30778. "accountname": {
  30779. "description": "账号名称(ACCOUNTID对应的名称)",
  30780. "type": "string"
  30781. },
  30782. "currencyid": {
  30783. "description": "币种id",
  30784. "type": "integer"
  30785. },
  30786. "currencyname": {
  30787. "description": "币种名称",
  30788. "type": "string"
  30789. },
  30790. "decimalplace": {
  30791. "description": "商品报价小数位",
  30792. "type": "integer"
  30793. },
  30794. "enumdicname": {
  30795. "description": "单位名称",
  30796. "type": "string"
  30797. },
  30798. "goodscode": {
  30799. "description": "定投商品代码",
  30800. "type": "string"
  30801. },
  30802. "goodsid": {
  30803. "description": "定投商品ID",
  30804. "type": "integer"
  30805. },
  30806. "goodsname": {
  30807. "description": "定投商品名称",
  30808. "type": "string"
  30809. },
  30810. "goodunitid": {
  30811. "description": "定投商品单位id",
  30812. "type": "integer"
  30813. },
  30814. "lasteffecttradedate": {
  30815. "description": "最新生效交易日",
  30816. "type": "string"
  30817. },
  30818. "laststoptradedate": {
  30819. "description": "最新暂停交易日",
  30820. "type": "string"
  30821. },
  30822. "lasttriggertradedate": {
  30823. "description": "最新触发交易日",
  30824. "type": "string"
  30825. },
  30826. "logincode": {
  30827. "description": "账号(登录代码)",
  30828. "type": "string"
  30829. },
  30830. "nexttriggeramount": {
  30831. "description": "下次触发金额",
  30832. "type": "number"
  30833. },
  30834. "nexttriggerdate": {
  30835. "description": "下次触发日期",
  30836. "type": "string"
  30837. },
  30838. "nexttriggerqty": {
  30839. "description": "下次触发数量 [按小数位放大值]",
  30840. "type": "number"
  30841. },
  30842. "qtydecimalplace": {
  30843. "description": "成交量小数位",
  30844. "type": "integer"
  30845. },
  30846. "regularlycycle": {
  30847. "description": "定投频率 - 1:每周 2:每月",
  30848. "type": "integer"
  30849. },
  30850. "regularlycyclevalue": {
  30851. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  30852. "type": "string"
  30853. },
  30854. "regularlymode": {
  30855. "description": "定投方式 - 1:按数量 2:按金额",
  30856. "type": "integer"
  30857. },
  30858. "regularlymodevalue": {
  30859. "description": "定投方式值 - 数量或金额",
  30860. "type": "number"
  30861. },
  30862. "regularlystrategyid": {
  30863. "description": "定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)",
  30864. "type": "integer"
  30865. },
  30866. "regularlystrategystatus": {
  30867. "description": "策略状态 - 1:正常 2:暂停 3:终止",
  30868. "type": "integer"
  30869. },
  30870. "remark": {
  30871. "description": "备注",
  30872. "type": "string"
  30873. },
  30874. "triggersuccesstimes": {
  30875. "description": "累计定投成功次数",
  30876. "type": "string"
  30877. },
  30878. "triggertotalamount": {
  30879. "description": "累计定投金额(成功)",
  30880. "type": "number"
  30881. },
  30882. "triggertotalqty": {
  30883. "description": "累计定投数量(成功) [按小数位放大值]",
  30884. "type": "number"
  30885. },
  30886. "triggertotaltimes": {
  30887. "description": "累计定投总次数",
  30888. "type": "string"
  30889. },
  30890. "updatesrc": {
  30891. "description": "更新来源 - 1:管理端 2:终端",
  30892. "type": "integer"
  30893. },
  30894. "updatetime": {
  30895. "description": "更新时间",
  30896. "type": "string"
  30897. },
  30898. "updatorid": {
  30899. "description": "更新人",
  30900. "type": "string"
  30901. },
  30902. "userid": {
  30903. "description": "所属用户ID",
  30904. "type": "integer"
  30905. },
  30906. "userinfotype": {
  30907. "description": "用户类型 1-个人 2-企业",
  30908. "type": "integer"
  30909. },
  30910. "username": {
  30911. "description": "用户名称(userid对应的名称)",
  30912. "type": "string"
  30913. }
  30914. }
  30915. },
  30916. "models.QhjReckonPriceLog": {
  30917. "type": "object",
  30918. "properties": {
  30919. "decimalplace": {
  30920. "description": "商品报价小数位",
  30921. "type": "integer"
  30922. },
  30923. "goodscode": {
  30924. "description": "商品代码",
  30925. "type": "string"
  30926. },
  30927. "goodsid": {
  30928. "description": "商品ID",
  30929. "type": "integer"
  30930. },
  30931. "goodsname": {
  30932. "description": "商品名称",
  30933. "type": "string"
  30934. },
  30935. "lastreckonprice": {
  30936. "description": "上日结算价",
  30937. "type": "number"
  30938. },
  30939. "nextdnlimitprice": {
  30940. "description": "下个交易日跌停价",
  30941. "type": "number"
  30942. },
  30943. "nexttrade": {
  30944. "description": "下个交易日",
  30945. "type": "string"
  30946. },
  30947. "nextuplimitprice": {
  30948. "description": "下个交易日涨停价",
  30949. "type": "number"
  30950. },
  30951. "reckonprice": {
  30952. "description": "今日结算价(定投价)",
  30953. "type": "number"
  30954. },
  30955. "reckontime": {
  30956. "description": "结算时间",
  30957. "type": "string"
  30958. },
  30959. "totalholderqty": {
  30960. "description": "总持仓数",
  30961. "type": "integer"
  30962. },
  30963. "totalstock": {
  30964. "description": "总库存",
  30965. "type": "integer"
  30966. },
  30967. "tradedate": {
  30968. "description": "交易日",
  30969. "type": "string"
  30970. },
  30971. "updowncount": {
  30972. "description": "连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)",
  30973. "type": "integer"
  30974. },
  30975. "updownflag": {
  30976. "description": "连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停",
  30977. "type": "integer"
  30978. },
  30979. "updownrate": {
  30980. "description": "今日涨跌幅",
  30981. "type": "number"
  30982. },
  30983. "updownrate_2d": {
  30984. "description": "连续两日涨跌幅",
  30985. "type": "number"
  30986. },
  30987. "updownrate_3d": {
  30988. "description": "连续三日涨跌幅",
  30989. "type": "number"
  30990. }
  30991. }
  30992. },
  30993. "models.QhjScoreLog": {
  30994. "type": "object",
  30995. "properties": {
  30996. "accountid": {
  30997. "description": "账户ID",
  30998. "type": "integer"
  30999. },
  31000. "createtime": {
  31001. "description": "创建时间(时间)",
  31002. "type": "string"
  31003. },
  31004. "goodsid": {
  31005. "description": "商品ID",
  31006. "type": "integer"
  31007. },
  31008. "hasuploaded": {
  31009. "description": "是否已同步(千海金) 0:未同步 1;已同步",
  31010. "type": "integer"
  31011. },
  31012. "logid": {
  31013. "description": "流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  31014. "type": "string"
  31015. },
  31016. "marketid": {
  31017. "description": "市场ID",
  31018. "type": "integer"
  31019. },
  31020. "relatedamount": {
  31021. "description": "关联金额",
  31022. "type": "number"
  31023. },
  31024. "relatedorderid": {
  31025. "description": "关联单号(ScoreType=1为Trade_GoodsPickup)",
  31026. "type": "string"
  31027. },
  31028. "scoreconfigvalue1": {
  31029. "description": "积分配置1",
  31030. "type": "integer"
  31031. },
  31032. "scoreconfigvalue2": {
  31033. "description": "积分配置1",
  31034. "type": "integer"
  31035. },
  31036. "scoretype": {
  31037. "description": "积分类型 - 1:提货积分",
  31038. "type": "integer"
  31039. },
  31040. "scorevalue": {
  31041. "description": "积分",
  31042. "type": "number"
  31043. },
  31044. "tradedate": {
  31045. "description": "交易日(yyyyMMdd)",
  31046. "type": "string"
  31047. },
  31048. "uploadedtime": {
  31049. "description": "同步时间",
  31050. "type": "string"
  31051. },
  31052. "userid": {
  31053. "description": "用户ID",
  31054. "type": "integer"
  31055. }
  31056. }
  31057. },
  31058. "models.QhjSiteColumnDetail": {
  31059. "type": "object",
  31060. "properties": {
  31061. "author": {
  31062. "description": "作者",
  31063. "type": "string"
  31064. },
  31065. "brief": {
  31066. "description": "简介",
  31067. "type": "string"
  31068. },
  31069. "columnid": {
  31070. "description": "所属栏目",
  31071. "type": "integer"
  31072. },
  31073. "context": {
  31074. "description": "内容",
  31075. "type": "string"
  31076. },
  31077. "coverimage": {
  31078. "description": "封面图片",
  31079. "type": "string"
  31080. },
  31081. "creaedate": {
  31082. "description": "创建时间",
  31083. "type": "string"
  31084. },
  31085. "creatorid": {
  31086. "description": "创建人",
  31087. "type": "integer"
  31088. },
  31089. "hits": {
  31090. "description": "点击数",
  31091. "type": "integer"
  31092. },
  31093. "id": {
  31094. "description": "ID(SEQ_SITE_COLUMNDETAIL)",
  31095. "type": "integer"
  31096. },
  31097. "isshow": {
  31098. "description": "是否展示 - 0:不展示 1:展示",
  31099. "type": "integer"
  31100. },
  31101. "istop": {
  31102. "description": "是否置顶 - 0:不置 1:置顶",
  31103. "type": "integer"
  31104. },
  31105. "modifierid": {
  31106. "description": "操作人",
  31107. "type": "integer"
  31108. },
  31109. "publishdate": {
  31110. "description": "发布日期",
  31111. "type": "string"
  31112. },
  31113. "status": {
  31114. "description": "状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝",
  31115. "type": "integer"
  31116. },
  31117. "title": {
  31118. "description": "标题",
  31119. "type": "string"
  31120. },
  31121. "updatedate": {
  31122. "description": "修改时间",
  31123. "type": "string"
  31124. },
  31125. "userid": {
  31126. "description": "用户ID(默认为0, 核心为为机构用户ID)",
  31127. "type": "integer"
  31128. },
  31129. "username": {
  31130. "description": "用户名称",
  31131. "type": "string"
  31132. }
  31133. }
  31134. },
  31135. "models.QhjTeamOrder": {
  31136. "type": "object",
  31137. "properties": {
  31138. "accountid": {
  31139. "description": "账户ID[报价币种]",
  31140. "type": "integer"
  31141. },
  31142. "accountname": {
  31143. "description": "账户名称",
  31144. "type": "string"
  31145. },
  31146. "agreeunit": {
  31147. "description": "合约乘数",
  31148. "type": "number"
  31149. },
  31150. "buyorsell": {
  31151. "description": "方向 - 0:买 1:卖",
  31152. "type": "integer"
  31153. },
  31154. "decimalplace": {
  31155. "description": "报价小数位",
  31156. "type": "integer"
  31157. },
  31158. "enumdicname": {
  31159. "description": "单位名称",
  31160. "type": "string"
  31161. },
  31162. "goodscode": {
  31163. "description": "商品代码(内部)",
  31164. "type": "string"
  31165. },
  31166. "goodsid": {
  31167. "description": "商品ID",
  31168. "type": "integer"
  31169. },
  31170. "goodsname": {
  31171. "description": "商品名称",
  31172. "type": "string"
  31173. },
  31174. "goodunitid": {
  31175. "description": "报价单位ID",
  31176. "type": "integer"
  31177. },
  31178. "marketid": {
  31179. "description": "市场ID",
  31180. "type": "integer"
  31181. },
  31182. "marketname": {
  31183. "description": "市场名称",
  31184. "type": "string"
  31185. },
  31186. "qtydecimalplace": {
  31187. "description": "成交量小数位",
  31188. "type": "integer"
  31189. },
  31190. "refereeuserid": {
  31191. "description": "推荐人ID",
  31192. "type": "integer"
  31193. },
  31194. "tradeamount": {
  31195. "description": "成交金额[账户币种,用于所有权]",
  31196. "type": "number"
  31197. },
  31198. "tradedate": {
  31199. "description": "交易日(yyyyMMdd)",
  31200. "type": "string"
  31201. },
  31202. "trademode": {
  31203. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  31204. "type": "integer"
  31205. },
  31206. "tradeprice": {
  31207. "description": "成交价格",
  31208. "type": "number"
  31209. },
  31210. "tradeqty": {
  31211. "description": "成交数量",
  31212. "type": "number"
  31213. },
  31214. "tradetime": {
  31215. "description": "成交时间",
  31216. "type": "string"
  31217. },
  31218. "userid": {
  31219. "description": "用户ID",
  31220. "type": "integer"
  31221. }
  31222. }
  31223. },
  31224. "models.QhjTradeGoodsPickup": {
  31225. "type": "object",
  31226. "properties": {
  31227. "accountid": {
  31228. "description": "账户ID",
  31229. "type": "integer"
  31230. },
  31231. "address": {
  31232. "description": "提货人详细地址",
  31233. "type": "string"
  31234. },
  31235. "amount": {
  31236. "description": "提货金额",
  31237. "type": "number"
  31238. },
  31239. "artradedate": {
  31240. "description": "自动收货交易日(yyyyMMdd)",
  31241. "type": "string"
  31242. },
  31243. "auditer": {
  31244. "description": "审核人",
  31245. "type": "integer"
  31246. },
  31247. "auditsrc": {
  31248. "description": "更新来源 - 1:管理端 2:终端",
  31249. "type": "integer"
  31250. },
  31251. "audittime": {
  31252. "description": "审核时间(发货时间 | 备货完成时间 都是这个字段)",
  31253. "type": "string"
  31254. },
  31255. "audittradedate": {
  31256. "description": "审核交易日(yyyyMMdd)",
  31257. "type": "string"
  31258. },
  31259. "cardnum": {
  31260. "description": "提货人证件号码",
  31261. "type": "string"
  31262. },
  31263. "cardtypeid": {
  31264. "description": "提货人证件类型",
  31265. "type": "integer"
  31266. },
  31267. "checkremark": {
  31268. "description": "审核备注",
  31269. "type": "string"
  31270. },
  31271. "cityid": {
  31272. "description": "市",
  31273. "type": "integer"
  31274. },
  31275. "cityname": {
  31276. "description": "城市名称",
  31277. "type": "string"
  31278. },
  31279. "confirmtime": {
  31280. "description": "取货时间 或 收货时间",
  31281. "type": "string"
  31282. },
  31283. "countryid": {
  31284. "description": "国家",
  31285. "type": "integer"
  31286. },
  31287. "countryname": {
  31288. "description": "国家名称",
  31289. "type": "string"
  31290. },
  31291. "decimalplace": {
  31292. "description": "商品报价小数位",
  31293. "type": "integer"
  31294. },
  31295. "districtid": {
  31296. "description": "地区",
  31297. "type": "integer"
  31298. },
  31299. "districtname": {
  31300. "description": "地区名称",
  31301. "type": "string"
  31302. },
  31303. "enumdicname": {
  31304. "description": "单位名称(提货商品)",
  31305. "type": "string"
  31306. },
  31307. "expresscompany": {
  31308. "description": "物流公司",
  31309. "type": "string"
  31310. },
  31311. "expressnum": {
  31312. "description": "物流单号",
  31313. "type": "string"
  31314. },
  31315. "goodsagreeunit": {
  31316. "description": "交易商品乘数",
  31317. "type": "number"
  31318. },
  31319. "goodscode": {
  31320. "description": "商品代码",
  31321. "type": "string"
  31322. },
  31323. "goodsid": {
  31324. "description": "商品ID",
  31325. "type": "integer"
  31326. },
  31327. "goodsname": {
  31328. "description": "商品名称",
  31329. "type": "string"
  31330. },
  31331. "goodsqty": {
  31332. "description": "交易商品手数(69模式按成交量小数位放大取整)",
  31333. "type": "number"
  31334. },
  31335. "handlestatus": {
  31336. "description": "处理状态",
  31337. "type": "integer"
  31338. },
  31339. "logincode": {
  31340. "description": "账号(登录代码, 有可能为空)",
  31341. "type": "string"
  31342. },
  31343. "marketid": {
  31344. "description": "市场ID",
  31345. "type": "integer"
  31346. },
  31347. "phonenum": {
  31348. "description": "提货人联系方式",
  31349. "type": "string"
  31350. },
  31351. "pickupgoodsagreeunit": {
  31352. "description": "提货商品合约乘数",
  31353. "type": "number"
  31354. },
  31355. "pickupgoodsid": {
  31356. "description": "提货商品ID",
  31357. "type": "string"
  31358. },
  31359. "pickupgoodsname": {
  31360. "description": "提货商品名称",
  31361. "type": "string"
  31362. },
  31363. "pickupgoodsqty": {
  31364. "description": "提货商品手数(数量)",
  31365. "type": "number"
  31366. },
  31367. "pickupgoodsunitid": {
  31368. "description": "单位ID(提货商品)",
  31369. "type": "integer"
  31370. },
  31371. "pickupratio": {
  31372. "description": "提货系数",
  31373. "type": "number"
  31374. },
  31375. "preparedays": {
  31376. "description": "备货期(天)-提货单明细表",
  31377. "type": "integer"
  31378. },
  31379. "provinceid": {
  31380. "description": "省",
  31381. "type": "integer"
  31382. },
  31383. "provincename": {
  31384. "description": "省名称",
  31385. "type": "string"
  31386. },
  31387. "qty": {
  31388. "description": "交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总",
  31389. "type": "number"
  31390. },
  31391. "qtydecimalplace": {
  31392. "description": "商品数量小数位",
  31393. "type": "integer"
  31394. },
  31395. "recivername": {
  31396. "description": "提货人姓名",
  31397. "type": "string"
  31398. },
  31399. "reqtime": {
  31400. "description": "提货申请时间",
  31401. "type": "string"
  31402. },
  31403. "storeuserid": {
  31404. "description": "门店用户ID (千海金)",
  31405. "type": "integer"
  31406. },
  31407. "storeusername": {
  31408. "description": "门店用户名称",
  31409. "type": "string"
  31410. },
  31411. "takemode": {
  31412. "description": "提货方式 - 2:自提 3:配送(邮寄)",
  31413. "type": "integer"
  31414. },
  31415. "takeorderid": {
  31416. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  31417. "type": "string"
  31418. },
  31419. "takeorderstatus": {
  31420. "description": "提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  31421. "type": "integer"
  31422. },
  31423. "takeremark": {
  31424. "description": "提货备注",
  31425. "type": "string"
  31426. },
  31427. "tradedate": {
  31428. "description": "交易日(yyyyMMdd)",
  31429. "type": "string"
  31430. },
  31431. "updatetime": {
  31432. "description": "更新时间",
  31433. "type": "string"
  31434. },
  31435. "userid": {
  31436. "description": "用户ID",
  31437. "type": "integer"
  31438. },
  31439. "userinfotype": {
  31440. "description": "客户类型 1-个人 2-企业",
  31441. "type": "integer"
  31442. },
  31443. "username": {
  31444. "description": "用户名称",
  31445. "type": "string"
  31446. }
  31447. }
  31448. },
  31449. "models.QhjUserNodeCfgAndStatus": {
  31450. "type": "object",
  31451. "properties": {
  31452. "agreementcontent": {
  31453. "description": "协议内容",
  31454. "type": "string"
  31455. },
  31456. "agreementid": {
  31457. "description": "协议ID",
  31458. "type": "integer"
  31459. },
  31460. "agreementname": {
  31461. "description": "协议名称",
  31462. "type": "string"
  31463. },
  31464. "agreementno": {
  31465. "description": "协议编号",
  31466. "type": "string"
  31467. },
  31468. "agreementtype": {
  31469. "description": "协议类型 - 1:注册 2:登录 3:交易",
  31470. "type": "integer"
  31471. },
  31472. "agreementversion": {
  31473. "description": "协议版本号",
  31474. "type": "integer"
  31475. },
  31476. "configid": {
  31477. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  31478. "type": "integer"
  31479. },
  31480. "createtime": {
  31481. "description": "创建时间",
  31482. "type": "string"
  31483. },
  31484. "goodsid": {
  31485. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  31486. "type": "integer"
  31487. },
  31488. "nodetype": {
  31489. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  31490. "type": "integer"
  31491. },
  31492. "signtimestamp": {
  31493. "description": "签约状态时间戳(最近一次)",
  31494. "type": "string"
  31495. },
  31496. "tradedate": {
  31497. "description": "签约交易日(yyyyMMdd)",
  31498. "type": "string"
  31499. },
  31500. "userid": {
  31501. "description": "客户ID",
  31502. "type": "integer"
  31503. }
  31504. }
  31505. },
  31506. "models.Qhjgoodsex": {
  31507. "type": "object",
  31508. "properties": {
  31509. "canfinance": {
  31510. "description": "是否支持融资 - 0:不支持 1:支持【69:铂金宝】",
  31511. "type": "integer"
  31512. },
  31513. "canregularlybuy": {
  31514. "description": "是否支持定投 - 0:不支持 1:支持【69:铂金宝】",
  31515. "type": "integer"
  31516. },
  31517. "defaulttradeuserid": {
  31518. "description": "默认交易用户ID",
  31519. "type": "integer"
  31520. },
  31521. "deliverygoodsid": {
  31522. "description": "现货品种ID",
  31523. "type": "integer"
  31524. },
  31525. "goodsid": {
  31526. "description": "商品ID(自增ID SEQ_GOODS)",
  31527. "type": "integer"
  31528. },
  31529. "minamount": {
  31530. "description": "最小购买金额",
  31531. "type": "number"
  31532. },
  31533. "regularlybuyminamount": {
  31534. "description": "定投最小金额",
  31535. "type": "number"
  31536. },
  31537. "regularlybuyminqty": {
  31538. "description": "定投最小数量",
  31539. "type": "number"
  31540. },
  31541. "spotgoodsbrandid": {
  31542. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\"",
  31543. "type": "integer"
  31544. },
  31545. "visibilityforenterprise": {
  31546. "description": "企业客户是否可见 - 0:不可见 1:可见",
  31547. "type": "integer"
  31548. },
  31549. "visibilityforpersonal": {
  31550. "description": "个人客户是否可见 - 0:不可见 1:可见",
  31551. "type": "integer"
  31552. },
  31553. "wrstandardid": {
  31554. "description": "现货商品ID",
  31555. "type": "integer"
  31556. }
  31557. }
  31558. },
  31559. "models.QueryErrorInfosRsp": {
  31560. "type": "object",
  31561. "required": [
  31562. "errorid"
  31563. ],
  31564. "properties": {
  31565. "description": {
  31566. "description": "异常描述",
  31567. "type": "string"
  31568. },
  31569. "errorcode": {
  31570. "description": "异常代码",
  31571. "type": "string"
  31572. },
  31573. "errorid": {
  31574. "description": "异常ID",
  31575. "type": "integer"
  31576. },
  31577. "modulecode": {
  31578. "description": "所属模块",
  31579. "type": "string"
  31580. },
  31581. "operatecode": {
  31582. "description": "所属操作",
  31583. "type": "string"
  31584. },
  31585. "rownumber": {
  31586. "description": "行号",
  31587. "type": "string"
  31588. }
  31589. }
  31590. },
  31591. "models.QueryHedgeOrderDetailRsp": {
  31592. "type": "object",
  31593. "properties": {
  31594. "accountid": {
  31595. "description": "账户ID",
  31596. "type": "integer"
  31597. },
  31598. "buyorsell": {
  31599. "description": "买卖 - 0:买 1:卖",
  31600. "type": "integer"
  31601. },
  31602. "cancellogincode": {
  31603. "description": "撤单人",
  31604. "type": "string"
  31605. },
  31606. "channelbuildtype": {
  31607. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  31608. "type": "integer"
  31609. },
  31610. "channelinnerorderstatus": {
  31611. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  31612. "type": "integer"
  31613. },
  31614. "channeloperatetype": {
  31615. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  31616. "type": "integer"
  31617. },
  31618. "closetype": {
  31619. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  31620. "type": "integer"
  31621. },
  31622. "curexchangerate": {
  31623. "description": "当前汇率",
  31624. "type": "number"
  31625. },
  31626. "exchangefullname": {
  31627. "description": "外部交易所全称",
  31628. "type": "string"
  31629. },
  31630. "goodscode": {
  31631. "description": "商品代码(内部)",
  31632. "type": "string"
  31633. },
  31634. "goodsid": {
  31635. "description": "商品ID",
  31636. "type": "integer"
  31637. },
  31638. "goodsname": {
  31639. "description": "商品名称",
  31640. "type": "string"
  31641. },
  31642. "marketid": {
  31643. "description": "市场ID",
  31644. "type": "integer"
  31645. },
  31646. "openfreezemargin": {
  31647. "description": "冻结保证金(冻结交易金额)",
  31648. "type": "number"
  31649. },
  31650. "orderid": {
  31651. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  31652. "type": "string"
  31653. },
  31654. "orderlogincode": {
  31655. "description": "委托人",
  31656. "type": "string"
  31657. },
  31658. "orderprice": {
  31659. "description": "委托价格(账户)",
  31660. "type": "number"
  31661. },
  31662. "orderqty": {
  31663. "description": "委托数量",
  31664. "type": "integer"
  31665. },
  31666. "ordertime": {
  31667. "description": "委托时间",
  31668. "type": "string"
  31669. },
  31670. "pricemode": {
  31671. "description": "取价方式 - 1:市价 2: 限价",
  31672. "type": "integer"
  31673. },
  31674. "tradedate": {
  31675. "description": "交易日(yyyyMMdd)",
  31676. "type": "string"
  31677. },
  31678. "tradeqty": {
  31679. "description": "成交数量",
  31680. "type": "integer"
  31681. }
  31682. }
  31683. },
  31684. "models.QueryHedgeTradeDetailRsp": {
  31685. "type": "object",
  31686. "properties": {
  31687. "accountid": {
  31688. "description": "账号ID",
  31689. "type": "integer"
  31690. },
  31691. "buyorsell": {
  31692. "description": "方向 - 0:买 1:卖",
  31693. "type": "integer"
  31694. },
  31695. "channelbuildtype": {
  31696. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  31697. "type": "integer"
  31698. },
  31699. "closecharge": {
  31700. "description": "平仓手续费(账户)",
  31701. "type": "number"
  31702. },
  31703. "closecharge2": {
  31704. "description": "平仓手续费(商品)",
  31705. "type": "number"
  31706. },
  31707. "closepl": {
  31708. "description": "平仓盈亏(账户)",
  31709. "type": "number"
  31710. },
  31711. "closepl2": {
  31712. "description": "平仓盈亏(商品)",
  31713. "type": "number"
  31714. },
  31715. "closepl3": {
  31716. "description": "平仓盈亏(账户)(逐笔)",
  31717. "type": "number"
  31718. },
  31719. "closepl4": {
  31720. "description": "平仓盈亏(商品)(逐笔)",
  31721. "type": "number"
  31722. },
  31723. "closetype": {
  31724. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  31725. "type": "integer"
  31726. },
  31727. "curexchangerate": {
  31728. "description": "当前汇率",
  31729. "type": "number"
  31730. },
  31731. "exchangefullname": {
  31732. "description": "外部交易所全称",
  31733. "type": "string"
  31734. },
  31735. "goodscode": {
  31736. "description": "商品代码(内部)",
  31737. "type": "string"
  31738. },
  31739. "goodsid": {
  31740. "description": "商品ID",
  31741. "type": "integer"
  31742. },
  31743. "goodsname": {
  31744. "description": "商品名称",
  31745. "type": "string"
  31746. },
  31747. "marketid": {
  31748. "description": "市场ID",
  31749. "type": "integer"
  31750. },
  31751. "opencharge": {
  31752. "description": "建仓手续费(账户)",
  31753. "type": "number"
  31754. },
  31755. "opencharge2": {
  31756. "description": "建仓手续费(商品)",
  31757. "type": "number"
  31758. },
  31759. "orderid": {
  31760. "description": "委托单号",
  31761. "type": "string"
  31762. },
  31763. "orderlogincode": {
  31764. "description": "委托人",
  31765. "type": "string"
  31766. },
  31767. "tradeamount": {
  31768. "description": "成交金额(账户)",
  31769. "type": "number"
  31770. },
  31771. "tradedate": {
  31772. "description": "交易日(yyyyMMdd)",
  31773. "type": "string"
  31774. },
  31775. "tradeid": {
  31776. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  31777. "type": "string"
  31778. },
  31779. "tradeprice": {
  31780. "description": "成交价格",
  31781. "type": "number"
  31782. },
  31783. "tradeqty": {
  31784. "description": "成交数量",
  31785. "type": "integer"
  31786. },
  31787. "tradetime": {
  31788. "description": "成交时间",
  31789. "type": "string"
  31790. },
  31791. "tradetype": {
  31792. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  31793. "type": "integer"
  31794. }
  31795. }
  31796. },
  31797. "models.QuotePrimaryMenu": {
  31798. "type": "object",
  31799. "properties": {
  31800. "Index": {
  31801. "description": "序号",
  31802. "type": "integer"
  31803. },
  31804. "Key": {
  31805. "description": "键名",
  31806. "type": "string"
  31807. },
  31808. "Name": {
  31809. "description": "菜单名称",
  31810. "type": "string"
  31811. },
  31812. "SubMenus": {
  31813. "description": "子菜单",
  31814. "type": "array",
  31815. "items": {
  31816. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  31817. }
  31818. },
  31819. "SubTitleType": {
  31820. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  31821. "type": "integer"
  31822. },
  31823. "TradeModes": {
  31824. "description": "包含市场交易类型",
  31825. "type": "string"
  31826. }
  31827. }
  31828. },
  31829. "models.QuoteSecondaryMenu": {
  31830. "type": "object",
  31831. "properties": {
  31832. "ExExchangeCode": {
  31833. "description": "外部交易所代码",
  31834. "type": "string"
  31835. },
  31836. "ExExchangeID": {
  31837. "description": "外部交易所ID",
  31838. "type": "integer"
  31839. },
  31840. "GoodsGroupIDs": {
  31841. "description": "商品组ID列表",
  31842. "type": "array",
  31843. "items": {
  31844. "type": "integer"
  31845. }
  31846. },
  31847. "Index": {
  31848. "description": "序号",
  31849. "type": "integer"
  31850. },
  31851. "MarketID": {
  31852. "description": "市场ID",
  31853. "type": "integer"
  31854. },
  31855. "MenuTitle": {
  31856. "description": "菜单标题(市场名称或外部交易所名称)",
  31857. "type": "string"
  31858. },
  31859. "TradeMode": {
  31860. "description": "交易模式",
  31861. "type": "integer"
  31862. }
  31863. }
  31864. },
  31865. "models.RoleMenu": {
  31866. "type": "object",
  31867. "properties": {
  31868. "hasright": {
  31869. "description": "是否有权限 0-没有权限 1-有权限",
  31870. "type": "integer"
  31871. },
  31872. "iconame": {
  31873. "description": "菜单图标",
  31874. "type": "string"
  31875. },
  31876. "menutype": {
  31877. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  31878. "type": "integer"
  31879. },
  31880. "parentcode": {
  31881. "description": "上级资源代码",
  31882. "type": "string"
  31883. },
  31884. "remark": {
  31885. "description": "菜单备注",
  31886. "type": "string"
  31887. },
  31888. "resourcecode": {
  31889. "description": "菜单代码",
  31890. "type": "string"
  31891. },
  31892. "resourcelevel": {
  31893. "description": "级别",
  31894. "type": "integer"
  31895. },
  31896. "resourcename": {
  31897. "description": "菜单名称",
  31898. "type": "string"
  31899. },
  31900. "roleid": {
  31901. "description": "角色id",
  31902. "type": "integer"
  31903. },
  31904. "sort": {
  31905. "description": "排序",
  31906. "type": "integer"
  31907. },
  31908. "subMenu": {
  31909. "description": "子级菜单(结构同上层一样, swag解析不出来)",
  31910. "type": "array",
  31911. "items": {
  31912. "$ref": "#/definitions/models.RoleMenu"
  31913. }
  31914. },
  31915. "url": {
  31916. "description": "URL",
  31917. "type": "string"
  31918. },
  31919. "userid": {
  31920. "description": "用户id",
  31921. "type": "integer"
  31922. }
  31923. }
  31924. },
  31925. "models.SearchGoods": {
  31926. "type": "object",
  31927. "required": [
  31928. "goodscode",
  31929. "goodsid",
  31930. "goodsname",
  31931. "marketid",
  31932. "trademode"
  31933. ],
  31934. "properties": {
  31935. "goodscode": {
  31936. "description": "商品代码(内部)",
  31937. "type": "string"
  31938. },
  31939. "goodsid": {
  31940. "description": "商品ID(自增ID SEQ_GOODS)",
  31941. "type": "integer"
  31942. },
  31943. "goodsname": {
  31944. "description": "商品名称",
  31945. "type": "string"
  31946. },
  31947. "marketid": {
  31948. "description": "所属市场ID",
  31949. "type": "integer"
  31950. },
  31951. "marketname": {
  31952. "description": "市场名称",
  31953. "type": "string"
  31954. },
  31955. "trademode": {
  31956. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  31957. "type": "integer"
  31958. }
  31959. }
  31960. },
  31961. "models.Systemparam": {
  31962. "type": "object",
  31963. "required": [
  31964. "paramcode"
  31965. ],
  31966. "properties": {
  31967. "loginid": {
  31968. "description": "更新用户账号,登录账号",
  31969. "type": "string"
  31970. },
  31971. "modifyflag": {
  31972. "description": "修改标志0 不允许修改 1 允许修改",
  31973. "type": "integer"
  31974. },
  31975. "paramcode": {
  31976. "description": "参数代码",
  31977. "type": "string"
  31978. },
  31979. "paramname": {
  31980. "description": "参数名",
  31981. "type": "string"
  31982. },
  31983. "paramtype": {
  31984. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  31985. "type": "integer"
  31986. },
  31987. "paramvalue": {
  31988. "description": "参数值",
  31989. "type": "string"
  31990. },
  31991. "paramvalue2": {
  31992. "description": "参数值(CLOB)",
  31993. "type": "string"
  31994. },
  31995. "regexpress": {
  31996. "description": "正则表达式",
  31997. "type": "string"
  31998. },
  31999. "remark": {
  32000. "description": "备注",
  32001. "type": "string"
  32002. },
  32003. "serverip": {
  32004. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  32005. "type": "string"
  32006. },
  32007. "showflag": {
  32008. "description": "是否显示0 不显示 1 显示",
  32009. "type": "integer"
  32010. },
  32011. "updatetime": {
  32012. "description": "更新时间",
  32013. "type": "string"
  32014. },
  32015. "userid": {
  32016. "description": "更新用户ID",
  32017. "type": "integer"
  32018. }
  32019. }
  32020. },
  32021. "models.Szdz3convertconfig": {
  32022. "type": "object",
  32023. "required": [
  32024. "converttype",
  32025. "innergoodsid",
  32026. "outergoodscode"
  32027. ],
  32028. "properties": {
  32029. "canin": {
  32030. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  32031. "type": "integer"
  32032. },
  32033. "canout": {
  32034. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  32035. "type": "integer"
  32036. },
  32037. "converttype": {
  32038. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  32039. "type": "integer"
  32040. },
  32041. "createtime": {
  32042. "description": "创建时间",
  32043. "type": "string"
  32044. },
  32045. "creatorid": {
  32046. "description": "创建人",
  32047. "type": "integer"
  32048. },
  32049. "daymaxvalue": {
  32050. "description": "当日最大转入限制",
  32051. "type": "number"
  32052. },
  32053. "freezedays": {
  32054. "description": "冻结天数 [5:花生米转交易]",
  32055. "type": "integer"
  32056. },
  32057. "innergoodsid": {
  32058. "description": "内部商品ID[交易]",
  32059. "type": "integer"
  32060. },
  32061. "inratio": {
  32062. "description": "目标值",
  32063. "type": "integer"
  32064. },
  32065. "modifierid": {
  32066. "description": "修改人",
  32067. "type": "integer"
  32068. },
  32069. "modifytime": {
  32070. "description": "修改时间",
  32071. "type": "string"
  32072. },
  32073. "outergoodscode": {
  32074. "description": "外部商品代码[JD\\PD]",
  32075. "type": "string"
  32076. },
  32077. "outratio": {
  32078. "description": "源值",
  32079. "type": "integer"
  32080. },
  32081. "pddecimalplace": {
  32082. "description": "PD小数位",
  32083. "type": "integer"
  32084. },
  32085. "timemaxvalue": {
  32086. "description": "单次最大转入限制",
  32087. "type": "number"
  32088. },
  32089. "timeminvalue": {
  32090. "description": "单次最小转入限制",
  32091. "type": "number"
  32092. }
  32093. }
  32094. },
  32095. "models.Szdz3searchwhitelist": {
  32096. "type": "object",
  32097. "required": [
  32098. "userid"
  32099. ],
  32100. "properties": {
  32101. "createtime": {
  32102. "description": "创建时间",
  32103. "type": "string"
  32104. },
  32105. "creatorid": {
  32106. "description": "创建人",
  32107. "type": "integer"
  32108. },
  32109. "modifierid": {
  32110. "description": "修改人",
  32111. "type": "integer"
  32112. },
  32113. "modifytime": {
  32114. "description": "修改时间",
  32115. "type": "string"
  32116. },
  32117. "userid": {
  32118. "description": "用户ID",
  32119. "type": "integer"
  32120. }
  32121. }
  32122. },
  32123. "models.TBGoods": {
  32124. "type": "object",
  32125. "properties": {
  32126. "agreeunit": {
  32127. "description": "合约乘数",
  32128. "type": "number"
  32129. },
  32130. "enumdicname": {
  32131. "description": "单位名称",
  32132. "type": "string"
  32133. },
  32134. "goodscode": {
  32135. "description": "商品代码(内部)",
  32136. "type": "string"
  32137. },
  32138. "goodsid": {
  32139. "description": "商品ID(自增ID SEQ_GOODS)",
  32140. "type": "integer"
  32141. },
  32142. "goodsname": {
  32143. "description": "商品名称",
  32144. "type": "string"
  32145. }
  32146. }
  32147. },
  32148. "models.TBGoodsGroup": {
  32149. "type": "object",
  32150. "properties": {
  32151. "GDLST": {
  32152. "description": "商品列表",
  32153. "type": "array",
  32154. "items": {
  32155. "$ref": "#/definitions/models.TBGoods"
  32156. }
  32157. },
  32158. "convertratio": {
  32159. "description": "折算系数",
  32160. "type": "number"
  32161. },
  32162. "enumdicname": {
  32163. "description": "单位名称",
  32164. "type": "string"
  32165. },
  32166. "exexchangecode": {
  32167. "description": "交易所代码",
  32168. "type": "string"
  32169. },
  32170. "exexchangename": {
  32171. "description": "交易所名称",
  32172. "type": "string"
  32173. },
  32174. "goodsgroupid": {
  32175. "description": "商品组ID(自增ID)",
  32176. "type": "integer"
  32177. },
  32178. "goodsgroupname": {
  32179. "description": "商品组名称",
  32180. "type": "string"
  32181. },
  32182. "goodunitid": {
  32183. "description": "报价单位ID",
  32184. "type": "integer"
  32185. }
  32186. }
  32187. },
  32188. "models.TBMiddleGoods": {
  32189. "type": "object",
  32190. "properties": {
  32191. "GPLST": {
  32192. "description": "期货品种列表",
  32193. "type": "array",
  32194. "items": {
  32195. "$ref": "#/definitions/models.TBGoodsGroup"
  32196. }
  32197. },
  32198. "WDLST": {
  32199. "description": "商品信息列表(现货品类)",
  32200. "type": "array",
  32201. "items": {
  32202. "$ref": "#/definitions/models.TBWrstandard"
  32203. }
  32204. },
  32205. "areauserid": {
  32206. "description": "机构用户ID",
  32207. "type": "integer"
  32208. },
  32209. "enumdicname": {
  32210. "description": "单位名称",
  32211. "type": "string"
  32212. },
  32213. "goodsunitid": {
  32214. "description": "套保品种单位id",
  32215. "type": "integer"
  32216. },
  32217. "middlegoodscode": {
  32218. "description": "套保品种代码",
  32219. "type": "string"
  32220. },
  32221. "middlegoodsid": {
  32222. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  32223. "type": "integer"
  32224. },
  32225. "middlegoodsname": {
  32226. "description": "套保品种名称",
  32227. "type": "string"
  32228. },
  32229. "needarbitrageratio": {
  32230. "description": "套利比率",
  32231. "type": "number"
  32232. },
  32233. "needhedgeratio": {
  32234. "description": "套保比率",
  32235. "type": "number"
  32236. }
  32237. }
  32238. },
  32239. "models.TBWrstandard": {
  32240. "type": "object",
  32241. "properties": {
  32242. "convertratio": {
  32243. "description": "折算系数",
  32244. "type": "number"
  32245. },
  32246. "deliverygoodsname": {
  32247. "description": "品种名称",
  32248. "type": "string"
  32249. },
  32250. "enumdicname": {
  32251. "description": "单位名称",
  32252. "type": "string"
  32253. },
  32254. "vatrate": {
  32255. "description": "增值税率",
  32256. "type": "number"
  32257. },
  32258. "wrstandardcode": {
  32259. "description": "现货商品代码",
  32260. "type": "string"
  32261. },
  32262. "wrstandardid": {
  32263. "description": "现货商品ID(SEQ_WRSTANDARD)",
  32264. "type": "integer"
  32265. },
  32266. "wrstandardname": {
  32267. "description": "现货商品名称",
  32268. "type": "string"
  32269. }
  32270. }
  32271. },
  32272. "models.Taaccount": {
  32273. "type": "object",
  32274. "required": [
  32275. "accountid",
  32276. "userid"
  32277. ],
  32278. "properties": {
  32279. "accountflag": {
  32280. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  32281. "type": "integer"
  32282. },
  32283. "accountid": {
  32284. "description": "资金账户ID",
  32285. "type": "integer"
  32286. },
  32287. "accountname": {
  32288. "description": "账户名称",
  32289. "type": "string"
  32290. },
  32291. "balance": {
  32292. "description": "期初余额",
  32293. "type": "number"
  32294. },
  32295. "capitalbalance": {
  32296. "description": "本金余额[外部子账户实际出入金余额]",
  32297. "type": "number"
  32298. },
  32299. "changeflag": {
  32300. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  32301. "type": "integer"
  32302. },
  32303. "changetime": {
  32304. "description": "账户状态变更时间",
  32305. "type": "string"
  32306. },
  32307. "closepl": {
  32308. "description": "今日平仓盈亏",
  32309. "type": "number"
  32310. },
  32311. "creditdecrease": {
  32312. "description": "今日授信减少",
  32313. "type": "number"
  32314. },
  32315. "creditincrease": {
  32316. "description": "今日授信增加",
  32317. "type": "number"
  32318. },
  32319. "curamount": {
  32320. "description": "总市值(从持仓中统计)",
  32321. "type": "number"
  32322. },
  32323. "currencyid": {
  32324. "description": "货币ID",
  32325. "type": "integer"
  32326. },
  32327. "currentbalance": {
  32328. "description": "期末余额",
  32329. "type": "number"
  32330. },
  32331. "freezecharge": {
  32332. "description": "手续费冻结",
  32333. "type": "number"
  32334. },
  32335. "freezemargin": {
  32336. "description": "冻结保证金",
  32337. "type": "number"
  32338. },
  32339. "fromaccountid": {
  32340. "description": "所属上级账户",
  32341. "type": "integer"
  32342. },
  32343. "inamount": {
  32344. "description": "今日入金金额(包括三方入金)",
  32345. "type": "number"
  32346. },
  32347. "ismain": {
  32348. "description": "是否母账号 0:不是母账户 1:是母账户",
  32349. "type": "integer"
  32350. },
  32351. "ismarketaccount": {
  32352. "description": "是否机构接单账号 0:不是 1:是",
  32353. "type": "integer"
  32354. },
  32355. "isreckonaccount": {
  32356. "description": "是否机构分润账号 0:不是 1:是",
  32357. "type": "integer"
  32358. },
  32359. "mortgagecredit": {
  32360. "description": "授信金额",
  32361. "type": "number"
  32362. },
  32363. "orifreezecharge": {
  32364. "description": "期初手续费冻结",
  32365. "type": "number"
  32366. },
  32367. "orifreezemargin": {
  32368. "description": "期初冻结保证金",
  32369. "type": "number"
  32370. },
  32371. "orimortgagecredit": {
  32372. "description": "期初授信金额",
  32373. "type": "number"
  32374. },
  32375. "oriothercredit": {
  32376. "description": "期初其它授信金额",
  32377. "type": "number"
  32378. },
  32379. "oriotherfreezemargin": {
  32380. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  32381. "type": "number"
  32382. },
  32383. "orioutamountfreeze": {
  32384. "description": "期初出金冻结",
  32385. "type": "number"
  32386. },
  32387. "oriusedmargin": {
  32388. "description": "期初占用保证金",
  32389. "type": "number"
  32390. },
  32391. "othercredit": {
  32392. "description": "其它授信金额",
  32393. "type": "number"
  32394. },
  32395. "othercreditdecrease": {
  32396. "description": "今日其它授信减少",
  32397. "type": "number"
  32398. },
  32399. "othercreditincrease": {
  32400. "description": "今日其它授信增加",
  32401. "type": "number"
  32402. },
  32403. "otherfreezemargin": {
  32404. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  32405. "type": "number"
  32406. },
  32407. "otherincome": {
  32408. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  32409. "type": "number"
  32410. },
  32411. "otherpay": {
  32412. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  32413. "type": "number"
  32414. },
  32415. "outamount": {
  32416. "description": "今日出金金额(包括三方出金)",
  32417. "type": "number"
  32418. },
  32419. "outamountfreeze": {
  32420. "description": "出金冻结",
  32421. "type": "number"
  32422. },
  32423. "outthreshold": {
  32424. "description": "出金阈值",
  32425. "type": "number"
  32426. },
  32427. "parentaccountid": {
  32428. "description": "所属根账号",
  32429. "type": "integer"
  32430. },
  32431. "paycharge": {
  32432. "description": "今日手续费支出",
  32433. "type": "number"
  32434. },
  32435. "relatedaccountstatus": {
  32436. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  32437. "type": "integer"
  32438. },
  32439. "relateduserid": {
  32440. "description": "关联用户",
  32441. "type": "integer"
  32442. },
  32443. "remainamount": {
  32444. "description": "融资额(从融资合同中统计)",
  32445. "type": "number"
  32446. },
  32447. "serivcegroup": {
  32448. "description": "服务分组",
  32449. "type": "integer"
  32450. },
  32451. "signstatus": {
  32452. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  32453. "type": "integer"
  32454. },
  32455. "sublevelpath": {
  32456. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  32457. "type": "string"
  32458. },
  32459. "taaccounttype": {
  32460. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  32461. "type": "integer"
  32462. },
  32463. "thirdinamount": {
  32464. "description": "今日三方入金",
  32465. "type": "number"
  32466. },
  32467. "thirdoutamount": {
  32468. "description": "今日三方出金",
  32469. "type": "number"
  32470. },
  32471. "tradestatus": {
  32472. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  32473. "type": "integer"
  32474. },
  32475. "tradestatuschangetime": {
  32476. "description": "激活时间",
  32477. "type": "string"
  32478. },
  32479. "transferamount": {
  32480. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  32481. "type": "number"
  32482. },
  32483. "usedmargin": {
  32484. "description": "占用保证金",
  32485. "type": "number"
  32486. },
  32487. "userid": {
  32488. "description": "用户ID",
  32489. "type": "integer"
  32490. }
  32491. }
  32492. },
  32493. "models.Tablecolumnconfig": {
  32494. "type": "object",
  32495. "required": [
  32496. "autoid"
  32497. ],
  32498. "properties": {
  32499. "aligntype": {
  32500. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  32501. "type": "integer"
  32502. },
  32503. "autoid": {
  32504. "description": "AutoID",
  32505. "type": "integer"
  32506. },
  32507. "columnfield": {
  32508. "description": "列字段",
  32509. "type": "string"
  32510. },
  32511. "columntitle": {
  32512. "description": "列Title",
  32513. "type": "string"
  32514. },
  32515. "columnwidth": {
  32516. "description": "列宽",
  32517. "type": "string"
  32518. },
  32519. "formatterstring": {
  32520. "description": "格式化字符",
  32521. "type": "string"
  32522. },
  32523. "formattertype": {
  32524. "description": "格式化类型",
  32525. "type": "string"
  32526. },
  32527. "groupname": {
  32528. "description": "表头分组名称",
  32529. "type": "string"
  32530. },
  32531. "isshow": {
  32532. "description": "是否显示 - 0:不显示 1:显示",
  32533. "type": "integer"
  32534. },
  32535. "needsummary": {
  32536. "description": "是否需要汇总 - 0:不需要 1:需要",
  32537. "type": "integer"
  32538. },
  32539. "orderindex": {
  32540. "description": "顺序",
  32541. "type": "integer"
  32542. },
  32543. "remark": {
  32544. "description": "备注",
  32545. "type": "string"
  32546. },
  32547. "summarytype": {
  32548. "description": "汇总类型 - 1:加总 2:最后一个",
  32549. "type": "integer"
  32550. },
  32551. "tablekey": {
  32552. "description": "列表Key",
  32553. "type": "string"
  32554. }
  32555. }
  32556. },
  32557. "models.TjmdMarketSection": {
  32558. "type": "object",
  32559. "properties": {
  32560. "marketsectionid": {
  32561. "description": "市场版块ID(SEQ_MARKETSECTION)",
  32562. "type": "integer"
  32563. },
  32564. "marketsectionname": {
  32565. "description": "市场版块名称",
  32566. "type": "string"
  32567. },
  32568. "mlist": {
  32569. "description": "市场列表(板块下面有多少个市场)",
  32570. "type": "array",
  32571. "items": {
  32572. "$ref": "#/definitions/models.TjmdMarketSectionConfig"
  32573. }
  32574. },
  32575. "orderindex": {
  32576. "description": "排序",
  32577. "type": "integer"
  32578. },
  32579. "pictureurl": {
  32580. "description": "图片url, 规格(90*90)",
  32581. "type": "string"
  32582. },
  32583. "remark": {
  32584. "description": "备注",
  32585. "type": "string"
  32586. }
  32587. }
  32588. },
  32589. "models.TjmdMarketSectionConfig": {
  32590. "type": "object",
  32591. "properties": {
  32592. "auctionwrtype": {
  32593. "description": "仓单类型(现货交易) - 1:无仓单 2:有仓单 3;有无仓单均可",
  32594. "type": "integer"
  32595. },
  32596. "canacceptquote": {
  32597. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  32598. "type": "integer"
  32599. },
  32600. "cangoodsexercise": {
  32601. "description": "[期权]是否可现货行权- 0:否 1:是",
  32602. "type": "integer"
  32603. },
  32604. "cangoodsexercisetype": {
  32605. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  32606. "type": "integer"
  32607. },
  32608. "canmanualquotestrike": {
  32609. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  32610. "type": "integer"
  32611. },
  32612. "canmutistage": {
  32613. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  32614. "type": "integer"
  32615. },
  32616. "canpreexercise": {
  32617. "description": "[期权]是否可预申报- 0:否 1:是",
  32618. "type": "integer"
  32619. },
  32620. "clearinterval": {
  32621. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  32622. "type": "integer"
  32623. },
  32624. "contracttmp": {
  32625. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  32626. "type": "string"
  32627. },
  32628. "exchareaid": {
  32629. "description": "所属交易所,可以没有",
  32630. "type": "integer"
  32631. },
  32632. "financemarketid": {
  32633. "description": "融资回购市场ID [仓单贸易]",
  32634. "type": "integer"
  32635. },
  32636. "goodstype": {
  32637. "description": "商品类型 - 1:交易商品 2:仓单商品",
  32638. "type": "integer"
  32639. },
  32640. "hasrebate": {
  32641. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  32642. "type": "integer"
  32643. },
  32644. "hastradecredit": {
  32645. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  32646. "type": "integer"
  32647. },
  32648. "haswr": {
  32649. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  32650. "type": "integer"
  32651. },
  32652. "isdeductmargin": {
  32653. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  32654. "type": "integer"
  32655. },
  32656. "isrecordsource": {
  32657. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  32658. "type": "integer"
  32659. },
  32660. "isreleasemargin": {
  32661. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  32662. "type": "integer"
  32663. },
  32664. "isupdatereckonprice": {
  32665. "description": "输入结算价标识 - 0:系统生成 1:手工输入(自动) 2:手工输入(手动)",
  32666. "type": "integer"
  32667. },
  32668. "listingmode": {
  32669. "description": "挂牌方式 1:一口价 2:浮动价 3:贸易圈 4:协议指定",
  32670. "type": "integer"
  32671. },
  32672. "marginformula": {
  32673. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  32674. "type": "integer"
  32675. },
  32676. "marginformula2": {
  32677. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  32678. "type": "integer"
  32679. },
  32680. "marketid": {
  32681. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  32682. "type": "integer"
  32683. },
  32684. "marketname": {
  32685. "description": "市场名称",
  32686. "type": "string"
  32687. },
  32688. "marketsectionid": {
  32689. "description": "市场版块ID(SEQ_MARKETSECTION)",
  32690. "type": "integer"
  32691. },
  32692. "marketserviceid": {
  32693. "description": "市场服务ID",
  32694. "type": "integer"
  32695. },
  32696. "marketstatus": {
  32697. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  32698. "type": "integer"
  32699. },
  32700. "markettype": {
  32701. "description": "市场类型- 1:非交易服务 2:交易服务",
  32702. "type": "integer"
  32703. },
  32704. "matchermode": {
  32705. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手 - 作废",
  32706. "type": "integer"
  32707. },
  32708. "nowrquotaflag": {
  32709. "description": "是否校验无仓单额度(仓单贸易) 0:否 1:是",
  32710. "type": "integer"
  32711. },
  32712. "openmethod": {
  32713. "description": "开盘模式 - 0 自动 1手动",
  32714. "type": "integer"
  32715. },
  32716. "orderindex": {
  32717. "description": "排序",
  32718. "type": "integer"
  32719. },
  32720. "otcuserid": {
  32721. "description": "场外期权做市商[场外期权]",
  32722. "type": "integer"
  32723. },
  32724. "outersynctime": {
  32725. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  32726. "type": "string"
  32727. },
  32728. "paylaterflag": {
  32729. "description": "是否支持后付 - 0:不支持 1;支持 - [挂牌点选 所有权、预售挂牌支持]",
  32730. "type": "integer"
  32731. },
  32732. "pendingflag": {
  32733. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  32734. "type": "integer"
  32735. },
  32736. "pendingtime": {
  32737. "description": "待开市时间[通道交易-对冲](HH:mm)",
  32738. "type": "string"
  32739. },
  32740. "performancetempid": {
  32741. "description": "履约计划模板ID - 作废",
  32742. "type": "integer"
  32743. },
  32744. "premiumquotemode": {
  32745. "description": "权利金报价方式 - 1:自动 2:手动",
  32746. "type": "integer"
  32747. },
  32748. "rebateratio": {
  32749. "description": "返利比率[竞价式]",
  32750. "type": "number"
  32751. },
  32752. "reckonorder": {
  32753. "description": "结算顺序",
  32754. "type": "integer"
  32755. },
  32756. "reckonpricealgorithm": {
  32757. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  32758. "type": "integer"
  32759. },
  32760. "reckonpriceparam": {
  32761. "description": "结算价参数",
  32762. "type": "integer"
  32763. },
  32764. "reckontime": {
  32765. "description": "结算时间[通道交易-对冲](HH:mm)",
  32766. "type": "string"
  32767. },
  32768. "roleprioritytype": {
  32769. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  32770. "type": "integer"
  32771. },
  32772. "selllistingauditflag": {
  32773. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  32774. "type": "integer"
  32775. },
  32776. "trademarkettype": {
  32777. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  32778. "type": "integer"
  32779. },
  32780. "trademode": {
  32781. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  32782. "type": "integer"
  32783. },
  32784. "tradeproperty": {
  32785. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  32786. "type": "integer"
  32787. },
  32788. "tradetype": {
  32789. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  32790. "type": "integer"
  32791. },
  32792. "updatereckonpriceinterval": {
  32793. "description": "输入结算价时长(分钟) [1:手工输入(自动)]",
  32794. "type": "integer"
  32795. }
  32796. }
  32797. },
  32798. "models.TjmdQuoteGoods": {
  32799. "type": "object",
  32800. "properties": {
  32801. "buyqty": {
  32802. "description": "买量(暂不做, 无值, 保留字段)",
  32803. "type": "number"
  32804. },
  32805. "goodscode": {
  32806. "description": "合约代码",
  32807. "type": "string"
  32808. },
  32809. "goodsgroupid": {
  32810. "description": "商品组ID(自增ID)",
  32811. "type": "integer"
  32812. },
  32813. "goodsgroupname": {
  32814. "description": "商品组名称",
  32815. "type": "string"
  32816. },
  32817. "goodsid": {
  32818. "description": "合约id",
  32819. "type": "integer"
  32820. },
  32821. "goodsname": {
  32822. "description": "合约名称",
  32823. "type": "string"
  32824. },
  32825. "refgoodscode": {
  32826. "description": "标的合约代码",
  32827. "type": "string"
  32828. },
  32829. "refgoodsid": {
  32830. "description": "标的合约id",
  32831. "type": "integer"
  32832. },
  32833. "refgoodsname": {
  32834. "description": "标的合约名称",
  32835. "type": "string"
  32836. },
  32837. "sellqty": {
  32838. "description": "卖量(暂不做, 无值, 保留字段)",
  32839. "type": "number"
  32840. }
  32841. }
  32842. },
  32843. "models.TjmdTodayAccountMargin": {
  32844. "type": "object",
  32845. "properties": {
  32846. "accountid": {
  32847. "description": "账号ID",
  32848. "type": "integer"
  32849. },
  32850. "goodsid": {
  32851. "description": "商品ID",
  32852. "type": "integer"
  32853. },
  32854. "infoc": {
  32855. "description": "配置参数",
  32856. "$ref": "#/definitions/pb.GoodsMarginCfgStruct"
  32857. },
  32858. "marketid": {
  32859. "description": "市场ID",
  32860. "type": "integer"
  32861. }
  32862. }
  32863. },
  32864. "models.TjmdTradeOrderDetail": {
  32865. "type": "object",
  32866. "properties": {
  32867. "buyorsell": {
  32868. "description": "买卖方向 0-买 1-卖",
  32869. "type": "integer"
  32870. },
  32871. "goodsid": {
  32872. "description": "商品id",
  32873. "type": "integer"
  32874. },
  32875. "marketmaxsub": {
  32876. "description": "市价最大偏移范围 [浮动价 - 点差]",
  32877. "type": "number"
  32878. },
  32879. "orderid": {
  32880. "description": "委托单号",
  32881. "type": "string"
  32882. },
  32883. "orderprice": {
  32884. "description": "委托价格",
  32885. "type": "number"
  32886. },
  32887. "orderqty": {
  32888. "description": "委托数量",
  32889. "type": "integer"
  32890. },
  32891. "pricemode": {
  32892. "description": "取价方式 - 1:市价 2: 限价 3:浮动价",
  32893. "type": "integer"
  32894. },
  32895. "userid": {
  32896. "description": "用户id",
  32897. "type": "integer"
  32898. },
  32899. "username": {
  32900. "description": "用户名称(已脱敏)",
  32901. "type": "string"
  32902. }
  32903. }
  32904. },
  32905. "models.TjmdTransferApply": {
  32906. "type": "object",
  32907. "properties": {
  32908. "applyid": {
  32909. "description": "申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)",
  32910. "type": "integer"
  32911. },
  32912. "applystatus": {
  32913. "description": "状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销",
  32914. "type": "integer"
  32915. },
  32916. "applytime": {
  32917. "description": "申请时间(时间)",
  32918. "type": "string"
  32919. },
  32920. "auditremark": {
  32921. "description": "审核备注(拒绝原因?)",
  32922. "type": "string"
  32923. },
  32924. "begindate": {
  32925. "description": "开始交易日(yyyymmdd)",
  32926. "type": "string"
  32927. },
  32928. "buyorsell": {
  32929. "description": "买卖 - 0:买 1:卖",
  32930. "type": "integer"
  32931. },
  32932. "enddate": {
  32933. "description": "结束交易日(yyyymmdd)",
  32934. "type": "string"
  32935. },
  32936. "goodscode": {
  32937. "description": "商品代码",
  32938. "type": "string"
  32939. },
  32940. "goodsid": {
  32941. "description": "商品ID",
  32942. "type": "integer"
  32943. },
  32944. "goodsname": {
  32945. "description": "商品名称",
  32946. "type": "string"
  32947. },
  32948. "marketid": {
  32949. "description": "市场ID",
  32950. "type": "integer"
  32951. },
  32952. "qty": {
  32953. "description": "转让数量(数量)",
  32954. "type": "number"
  32955. },
  32956. "tradeid": {
  32957. "description": "成交单号(关联持仓)",
  32958. "type": "string"
  32959. },
  32960. "transferamount": {
  32961. "description": "转让总金额(金额)",
  32962. "type": "number"
  32963. },
  32964. "transferprice": {
  32965. "description": "转让价格(协议价格)",
  32966. "type": "number"
  32967. }
  32968. }
  32969. },
  32970. "models.TradeHolderDetail": {
  32971. "type": "object",
  32972. "properties": {
  32973. "accountid": {
  32974. "description": "账号ID",
  32975. "type": "integer"
  32976. },
  32977. "agreeunit": {
  32978. "description": "合约乘数",
  32979. "type": "number"
  32980. },
  32981. "buyorsell": {
  32982. "description": "方向 - 0:买 1:卖",
  32983. "type": "integer"
  32984. },
  32985. "currencyid": {
  32986. "description": "商品币种id",
  32987. "type": "integer"
  32988. },
  32989. "currencyname": {
  32990. "description": "币种名称",
  32991. "type": "string"
  32992. },
  32993. "decimalplace": {
  32994. "description": "商品价格小数位",
  32995. "type": "integer"
  32996. },
  32997. "enumdicname": {
  32998. "description": "商品单位名称",
  32999. "type": "string"
  33000. },
  33001. "expirecycle": {
  33002. "description": "行权周期(天) - 1:滚动行权时填写",
  33003. "type": "integer"
  33004. },
  33005. "expiredate": {
  33006. "description": "行权日(yyyyMMdd) - 到期日",
  33007. "type": "string"
  33008. },
  33009. "expiretype": {
  33010. "description": "行权日类型 - 1:滚动行权 2:固定日行权",
  33011. "type": "integer"
  33012. },
  33013. "freezeqty": {
  33014. "description": "冻结数量",
  33015. "type": "number"
  33016. },
  33017. "goodscode": {
  33018. "description": "商品代码",
  33019. "type": "string"
  33020. },
  33021. "goodsid": {
  33022. "description": "商品ID",
  33023. "type": "integer"
  33024. },
  33025. "goodsname": {
  33026. "description": "商品名称",
  33027. "type": "string"
  33028. },
  33029. "goodunitid": {
  33030. "description": "商品单位id",
  33031. "type": "integer"
  33032. },
  33033. "holderamount": {
  33034. "description": "持仓金额",
  33035. "type": "number"
  33036. },
  33037. "holdercredit": {
  33038. "description": "持仓授信金额",
  33039. "type": "number"
  33040. },
  33041. "holderdays": {
  33042. "description": "剩余冻结天数",
  33043. "type": "integer"
  33044. },
  33045. "holderprice": {
  33046. "description": "持仓价格",
  33047. "type": "number"
  33048. },
  33049. "holderqty": {
  33050. "description": "持仓数量",
  33051. "type": "number"
  33052. },
  33053. "isconfirmexercise": {
  33054. "description": "是否确认行权- 0:否 1:是",
  33055. "type": "integer"
  33056. },
  33057. "ispreexercise": {
  33058. "description": "是否预申报- 0:否 1:是 2:不可行权",
  33059. "type": "integer"
  33060. },
  33061. "marketid": {
  33062. "description": "市场id",
  33063. "type": "integer"
  33064. },
  33065. "marketname": {
  33066. "description": "市场名称",
  33067. "type": "string"
  33068. },
  33069. "openprice": {
  33070. "description": "建仓价格",
  33071. "type": "number"
  33072. },
  33073. "openqty": {
  33074. "description": "建仓数量",
  33075. "type": "number"
  33076. },
  33077. "optiontype": {
  33078. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  33079. "type": "integer"
  33080. },
  33081. "preexerciseprice": {
  33082. "description": "预申报价格",
  33083. "type": "number"
  33084. },
  33085. "premium": {
  33086. "description": "权利金",
  33087. "type": "number"
  33088. },
  33089. "qtydecimalplace": {
  33090. "description": "商品成交量小数位",
  33091. "type": "integer"
  33092. },
  33093. "refgoodscode": {
  33094. "description": "标的合约代码",
  33095. "type": "string"
  33096. },
  33097. "refgoodsid": {
  33098. "description": "标的合约id",
  33099. "type": "integer"
  33100. },
  33101. "releaseamount": {
  33102. "description": "释放持仓金额",
  33103. "type": "number"
  33104. },
  33105. "releaseholdercredit": {
  33106. "description": "释放持仓授信金额",
  33107. "type": "number"
  33108. },
  33109. "taname": {
  33110. "description": "资金账号名称",
  33111. "type": "string"
  33112. },
  33113. "tradeamount": {
  33114. "description": "成交金额",
  33115. "type": "number"
  33116. },
  33117. "tradedate": {
  33118. "description": "交易日(yyyyMMdd)",
  33119. "type": "string"
  33120. },
  33121. "tradeid": {
  33122. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  33123. "type": "string"
  33124. },
  33125. "trademode": {
  33126. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价 46:掉期",
  33127. "type": "integer"
  33128. },
  33129. "tradeproperty": {
  33130. "description": "交易属性",
  33131. "type": "integer"
  33132. },
  33133. "tradetime": {
  33134. "description": "交易时间",
  33135. "type": "string"
  33136. },
  33137. "userid": {
  33138. "description": "用户id",
  33139. "type": "integer"
  33140. },
  33141. "username": {
  33142. "description": "用户名称",
  33143. "type": "string"
  33144. }
  33145. }
  33146. },
  33147. "models.UserCollectConfig": {
  33148. "type": "object",
  33149. "properties": {
  33150. "accountstatus": {
  33151. "description": "账户状态 - 1:正常 2:停用 3:注销",
  33152. "type": "integer"
  33153. },
  33154. "collectaccountname": {
  33155. "description": "收款人账户名称",
  33156. "type": "string"
  33157. },
  33158. "collectaccountno": {
  33159. "description": "收款人账户",
  33160. "type": "string"
  33161. },
  33162. "collectbankname": {
  33163. "description": "收款人开户行",
  33164. "type": "string"
  33165. },
  33166. "collectbranchbankname": {
  33167. "description": "收款人开户支行",
  33168. "type": "string"
  33169. },
  33170. "collectconfigid": {
  33171. "description": "收款账户配置ID(SEQ_USERCOLLECTCONFIG)",
  33172. "type": "string"
  33173. },
  33174. "remark": {
  33175. "description": "备注",
  33176. "type": "string"
  33177. },
  33178. "userid": {
  33179. "description": "收款人用户ID",
  33180. "type": "integer"
  33181. }
  33182. }
  33183. },
  33184. "models.UserReceiveInfo": {
  33185. "type": "object",
  33186. "properties": {
  33187. "address": {
  33188. "description": "提货人详细地址",
  33189. "type": "string"
  33190. },
  33191. "autoid": {
  33192. "description": "AutoID",
  33193. "type": "integer"
  33194. },
  33195. "cardnum": {
  33196. "description": "证件号码(加密存储)",
  33197. "type": "string"
  33198. },
  33199. "cardtypeid": {
  33200. "description": "证件类型",
  33201. "type": "integer"
  33202. },
  33203. "cityid": {
  33204. "description": "市",
  33205. "type": "integer"
  33206. },
  33207. "cityname": {
  33208. "description": "城市名称",
  33209. "type": "string"
  33210. },
  33211. "countryid": {
  33212. "description": "国家",
  33213. "type": "integer"
  33214. },
  33215. "countryname": {
  33216. "description": "国家名称",
  33217. "type": "string"
  33218. },
  33219. "districtid": {
  33220. "description": "地区",
  33221. "type": "integer"
  33222. },
  33223. "districtname": {
  33224. "description": "地区名称",
  33225. "type": "string"
  33226. },
  33227. "hasencrypt": {
  33228. "description": "数据是否已加密 - 0:未加密 1:已加密",
  33229. "type": "integer"
  33230. },
  33231. "isdefault": {
  33232. "description": "是否默认地址 - 0:否 1:是",
  33233. "type": "integer"
  33234. },
  33235. "phonenum": {
  33236. "description": "提货人联系方式(加密存储)",
  33237. "type": "string"
  33238. },
  33239. "provinceid": {
  33240. "description": "省",
  33241. "type": "integer"
  33242. },
  33243. "provincename": {
  33244. "description": "省名称",
  33245. "type": "string"
  33246. },
  33247. "receivername": {
  33248. "description": "提货人姓名",
  33249. "type": "string"
  33250. },
  33251. "takeremark": {
  33252. "description": "提货备注",
  33253. "type": "string"
  33254. },
  33255. "userid": {
  33256. "description": "用户ID",
  33257. "type": "integer"
  33258. }
  33259. }
  33260. },
  33261. "models.Useraccount": {
  33262. "type": "object",
  33263. "required": [
  33264. "userid"
  33265. ],
  33266. "properties": {
  33267. "accountname": {
  33268. "description": "账户名称(机构名称)",
  33269. "type": "string"
  33270. },
  33271. "accountstatus": {
  33272. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  33273. "type": "integer"
  33274. },
  33275. "applysrc": {
  33276. "description": "申请来源 - 1:管理端 2:终端",
  33277. "type": "integer"
  33278. },
  33279. "auditremark": {
  33280. "description": "审核备注",
  33281. "type": "string"
  33282. },
  33283. "auditsrc": {
  33284. "description": "审核来源 - 1:管理端 2:终端",
  33285. "type": "integer"
  33286. },
  33287. "audittime": {
  33288. "description": "审核时间",
  33289. "type": "string"
  33290. },
  33291. "audituserid": {
  33292. "description": "审核人",
  33293. "type": "integer"
  33294. },
  33295. "broker": {
  33296. "description": "所属经纪人ID",
  33297. "type": "integer"
  33298. },
  33299. "canceltime": {
  33300. "description": "销户时间",
  33301. "type": "string"
  33302. },
  33303. "canceluserid": {
  33304. "description": "销户人",
  33305. "type": "integer"
  33306. },
  33307. "canrecommend": {
  33308. "description": "是否可推荐 - 0:不可 1;可",
  33309. "type": "integer"
  33310. },
  33311. "createtime": {
  33312. "description": "创建时间",
  33313. "type": "string"
  33314. },
  33315. "creatorid": {
  33316. "description": "创建人",
  33317. "type": "integer"
  33318. },
  33319. "hasauth": {
  33320. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  33321. "type": "integer"
  33322. },
  33323. "isanonymous": {
  33324. "description": "是否匿名下单 - 0:否 1:是",
  33325. "type": "integer"
  33326. },
  33327. "maxinvestornum": {
  33328. "description": "最大用户数(经纪会员下投资者个数)",
  33329. "type": "integer"
  33330. },
  33331. "memberuserid": {
  33332. "description": "所属会员ID",
  33333. "type": "integer"
  33334. },
  33335. "modifierid": {
  33336. "description": "修改人",
  33337. "type": "integer"
  33338. },
  33339. "modifyremark": {
  33340. "description": "变更备注",
  33341. "type": "string"
  33342. },
  33343. "modifystatus": {
  33344. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  33345. "type": "integer"
  33346. },
  33347. "modifytime": {
  33348. "description": "修改时间",
  33349. "type": "string"
  33350. },
  33351. "parenttopuser": {
  33352. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  33353. "type": "string"
  33354. },
  33355. "parentuserid": {
  33356. "description": "所属机构ID",
  33357. "type": "integer"
  33358. },
  33359. "reckonaccountid": {
  33360. "description": "默认结算资金账号ID(机构分润使用) 作废",
  33361. "type": "integer"
  33362. },
  33363. "refercount": {
  33364. "description": "推荐总人数",
  33365. "type": "integer"
  33366. },
  33367. "refereeuserid": {
  33368. "description": "推荐人ID",
  33369. "type": "integer"
  33370. },
  33371. "refernum": {
  33372. "description": "推荐码",
  33373. "type": "string"
  33374. },
  33375. "rootuserid": {
  33376. "description": "根用户ID",
  33377. "type": "integer"
  33378. },
  33379. "subaccountlevel": {
  33380. "description": "子账户层数",
  33381. "type": "integer"
  33382. },
  33383. "subarealevelpath": {
  33384. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  33385. "type": "string"
  33386. },
  33387. "userid": {
  33388. "description": "用户ID",
  33389. "type": "integer"
  33390. },
  33391. "usertype": {
  33392. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  33393. "type": "integer"
  33394. }
  33395. }
  33396. },
  33397. "models.Userfavoritegoods": {
  33398. "type": "object",
  33399. "required": [
  33400. "goodsid"
  33401. ],
  33402. "properties": {
  33403. "goodsid": {
  33404. "description": "商品ID",
  33405. "type": "integer"
  33406. }
  33407. }
  33408. },
  33409. "models.Userinfo": {
  33410. "type": "object",
  33411. "required": [
  33412. "userid"
  33413. ],
  33414. "properties": {
  33415. "address": {
  33416. "description": "地址",
  33417. "type": "string"
  33418. },
  33419. "attachment1": {
  33420. "description": "附件1",
  33421. "type": "string"
  33422. },
  33423. "attachment2": {
  33424. "description": "附件2",
  33425. "type": "string"
  33426. },
  33427. "bankaccount": {
  33428. "description": "银行帐号 (加密存储)",
  33429. "type": "string"
  33430. },
  33431. "bankaccountname": {
  33432. "description": "收款人名称",
  33433. "type": "string"
  33434. },
  33435. "bankcardfrontphotourl": {
  33436. "description": "银行卡正面照地址",
  33437. "type": "string"
  33438. },
  33439. "bankid": {
  33440. "description": "银行编码",
  33441. "type": "string"
  33442. },
  33443. "bankname": {
  33444. "description": "银行名称",
  33445. "type": "string"
  33446. },
  33447. "biznature": {
  33448. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  33449. "type": "integer"
  33450. },
  33451. "bizscope": {
  33452. "description": "企业经营范围(企业)",
  33453. "type": "string"
  33454. },
  33455. "cardbackphotourl": {
  33456. "description": "证件背面图片地址",
  33457. "type": "string"
  33458. },
  33459. "cardfrontphotourl": {
  33460. "description": "证件正面图片地址",
  33461. "type": "string"
  33462. },
  33463. "cardnum": {
  33464. "description": "证件号码(加密存储)",
  33465. "type": "string"
  33466. },
  33467. "cardtypeid": {
  33468. "description": "证件类型ID",
  33469. "type": "integer"
  33470. },
  33471. "cityid": {
  33472. "description": "市",
  33473. "type": "integer"
  33474. },
  33475. "company": {
  33476. "description": "公司(个人)",
  33477. "type": "string"
  33478. },
  33479. "contactname": {
  33480. "description": "联系人",
  33481. "type": "string"
  33482. },
  33483. "countryid": {
  33484. "description": "国家",
  33485. "type": "integer"
  33486. },
  33487. "createtime": {
  33488. "description": "创建时间",
  33489. "type": "string"
  33490. },
  33491. "creatorid": {
  33492. "description": "创建人",
  33493. "type": "integer"
  33494. },
  33495. "customername": {
  33496. "description": "客户名称(企业名称)",
  33497. "type": "string"
  33498. },
  33499. "districtid": {
  33500. "description": "地区",
  33501. "type": "integer"
  33502. },
  33503. "email": {
  33504. "description": "邮件(加密存储)",
  33505. "type": "string"
  33506. },
  33507. "fax": {
  33508. "description": "传真(加密存储)",
  33509. "type": "string"
  33510. },
  33511. "halfbodyphotourl": {
  33512. "description": "半身照地址",
  33513. "type": "string"
  33514. },
  33515. "hasencrypt": {
  33516. "description": "数据是否已加密 - 0:未加密 1:已加密",
  33517. "type": "integer"
  33518. },
  33519. "headurl": {
  33520. "description": "头像地址",
  33521. "type": "string"
  33522. },
  33523. "legalcardbackphotourl": {
  33524. "description": "法人身份证背面照地址",
  33525. "type": "string"
  33526. },
  33527. "legalcardfrontphotourl": {
  33528. "description": "法人身份证正面照地址",
  33529. "type": "string"
  33530. },
  33531. "legalpersonname": {
  33532. "description": "法人姓名(企业)",
  33533. "type": "string"
  33534. },
  33535. "mobile": {
  33536. "description": "手机号码(加密存储)",
  33537. "type": "string"
  33538. },
  33539. "mobile2": {
  33540. "description": "手机号码[明文-尚志]",
  33541. "type": "string"
  33542. },
  33543. "modifierid": {
  33544. "description": "修改人",
  33545. "type": "integer"
  33546. },
  33547. "modifiertime": {
  33548. "description": "修改时间",
  33549. "type": "string"
  33550. },
  33551. "needinvoice": {
  33552. "description": "是否需要发票 - 0:不需要 1:需要",
  33553. "type": "integer"
  33554. },
  33555. "nickname": {
  33556. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  33557. "type": "string"
  33558. },
  33559. "openmode": {
  33560. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  33561. "type": "integer"
  33562. },
  33563. "otherurl": {
  33564. "description": "其它图片地址[使用分号分隔]",
  33565. "type": "string"
  33566. },
  33567. "postalcode": {
  33568. "description": "邮政编码",
  33569. "type": "string"
  33570. },
  33571. "provinceid": {
  33572. "description": "省",
  33573. "type": "integer"
  33574. },
  33575. "qq": {
  33576. "description": "QQ(加密存储",
  33577. "type": "string"
  33578. },
  33579. "remark": {
  33580. "description": "备注",
  33581. "type": "string"
  33582. },
  33583. "sex": {
  33584. "description": "用户性别 0: 女 1: 男",
  33585. "type": "integer"
  33586. },
  33587. "signpdfurl": {
  33588. "description": "签约pdf文件",
  33589. "type": "string"
  33590. },
  33591. "telphone": {
  33592. "description": "联系电话(加密存储)",
  33593. "type": "string"
  33594. },
  33595. "userid": {
  33596. "description": "用户ID",
  33597. "type": "integer"
  33598. },
  33599. "userinfotype": {
  33600. "description": "用户信息类型 - 1:个人 2:企业",
  33601. "type": "integer"
  33602. },
  33603. "userstatus": {
  33604. "description": "用户状态 - 1:正常 2:注销",
  33605. "type": "integer"
  33606. },
  33607. "usertype": {
  33608. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  33609. "type": "integer"
  33610. },
  33611. "wechat": {
  33612. "description": "微信(加密存储)",
  33613. "type": "string"
  33614. },
  33615. "wskhinfo": {
  33616. "description": "开户申请信息(JSON)",
  33617. "type": "string"
  33618. }
  33619. }
  33620. },
  33621. "models.WRSConverTDetail": {
  33622. "type": "object",
  33623. "properties": {
  33624. "convertratio": {
  33625. "description": "套保系数",
  33626. "type": "number"
  33627. },
  33628. "deliverygoodscode": {
  33629. "description": "现货商品代码",
  33630. "type": "string"
  33631. },
  33632. "deliverygoodsid": {
  33633. "description": "现货品种ID",
  33634. "type": "integer"
  33635. },
  33636. "deliverygoodsname": {
  33637. "description": "现货商品名称",
  33638. "type": "string"
  33639. },
  33640. "enumdicname": {
  33641. "description": "单位名称",
  33642. "type": "string"
  33643. },
  33644. "goodsunitid": {
  33645. "description": "套保品种单位id",
  33646. "type": "integer"
  33647. },
  33648. "middlegoodscode": {
  33649. "description": "套保品种代码",
  33650. "type": "string"
  33651. },
  33652. "middlegoodsid": {
  33653. "description": "套保品种ID",
  33654. "type": "integer"
  33655. },
  33656. "middlegoodsname": {
  33657. "description": "套保品种名称",
  33658. "type": "string"
  33659. },
  33660. "modifytime": {
  33661. "description": "修改时间",
  33662. "type": "string"
  33663. },
  33664. "wrstandardid": {
  33665. "description": "品类ID",
  33666. "type": "integer"
  33667. }
  33668. }
  33669. },
  33670. "models.WRStandardInfo": {
  33671. "type": "object",
  33672. "required": [
  33673. "wrstandardid"
  33674. ],
  33675. "properties": {
  33676. "areauserid": {
  33677. "description": "所属机构",
  33678. "type": "integer"
  33679. },
  33680. "convertfactor": {
  33681. "description": "标仓系数",
  33682. "type": "number"
  33683. },
  33684. "createtime": {
  33685. "description": "创建时间",
  33686. "type": "string"
  33687. },
  33688. "creatorid": {
  33689. "description": "创建人",
  33690. "type": "integer"
  33691. },
  33692. "deliverygoodsid": {
  33693. "description": "品种ID",
  33694. "type": "integer"
  33695. },
  33696. "deliverygoodsname": {
  33697. "description": "交割商品名称",
  33698. "type": "string"
  33699. },
  33700. "factoryitemjson": {
  33701. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  33702. "type": "string"
  33703. },
  33704. "isvalid": {
  33705. "description": "是否有效 - 0:无效 1:有效",
  33706. "type": "integer"
  33707. },
  33708. "minivalue": {
  33709. "description": "最小变动值",
  33710. "type": "integer"
  33711. },
  33712. "minivaluedp": {
  33713. "description": "最小变动值小数位",
  33714. "type": "integer"
  33715. },
  33716. "realminivalue": {
  33717. "description": "实际最小变动值",
  33718. "type": "integer"
  33719. },
  33720. "realminivaluedp": {
  33721. "description": "实际最小变动值小数位",
  33722. "type": "integer"
  33723. },
  33724. "remark": {
  33725. "description": "备注",
  33726. "type": "string"
  33727. },
  33728. "unitid": {
  33729. "description": "单位ID",
  33730. "type": "integer"
  33731. },
  33732. "unitname": {
  33733. "description": "单位",
  33734. "type": "string"
  33735. },
  33736. "updatetime": {
  33737. "description": "更新时间",
  33738. "type": "string"
  33739. },
  33740. "updatorid": {
  33741. "description": "更新人",
  33742. "type": "integer"
  33743. },
  33744. "wrsstatus": {
  33745. "description": "状态 - 作废 - 0:未激活 1:正常",
  33746. "type": "integer"
  33747. },
  33748. "wrstandardcode": {
  33749. "description": "现货品类代码",
  33750. "type": "string"
  33751. },
  33752. "wrstandardid": {
  33753. "description": "现货品类ID(SEQ_WRSTANDARD)",
  33754. "type": "integer"
  33755. },
  33756. "wrstandardname": {
  33757. "description": "现货品类名称",
  33758. "type": "string"
  33759. }
  33760. }
  33761. },
  33762. "models.WRTradeBargainApply": {
  33763. "type": "object",
  33764. "properties": {
  33765. "accountid": {
  33766. "description": "摘牌资金账号",
  33767. "type": "integer"
  33768. },
  33769. "applyprice": {
  33770. "description": "申请价格(议价价格)",
  33771. "type": "string"
  33772. },
  33773. "applyqty": {
  33774. "description": "摘牌数量(议价数量)",
  33775. "type": "number"
  33776. },
  33777. "applyremark": {
  33778. "description": "申请备注",
  33779. "type": "string"
  33780. },
  33781. "applystatus": {
  33782. "description": "申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中",
  33783. "type": "integer"
  33784. },
  33785. "applytime": {
  33786. "description": "申请时间(议价时间)",
  33787. "type": "string"
  33788. },
  33789. "begindate": {
  33790. "description": "开始交易日(yyyymmdd)",
  33791. "type": "string"
  33792. },
  33793. "buyorsell": {
  33794. "description": "买卖(挂牌类型) - 0:买 1:卖",
  33795. "type": "integer"
  33796. },
  33797. "confirmremark": {
  33798. "description": "确认备注",
  33799. "type": "string"
  33800. },
  33801. "confirmtime": {
  33802. "description": "确认时间",
  33803. "type": "string"
  33804. },
  33805. "confirmuserid": {
  33806. "description": "确认人",
  33807. "type": "integer"
  33808. },
  33809. "deliverygoodscode": {
  33810. "description": "品种代码",
  33811. "type": "string"
  33812. },
  33813. "deliverygoodsid": {
  33814. "description": "品种ID",
  33815. "type": "integer"
  33816. },
  33817. "deliverygoodsname": {
  33818. "description": "品种名称",
  33819. "type": "string"
  33820. },
  33821. "deliverymonth": {
  33822. "description": "交收月",
  33823. "type": "string"
  33824. },
  33825. "enddate": {
  33826. "description": "结束交易日(yyyymmdd)",
  33827. "type": "string"
  33828. },
  33829. "enumdicname": {
  33830. "description": "单位名称",
  33831. "type": "string"
  33832. },
  33833. "fixedprice": {
  33834. "description": "挂牌价格",
  33835. "type": "number"
  33836. },
  33837. "handlestatus": {
  33838. "description": "处理状态",
  33839. "type": "integer"
  33840. },
  33841. "marginvalue": {
  33842. "description": "履约保证金比例",
  33843. "type": "number"
  33844. },
  33845. "marketid": {
  33846. "description": "市场ID",
  33847. "type": "integer"
  33848. },
  33849. "matchaccountid": {
  33850. "description": "挂牌方资金账号",
  33851. "type": "integer"
  33852. },
  33853. "matchuserid": {
  33854. "description": "挂牌方用户id",
  33855. "type": "integer"
  33856. },
  33857. "matchusername": {
  33858. "description": "挂牌方用户名称(已脱敏)",
  33859. "type": "string"
  33860. },
  33861. "minivalue": {
  33862. "description": "现货商品最小变动值",
  33863. "type": "integer"
  33864. },
  33865. "optioncompare": {
  33866. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  33867. "type": "string"
  33868. },
  33869. "orderqty": {
  33870. "description": "挂牌数量",
  33871. "type": "integer"
  33872. },
  33873. "refprice": {
  33874. "description": "参考价格",
  33875. "type": "string"
  33876. },
  33877. "retcode": {
  33878. "description": "委托返回代码",
  33879. "type": "integer"
  33880. },
  33881. "templatename": {
  33882. "description": "履约方式(履约模板名称)",
  33883. "type": "string"
  33884. },
  33885. "tradedate": {
  33886. "description": "交易日(yyyyMMdd)",
  33887. "type": "string"
  33888. },
  33889. "userid": {
  33890. "description": "摘牌人用户ID(议价人ID)",
  33891. "type": "integer"
  33892. },
  33893. "username": {
  33894. "description": "议价人名字(已脱敏)",
  33895. "type": "string"
  33896. },
  33897. "validtime": {
  33898. "description": "有效期限",
  33899. "type": "string"
  33900. },
  33901. "warehouseid": {
  33902. "description": "仓库ID",
  33903. "type": "integer"
  33904. },
  33905. "warehousename": {
  33906. "description": "仓库名称",
  33907. "type": "string"
  33908. },
  33909. "wrbargainid": {
  33910. "description": "议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)",
  33911. "type": "string"
  33912. },
  33913. "wrfactortypeid": {
  33914. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  33915. "type": "string"
  33916. },
  33917. "wrfactortypename": {
  33918. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  33919. "type": "string"
  33920. },
  33921. "wrstandardcode": {
  33922. "description": "现货商品代码",
  33923. "type": "string"
  33924. },
  33925. "wrstandardid": {
  33926. "description": "现货商品ID",
  33927. "type": "integer"
  33928. },
  33929. "wrstandardname": {
  33930. "description": "商品名称",
  33931. "type": "string"
  33932. },
  33933. "wrtradeorderid": {
  33934. "description": "关联委托单ID",
  33935. "type": "string"
  33936. },
  33937. "wrtypename": {
  33938. "description": "商品",
  33939. "type": "string"
  33940. }
  33941. }
  33942. },
  33943. "models.Warehouseinfo": {
  33944. "type": "object",
  33945. "required": [
  33946. "autoid",
  33947. "warehousecode"
  33948. ],
  33949. "properties": {
  33950. "address": {
  33951. "description": "详细地址",
  33952. "type": "string"
  33953. },
  33954. "areauserid": {
  33955. "description": "所属机构",
  33956. "type": "integer"
  33957. },
  33958. "autoid": {
  33959. "description": "自增ID",
  33960. "type": "integer"
  33961. },
  33962. "cityid": {
  33963. "description": "市",
  33964. "type": "integer"
  33965. },
  33966. "contactname": {
  33967. "description": "联系人",
  33968. "type": "string"
  33969. },
  33970. "contactnum": {
  33971. "description": "联系电话",
  33972. "type": "string"
  33973. },
  33974. "countryid": {
  33975. "description": "国家",
  33976. "type": "integer"
  33977. },
  33978. "createtime": {
  33979. "description": "创建时间",
  33980. "type": "string"
  33981. },
  33982. "districtid": {
  33983. "description": "区",
  33984. "type": "integer"
  33985. },
  33986. "hasvideo": {
  33987. "description": "是否有视频 - 0:无 1:有",
  33988. "type": "integer"
  33989. },
  33990. "provinceid": {
  33991. "description": "省",
  33992. "type": "integer"
  33993. },
  33994. "remark": {
  33995. "description": "审核备注",
  33996. "type": "string"
  33997. },
  33998. "videourl": {
  33999. "description": "视频地址",
  34000. "type": "string"
  34001. },
  34002. "warehousecode": {
  34003. "description": "仓库代码",
  34004. "type": "string"
  34005. },
  34006. "warehousename": {
  34007. "description": "仓库名称",
  34008. "type": "string"
  34009. },
  34010. "warehousestatus": {
  34011. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  34012. "type": "integer"
  34013. },
  34014. "warehousetype": {
  34015. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  34016. "type": "integer"
  34017. }
  34018. }
  34019. },
  34020. "models.WrAverageTradePrice": {
  34021. "type": "object",
  34022. "properties": {
  34023. "averageprice": {
  34024. "description": "成交均价",
  34025. "type": "number"
  34026. },
  34027. "tradedate": {
  34028. "description": "交易日yyyymm",
  34029. "type": "string"
  34030. }
  34031. }
  34032. },
  34033. "models.WrBsGoodsInfo": {
  34034. "type": "object",
  34035. "properties": {
  34036. "buyorsell": {
  34037. "description": "买卖方向 0-买 1-卖",
  34038. "type": "integer"
  34039. },
  34040. "goodsid": {
  34041. "description": "交易合约ID",
  34042. "type": "integer"
  34043. },
  34044. "lstitem": {
  34045. "description": "商品信息项",
  34046. "type": "array",
  34047. "items": {
  34048. "$ref": "#/definitions/models.WrTypeItem"
  34049. }
  34050. },
  34051. "lststep": {
  34052. "description": "履约规则",
  34053. "type": "array",
  34054. "items": {
  34055. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  34056. }
  34057. }
  34058. }
  34059. },
  34060. "models.WrBuybackDetail": {
  34061. "type": "object",
  34062. "properties": {
  34063. "buybackamount": {
  34064. "description": "回购金额",
  34065. "type": "number"
  34066. },
  34067. "buybackqty": {
  34068. "description": "回购数量",
  34069. "type": "number"
  34070. },
  34071. "buybackreleasemargin": {
  34072. "description": "回购释放保证金",
  34073. "type": "number"
  34074. },
  34075. "buybacktime": {
  34076. "description": "回购时间",
  34077. "type": "string"
  34078. },
  34079. "errordesc": {
  34080. "description": "错误描述",
  34081. "type": "string"
  34082. },
  34083. "handlestatus": {
  34084. "description": "处理 - 1:待处理 2:处理成功 3:处理失败",
  34085. "type": "integer"
  34086. },
  34087. "relatedwrid": {
  34088. "description": "关联仓单ID",
  34089. "type": "integer"
  34090. },
  34091. "scfcontractid": {
  34092. "description": "SCF合同ID",
  34093. "type": "string"
  34094. },
  34095. "scfwrbuybackid": {
  34096. "description": "SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)",
  34097. "type": "integer"
  34098. },
  34099. "tradedate": {
  34100. "description": "交易日(yyyyMMdd)",
  34101. "type": "string"
  34102. }
  34103. }
  34104. },
  34105. "models.WrDeliveryAvalidHoldLB": {
  34106. "type": "object",
  34107. "properties": {
  34108. "accountid": {
  34109. "description": "资金账号",
  34110. "type": "integer"
  34111. },
  34112. "avalidqty": {
  34113. "description": "数量(可点选数量)",
  34114. "type": "number"
  34115. },
  34116. "deliverygoodsid": {
  34117. "description": "品种id",
  34118. "type": "integer"
  34119. },
  34120. "enumdicname": {
  34121. "description": "单位名称",
  34122. "type": "string"
  34123. },
  34124. "goodsid": {
  34125. "description": "x合约商品id",
  34126. "type": "integer"
  34127. },
  34128. "ladingbillid": {
  34129. "description": "提单id",
  34130. "type": "string"
  34131. },
  34132. "pgoodscode": {
  34133. "description": "p商品代码(点价合约)",
  34134. "type": "string"
  34135. },
  34136. "pgoodsid": {
  34137. "description": "p商品id(点价合约)",
  34138. "type": "integer"
  34139. },
  34140. "pgoodsname": {
  34141. "description": "p商品名称(点价合约)",
  34142. "type": "string"
  34143. },
  34144. "pricemove": {
  34145. "description": "升贴水",
  34146. "type": "number"
  34147. },
  34148. "subnum": {
  34149. "description": "提单子id",
  34150. "type": "integer"
  34151. },
  34152. "userid": {
  34153. "description": "用户id",
  34154. "type": "integer"
  34155. },
  34156. "username": {
  34157. "description": "仓单持有人",
  34158. "type": "string"
  34159. },
  34160. "warehousecode": {
  34161. "description": "仓库代码",
  34162. "type": "string"
  34163. },
  34164. "warehouseid": {
  34165. "description": "仓库id",
  34166. "type": "integer"
  34167. },
  34168. "warehousename": {
  34169. "description": "仓库名称",
  34170. "type": "string"
  34171. },
  34172. "wrfactortypeid": {
  34173. "description": "仓单要素id",
  34174. "type": "string"
  34175. },
  34176. "wrstandardcode": {
  34177. "description": "品代码",
  34178. "type": "string"
  34179. },
  34180. "wrstandardid": {
  34181. "description": "品类d",
  34182. "type": "integer"
  34183. },
  34184. "wrstandardname": {
  34185. "description": "品类名称",
  34186. "type": "string"
  34187. },
  34188. "wrtypename": {
  34189. "description": "商品",
  34190. "type": "string"
  34191. },
  34192. "xgoodscode": {
  34193. "description": "x合约代码",
  34194. "type": "string"
  34195. },
  34196. "xgoodsname": {
  34197. "description": "x合约名称",
  34198. "type": "string"
  34199. }
  34200. }
  34201. },
  34202. "models.WrDeliveryDetail": {
  34203. "type": "object",
  34204. "properties": {
  34205. "accountid": {
  34206. "description": "账号ID",
  34207. "type": "integer"
  34208. },
  34209. "averageprice": {
  34210. "description": "交割均价 = 交割金额 / 交割数量",
  34211. "type": "number"
  34212. },
  34213. "begindate": {
  34214. "description": "开始交易日(yyyymmdd)",
  34215. "type": "string"
  34216. },
  34217. "buyorsell": {
  34218. "description": "方向 - 0:买 1:卖",
  34219. "type": "integer"
  34220. },
  34221. "deliveryamount": {
  34222. "description": "货款金额(X总货款+P总货款)",
  34223. "type": "number"
  34224. },
  34225. "deliveryid": {
  34226. "description": "交割单号(121+Unix秒时间戳(10位)+xxxxxx)",
  34227. "type": "string"
  34228. },
  34229. "deliveryorderid": {
  34230. "description": "申报单号",
  34231. "type": "string"
  34232. },
  34233. "deliverypricemove": {
  34234. "description": "升贴水(升贴水总额)",
  34235. "type": "number"
  34236. },
  34237. "deliveryqty": {
  34238. "description": "交收数量(点选数量)",
  34239. "type": "number"
  34240. },
  34241. "deliverystatus": {
  34242. "description": "状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成",
  34243. "type": "integer"
  34244. },
  34245. "deliverytime": {
  34246. "description": "交割时间",
  34247. "type": "string"
  34248. },
  34249. "deliverytotalamount": {
  34250. "description": "交收金额",
  34251. "type": "number"
  34252. },
  34253. "enddate": {
  34254. "description": "结束交易日(yyyymmdd)",
  34255. "type": "string"
  34256. },
  34257. "enumdicname": {
  34258. "description": "单位名称",
  34259. "type": "string"
  34260. },
  34261. "matchaccountid": {
  34262. "description": "对手账号ID",
  34263. "type": "integer"
  34264. },
  34265. "matchusername": {
  34266. "description": "对手方名称(仓单持有人)",
  34267. "type": "string"
  34268. },
  34269. "p1goodsremainamount": {
  34270. "description": "点价货款 ps:当PPRICEMODE=2时, 界面需显示\"-\"",
  34271. "type": "number"
  34272. },
  34273. "pdeliverycloseqty": {
  34274. "description": "p合约平仓数量",
  34275. "type": "number"
  34276. },
  34277. "pdeliveryprice": {
  34278. "description": "点价价格 ps:当PPRICEMODE=2时, 界面需显示\"-\"",
  34279. "type": "number"
  34280. },
  34281. "pgoodscode": {
  34282. "description": "商品代码",
  34283. "type": "string"
  34284. },
  34285. "pgoodsid": {
  34286. "description": "p点选合约id",
  34287. "type": "integer"
  34288. },
  34289. "pgoodsname": {
  34290. "description": "商品名称",
  34291. "type": "string"
  34292. },
  34293. "ppricemode": {
  34294. "description": "点价价格方式 - 1:商品价 2:固定值",
  34295. "type": "integer"
  34296. },
  34297. "tradedate": {
  34298. "description": "交易日(yyyymmdd)",
  34299. "type": "string"
  34300. },
  34301. "userid": {
  34302. "description": "用户id",
  34303. "type": "integer"
  34304. },
  34305. "username": {
  34306. "description": "用户名称",
  34307. "type": "string"
  34308. },
  34309. "warehousename": {
  34310. "description": "仓库名称",
  34311. "type": "string"
  34312. },
  34313. "wrfactortypeid": {
  34314. "description": "仓单要素类型ID",
  34315. "type": "string"
  34316. },
  34317. "wrtypename": {
  34318. "description": "商品",
  34319. "type": "string"
  34320. },
  34321. "xdeliverycloseqty": {
  34322. "description": "合约数量",
  34323. "type": "number"
  34324. },
  34325. "xgoodsamount": {
  34326. "description": "合约金额 = 货款金额(DELIVERYAMOUNT) - 点价货款(P1GOODSREMAINAMOUNT)",
  34327. "type": "number"
  34328. },
  34329. "xgoodscode": {
  34330. "description": "商品代码",
  34331. "type": "string"
  34332. },
  34333. "xgoodsid": {
  34334. "description": "x交易合约ID",
  34335. "type": "integer"
  34336. },
  34337. "xgoodsname": {
  34338. "description": "商品名称",
  34339. "type": "string"
  34340. }
  34341. }
  34342. },
  34343. "models.WrDeliveryGoodsSection": {
  34344. "type": "object",
  34345. "properties": {
  34346. "dglst": {
  34347. "description": "板块商品列表",
  34348. "type": "array",
  34349. "items": {
  34350. "$ref": "#/definitions/models.WrDeliveryGoodsSectionConfig"
  34351. }
  34352. },
  34353. "imagepath": {
  34354. "description": "图片地址",
  34355. "type": "string"
  34356. },
  34357. "orderindex": {
  34358. "description": "排序",
  34359. "type": "integer"
  34360. },
  34361. "sectionid": {
  34362. "description": "版块ID (SEQ_DELIVERYGOODSSECTION) - 自增100开始, 前面ID预留给SectionType = 1的版块1 - 云融指数",
  34363. "type": "integer"
  34364. },
  34365. "sectionname": {
  34366. "description": "版块名称",
  34367. "type": "string"
  34368. },
  34369. "sectiontype": {
  34370. "description": "版块类型 - 1:指数版块 2:普通版块",
  34371. "type": "integer"
  34372. }
  34373. }
  34374. },
  34375. "models.WrDeliveryGoodsSectionConfig": {
  34376. "type": "object",
  34377. "properties": {
  34378. "deliverygoodscode": {
  34379. "description": "现货商品代码",
  34380. "type": "string"
  34381. },
  34382. "deliverygoodsid": {
  34383. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  34384. "type": "integer"
  34385. },
  34386. "deliverygoodsname": {
  34387. "description": "现货商品名称",
  34388. "type": "string"
  34389. },
  34390. "orderindex": {
  34391. "description": "排序",
  34392. "type": "integer"
  34393. }
  34394. }
  34395. },
  34396. "models.WrFAProductDetail": {
  34397. "type": "object",
  34398. "properties": {
  34399. "accountid": {
  34400. "description": "资金账号",
  34401. "type": "integer"
  34402. },
  34403. "areauserid": {
  34404. "description": "金融机构ID",
  34405. "type": "integer"
  34406. },
  34407. "financingdays": {
  34408. "description": "天数(天)",
  34409. "type": "integer"
  34410. },
  34411. "interestminlen": {
  34412. "description": "最小起息天数",
  34413. "type": "integer"
  34414. },
  34415. "interestrate": {
  34416. "description": "利率",
  34417. "type": "number"
  34418. },
  34419. "interestratemode": {
  34420. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  34421. "type": "integer"
  34422. },
  34423. "interestsettlemode": {
  34424. "description": "结息方式 - 1:按日结息 3:按月结息",
  34425. "type": "integer"
  34426. },
  34427. "interestsettlevalue": {
  34428. "description": "结息方式值",
  34429. "type": "integer"
  34430. },
  34431. "isautoloan": {
  34432. "description": "是否自动放款 0-手动 1-自动 (当为自动放款时,显示\"放款快\")",
  34433. "type": "integer"
  34434. },
  34435. "loantag": {
  34436. "description": "放款标识: \"放款快\" 或者为空",
  34437. "type": "string"
  34438. },
  34439. "marginratio": {
  34440. "description": "保证金比率质押率 - [仓单质押]",
  34441. "type": "number"
  34442. },
  34443. "productdetailid": {
  34444. "description": "产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)",
  34445. "type": "integer"
  34446. },
  34447. "productid": {
  34448. "description": "金融产品ID",
  34449. "type": "integer"
  34450. },
  34451. "productname": {
  34452. "description": "产品名称",
  34453. "type": "string"
  34454. },
  34455. "updatetime": {
  34456. "description": "更新时间",
  34457. "type": "string"
  34458. },
  34459. "username": {
  34460. "description": "融出方",
  34461. "type": "string"
  34462. }
  34463. }
  34464. },
  34465. "models.WrFactorTypeInfo": {
  34466. "type": "object",
  34467. "properties": {
  34468. "deliverygoodscode": {
  34469. "description": "品种代码",
  34470. "type": "string"
  34471. },
  34472. "deliverygoodsname": {
  34473. "description": "品种名称",
  34474. "type": "string"
  34475. },
  34476. "dgfactoryitemid": {
  34477. "description": "选择项id",
  34478. "type": "integer"
  34479. },
  34480. "dgfactoryitemtypeid": {
  34481. "description": "要素选择项ID (1-仓库 2-品牌)",
  34482. "type": "integer"
  34483. },
  34484. "dgfactoryitemvalue": {
  34485. "description": "要素项值",
  34486. "type": "string"
  34487. },
  34488. "itemtypename": {
  34489. "description": "要素项名称",
  34490. "type": "string"
  34491. },
  34492. "optioncompare": {
  34493. "description": "选择比较串",
  34494. "type": "string"
  34495. },
  34496. "warehouseid": {
  34497. "description": "仓库id",
  34498. "type": "integer"
  34499. },
  34500. "wrfactortypeid": {
  34501. "description": "仓单要素ID",
  34502. "type": "string"
  34503. },
  34504. "wrfactortypename": {
  34505. "description": "要素名称",
  34506. "type": "string"
  34507. },
  34508. "wrfactortypename2": {
  34509. "description": "要素名称(不含仓库)",
  34510. "type": "string"
  34511. },
  34512. "wrstandardcode": {
  34513. "description": "品类代码",
  34514. "type": "string"
  34515. },
  34516. "wrstandardid": {
  34517. "description": "品类id",
  34518. "type": "integer"
  34519. },
  34520. "wrstandardname": {
  34521. "description": "品类名称",
  34522. "type": "string"
  34523. }
  34524. }
  34525. },
  34526. "models.WrFilterItem": {
  34527. "type": "object",
  34528. "properties": {
  34529. "itemcode": {
  34530. "description": "代码",
  34531. "type": "string"
  34532. },
  34533. "itemid": {
  34534. "description": "项id",
  34535. "type": "integer"
  34536. },
  34537. "itemname": {
  34538. "description": "名称",
  34539. "type": "string"
  34540. },
  34541. "itemtype": {
  34542. "description": "类型 1-品种 2-品类(商品) 3-仓库",
  34543. "type": "integer"
  34544. }
  34545. }
  34546. },
  34547. "models.WrFinanceBuyApply": {
  34548. "type": "object",
  34549. "properties": {
  34550. "applydate": {
  34551. "description": "申请时间",
  34552. "type": "string"
  34553. },
  34554. "applystatus": {
  34555. "description": "申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败",
  34556. "type": "integer"
  34557. },
  34558. "applyuserid": {
  34559. "description": "申请人",
  34560. "type": "integer"
  34561. },
  34562. "auditdate": {
  34563. "description": "审核时间",
  34564. "type": "string"
  34565. },
  34566. "auditremark": {
  34567. "description": "审核备注",
  34568. "type": "string"
  34569. },
  34570. "audituserid": {
  34571. "description": "审核人",
  34572. "type": "integer"
  34573. },
  34574. "buyaccountid": {
  34575. "description": "买方资金账号",
  34576. "type": "integer"
  34577. },
  34578. "buyorsell": {
  34579. "description": "买卖 - 0:买 1:卖",
  34580. "type": "integer"
  34581. },
  34582. "buyuserid": {
  34583. "description": "买方用户ID",
  34584. "type": "integer"
  34585. },
  34586. "buyusername": {
  34587. "description": "买方名称",
  34588. "type": "string"
  34589. },
  34590. "buywrtradeorderid": {
  34591. "description": "融资方买委托单ID",
  34592. "type": "string"
  34593. },
  34594. "deliverygoodscode": {
  34595. "description": "品种代码",
  34596. "type": "string"
  34597. },
  34598. "deliverygoodsid": {
  34599. "description": "品种ID",
  34600. "type": "integer"
  34601. },
  34602. "deliverygoodsname": {
  34603. "description": "品种名称",
  34604. "type": "string"
  34605. },
  34606. "deliverymonth": {
  34607. "description": "交收月(yyyy-MM) [无仓单HasWR =0]",
  34608. "type": "string"
  34609. },
  34610. "enumdicname": {
  34611. "description": "单位名称",
  34612. "type": "string"
  34613. },
  34614. "financeaccountid": {
  34615. "description": "融资方资金帐户ID",
  34616. "type": "integer"
  34617. },
  34618. "financeapplyid": {
  34619. "description": "融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  34620. "type": "string"
  34621. },
  34622. "financeareauserid": {
  34623. "description": "融资方用户ID",
  34624. "type": "string"
  34625. },
  34626. "financename": {
  34627. "description": "融出方名称",
  34628. "type": "string"
  34629. },
  34630. "financetype": {
  34631. "description": "融资类型 1-融资回购",
  34632. "type": "integer"
  34633. },
  34634. "financingdays": {
  34635. "description": "天数(天)",
  34636. "type": "integer"
  34637. },
  34638. "freezebuymargin": {
  34639. "description": "冻结融资保证金(买方)",
  34640. "type": "number"
  34641. },
  34642. "handleremark": {
  34643. "description": "处理备注",
  34644. "type": "string"
  34645. },
  34646. "handlestatus": {
  34647. "description": "处理状态",
  34648. "type": "integer"
  34649. },
  34650. "interestminlen": {
  34651. "description": "最小起息天数",
  34652. "type": "integer"
  34653. },
  34654. "interestrate": {
  34655. "description": "利率",
  34656. "type": "number"
  34657. },
  34658. "interestratemode": {
  34659. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  34660. "type": "integer"
  34661. },
  34662. "interestsettlemode": {
  34663. "description": "结息方式 - 1:按日结息 3:按月结息",
  34664. "type": "integer"
  34665. },
  34666. "interestsettlevalue": {
  34667. "description": "结息方式值",
  34668. "type": "integer"
  34669. },
  34670. "isautoloan": {
  34671. "description": "是否自动放款 - 0:手动 1:自动",
  34672. "type": "integer"
  34673. },
  34674. "marginratio": {
  34675. "description": "保证金比率质押率 - [仓单质押]",
  34676. "type": "number"
  34677. },
  34678. "marketid": {
  34679. "description": "市场ID",
  34680. "type": "integer"
  34681. },
  34682. "minivalue": {
  34683. "description": "现货商品最小变动值",
  34684. "type": "integer"
  34685. },
  34686. "optioncompare": {
  34687. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  34688. "type": "string"
  34689. },
  34690. "orderqty": {
  34691. "description": "委托数量(商品数量)",
  34692. "type": "number"
  34693. },
  34694. "productdetailid": {
  34695. "description": "产品组合ID",
  34696. "type": "integer"
  34697. },
  34698. "productid": {
  34699. "description": "金融产品ID",
  34700. "type": "integer"
  34701. },
  34702. "productname": {
  34703. "description": "产品名称",
  34704. "type": "string"
  34705. },
  34706. "remark": {
  34707. "description": "备注",
  34708. "type": "string"
  34709. },
  34710. "scfcontractid": {
  34711. "description": "仓单回购合同ID",
  34712. "type": "string"
  34713. },
  34714. "sellaccountid": {
  34715. "description": "卖方资金账号",
  34716. "type": "integer"
  34717. },
  34718. "selluserid": {
  34719. "description": "卖方用户ID",
  34720. "type": "integer"
  34721. },
  34722. "sellwrtradeorderid": {
  34723. "description": "卖方委托单ID",
  34724. "type": "string"
  34725. },
  34726. "tradeamount": {
  34727. "description": "成交金额(借款金额)",
  34728. "type": "number"
  34729. },
  34730. "tradedate": {
  34731. "description": "交易日(yyyyMMdd)",
  34732. "type": "string"
  34733. },
  34734. "tradeprice": {
  34735. "description": "成交价格",
  34736. "type": "number"
  34737. },
  34738. "warehouseid": {
  34739. "description": "仓库ID",
  34740. "type": "integer"
  34741. },
  34742. "warehousename": {
  34743. "description": "仓库名称",
  34744. "type": "string"
  34745. },
  34746. "wrfactortypeid": {
  34747. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  34748. "type": "string"
  34749. },
  34750. "wrfactortypename": {
  34751. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  34752. "type": "string"
  34753. },
  34754. "wrpricetype": {
  34755. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌单]",
  34756. "type": "integer"
  34757. },
  34758. "wrstandardcode": {
  34759. "description": "现货商品代码",
  34760. "type": "string"
  34761. },
  34762. "wrstandardid": {
  34763. "description": "现货商品ID",
  34764. "type": "integer"
  34765. },
  34766. "wrstandardname": {
  34767. "description": "商品名称",
  34768. "type": "string"
  34769. },
  34770. "wrtypename": {
  34771. "description": "商品",
  34772. "type": "string"
  34773. }
  34774. }
  34775. },
  34776. "models.WrFriendApply": {
  34777. "type": "object",
  34778. "properties": {
  34779. "applicantid": {
  34780. "description": "申请人",
  34781. "type": "integer"
  34782. },
  34783. "applyname": {
  34784. "description": "申请人名称",
  34785. "type": "string"
  34786. },
  34787. "applysrc": {
  34788. "description": "申请来源 - 1:管理端 2:终端",
  34789. "type": "integer"
  34790. },
  34791. "applystatus": {
  34792. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  34793. "type": "integer"
  34794. },
  34795. "applytime": {
  34796. "description": "申请时间",
  34797. "type": "string"
  34798. },
  34799. "auditname": {
  34800. "description": "审核人名称",
  34801. "type": "string"
  34802. },
  34803. "auditorid": {
  34804. "description": "审核人",
  34805. "type": "integer"
  34806. },
  34807. "auditremark": {
  34808. "description": "审核备注",
  34809. "type": "string"
  34810. },
  34811. "auditsrc": {
  34812. "description": "审核来源 - 1:管理端 2:终端",
  34813. "type": "integer"
  34814. },
  34815. "audittime": {
  34816. "description": "审核时间",
  34817. "type": "string"
  34818. },
  34819. "friendapplyid": {
  34820. "description": "申请ID(SEQ_FRIENDAPPLY)",
  34821. "type": "string"
  34822. },
  34823. "friendname": {
  34824. "description": "好友名字(已脱敏)",
  34825. "type": "string"
  34826. },
  34827. "frienduserid": {
  34828. "description": "好友用户ID",
  34829. "type": "string"
  34830. },
  34831. "remark": {
  34832. "description": "备注",
  34833. "type": "string"
  34834. },
  34835. "userid": {
  34836. "description": "申请人用户ID",
  34837. "type": "integer"
  34838. }
  34839. }
  34840. },
  34841. "models.WrFtDeliveryGoods": {
  34842. "type": "object",
  34843. "properties": {
  34844. "deliverygoodscode": {
  34845. "description": "品种代码",
  34846. "type": "string"
  34847. },
  34848. "deliverygoodsid": {
  34849. "description": "品种ID",
  34850. "type": "integer"
  34851. },
  34852. "deliverygoodsname": {
  34853. "description": "品种名称",
  34854. "type": "string"
  34855. },
  34856. "wdlst": {
  34857. "description": "商品列表",
  34858. "type": "array",
  34859. "items": {
  34860. "$ref": "#/definitions/models.WrFtWrstandard"
  34861. }
  34862. }
  34863. }
  34864. },
  34865. "models.WrFtWrstandard": {
  34866. "type": "object",
  34867. "properties": {
  34868. "enumdicname": {
  34869. "description": "单位名称",
  34870. "type": "string"
  34871. },
  34872. "minivalue": {
  34873. "description": "最小变动值",
  34874. "type": "integer"
  34875. },
  34876. "wrstandardcode": {
  34877. "description": "现货商品代码",
  34878. "type": "string"
  34879. },
  34880. "wrstandardid": {
  34881. "description": "现货商品ID",
  34882. "type": "integer"
  34883. },
  34884. "wrstandardname": {
  34885. "description": "商品名称",
  34886. "type": "string"
  34887. }
  34888. }
  34889. },
  34890. "models.WrGoodsInfo": {
  34891. "type": "object",
  34892. "properties": {
  34893. "haswr": {
  34894. "description": "0:仓单预售 1:仓单贸易",
  34895. "type": "integer"
  34896. },
  34897. "lstitem": {
  34898. "description": "商品信息项",
  34899. "type": "array",
  34900. "items": {
  34901. "$ref": "#/definitions/models.WrTypeItem"
  34902. }
  34903. },
  34904. "lststep": {
  34905. "description": "履约规则",
  34906. "type": "array",
  34907. "items": {
  34908. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  34909. }
  34910. },
  34911. "marketid": {
  34912. "description": "市场id",
  34913. "type": "integer"
  34914. }
  34915. }
  34916. },
  34917. "models.WrGoodsPerformanceStep": {
  34918. "type": "object",
  34919. "properties": {
  34920. "autoid": {
  34921. "description": "AutoID",
  34922. "type": "integer"
  34923. },
  34924. "isauto": {
  34925. "description": "是否自动 - 0:不自动 1:自动",
  34926. "type": "integer"
  34927. },
  34928. "remark": {
  34929. "description": "备注",
  34930. "type": "string"
  34931. },
  34932. "stepdate": {
  34933. "description": "天数信息(T+N)",
  34934. "type": "string"
  34935. },
  34936. "stepdays": {
  34937. "description": "距离上一步天数",
  34938. "type": "integer"
  34939. },
  34940. "stepindex": {
  34941. "description": "步骤序号",
  34942. "type": "integer"
  34943. },
  34944. "stepinfo": {
  34945. "description": "步骤信息(步骤名称+步骤值)",
  34946. "type": "string"
  34947. },
  34948. "steptypeid": {
  34949. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  34950. "type": "integer"
  34951. },
  34952. "steptypename": {
  34953. "description": "步骤名称",
  34954. "type": "string"
  34955. },
  34956. "stepvalue": {
  34957. "description": "步骤值",
  34958. "type": "number"
  34959. },
  34960. "templateid": {
  34961. "description": "履约计划模板ID",
  34962. "type": "integer"
  34963. }
  34964. }
  34965. },
  34966. "models.WrHoldLB": {
  34967. "type": "object",
  34968. "properties": {
  34969. "accountid": {
  34970. "description": "持有人帐户ID",
  34971. "type": "integer"
  34972. },
  34973. "createtime": {
  34974. "description": "创建时间(过户时间)",
  34975. "type": "string"
  34976. },
  34977. "deliverygoodscode": {
  34978. "description": "品种代码",
  34979. "type": "string"
  34980. },
  34981. "deliverygoodsid": {
  34982. "description": "品种ID",
  34983. "type": "integer"
  34984. },
  34985. "deliverygoodsname": {
  34986. "description": "品种名称",
  34987. "type": "string"
  34988. },
  34989. "enableqty": {
  34990. "description": "可用数量",
  34991. "type": "number"
  34992. },
  34993. "enumdicname": {
  34994. "description": "单位名称",
  34995. "type": "string"
  34996. },
  34997. "freezerqty": {
  34998. "description": "冻结数量",
  34999. "type": "number"
  35000. },
  35001. "ladingbillid": {
  35002. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  35003. "type": "string"
  35004. },
  35005. "minivalue": {
  35006. "description": "现货商品最小变动值",
  35007. "type": "integer"
  35008. },
  35009. "optioncompare": {
  35010. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  35011. "type": "string"
  35012. },
  35013. "parentsubnum": {
  35014. "description": "拆分父子单号",
  35015. "type": "integer"
  35016. },
  35017. "pledgeqty": {
  35018. "description": "质押数量",
  35019. "type": "number"
  35020. },
  35021. "qty": {
  35022. "description": "数量",
  35023. "type": "number"
  35024. },
  35025. "subnum": {
  35026. "description": "提单子单号",
  35027. "type": "integer"
  35028. },
  35029. "tradedate": {
  35030. "description": "交易日(yyyyMMdd)",
  35031. "type": "string"
  35032. },
  35033. "userid": {
  35034. "description": "持有人ID",
  35035. "type": "integer"
  35036. },
  35037. "warehouseid": {
  35038. "description": "仓库ID",
  35039. "type": "integer"
  35040. },
  35041. "warehousename": {
  35042. "description": "仓库名称",
  35043. "type": "string"
  35044. },
  35045. "wrfactortypeid": {
  35046. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  35047. "type": "string"
  35048. },
  35049. "wrfactortypename": {
  35050. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  35051. "type": "string"
  35052. },
  35053. "wrholdeno": {
  35054. "description": "仓单编号",
  35055. "type": "string"
  35056. },
  35057. "wrid": {
  35058. "description": "仓单变更ID",
  35059. "type": "string"
  35060. },
  35061. "wrstandardcode": {
  35062. "description": "现货商品代码",
  35063. "type": "string"
  35064. },
  35065. "wrstandardid": {
  35066. "description": "现货商品ID",
  35067. "type": "integer"
  35068. },
  35069. "wrstandardname": {
  35070. "description": "商品名称",
  35071. "type": "string"
  35072. },
  35073. "wrtypename": {
  35074. "description": "商品",
  35075. "type": "string"
  35076. }
  35077. }
  35078. },
  35079. "models.WrMarketTradeConfig": {
  35080. "type": "object",
  35081. "properties": {
  35082. "basisdownratio": {
  35083. "description": "浮动价基差下限比例(仓单贸易)",
  35084. "type": "number"
  35085. },
  35086. "basisupratio": {
  35087. "description": "浮动价基差上限比例(仓单贸易)",
  35088. "type": "number"
  35089. },
  35090. "buychargealgorithm": {
  35091. "description": "买方手续费收取方式 1:比率 2:固定",
  35092. "type": "integer"
  35093. },
  35094. "buychargealgorithm2": {
  35095. "description": "回购买方手续费收取方式 1:比率 2:固定 --77:现货商城",
  35096. "type": "integer"
  35097. },
  35098. "buychargealgorithmvalue": {
  35099. "description": "买方手续费设置值(交易所部分)",
  35100. "type": "number"
  35101. },
  35102. "buychargealgorithmvalue2": {
  35103. "description": "买方手续费设置值(会员部分)",
  35104. "type": "number"
  35105. },
  35106. "buychargealgorithmvalue3": {
  35107. "description": "回购买方手续费设置值(交易所部分) --77:现货商城",
  35108. "type": "number"
  35109. },
  35110. "buychargealgorithmvalue4": {
  35111. "description": "回购买方手续费设置值(会员部分) --77:现货商城",
  35112. "type": "number"
  35113. },
  35114. "buyfirstmarginalgorithm": {
  35115. "description": "买方出价保证金方式 - 1:比率 2:固定 - [竞拍]",
  35116. "type": "integer"
  35117. },
  35118. "buyfirstmarginvalue": {
  35119. "description": "买方出价保证金设置值 - [竞拍]",
  35120. "type": "number"
  35121. },
  35122. "buymarginalgorithm": {
  35123. "description": "买方保证金方式 - 1:比率 2:固定",
  35124. "type": "integer"
  35125. },
  35126. "buymarginvalue": {
  35127. "description": "买方保证金设置值",
  35128. "type": "number"
  35129. },
  35130. "buyreleaseratio": {
  35131. "description": "买方释放比率[2:分步履约]",
  35132. "type": "number"
  35133. },
  35134. "executemode": {
  35135. "description": "执行方式[2:分步履约] - 1:顺序执行 2:交叉执行",
  35136. "type": "integer"
  35137. },
  35138. "executeside": {
  35139. "description": "执行方[2:分步履约] - 1:买方 2:卖方",
  35140. "type": "integer"
  35141. },
  35142. "failedchargealgorithm": {
  35143. "description": "流拍手续费收取方式 1:比率 2:固定",
  35144. "type": "integer"
  35145. },
  35146. "failedchargevalue": {
  35147. "description": "流拍手续费设置值",
  35148. "type": "number"
  35149. },
  35150. "failedchargevalue2": {
  35151. "description": "流拍卖方手续费设置值",
  35152. "type": "number"
  35153. },
  35154. "holddays": {
  35155. "description": "合同期限[2:分步履约]",
  35156. "type": "integer"
  35157. },
  35158. "marketid": {
  35159. "description": "市场ID-仓单贸易、竞拍、预售",
  35160. "type": "integer"
  35161. },
  35162. "minqty": {
  35163. "description": "最小执行量[2:分步履约]",
  35164. "type": "number"
  35165. },
  35166. "modifierid": {
  35167. "description": "修改人",
  35168. "type": "integer"
  35169. },
  35170. "performancetempid": {
  35171. "description": "履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)",
  35172. "type": "integer"
  35173. },
  35174. "performancetempid2": {
  35175. "description": "履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行",
  35176. "type": "integer"
  35177. },
  35178. "performancetempid2s": {
  35179. "description": "履约计划模板IDs(无仓单) - 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行",
  35180. "type": "string"
  35181. },
  35182. "performancetempids": {
  35183. "description": "履约计划模板IDs(有仓单)- 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)",
  35184. "type": "string"
  35185. },
  35186. "performanceway": {
  35187. "description": "交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]",
  35188. "type": "integer"
  35189. },
  35190. "sellchargealgorithm": {
  35191. "description": "卖方手续费收取方式 1:比率 2:固定",
  35192. "type": "integer"
  35193. },
  35194. "sellchargealgorithm2": {
  35195. "description": "回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城",
  35196. "type": "integer"
  35197. },
  35198. "sellchargealgorithmvalue": {
  35199. "description": "卖方手续费设置值(交易所部分)",
  35200. "type": "number"
  35201. },
  35202. "sellchargealgorithmvalue2": {
  35203. "description": "卖方手续费设置值(会员部分)",
  35204. "type": "number"
  35205. },
  35206. "sellchargealgorithmvalue3": {
  35207. "description": "回购卖方手续费设置值(交易所部分) --77:现货商城",
  35208. "type": "number"
  35209. },
  35210. "sellchargealgorithmvalue4": {
  35211. "description": "回购卖方手续费设置值(会员部分) --77:现货商城",
  35212. "type": "number"
  35213. },
  35214. "sellmarginalgorithm": {
  35215. "description": "卖方保证金方式 - 1:比率 2:固定",
  35216. "type": "integer"
  35217. },
  35218. "sellmarginvalue": {
  35219. "description": "卖方保证金设置值",
  35220. "type": "number"
  35221. },
  35222. "sellmarginvalue2": {
  35223. "description": "卖方保证金设置值(无仓单)",
  35224. "type": "number"
  35225. },
  35226. "sellreleaseratio": {
  35227. "description": "卖方释放比率[2:分步履约]",
  35228. "type": "number"
  35229. },
  35230. "updatetime": {
  35231. "description": "更新时间",
  35232. "type": "string"
  35233. }
  35234. }
  35235. },
  35236. "models.WrOrderDetail": {
  35237. "type": "object",
  35238. "properties": {
  35239. "accountid": {
  35240. "description": "交易账号(资金账号)",
  35241. "type": "integer"
  35242. },
  35243. "allfriendsflag": {
  35244. "description": "是否全好友可见 - 0:否 1:是",
  35245. "type": "integer"
  35246. },
  35247. "amount": {
  35248. "description": "挂牌金额 = 委托数量 * 固定价或升贴水",
  35249. "type": "number"
  35250. },
  35251. "begindate": {
  35252. "description": "开始交易日(yyyymmdd)",
  35253. "type": "string"
  35254. },
  35255. "buyorsell": {
  35256. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  35257. "type": "integer"
  35258. },
  35259. "canbargain": {
  35260. "description": "是否可议价 - 0:不可 1:可",
  35261. "type": "integer"
  35262. },
  35263. "cancelqty": {
  35264. "description": "撤销数量",
  35265. "type": "number"
  35266. },
  35267. "canpart": {
  35268. "description": "是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)",
  35269. "type": "integer"
  35270. },
  35271. "delistminqty": {
  35272. "description": "起摘数量",
  35273. "type": "integer"
  35274. },
  35275. "deliverygoodscode": {
  35276. "description": "品种代码",
  35277. "type": "string"
  35278. },
  35279. "deliverygoodsid": {
  35280. "description": "品种ID",
  35281. "type": "integer"
  35282. },
  35283. "deliverygoodsname": {
  35284. "description": "品种名称",
  35285. "type": "string"
  35286. },
  35287. "deliverymonth": {
  35288. "description": "交收月",
  35289. "type": "string"
  35290. },
  35291. "enddate": {
  35292. "description": "结束交易日(yyyymmdd)",
  35293. "type": "string"
  35294. },
  35295. "enumdicname": {
  35296. "description": "单位名称",
  35297. "type": "string"
  35298. },
  35299. "fixedprice": {
  35300. "description": "固定价格 - [挂牌]",
  35301. "type": "number"
  35302. },
  35303. "freezecharge": {
  35304. "description": "冻结手续费",
  35305. "type": "number"
  35306. },
  35307. "freezemargin": {
  35308. "description": "冻结保证金(保证金)",
  35309. "type": "number"
  35310. },
  35311. "futupricemove": {
  35312. "description": "期货升贴水",
  35313. "type": "number"
  35314. },
  35315. "futushow": {
  35316. "description": "期货合约/升贴水",
  35317. "type": "string"
  35318. },
  35319. "goodscode": {
  35320. "description": "期货合约",
  35321. "type": "string"
  35322. },
  35323. "goodsid": {
  35324. "description": "期货商品id",
  35325. "type": "integer"
  35326. },
  35327. "goodsname": {
  35328. "description": "商品名称",
  35329. "type": "string"
  35330. },
  35331. "haswr": {
  35332. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  35333. "type": "integer"
  35334. },
  35335. "isspecified": {
  35336. "description": "是否指定对手 - 0:不指定 1:指定 - [挂牌]",
  35337. "type": "integer"
  35338. },
  35339. "ladingbillid": {
  35340. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  35341. "type": "string"
  35342. },
  35343. "marginvalue": {
  35344. "description": "保证金设置值(履约保证金)",
  35345. "type": "number"
  35346. },
  35347. "marketid": {
  35348. "description": "市场ID",
  35349. "type": "integer"
  35350. },
  35351. "matchusername": {
  35352. "description": "对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)",
  35353. "type": "string"
  35354. },
  35355. "minivalue": {
  35356. "description": "现货商品最小变动值",
  35357. "type": "integer"
  35358. },
  35359. "optioncompare": {
  35360. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  35361. "type": "string"
  35362. },
  35363. "orderqty": {
  35364. "description": "委托数量",
  35365. "type": "number"
  35366. },
  35367. "ordertime": {
  35368. "description": "委托时间(挂牌时间)",
  35369. "type": "string"
  35370. },
  35371. "performancetemplateid": {
  35372. "description": "履约模板id",
  35373. "type": "integer"
  35374. },
  35375. "pricemove": {
  35376. "description": "升贴水(浮动价时填写) - [挂牌]",
  35377. "type": "number"
  35378. },
  35379. "taname": {
  35380. "description": "交易用户名称(资金账号名称)",
  35381. "type": "string"
  35382. },
  35383. "tradedate": {
  35384. "description": "交易日(yyyyMMdd)",
  35385. "type": "string"
  35386. },
  35387. "tradeprice": {
  35388. "description": "成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)* 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)",
  35389. "type": "number"
  35390. },
  35391. "tradeqty": {
  35392. "description": "成交数量",
  35393. "type": "number"
  35394. },
  35395. "userid": {
  35396. "description": "用户ID",
  35397. "type": "integer"
  35398. },
  35399. "validtime": {
  35400. "description": "挂牌有效期",
  35401. "type": "string"
  35402. },
  35403. "validtype": {
  35404. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  35405. "type": "integer"
  35406. },
  35407. "warehouseid": {
  35408. "description": "仓库ID",
  35409. "type": "integer"
  35410. },
  35411. "warehousename": {
  35412. "description": "仓库名称",
  35413. "type": "string"
  35414. },
  35415. "wrfactortypeid": {
  35416. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  35417. "type": "string"
  35418. },
  35419. "wrfactortypename": {
  35420. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  35421. "type": "string"
  35422. },
  35423. "wrpricetype": {
  35424. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  35425. "type": "integer"
  35426. },
  35427. "wrstandardcode": {
  35428. "description": "现货商品代码",
  35429. "type": "string"
  35430. },
  35431. "wrstandardid": {
  35432. "description": "现货商品ID",
  35433. "type": "integer"
  35434. },
  35435. "wrstandardname": {
  35436. "description": "商品名称",
  35437. "type": "string"
  35438. },
  35439. "wrtradeorderid": {
  35440. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  35441. "type": "string"
  35442. },
  35443. "wrtradeorderstatus": {
  35444. "description": "委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:部成 8:已成 9:部成部撤 10:成交失败 11:委托拒绝 12:经过摘牌(先摘后挂专用) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用) 17:冻结PD成功 18:冻结PD失败 19:冻结能量成功 20:冻结能量失败 21:预约已报价 22:过期未付 23:优惠券处理中 24:仓单生成失败 25:首付扣款失败 26:履约失败 27:撤单解冻贷款失败",
  35445. "type": "integer"
  35446. },
  35447. "wrtradetype": {
  35448. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  35449. "type": "integer"
  35450. },
  35451. "wrtypename": {
  35452. "description": "商品",
  35453. "type": "string"
  35454. }
  35455. }
  35456. },
  35457. "models.WrOrderQuote": {
  35458. "type": "object",
  35459. "properties": {
  35460. "buyprice": {
  35461. "description": "买价",
  35462. "type": "number"
  35463. },
  35464. "buypricemove": {
  35465. "description": "买升贴水(基差)",
  35466. "type": "number"
  35467. },
  35468. "buyqty": {
  35469. "description": "买量",
  35470. "type": "number"
  35471. },
  35472. "deliverygoodscode": {
  35473. "description": "品种代码",
  35474. "type": "string"
  35475. },
  35476. "deliverygoodsid": {
  35477. "description": "品种id",
  35478. "type": "integer"
  35479. },
  35480. "deliverygoodsname": {
  35481. "description": "品种名称",
  35482. "type": "string"
  35483. },
  35484. "deliverymonth": {
  35485. "description": "交收月",
  35486. "type": "string"
  35487. },
  35488. "enumdicname": {
  35489. "description": "单位名称",
  35490. "type": "string"
  35491. },
  35492. "goodscode": {
  35493. "description": "商品合约(浮动价列表才有)",
  35494. "type": "string"
  35495. },
  35496. "goodsid": {
  35497. "description": "商品id(浮动价列表才有)",
  35498. "type": "integer"
  35499. },
  35500. "minivalue": {
  35501. "description": "现货商品最小变动值",
  35502. "type": "integer"
  35503. },
  35504. "sellprice": {
  35505. "description": "卖价",
  35506. "type": "number"
  35507. },
  35508. "sellpricemove": {
  35509. "description": "卖升贴水(基差)",
  35510. "type": "number"
  35511. },
  35512. "sellqty": {
  35513. "description": "卖量",
  35514. "type": "number"
  35515. },
  35516. "warehousecode": {
  35517. "description": "仓库代码",
  35518. "type": "string"
  35519. },
  35520. "warehouseid": {
  35521. "description": "仓库id",
  35522. "type": "integer"
  35523. },
  35524. "warehousename": {
  35525. "description": "仓库名称",
  35526. "type": "string"
  35527. },
  35528. "wrfactortypeid": {
  35529. "description": "仓单要素id",
  35530. "type": "string"
  35531. },
  35532. "wrfactortypename": {
  35533. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  35534. "type": "string"
  35535. },
  35536. "wrgoodsname": {
  35537. "description": "商品(商品名称+仓库要素名称 拼接)",
  35538. "type": "string"
  35539. },
  35540. "wrstandardcode": {
  35541. "description": "商品代码",
  35542. "type": "string"
  35543. },
  35544. "wrstandardid": {
  35545. "description": "商品id",
  35546. "type": "integer"
  35547. },
  35548. "wrstandardname": {
  35549. "description": "商品名称",
  35550. "type": "string"
  35551. }
  35552. }
  35553. },
  35554. "models.WrOrderQuoteDetail": {
  35555. "type": "object",
  35556. "properties": {
  35557. "buyorsell": {
  35558. "description": "买卖 - 0:买 1:卖",
  35559. "type": "integer"
  35560. },
  35561. "delistminqty": {
  35562. "description": "起摘数量",
  35563. "type": "number"
  35564. },
  35565. "deliverymonth": {
  35566. "description": "交收月",
  35567. "type": "string"
  35568. },
  35569. "enumdicname": {
  35570. "description": "单位名称",
  35571. "type": "string"
  35572. },
  35573. "fixedprice": {
  35574. "description": "买(卖)价",
  35575. "type": "number"
  35576. },
  35577. "marketid": {
  35578. "description": "市场id",
  35579. "type": "integer"
  35580. },
  35581. "minivalue": {
  35582. "description": "现货商品最小变动值",
  35583. "type": "integer"
  35584. },
  35585. "orderqty": {
  35586. "description": "买(卖)量(=委托量-成交量)",
  35587. "type": "number"
  35588. },
  35589. "ordertime": {
  35590. "description": "委托时间",
  35591. "type": "string"
  35592. },
  35593. "pricemove": {
  35594. "description": "买(卖)升贴水- 基差",
  35595. "type": "number"
  35596. },
  35597. "userid": {
  35598. "description": "购买方(销售方)用户ID",
  35599. "type": "integer"
  35600. },
  35601. "username": {
  35602. "description": "购买方(销售方)",
  35603. "type": "string"
  35604. },
  35605. "wrtradeorderid": {
  35606. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  35607. "type": "string"
  35608. }
  35609. }
  35610. },
  35611. "models.WrOutInApply": {
  35612. "type": "object",
  35613. "properties": {
  35614. "applyid": {
  35615. "description": "申请单id",
  35616. "type": "string"
  35617. },
  35618. "applystatus": {
  35619. "description": "申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  35620. "type": "integer"
  35621. },
  35622. "applytime": {
  35623. "description": "申请时间",
  35624. "type": "string"
  35625. },
  35626. "applytype": {
  35627. "description": "申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销",
  35628. "type": "integer"
  35629. },
  35630. "begindate": {
  35631. "description": "开始交易日(yyyymmdd)",
  35632. "type": "string"
  35633. },
  35634. "deliverygoodscode": {
  35635. "description": "品种代码",
  35636. "type": "string"
  35637. },
  35638. "deliverygoodsid": {
  35639. "description": "品种ID",
  35640. "type": "integer"
  35641. },
  35642. "deliverygoodsname": {
  35643. "description": "品种名称",
  35644. "type": "string"
  35645. },
  35646. "enddate": {
  35647. "description": "结束交易日(yyyymmdd)",
  35648. "type": "string"
  35649. },
  35650. "enumdicname": {
  35651. "description": "单位名称",
  35652. "type": "string"
  35653. },
  35654. "expresscompany": {
  35655. "description": "物流公司",
  35656. "type": "string"
  35657. },
  35658. "expressnum": {
  35659. "description": "物流单号",
  35660. "type": "string"
  35661. },
  35662. "minivalue": {
  35663. "description": "现货商品最小变动值",
  35664. "type": "integer"
  35665. },
  35666. "optioncompare": {
  35667. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  35668. "type": "string"
  35669. },
  35670. "qty": {
  35671. "description": "数量",
  35672. "type": "integer"
  35673. },
  35674. "userid": {
  35675. "description": "用户id",
  35676. "type": "integer"
  35677. },
  35678. "warehouseid": {
  35679. "description": "仓库ID",
  35680. "type": "integer"
  35681. },
  35682. "warehousename": {
  35683. "description": "仓库名称",
  35684. "type": "string"
  35685. },
  35686. "wrfactortypeid": {
  35687. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  35688. "type": "string"
  35689. },
  35690. "wrfactortypename": {
  35691. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  35692. "type": "string"
  35693. },
  35694. "wrstandardcode": {
  35695. "description": "现货商品代码",
  35696. "type": "string"
  35697. },
  35698. "wrstandardid": {
  35699. "description": "现货商品ID",
  35700. "type": "integer"
  35701. },
  35702. "wrstandardname": {
  35703. "description": "商品名称",
  35704. "type": "string"
  35705. },
  35706. "wrtypename": {
  35707. "description": "商品",
  35708. "type": "string"
  35709. }
  35710. }
  35711. },
  35712. "models.WrPerformancePlan": {
  35713. "type": "object",
  35714. "required": [
  35715. "userid"
  35716. ],
  35717. "properties": {
  35718. "activatemonth": {
  35719. "description": "履约激活月 [无仓单的交易收月](yyyy-MM)",
  35720. "type": "string"
  35721. },
  35722. "amount": {
  35723. "description": "履约金额(总金额)",
  35724. "type": "number"
  35725. },
  35726. "buyaccountid": {
  35727. "description": "买方账号",
  35728. "type": "integer"
  35729. },
  35730. "buyerfreezeamount": {
  35731. "description": "履约冻结(买履约)",
  35732. "type": "number"
  35733. },
  35734. "buyerfreezeamountremain": {
  35735. "description": "履约冻结剩余(买履约)",
  35736. "type": "number"
  35737. },
  35738. "buyorsell": {
  35739. "description": "买卖方向 0-买 1-卖",
  35740. "type": "integer"
  35741. },
  35742. "buypaidamount": {
  35743. "description": "买方已冻/已扣金额 (已付金额)",
  35744. "type": "number"
  35745. },
  35746. "buyusername": {
  35747. "description": "买方名字",
  35748. "type": "string"
  35749. },
  35750. "contractid": {
  35751. "description": "合同ID",
  35752. "type": "integer"
  35753. },
  35754. "createtime": {
  35755. "description": "创建时间",
  35756. "type": "string"
  35757. },
  35758. "creatorid": {
  35759. "description": "创建人",
  35760. "type": "integer"
  35761. },
  35762. "curstepdeadline": {
  35763. "description": "当前步骤到期时间",
  35764. "type": "string"
  35765. },
  35766. "curstepid": {
  35767. "description": "当前步骤ID",
  35768. "type": "string"
  35769. },
  35770. "curstepname": {
  35771. "description": "当前步骤名称",
  35772. "type": "string"
  35773. },
  35774. "deliverygoodscode": {
  35775. "description": "品种代码",
  35776. "type": "string"
  35777. },
  35778. "deliverygoodsid": {
  35779. "description": "品种ID",
  35780. "type": "integer"
  35781. },
  35782. "deliverygoodsname": {
  35783. "description": "品种名称",
  35784. "type": "string"
  35785. },
  35786. "enumdicname": {
  35787. "description": "单位名称",
  35788. "type": "string"
  35789. },
  35790. "expressfee": {
  35791. "description": "运费",
  35792. "type": "number"
  35793. },
  35794. "expressfeeconfirmed": {
  35795. "description": "是否确认运费 - 0:无 1:买方确认 2:卖方确认",
  35796. "type": "integer"
  35797. },
  35798. "hasovershort": {
  35799. "description": "是否确认溢短 - 0:没有 1:买方确认 2:卖方确认",
  35800. "type": "integer"
  35801. },
  35802. "haswr": {
  35803. "description": "类型 0-仓单预售 1-仓单贸易",
  35804. "type": "integer"
  35805. },
  35806. "marketid": {
  35807. "description": "市场ID",
  35808. "type": "integer"
  35809. },
  35810. "middleaccountid": {
  35811. "description": "中间商资金账号ID",
  35812. "type": "integer"
  35813. },
  35814. "middleuserid": {
  35815. "description": "中间商用户ID",
  35816. "type": "integer"
  35817. },
  35818. "minivalue": {
  35819. "description": "现货商品最小变动值",
  35820. "type": "integer"
  35821. },
  35822. "optioncompare": {
  35823. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  35824. "type": "string"
  35825. },
  35826. "overshortamount": {
  35827. "description": "溢短金额",
  35828. "type": "number"
  35829. },
  35830. "overshortqty": {
  35831. "description": "溢短数量",
  35832. "type": "number"
  35833. },
  35834. "paymenttype": {
  35835. "description": "付款方式 - 1:冻结 2:扣款",
  35836. "type": "integer"
  35837. },
  35838. "performanceplanid": {
  35839. "description": "履约计划ID(130+yyMMddHHmmss+xxxx)",
  35840. "type": "string"
  35841. },
  35842. "performancestatus": {
  35843. "description": "履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭",
  35844. "type": "integer"
  35845. },
  35846. "performancetype": {
  35847. "description": "履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统",
  35848. "type": "integer"
  35849. },
  35850. "qty": {
  35851. "description": "履约数量",
  35852. "type": "number"
  35853. },
  35854. "relatedorderid": {
  35855. "description": "关联单号(履约类型的关联单号)",
  35856. "type": "string"
  35857. },
  35858. "remark": {
  35859. "description": "备注",
  35860. "type": "string"
  35861. },
  35862. "sellaccountid": {
  35863. "description": "卖方账号",
  35864. "type": "integer"
  35865. },
  35866. "sellerfreezeamount": {
  35867. "description": "履约冻结(卖履约)",
  35868. "type": "number"
  35869. },
  35870. "sellerfreezeamountremain": {
  35871. "description": "履约冻结剩余(卖履约)",
  35872. "type": "number"
  35873. },
  35874. "sellreceivedamount": {
  35875. "description": "卖方已收金额",
  35876. "type": "number"
  35877. },
  35878. "sellusername": {
  35879. "description": "卖方名字",
  35880. "type": "string"
  35881. },
  35882. "shipremark": {
  35883. "description": "发货备注[物流单号]",
  35884. "type": "string"
  35885. },
  35886. "starttime": {
  35887. "description": "开始时间",
  35888. "type": "string"
  35889. },
  35890. "steptypeid": {
  35891. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  35892. "type": "integer"
  35893. },
  35894. "typename": {
  35895. "description": "履约类型 名称",
  35896. "type": "string"
  35897. },
  35898. "unpaidamount": {
  35899. "description": "剩余款(待支付金额)",
  35900. "type": "number"
  35901. },
  35902. "userid": {
  35903. "description": "用户id",
  35904. "type": "integer"
  35905. },
  35906. "warehouseid": {
  35907. "description": "仓库ID",
  35908. "type": "integer"
  35909. },
  35910. "warehousename": {
  35911. "description": "仓库名称",
  35912. "type": "string"
  35913. },
  35914. "wrfactortypeid": {
  35915. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  35916. "type": "string"
  35917. },
  35918. "wrfactortypename": {
  35919. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  35920. "type": "string"
  35921. },
  35922. "wrstandardcode": {
  35923. "description": "现货商品代码",
  35924. "type": "string"
  35925. },
  35926. "wrstandardid": {
  35927. "description": "现货商品ID",
  35928. "type": "integer"
  35929. },
  35930. "wrstandardname": {
  35931. "description": "商品名称",
  35932. "type": "string"
  35933. },
  35934. "wrtransferuserid": {
  35935. "description": "仓单受让用户",
  35936. "type": "integer"
  35937. },
  35938. "wrtypename": {
  35939. "description": "商品",
  35940. "type": "string"
  35941. }
  35942. }
  35943. },
  35944. "models.WrPerformancePlanStep": {
  35945. "type": "object",
  35946. "properties": {
  35947. "delaydays": {
  35948. "description": "延期申请天数",
  35949. "type": "integer"
  35950. },
  35951. "deliverygoodscode": {
  35952. "description": "品种代码",
  35953. "type": "string"
  35954. },
  35955. "deliverygoodsid": {
  35956. "description": "品种ID",
  35957. "type": "integer"
  35958. },
  35959. "deliverygoodsname": {
  35960. "description": "品种名称",
  35961. "type": "string"
  35962. },
  35963. "endtime": {
  35964. "description": "结束日期",
  35965. "type": "string"
  35966. },
  35967. "enumdicname": {
  35968. "description": "单位名称",
  35969. "type": "string"
  35970. },
  35971. "executeside": {
  35972. "description": "步骤执行方 - 1:买方 2:卖方",
  35973. "type": "integer"
  35974. },
  35975. "handlestatus": {
  35976. "description": "处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败",
  35977. "type": "integer"
  35978. },
  35979. "isauto": {
  35980. "description": "是否自动 - 0:不自动 1:自动",
  35981. "type": "integer"
  35982. },
  35983. "islastreceivestep": {
  35984. "description": "是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)",
  35985. "type": "integer"
  35986. },
  35987. "minivalue": {
  35988. "description": "现货商品最小变动值",
  35989. "type": "integer"
  35990. },
  35991. "optioncompare": {
  35992. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  35993. "type": "string"
  35994. },
  35995. "overdays": {
  35996. "description": "超期天数 = 当前时间(数据库时间) - 结束日期",
  35997. "type": "integer"
  35998. },
  35999. "performancestepid": {
  36000. "description": "履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)",
  36001. "type": "string"
  36002. },
  36003. "planid": {
  36004. "description": "所属履约计划ID",
  36005. "type": "string"
  36006. },
  36007. "realamount": {
  36008. "description": "实际完成金额",
  36009. "type": "number"
  36010. },
  36011. "relatedorderid": {
  36012. "description": "关联单号",
  36013. "type": "string"
  36014. },
  36015. "remaindays": {
  36016. "description": "剩余天数",
  36017. "type": "integer"
  36018. },
  36019. "remark": {
  36020. "description": "错误备注",
  36021. "type": "string"
  36022. },
  36023. "starttime": {
  36024. "description": "开始日期",
  36025. "type": "string"
  36026. },
  36027. "stepamount": {
  36028. "description": "步骤金额",
  36029. "type": "number"
  36030. },
  36031. "stepdays": {
  36032. "description": "距离上一步天数(分钟)",
  36033. "type": "integer"
  36034. },
  36035. "stepindex": {
  36036. "description": "步骤序号",
  36037. "type": "integer"
  36038. },
  36039. "steplanchtype": {
  36040. "description": "步骤启动类型 - 1:系统自动 2:手动",
  36041. "type": "integer"
  36042. },
  36043. "stepremark": {
  36044. "description": "步骤备注",
  36045. "type": "string"
  36046. },
  36047. "stepstatus": {
  36048. "description": "步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭",
  36049. "type": "integer"
  36050. },
  36051. "steptypeid": {
  36052. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  36053. "type": "integer"
  36054. },
  36055. "steptypename": {
  36056. "description": "步骤名称",
  36057. "type": "string"
  36058. },
  36059. "stepvalue": {
  36060. "description": "步骤值",
  36061. "type": "number"
  36062. },
  36063. "warehouseid": {
  36064. "description": "仓库ID",
  36065. "type": "integer"
  36066. },
  36067. "warehousename": {
  36068. "description": "仓库名称",
  36069. "type": "string"
  36070. },
  36071. "wrfactortypeid": {
  36072. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  36073. "type": "string"
  36074. },
  36075. "wrfactortypename": {
  36076. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  36077. "type": "string"
  36078. },
  36079. "wrstandardcode": {
  36080. "description": "现货商品代码",
  36081. "type": "string"
  36082. },
  36083. "wrstandardid": {
  36084. "description": "现货商品ID",
  36085. "type": "integer"
  36086. },
  36087. "wrstandardname": {
  36088. "description": "商品名称",
  36089. "type": "string"
  36090. },
  36091. "wrtypename": {
  36092. "description": "商品",
  36093. "type": "string"
  36094. }
  36095. }
  36096. },
  36097. "models.WrPerformanceStepType": {
  36098. "type": "object",
  36099. "properties": {
  36100. "canauto": {
  36101. "description": "能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)",
  36102. "type": "integer"
  36103. },
  36104. "steptypeid": {
  36105. "description": "步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移",
  36106. "type": "integer"
  36107. },
  36108. "steptypename": {
  36109. "description": "步骤类型名称",
  36110. "type": "string"
  36111. }
  36112. }
  36113. },
  36114. "models.WrPerformanceTemplateEx": {
  36115. "type": "object",
  36116. "properties": {
  36117. "autoid": {
  36118. "description": "AutoID 模板id",
  36119. "type": "integer"
  36120. },
  36121. "createtime": {
  36122. "description": "创建时间",
  36123. "type": "string"
  36124. },
  36125. "creatorid": {
  36126. "description": "创建人",
  36127. "type": "integer"
  36128. },
  36129. "lstStep": {
  36130. "description": "步骤信息列表",
  36131. "type": "array",
  36132. "items": {
  36133. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  36134. }
  36135. },
  36136. "paymenttype": {
  36137. "description": "支付方式 - 1:冻结 2:扣款",
  36138. "type": "integer"
  36139. },
  36140. "takemode": {
  36141. "description": "提货方式 - 1:无 2:买方自提 3:卖方发货",
  36142. "type": "integer"
  36143. },
  36144. "templatename": {
  36145. "description": "模板名称",
  36146. "type": "string"
  36147. },
  36148. "templatetype": {
  36149. "description": "模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式",
  36150. "type": "integer"
  36151. },
  36152. "userid": {
  36153. "description": "所属用户",
  36154. "type": "integer"
  36155. }
  36156. }
  36157. },
  36158. "models.WrPosition": {
  36159. "type": "object",
  36160. "properties": {
  36161. "accountid": {
  36162. "description": "帐户ID",
  36163. "type": "integer"
  36164. },
  36165. "buyexcuteqty": {
  36166. "description": "采购履约中数量",
  36167. "type": "number"
  36168. },
  36169. "creditcurqty": {
  36170. "description": "授信当前数量(预售仓单:预售当前量)",
  36171. "type": "number"
  36172. },
  36173. "creditenableqty": {
  36174. "description": "授信可用数量(预售仓单: 可用数量)",
  36175. "type": "number"
  36176. },
  36177. "creditfreezeqty": {
  36178. "description": "授信冻结数量(预售仓单: 当前数量)",
  36179. "type": "number"
  36180. },
  36181. "credittotalqty": {
  36182. "description": "授信总数量(预售仓单:预售总量)",
  36183. "type": "number"
  36184. },
  36185. "credittradeqty": {
  36186. "description": "授信成交数量(预售仓单:成交总量)",
  36187. "type": "number"
  36188. },
  36189. "deliverygoodscode": {
  36190. "description": "品种代码",
  36191. "type": "string"
  36192. },
  36193. "deliverygoodsid": {
  36194. "description": "品种ID",
  36195. "type": "integer"
  36196. },
  36197. "deliverygoodsname": {
  36198. "description": "品种名称",
  36199. "type": "string"
  36200. },
  36201. "enalbeqty": {
  36202. "description": "可用数量",
  36203. "type": "number"
  36204. },
  36205. "enumdicname": {
  36206. "description": "单位名称",
  36207. "type": "string"
  36208. },
  36209. "freezeqty": {
  36210. "description": "总冻结数量",
  36211. "type": "number"
  36212. },
  36213. "haswr": {
  36214. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  36215. "type": "integer"
  36216. },
  36217. "minivalue": {
  36218. "description": "现货商品最小变动值",
  36219. "type": "integer"
  36220. },
  36221. "modifytime": {
  36222. "description": "修改时间(过户时间)",
  36223. "type": "string"
  36224. },
  36225. "optioncompare": {
  36226. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  36227. "type": "string"
  36228. },
  36229. "pledgeqty": {
  36230. "description": "质押数量",
  36231. "type": "number"
  36232. },
  36233. "querytype": {
  36234. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总)",
  36235. "type": "integer"
  36236. },
  36237. "sellexcuteqty": {
  36238. "description": "销售履约中数量",
  36239. "type": "number"
  36240. },
  36241. "totalqty": {
  36242. "description": "总数量(库存数量)",
  36243. "type": "number"
  36244. },
  36245. "warehouseid": {
  36246. "description": "仓库ID",
  36247. "type": "integer"
  36248. },
  36249. "warehousename": {
  36250. "description": "仓库名称",
  36251. "type": "string"
  36252. },
  36253. "wrfactortypeid": {
  36254. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  36255. "type": "string"
  36256. },
  36257. "wrfactortypename": {
  36258. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  36259. "type": "string"
  36260. },
  36261. "wrpositionid": {
  36262. "description": "仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)",
  36263. "type": "string"
  36264. },
  36265. "wrpositionno": {
  36266. "description": "仓单编号",
  36267. "type": "string"
  36268. },
  36269. "wrstandardcode": {
  36270. "description": "现货商品代码",
  36271. "type": "string"
  36272. },
  36273. "wrstandardid": {
  36274. "description": "现货商品ID",
  36275. "type": "integer"
  36276. },
  36277. "wrstandardname": {
  36278. "description": "商品名称",
  36279. "type": "string"
  36280. },
  36281. "wrtypename": {
  36282. "description": "商品",
  36283. "type": "string"
  36284. },
  36285. "wruserid": {
  36286. "description": "持有人ID",
  36287. "type": "integer"
  36288. }
  36289. }
  36290. },
  36291. "models.WrQuoteOrderMyq": {
  36292. "type": "object",
  36293. "properties": {
  36294. "buyorsell": {
  36295. "description": "买卖 - 0:买 1:卖",
  36296. "type": "integer"
  36297. },
  36298. "canbargain": {
  36299. "description": "是否可议价 - 0:不可 1:可",
  36300. "type": "integer"
  36301. },
  36302. "canpart": {
  36303. "description": "是否允许部份摘牌 - 0:不允许 1:允许",
  36304. "type": "integer"
  36305. },
  36306. "delistminqty": {
  36307. "description": "起摘数量",
  36308. "type": "number"
  36309. },
  36310. "deliverygoodscode": {
  36311. "description": "品种代码",
  36312. "type": "string"
  36313. },
  36314. "deliverygoodsid": {
  36315. "description": "品种ID",
  36316. "type": "integer"
  36317. },
  36318. "deliverygoodsname": {
  36319. "description": "品种名称",
  36320. "type": "string"
  36321. },
  36322. "deliverymonth": {
  36323. "description": "交收月",
  36324. "type": "string"
  36325. },
  36326. "enumdicname": {
  36327. "description": "单位名称",
  36328. "type": "string"
  36329. },
  36330. "fixedprice": {
  36331. "description": "买(卖)价",
  36332. "type": "number"
  36333. },
  36334. "goodscode": {
  36335. "description": "商品合约代码",
  36336. "type": "string"
  36337. },
  36338. "marginflag": {
  36339. "description": "挂牌是否指定保证金 - 0:未指定 1:指定",
  36340. "type": "integer"
  36341. },
  36342. "marginvalue": {
  36343. "description": "保证金设置值",
  36344. "type": "number"
  36345. },
  36346. "minivalue": {
  36347. "description": "现货商品最小变动值",
  36348. "type": "integer"
  36349. },
  36350. "orderqty": {
  36351. "description": "买(卖)量(=委托量-成交量)",
  36352. "type": "number"
  36353. },
  36354. "ordertime": {
  36355. "description": "委托时间",
  36356. "type": "string"
  36357. },
  36358. "performancetemplateid": {
  36359. "description": "履约模板id",
  36360. "type": "integer"
  36361. },
  36362. "pricemove": {
  36363. "description": "买(卖)升贴水- 基差",
  36364. "type": "number"
  36365. },
  36366. "templatename": {
  36367. "description": "履约模板名称",
  36368. "type": "string"
  36369. },
  36370. "userid": {
  36371. "description": "购买方(销售方)用户ID",
  36372. "type": "integer"
  36373. },
  36374. "username": {
  36375. "description": "购买方(销售方)",
  36376. "type": "string"
  36377. },
  36378. "validtime": {
  36379. "description": "有效期限",
  36380. "type": "string"
  36381. },
  36382. "validtype": {
  36383. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  36384. "type": "integer"
  36385. },
  36386. "warehousename": {
  36387. "description": "仓库名称",
  36388. "type": "string"
  36389. },
  36390. "wrfactortypeid": {
  36391. "description": "仓单要素id",
  36392. "type": "string"
  36393. },
  36394. "wrstandardcode": {
  36395. "description": "现货商品代码",
  36396. "type": "string"
  36397. },
  36398. "wrstandardid": {
  36399. "description": "现货商品ID",
  36400. "type": "integer"
  36401. },
  36402. "wrstandardname": {
  36403. "description": "商品名称",
  36404. "type": "string"
  36405. },
  36406. "wrtradeorderid": {
  36407. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  36408. "type": "string"
  36409. },
  36410. "wrtypename": {
  36411. "description": "商品",
  36412. "type": "string"
  36413. }
  36414. }
  36415. },
  36416. "models.WrScfContract": {
  36417. "type": "object",
  36418. "properties": {
  36419. "borroweruserid": {
  36420. "description": "借款用户ID",
  36421. "type": "integer"
  36422. },
  36423. "buybackwrpositionqty": {
  36424. "description": "已回购仓单头寸数量 - [仓单回购\\仓单质押] -\u003e 已回购数量",
  36425. "type": "number"
  36426. },
  36427. "closeinterest": {
  36428. "description": "已结利息 -\u003e 已结费用",
  36429. "type": "number"
  36430. },
  36431. "currisklevel": {
  36432. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  36433. "type": "integer"
  36434. },
  36435. "deadline": {
  36436. "description": "截止日期(yyyyMMdd) -\u003e 借款到期时间",
  36437. "type": "string"
  36438. },
  36439. "deliverygoodscode": {
  36440. "description": "品种代码",
  36441. "type": "string"
  36442. },
  36443. "deliverygoodsid": {
  36444. "description": "品种ID",
  36445. "type": "integer"
  36446. },
  36447. "deliverygoodsname": {
  36448. "description": "品种名称",
  36449. "type": "string"
  36450. },
  36451. "enumdicname": {
  36452. "description": "单位名称",
  36453. "type": "string"
  36454. },
  36455. "financingdays": {
  36456. "description": "天数(天)",
  36457. "type": "integer"
  36458. },
  36459. "initmargin": {
  36460. "description": "保证金 - [仓单回购]",
  36461. "type": "number"
  36462. },
  36463. "interestamount": {
  36464. "description": "计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \\ 合同剩余金额",
  36465. "type": "number"
  36466. },
  36467. "interestdebt": {
  36468. "description": "利息欠款(记录负数) -\u003e 费用欠款",
  36469. "type": "number"
  36470. },
  36471. "interestminlen": {
  36472. "description": "最小起息天数",
  36473. "type": "integer"
  36474. },
  36475. "interestrate": {
  36476. "description": "利率",
  36477. "type": "number"
  36478. },
  36479. "interestratemode": {
  36480. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  36481. "type": "integer"
  36482. },
  36483. "interestsettlemode": {
  36484. "description": "结息方式 - 1:按日结息 3:按月结息",
  36485. "type": "integer"
  36486. },
  36487. "interestsettlevalue": {
  36488. "description": "结息方式值",
  36489. "type": "integer"
  36490. },
  36491. "isautoloan": {
  36492. "description": "是否自动放款 - 0:手动 1:自动 - [仓单质押]",
  36493. "type": "integer"
  36494. },
  36495. "lastcloseinterestday": {
  36496. "description": "最近结息日(yyyyMMdd)",
  36497. "type": "string"
  36498. },
  36499. "lenderamount": {
  36500. "description": "贷款金额 -\u003e 借款金额",
  36501. "type": "number"
  36502. },
  36503. "lenderuserid": {
  36504. "description": "贷款方用户ID -\u003e 融出方用户ID",
  36505. "type": "integer"
  36506. },
  36507. "lenderusername": {
  36508. "description": "融出方",
  36509. "type": "string"
  36510. },
  36511. "marginratio": {
  36512. "description": "保证金比率质押率 - [仓单质押]",
  36513. "type": "number"
  36514. },
  36515. "marketid": {
  36516. "description": "市场ID - 拆成三个独立模式后,根据市场ID处理",
  36517. "type": "integer"
  36518. },
  36519. "minivalue": {
  36520. "description": "现货商品最小变动值",
  36521. "type": "integer"
  36522. },
  36523. "optioncompare": {
  36524. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  36525. "type": "string"
  36526. },
  36527. "pricemove": {
  36528. "description": "估值升贴水值",
  36529. "type": "number"
  36530. },
  36531. "productdetailid": {
  36532. "description": "产品组合ID",
  36533. "type": "integer"
  36534. },
  36535. "productid": {
  36536. "description": "金融产品ID",
  36537. "type": "integer"
  36538. },
  36539. "productname": {
  36540. "description": "产品名称",
  36541. "type": "string"
  36542. },
  36543. "remainamount": {
  36544. "description": "合同剩余金额 -\u003e 剩余金额",
  36545. "type": "number"
  36546. },
  36547. "remainwrpositionqty": {
  36548. "description": "剩余仓单头寸数量 - [仓单回购\\仓单质押] -\u003e 剩余数量(待回购数量)",
  36549. "type": "number"
  36550. },
  36551. "remark": {
  36552. "description": "备注",
  36553. "type": "string"
  36554. },
  36555. "scfcontractid": {
  36556. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  36557. "type": "string"
  36558. },
  36559. "scfcontractstatus": {
  36560. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  36561. "type": "integer"
  36562. },
  36563. "scfcontracttype": {
  36564. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购",
  36565. "type": "integer"
  36566. },
  36567. "startinterestday": {
  36568. "description": "计息开始日(yyyyMMdd) -\u003e 开始计费日期",
  36569. "type": "string"
  36570. },
  36571. "totalinterest": {
  36572. "description": "已计利息 -\u003e 已计费用",
  36573. "type": "number"
  36574. },
  36575. "unpaidinterest": {
  36576. "description": "未结费用",
  36577. "type": "number"
  36578. },
  36579. "updatetime": {
  36580. "description": "更新时间",
  36581. "type": "string"
  36582. },
  36583. "warehouseid": {
  36584. "description": "仓库ID",
  36585. "type": "integer"
  36586. },
  36587. "warehousename": {
  36588. "description": "仓库名称",
  36589. "type": "string"
  36590. },
  36591. "wrfactortypeid": {
  36592. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  36593. "type": "string"
  36594. },
  36595. "wrfactortypename": {
  36596. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  36597. "type": "string"
  36598. },
  36599. "wrqty": {
  36600. "description": "仓单数量 - [仓单回购\\仓单质押] -\u003e 数量",
  36601. "type": "number"
  36602. },
  36603. "wrstandardcode": {
  36604. "description": "现货商品代码",
  36605. "type": "string"
  36606. },
  36607. "wrstandardid": {
  36608. "description": "现货商品ID",
  36609. "type": "integer"
  36610. },
  36611. "wrstandardname": {
  36612. "description": "商品名称",
  36613. "type": "string"
  36614. },
  36615. "wrtypename": {
  36616. "description": "商品",
  36617. "type": "string"
  36618. }
  36619. }
  36620. },
  36621. "models.WrScfContractInterest": {
  36622. "type": "object",
  36623. "properties": {
  36624. "closeinterest": {
  36625. "description": "已结利息",
  36626. "type": "number"
  36627. },
  36628. "closeintereststatus": {
  36629. "description": "结息状态 - 1:未结 2:已结",
  36630. "type": "integer"
  36631. },
  36632. "closetime": {
  36633. "description": "结息时间",
  36634. "type": "string"
  36635. },
  36636. "closetradedate": {
  36637. "description": "结息交易日",
  36638. "type": "string"
  36639. },
  36640. "creatorid": {
  36641. "description": "操作人ID",
  36642. "type": "integer"
  36643. },
  36644. "dayrate": {
  36645. "description": "日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)",
  36646. "type": "number"
  36647. },
  36648. "interest": {
  36649. "description": "利息",
  36650. "type": "number"
  36651. },
  36652. "interestamount": {
  36653. "description": "计息金额",
  36654. "type": "number"
  36655. },
  36656. "interestday": {
  36657. "description": "计息日(yyyyMMdd)",
  36658. "type": "string"
  36659. },
  36660. "scfcontractid": {
  36661. "description": "SCF合同ID",
  36662. "type": "string"
  36663. },
  36664. "scfcontractinterestid": {
  36665. "description": "SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)",
  36666. "type": "integer"
  36667. },
  36668. "updatetime": {
  36669. "description": "更新时间",
  36670. "type": "string"
  36671. }
  36672. }
  36673. },
  36674. "models.WrSiteColumnDetail": {
  36675. "type": "object",
  36676. "properties": {
  36677. "brief": {
  36678. "description": "简介",
  36679. "type": "string"
  36680. },
  36681. "context": {
  36682. "description": "内容",
  36683. "type": "string"
  36684. },
  36685. "coverimage": {
  36686. "description": "封面图片",
  36687. "type": "string"
  36688. },
  36689. "creaedate": {
  36690. "description": "创建时间",
  36691. "type": "string"
  36692. },
  36693. "id": {
  36694. "description": "ID(SEQ_SITE_COLUMNDETAIL)",
  36695. "type": "integer"
  36696. },
  36697. "istop": {
  36698. "description": "是否置顶 - 0:不置 1:置顶",
  36699. "type": "integer"
  36700. },
  36701. "publishdate": {
  36702. "description": "发布日期",
  36703. "type": "string"
  36704. },
  36705. "title": {
  36706. "description": "标题",
  36707. "type": "string"
  36708. },
  36709. "updatedate": {
  36710. "description": "修改时间",
  36711. "type": "string"
  36712. }
  36713. }
  36714. },
  36715. "models.WrSpecialMatchOrder": {
  36716. "type": "object",
  36717. "properties": {
  36718. "amount": {
  36719. "description": "金额 = 数量 * 价格",
  36720. "type": "number"
  36721. },
  36722. "buyorsell": {
  36723. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  36724. "type": "integer"
  36725. },
  36726. "cancelqty": {
  36727. "description": "撤销数量",
  36728. "type": "number"
  36729. },
  36730. "deliverygoodscode": {
  36731. "description": "品种代码",
  36732. "type": "string"
  36733. },
  36734. "deliverygoodsid": {
  36735. "description": "品种ID",
  36736. "type": "integer"
  36737. },
  36738. "deliverygoodsname": {
  36739. "description": "品种名称",
  36740. "type": "string"
  36741. },
  36742. "enumdicname": {
  36743. "description": "单位名称",
  36744. "type": "string"
  36745. },
  36746. "fixedprice": {
  36747. "description": "固定价格(价格)",
  36748. "type": "number"
  36749. },
  36750. "haswr": {
  36751. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  36752. "type": "integer"
  36753. },
  36754. "isspecified": {
  36755. "description": "是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]",
  36756. "type": "integer"
  36757. },
  36758. "marketid": {
  36759. "description": "市场ID",
  36760. "type": "integer"
  36761. },
  36762. "matchuserid": {
  36763. "description": "指定方资金账号(字段名为userid,实际存的是accountid by:邓工)",
  36764. "type": "integer"
  36765. },
  36766. "matchusername": {
  36767. "description": "指定方",
  36768. "type": "string"
  36769. },
  36770. "minivalue": {
  36771. "description": "现货商品最小变动值",
  36772. "type": "integer"
  36773. },
  36774. "optioncompare": {
  36775. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  36776. "type": "string"
  36777. },
  36778. "orderqty": {
  36779. "description": "委托数量",
  36780. "type": "number"
  36781. },
  36782. "ordertime": {
  36783. "description": "委托时间",
  36784. "type": "string"
  36785. },
  36786. "pricemove": {
  36787. "description": "升贴水(浮动价时填写) - [挂牌]",
  36788. "type": "number"
  36789. },
  36790. "tradedate": {
  36791. "description": "交易日(yyyyMMdd)",
  36792. "type": "string"
  36793. },
  36794. "tradeprice": {
  36795. "description": "成交价格",
  36796. "type": "number"
  36797. },
  36798. "tradeqty": {
  36799. "description": "成交数量",
  36800. "type": "number"
  36801. },
  36802. "userid": {
  36803. "description": "用户ID",
  36804. "type": "integer"
  36805. },
  36806. "username": {
  36807. "description": "发起方",
  36808. "type": "string"
  36809. },
  36810. "warehouseid": {
  36811. "description": "仓库ID",
  36812. "type": "integer"
  36813. },
  36814. "warehousename": {
  36815. "description": "仓库名称",
  36816. "type": "string"
  36817. },
  36818. "wrfactortypeid": {
  36819. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  36820. "type": "string"
  36821. },
  36822. "wrfactortypename": {
  36823. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  36824. "type": "string"
  36825. },
  36826. "wrpricetype": {
  36827. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  36828. "type": "integer"
  36829. },
  36830. "wrstandardcode": {
  36831. "description": "现货商品代码",
  36832. "type": "string"
  36833. },
  36834. "wrstandardid": {
  36835. "description": "现货商品ID",
  36836. "type": "integer"
  36837. },
  36838. "wrstandardname": {
  36839. "description": "商品名称",
  36840. "type": "string"
  36841. },
  36842. "wrtradeorderid": {
  36843. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  36844. "type": "string"
  36845. },
  36846. "wrtradeorderstatus": {
  36847. "description": "委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤",
  36848. "type": "integer"
  36849. },
  36850. "wrtradetype": {
  36851. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  36852. "type": "integer"
  36853. },
  36854. "wrtypename": {
  36855. "description": "商品",
  36856. "type": "string"
  36857. }
  36858. }
  36859. },
  36860. "models.WrSpotGroupTradeSum": {
  36861. "type": "object",
  36862. "properties": {
  36863. "deliverygoodscode": {
  36864. "description": "现货品种代码",
  36865. "type": "string"
  36866. },
  36867. "deliverygoodsid": {
  36868. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  36869. "type": "integer"
  36870. },
  36871. "deliverygoodsname": {
  36872. "description": "现货品种名称",
  36873. "type": "string"
  36874. },
  36875. "lastavgprice": {
  36876. "description": "上上个交易日价格(前2天价格)",
  36877. "type": "string"
  36878. },
  36879. "lastreckondate": {
  36880. "description": "上上个交易日(前2天交易日)",
  36881. "type": "string"
  36882. },
  36883. "reckondate": {
  36884. "description": "上个交易日(前1天交易日)",
  36885. "type": "string"
  36886. },
  36887. "todayavgprice": {
  36888. "description": "上个交易日价格(前1天价格)",
  36889. "type": "string"
  36890. },
  36891. "updown": {
  36892. "description": "涨跌",
  36893. "type": "string"
  36894. },
  36895. "updownratio": {
  36896. "description": "涨幅(已格式化, 直接显示即可)",
  36897. "type": "string"
  36898. }
  36899. }
  36900. },
  36901. "models.WrSpotGroupTradeSumDetail": {
  36902. "type": "object",
  36903. "properties": {
  36904. "deliverygoodsid": {
  36905. "description": "现货商品id",
  36906. "type": "integer"
  36907. },
  36908. "price": {
  36909. "description": "价格",
  36910. "type": "number"
  36911. },
  36912. "reckondate": {
  36913. "description": "日期(yyymmdd, 如:20211031)",
  36914. "type": "string"
  36915. }
  36916. }
  36917. },
  36918. "models.WrSpotGroupTradeSumEx": {
  36919. "type": "object",
  36920. "properties": {
  36921. "lst": {
  36922. "description": "指数列表",
  36923. "type": "array",
  36924. "items": {
  36925. "$ref": "#/definitions/models.WrSpotGroupTradeSum"
  36926. }
  36927. },
  36928. "prereckondate": {
  36929. "description": "上上个交易日(yyymmdd)",
  36930. "type": "string"
  36931. },
  36932. "reckondate": {
  36933. "description": "上个交易日(yyyymmdd)",
  36934. "type": "string"
  36935. }
  36936. }
  36937. },
  36938. "models.WrStandardFactoryItem": {
  36939. "type": "object",
  36940. "properties": {
  36941. "dgfactoryitemid": {
  36942. "description": "选择项id",
  36943. "type": "integer"
  36944. },
  36945. "dgfactoryitemvalue": {
  36946. "description": "要素项值",
  36947. "type": "string"
  36948. },
  36949. "warehouseid": {
  36950. "description": "仓库id",
  36951. "type": "integer"
  36952. }
  36953. }
  36954. },
  36955. "models.WrStandardFactoryItemEx": {
  36956. "type": "object",
  36957. "properties": {
  36958. "dgfactoryitemtypeid": {
  36959. "description": "要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)",
  36960. "type": "integer"
  36961. },
  36962. "itemlst": {
  36963. "description": "要素项列表",
  36964. "type": "array",
  36965. "items": {
  36966. "$ref": "#/definitions/models.WrStandardFactoryItem"
  36967. }
  36968. },
  36969. "itemtypename": {
  36970. "description": "要素项类型名称",
  36971. "type": "string"
  36972. },
  36973. "wrstandardid": {
  36974. "description": "品类",
  36975. "type": "integer"
  36976. }
  36977. }
  36978. },
  36979. "models.WrTradeDetail": {
  36980. "type": "object",
  36981. "properties": {
  36982. "accountid": {
  36983. "description": "资金账号",
  36984. "type": "integer"
  36985. },
  36986. "begindate": {
  36987. "description": "开始交易日(yyyymmdd)",
  36988. "type": "string"
  36989. },
  36990. "buyorsell": {
  36991. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  36992. "type": "integer"
  36993. },
  36994. "chargevalue": {
  36995. "description": "手续费",
  36996. "type": "number"
  36997. },
  36998. "deliverygoodscode": {
  36999. "description": "品种代码",
  37000. "type": "string"
  37001. },
  37002. "deliverygoodsid": {
  37003. "description": "品种ID",
  37004. "type": "integer"
  37005. },
  37006. "deliverygoodsname": {
  37007. "description": "品种名称",
  37008. "type": "string"
  37009. },
  37010. "deliverymonth": {
  37011. "description": "交收月",
  37012. "type": "string"
  37013. },
  37014. "enddate": {
  37015. "description": "结束交易日(yyyymmdd)",
  37016. "type": "string"
  37017. },
  37018. "enumdicname": {
  37019. "description": "单位名称",
  37020. "type": "string"
  37021. },
  37022. "haswr": {
  37023. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  37024. "type": "integer"
  37025. },
  37026. "marketid": {
  37027. "description": "市场ID",
  37028. "type": "integer"
  37029. },
  37030. "matchaccountid": {
  37031. "description": "对手账号",
  37032. "type": "integer"
  37033. },
  37034. "matchusername": {
  37035. "description": "对手方",
  37036. "type": "string"
  37037. },
  37038. "minivalue": {
  37039. "description": "现货商品最小变动值",
  37040. "type": "integer"
  37041. },
  37042. "optioncompare": {
  37043. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  37044. "type": "string"
  37045. },
  37046. "tradedate": {
  37047. "description": "交易日(yyyyMMdd)",
  37048. "type": "string"
  37049. },
  37050. "tradeprice": {
  37051. "description": "成交价格",
  37052. "type": "number"
  37053. },
  37054. "tradeqty": {
  37055. "description": "成交数量",
  37056. "type": "number"
  37057. },
  37058. "tradetime": {
  37059. "description": "成交时间",
  37060. "type": "string"
  37061. },
  37062. "userid": {
  37063. "description": "用户ID",
  37064. "type": "integer"
  37065. },
  37066. "warehouseid": {
  37067. "description": "仓库ID",
  37068. "type": "integer"
  37069. },
  37070. "warehousename": {
  37071. "description": "仓库名称",
  37072. "type": "string"
  37073. },
  37074. "wrfactortypeid": {
  37075. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  37076. "type": "string"
  37077. },
  37078. "wrfactortypename": {
  37079. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  37080. "type": "string"
  37081. },
  37082. "wrstandardcode": {
  37083. "description": "现货商品代码",
  37084. "type": "string"
  37085. },
  37086. "wrstandardid": {
  37087. "description": "现货商品ID",
  37088. "type": "integer"
  37089. },
  37090. "wrstandardname": {
  37091. "description": "商品名称",
  37092. "type": "string"
  37093. },
  37094. "wrtradedetailid": {
  37095. "description": "仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)",
  37096. "type": "string"
  37097. },
  37098. "wrtradetype": {
  37099. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  37100. "type": "integer"
  37101. },
  37102. "wrtypename": {
  37103. "description": "商品",
  37104. "type": "string"
  37105. }
  37106. }
  37107. },
  37108. "models.WrTradeOrderDetail": {
  37109. "type": "object",
  37110. "properties": {
  37111. "buyorsell": {
  37112. "description": "买卖方向 0-买 1-卖",
  37113. "type": "integer"
  37114. },
  37115. "goodsid": {
  37116. "description": "商品id",
  37117. "type": "integer"
  37118. },
  37119. "orderid": {
  37120. "description": "委托单号",
  37121. "type": "string"
  37122. },
  37123. "orderprice": {
  37124. "description": "委托价格",
  37125. "type": "number"
  37126. },
  37127. "orderqty": {
  37128. "description": "委托数量",
  37129. "type": "integer"
  37130. },
  37131. "userid": {
  37132. "description": "用户id",
  37133. "type": "integer"
  37134. },
  37135. "username": {
  37136. "description": "用户名称(已脱敏)",
  37137. "type": "string"
  37138. }
  37139. }
  37140. },
  37141. "models.WrTypeItem": {
  37142. "type": "object",
  37143. "properties": {
  37144. "name": {
  37145. "description": "名称",
  37146. "type": "string"
  37147. },
  37148. "value": {
  37149. "description": "值",
  37150. "type": "string"
  37151. }
  37152. }
  37153. },
  37154. "models.WrUserFriend": {
  37155. "type": "object",
  37156. "properties": {
  37157. "friendname": {
  37158. "description": "朋友名称(已脱敏)",
  37159. "type": "string"
  37160. },
  37161. "frienduserid": {
  37162. "description": "朋友id",
  37163. "type": "integer"
  37164. },
  37165. "isfriend": {
  37166. "description": "是否好友 0-不是 1-是",
  37167. "type": "integer"
  37168. },
  37169. "userid": {
  37170. "description": "用户id",
  37171. "type": "integer"
  37172. }
  37173. }
  37174. },
  37175. "models.WrUserReceiptInfo": {
  37176. "type": "object",
  37177. "properties": {
  37178. "address": {
  37179. "description": "地址[发票类型:企业]",
  37180. "type": "string"
  37181. },
  37182. "autoid": {
  37183. "description": "AutoID",
  37184. "type": "integer"
  37185. },
  37186. "contactinfo": {
  37187. "description": "联系方式",
  37188. "type": "string"
  37189. },
  37190. "idnum": {
  37191. "description": "身份证号码[发票类型:个人]",
  37192. "type": "string"
  37193. },
  37194. "isdefault": {
  37195. "description": "是否默认地址 - 0:否 1:是",
  37196. "type": "integer"
  37197. },
  37198. "receiptaccount": {
  37199. "description": "发票帐号[发票类型:企业]",
  37200. "type": "string"
  37201. },
  37202. "receiptbank": {
  37203. "description": "发票开户行[发票类型:企业]",
  37204. "type": "string"
  37205. },
  37206. "receipttype": {
  37207. "description": "发票类型 - 1:个人 2:企业",
  37208. "type": "integer"
  37209. },
  37210. "taxpayerid": {
  37211. "description": "纳税人识别号",
  37212. "type": "string"
  37213. },
  37214. "userid": {
  37215. "description": "用户ID",
  37216. "type": "integer"
  37217. },
  37218. "username": {
  37219. "description": "户名(个人姓名或企业名称)",
  37220. "type": "string"
  37221. }
  37222. }
  37223. },
  37224. "models.XHBRAND": {
  37225. "type": "object",
  37226. "properties": {
  37227. "brandid": {
  37228. "description": "品牌id",
  37229. "type": "integer"
  37230. },
  37231. "brandname": {
  37232. "description": "品牌名称",
  37233. "type": "string"
  37234. },
  37235. "isvalid": {
  37236. "description": "是否有效 0-无效 1-有效",
  37237. "type": "integer"
  37238. }
  37239. }
  37240. },
  37241. "models.XHDeliveryGoods": {
  37242. "type": "object",
  37243. "properties": {
  37244. "areauserid": {
  37245. "description": "所属机构",
  37246. "type": "integer"
  37247. },
  37248. "bdlst": {
  37249. "description": "品牌列表",
  37250. "type": "array",
  37251. "items": {
  37252. "$ref": "#/definitions/models.XHBRAND"
  37253. }
  37254. },
  37255. "deliverygoodscode": {
  37256. "description": "现货品种代码",
  37257. "type": "string"
  37258. },
  37259. "deliverygoodsid": {
  37260. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  37261. "type": "integer"
  37262. },
  37263. "deliverygoodsname": {
  37264. "description": "现货品种名称",
  37265. "type": "string"
  37266. },
  37267. "dgstatus": {
  37268. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  37269. "type": "integer"
  37270. },
  37271. "isvalid": {
  37272. "description": "是否有效 - 0:无效 1:有效",
  37273. "type": "integer"
  37274. },
  37275. "remark": {
  37276. "description": "备注",
  37277. "type": "string"
  37278. },
  37279. "unitid": {
  37280. "description": "单位id(目前看,数据库中是空值)",
  37281. "type": "integer"
  37282. },
  37283. "wdlst": {
  37284. "description": "品类(现货商品)列表",
  37285. "type": "array",
  37286. "items": {
  37287. "$ref": "#/definitions/models.XHWrstandard"
  37288. }
  37289. }
  37290. }
  37291. },
  37292. "models.XHMiddleGoods": {
  37293. "type": "object",
  37294. "properties": {
  37295. "GPLST": {
  37296. "description": "期货品种列表",
  37297. "type": "array",
  37298. "items": {
  37299. "$ref": "#/definitions/models.TBGoodsGroup"
  37300. }
  37301. },
  37302. "convertratio": {
  37303. "description": "拆算系数",
  37304. "type": "number"
  37305. },
  37306. "costratio": {
  37307. "description": "成本权重",
  37308. "type": "number"
  37309. },
  37310. "deliverygoodsid": {
  37311. "description": "现货商品id",
  37312. "type": "integer"
  37313. },
  37314. "enumdicname": {
  37315. "description": "单位名称",
  37316. "type": "string"
  37317. },
  37318. "middlegoodscode": {
  37319. "description": "套保品种代码",
  37320. "type": "string"
  37321. },
  37322. "middlegoodsid": {
  37323. "description": "套保品种id",
  37324. "type": "integer"
  37325. },
  37326. "middlegoodsname": {
  37327. "description": "套保品种名称",
  37328. "type": "string"
  37329. },
  37330. "unitid": {
  37331. "description": "单位id",
  37332. "type": "integer"
  37333. }
  37334. }
  37335. },
  37336. "models.XHWrstandard": {
  37337. "type": "object",
  37338. "properties": {
  37339. "deliverygoodsid": {
  37340. "description": "品种ID",
  37341. "type": "integer"
  37342. },
  37343. "enumdicname": {
  37344. "description": "单位名称",
  37345. "type": "string"
  37346. },
  37347. "mglst": {
  37348. "description": "套保品列表",
  37349. "type": "array",
  37350. "items": {
  37351. "$ref": "#/definitions/models.XHMiddleGoods"
  37352. }
  37353. },
  37354. "unitid": {
  37355. "description": "单位id",
  37356. "type": "integer"
  37357. },
  37358. "vatrate": {
  37359. "description": "增值税率",
  37360. "type": "number"
  37361. },
  37362. "wrstandardcode": {
  37363. "description": "现货商品代码",
  37364. "type": "string"
  37365. },
  37366. "wrstandardid": {
  37367. "description": "现货商品ID(SEQ_WRSTANDARD)",
  37368. "type": "integer"
  37369. },
  37370. "wrstandardname": {
  37371. "description": "现货商品名称",
  37372. "type": "string"
  37373. }
  37374. }
  37375. },
  37376. "order.QueryHisTradeDetailRsp": {
  37377. "type": "object",
  37378. "required": [
  37379. "accountid",
  37380. "buyorsell",
  37381. "goodsid",
  37382. "histradedate",
  37383. "marketid",
  37384. "memberuserid",
  37385. "orderid",
  37386. "tradeamount",
  37387. "tradedate",
  37388. "tradeid",
  37389. "tradeprice",
  37390. "tradeqty",
  37391. "tradetime"
  37392. ],
  37393. "properties": {
  37394. "accountid": {
  37395. "description": "账户ID[报价币种]",
  37396. "type": "integer"
  37397. },
  37398. "advanceratio": {
  37399. "description": "首付比率",
  37400. "type": "number"
  37401. },
  37402. "buildtype": {
  37403. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  37404. "type": "integer"
  37405. },
  37406. "buyorsell": {
  37407. "description": "方向 - 0:买 1:卖",
  37408. "type": "integer"
  37409. },
  37410. "charge": {
  37411. "description": "手续费",
  37412. "type": "number"
  37413. },
  37414. "closecharge": {
  37415. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  37416. "type": "number"
  37417. },
  37418. "closeexchagechargevalue": {
  37419. "description": "平仓交易所手续费设置值",
  37420. "type": "number"
  37421. },
  37422. "closefeealgorithm": {
  37423. "description": "平仓手续费收取方式 1:比率 2:固定",
  37424. "type": "integer"
  37425. },
  37426. "closememberchargevalue": {
  37427. "description": "平仓会员手续费设置值",
  37428. "type": "number"
  37429. },
  37430. "closepl": {
  37431. "description": "平仓盈亏",
  37432. "type": "number"
  37433. },
  37434. "closepl2": {
  37435. "description": "平仓盈亏[逐笔]",
  37436. "type": "number"
  37437. },
  37438. "closeqty": {
  37439. "description": "平仓数量(先建后平操作 需要记录)",
  37440. "type": "number"
  37441. },
  37442. "creditamount": {
  37443. "description": "授信金额",
  37444. "type": "number"
  37445. },
  37446. "decimalplace": {
  37447. "description": "商品报价小数位",
  37448. "type": "integer"
  37449. },
  37450. "enumdicname": {
  37451. "description": "单位名称",
  37452. "type": "string"
  37453. },
  37454. "gcaccountid": {
  37455. "description": "账户ID[合约币种]",
  37456. "type": "integer"
  37457. },
  37458. "goodscode": {
  37459. "description": "商品代码",
  37460. "type": "string"
  37461. },
  37462. "goodsid": {
  37463. "description": "商品ID",
  37464. "type": "integer"
  37465. },
  37466. "goodsname": {
  37467. "description": "商品名称",
  37468. "type": "string"
  37469. },
  37470. "goodunitid": {
  37471. "description": "商品单位id",
  37472. "type": "integer"
  37473. },
  37474. "histradedate": {
  37475. "description": "历史交易日",
  37476. "type": "string"
  37477. },
  37478. "intclosepl": {
  37479. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  37480. "type": "integer"
  37481. },
  37482. "isconfirmexercise": {
  37483. "description": "是否确认行权- 0:否 1:是",
  37484. "type": "integer"
  37485. },
  37486. "ismain": {
  37487. "description": "是否主单 - 0:不是 1:是",
  37488. "type": "integer"
  37489. },
  37490. "ispreexercise": {
  37491. "description": "是否预申报- 0:否 1:是",
  37492. "type": "integer"
  37493. },
  37494. "isreckoned": {
  37495. "description": "是否结算 - 0:未结算 1:已结算",
  37496. "type": "integer"
  37497. },
  37498. "isvaliddata": {
  37499. "description": "是否有效 - 0:无效 1:有效",
  37500. "type": "integer"
  37501. },
  37502. "listingselecttype": {
  37503. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  37504. "type": "integer"
  37505. },
  37506. "marketid": {
  37507. "description": "市场ID",
  37508. "type": "integer"
  37509. },
  37510. "marketname": {
  37511. "description": "市场名称",
  37512. "type": "string"
  37513. },
  37514. "matchaccountid": {
  37515. "description": "对手账号id",
  37516. "type": "integer"
  37517. },
  37518. "memberuserid": {
  37519. "description": "会员id 个人投资者 需要填写",
  37520. "type": "integer"
  37521. },
  37522. "opencharge": {
  37523. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  37524. "type": "number"
  37525. },
  37526. "openexchagechargevalue": {
  37527. "description": "建仓交易所手续费设置值",
  37528. "type": "number"
  37529. },
  37530. "openfeealgorithm": {
  37531. "description": "建仓手续费收取方式 1:比率 2:固定",
  37532. "type": "integer"
  37533. },
  37534. "openmemberchargevalue": {
  37535. "description": "建仓会员手续费设置值",
  37536. "type": "number"
  37537. },
  37538. "openqty": {
  37539. "description": "开仓数量(先建后平操作 需要记录)",
  37540. "type": "number"
  37541. },
  37542. "optiontype": {
  37543. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  37544. "type": "integer"
  37545. },
  37546. "orderid": {
  37547. "description": "委托单号",
  37548. "type": "string"
  37549. },
  37550. "payamount": {
  37551. "description": "支付金额(付款金额)",
  37552. "type": "number"
  37553. },
  37554. "performanceplanid": {
  37555. "description": "履约计划ID[期权]",
  37556. "type": "integer"
  37557. },
  37558. "performancestatus": {
  37559. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  37560. "type": "integer"
  37561. },
  37562. "preexerciseprice": {
  37563. "description": "预申报价格",
  37564. "type": "number"
  37565. },
  37566. "premium": {
  37567. "description": "权利金 - [持仓单的权利金]",
  37568. "type": "number"
  37569. },
  37570. "qtydecimalplace": {
  37571. "description": "商品报价小数位",
  37572. "type": "integer"
  37573. },
  37574. "recvamount": {
  37575. "description": "到账金额 = 成交金额 - 手续费",
  37576. "type": "number"
  37577. },
  37578. "relatedouttradeid": {
  37579. "description": "关联外部成交单ID",
  37580. "type": "integer"
  37581. },
  37582. "status": {
  37583. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  37584. "type": "integer"
  37585. },
  37586. "totalamount": {
  37587. "description": "订单总额 = 成交金额 + 手续费",
  37588. "type": "number"
  37589. },
  37590. "tradeamount": {
  37591. "description": "成交金额[账户币种,用于所有权]",
  37592. "type": "number"
  37593. },
  37594. "tradedate": {
  37595. "description": "交易日(yyyyMMdd)",
  37596. "type": "string"
  37597. },
  37598. "tradeid": {
  37599. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  37600. "type": "string"
  37601. },
  37602. "trademode": {
  37603. "description": "交易模式",
  37604. "type": "integer"
  37605. },
  37606. "tradeprice": {
  37607. "description": "成交价格",
  37608. "type": "number"
  37609. },
  37610. "tradeproperty": {
  37611. "description": "交易属性",
  37612. "type": "integer"
  37613. },
  37614. "tradeqty": {
  37615. "description": "成交数量",
  37616. "type": "number"
  37617. },
  37618. "tradetime": {
  37619. "description": "成交时间",
  37620. "type": "string"
  37621. },
  37622. "tradetype": {
  37623. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  37624. "type": "integer"
  37625. }
  37626. }
  37627. },
  37628. "order.QueryHisTradeOrderDetailRsp": {
  37629. "type": "object",
  37630. "required": [
  37631. "accountid",
  37632. "buildtype",
  37633. "buyorsell",
  37634. "goodsid",
  37635. "histradedate",
  37636. "marketid",
  37637. "memberuserid",
  37638. "operatetype",
  37639. "orderid",
  37640. "orderqty",
  37641. "ordertime",
  37642. "pricemode",
  37643. "tradedate",
  37644. "validtype"
  37645. ],
  37646. "properties": {
  37647. "accountid": {
  37648. "description": "账户ID[报价币种]",
  37649. "type": "integer"
  37650. },
  37651. "buildtype": {
  37652. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  37653. "type": "integer"
  37654. },
  37655. "buyorsell": {
  37656. "description": "买卖 - 0:买 1:卖",
  37657. "type": "integer"
  37658. },
  37659. "cancelorderid": {
  37660. "description": "撤单单号(撤单时填写)",
  37661. "type": "string"
  37662. },
  37663. "cancelqty": {
  37664. "description": "撤单数量",
  37665. "type": "number"
  37666. },
  37667. "clientordertime": {
  37668. "description": "客户端委托时间",
  37669. "type": "string"
  37670. },
  37671. "clientticket": {
  37672. "description": "客户端流水号",
  37673. "type": "string"
  37674. },
  37675. "clienttype": {
  37676. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  37677. "type": "integer"
  37678. },
  37679. "closeexchagechargevalue": {
  37680. "description": "平仓交易所手续费设置值",
  37681. "type": "number"
  37682. },
  37683. "closefeealgorithm": {
  37684. "description": "平仓手续费收取方式 1:比率 2:固定",
  37685. "type": "integer"
  37686. },
  37687. "closefreezecharge": {
  37688. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  37689. "type": "number"
  37690. },
  37691. "closememberchargevalue": {
  37692. "description": "平仓会员手续费设置值",
  37693. "type": "number"
  37694. },
  37695. "closeqty": {
  37696. "description": "平仓数量(先建后平操作 需要记录)",
  37697. "type": "number"
  37698. },
  37699. "closetradeqty": {
  37700. "description": "平仓成交数量(先建后平操作,需要记录)",
  37701. "type": "number"
  37702. },
  37703. "closeunfreezecharge": {
  37704. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  37705. "type": "number"
  37706. },
  37707. "decimalplace": {
  37708. "description": "商品报价小数位",
  37709. "type": "integer"
  37710. },
  37711. "delistingtype": {
  37712. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  37713. "type": "integer"
  37714. },
  37715. "enumdicname": {
  37716. "description": "单位名称",
  37717. "type": "string"
  37718. },
  37719. "freezecharge": {
  37720. "description": "冻结手续费",
  37721. "type": "number"
  37722. },
  37723. "freezemargin": {
  37724. "description": "冻结保证金(冻结交易金额)",
  37725. "type": "number"
  37726. },
  37727. "gcaccountid": {
  37728. "description": "账户ID[合约币种]",
  37729. "type": "integer"
  37730. },
  37731. "goodscode": {
  37732. "description": "商品代码",
  37733. "type": "string"
  37734. },
  37735. "goodsid": {
  37736. "description": "商品ID",
  37737. "type": "integer"
  37738. },
  37739. "goodsname": {
  37740. "description": "商品名称",
  37741. "type": "string"
  37742. },
  37743. "goodunitid": {
  37744. "description": "商品单位id",
  37745. "type": "integer"
  37746. },
  37747. "histradedate": {
  37748. "description": "历史交易日",
  37749. "type": "string"
  37750. },
  37751. "isconfirmexercise": {
  37752. "description": "是否确认行权- 0:否 1:是",
  37753. "type": "integer"
  37754. },
  37755. "ispreexercise": {
  37756. "description": "是否预申报- 0:否 1:是",
  37757. "type": "integer"
  37758. },
  37759. "isvaliddata": {
  37760. "description": "是否有效 - 0:无效 1:有效",
  37761. "type": "integer"
  37762. },
  37763. "listingselecttype": {
  37764. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  37765. "type": "integer"
  37766. },
  37767. "marginalgorithm": {
  37768. "description": "保证金收取方式 1:比率 2:固定",
  37769. "type": "integer"
  37770. },
  37771. "marginvalue": {
  37772. "description": "即市保证金设置值",
  37773. "type": "number"
  37774. },
  37775. "marketid": {
  37776. "description": "市场ID",
  37777. "type": "integer"
  37778. },
  37779. "marketmaxsub": {
  37780. "description": "市价最大偏移范围",
  37781. "type": "number"
  37782. },
  37783. "marketname": {
  37784. "description": "市场名称",
  37785. "type": "string"
  37786. },
  37787. "memberuserid": {
  37788. "description": "所属会员UserID",
  37789. "type": "integer"
  37790. },
  37791. "openexchagechargevalue": {
  37792. "description": "建仓交易所手续费设置值",
  37793. "type": "number"
  37794. },
  37795. "openfeealgorithm": {
  37796. "description": "建仓手续费收取方式 1:比率 2:固定",
  37797. "type": "integer"
  37798. },
  37799. "openfreezecharge": {
  37800. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  37801. "type": "number"
  37802. },
  37803. "openmemberchargevalue": {
  37804. "description": "建仓会员手续费设置值",
  37805. "type": "number"
  37806. },
  37807. "openqty": {
  37808. "description": "开仓数量(先建后平操作,需要记录)",
  37809. "type": "number"
  37810. },
  37811. "opentradeqty": {
  37812. "description": "开仓成交数量(先建后平操作,需要记录)",
  37813. "type": "number"
  37814. },
  37815. "openunfreezecharge": {
  37816. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  37817. "type": "number"
  37818. },
  37819. "operatetype": {
  37820. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  37821. "type": "integer"
  37822. },
  37823. "operatorid": {
  37824. "description": "登录账号(LoginID)",
  37825. "type": "integer"
  37826. },
  37827. "optiontype": {
  37828. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  37829. "type": "integer"
  37830. },
  37831. "orderid": {
  37832. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  37833. "type": "string"
  37834. },
  37835. "orderprice": {
  37836. "description": "委托价格",
  37837. "type": "number"
  37838. },
  37839. "orderqty": {
  37840. "description": "委托数量",
  37841. "type": "number"
  37842. },
  37843. "ordersrc": {
  37844. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  37845. "type": "integer"
  37846. },
  37847. "orderstatus": {
  37848. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  37849. "type": "integer"
  37850. },
  37851. "ordertime": {
  37852. "description": "委托时间",
  37853. "type": "string"
  37854. },
  37855. "preexerciseprice": {
  37856. "description": "预申报价格",
  37857. "type": "number"
  37858. },
  37859. "premium": {
  37860. "description": "权利金",
  37861. "type": "number"
  37862. },
  37863. "preorderid": {
  37864. "description": "关联预埋单号(止盈止损单时填写)",
  37865. "type": "string"
  37866. },
  37867. "pricemode": {
  37868. "description": "取价方式 - 1:市价 2: 限价",
  37869. "type": "integer"
  37870. },
  37871. "qtydecimalplace": {
  37872. "description": "成交量小数位",
  37873. "type": "integer"
  37874. },
  37875. "quoteid": {
  37876. "description": "报价单ID",
  37877. "type": "integer"
  37878. },
  37879. "relatedid": {
  37880. "description": "关联单号(交割单)",
  37881. "type": "string"
  37882. },
  37883. "retcode": {
  37884. "description": "错误代码",
  37885. "type": "integer"
  37886. },
  37887. "sessionid": {
  37888. "description": "会话ID",
  37889. "type": "integer"
  37890. },
  37891. "tradedate": {
  37892. "description": "交易日(yyyyMMdd)",
  37893. "type": "string"
  37894. },
  37895. "trademode": {
  37896. "description": "交易模式",
  37897. "type": "integer"
  37898. },
  37899. "tradeproperty": {
  37900. "description": "交易属性",
  37901. "type": "integer"
  37902. },
  37903. "tradeqty": {
  37904. "description": "成交数量",
  37905. "type": "number"
  37906. },
  37907. "unfreezecharge": {
  37908. "description": "解冻手续费",
  37909. "type": "number"
  37910. },
  37911. "unfreezemargin": {
  37912. "description": "解冻保证金",
  37913. "type": "number"
  37914. },
  37915. "updatetime": {
  37916. "description": "更新时间",
  37917. "type": "string"
  37918. },
  37919. "uuid": {
  37920. "description": "发起端唯一id",
  37921. "type": "string"
  37922. },
  37923. "validtime": {
  37924. "description": "有效期限",
  37925. "type": "string"
  37926. },
  37927. "validtype": {
  37928. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  37929. "type": "integer"
  37930. },
  37931. "volumetype": {
  37932. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  37933. "type": "integer"
  37934. }
  37935. }
  37936. },
  37937. "order.QueryTradeDetailRsp": {
  37938. "type": "object",
  37939. "required": [
  37940. "accountid",
  37941. "buyorsell",
  37942. "goodsid",
  37943. "marketid",
  37944. "memberuserid",
  37945. "orderid",
  37946. "tradeamount",
  37947. "tradedate",
  37948. "tradeid",
  37949. "tradeprice",
  37950. "tradeqty",
  37951. "tradetime"
  37952. ],
  37953. "properties": {
  37954. "accountid": {
  37955. "description": "账户ID[报价币种]",
  37956. "type": "integer"
  37957. },
  37958. "advanceratio": {
  37959. "description": "首付比率",
  37960. "type": "number"
  37961. },
  37962. "buildtype": {
  37963. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  37964. "type": "integer"
  37965. },
  37966. "buyorsell": {
  37967. "description": "方向 - 0:买 1:卖",
  37968. "type": "integer"
  37969. },
  37970. "charge": {
  37971. "description": "手续费",
  37972. "type": "number"
  37973. },
  37974. "closecharge": {
  37975. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  37976. "type": "number"
  37977. },
  37978. "closeexchagechargevalue": {
  37979. "description": "平仓交易所手续费设置值",
  37980. "type": "number"
  37981. },
  37982. "closefeealgorithm": {
  37983. "description": "平仓手续费收取方式 1:比率 2:固定",
  37984. "type": "integer"
  37985. },
  37986. "closememberchargevalue": {
  37987. "description": "平仓会员手续费设置值",
  37988. "type": "number"
  37989. },
  37990. "closepl": {
  37991. "description": "平仓盈亏",
  37992. "type": "number"
  37993. },
  37994. "closepl2": {
  37995. "description": "平仓盈亏[逐笔]",
  37996. "type": "number"
  37997. },
  37998. "closeqty": {
  37999. "description": "平仓数量(先建后平操作 需要记录)",
  38000. "type": "number"
  38001. },
  38002. "creditamount": {
  38003. "description": "授信金额",
  38004. "type": "number"
  38005. },
  38006. "decimalplace": {
  38007. "description": "商品报价小数位",
  38008. "type": "integer"
  38009. },
  38010. "enumdicname": {
  38011. "description": "单位名称",
  38012. "type": "string"
  38013. },
  38014. "gcaccountid": {
  38015. "description": "账户ID[合约币种]",
  38016. "type": "integer"
  38017. },
  38018. "goodscode": {
  38019. "description": "商品代码",
  38020. "type": "string"
  38021. },
  38022. "goodsid": {
  38023. "description": "商品ID",
  38024. "type": "integer"
  38025. },
  38026. "goodsname": {
  38027. "description": "商品名称",
  38028. "type": "string"
  38029. },
  38030. "goodunitid": {
  38031. "description": "商品单位id",
  38032. "type": "integer"
  38033. },
  38034. "intclosepl": {
  38035. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  38036. "type": "integer"
  38037. },
  38038. "isconfirmexercise": {
  38039. "description": "是否确认行权- 0:否 1:是",
  38040. "type": "integer"
  38041. },
  38042. "ismain": {
  38043. "description": "是否主单 - 0:不是 1:是",
  38044. "type": "integer"
  38045. },
  38046. "ispreexercise": {
  38047. "description": "是否预申报- 0:否 1:是",
  38048. "type": "integer"
  38049. },
  38050. "isreckoned": {
  38051. "description": "是否结算 - 0:未结算 1:已结算",
  38052. "type": "integer"
  38053. },
  38054. "listingselecttype": {
  38055. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  38056. "type": "integer"
  38057. },
  38058. "marketid": {
  38059. "description": "市场ID",
  38060. "type": "integer"
  38061. },
  38062. "marketname": {
  38063. "description": "市场名称",
  38064. "type": "string"
  38065. },
  38066. "matchaccountid": {
  38067. "description": "对手账号id",
  38068. "type": "integer"
  38069. },
  38070. "memberuserid": {
  38071. "description": "会员id 个人投资者 需要填写",
  38072. "type": "integer"
  38073. },
  38074. "opencharge": {
  38075. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  38076. "type": "number"
  38077. },
  38078. "openexchagechargevalue": {
  38079. "description": "建仓交易所手续费设置值",
  38080. "type": "number"
  38081. },
  38082. "openfeealgorithm": {
  38083. "description": "建仓手续费收取方式 1:比率 2:固定",
  38084. "type": "integer"
  38085. },
  38086. "openmemberchargevalue": {
  38087. "description": "建仓会员手续费设置值",
  38088. "type": "number"
  38089. },
  38090. "openqty": {
  38091. "description": "开仓数量(先建后平操作 需要记录)",
  38092. "type": "number"
  38093. },
  38094. "optiontype": {
  38095. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  38096. "type": "integer"
  38097. },
  38098. "orderid": {
  38099. "description": "委托单号",
  38100. "type": "string"
  38101. },
  38102. "payamount": {
  38103. "description": "支付金额(付款金额)",
  38104. "type": "number"
  38105. },
  38106. "performanceplanid": {
  38107. "description": "履约计划ID[期权]",
  38108. "type": "integer"
  38109. },
  38110. "performancestatus": {
  38111. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  38112. "type": "integer"
  38113. },
  38114. "preexerciseprice": {
  38115. "description": "预申报价格",
  38116. "type": "number"
  38117. },
  38118. "premium": {
  38119. "description": "权利金 - [持仓单的权利金]",
  38120. "type": "number"
  38121. },
  38122. "qtydecimalplace": {
  38123. "description": "商品报价小数位",
  38124. "type": "integer"
  38125. },
  38126. "recvamount": {
  38127. "description": "到账金额 = 成交金额 - 手续费",
  38128. "type": "number"
  38129. },
  38130. "relatedouttradeid": {
  38131. "description": "关联外部成交单ID",
  38132. "type": "integer"
  38133. },
  38134. "status": {
  38135. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  38136. "type": "integer"
  38137. },
  38138. "totalamount": {
  38139. "description": "订单总额 = 成交金额 + 手续费",
  38140. "type": "number"
  38141. },
  38142. "tradeamount": {
  38143. "description": "成交金额[账户币种,用于所有权]",
  38144. "type": "number"
  38145. },
  38146. "tradedate": {
  38147. "description": "交易日(yyyyMMdd)",
  38148. "type": "string"
  38149. },
  38150. "tradeid": {
  38151. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  38152. "type": "string"
  38153. },
  38154. "trademode": {
  38155. "description": "交易模式",
  38156. "type": "integer"
  38157. },
  38158. "tradeprice": {
  38159. "description": "成交价格",
  38160. "type": "number"
  38161. },
  38162. "tradeproperty": {
  38163. "description": "交易属性",
  38164. "type": "integer"
  38165. },
  38166. "tradeqty": {
  38167. "description": "成交数量",
  38168. "type": "number"
  38169. },
  38170. "tradetime": {
  38171. "description": "成交时间",
  38172. "type": "string"
  38173. },
  38174. "tradetype": {
  38175. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  38176. "type": "integer"
  38177. }
  38178. }
  38179. },
  38180. "order.QueryTradeOrderDetailRsp": {
  38181. "type": "object",
  38182. "required": [
  38183. "accountid",
  38184. "buildtype",
  38185. "buyorsell",
  38186. "goodsid",
  38187. "marketid",
  38188. "operatetype",
  38189. "orderqty",
  38190. "ordertime",
  38191. "pricemode",
  38192. "tradedate",
  38193. "validtype"
  38194. ],
  38195. "properties": {
  38196. "accountid": {
  38197. "description": "账户ID[报价币种]",
  38198. "type": "integer"
  38199. },
  38200. "buildtype": {
  38201. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  38202. "type": "integer"
  38203. },
  38204. "buyorsell": {
  38205. "description": "买卖 - 0:买 1:卖",
  38206. "type": "integer"
  38207. },
  38208. "cancelorderid": {
  38209. "description": "撤单单号(撤单时填写)",
  38210. "type": "string"
  38211. },
  38212. "cancelqty": {
  38213. "description": "撤单数量",
  38214. "type": "number"
  38215. },
  38216. "clienttype": {
  38217. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  38218. "type": "integer"
  38219. },
  38220. "closefreezecharge": {
  38221. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  38222. "type": "number"
  38223. },
  38224. "closeqty": {
  38225. "description": "平仓数量(先建后平操作 需要记录)",
  38226. "type": "number"
  38227. },
  38228. "closetradeqty": {
  38229. "description": "平仓成交数量(先建后平操作,需要记录)",
  38230. "type": "number"
  38231. },
  38232. "closeunfreezecharge": {
  38233. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  38234. "type": "number"
  38235. },
  38236. "decimalplace": {
  38237. "description": "商品报价小数位",
  38238. "type": "integer"
  38239. },
  38240. "delistingtype": {
  38241. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  38242. "type": "integer"
  38243. },
  38244. "enableqty": {
  38245. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  38246. "type": "number"
  38247. },
  38248. "enumdicname": {
  38249. "description": "单位名称",
  38250. "type": "string"
  38251. },
  38252. "freezecharge": {
  38253. "description": "冻结手续费",
  38254. "type": "number"
  38255. },
  38256. "freezemargin": {
  38257. "description": "冻结保证金(冻结交易金额)",
  38258. "type": "number"
  38259. },
  38260. "goodscode": {
  38261. "description": "商品代码",
  38262. "type": "string"
  38263. },
  38264. "goodsid": {
  38265. "description": "商品ID",
  38266. "type": "integer"
  38267. },
  38268. "goodsname": {
  38269. "description": "商品名称",
  38270. "type": "string"
  38271. },
  38272. "goodunitid": {
  38273. "description": "商品单位id",
  38274. "type": "integer"
  38275. },
  38276. "listingselecttype": {
  38277. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  38278. "type": "integer"
  38279. },
  38280. "marketid": {
  38281. "description": "市场ID",
  38282. "type": "integer"
  38283. },
  38284. "marketname": {
  38285. "description": "市场名称",
  38286. "type": "string"
  38287. },
  38288. "openfreezecharge": {
  38289. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  38290. "type": "number"
  38291. },
  38292. "openqty": {
  38293. "description": "开仓数量(先建后平操作,需要记录)",
  38294. "type": "number"
  38295. },
  38296. "opentradeqty": {
  38297. "description": "开仓成交数量(先建后平操作,需要记录)",
  38298. "type": "number"
  38299. },
  38300. "openunfreezecharge": {
  38301. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  38302. "type": "number"
  38303. },
  38304. "operatetype": {
  38305. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  38306. "type": "integer"
  38307. },
  38308. "operatorid": {
  38309. "description": "登录账号(LoginID)",
  38310. "type": "integer"
  38311. },
  38312. "orderid": {
  38313. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  38314. "type": "string"
  38315. },
  38316. "orderprice": {
  38317. "description": "委托价格",
  38318. "type": "number"
  38319. },
  38320. "orderqty": {
  38321. "description": "委托数量",
  38322. "type": "number"
  38323. },
  38324. "ordersrc": {
  38325. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  38326. "type": "integer"
  38327. },
  38328. "orderstatus": {
  38329. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  38330. "type": "integer"
  38331. },
  38332. "ordertime": {
  38333. "description": "委托时间",
  38334. "type": "string"
  38335. },
  38336. "preorderid": {
  38337. "description": "关联预埋单号(止盈止损单时填写)",
  38338. "type": "string"
  38339. },
  38340. "pricemode": {
  38341. "description": "取价方式 - 1:市价 2: 限价",
  38342. "type": "integer"
  38343. },
  38344. "qtydecimalplace": {
  38345. "description": "商品报价小数位",
  38346. "type": "integer"
  38347. },
  38348. "relatedid": {
  38349. "description": "关联单号(交割单)",
  38350. "type": "string"
  38351. },
  38352. "tradedate": {
  38353. "description": "交易日(yyyyMMdd)",
  38354. "type": "string"
  38355. },
  38356. "trademode": {
  38357. "description": "交易模式",
  38358. "type": "integer"
  38359. },
  38360. "tradeqty": {
  38361. "description": "成交数量",
  38362. "type": "number"
  38363. },
  38364. "unfreezecharge": {
  38365. "description": "解冻手续费",
  38366. "type": "number"
  38367. },
  38368. "unfreezemargin": {
  38369. "description": "解冻保证金",
  38370. "type": "number"
  38371. },
  38372. "validtime": {
  38373. "description": "有效期限",
  38374. "type": "string"
  38375. },
  38376. "validtype": {
  38377. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  38378. "type": "integer"
  38379. },
  38380. "volumetype": {
  38381. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  38382. "type": "integer"
  38383. }
  38384. }
  38385. },
  38386. "order.QueryTradePositionRsp": {
  38387. "type": "object",
  38388. "required": [
  38389. "goodsid"
  38390. ],
  38391. "properties": {
  38392. "accountid": {
  38393. "description": "资金账户",
  38394. "type": "integer"
  38395. },
  38396. "agreeunit": {
  38397. "description": "合约单位",
  38398. "type": "number"
  38399. },
  38400. "averageprice": {
  38401. "description": "持仓均价",
  38402. "type": "number"
  38403. },
  38404. "buyorsell": {
  38405. "description": "方向 - 0:买 1:卖",
  38406. "type": "integer"
  38407. },
  38408. "closetotalqty": {
  38409. "description": "平仓总数量",
  38410. "type": "number"
  38411. },
  38412. "curholderamount": {
  38413. "description": "当前持仓总金额[商品币种]",
  38414. "type": "number"
  38415. },
  38416. "curpositionqty": {
  38417. "description": "当前持仓总数量",
  38418. "type": "number"
  38419. },
  38420. "currencyid": {
  38421. "description": "报价货币ID",
  38422. "type": "integer"
  38423. },
  38424. "curtdposition": {
  38425. "description": "期末今日头寸",
  38426. "type": "number"
  38427. },
  38428. "decimalplace": {
  38429. "description": "报价小数位",
  38430. "type": "integer"
  38431. },
  38432. "enableqty": {
  38433. "description": "可用量",
  38434. "type": "number"
  38435. },
  38436. "fretdposition": {
  38437. "description": "冻结今日头寸",
  38438. "type": "number"
  38439. },
  38440. "frozenqty": {
  38441. "description": "持仓冻结数量",
  38442. "type": "number"
  38443. },
  38444. "goodscode": {
  38445. "description": "商品代码",
  38446. "type": "string"
  38447. },
  38448. "goodsid": {
  38449. "description": "商品Id",
  38450. "type": "integer"
  38451. },
  38452. "goodsname": {
  38453. "description": "商品名称",
  38454. "type": "string"
  38455. },
  38456. "goodunit": {
  38457. "description": "报价单位",
  38458. "type": "string"
  38459. },
  38460. "goodunitid": {
  38461. "description": "报价单位ID",
  38462. "type": "integer"
  38463. },
  38464. "holderamount": {
  38465. "description": "期初持仓总金额[商品币种]",
  38466. "type": "number"
  38467. },
  38468. "lastprice": {
  38469. "description": "最新价",
  38470. "type": "number"
  38471. },
  38472. "marketamount": {
  38473. "description": "市值",
  38474. "type": "number"
  38475. },
  38476. "marketid": {
  38477. "description": "所属市场ID",
  38478. "type": "integer"
  38479. },
  38480. "openreqqty": {
  38481. "description": "开仓申请数量(用于比较最大持仓数量)",
  38482. "type": "number"
  38483. },
  38484. "opentotalqty": {
  38485. "description": "开仓总数量",
  38486. "type": "number"
  38487. },
  38488. "otherfrozenqty": {
  38489. "description": "持仓其他冻结数量(交割冻结)",
  38490. "type": "number"
  38491. },
  38492. "positionpl": {
  38493. "description": "持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  38494. "type": "number"
  38495. },
  38496. "positionplrate": {
  38497. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  38498. "type": "number"
  38499. },
  38500. "positionqty": {
  38501. "description": "期初持仓数量",
  38502. "type": "number"
  38503. },
  38504. "qtydecimalplace": {
  38505. "description": "成交量小数位",
  38506. "type": "integer"
  38507. },
  38508. "refgoodscode": {
  38509. "description": "参考商品代码",
  38510. "type": "string"
  38511. },
  38512. "refgoodsid": {
  38513. "description": "参考商品ID",
  38514. "type": "integer"
  38515. },
  38516. "tnqty": {
  38517. "description": "T+N冻结总量",
  38518. "type": "number"
  38519. },
  38520. "tnusedqty": {
  38521. "description": "T+N使用量(可以使用T+N的冻结数量)",
  38522. "type": "number"
  38523. },
  38524. "trademode": {
  38525. "description": "交易模式",
  38526. "type": "integer"
  38527. },
  38528. "tradeproperty": {
  38529. "description": "交易属性",
  38530. "type": "integer"
  38531. },
  38532. "usedmargin": {
  38533. "description": "占用保证金[商品币种]",
  38534. "type": "number"
  38535. }
  38536. }
  38537. },
  38538. "pb.GoodsMarginCfgStruct": {
  38539. "type": "object",
  38540. "properties": {
  38541. "CustomerTypeID": {
  38542. "description": "投资者客户类型",
  38543. "type": "integer"
  38544. },
  38545. "GoodsID": {
  38546. "description": "商品ID",
  38547. "type": "integer"
  38548. },
  38549. "IsDefault": {
  38550. "description": "是否默认标志位",
  38551. "type": "integer"
  38552. },
  38553. "LockMarginValue": {
  38554. "description": "锁仓保证金",
  38555. "type": "number"
  38556. },
  38557. "MarginAlgorithm": {
  38558. "description": "保证金计算方式",
  38559. "type": "integer"
  38560. },
  38561. "MarketMarginValue": {
  38562. "description": "即市保证金值",
  38563. "type": "number"
  38564. },
  38565. "RealMarginAlgorithm": {
  38566. "description": "实付保证金计算方式",
  38567. "type": "integer"
  38568. },
  38569. "RealMarginValue": {
  38570. "description": "实付比例",
  38571. "type": "number"
  38572. },
  38573. "ReckonMarginValue": {
  38574. "description": "结算保证金值",
  38575. "type": "number"
  38576. }
  38577. }
  38578. },
  38579. "quote.HistoryData": {
  38580. "type": "object",
  38581. "properties": {
  38582. "c": {
  38583. "description": "收盘价",
  38584. "type": "number"
  38585. },
  38586. "f": {
  38587. "description": "是否补充数据",
  38588. "type": "boolean"
  38589. },
  38590. "h": {
  38591. "description": "最高价",
  38592. "type": "number"
  38593. },
  38594. "hv": {
  38595. "description": "持仓量",
  38596. "type": "integer"
  38597. },
  38598. "l": {
  38599. "description": "最低价",
  38600. "type": "number"
  38601. },
  38602. "o": {
  38603. "description": "开盘价",
  38604. "type": "number"
  38605. },
  38606. "s": {
  38607. "description": "结算价,日线周期(包括)以上才有",
  38608. "type": "number"
  38609. },
  38610. "ts": {
  38611. "description": "时间",
  38612. "type": "string"
  38613. },
  38614. "tt": {
  38615. "description": "总金额",
  38616. "type": "number"
  38617. },
  38618. "tv": {
  38619. "description": "总量(成交量)",
  38620. "type": "integer"
  38621. }
  38622. }
  38623. },
  38624. "quote.HistoryTikData": {
  38625. "type": "object",
  38626. "properties": {
  38627. "AV": {
  38628. "description": "卖量",
  38629. "type": "integer"
  38630. },
  38631. "Ask": {
  38632. "description": "卖价",
  38633. "type": "number"
  38634. },
  38635. "BV": {
  38636. "description": "买量",
  38637. "type": "integer"
  38638. },
  38639. "Bid": {
  38640. "description": "买价",
  38641. "type": "number"
  38642. },
  38643. "HI": {
  38644. "description": "单笔持仓",
  38645. "type": "integer"
  38646. },
  38647. "HV": {
  38648. "description": "持仓量",
  38649. "type": "integer"
  38650. },
  38651. "PE": {
  38652. "description": "现价",
  38653. "type": "number"
  38654. },
  38655. "TDR": {
  38656. "description": "交易方向,0:买 1:卖",
  38657. "type": "integer"
  38658. },
  38659. "TK": {
  38660. "description": "交易类型",
  38661. "type": "integer"
  38662. },
  38663. "TS": {
  38664. "description": "行情时间文本",
  38665. "type": "string"
  38666. },
  38667. "TT": {
  38668. "description": "现金额",
  38669. "type": "number"
  38670. },
  38671. "Vol": {
  38672. "description": "现量",
  38673. "type": "integer"
  38674. }
  38675. }
  38676. },
  38677. "quote.QueryQuoteDayRsp": {
  38678. "type": "object",
  38679. "properties": {
  38680. "ask": {
  38681. "description": "卖1",
  38682. "type": "number"
  38683. },
  38684. "ask10": {
  38685. "description": "卖10",
  38686. "type": "number"
  38687. },
  38688. "ask2": {
  38689. "description": "卖2",
  38690. "type": "number"
  38691. },
  38692. "ask3": {
  38693. "description": "卖3",
  38694. "type": "number"
  38695. },
  38696. "ask4": {
  38697. "description": "卖4",
  38698. "type": "number"
  38699. },
  38700. "ask5": {
  38701. "description": "卖5",
  38702. "type": "number"
  38703. },
  38704. "ask6": {
  38705. "description": "卖6",
  38706. "type": "number"
  38707. },
  38708. "ask7": {
  38709. "description": "卖7",
  38710. "type": "number"
  38711. },
  38712. "ask8": {
  38713. "description": "卖8",
  38714. "type": "number"
  38715. },
  38716. "ask9": {
  38717. "description": "卖9",
  38718. "type": "number"
  38719. },
  38720. "askorderid": {
  38721. "description": "卖单号1",
  38722. "type": "integer"
  38723. },
  38724. "askorderid2": {
  38725. "description": "卖单号2",
  38726. "type": "integer"
  38727. },
  38728. "askorderid3": {
  38729. "description": "卖单号3",
  38730. "type": "integer"
  38731. },
  38732. "askorderid4": {
  38733. "description": "卖单号4",
  38734. "type": "integer"
  38735. },
  38736. "askorderid5": {
  38737. "description": "卖单号5",
  38738. "type": "integer"
  38739. },
  38740. "askordervolume": {
  38741. "description": "卖单量1",
  38742. "type": "integer"
  38743. },
  38744. "askordervolume10": {
  38745. "description": "卖单量10",
  38746. "type": "integer"
  38747. },
  38748. "askordervolume2": {
  38749. "description": "卖单量2",
  38750. "type": "integer"
  38751. },
  38752. "askordervolume3": {
  38753. "description": "卖单量3",
  38754. "type": "integer"
  38755. },
  38756. "askordervolume4": {
  38757. "description": "卖单量4",
  38758. "type": "integer"
  38759. },
  38760. "askordervolume5": {
  38761. "description": "卖单量5",
  38762. "type": "integer"
  38763. },
  38764. "askordervolume6": {
  38765. "description": "卖单量6",
  38766. "type": "integer"
  38767. },
  38768. "askordervolume7": {
  38769. "description": "卖单量7",
  38770. "type": "integer"
  38771. },
  38772. "askordervolume8": {
  38773. "description": "卖单量8",
  38774. "type": "integer"
  38775. },
  38776. "askordervolume9": {
  38777. "description": "卖单量9",
  38778. "type": "integer"
  38779. },
  38780. "askqueueinfo": {
  38781. "description": "大利市卖港股用",
  38782. "type": "string"
  38783. },
  38784. "askvolume": {
  38785. "description": "卖量1",
  38786. "type": "integer"
  38787. },
  38788. "askvolume10": {
  38789. "description": "卖量10",
  38790. "type": "integer"
  38791. },
  38792. "askvolume2": {
  38793. "description": "卖量2",
  38794. "type": "integer"
  38795. },
  38796. "askvolume3": {
  38797. "description": "卖量3",
  38798. "type": "integer"
  38799. },
  38800. "askvolume4": {
  38801. "description": "卖量4",
  38802. "type": "integer"
  38803. },
  38804. "askvolume5": {
  38805. "description": "卖量5",
  38806. "type": "integer"
  38807. },
  38808. "askvolume6": {
  38809. "description": "卖量6",
  38810. "type": "integer"
  38811. },
  38812. "askvolume7": {
  38813. "description": "卖量7",
  38814. "type": "integer"
  38815. },
  38816. "askvolume8": {
  38817. "description": "卖量8",
  38818. "type": "integer"
  38819. },
  38820. "askvolume9": {
  38821. "description": "卖量9",
  38822. "type": "integer"
  38823. },
  38824. "averageprice": {
  38825. "description": "均价",
  38826. "type": "number"
  38827. },
  38828. "bid": {
  38829. "description": "买1",
  38830. "type": "number"
  38831. },
  38832. "bid10": {
  38833. "description": "买10",
  38834. "type": "number"
  38835. },
  38836. "bid2": {
  38837. "description": "买2",
  38838. "type": "number"
  38839. },
  38840. "bid3": {
  38841. "description": "买3",
  38842. "type": "number"
  38843. },
  38844. "bid4": {
  38845. "description": "买4",
  38846. "type": "number"
  38847. },
  38848. "bid5": {
  38849. "description": "买5",
  38850. "type": "number"
  38851. },
  38852. "bid6": {
  38853. "description": "买6",
  38854. "type": "number"
  38855. },
  38856. "bid7": {
  38857. "description": "买7",
  38858. "type": "number"
  38859. },
  38860. "bid8": {
  38861. "description": "买8",
  38862. "type": "number"
  38863. },
  38864. "bid9": {
  38865. "description": "买9",
  38866. "type": "number"
  38867. },
  38868. "bidorderid": {
  38869. "description": "买单号1",
  38870. "type": "integer"
  38871. },
  38872. "bidorderid2": {
  38873. "description": "买单号2",
  38874. "type": "integer"
  38875. },
  38876. "bidorderid3": {
  38877. "description": "买单号3",
  38878. "type": "integer"
  38879. },
  38880. "bidorderid4": {
  38881. "description": "买单号4",
  38882. "type": "integer"
  38883. },
  38884. "bidorderid5": {
  38885. "description": "买单号5",
  38886. "type": "integer"
  38887. },
  38888. "bidordervolume": {
  38889. "description": "买单量1",
  38890. "type": "integer"
  38891. },
  38892. "bidordervolume10": {
  38893. "description": "买单量10",
  38894. "type": "integer"
  38895. },
  38896. "bidordervolume2": {
  38897. "description": "买单量2",
  38898. "type": "integer"
  38899. },
  38900. "bidordervolume3": {
  38901. "description": "买单量3",
  38902. "type": "integer"
  38903. },
  38904. "bidordervolume4": {
  38905. "description": "买单量4",
  38906. "type": "integer"
  38907. },
  38908. "bidordervolume5": {
  38909. "description": "买单量5",
  38910. "type": "integer"
  38911. },
  38912. "bidordervolume6": {
  38913. "description": "买单量6",
  38914. "type": "integer"
  38915. },
  38916. "bidordervolume7": {
  38917. "description": "买单量7",
  38918. "type": "integer"
  38919. },
  38920. "bidordervolume8": {
  38921. "description": "买单量8",
  38922. "type": "integer"
  38923. },
  38924. "bidordervolume9": {
  38925. "description": "买单量9",
  38926. "type": "integer"
  38927. },
  38928. "bidqueueinfo": {
  38929. "description": "大利市买港股用",
  38930. "type": "string"
  38931. },
  38932. "bidvolume": {
  38933. "description": "买量1",
  38934. "type": "integer"
  38935. },
  38936. "bidvolume10": {
  38937. "description": "买量10",
  38938. "type": "integer"
  38939. },
  38940. "bidvolume2": {
  38941. "description": "买量2",
  38942. "type": "integer"
  38943. },
  38944. "bidvolume3": {
  38945. "description": "买量3",
  38946. "type": "integer"
  38947. },
  38948. "bidvolume4": {
  38949. "description": "买量4",
  38950. "type": "integer"
  38951. },
  38952. "bidvolume5": {
  38953. "description": "买量5",
  38954. "type": "integer"
  38955. },
  38956. "bidvolume6": {
  38957. "description": "买量6",
  38958. "type": "integer"
  38959. },
  38960. "bidvolume7": {
  38961. "description": "买量7",
  38962. "type": "integer"
  38963. },
  38964. "bidvolume8": {
  38965. "description": "买量8",
  38966. "type": "integer"
  38967. },
  38968. "bidvolume9": {
  38969. "description": "买量9",
  38970. "type": "integer"
  38971. },
  38972. "calloptionpremiums": {
  38973. "description": "认购期权1",
  38974. "type": "integer"
  38975. },
  38976. "calloptionpremiums2": {
  38977. "description": "认购期权2",
  38978. "type": "integer"
  38979. },
  38980. "calloptionpremiums3": {
  38981. "description": "认购期权3",
  38982. "type": "integer"
  38983. },
  38984. "calloptionpremiums4": {
  38985. "description": "认购期权4",
  38986. "type": "integer"
  38987. },
  38988. "calloptionpremiums5": {
  38989. "description": "认购期权5",
  38990. "type": "integer"
  38991. },
  38992. "cleartime": {
  38993. "description": "清盘时间",
  38994. "type": "integer"
  38995. },
  38996. "exchangecode": {
  38997. "description": "交易所代码",
  38998. "type": "integer"
  38999. },
  39000. "exchangedate": {
  39001. "description": "交易日",
  39002. "type": "integer"
  39003. },
  39004. "goodscode": {
  39005. "description": "商品代码",
  39006. "type": "string"
  39007. },
  39008. "grepmarketprice": {
  39009. "description": "暗盘价 港股专用",
  39010. "type": "number"
  39011. },
  39012. "highest": {
  39013. "description": "最高价",
  39014. "type": "number"
  39015. },
  39016. "holdincrement": {
  39017. "description": "单笔持仓",
  39018. "type": "integer"
  39019. },
  39020. "holdvolume": {
  39021. "description": "持仓",
  39022. "type": "integer"
  39023. },
  39024. "iep": {
  39025. "description": "平衡价 港股专用",
  39026. "type": "number"
  39027. },
  39028. "iev": {
  39029. "description": "平衡量 港股专用",
  39030. "type": "number"
  39031. },
  39032. "inventory": {
  39033. "description": "库存",
  39034. "type": "integer"
  39035. },
  39036. "iscleared": {
  39037. "description": "是否清盘标志",
  39038. "type": "integer"
  39039. },
  39040. "issettled": {
  39041. "description": "是否结算标志",
  39042. "type": "integer"
  39043. },
  39044. "last": {
  39045. "description": "最新价",
  39046. "type": "number"
  39047. },
  39048. "lastlot": {
  39049. "description": "最新成交手数",
  39050. "type": "integer"
  39051. },
  39052. "lasttime": {
  39053. "description": "行情时间(只有现价变化行情时间才变化)",
  39054. "type": "string"
  39055. },
  39056. "lastturnover": {
  39057. "description": "最新成交金额",
  39058. "type": "number"
  39059. },
  39060. "lastvolume": {
  39061. "description": "最新成交量",
  39062. "type": "integer"
  39063. },
  39064. "limitdown": {
  39065. "description": "跌停价",
  39066. "type": "number"
  39067. },
  39068. "limitup": {
  39069. "description": "涨停价",
  39070. "type": "number"
  39071. },
  39072. "lowest": {
  39073. "description": "最低价",
  39074. "type": "number"
  39075. },
  39076. "nontotalholdervolume": {
  39077. "description": "非交易持仓量",
  39078. "type": "integer"
  39079. },
  39080. "nontotallot": {
  39081. "description": "非交易总手数",
  39082. "type": "integer"
  39083. },
  39084. "nontotalturnover": {
  39085. "description": "非交易总金额",
  39086. "type": "integer"
  39087. },
  39088. "nontotalvolume": {
  39089. "description": "非交易总量",
  39090. "type": "integer"
  39091. },
  39092. "opened": {
  39093. "description": "开盘价",
  39094. "type": "number"
  39095. },
  39096. "opentime": {
  39097. "description": "开盘时间",
  39098. "type": "string"
  39099. },
  39100. "orderid": {
  39101. "description": "序号",
  39102. "type": "integer"
  39103. },
  39104. "preclose": {
  39105. "description": "昨收",
  39106. "type": "number"
  39107. },
  39108. "preholdvolume": {
  39109. "description": "昨持仓",
  39110. "type": "integer"
  39111. },
  39112. "presettle": {
  39113. "description": "昨结价",
  39114. "type": "number"
  39115. },
  39116. "publictradetype": {
  39117. "description": "公共交易标志类型 港股专用",
  39118. "type": "string"
  39119. },
  39120. "putoptionpremiums": {
  39121. "description": "认沽期权1",
  39122. "type": "integer"
  39123. },
  39124. "putoptionpremiums2": {
  39125. "description": "认沽期权2",
  39126. "type": "integer"
  39127. },
  39128. "putoptionpremiums3": {
  39129. "description": "认沽期权3",
  39130. "type": "integer"
  39131. },
  39132. "putoptionpremiums4": {
  39133. "description": "认沽期权4",
  39134. "type": "integer"
  39135. },
  39136. "putoptionpremiums5": {
  39137. "description": "认沽期权5",
  39138. "type": "integer"
  39139. },
  39140. "settle": {
  39141. "description": "结算价",
  39142. "type": "number"
  39143. },
  39144. "strikeprice": {
  39145. "description": "发行价",
  39146. "type": "number"
  39147. },
  39148. "totalaskvolume": {
  39149. "description": "内盘",
  39150. "type": "integer"
  39151. },
  39152. "totalbidvolume": {
  39153. "description": "外盘",
  39154. "type": "integer"
  39155. },
  39156. "totallot": {
  39157. "description": "总手数",
  39158. "type": "integer"
  39159. },
  39160. "totalturnover": {
  39161. "description": "总金额",
  39162. "type": "number"
  39163. },
  39164. "totalvolume": {
  39165. "description": "总量",
  39166. "type": "integer"
  39167. },
  39168. "utclasttime": {
  39169. "description": "utc的行情时间",
  39170. "type": "string"
  39171. }
  39172. }
  39173. },
  39174. "quote.QueryTSDataRsp": {
  39175. "type": "object",
  39176. "properties": {
  39177. "Count": {
  39178. "description": "交易日应有数据个数",
  39179. "type": "integer"
  39180. },
  39181. "decimalPlace": {
  39182. "description": "小数位",
  39183. "type": "integer"
  39184. },
  39185. "endTime": {
  39186. "description": "结束时间",
  39187. "type": "string"
  39188. },
  39189. "goodsCode": {
  39190. "description": "商品代码",
  39191. "type": "string"
  39192. },
  39193. "historyDatas": {
  39194. "description": "历史数据",
  39195. "type": "array",
  39196. "items": {
  39197. "$ref": "#/definitions/quote.HistoryData"
  39198. }
  39199. },
  39200. "outGoodsCode": {
  39201. "description": "外部商品代码",
  39202. "type": "string"
  39203. },
  39204. "preSettle": {
  39205. "description": "昨结价",
  39206. "type": "number"
  39207. },
  39208. "runSteps": {
  39209. "description": "交易日开休市计划",
  39210. "type": "array",
  39211. "items": {
  39212. "$ref": "#/definitions/quote.TSDataRunStep"
  39213. }
  39214. },
  39215. "startTime": {
  39216. "description": "开始时间",
  39217. "type": "string"
  39218. },
  39219. "tradeDate": {
  39220. "description": "交易日",
  39221. "type": "string"
  39222. }
  39223. }
  39224. },
  39225. "quote.TSDataRunStep": {
  39226. "type": "object",
  39227. "properties": {
  39228. "end": {
  39229. "description": "真实结束时间",
  39230. "type": "string"
  39231. },
  39232. "endflag": {
  39233. "description": "结束日标识 - (-1:上日 0:当日 1:次日 )",
  39234. "type": "integer"
  39235. },
  39236. "endtime": {
  39237. "description": "结束时间(HH:mm)",
  39238. "type": "string"
  39239. },
  39240. "endweekday": {
  39241. "description": "结束周几",
  39242. "type": "integer"
  39243. },
  39244. "groupid": {
  39245. "description": "分组ID",
  39246. "type": "integer"
  39247. },
  39248. "runstep": {
  39249. "description": "运行阶段 - 2:连续交易",
  39250. "type": "integer"
  39251. },
  39252. "sectionid": {
  39253. "description": "从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几",
  39254. "type": "integer"
  39255. },
  39256. "start": {
  39257. "description": "真实开始时间",
  39258. "type": "string"
  39259. },
  39260. "startflag": {
  39261. "description": "开始日标识 - (-1:上日 0:当日 1:次日 )",
  39262. "type": "integer"
  39263. },
  39264. "starttime": {
  39265. "description": "起始时间(HH:mm)",
  39266. "type": "string"
  39267. },
  39268. "startweekday": {
  39269. "description": "起始周几",
  39270. "type": "integer"
  39271. },
  39272. "tradeweekday": {
  39273. "description": "交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六",
  39274. "type": "integer"
  39275. }
  39276. }
  39277. },
  39278. "szdz.QueryConvertLogRsp": {
  39279. "type": "object",
  39280. "required": [
  39281. "logid"
  39282. ],
  39283. "properties": {
  39284. "accountid": {
  39285. "description": "资金账户ID",
  39286. "type": "integer"
  39287. },
  39288. "clientticket": {
  39289. "description": "客户端流水号",
  39290. "type": "string"
  39291. },
  39292. "converttype": {
  39293. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  39294. "type": "integer"
  39295. },
  39296. "createtime": {
  39297. "description": "记账时间",
  39298. "type": "string"
  39299. },
  39300. "daymaxvalue": {
  39301. "description": "配置当日最大转入限制",
  39302. "type": "number"
  39303. },
  39304. "daymaxvalue2": {
  39305. "description": "配置当日最大转入限制(转入)",
  39306. "type": "number"
  39307. },
  39308. "goodscode": {
  39309. "description": "商品代码",
  39310. "type": "string"
  39311. },
  39312. "goodsname": {
  39313. "description": "商品名称",
  39314. "type": "string"
  39315. },
  39316. "handlestatus": {
  39317. "description": "处理状态",
  39318. "type": "integer"
  39319. },
  39320. "innergoodsid": {
  39321. "description": "内部商品ID",
  39322. "type": "integer"
  39323. },
  39324. "inratio": {
  39325. "description": "配置转入比值",
  39326. "type": "integer"
  39327. },
  39328. "invalue": {
  39329. "description": "目标值",
  39330. "type": "number"
  39331. },
  39332. "logid": {
  39333. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  39334. "type": "integer"
  39335. },
  39336. "mobile": {
  39337. "description": "手机号码(加密存储)",
  39338. "type": "string"
  39339. },
  39340. "outergoodscode": {
  39341. "description": "外部商品代码[JD\\PD]",
  39342. "type": "string"
  39343. },
  39344. "outratio": {
  39345. "description": "配置转出比值",
  39346. "type": "integer"
  39347. },
  39348. "outvalue": {
  39349. "description": "源值",
  39350. "type": "number"
  39351. },
  39352. "pddecimalplace": {
  39353. "description": "PD小数位",
  39354. "type": "integer"
  39355. },
  39356. "qty": {
  39357. "description": "数量",
  39358. "type": "string"
  39359. },
  39360. "remark": {
  39361. "description": "备注",
  39362. "type": "string"
  39363. },
  39364. "sessionid": {
  39365. "description": "会话ID",
  39366. "type": "integer"
  39367. },
  39368. "timemaxvalue": {
  39369. "description": "配置单次最大转入限制",
  39370. "type": "number"
  39371. },
  39372. "timemaxvalue2": {
  39373. "description": "配置单次最大转入限制(转入)",
  39374. "type": "number"
  39375. },
  39376. "timeminvalue": {
  39377. "description": "配置单次最小数量限制",
  39378. "type": "number"
  39379. },
  39380. "timeminvalue2": {
  39381. "description": "配置单次最小数量限制(转入)",
  39382. "type": "number"
  39383. },
  39384. "tradedate": {
  39385. "description": "交易日(yyyyMMdd)",
  39386. "type": "string"
  39387. },
  39388. "userid": {
  39389. "description": "用户ID",
  39390. "type": "integer"
  39391. }
  39392. }
  39393. },
  39394. "szdz.QueryGoodsPickupRsp": {
  39395. "type": "object",
  39396. "required": [
  39397. "takeorderid"
  39398. ],
  39399. "properties": {
  39400. "accountid": {
  39401. "description": "账户ID",
  39402. "type": "integer"
  39403. },
  39404. "address": {
  39405. "description": "提货人详细地址",
  39406. "type": "string"
  39407. },
  39408. "auditer": {
  39409. "description": "审核人",
  39410. "type": "integer"
  39411. },
  39412. "audittime": {
  39413. "description": "审核时间",
  39414. "type": "string"
  39415. },
  39416. "cardnum": {
  39417. "description": "提货人证件号码",
  39418. "type": "string"
  39419. },
  39420. "cardtypeid": {
  39421. "description": "提货人证件类型",
  39422. "type": "integer"
  39423. },
  39424. "checkremark": {
  39425. "description": "审核备注",
  39426. "type": "string"
  39427. },
  39428. "goodscode": {
  39429. "description": "商品代码",
  39430. "type": "string"
  39431. },
  39432. "goodsid": {
  39433. "description": "商品ID",
  39434. "type": "integer"
  39435. },
  39436. "goodsname": {
  39437. "description": "商品名称",
  39438. "type": "string"
  39439. },
  39440. "handlestatus": {
  39441. "description": "处理状态",
  39442. "type": "integer"
  39443. },
  39444. "marketid": {
  39445. "description": "市场ID",
  39446. "type": "integer"
  39447. },
  39448. "phonenum": {
  39449. "description": "提货人联系方式",
  39450. "type": "string"
  39451. },
  39452. "qty": {
  39453. "description": "提货数量",
  39454. "type": "number"
  39455. },
  39456. "recivername": {
  39457. "description": "提货人姓名",
  39458. "type": "string"
  39459. },
  39460. "reqtime": {
  39461. "description": "更新时间",
  39462. "type": "string"
  39463. },
  39464. "takemode": {
  39465. "description": "提货方式 - 2:自提 3:配送",
  39466. "type": "integer"
  39467. },
  39468. "takeorderid": {
  39469. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  39470. "type": "string"
  39471. },
  39472. "takeorderstatus": {
  39473. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  39474. "type": "integer"
  39475. },
  39476. "takeremark": {
  39477. "description": "提货备注",
  39478. "type": "string"
  39479. },
  39480. "tradedate": {
  39481. "description": "交易日(yyyyMMdd)",
  39482. "type": "string"
  39483. },
  39484. "userid": {
  39485. "description": "用户ID",
  39486. "type": "integer"
  39487. }
  39488. }
  39489. },
  39490. "szdz.QueryRecieptOrderRsp": {
  39491. "type": "object",
  39492. "required": [
  39493. "ordertime"
  39494. ],
  39495. "properties": {
  39496. "accountName": {
  39497. "description": "所属账号名称(已脱敏)",
  39498. "type": "string"
  39499. },
  39500. "accountid": {
  39501. "description": "资金账号",
  39502. "type": "integer"
  39503. },
  39504. "buyorsell": {
  39505. "description": "方向 - 0:买 1:卖",
  39506. "type": "integer"
  39507. },
  39508. "enableqty": {
  39509. "description": "可摘数量",
  39510. "type": "integer"
  39511. },
  39512. "goodscode": {
  39513. "description": "商品代码",
  39514. "type": "string"
  39515. },
  39516. "goodsid": {
  39517. "description": "商品ID",
  39518. "type": "integer"
  39519. },
  39520. "goodsname": {
  39521. "description": "商品名称",
  39522. "type": "string"
  39523. },
  39524. "orderid": {
  39525. "description": "委托单号",
  39526. "type": "string"
  39527. },
  39528. "orderprice": {
  39529. "description": "委托价格",
  39530. "type": "number"
  39531. },
  39532. "ordertime": {
  39533. "description": "委托时间",
  39534. "type": "string"
  39535. },
  39536. "tradedate": {
  39537. "description": "交易日(yyyyMMdd)",
  39538. "type": "string"
  39539. }
  39540. }
  39541. },
  39542. "szdz.QuerySZDZTradePositionRsp": {
  39543. "type": "object",
  39544. "properties": {
  39545. "accountid": {
  39546. "description": "账号Id",
  39547. "type": "integer"
  39548. },
  39549. "agreeunit": {
  39550. "description": "合约单位",
  39551. "type": "number"
  39552. },
  39553. "averageprice": {
  39554. "description": "持仓均价",
  39555. "type": "number"
  39556. },
  39557. "buyorsell": {
  39558. "description": "方向 - 0:买 1:卖",
  39559. "type": "integer"
  39560. },
  39561. "closetotalqty": {
  39562. "description": "平仓总数量",
  39563. "type": "integer"
  39564. },
  39565. "curholderamount": {
  39566. "description": "当前持仓总金额",
  39567. "type": "number"
  39568. },
  39569. "curpositionqty": {
  39570. "description": "当前持仓总数量",
  39571. "type": "integer"
  39572. },
  39573. "currencyid": {
  39574. "description": "报价货币ID",
  39575. "type": "integer"
  39576. },
  39577. "curtdposition": {
  39578. "description": "期末今日头寸",
  39579. "type": "integer"
  39580. },
  39581. "decimalplace": {
  39582. "description": "报价小数位",
  39583. "type": "integer"
  39584. },
  39585. "enableqty": {
  39586. "description": "可用量",
  39587. "type": "integer"
  39588. },
  39589. "fretdposition": {
  39590. "description": "冻结今日头寸",
  39591. "type": "integer"
  39592. },
  39593. "frozenqty": {
  39594. "description": "持仓冻结数量",
  39595. "type": "integer"
  39596. },
  39597. "goodscode": {
  39598. "description": "商品代码(内部)",
  39599. "type": "string"
  39600. },
  39601. "goodsid": {
  39602. "description": "商品Id",
  39603. "type": "integer"
  39604. },
  39605. "goodsname": {
  39606. "description": "商品名称",
  39607. "type": "string"
  39608. },
  39609. "goodunit": {
  39610. "description": "报价单位",
  39611. "type": "string"
  39612. },
  39613. "goodunitid": {
  39614. "description": "报价单位ID",
  39615. "type": "integer"
  39616. },
  39617. "holderamount": {
  39618. "description": "期初持仓总金额",
  39619. "type": "number"
  39620. },
  39621. "marketid": {
  39622. "description": "市场ID",
  39623. "type": "integer"
  39624. },
  39625. "openreqqty": {
  39626. "description": "开仓申请数量",
  39627. "type": "integer"
  39628. },
  39629. "opentotalqty": {
  39630. "description": "开仓总数量",
  39631. "type": "integer"
  39632. },
  39633. "otherfrozenqty": {
  39634. "description": "持仓其他冻结数量(交割冻结)",
  39635. "type": "integer"
  39636. },
  39637. "positionqty": {
  39638. "description": "期初持仓数量",
  39639. "type": "integer"
  39640. },
  39641. "szdz3freezqty": {
  39642. "description": "尚志大宗转换冻结总数量",
  39643. "type": "integer"
  39644. },
  39645. "tnqty": {
  39646. "description": "T+N冻结总量",
  39647. "type": "integer"
  39648. },
  39649. "tnusedqty": {
  39650. "description": "T+N使用量",
  39651. "type": "integer"
  39652. },
  39653. "trademode": {
  39654. "description": "交易模式",
  39655. "type": "integer"
  39656. },
  39657. "usedmargin": {
  39658. "description": "占用保证金",
  39659. "type": "number"
  39660. }
  39661. }
  39662. },
  39663. "taaccount.QueryAmountLogRsp": {
  39664. "type": "object",
  39665. "required": [
  39666. "accountid",
  39667. "amount",
  39668. "amountadjusttype",
  39669. "autoid",
  39670. "balance",
  39671. "createtime",
  39672. "currentbalance",
  39673. "operatetype"
  39674. ],
  39675. "properties": {
  39676. "OPERATETYPENAME": {
  39677. "description": "资金操作类型名称",
  39678. "type": "string"
  39679. },
  39680. "accountid": {
  39681. "description": "资金账户ID",
  39682. "type": "integer"
  39683. },
  39684. "agoodscode": {
  39685. "description": "竞拍商品代码",
  39686. "type": "string"
  39687. },
  39688. "agoodsname": {
  39689. "description": "竞拍商品名称",
  39690. "type": "string"
  39691. },
  39692. "amount": {
  39693. "description": "资金金额",
  39694. "type": "number"
  39695. },
  39696. "amountadjusttype": {
  39697. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  39698. "type": "integer"
  39699. },
  39700. "autoid": {
  39701. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  39702. "type": "integer"
  39703. },
  39704. "balance": {
  39705. "description": "期初余额",
  39706. "type": "number"
  39707. },
  39708. "businesscode": {
  39709. "description": "业务编号",
  39710. "type": "integer"
  39711. },
  39712. "createtime": {
  39713. "description": "发生时间",
  39714. "type": "string"
  39715. },
  39716. "currencyid": {
  39717. "description": "币种ID",
  39718. "type": "integer"
  39719. },
  39720. "currentbalance": {
  39721. "description": "期末余额(变动后金额)",
  39722. "type": "number"
  39723. },
  39724. "dgoodscode": {
  39725. "description": "交割商品代码",
  39726. "type": "string"
  39727. },
  39728. "dgoodsname": {
  39729. "description": "交割商品名称",
  39730. "type": "string"
  39731. },
  39732. "goodscode": {
  39733. "description": "商品代码",
  39734. "type": "string"
  39735. },
  39736. "goodsid": {
  39737. "description": "商品ID",
  39738. "type": "integer"
  39739. },
  39740. "goodsname": {
  39741. "description": "商品名称",
  39742. "type": "string"
  39743. },
  39744. "marketid": {
  39745. "description": "市场ID",
  39746. "type": "integer"
  39747. },
  39748. "marketname": {
  39749. "description": "市场名称",
  39750. "type": "string"
  39751. },
  39752. "moneyticket": {
  39753. "description": "资金流水号:银行端流水号",
  39754. "type": "integer"
  39755. },
  39756. "operatetype": {
  39757. "description": "资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费 1007:期权盈亏 1101:营销扣款 1102:营销收款",
  39758. "type": "integer"
  39759. },
  39760. "relationorderid": {
  39761. "description": "关联单号",
  39762. "type": "string"
  39763. },
  39764. "remark": {
  39765. "description": "备注",
  39766. "type": "string"
  39767. },
  39768. "trademode": {
  39769. "description": "交易模式",
  39770. "type": "integer"
  39771. }
  39772. }
  39773. },
  39774. "taaccount.QueryHisAmountLogRsp": {
  39775. "type": "object",
  39776. "required": [
  39777. "accountid",
  39778. "amount",
  39779. "amountadjusttype",
  39780. "autoid",
  39781. "balance",
  39782. "createtime",
  39783. "currentbalance",
  39784. "histradedate",
  39785. "operatetype"
  39786. ],
  39787. "properties": {
  39788. "OPERATETYPENAME": {
  39789. "description": "资金操作类型名称",
  39790. "type": "string"
  39791. },
  39792. "accountid": {
  39793. "description": "资金账户ID",
  39794. "type": "integer"
  39795. },
  39796. "agoodscode": {
  39797. "description": "竞拍商品代码",
  39798. "type": "string"
  39799. },
  39800. "agoodsname": {
  39801. "description": "竞拍商品名称",
  39802. "type": "string"
  39803. },
  39804. "amount": {
  39805. "description": "资金金额",
  39806. "type": "number"
  39807. },
  39808. "amountadjusttype": {
  39809. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  39810. "type": "integer"
  39811. },
  39812. "autoid": {
  39813. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  39814. "type": "integer"
  39815. },
  39816. "balance": {
  39817. "description": "期初余额",
  39818. "type": "number"
  39819. },
  39820. "businesscode": {
  39821. "description": "业务编号",
  39822. "type": "integer"
  39823. },
  39824. "createtime": {
  39825. "description": "发生时间",
  39826. "type": "string"
  39827. },
  39828. "currencyid": {
  39829. "description": "币种ID",
  39830. "type": "integer"
  39831. },
  39832. "currentbalance": {
  39833. "description": "期末余额(变动后金额)",
  39834. "type": "number"
  39835. },
  39836. "dgoodscode": {
  39837. "description": "交割商品代码",
  39838. "type": "string"
  39839. },
  39840. "dgoodsname": {
  39841. "description": "交割商品名称",
  39842. "type": "string"
  39843. },
  39844. "goodscode": {
  39845. "description": "商品代码",
  39846. "type": "string"
  39847. },
  39848. "goodsid": {
  39849. "description": "商品ID",
  39850. "type": "integer"
  39851. },
  39852. "goodsname": {
  39853. "description": "商品名称",
  39854. "type": "string"
  39855. },
  39856. "histradedate": {
  39857. "description": "历史交易日",
  39858. "type": "string"
  39859. },
  39860. "isvaliddata": {
  39861. "description": "是否有效 - 0:无效 1:有效",
  39862. "type": "integer"
  39863. },
  39864. "marketid": {
  39865. "description": "市场ID",
  39866. "type": "integer"
  39867. },
  39868. "marketname": {
  39869. "description": "市场名称",
  39870. "type": "string"
  39871. },
  39872. "moneyticket": {
  39873. "description": "资金流水号:银行端流水号",
  39874. "type": "integer"
  39875. },
  39876. "operatetype": {
  39877. "description": "资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费 1007:期权盈亏 1101:营销扣款 1102:营销收款",
  39878. "type": "integer"
  39879. },
  39880. "relationorderid": {
  39881. "description": "关联单号",
  39882. "type": "string"
  39883. },
  39884. "remark": {
  39885. "description": "备注",
  39886. "type": "string"
  39887. },
  39888. "trademode": {
  39889. "description": "交易模式",
  39890. "type": "integer"
  39891. }
  39892. }
  39893. },
  39894. "trade.QueryRecieptOrderRsp": {
  39895. "type": "object",
  39896. "required": [
  39897. "ordertime"
  39898. ],
  39899. "properties": {
  39900. "accountName": {
  39901. "description": "所属账号名称(已脱敏)",
  39902. "type": "string"
  39903. },
  39904. "accountid": {
  39905. "description": "资金账号",
  39906. "type": "integer"
  39907. },
  39908. "buyorsell": {
  39909. "description": "方向 - 0:买 1:卖",
  39910. "type": "integer"
  39911. },
  39912. "enableqty": {
  39913. "description": "可摘数量",
  39914. "type": "integer"
  39915. },
  39916. "goodscode": {
  39917. "description": "商品代码",
  39918. "type": "string"
  39919. },
  39920. "goodsid": {
  39921. "description": "商品ID",
  39922. "type": "integer"
  39923. },
  39924. "goodsname": {
  39925. "description": "商品名称",
  39926. "type": "string"
  39927. },
  39928. "orderid": {
  39929. "description": "委托单号",
  39930. "type": "string"
  39931. },
  39932. "orderprice": {
  39933. "description": "委托价格",
  39934. "type": "number"
  39935. },
  39936. "ordertime": {
  39937. "description": "委托时间",
  39938. "type": "string"
  39939. },
  39940. "tradedate": {
  39941. "description": "交易日(yyyyMMdd)",
  39942. "type": "string"
  39943. }
  39944. }
  39945. },
  39946. "user.LoginQueryRsp": {
  39947. "type": "object",
  39948. "properties": {
  39949. "areaRoles": {
  39950. "description": "所属角色信息",
  39951. "type": "array",
  39952. "items": {
  39953. "$ref": "#/definitions/models.Arearole"
  39954. }
  39955. },
  39956. "externalExchanges": {
  39957. "description": "外部交易所",
  39958. "type": "array",
  39959. "items": {
  39960. "$ref": "#/definitions/models.Externalexchange"
  39961. }
  39962. },
  39963. "goodsgroups": {
  39964. "description": "商品组",
  39965. "type": "array",
  39966. "items": {
  39967. "$ref": "#/definitions/models.Goodsgroup"
  39968. }
  39969. },
  39970. "loginAccount": {
  39971. "description": "登录账号",
  39972. "$ref": "#/definitions/models.Loginaccount"
  39973. },
  39974. "markets": {
  39975. "description": "市场",
  39976. "type": "array",
  39977. "items": {
  39978. "$ref": "#/definitions/models.Market"
  39979. }
  39980. },
  39981. "systemParams": {
  39982. "description": "系统参数",
  39983. "type": "array",
  39984. "items": {
  39985. "$ref": "#/definitions/models.Systemparam"
  39986. }
  39987. },
  39988. "userAccount": {
  39989. "description": "用户账号",
  39990. "$ref": "#/definitions/models.Useraccount"
  39991. },
  39992. "userInfo": {
  39993. "description": "用户信息",
  39994. "$ref": "#/definitions/models.Userinfo"
  39995. },
  39996. "username": {
  39997. "description": "用户姓名",
  39998. "type": "string"
  39999. }
  40000. }
  40001. }
  40002. },
  40003. "securityDefinitions": {
  40004. "ApiKeyAuth": {
  40005. "type": "apiKey",
  40006. "name": "Authorization",
  40007. "in": "header"
  40008. }
  40009. }
  40010. }`
  40011. type swaggerInfo struct {
  40012. Version string
  40013. Host string
  40014. BasePath string
  40015. Schemes []string
  40016. Title string
  40017. Description string
  40018. }
  40019. // SwaggerInfo holds exported Swagger Info so clients can modify it
  40020. var SwaggerInfo = swaggerInfo{
  40021. Version: "1.0",
  40022. Host: "",
  40023. BasePath: "/api",
  40024. Schemes: []string{},
  40025. Title: "MTP2.0 查询服务 API",
  40026. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  40027. }
  40028. type s struct{}
  40029. func (s *s) ReadDoc() string {
  40030. sInfo := SwaggerInfo
  40031. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  40032. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  40033. "marshal": func(v interface{}) string {
  40034. a, _ := json.Marshal(v)
  40035. return string(a)
  40036. },
  40037. }).Parse(doc)
  40038. if err != nil {
  40039. return doc
  40040. }
  40041. var tpl bytes.Buffer
  40042. if err := t.Execute(&tpl, sInfo); err != nil {
  40043. return doc
  40044. }
  40045. return tpl.String()
  40046. }
  40047. func init() {
  40048. swag.Register(swag.Name, &s{})
  40049. }