docs.go 1.5 MB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706227072270822709227102271122712227132271422715227162271722718227192272022721227222272322724227252272622727227282272922730227312273222733227342273522736227372273822739227402274122742227432274422745227462274722748227492275022751227522275322754227552275622757227582275922760227612276222763227642276522766227672276822769227702277122772227732277422775227762277722778227792278022781227822278322784227852278622787227882278922790227912279222793227942279522796227972279822799228002280122802228032280422805228062280722808228092281022811228122281322814228152281622817228182281922820228212282222823228242282522826228272282822829228302283122832228332283422835228362283722838228392284022841228422284322844228452284622847228482284922850228512285222853228542285522856228572285822859228602286122862228632286422865228662286722868228692287022871228722287322874228752287622877228782287922880228812288222883228842288522886228872288822889228902289122892228932289422895228962289722898228992290022901229022290322904229052290622907229082290922910229112291222913229142291522916229172291822919229202292122922229232292422925229262292722928229292293022931229322293322934229352293622937229382293922940229412294222943229442294522946229472294822949229502295122952229532295422955229562295722958229592296022961229622296322964229652296622967229682296922970229712297222973229742297522976229772297822979229802298122982229832298422985229862298722988229892299022991229922299322994229952299622997229982299923000230012300223003230042300523006230072300823009230102301123012230132301423015230162301723018230192302023021230222302323024230252302623027230282302923030230312303223033230342303523036230372303823039230402304123042230432304423045230462304723048230492305023051230522305323054230552305623057230582305923060230612306223063230642306523066230672306823069230702307123072230732307423075230762307723078230792308023081230822308323084230852308623087230882308923090230912309223093230942309523096230972309823099231002310123102231032310423105231062310723108231092311023111231122311323114231152311623117231182311923120231212312223123231242312523126231272312823129231302313123132231332313423135231362313723138231392314023141231422314323144231452314623147231482314923150231512315223153231542315523156231572315823159231602316123162231632316423165231662316723168231692317023171231722317323174231752317623177231782317923180231812318223183231842318523186231872318823189231902319123192231932319423195231962319723198231992320023201232022320323204232052320623207232082320923210232112321223213232142321523216232172321823219232202322123222232232322423225232262322723228232292323023231232322323323234232352323623237232382323923240232412324223243232442324523246232472324823249232502325123252232532325423255232562325723258232592326023261232622326323264232652326623267232682326923270232712327223273232742327523276232772327823279232802328123282232832328423285232862328723288232892329023291232922329323294232952329623297232982329923300233012330223303233042330523306233072330823309233102331123312233132331423315233162331723318233192332023321233222332323324233252332623327233282332923330233312333223333233342333523336233372333823339233402334123342233432334423345233462334723348233492335023351233522335323354233552335623357233582335923360233612336223363233642336523366233672336823369233702337123372233732337423375233762337723378233792338023381233822338323384233852338623387233882338923390233912339223393233942339523396233972339823399234002340123402234032340423405234062340723408234092341023411234122341323414234152341623417234182341923420234212342223423234242342523426234272342823429234302343123432234332343423435234362343723438234392344023441234422344323444234452344623447234482344923450234512345223453234542345523456234572345823459234602346123462234632346423465234662346723468234692347023471234722347323474234752347623477234782347923480234812348223483234842348523486234872348823489234902349123492234932349423495234962349723498234992350023501235022350323504235052350623507235082350923510235112351223513235142351523516235172351823519235202352123522235232352423525235262352723528235292353023531235322353323534235352353623537235382353923540235412354223543235442354523546235472354823549235502355123552235532355423555235562355723558235592356023561235622356323564235652356623567235682356923570235712357223573235742357523576235772357823579235802358123582235832358423585235862358723588235892359023591235922359323594235952359623597235982359923600236012360223603236042360523606236072360823609236102361123612236132361423615236162361723618236192362023621236222362323624236252362623627236282362923630236312363223633236342363523636236372363823639236402364123642236432364423645236462364723648236492365023651236522365323654236552365623657236582365923660236612366223663236642366523666236672366823669236702367123672236732367423675236762367723678236792368023681236822368323684236852368623687236882368923690236912369223693236942369523696236972369823699237002370123702237032370423705237062370723708237092371023711237122371323714237152371623717237182371923720237212372223723237242372523726237272372823729237302373123732237332373423735237362373723738237392374023741237422374323744237452374623747237482374923750237512375223753237542375523756237572375823759237602376123762237632376423765237662376723768237692377023771237722377323774237752377623777237782377923780237812378223783237842378523786237872378823789237902379123792237932379423795237962379723798237992380023801238022380323804238052380623807238082380923810238112381223813238142381523816238172381823819238202382123822238232382423825238262382723828238292383023831238322383323834238352383623837238382383923840238412384223843238442384523846238472384823849238502385123852238532385423855238562385723858238592386023861238622386323864238652386623867238682386923870238712387223873238742387523876238772387823879238802388123882238832388423885238862388723888238892389023891238922389323894238952389623897238982389923900239012390223903239042390523906239072390823909239102391123912239132391423915239162391723918239192392023921239222392323924239252392623927239282392923930239312393223933239342393523936239372393823939239402394123942239432394423945239462394723948239492395023951239522395323954239552395623957239582395923960239612396223963239642396523966239672396823969239702397123972239732397423975239762397723978239792398023981239822398323984239852398623987239882398923990239912399223993239942399523996239972399823999240002400124002240032400424005240062400724008240092401024011240122401324014240152401624017240182401924020240212402224023240242402524026240272402824029240302403124032240332403424035240362403724038240392404024041240422404324044240452404624047240482404924050240512405224053240542405524056240572405824059240602406124062240632406424065240662406724068240692407024071240722407324074240752407624077240782407924080240812408224083240842408524086240872408824089240902409124092240932409424095240962409724098240992410024101241022410324104241052410624107241082410924110241112411224113241142411524116241172411824119241202412124122241232412424125241262412724128241292413024131241322413324134241352413624137241382413924140241412414224143241442414524146241472414824149241502415124152241532415424155241562415724158241592416024161241622416324164241652416624167241682416924170241712417224173241742417524176241772417824179241802418124182241832418424185241862418724188241892419024191241922419324194241952419624197241982419924200242012420224203242042420524206242072420824209242102421124212242132421424215242162421724218242192422024221242222422324224242252422624227242282422924230242312423224233242342423524236242372423824239242402424124242242432424424245242462424724248242492425024251242522425324254242552425624257242582425924260242612426224263242642426524266242672426824269242702427124272242732427424275242762427724278242792428024281242822428324284242852428624287242882428924290242912429224293242942429524296242972429824299243002430124302243032430424305243062430724308243092431024311243122431324314243152431624317243182431924320243212432224323243242432524326243272432824329243302433124332243332433424335243362433724338243392434024341243422434324344243452434624347243482434924350243512435224353243542435524356243572435824359243602436124362243632436424365243662436724368243692437024371243722437324374243752437624377243782437924380243812438224383243842438524386243872438824389243902439124392243932439424395243962439724398243992440024401244022440324404244052440624407244082440924410244112441224413244142441524416244172441824419244202442124422244232442424425244262442724428244292443024431244322443324434244352443624437244382443924440244412444224443244442444524446244472444824449244502445124452244532445424455244562445724458244592446024461244622446324464244652446624467244682446924470244712447224473244742447524476244772447824479244802448124482244832448424485244862448724488244892449024491244922449324494244952449624497244982449924500245012450224503245042450524506245072450824509245102451124512245132451424515245162451724518245192452024521245222452324524245252452624527245282452924530245312453224533245342453524536245372453824539245402454124542245432454424545245462454724548245492455024551245522455324554245552455624557245582455924560245612456224563245642456524566245672456824569245702457124572245732457424575245762457724578245792458024581245822458324584245852458624587245882458924590245912459224593245942459524596245972459824599246002460124602246032460424605246062460724608246092461024611246122461324614246152461624617246182461924620246212462224623246242462524626246272462824629246302463124632246332463424635246362463724638246392464024641246422464324644246452464624647246482464924650246512465224653246542465524656246572465824659246602466124662246632466424665246662466724668246692467024671246722467324674246752467624677246782467924680246812468224683246842468524686246872468824689246902469124692246932469424695246962469724698246992470024701247022470324704247052470624707247082470924710247112471224713247142471524716247172471824719247202472124722247232472424725247262472724728247292473024731247322473324734247352473624737247382473924740247412474224743247442474524746247472474824749247502475124752247532475424755247562475724758247592476024761247622476324764247652476624767247682476924770247712477224773247742477524776247772477824779247802478124782247832478424785247862478724788247892479024791247922479324794247952479624797247982479924800248012480224803248042480524806248072480824809248102481124812248132481424815248162481724818248192482024821248222482324824248252482624827248282482924830248312483224833248342483524836248372483824839248402484124842248432484424845248462484724848248492485024851248522485324854248552485624857248582485924860248612486224863248642486524866248672486824869248702487124872248732487424875248762487724878248792488024881248822488324884248852488624887248882488924890248912489224893248942489524896248972489824899249002490124902249032490424905249062490724908249092491024911249122491324914249152491624917249182491924920249212492224923249242492524926249272492824929249302493124932249332493424935249362493724938249392494024941249422494324944249452494624947249482494924950249512495224953249542495524956249572495824959249602496124962249632496424965249662496724968249692497024971249722497324974249752497624977249782497924980249812498224983249842498524986249872498824989249902499124992249932499424995249962499724998249992500025001250022500325004250052500625007250082500925010250112501225013250142501525016250172501825019250202502125022250232502425025250262502725028250292503025031250322503325034250352503625037250382503925040250412504225043250442504525046250472504825049250502505125052250532505425055250562505725058250592506025061250622506325064250652506625067250682506925070250712507225073250742507525076250772507825079250802508125082250832508425085250862508725088250892509025091250922509325094250952509625097250982509925100251012510225103251042510525106251072510825109251102511125112251132511425115251162511725118251192512025121251222512325124251252512625127251282512925130251312513225133251342513525136251372513825139251402514125142251432514425145251462514725148251492515025151251522515325154251552515625157251582515925160251612516225163251642516525166251672516825169251702517125172251732517425175251762517725178251792518025181251822518325184251852518625187251882518925190251912519225193251942519525196251972519825199252002520125202252032520425205252062520725208252092521025211252122521325214252152521625217252182521925220252212522225223252242522525226252272522825229252302523125232252332523425235252362523725238252392524025241252422524325244252452524625247252482524925250252512525225253252542525525256252572525825259252602526125262252632526425265252662526725268252692527025271252722527325274252752527625277252782527925280252812528225283252842528525286252872528825289252902529125292252932529425295252962529725298252992530025301253022530325304253052530625307253082530925310253112531225313253142531525316253172531825319253202532125322253232532425325253262532725328253292533025331253322533325334253352533625337253382533925340253412534225343253442534525346253472534825349253502535125352253532535425355253562535725358253592536025361253622536325364253652536625367253682536925370253712537225373253742537525376253772537825379253802538125382253832538425385253862538725388253892539025391253922539325394253952539625397253982539925400254012540225403254042540525406254072540825409254102541125412254132541425415254162541725418254192542025421254222542325424254252542625427254282542925430254312543225433254342543525436254372543825439254402544125442254432544425445254462544725448254492545025451254522545325454254552545625457254582545925460254612546225463254642546525466254672546825469254702547125472254732547425475254762547725478254792548025481254822548325484254852548625487254882548925490254912549225493254942549525496254972549825499255002550125502255032550425505255062550725508255092551025511255122551325514255152551625517255182551925520255212552225523255242552525526255272552825529255302553125532255332553425535255362553725538255392554025541255422554325544255452554625547255482554925550255512555225553255542555525556255572555825559255602556125562255632556425565255662556725568255692557025571255722557325574255752557625577255782557925580255812558225583255842558525586255872558825589255902559125592255932559425595255962559725598255992560025601256022560325604256052560625607256082560925610256112561225613256142561525616256172561825619256202562125622256232562425625256262562725628256292563025631256322563325634256352563625637256382563925640256412564225643256442564525646256472564825649256502565125652256532565425655256562565725658256592566025661256622566325664256652566625667256682566925670256712567225673256742567525676256772567825679256802568125682256832568425685256862568725688256892569025691256922569325694256952569625697256982569925700257012570225703257042570525706257072570825709257102571125712257132571425715257162571725718257192572025721257222572325724257252572625727257282572925730257312573225733257342573525736257372573825739257402574125742257432574425745257462574725748257492575025751257522575325754257552575625757257582575925760257612576225763257642576525766257672576825769257702577125772257732577425775257762577725778257792578025781257822578325784257852578625787257882578925790257912579225793257942579525796257972579825799258002580125802258032580425805258062580725808258092581025811258122581325814258152581625817258182581925820258212582225823258242582525826258272582825829258302583125832258332583425835258362583725838258392584025841258422584325844258452584625847258482584925850258512585225853258542585525856258572585825859258602586125862258632586425865258662586725868258692587025871258722587325874258752587625877258782587925880258812588225883258842588525886258872588825889258902589125892258932589425895258962589725898258992590025901259022590325904259052590625907259082590925910259112591225913259142591525916259172591825919259202592125922259232592425925259262592725928259292593025931259322593325934259352593625937259382593925940259412594225943259442594525946259472594825949259502595125952259532595425955259562595725958259592596025961259622596325964259652596625967259682596925970259712597225973259742597525976259772597825979259802598125982259832598425985259862598725988259892599025991259922599325994259952599625997259982599926000260012600226003260042600526006260072600826009260102601126012260132601426015260162601726018260192602026021260222602326024260252602626027260282602926030260312603226033260342603526036260372603826039260402604126042260432604426045260462604726048260492605026051260522605326054260552605626057260582605926060260612606226063260642606526066260672606826069260702607126072260732607426075260762607726078260792608026081260822608326084260852608626087260882608926090260912609226093260942609526096260972609826099261002610126102261032610426105261062610726108261092611026111261122611326114261152611626117261182611926120261212612226123261242612526126261272612826129261302613126132261332613426135261362613726138261392614026141261422614326144261452614626147261482614926150261512615226153261542615526156261572615826159261602616126162261632616426165261662616726168261692617026171261722617326174261752617626177261782617926180261812618226183261842618526186261872618826189261902619126192261932619426195261962619726198261992620026201262022620326204262052620626207262082620926210262112621226213262142621526216262172621826219262202622126222262232622426225262262622726228262292623026231262322623326234262352623626237262382623926240262412624226243262442624526246262472624826249262502625126252262532625426255262562625726258262592626026261262622626326264262652626626267262682626926270262712627226273262742627526276262772627826279262802628126282262832628426285262862628726288262892629026291262922629326294262952629626297262982629926300263012630226303263042630526306263072630826309263102631126312263132631426315263162631726318263192632026321263222632326324263252632626327263282632926330263312633226333263342633526336263372633826339263402634126342263432634426345263462634726348263492635026351263522635326354263552635626357263582635926360263612636226363263642636526366263672636826369263702637126372263732637426375263762637726378263792638026381263822638326384263852638626387263882638926390263912639226393263942639526396263972639826399264002640126402264032640426405264062640726408264092641026411264122641326414264152641626417264182641926420264212642226423264242642526426264272642826429264302643126432264332643426435264362643726438264392644026441264422644326444264452644626447264482644926450264512645226453264542645526456264572645826459264602646126462264632646426465264662646726468264692647026471264722647326474264752647626477264782647926480264812648226483264842648526486264872648826489264902649126492264932649426495264962649726498264992650026501265022650326504265052650626507265082650926510265112651226513265142651526516265172651826519265202652126522265232652426525265262652726528265292653026531265322653326534265352653626537265382653926540265412654226543265442654526546265472654826549265502655126552265532655426555265562655726558265592656026561265622656326564265652656626567265682656926570265712657226573265742657526576265772657826579265802658126582265832658426585265862658726588265892659026591265922659326594265952659626597265982659926600266012660226603266042660526606266072660826609266102661126612266132661426615266162661726618266192662026621266222662326624266252662626627266282662926630266312663226633266342663526636266372663826639266402664126642266432664426645266462664726648266492665026651266522665326654266552665626657266582665926660266612666226663266642666526666266672666826669266702667126672266732667426675266762667726678266792668026681266822668326684266852668626687266882668926690266912669226693266942669526696266972669826699267002670126702267032670426705267062670726708267092671026711267122671326714267152671626717267182671926720267212672226723267242672526726267272672826729267302673126732267332673426735267362673726738267392674026741267422674326744267452674626747267482674926750267512675226753267542675526756267572675826759267602676126762267632676426765267662676726768267692677026771267722677326774267752677626777267782677926780267812678226783267842678526786267872678826789267902679126792267932679426795267962679726798267992680026801268022680326804268052680626807268082680926810268112681226813268142681526816268172681826819268202682126822268232682426825268262682726828268292683026831268322683326834268352683626837268382683926840268412684226843268442684526846268472684826849268502685126852268532685426855268562685726858268592686026861268622686326864268652686626867268682686926870268712687226873268742687526876268772687826879268802688126882268832688426885268862688726888268892689026891268922689326894268952689626897268982689926900269012690226903269042690526906269072690826909269102691126912269132691426915269162691726918269192692026921269222692326924269252692626927269282692926930269312693226933269342693526936269372693826939269402694126942269432694426945269462694726948269492695026951269522695326954269552695626957269582695926960269612696226963269642696526966269672696826969269702697126972269732697426975269762697726978269792698026981269822698326984269852698626987269882698926990269912699226993269942699526996269972699826999270002700127002270032700427005270062700727008270092701027011270122701327014270152701627017270182701927020270212702227023270242702527026270272702827029270302703127032270332703427035270362703727038270392704027041270422704327044270452704627047270482704927050270512705227053270542705527056270572705827059270602706127062270632706427065270662706727068270692707027071270722707327074270752707627077270782707927080270812708227083270842708527086270872708827089270902709127092270932709427095270962709727098270992710027101271022710327104271052710627107271082710927110271112711227113271142711527116271172711827119271202712127122271232712427125271262712727128271292713027131271322713327134271352713627137271382713927140271412714227143271442714527146271472714827149271502715127152271532715427155271562715727158271592716027161271622716327164271652716627167271682716927170271712717227173271742717527176271772717827179271802718127182271832718427185271862718727188271892719027191271922719327194271952719627197271982719927200272012720227203272042720527206272072720827209272102721127212272132721427215272162721727218272192722027221272222722327224272252722627227272282722927230272312723227233272342723527236272372723827239272402724127242272432724427245272462724727248272492725027251272522725327254272552725627257272582725927260272612726227263272642726527266272672726827269272702727127272272732727427275272762727727278272792728027281272822728327284272852728627287272882728927290272912729227293272942729527296272972729827299273002730127302273032730427305273062730727308273092731027311273122731327314273152731627317273182731927320273212732227323273242732527326273272732827329273302733127332273332733427335273362733727338273392734027341273422734327344273452734627347273482734927350273512735227353273542735527356273572735827359273602736127362273632736427365273662736727368273692737027371273722737327374273752737627377273782737927380273812738227383273842738527386273872738827389273902739127392273932739427395273962739727398273992740027401274022740327404274052740627407274082740927410274112741227413274142741527416274172741827419274202742127422274232742427425274262742727428274292743027431274322743327434274352743627437274382743927440274412744227443274442744527446274472744827449274502745127452274532745427455274562745727458274592746027461274622746327464274652746627467274682746927470274712747227473274742747527476274772747827479274802748127482274832748427485274862748727488274892749027491274922749327494274952749627497274982749927500275012750227503275042750527506275072750827509275102751127512275132751427515275162751727518275192752027521275222752327524275252752627527275282752927530275312753227533275342753527536275372753827539275402754127542275432754427545275462754727548275492755027551275522755327554275552755627557275582755927560275612756227563275642756527566275672756827569275702757127572275732757427575275762757727578275792758027581275822758327584275852758627587275882758927590275912759227593275942759527596275972759827599276002760127602276032760427605276062760727608276092761027611276122761327614276152761627617276182761927620276212762227623276242762527626276272762827629276302763127632276332763427635276362763727638276392764027641276422764327644276452764627647276482764927650276512765227653276542765527656276572765827659276602766127662276632766427665276662766727668276692767027671276722767327674276752767627677276782767927680276812768227683276842768527686276872768827689276902769127692276932769427695276962769727698276992770027701277022770327704277052770627707277082770927710277112771227713277142771527716277172771827719277202772127722277232772427725277262772727728277292773027731277322773327734277352773627737277382773927740277412774227743277442774527746277472774827749277502775127752277532775427755277562775727758277592776027761277622776327764277652776627767277682776927770277712777227773277742777527776277772777827779277802778127782277832778427785277862778727788277892779027791277922779327794277952779627797277982779927800278012780227803278042780527806278072780827809278102781127812278132781427815278162781727818278192782027821278222782327824278252782627827278282782927830278312783227833278342783527836278372783827839278402784127842278432784427845278462784727848278492785027851278522785327854278552785627857278582785927860278612786227863278642786527866278672786827869278702787127872278732787427875278762787727878278792788027881278822788327884278852788627887278882788927890278912789227893278942789527896278972789827899279002790127902279032790427905279062790727908279092791027911279122791327914279152791627917279182791927920279212792227923279242792527926279272792827929279302793127932279332793427935279362793727938279392794027941279422794327944279452794627947279482794927950279512795227953279542795527956279572795827959279602796127962279632796427965279662796727968279692797027971279722797327974279752797627977279782797927980279812798227983279842798527986279872798827989279902799127992279932799427995279962799727998279992800028001280022800328004280052800628007280082800928010280112801228013280142801528016280172801828019280202802128022280232802428025280262802728028280292803028031280322803328034280352803628037280382803928040280412804228043280442804528046280472804828049280502805128052280532805428055280562805728058280592806028061280622806328064280652806628067280682806928070280712807228073280742807528076280772807828079280802808128082280832808428085280862808728088280892809028091280922809328094280952809628097280982809928100281012810228103281042810528106281072810828109281102811128112281132811428115281162811728118281192812028121281222812328124281252812628127281282812928130281312813228133281342813528136281372813828139281402814128142281432814428145281462814728148281492815028151281522815328154281552815628157281582815928160281612816228163281642816528166281672816828169281702817128172281732817428175281762817728178281792818028181281822818328184281852818628187281882818928190281912819228193281942819528196281972819828199282002820128202282032820428205282062820728208282092821028211282122821328214282152821628217282182821928220282212822228223282242822528226282272822828229282302823128232282332823428235282362823728238282392824028241282422824328244282452824628247282482824928250282512825228253282542825528256282572825828259282602826128262282632826428265282662826728268282692827028271282722827328274282752827628277282782827928280282812828228283282842828528286282872828828289282902829128292282932829428295282962829728298282992830028301283022830328304283052830628307283082830928310283112831228313283142831528316283172831828319283202832128322283232832428325283262832728328283292833028331283322833328334283352833628337283382833928340283412834228343283442834528346283472834828349283502835128352283532835428355283562835728358283592836028361283622836328364283652836628367283682836928370283712837228373283742837528376283772837828379283802838128382283832838428385283862838728388283892839028391283922839328394283952839628397283982839928400284012840228403284042840528406284072840828409284102841128412284132841428415284162841728418284192842028421284222842328424284252842628427284282842928430284312843228433284342843528436284372843828439284402844128442284432844428445284462844728448284492845028451284522845328454284552845628457284582845928460284612846228463284642846528466284672846828469284702847128472284732847428475284762847728478284792848028481284822848328484284852848628487284882848928490284912849228493284942849528496284972849828499285002850128502285032850428505285062850728508285092851028511285122851328514285152851628517285182851928520285212852228523285242852528526285272852828529285302853128532285332853428535285362853728538285392854028541285422854328544285452854628547285482854928550285512855228553285542855528556285572855828559285602856128562285632856428565285662856728568285692857028571285722857328574285752857628577285782857928580285812858228583285842858528586285872858828589285902859128592285932859428595285962859728598285992860028601286022860328604286052860628607286082860928610286112861228613286142861528616286172861828619286202862128622286232862428625286262862728628286292863028631286322863328634286352863628637286382863928640286412864228643286442864528646286472864828649286502865128652286532865428655286562865728658286592866028661286622866328664286652866628667286682866928670286712867228673286742867528676286772867828679286802868128682286832868428685286862868728688286892869028691286922869328694286952869628697286982869928700287012870228703287042870528706287072870828709287102871128712287132871428715287162871728718287192872028721287222872328724287252872628727287282872928730287312873228733287342873528736287372873828739287402874128742287432874428745287462874728748287492875028751287522875328754287552875628757287582875928760287612876228763287642876528766287672876828769287702877128772287732877428775287762877728778287792878028781287822878328784287852878628787287882878928790287912879228793287942879528796287972879828799288002880128802288032880428805288062880728808288092881028811288122881328814288152881628817288182881928820288212882228823288242882528826288272882828829288302883128832288332883428835288362883728838288392884028841288422884328844288452884628847288482884928850288512885228853288542885528856288572885828859288602886128862288632886428865288662886728868288692887028871288722887328874288752887628877288782887928880288812888228883288842888528886288872888828889288902889128892288932889428895288962889728898288992890028901289022890328904289052890628907289082890928910289112891228913289142891528916289172891828919289202892128922289232892428925289262892728928289292893028931289322893328934289352893628937289382893928940289412894228943289442894528946289472894828949289502895128952289532895428955289562895728958289592896028961289622896328964289652896628967289682896928970289712897228973289742897528976289772897828979289802898128982289832898428985289862898728988289892899028991289922899328994289952899628997289982899929000290012900229003290042900529006290072900829009290102901129012290132901429015290162901729018290192902029021290222902329024290252902629027290282902929030290312903229033290342903529036290372903829039290402904129042290432904429045290462904729048290492905029051290522905329054290552905629057290582905929060290612906229063290642906529066290672906829069290702907129072290732907429075290762907729078290792908029081290822908329084290852908629087290882908929090290912909229093290942909529096290972909829099291002910129102291032910429105291062910729108291092911029111291122911329114291152911629117291182911929120291212912229123291242912529126291272912829129291302913129132291332913429135291362913729138291392914029141291422914329144291452914629147291482914929150291512915229153291542915529156291572915829159291602916129162291632916429165291662916729168291692917029171291722917329174291752917629177291782917929180291812918229183291842918529186291872918829189291902919129192291932919429195291962919729198291992920029201292022920329204292052920629207292082920929210292112921229213292142921529216292172921829219292202922129222292232922429225292262922729228292292923029231292322923329234292352923629237292382923929240292412924229243292442924529246292472924829249292502925129252292532925429255292562925729258292592926029261292622926329264292652926629267292682926929270292712927229273292742927529276292772927829279292802928129282292832928429285292862928729288292892929029291292922929329294292952929629297292982929929300293012930229303293042930529306293072930829309293102931129312293132931429315293162931729318293192932029321293222932329324293252932629327293282932929330293312933229333293342933529336293372933829339293402934129342293432934429345293462934729348293492935029351293522935329354293552935629357293582935929360293612936229363293642936529366293672936829369293702937129372293732937429375293762937729378293792938029381293822938329384293852938629387293882938929390293912939229393293942939529396293972939829399294002940129402294032940429405294062940729408294092941029411294122941329414294152941629417294182941929420294212942229423294242942529426294272942829429294302943129432294332943429435294362943729438294392944029441294422944329444294452944629447294482944929450294512945229453294542945529456294572945829459294602946129462294632946429465294662946729468294692947029471294722947329474294752947629477294782947929480294812948229483294842948529486294872948829489294902949129492294932949429495294962949729498294992950029501295022950329504295052950629507295082950929510295112951229513295142951529516295172951829519295202952129522295232952429525295262952729528295292953029531295322953329534295352953629537295382953929540295412954229543295442954529546295472954829549295502955129552295532955429555295562955729558295592956029561295622956329564295652956629567295682956929570295712957229573295742957529576295772957829579295802958129582295832958429585295862958729588295892959029591295922959329594295952959629597295982959929600296012960229603296042960529606296072960829609296102961129612296132961429615296162961729618296192962029621296222962329624296252962629627296282962929630296312963229633296342963529636296372963829639296402964129642296432964429645296462964729648296492965029651296522965329654296552965629657296582965929660296612966229663296642966529666296672966829669296702967129672296732967429675296762967729678296792968029681296822968329684296852968629687296882968929690296912969229693296942969529696296972969829699297002970129702297032970429705297062970729708297092971029711297122971329714297152971629717297182971929720297212972229723297242972529726297272972829729297302973129732297332973429735297362973729738297392974029741297422974329744297452974629747297482974929750297512975229753297542975529756297572975829759297602976129762297632976429765297662976729768297692977029771297722977329774297752977629777297782977929780297812978229783297842978529786297872978829789297902979129792297932979429795297962979729798297992980029801298022980329804298052980629807298082980929810298112981229813298142981529816298172981829819298202982129822298232982429825298262982729828298292983029831298322983329834298352983629837298382983929840298412984229843298442984529846298472984829849298502985129852298532985429855298562985729858298592986029861298622986329864298652986629867298682986929870298712987229873298742987529876298772987829879298802988129882298832988429885298862988729888298892989029891298922989329894298952989629897298982989929900299012990229903299042990529906299072990829909299102991129912299132991429915299162991729918299192992029921299222992329924299252992629927299282992929930299312993229933299342993529936299372993829939299402994129942299432994429945299462994729948299492995029951299522995329954299552995629957299582995929960299612996229963299642996529966299672996829969299702997129972299732997429975299762997729978299792998029981299822998329984299852998629987299882998929990299912999229993299942999529996299972999829999300003000130002300033000430005300063000730008300093001030011300123001330014300153001630017300183001930020300213002230023300243002530026300273002830029300303003130032300333003430035300363003730038300393004030041300423004330044300453004630047300483004930050300513005230053300543005530056300573005830059300603006130062300633006430065300663006730068300693007030071300723007330074300753007630077300783007930080300813008230083300843008530086300873008830089300903009130092300933009430095300963009730098300993010030101301023010330104301053010630107301083010930110301113011230113301143011530116301173011830119301203012130122301233012430125301263012730128301293013030131301323013330134301353013630137301383013930140301413014230143301443014530146301473014830149301503015130152301533015430155301563015730158301593016030161301623016330164301653016630167301683016930170301713017230173301743017530176301773017830179301803018130182301833018430185301863018730188301893019030191301923019330194301953019630197301983019930200302013020230203302043020530206302073020830209302103021130212302133021430215302163021730218302193022030221302223022330224302253022630227302283022930230302313023230233302343023530236302373023830239302403024130242302433024430245302463024730248302493025030251302523025330254302553025630257302583025930260302613026230263302643026530266302673026830269302703027130272302733027430275302763027730278302793028030281302823028330284302853028630287302883028930290302913029230293302943029530296302973029830299303003030130302303033030430305303063030730308303093031030311303123031330314303153031630317303183031930320303213032230323303243032530326303273032830329303303033130332303333033430335303363033730338303393034030341303423034330344303453034630347303483034930350303513035230353303543035530356303573035830359303603036130362303633036430365303663036730368303693037030371303723037330374303753037630377303783037930380303813038230383303843038530386303873038830389303903039130392303933039430395303963039730398303993040030401304023040330404304053040630407304083040930410304113041230413304143041530416304173041830419304203042130422304233042430425304263042730428304293043030431304323043330434304353043630437304383043930440304413044230443304443044530446304473044830449304503045130452304533045430455304563045730458304593046030461304623046330464304653046630467304683046930470304713047230473304743047530476304773047830479304803048130482304833048430485304863048730488304893049030491304923049330494304953049630497304983049930500305013050230503305043050530506305073050830509305103051130512305133051430515305163051730518305193052030521305223052330524305253052630527305283052930530305313053230533305343053530536305373053830539305403054130542305433054430545305463054730548305493055030551305523055330554305553055630557305583055930560305613056230563305643056530566305673056830569305703057130572305733057430575305763057730578305793058030581305823058330584305853058630587305883058930590305913059230593305943059530596305973059830599306003060130602306033060430605306063060730608306093061030611306123061330614306153061630617306183061930620306213062230623306243062530626306273062830629306303063130632306333063430635306363063730638306393064030641306423064330644306453064630647306483064930650306513065230653306543065530656306573065830659306603066130662306633066430665306663066730668306693067030671306723067330674306753067630677306783067930680306813068230683306843068530686306873068830689306903069130692306933069430695306963069730698306993070030701307023070330704307053070630707307083070930710307113071230713307143071530716307173071830719307203072130722307233072430725307263072730728307293073030731307323073330734307353073630737307383073930740307413074230743307443074530746307473074830749307503075130752307533075430755307563075730758307593076030761307623076330764307653076630767307683076930770307713077230773307743077530776307773077830779307803078130782307833078430785307863078730788307893079030791307923079330794307953079630797307983079930800308013080230803308043080530806308073080830809308103081130812308133081430815308163081730818308193082030821308223082330824308253082630827308283082930830308313083230833308343083530836308373083830839308403084130842308433084430845308463084730848308493085030851308523085330854308553085630857308583085930860308613086230863308643086530866308673086830869308703087130872308733087430875308763087730878308793088030881308823088330884308853088630887308883088930890308913089230893308943089530896308973089830899309003090130902309033090430905309063090730908309093091030911309123091330914309153091630917309183091930920309213092230923309243092530926309273092830929309303093130932309333093430935309363093730938309393094030941309423094330944309453094630947309483094930950309513095230953309543095530956309573095830959309603096130962309633096430965309663096730968309693097030971309723097330974309753097630977309783097930980309813098230983309843098530986309873098830989309903099130992309933099430995309963099730998309993100031001310023100331004310053100631007310083100931010310113101231013310143101531016310173101831019310203102131022310233102431025310263102731028310293103031031310323103331034310353103631037310383103931040310413104231043310443104531046310473104831049310503105131052310533105431055310563105731058310593106031061310623106331064310653106631067310683106931070310713107231073310743107531076310773107831079310803108131082310833108431085310863108731088310893109031091310923109331094310953109631097310983109931100311013110231103311043110531106311073110831109311103111131112311133111431115311163111731118311193112031121311223112331124311253112631127311283112931130311313113231133311343113531136311373113831139311403114131142311433114431145311463114731148311493115031151311523115331154311553115631157311583115931160311613116231163311643116531166311673116831169311703117131172311733117431175311763117731178311793118031181311823118331184311853118631187311883118931190311913119231193311943119531196311973119831199312003120131202312033120431205312063120731208312093121031211312123121331214312153121631217312183121931220312213122231223312243122531226312273122831229312303123131232312333123431235312363123731238312393124031241312423124331244312453124631247312483124931250312513125231253312543125531256312573125831259312603126131262312633126431265312663126731268312693127031271312723127331274312753127631277312783127931280312813128231283312843128531286312873128831289312903129131292312933129431295312963129731298312993130031301313023130331304313053130631307313083130931310313113131231313313143131531316313173131831319313203132131322313233132431325313263132731328313293133031331313323133331334313353133631337313383133931340313413134231343313443134531346313473134831349313503135131352313533135431355313563135731358313593136031361313623136331364313653136631367313683136931370313713137231373313743137531376313773137831379313803138131382313833138431385313863138731388313893139031391313923139331394313953139631397313983139931400314013140231403314043140531406314073140831409314103141131412314133141431415314163141731418314193142031421314223142331424314253142631427314283142931430314313143231433314343143531436314373143831439314403144131442314433144431445314463144731448314493145031451314523145331454314553145631457314583145931460314613146231463314643146531466314673146831469314703147131472314733147431475314763147731478314793148031481314823148331484314853148631487314883148931490314913149231493314943149531496314973149831499315003150131502315033150431505315063150731508315093151031511315123151331514315153151631517315183151931520315213152231523315243152531526315273152831529315303153131532315333153431535315363153731538315393154031541315423154331544315453154631547315483154931550315513155231553315543155531556315573155831559315603156131562315633156431565315663156731568315693157031571315723157331574315753157631577315783157931580315813158231583315843158531586315873158831589315903159131592315933159431595315963159731598315993160031601316023160331604316053160631607316083160931610316113161231613316143161531616316173161831619316203162131622316233162431625316263162731628316293163031631316323163331634316353163631637316383163931640316413164231643316443164531646316473164831649316503165131652316533165431655316563165731658316593166031661316623166331664316653166631667316683166931670316713167231673316743167531676316773167831679316803168131682316833168431685316863168731688316893169031691316923169331694316953169631697316983169931700317013170231703317043170531706317073170831709317103171131712317133171431715317163171731718317193172031721317223172331724317253172631727317283172931730317313173231733317343173531736317373173831739317403174131742317433174431745317463174731748317493175031751317523175331754317553175631757317583175931760317613176231763317643176531766317673176831769317703177131772317733177431775317763177731778317793178031781317823178331784317853178631787317883178931790317913179231793317943179531796317973179831799318003180131802318033180431805318063180731808318093181031811318123181331814318153181631817318183181931820318213182231823318243182531826318273182831829318303183131832318333183431835318363183731838318393184031841318423184331844318453184631847318483184931850318513185231853318543185531856318573185831859318603186131862318633186431865318663186731868318693187031871318723187331874318753187631877318783187931880318813188231883318843188531886318873188831889318903189131892318933189431895318963189731898318993190031901319023190331904319053190631907319083190931910319113191231913319143191531916319173191831919319203192131922319233192431925319263192731928319293193031931319323193331934319353193631937319383193931940319413194231943319443194531946319473194831949319503195131952319533195431955319563195731958319593196031961319623196331964319653196631967319683196931970319713197231973319743197531976319773197831979319803198131982319833198431985319863198731988319893199031991319923199331994319953199631997319983199932000320013200232003320043200532006320073200832009320103201132012320133201432015320163201732018320193202032021320223202332024320253202632027320283202932030320313203232033320343203532036320373203832039320403204132042320433204432045320463204732048320493205032051320523205332054320553205632057320583205932060320613206232063320643206532066320673206832069320703207132072320733207432075320763207732078320793208032081320823208332084320853208632087320883208932090320913209232093320943209532096320973209832099321003210132102321033210432105321063210732108321093211032111321123211332114321153211632117321183211932120321213212232123321243212532126321273212832129321303213132132321333213432135321363213732138321393214032141321423214332144321453214632147321483214932150321513215232153321543215532156321573215832159321603216132162321633216432165321663216732168321693217032171321723217332174321753217632177321783217932180321813218232183321843218532186321873218832189321903219132192321933219432195321963219732198321993220032201322023220332204322053220632207322083220932210322113221232213322143221532216322173221832219322203222132222322233222432225322263222732228322293223032231322323223332234322353223632237322383223932240322413224232243322443224532246322473224832249322503225132252322533225432255322563225732258322593226032261322623226332264322653226632267322683226932270322713227232273322743227532276322773227832279322803228132282322833228432285322863228732288322893229032291322923229332294322953229632297322983229932300323013230232303323043230532306323073230832309323103231132312323133231432315323163231732318323193232032321323223232332324323253232632327323283232932330323313233232333323343233532336323373233832339323403234132342323433234432345323463234732348323493235032351323523235332354323553235632357323583235932360323613236232363323643236532366323673236832369323703237132372323733237432375323763237732378323793238032381323823238332384323853238632387323883238932390323913239232393323943239532396323973239832399324003240132402324033240432405324063240732408324093241032411324123241332414324153241632417324183241932420324213242232423324243242532426324273242832429324303243132432324333243432435324363243732438324393244032441324423244332444324453244632447324483244932450324513245232453324543245532456324573245832459324603246132462324633246432465324663246732468324693247032471324723247332474324753247632477324783247932480324813248232483324843248532486324873248832489324903249132492324933249432495324963249732498324993250032501325023250332504325053250632507325083250932510325113251232513325143251532516325173251832519325203252132522325233252432525325263252732528325293253032531325323253332534325353253632537325383253932540325413254232543325443254532546325473254832549325503255132552325533255432555325563255732558325593256032561325623256332564325653256632567325683256932570325713257232573325743257532576325773257832579325803258132582325833258432585325863258732588325893259032591325923259332594325953259632597325983259932600326013260232603326043260532606326073260832609326103261132612326133261432615326163261732618326193262032621326223262332624326253262632627326283262932630326313263232633326343263532636326373263832639326403264132642326433264432645326463264732648326493265032651326523265332654326553265632657326583265932660326613266232663326643266532666326673266832669326703267132672326733267432675326763267732678326793268032681326823268332684326853268632687326883268932690326913269232693326943269532696326973269832699327003270132702327033270432705327063270732708327093271032711327123271332714327153271632717327183271932720327213272232723327243272532726327273272832729327303273132732327333273432735327363273732738327393274032741327423274332744327453274632747327483274932750327513275232753327543275532756327573275832759327603276132762327633276432765327663276732768327693277032771327723277332774327753277632777327783277932780327813278232783327843278532786327873278832789327903279132792327933279432795327963279732798327993280032801328023280332804328053280632807328083280932810328113281232813328143281532816328173281832819328203282132822328233282432825328263282732828328293283032831328323283332834328353283632837328383283932840328413284232843328443284532846328473284832849328503285132852328533285432855328563285732858328593286032861328623286332864328653286632867328683286932870328713287232873328743287532876328773287832879328803288132882328833288432885328863288732888328893289032891328923289332894328953289632897328983289932900329013290232903329043290532906329073290832909329103291132912329133291432915329163291732918329193292032921329223292332924329253292632927329283292932930329313293232933329343293532936329373293832939329403294132942329433294432945329463294732948329493295032951329523295332954329553295632957329583295932960329613296232963329643296532966329673296832969329703297132972329733297432975329763297732978329793298032981329823298332984329853298632987329883298932990329913299232993329943299532996329973299832999330003300133002330033300433005330063300733008330093301033011330123301333014330153301633017330183301933020330213302233023330243302533026330273302833029330303303133032330333303433035330363303733038330393304033041330423304333044330453304633047330483304933050330513305233053330543305533056330573305833059330603306133062330633306433065330663306733068330693307033071330723307333074330753307633077330783307933080330813308233083330843308533086330873308833089330903309133092330933309433095330963309733098330993310033101331023310333104331053310633107331083310933110331113311233113331143311533116331173311833119331203312133122331233312433125331263312733128331293313033131331323313333134331353313633137331383313933140331413314233143331443314533146331473314833149331503315133152331533315433155331563315733158331593316033161331623316333164331653316633167331683316933170331713317233173331743317533176331773317833179331803318133182331833318433185331863318733188331893319033191331923319333194331953319633197331983319933200332013320233203332043320533206332073320833209332103321133212332133321433215332163321733218332193322033221332223322333224332253322633227332283322933230332313323233233332343323533236332373323833239332403324133242332433324433245332463324733248332493325033251332523325333254332553325633257332583325933260332613326233263332643326533266332673326833269332703327133272332733327433275332763327733278332793328033281332823328333284332853328633287332883328933290332913329233293332943329533296332973329833299333003330133302333033330433305333063330733308333093331033311333123331333314333153331633317333183331933320333213332233323333243332533326333273332833329333303333133332333333333433335333363333733338333393334033341333423334333344333453334633347333483334933350333513335233353333543335533356333573335833359333603336133362333633336433365333663336733368333693337033371333723337333374333753337633377333783337933380333813338233383333843338533386333873338833389333903339133392333933339433395333963339733398333993340033401334023340333404334053340633407334083340933410334113341233413334143341533416334173341833419334203342133422334233342433425334263342733428334293343033431334323343333434334353343633437334383343933440334413344233443334443344533446334473344833449334503345133452334533345433455334563345733458334593346033461334623346333464334653346633467334683346933470334713347233473334743347533476334773347833479334803348133482334833348433485334863348733488334893349033491334923349333494334953349633497334983349933500335013350233503335043350533506335073350833509335103351133512335133351433515335163351733518335193352033521335223352333524335253352633527335283352933530335313353233533335343353533536335373353833539335403354133542335433354433545335463354733548335493355033551335523355333554335553355633557335583355933560335613356233563335643356533566335673356833569335703357133572335733357433575335763357733578335793358033581335823358333584335853358633587335883358933590335913359233593335943359533596335973359833599336003360133602336033360433605336063360733608336093361033611336123361333614336153361633617336183361933620336213362233623336243362533626336273362833629336303363133632336333363433635336363363733638336393364033641336423364333644336453364633647336483364933650336513365233653336543365533656336573365833659336603366133662336633366433665336663366733668336693367033671336723367333674336753367633677336783367933680336813368233683336843368533686336873368833689336903369133692336933369433695336963369733698336993370033701337023370333704337053370633707337083370933710337113371233713337143371533716337173371833719337203372133722337233372433725337263372733728337293373033731337323373333734337353373633737337383373933740337413374233743337443374533746337473374833749337503375133752337533375433755337563375733758337593376033761337623376333764337653376633767337683376933770337713377233773337743377533776337773377833779337803378133782337833378433785337863378733788337893379033791337923379333794337953379633797337983379933800338013380233803338043380533806338073380833809338103381133812338133381433815338163381733818338193382033821338223382333824338253382633827338283382933830338313383233833338343383533836338373383833839338403384133842338433384433845338463384733848338493385033851338523385333854338553385633857338583385933860338613386233863338643386533866338673386833869338703387133872338733387433875338763387733878338793388033881338823388333884338853388633887338883388933890338913389233893338943389533896338973389833899339003390133902339033390433905339063390733908339093391033911339123391333914339153391633917339183391933920339213392233923339243392533926339273392833929339303393133932339333393433935339363393733938339393394033941339423394333944339453394633947339483394933950339513395233953339543395533956339573395833959339603396133962339633396433965339663396733968339693397033971339723397333974339753397633977339783397933980339813398233983339843398533986339873398833989339903399133992339933399433995339963399733998339993400034001340023400334004340053400634007340083400934010340113401234013340143401534016340173401834019340203402134022340233402434025340263402734028340293403034031340323403334034340353403634037340383403934040340413404234043340443404534046340473404834049340503405134052340533405434055340563405734058340593406034061340623406334064340653406634067340683406934070340713407234073340743407534076340773407834079340803408134082340833408434085340863408734088340893409034091340923409334094340953409634097340983409934100341013410234103341043410534106341073410834109341103411134112341133411434115341163411734118341193412034121341223412334124341253412634127341283412934130341313413234133341343413534136341373413834139341403414134142341433414434145341463414734148341493415034151341523415334154341553415634157341583415934160341613416234163341643416534166341673416834169341703417134172341733417434175341763417734178341793418034181341823418334184341853418634187341883418934190341913419234193341943419534196341973419834199342003420134202342033420434205342063420734208342093421034211342123421334214342153421634217342183421934220342213422234223342243422534226342273422834229342303423134232342333423434235342363423734238342393424034241342423424334244342453424634247342483424934250342513425234253342543425534256342573425834259342603426134262342633426434265342663426734268342693427034271342723427334274342753427634277342783427934280342813428234283342843428534286342873428834289342903429134292342933429434295342963429734298342993430034301343023430334304343053430634307343083430934310343113431234313343143431534316343173431834319343203432134322343233432434325343263432734328343293433034331343323433334334343353433634337343383433934340343413434234343343443434534346343473434834349343503435134352343533435434355343563435734358343593436034361343623436334364343653436634367343683436934370343713437234373343743437534376343773437834379343803438134382343833438434385343863438734388343893439034391343923439334394343953439634397343983439934400344013440234403344043440534406344073440834409344103441134412344133441434415344163441734418344193442034421344223442334424344253442634427344283442934430344313443234433344343443534436344373443834439344403444134442344433444434445344463444734448344493445034451344523445334454344553445634457344583445934460344613446234463344643446534466344673446834469344703447134472344733447434475344763447734478344793448034481344823448334484344853448634487344883448934490344913449234493344943449534496344973449834499345003450134502345033450434505345063450734508345093451034511345123451334514345153451634517345183451934520345213452234523345243452534526345273452834529345303453134532345333453434535345363453734538345393454034541345423454334544345453454634547345483454934550345513455234553345543455534556345573455834559345603456134562345633456434565345663456734568345693457034571345723457334574345753457634577345783457934580345813458234583345843458534586345873458834589345903459134592345933459434595345963459734598345993460034601346023460334604346053460634607346083460934610346113461234613346143461534616346173461834619346203462134622346233462434625346263462734628346293463034631346323463334634346353463634637346383463934640346413464234643346443464534646346473464834649346503465134652346533465434655346563465734658346593466034661346623466334664346653466634667346683466934670346713467234673346743467534676346773467834679346803468134682346833468434685346863468734688346893469034691346923469334694346953469634697346983469934700347013470234703347043470534706347073470834709347103471134712347133471434715347163471734718347193472034721347223472334724347253472634727347283472934730347313473234733347343473534736347373473834739347403474134742347433474434745347463474734748347493475034751347523475334754347553475634757347583475934760347613476234763347643476534766347673476834769347703477134772347733477434775347763477734778347793478034781347823478334784347853478634787347883478934790347913479234793347943479534796347973479834799348003480134802348033480434805348063480734808348093481034811348123481334814348153481634817348183481934820348213482234823348243482534826348273482834829348303483134832348333483434835348363483734838348393484034841348423484334844348453484634847348483484934850348513485234853348543485534856348573485834859348603486134862348633486434865348663486734868348693487034871348723487334874348753487634877348783487934880348813488234883348843488534886348873488834889348903489134892348933489434895348963489734898348993490034901349023490334904349053490634907349083490934910349113491234913349143491534916349173491834919349203492134922349233492434925349263492734928349293493034931349323493334934349353493634937349383493934940349413494234943349443494534946349473494834949349503495134952349533495434955349563495734958349593496034961349623496334964349653496634967349683496934970349713497234973349743497534976349773497834979349803498134982349833498434985349863498734988349893499034991349923499334994349953499634997349983499935000350013500235003350043500535006350073500835009350103501135012350133501435015350163501735018350193502035021350223502335024350253502635027350283502935030350313503235033350343503535036350373503835039350403504135042350433504435045350463504735048350493505035051350523505335054350553505635057350583505935060350613506235063350643506535066350673506835069350703507135072350733507435075350763507735078350793508035081350823508335084350853508635087350883508935090350913509235093350943509535096350973509835099351003510135102351033510435105351063510735108351093511035111351123511335114351153511635117351183511935120351213512235123351243512535126351273512835129351303513135132351333513435135351363513735138351393514035141351423514335144351453514635147351483514935150351513515235153351543515535156351573515835159351603516135162351633516435165351663516735168351693517035171351723517335174351753517635177351783517935180351813518235183351843518535186351873518835189351903519135192351933519435195351963519735198351993520035201352023520335204352053520635207352083520935210352113521235213352143521535216352173521835219352203522135222352233522435225352263522735228352293523035231352323523335234352353523635237352383523935240352413524235243352443524535246352473524835249352503525135252352533525435255352563525735258352593526035261352623526335264352653526635267352683526935270352713527235273352743527535276352773527835279352803528135282352833528435285352863528735288352893529035291352923529335294352953529635297352983529935300353013530235303353043530535306353073530835309353103531135312353133531435315353163531735318353193532035321353223532335324353253532635327353283532935330353313533235333353343533535336353373533835339353403534135342353433534435345353463534735348353493535035351353523535335354353553535635357353583535935360353613536235363353643536535366353673536835369353703537135372353733537435375353763537735378353793538035381353823538335384353853538635387353883538935390353913539235393353943539535396353973539835399354003540135402354033540435405354063540735408354093541035411354123541335414354153541635417354183541935420354213542235423354243542535426354273542835429354303543135432354333543435435354363543735438354393544035441354423544335444354453544635447354483544935450354513545235453354543545535456354573545835459354603546135462354633546435465354663546735468354693547035471354723547335474354753547635477354783547935480354813548235483354843548535486354873548835489354903549135492354933549435495354963549735498354993550035501355023550335504355053550635507355083550935510355113551235513355143551535516355173551835519355203552135522355233552435525355263552735528355293553035531355323553335534355353553635537355383553935540355413554235543355443554535546355473554835549355503555135552355533555435555355563555735558355593556035561355623556335564355653556635567355683556935570355713557235573355743557535576355773557835579355803558135582355833558435585355863558735588355893559035591355923559335594355953559635597355983559935600356013560235603356043560535606356073560835609356103561135612356133561435615356163561735618356193562035621356223562335624356253562635627356283562935630356313563235633356343563535636356373563835639356403564135642356433564435645356463564735648356493565035651356523565335654356553565635657356583565935660356613566235663356643566535666356673566835669356703567135672356733567435675356763567735678356793568035681356823568335684356853568635687356883568935690356913569235693356943569535696356973569835699357003570135702357033570435705357063570735708357093571035711357123571335714357153571635717357183571935720357213572235723357243572535726357273572835729357303573135732357333573435735357363573735738357393574035741357423574335744357453574635747357483574935750357513575235753357543575535756357573575835759357603576135762357633576435765357663576735768357693577035771357723577335774357753577635777357783577935780357813578235783357843578535786357873578835789357903579135792357933579435795357963579735798357993580035801358023580335804358053580635807358083580935810358113581235813358143581535816358173581835819358203582135822358233582435825358263582735828358293583035831358323583335834358353583635837358383583935840358413584235843358443584535846358473584835849358503585135852358533585435855358563585735858358593586035861358623586335864358653586635867358683586935870358713587235873358743587535876358773587835879358803588135882358833588435885358863588735888358893589035891358923589335894358953589635897358983589935900359013590235903359043590535906359073590835909359103591135912359133591435915359163591735918359193592035921359223592335924359253592635927359283592935930359313593235933359343593535936359373593835939359403594135942359433594435945359463594735948359493595035951359523595335954359553595635957359583595935960359613596235963359643596535966359673596835969359703597135972359733597435975359763597735978359793598035981359823598335984359853598635987359883598935990359913599235993359943599535996359973599835999360003600136002360033600436005360063600736008360093601036011360123601336014360153601636017360183601936020360213602236023360243602536026360273602836029360303603136032360333603436035360363603736038360393604036041360423604336044360453604636047360483604936050360513605236053360543605536056360573605836059360603606136062360633606436065360663606736068360693607036071360723607336074360753607636077360783607936080360813608236083360843608536086360873608836089360903609136092360933609436095360963609736098360993610036101361023610336104361053610636107361083610936110361113611236113361143611536116361173611836119361203612136122361233612436125361263612736128361293613036131361323613336134361353613636137361383613936140361413614236143361443614536146361473614836149361503615136152361533615436155361563615736158361593616036161361623616336164361653616636167361683616936170361713617236173361743617536176361773617836179361803618136182361833618436185361863618736188361893619036191361923619336194361953619636197361983619936200362013620236203362043620536206362073620836209362103621136212362133621436215362163621736218362193622036221362223622336224362253622636227362283622936230362313623236233362343623536236362373623836239362403624136242362433624436245362463624736248362493625036251362523625336254362553625636257362583625936260362613626236263362643626536266362673626836269362703627136272362733627436275362763627736278362793628036281362823628336284362853628636287362883628936290362913629236293362943629536296362973629836299363003630136302363033630436305363063630736308363093631036311363123631336314363153631636317363183631936320363213632236323363243632536326363273632836329363303633136332363333633436335363363633736338363393634036341363423634336344363453634636347363483634936350363513635236353363543635536356363573635836359363603636136362363633636436365363663636736368363693637036371363723637336374363753637636377363783637936380363813638236383363843638536386363873638836389363903639136392363933639436395363963639736398363993640036401364023640336404364053640636407364083640936410364113641236413364143641536416364173641836419364203642136422364233642436425364263642736428364293643036431364323643336434364353643636437364383643936440364413644236443364443644536446364473644836449364503645136452364533645436455364563645736458364593646036461364623646336464364653646636467364683646936470364713647236473364743647536476364773647836479364803648136482364833648436485364863648736488364893649036491364923649336494364953649636497364983649936500365013650236503365043650536506365073650836509365103651136512365133651436515365163651736518365193652036521365223652336524365253652636527365283652936530365313653236533365343653536536365373653836539365403654136542365433654436545365463654736548365493655036551365523655336554365553655636557365583655936560365613656236563365643656536566365673656836569365703657136572365733657436575365763657736578365793658036581365823658336584365853658636587365883658936590365913659236593365943659536596365973659836599366003660136602366033660436605366063660736608366093661036611366123661336614366153661636617366183661936620366213662236623366243662536626366273662836629366303663136632366333663436635366363663736638366393664036641366423664336644366453664636647366483664936650366513665236653366543665536656366573665836659366603666136662366633666436665366663666736668366693667036671366723667336674366753667636677366783667936680366813668236683366843668536686366873668836689366903669136692366933669436695366963669736698366993670036701367023670336704367053670636707367083670936710367113671236713367143671536716367173671836719367203672136722367233672436725367263672736728367293673036731367323673336734367353673636737367383673936740367413674236743367443674536746367473674836749367503675136752367533675436755367563675736758367593676036761367623676336764367653676636767367683676936770367713677236773367743677536776367773677836779367803678136782367833678436785367863678736788367893679036791367923679336794367953679636797367983679936800368013680236803368043680536806368073680836809368103681136812368133681436815368163681736818368193682036821368223682336824368253682636827368283682936830368313683236833368343683536836368373683836839368403684136842368433684436845368463684736848368493685036851368523685336854368553685636857368583685936860368613686236863368643686536866368673686836869368703687136872368733687436875368763687736878368793688036881368823688336884368853688636887368883688936890368913689236893368943689536896368973689836899369003690136902369033690436905369063690736908369093691036911369123691336914369153691636917369183691936920369213692236923369243692536926369273692836929369303693136932369333693436935369363693736938369393694036941369423694336944369453694636947369483694936950369513695236953369543695536956369573695836959369603696136962369633696436965369663696736968369693697036971369723697336974369753697636977369783697936980369813698236983369843698536986369873698836989369903699136992369933699436995369963699736998369993700037001370023700337004370053700637007370083700937010370113701237013370143701537016370173701837019370203702137022370233702437025370263702737028370293703037031370323703337034370353703637037370383703937040370413704237043370443704537046370473704837049370503705137052370533705437055370563705737058370593706037061370623706337064370653706637067370683706937070370713707237073370743707537076370773707837079370803708137082370833708437085370863708737088370893709037091370923709337094370953709637097370983709937100371013710237103371043710537106371073710837109371103711137112371133711437115371163711737118371193712037121371223712337124371253712637127371283712937130371313713237133371343713537136371373713837139371403714137142371433714437145371463714737148371493715037151371523715337154371553715637157371583715937160371613716237163371643716537166371673716837169371703717137172371733717437175371763717737178371793718037181371823718337184371853718637187371883718937190371913719237193371943719537196371973719837199372003720137202372033720437205372063720737208372093721037211372123721337214372153721637217372183721937220372213722237223372243722537226372273722837229372303723137232372333723437235372363723737238372393724037241372423724337244372453724637247372483724937250372513725237253372543725537256372573725837259372603726137262372633726437265372663726737268372693727037271372723727337274372753727637277372783727937280372813728237283372843728537286372873728837289372903729137292372933729437295372963729737298372993730037301373023730337304373053730637307373083730937310373113731237313373143731537316373173731837319373203732137322373233732437325373263732737328373293733037331373323733337334373353733637337373383733937340373413734237343373443734537346373473734837349373503735137352373533735437355373563735737358373593736037361373623736337364373653736637367373683736937370373713737237373373743737537376373773737837379373803738137382373833738437385373863738737388373893739037391373923739337394373953739637397373983739937400374013740237403374043740537406374073740837409374103741137412374133741437415374163741737418374193742037421374223742337424374253742637427374283742937430374313743237433374343743537436374373743837439374403744137442374433744437445374463744737448374493745037451374523745337454374553745637457374583745937460374613746237463374643746537466374673746837469374703747137472374733747437475374763747737478374793748037481374823748337484374853748637487374883748937490374913749237493374943749537496374973749837499375003750137502375033750437505375063750737508375093751037511375123751337514375153751637517375183751937520375213752237523375243752537526375273752837529375303753137532375333753437535375363753737538375393754037541375423754337544375453754637547375483754937550375513755237553375543755537556375573755837559375603756137562375633756437565375663756737568375693757037571375723757337574375753757637577375783757937580375813758237583375843758537586375873758837589375903759137592375933759437595375963759737598375993760037601376023760337604376053760637607376083760937610376113761237613376143761537616376173761837619376203762137622376233762437625376263762737628376293763037631376323763337634376353763637637376383763937640376413764237643376443764537646376473764837649376503765137652376533765437655376563765737658376593766037661376623766337664376653766637667376683766937670376713767237673376743767537676376773767837679376803768137682376833768437685376863768737688376893769037691376923769337694376953769637697376983769937700377013770237703377043770537706377073770837709377103771137712377133771437715377163771737718377193772037721377223772337724377253772637727377283772937730377313773237733377343773537736377373773837739377403774137742377433774437745377463774737748377493775037751377523775337754377553775637757377583775937760377613776237763377643776537766377673776837769377703777137772377733777437775377763777737778377793778037781377823778337784377853778637787377883778937790377913779237793377943779537796377973779837799378003780137802378033780437805378063780737808378093781037811378123781337814378153781637817378183781937820378213782237823378243782537826378273782837829378303783137832378333783437835378363783737838378393784037841378423784337844378453784637847378483784937850378513785237853378543785537856378573785837859378603786137862378633786437865378663786737868378693787037871378723787337874378753787637877378783787937880378813788237883378843788537886378873788837889378903789137892378933789437895378963789737898378993790037901379023790337904379053790637907379083790937910379113791237913379143791537916379173791837919379203792137922379233792437925379263792737928379293793037931379323793337934379353793637937379383793937940379413794237943379443794537946379473794837949379503795137952379533795437955379563795737958379593796037961379623796337964379653796637967379683796937970379713797237973379743797537976379773797837979379803798137982379833798437985379863798737988379893799037991379923799337994379953799637997379983799938000380013800238003380043800538006380073800838009380103801138012380133801438015380163801738018380193802038021380223802338024380253802638027380283802938030380313803238033380343803538036380373803838039380403804138042380433804438045380463804738048380493805038051380523805338054380553805638057380583805938060380613806238063380643806538066380673806838069380703807138072380733807438075380763807738078380793808038081380823808338084380853808638087380883808938090380913809238093380943809538096380973809838099381003810138102381033810438105381063810738108381093811038111381123811338114381153811638117381183811938120381213812238123381243812538126381273812838129381303813138132381333813438135381363813738138381393814038141381423814338144381453814638147381483814938150381513815238153381543815538156381573815838159381603816138162381633816438165381663816738168381693817038171381723817338174381753817638177381783817938180381813818238183381843818538186381873818838189381903819138192381933819438195381963819738198381993820038201382023820338204382053820638207382083820938210382113821238213382143821538216382173821838219382203822138222382233822438225382263822738228382293823038231382323823338234382353823638237382383823938240382413824238243382443824538246382473824838249382503825138252382533825438255382563825738258382593826038261382623826338264382653826638267382683826938270382713827238273382743827538276382773827838279382803828138282382833828438285382863828738288382893829038291382923829338294382953829638297382983829938300383013830238303383043830538306383073830838309383103831138312383133831438315383163831738318383193832038321383223832338324383253832638327383283832938330383313833238333383343833538336383373833838339383403834138342383433834438345383463834738348383493835038351383523835338354383553835638357383583835938360383613836238363383643836538366383673836838369383703837138372383733837438375383763837738378383793838038381383823838338384383853838638387383883838938390383913839238393383943839538396383973839838399384003840138402384033840438405384063840738408384093841038411384123841338414384153841638417384183841938420384213842238423384243842538426384273842838429384303843138432384333843438435384363843738438384393844038441384423844338444384453844638447384483844938450384513845238453384543845538456384573845838459384603846138462384633846438465384663846738468384693847038471384723847338474384753847638477384783847938480384813848238483384843848538486384873848838489384903849138492384933849438495384963849738498384993850038501385023850338504385053850638507385083850938510385113851238513385143851538516385173851838519385203852138522385233852438525385263852738528385293853038531385323853338534385353853638537385383853938540385413854238543385443854538546385473854838549385503855138552385533855438555385563855738558385593856038561385623856338564385653856638567385683856938570385713857238573385743857538576385773857838579385803858138582385833858438585385863858738588385893859038591385923859338594385953859638597385983859938600386013860238603386043860538606386073860838609386103861138612386133861438615386163861738618386193862038621386223862338624386253862638627386283862938630386313863238633386343863538636386373863838639386403864138642386433864438645386463864738648386493865038651386523865338654386553865638657386583865938660386613866238663386643866538666386673866838669386703867138672386733867438675386763867738678386793868038681386823868338684386853868638687386883868938690386913869238693386943869538696386973869838699387003870138702387033870438705387063870738708387093871038711387123871338714387153871638717387183871938720387213872238723387243872538726387273872838729387303873138732387333873438735387363873738738387393874038741387423874338744387453874638747387483874938750387513875238753387543875538756387573875838759387603876138762387633876438765387663876738768387693877038771387723877338774387753877638777387783877938780387813878238783387843878538786387873878838789387903879138792387933879438795387963879738798387993880038801388023880338804388053880638807388083880938810388113881238813388143881538816388173881838819388203882138822388233882438825388263882738828388293883038831388323883338834388353883638837388383883938840388413884238843388443884538846388473884838849388503885138852388533885438855388563885738858388593886038861388623886338864388653886638867388683886938870388713887238873388743887538876388773887838879388803888138882388833888438885388863888738888388893889038891388923889338894388953889638897388983889938900389013890238903389043890538906389073890838909389103891138912389133891438915389163891738918389193892038921389223892338924389253892638927389283892938930389313893238933389343893538936389373893838939389403894138942389433894438945389463894738948389493895038951389523895338954389553895638957389583895938960389613896238963389643896538966389673896838969389703897138972389733897438975389763897738978389793898038981389823898338984389853898638987389883898938990389913899238993389943899538996389973899838999390003900139002390033900439005390063900739008390093901039011390123901339014390153901639017390183901939020390213902239023390243902539026390273902839029390303903139032390333903439035390363903739038390393904039041390423904339044390453904639047390483904939050390513905239053390543905539056390573905839059390603906139062390633906439065390663906739068390693907039071390723907339074390753907639077390783907939080390813908239083390843908539086390873908839089390903909139092390933909439095390963909739098390993910039101391023910339104391053910639107391083910939110391113911239113391143911539116391173911839119391203912139122391233912439125391263912739128391293913039131391323913339134391353913639137391383913939140391413914239143391443914539146391473914839149391503915139152391533915439155391563915739158391593916039161391623916339164391653916639167391683916939170391713917239173391743917539176391773917839179391803918139182391833918439185391863918739188391893919039191391923919339194391953919639197391983919939200392013920239203392043920539206392073920839209392103921139212392133921439215392163921739218392193922039221392223922339224392253922639227392283922939230392313923239233392343923539236392373923839239392403924139242392433924439245392463924739248392493925039251392523925339254392553925639257392583925939260392613926239263392643926539266392673926839269392703927139272392733927439275392763927739278392793928039281392823928339284392853928639287392883928939290392913929239293392943929539296392973929839299393003930139302393033930439305393063930739308393093931039311393123931339314393153931639317393183931939320393213932239323393243932539326393273932839329393303933139332393333933439335393363933739338393393934039341393423934339344393453934639347393483934939350393513935239353393543935539356393573935839359393603936139362393633936439365393663936739368393693937039371393723937339374393753937639377393783937939380393813938239383393843938539386393873938839389393903939139392393933939439395393963939739398393993940039401394023940339404394053940639407394083940939410394113941239413394143941539416394173941839419394203942139422394233942439425394263942739428394293943039431394323943339434394353943639437394383943939440394413944239443394443944539446394473944839449394503945139452394533945439455394563945739458394593946039461394623946339464394653946639467394683946939470394713947239473394743947539476394773947839479394803948139482394833948439485394863948739488394893949039491394923949339494394953949639497394983949939500395013950239503395043950539506395073950839509395103951139512395133951439515395163951739518395193952039521395223952339524395253952639527395283952939530395313953239533395343953539536395373953839539395403954139542395433954439545395463954739548395493955039551395523955339554395553955639557395583955939560395613956239563395643956539566395673956839569395703957139572395733957439575395763957739578395793958039581395823958339584395853958639587395883958939590395913959239593395943959539596395973959839599396003960139602396033960439605396063960739608396093961039611396123961339614396153961639617396183961939620396213962239623396243962539626396273962839629396303963139632396333963439635396363963739638396393964039641396423964339644396453964639647396483964939650396513965239653396543965539656396573965839659396603966139662396633966439665396663966739668396693967039671396723967339674396753967639677396783967939680396813968239683396843968539686396873968839689396903969139692396933969439695396963969739698396993970039701397023970339704397053970639707397083970939710397113971239713397143971539716397173971839719397203972139722397233972439725397263972739728397293973039731397323973339734397353973639737397383973939740397413974239743397443974539746397473974839749397503975139752397533975439755397563975739758397593976039761397623976339764397653976639767397683976939770397713977239773397743977539776397773977839779397803978139782397833978439785397863978739788397893979039791397923979339794397953979639797397983979939800398013980239803398043980539806398073980839809398103981139812398133981439815398163981739818398193982039821398223982339824398253982639827398283982939830398313983239833398343983539836398373983839839398403984139842398433984439845398463984739848398493985039851398523985339854398553985639857398583985939860398613986239863398643986539866398673986839869398703987139872398733987439875398763987739878398793988039881398823988339884398853988639887398883988939890398913989239893398943989539896398973989839899399003990139902399033990439905399063990739908399093991039911399123991339914399153991639917399183991939920399213992239923399243992539926399273992839929399303993139932399333993439935399363993739938399393994039941399423994339944399453994639947399483994939950399513995239953399543995539956399573995839959399603996139962399633996439965399663996739968399693997039971399723997339974399753997639977399783997939980399813998239983399843998539986399873998839989399903999139992399933999439995399963999739998399994000040001400024000340004400054000640007400084000940010400114001240013400144001540016400174001840019400204002140022400234002440025400264002740028400294003040031400324003340034400354003640037400384003940040400414004240043400444004540046400474004840049400504005140052400534005440055400564005740058400594006040061400624006340064400654006640067400684006940070400714007240073400744007540076400774007840079400804008140082400834008440085400864008740088400894009040091400924009340094400954009640097400984009940100401014010240103401044010540106401074010840109401104011140112401134011440115401164011740118401194012040121401224012340124401254012640127401284012940130401314013240133401344013540136401374013840139401404014140142401434014440145401464014740148401494015040151401524015340154401554015640157401584015940160401614016240163401644016540166401674016840169401704017140172401734017440175401764017740178401794018040181401824018340184401854018640187401884018940190401914019240193401944019540196401974019840199402004020140202402034020440205402064020740208402094021040211402124021340214402154021640217402184021940220402214022240223402244022540226402274022840229402304023140232402334023440235402364023740238402394024040241402424024340244402454024640247402484024940250402514025240253402544025540256402574025840259402604026140262402634026440265402664026740268402694027040271402724027340274402754027640277402784027940280402814028240283402844028540286402874028840289402904029140292402934029440295402964029740298402994030040301403024030340304403054030640307403084030940310403114031240313403144031540316403174031840319403204032140322403234032440325403264032740328403294033040331403324033340334403354033640337403384033940340403414034240343403444034540346403474034840349403504035140352403534035440355403564035740358403594036040361403624036340364403654036640367403684036940370403714037240373403744037540376403774037840379403804038140382403834038440385403864038740388403894039040391403924039340394403954039640397403984039940400404014040240403404044040540406404074040840409404104041140412404134041440415404164041740418404194042040421404224042340424404254042640427404284042940430404314043240433404344043540436404374043840439404404044140442404434044440445404464044740448404494045040451404524045340454404554045640457404584045940460404614046240463404644046540466404674046840469404704047140472404734047440475404764047740478404794048040481404824048340484404854048640487404884048940490404914049240493404944049540496404974049840499405004050140502405034050440505405064050740508405094051040511405124051340514405154051640517405184051940520405214052240523405244052540526405274052840529405304053140532405334053440535405364053740538405394054040541405424054340544405454054640547405484054940550405514055240553405544055540556405574055840559405604056140562405634056440565405664056740568405694057040571405724057340574405754057640577405784057940580405814058240583405844058540586405874058840589405904059140592405934059440595405964059740598405994060040601406024060340604406054060640607406084060940610406114061240613406144061540616406174061840619406204062140622406234062440625406264062740628406294063040631406324063340634406354063640637406384063940640406414064240643406444064540646406474064840649406504065140652406534065440655406564065740658406594066040661406624066340664406654066640667406684066940670406714067240673406744067540676406774067840679406804068140682406834068440685406864068740688406894069040691406924069340694406954069640697406984069940700407014070240703407044070540706407074070840709407104071140712407134071440715407164071740718407194072040721407224072340724407254072640727407284072940730407314073240733407344073540736407374073840739407404074140742407434074440745407464074740748407494075040751407524075340754407554075640757407584075940760407614076240763407644076540766407674076840769407704077140772407734077440775407764077740778407794078040781407824078340784407854078640787407884078940790407914079240793407944079540796407974079840799408004080140802408034080440805408064080740808408094081040811408124081340814408154081640817408184081940820408214082240823408244082540826408274082840829408304083140832408334083440835408364083740838408394084040841408424084340844408454084640847408484084940850408514085240853408544085540856408574085840859408604086140862408634086440865408664086740868408694087040871408724087340874408754087640877408784087940880408814088240883408844088540886408874088840889408904089140892408934089440895408964089740898408994090040901409024090340904409054090640907409084090940910409114091240913409144091540916409174091840919409204092140922409234092440925409264092740928409294093040931409324093340934409354093640937409384093940940409414094240943409444094540946409474094840949409504095140952409534095440955409564095740958409594096040961409624096340964409654096640967409684096940970409714097240973409744097540976409774097840979409804098140982409834098440985409864098740988409894099040991409924099340994409954099640997409984099941000410014100241003410044100541006410074100841009410104101141012410134101441015410164101741018410194102041021410224102341024410254102641027410284102941030410314103241033410344103541036410374103841039410404104141042410434104441045410464104741048410494105041051410524105341054410554105641057410584105941060410614106241063410644106541066410674106841069410704107141072410734107441075410764107741078410794108041081410824108341084410854108641087410884108941090410914109241093410944109541096410974109841099411004110141102411034110441105411064110741108411094111041111411124111341114411154111641117411184111941120411214112241123411244112541126411274112841129411304113141132411334113441135411364113741138411394114041141411424114341144411454114641147411484114941150411514115241153411544115541156411574115841159411604116141162411634116441165411664116741168411694117041171411724117341174411754117641177411784117941180411814118241183411844118541186411874118841189411904119141192411934119441195411964119741198411994120041201412024120341204412054120641207412084120941210412114121241213412144121541216412174121841219412204122141222412234122441225412264122741228412294123041231412324123341234412354123641237412384123941240412414124241243412444124541246412474124841249412504125141252412534125441255412564125741258412594126041261412624126341264412654126641267412684126941270412714127241273412744127541276412774127841279412804128141282412834128441285412864128741288412894129041291412924129341294412954129641297412984129941300413014130241303413044130541306413074130841309413104131141312413134131441315413164131741318413194132041321413224132341324413254132641327413284132941330413314133241333413344133541336413374133841339413404134141342413434134441345413464134741348413494135041351413524135341354413554135641357413584135941360413614136241363413644136541366413674136841369413704137141372413734137441375413764137741378413794138041381413824138341384413854138641387413884138941390413914139241393413944139541396413974139841399414004140141402414034140441405414064140741408414094141041411414124141341414414154141641417414184141941420
  1. // Package docs 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. "text/template"
  9. "github.com/swaggo/swag"
  10. )
  11. var doc = `{
  12. "schemes": {{ marshal .Schemes }},
  13. "swagger": "2.0",
  14. "info": {
  15. "description": "{{escape .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:我的 3:首页(PC) 4:首页推广(移动-新会)",
  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": "integer",
  914. "description": "用户id(风管云平台版本传值, 只显示用户下设置了套保关联的品种)",
  915. "name": "userid",
  916. "in": "query"
  917. },
  918. {
  919. "type": "string",
  920. "description": "最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  921. "name": "lastUpdateTime",
  922. "in": "query"
  923. }
  924. ],
  925. "responses": {
  926. "200": {
  927. "description": "OK",
  928. "schema": {
  929. "$ref": "#/definitions/models.ErmcpGoods"
  930. }
  931. },
  932. "500": {
  933. "description": "Internal Server Error",
  934. "schema": {
  935. "$ref": "#/definitions/app.Response"
  936. }
  937. }
  938. }
  939. }
  940. },
  941. "/Ermcp/GetErmcpGoodsSortByPosition": {
  942. "get": {
  943. "security": [
  944. {
  945. "ApiKeyAuth": []
  946. }
  947. ],
  948. "produces": [
  949. "application/json"
  950. ],
  951. "tags": [
  952. "企业风险管理(app)"
  953. ],
  954. "summary": "查询企业风管期货主力、次主力商品信息",
  955. "parameters": [
  956. {
  957. "type": "string",
  958. "description": "主力: 1; 次主力: 2; 主力+次主力:1,2",
  959. "name": "sortIndex",
  960. "in": "query"
  961. }
  962. ],
  963. "responses": {
  964. "200": {
  965. "description": "OK",
  966. "schema": {
  967. "$ref": "#/definitions/models.Goodssortbypreposition"
  968. }
  969. },
  970. "500": {
  971. "description": "Internal Server Error",
  972. "schema": {
  973. "$ref": "#/definitions/app.Response"
  974. }
  975. }
  976. }
  977. }
  978. },
  979. "/Ermcp/GetErmcpOutAccountStatus": {
  980. "get": {
  981. "security": [
  982. {
  983. "ApiKeyAuth": []
  984. }
  985. ],
  986. "produces": [
  987. "application/json"
  988. ],
  989. "tags": [
  990. "企业风险管理(app)"
  991. ],
  992. "summary": "获取目标登录账号当前对冲账号在线状态",
  993. "parameters": [
  994. {
  995. "type": "integer",
  996. "description": "登录账号",
  997. "name": "loginID",
  998. "in": "query",
  999. "required": true
  1000. }
  1001. ],
  1002. "responses": {
  1003. "200": {
  1004. "description": "OK",
  1005. "schema": {
  1006. "$ref": "#/definitions/models.Hedgemarketopenlog"
  1007. }
  1008. },
  1009. "500": {
  1010. "description": "Internal Server Error",
  1011. "schema": {
  1012. "$ref": "#/definitions/app.Response"
  1013. }
  1014. }
  1015. }
  1016. }
  1017. },
  1018. "/Ermcp/GetErmcpRoleFuncMenuLists": {
  1019. "get": {
  1020. "security": [
  1021. {
  1022. "ApiKeyAuth": []
  1023. }
  1024. ],
  1025. "produces": [
  1026. "application/json"
  1027. ],
  1028. "tags": [
  1029. "企业风险管理(app)"
  1030. ],
  1031. "summary": "获取企业风管终端权限",
  1032. "parameters": [
  1033. {
  1034. "type": "integer",
  1035. "description": "登录账号",
  1036. "name": "loginID",
  1037. "in": "query",
  1038. "required": true
  1039. }
  1040. ],
  1041. "responses": {
  1042. "200": {
  1043. "description": "OK",
  1044. "schema": {
  1045. "$ref": "#/definitions/models.Funcmenulist"
  1046. }
  1047. },
  1048. "500": {
  1049. "description": "Internal Server Error",
  1050. "schema": {
  1051. "$ref": "#/definitions/app.Response"
  1052. }
  1053. }
  1054. }
  1055. }
  1056. },
  1057. "/Ermcp/QueryAccMgrBizGroupSet": {
  1058. "get": {
  1059. "security": [
  1060. {
  1061. "ApiKeyAuth": []
  1062. }
  1063. ],
  1064. "produces": [
  1065. "application/json"
  1066. ],
  1067. "tags": [
  1068. "企业风险管理(app)"
  1069. ],
  1070. "summary": "查询业务类型分组(账户管理/账户设置)",
  1071. "parameters": [
  1072. {
  1073. "type": "integer",
  1074. "description": "用户ID",
  1075. "name": "userid",
  1076. "in": "query",
  1077. "required": true
  1078. },
  1079. {
  1080. "type": "integer",
  1081. "description": "现货商品id",
  1082. "name": "deliverygoodsid",
  1083. "in": "query"
  1084. }
  1085. ],
  1086. "responses": {
  1087. "200": {
  1088. "description": "OK",
  1089. "schema": {
  1090. "type": "array",
  1091. "items": {
  1092. "$ref": "#/definitions/models.ErmcpBizGroupEx"
  1093. }
  1094. }
  1095. },
  1096. "500": {
  1097. "description": "Internal Server Error",
  1098. "schema": {
  1099. "$ref": "#/definitions/app.Response"
  1100. }
  1101. }
  1102. }
  1103. }
  1104. },
  1105. "/Ermcp/QueryAccMgrLoginUser": {
  1106. "get": {
  1107. "security": [
  1108. {
  1109. "ApiKeyAuth": []
  1110. }
  1111. ],
  1112. "produces": [
  1113. "application/json"
  1114. ],
  1115. "tags": [
  1116. "企业风险管理(app)"
  1117. ],
  1118. "summary": "查询账户管理登录账号(账户管理/登录账号)",
  1119. "parameters": [
  1120. {
  1121. "type": "integer",
  1122. "description": "用户ID",
  1123. "name": "userid",
  1124. "in": "query",
  1125. "required": true
  1126. },
  1127. {
  1128. "type": "integer",
  1129. "description": "用户类型 2-机构 7-企业成员",
  1130. "name": "usertype",
  1131. "in": "query"
  1132. },
  1133. {
  1134. "type": "integer",
  1135. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  1136. "name": "querytype",
  1137. "in": "query",
  1138. "required": true
  1139. }
  1140. ],
  1141. "responses": {
  1142. "200": {
  1143. "description": "OK",
  1144. "schema": {
  1145. "type": "array",
  1146. "items": {
  1147. "$ref": "#/definitions/models.ErmcpLoginUserEx"
  1148. }
  1149. }
  1150. },
  1151. "500": {
  1152. "description": "Internal Server Error",
  1153. "schema": {
  1154. "$ref": "#/definitions/app.Response"
  1155. }
  1156. }
  1157. }
  1158. }
  1159. },
  1160. "/Ermcp/QueryAccMgrMainAccountInfo": {
  1161. "get": {
  1162. "security": [
  1163. {
  1164. "ApiKeyAuth": []
  1165. }
  1166. ],
  1167. "produces": [
  1168. "application/json"
  1169. ],
  1170. "tags": [
  1171. "企业风险管理(app)"
  1172. ],
  1173. "summary": "查询账户管理主账号详情(账户管理/期货主账号详情)",
  1174. "parameters": [
  1175. {
  1176. "type": "integer",
  1177. "description": "用户ID",
  1178. "name": "userid",
  1179. "in": "query"
  1180. },
  1181. {
  1182. "type": "integer",
  1183. "description": "主账号id",
  1184. "name": "accountid",
  1185. "in": "query"
  1186. }
  1187. ],
  1188. "responses": {
  1189. "200": {
  1190. "description": "OK",
  1191. "schema": {
  1192. "type": "array",
  1193. "items": {
  1194. "$ref": "#/definitions/models.MainAccountInfo"
  1195. }
  1196. }
  1197. },
  1198. "500": {
  1199. "description": "Internal Server Error",
  1200. "schema": {
  1201. "$ref": "#/definitions/app.Response"
  1202. }
  1203. }
  1204. }
  1205. }
  1206. },
  1207. "/Ermcp/QueryAccMgrRole": {
  1208. "get": {
  1209. "security": [
  1210. {
  1211. "ApiKeyAuth": []
  1212. }
  1213. ],
  1214. "produces": [
  1215. "application/json"
  1216. ],
  1217. "tags": [
  1218. "企业风险管理(app)"
  1219. ],
  1220. "summary": "查询账户管理角色设置(账户管理/角色设置)",
  1221. "parameters": [
  1222. {
  1223. "type": "integer",
  1224. "description": "用户ID",
  1225. "name": "userid",
  1226. "in": "query",
  1227. "required": true
  1228. }
  1229. ],
  1230. "responses": {
  1231. "200": {
  1232. "description": "OK",
  1233. "schema": {
  1234. "type": "array",
  1235. "items": {
  1236. "$ref": "#/definitions/models.ErmcpRole"
  1237. }
  1238. }
  1239. },
  1240. "500": {
  1241. "description": "Internal Server Error",
  1242. "schema": {
  1243. "$ref": "#/definitions/app.Response"
  1244. }
  1245. }
  1246. }
  1247. }
  1248. },
  1249. "/Ermcp/QueryAccMgrRoleMenu": {
  1250. "get": {
  1251. "security": [
  1252. {
  1253. "ApiKeyAuth": []
  1254. }
  1255. ],
  1256. "produces": [
  1257. "application/json"
  1258. ],
  1259. "tags": [
  1260. "企业风险管理(app)"
  1261. ],
  1262. "summary": "查询账户管理角色详情(账户管理/角色设置/角色详情)",
  1263. "parameters": [
  1264. {
  1265. "type": "integer",
  1266. "description": "用户ID",
  1267. "name": "userid",
  1268. "in": "query",
  1269. "required": true
  1270. },
  1271. {
  1272. "type": "string",
  1273. "description": "角色id(可多个,逗号隔开)",
  1274. "name": "roleid",
  1275. "in": "query"
  1276. },
  1277. {
  1278. "type": "integer",
  1279. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3",
  1280. "name": "menutype",
  1281. "in": "query"
  1282. }
  1283. ],
  1284. "responses": {
  1285. "200": {
  1286. "description": "OK",
  1287. "schema": {
  1288. "type": "array",
  1289. "items": {
  1290. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  1291. }
  1292. }
  1293. },
  1294. "500": {
  1295. "description": "Internal Server Error",
  1296. "schema": {
  1297. "$ref": "#/definitions/app.Response"
  1298. }
  1299. }
  1300. }
  1301. }
  1302. },
  1303. "/Ermcp/QueryAccMgrTaAccountInfo": {
  1304. "get": {
  1305. "security": [
  1306. {
  1307. "ApiKeyAuth": []
  1308. }
  1309. ],
  1310. "produces": [
  1311. "application/json"
  1312. ],
  1313. "tags": [
  1314. "企业风险管理(app)"
  1315. ],
  1316. "summary": "查询账户管理授信(账户管理/账户设置/授信)",
  1317. "parameters": [
  1318. {
  1319. "type": "integer",
  1320. "description": "用户ID",
  1321. "name": "userid",
  1322. "in": "query",
  1323. "required": true
  1324. },
  1325. {
  1326. "type": "integer",
  1327. "description": "账号id",
  1328. "name": "accountid",
  1329. "in": "query"
  1330. }
  1331. ],
  1332. "responses": {
  1333. "200": {
  1334. "description": "OK",
  1335. "schema": {
  1336. "type": "array",
  1337. "items": {
  1338. "$ref": "#/definitions/models.ErmcpTaAccountInfo"
  1339. }
  1340. }
  1341. },
  1342. "500": {
  1343. "description": "Internal Server Error",
  1344. "schema": {
  1345. "$ref": "#/definitions/app.Response"
  1346. }
  1347. }
  1348. }
  1349. }
  1350. },
  1351. "/Ermcp/QueryAccMgrTaaccount": {
  1352. "get": {
  1353. "security": [
  1354. {
  1355. "ApiKeyAuth": []
  1356. }
  1357. ],
  1358. "produces": [
  1359. "application/json"
  1360. ],
  1361. "tags": [
  1362. "企业风险管理(app)"
  1363. ],
  1364. "summary": "查询账户管理期货账号(账户管理/期货账号)",
  1365. "parameters": [
  1366. {
  1367. "type": "integer",
  1368. "description": "用户ID",
  1369. "name": "userid",
  1370. "in": "query",
  1371. "required": true
  1372. }
  1373. ],
  1374. "responses": {
  1375. "200": {
  1376. "description": "OK",
  1377. "schema": {
  1378. "type": "array",
  1379. "items": {
  1380. "$ref": "#/definitions/models.ErmcpTaAccountEx"
  1381. }
  1382. }
  1383. },
  1384. "500": {
  1385. "description": "Internal Server Error",
  1386. "schema": {
  1387. "$ref": "#/definitions/app.Response"
  1388. }
  1389. }
  1390. }
  1391. }
  1392. },
  1393. "/Ermcp/QueryAvaildGoodsGroup": {
  1394. "get": {
  1395. "security": [
  1396. {
  1397. "ApiKeyAuth": []
  1398. }
  1399. ],
  1400. "produces": [
  1401. "application/json"
  1402. ],
  1403. "tags": [
  1404. "企业风险管理(app)"
  1405. ],
  1406. "summary": "查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)",
  1407. "parameters": [
  1408. {
  1409. "type": "integer",
  1410. "description": "所属机构ID",
  1411. "name": "userid",
  1412. "in": "query",
  1413. "required": true
  1414. }
  1415. ],
  1416. "responses": {
  1417. "200": {
  1418. "description": "OK",
  1419. "schema": {
  1420. "type": "array",
  1421. "items": {
  1422. "$ref": "#/definitions/ermcp.QryAvalidGPRsp"
  1423. }
  1424. }
  1425. },
  1426. "500": {
  1427. "description": "Internal Server Error",
  1428. "schema": {
  1429. "$ref": "#/definitions/app.Response"
  1430. }
  1431. }
  1432. }
  1433. }
  1434. },
  1435. "/Ermcp/QueryBusinessDj": {
  1436. "get": {
  1437. "security": [
  1438. {
  1439. "ApiKeyAuth": []
  1440. }
  1441. ],
  1442. "produces": [
  1443. "application/json"
  1444. ],
  1445. "tags": [
  1446. "企业风险管理(app)"
  1447. ],
  1448. "summary": "查询业务管理(点价)(对应菜单:业务管理/点价)",
  1449. "parameters": [
  1450. {
  1451. "type": "integer",
  1452. "description": "用户ID",
  1453. "name": "UserId",
  1454. "in": "query",
  1455. "required": true
  1456. },
  1457. {
  1458. "type": "integer",
  1459. "description": "用户类型 2-机构 7-企业成员",
  1460. "name": "usertype",
  1461. "in": "query"
  1462. },
  1463. {
  1464. "type": "string",
  1465. "description": "现货合同ID, 不填则查所有",
  1466. "name": "relatedid",
  1467. "in": "query"
  1468. },
  1469. {
  1470. "type": "string",
  1471. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1472. "name": "applystatus",
  1473. "in": "query"
  1474. }
  1475. ],
  1476. "responses": {
  1477. "200": {
  1478. "description": "OK",
  1479. "schema": {
  1480. "type": "array",
  1481. "items": {
  1482. "$ref": "#/definitions/ermcp.QryBusinessDjRsp"
  1483. }
  1484. }
  1485. },
  1486. "500": {
  1487. "description": "Internal Server Error",
  1488. "schema": {
  1489. "$ref": "#/definitions/app.Response"
  1490. }
  1491. }
  1492. }
  1493. }
  1494. },
  1495. "/Ermcp/QueryBusinessFp": {
  1496. "get": {
  1497. "security": [
  1498. {
  1499. "ApiKeyAuth": []
  1500. }
  1501. ],
  1502. "produces": [
  1503. "application/json"
  1504. ],
  1505. "tags": [
  1506. "企业风险管理(app)"
  1507. ],
  1508. "summary": "查询财务管理(发票)(对应菜单:财务管理/发票)",
  1509. "parameters": [
  1510. {
  1511. "type": "integer",
  1512. "description": "用户ID",
  1513. "name": "UserId",
  1514. "in": "query",
  1515. "required": true
  1516. },
  1517. {
  1518. "type": "integer",
  1519. "description": "用户类型 2-机构 7-企业成员",
  1520. "name": "usertype",
  1521. "in": "query"
  1522. },
  1523. {
  1524. "type": "string",
  1525. "description": "现货合同ID, 不填则查所有",
  1526. "name": "relatedid",
  1527. "in": "query"
  1528. },
  1529. {
  1530. "type": "string",
  1531. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1532. "name": "applystatus",
  1533. "in": "query"
  1534. }
  1535. ],
  1536. "responses": {
  1537. "200": {
  1538. "description": "OK",
  1539. "schema": {
  1540. "type": "array",
  1541. "items": {
  1542. "$ref": "#/definitions/ermcp.QryBussinessFpRsp"
  1543. }
  1544. }
  1545. },
  1546. "500": {
  1547. "description": "Internal Server Error",
  1548. "schema": {
  1549. "$ref": "#/definitions/app.Response"
  1550. }
  1551. }
  1552. }
  1553. }
  1554. },
  1555. "/Ermcp/QueryBusinessJs": {
  1556. "get": {
  1557. "security": [
  1558. {
  1559. "ApiKeyAuth": []
  1560. }
  1561. ],
  1562. "produces": [
  1563. "application/json"
  1564. ],
  1565. "tags": [
  1566. "企业风险管理(app)"
  1567. ],
  1568. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算)",
  1569. "parameters": [
  1570. {
  1571. "type": "integer",
  1572. "description": "用户ID",
  1573. "name": "UserId",
  1574. "in": "query",
  1575. "required": true
  1576. },
  1577. {
  1578. "type": "integer",
  1579. "description": "用户类型 2-机构 7-企业成员",
  1580. "name": "usertype",
  1581. "in": "query"
  1582. },
  1583. {
  1584. "type": "string",
  1585. "description": "现货合同ID, 不填则查所有",
  1586. "name": "relatedid",
  1587. "in": "query"
  1588. },
  1589. {
  1590. "type": "string",
  1591. "description": "操作申请id",
  1592. "name": "operateapplyid",
  1593. "in": "query"
  1594. },
  1595. {
  1596. "type": "string",
  1597. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1598. "name": "applystatus",
  1599. "in": "query"
  1600. }
  1601. ],
  1602. "responses": {
  1603. "200": {
  1604. "description": "OK",
  1605. "schema": {
  1606. "type": "array",
  1607. "items": {
  1608. "$ref": "#/definitions/ermcp.QryBussinessJsRsp"
  1609. }
  1610. }
  1611. },
  1612. "500": {
  1613. "description": "Internal Server Error",
  1614. "schema": {
  1615. "$ref": "#/definitions/app.Response"
  1616. }
  1617. }
  1618. }
  1619. }
  1620. },
  1621. "/Ermcp/QueryBusinessJsEx": {
  1622. "get": {
  1623. "security": [
  1624. {
  1625. "ApiKeyAuth": []
  1626. }
  1627. ],
  1628. "produces": [
  1629. "application/json"
  1630. ],
  1631. "tags": [
  1632. "企业风险管理(app)"
  1633. ],
  1634. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])",
  1635. "parameters": [
  1636. {
  1637. "type": "integer",
  1638. "description": "用户ID",
  1639. "name": "UserId",
  1640. "in": "query",
  1641. "required": true
  1642. },
  1643. {
  1644. "type": "integer",
  1645. "description": "用户类型 2-机构 7-企业成员",
  1646. "name": "usertype",
  1647. "in": "query"
  1648. },
  1649. {
  1650. "type": "string",
  1651. "description": "现货合同ID, 不填则查所有",
  1652. "name": "relatedid",
  1653. "in": "query"
  1654. },
  1655. {
  1656. "type": "string",
  1657. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1658. "name": "applystatus",
  1659. "in": "query"
  1660. }
  1661. ],
  1662. "responses": {
  1663. "200": {
  1664. "description": "OK",
  1665. "schema": {
  1666. "type": "array",
  1667. "items": {
  1668. "$ref": "#/definitions/ermcp.QryBussinessJsExRsp"
  1669. }
  1670. }
  1671. },
  1672. "500": {
  1673. "description": "Internal Server Error",
  1674. "schema": {
  1675. "$ref": "#/definitions/app.Response"
  1676. }
  1677. }
  1678. }
  1679. }
  1680. },
  1681. "/Ermcp/QueryBusinessKx": {
  1682. "get": {
  1683. "security": [
  1684. {
  1685. "ApiKeyAuth": []
  1686. }
  1687. ],
  1688. "produces": [
  1689. "application/json"
  1690. ],
  1691. "tags": [
  1692. "企业风险管理(app)"
  1693. ],
  1694. "summary": "查询财务管理(款项)(对应菜单:财务管理/款项)",
  1695. "parameters": [
  1696. {
  1697. "type": "integer",
  1698. "description": "用户ID",
  1699. "name": "UserId",
  1700. "in": "query",
  1701. "required": true
  1702. },
  1703. {
  1704. "type": "integer",
  1705. "description": "用户类型 2-机构 7-企业成员",
  1706. "name": "usertype",
  1707. "in": "query"
  1708. },
  1709. {
  1710. "type": "string",
  1711. "description": "现货合同ID, 不填则查所有",
  1712. "name": "relatedid",
  1713. "in": "query"
  1714. },
  1715. {
  1716. "type": "string",
  1717. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1718. "name": "applystatus",
  1719. "in": "query"
  1720. }
  1721. ],
  1722. "responses": {
  1723. "200": {
  1724. "description": "OK",
  1725. "schema": {
  1726. "type": "array",
  1727. "items": {
  1728. "$ref": "#/definitions/ermcp.QryBussinessKxRsp"
  1729. }
  1730. }
  1731. },
  1732. "500": {
  1733. "description": "Internal Server Error",
  1734. "schema": {
  1735. "$ref": "#/definitions/app.Response"
  1736. }
  1737. }
  1738. }
  1739. }
  1740. },
  1741. "/Ermcp/QueryChangeLog": {
  1742. "get": {
  1743. "security": [
  1744. {
  1745. "ApiKeyAuth": []
  1746. }
  1747. ],
  1748. "produces": [
  1749. "application/json"
  1750. ],
  1751. "tags": [
  1752. "企业风险管理(app)"
  1753. ],
  1754. "summary": "查询变更记录",
  1755. "parameters": [
  1756. {
  1757. "type": "string",
  1758. "description": "合同ID",
  1759. "name": "RelatedId",
  1760. "in": "query",
  1761. "required": true
  1762. }
  1763. ],
  1764. "responses": {
  1765. "200": {
  1766. "description": "OK",
  1767. "schema": {
  1768. "type": "array",
  1769. "items": {
  1770. "$ref": "#/definitions/ermcp.QryOPLogRsp"
  1771. }
  1772. }
  1773. },
  1774. "500": {
  1775. "description": "Internal Server Error",
  1776. "schema": {
  1777. "$ref": "#/definitions/app.Response"
  1778. }
  1779. }
  1780. }
  1781. }
  1782. },
  1783. "/Ermcp/QueryErmcpHisOrderDetails": {
  1784. "get": {
  1785. "security": [
  1786. {
  1787. "ApiKeyAuth": []
  1788. }
  1789. ],
  1790. "produces": [
  1791. "application/json"
  1792. ],
  1793. "tags": [
  1794. "企业风险管理(app)"
  1795. ],
  1796. "summary": "获取企业风管期货历史委托单信息",
  1797. "parameters": [
  1798. {
  1799. "type": "integer",
  1800. "description": "资金账户ID",
  1801. "name": "accountID",
  1802. "in": "query",
  1803. "required": true
  1804. },
  1805. {
  1806. "type": "string",
  1807. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  1808. "name": "startDate",
  1809. "in": "query"
  1810. },
  1811. {
  1812. "type": "string",
  1813. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  1814. "name": "endDate",
  1815. "in": "query"
  1816. }
  1817. ],
  1818. "responses": {
  1819. "200": {
  1820. "description": "OK",
  1821. "schema": {
  1822. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  1823. }
  1824. },
  1825. "500": {
  1826. "description": "Internal Server Error",
  1827. "schema": {
  1828. "$ref": "#/definitions/app.Response"
  1829. }
  1830. }
  1831. }
  1832. }
  1833. },
  1834. "/Ermcp/QueryErmcpHisTradeDetails": {
  1835. "get": {
  1836. "security": [
  1837. {
  1838. "ApiKeyAuth": []
  1839. }
  1840. ],
  1841. "produces": [
  1842. "application/json"
  1843. ],
  1844. "tags": [
  1845. "企业风险管理(app)"
  1846. ],
  1847. "summary": "获取企业风管期货历史成交单信息",
  1848. "parameters": [
  1849. {
  1850. "type": "integer",
  1851. "description": "资金账户ID",
  1852. "name": "accountID",
  1853. "in": "query",
  1854. "required": true
  1855. },
  1856. {
  1857. "type": "integer",
  1858. "description": "商品ID",
  1859. "name": "goodsID",
  1860. "in": "query"
  1861. },
  1862. {
  1863. "type": "integer",
  1864. "description": "买卖方向,0:买 1:卖",
  1865. "name": "buyOrSell",
  1866. "in": "query"
  1867. },
  1868. {
  1869. "type": "integer",
  1870. "description": "关联委托单号",
  1871. "name": "orderID",
  1872. "in": "query"
  1873. },
  1874. {
  1875. "type": "string",
  1876. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  1877. "name": "startDate",
  1878. "in": "query"
  1879. },
  1880. {
  1881. "type": "string",
  1882. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  1883. "name": "endDate",
  1884. "in": "query"
  1885. }
  1886. ],
  1887. "responses": {
  1888. "200": {
  1889. "description": "OK",
  1890. "schema": {
  1891. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  1892. }
  1893. },
  1894. "500": {
  1895. "description": "Internal Server Error",
  1896. "schema": {
  1897. "$ref": "#/definitions/app.Response"
  1898. }
  1899. }
  1900. }
  1901. }
  1902. },
  1903. "/Ermcp/QueryErmcpInnerHolderDetails": {
  1904. "get": {
  1905. "security": [
  1906. {
  1907. "ApiKeyAuth": []
  1908. }
  1909. ],
  1910. "produces": [
  1911. "application/json"
  1912. ],
  1913. "tags": [
  1914. "企业风险管理(app)"
  1915. ],
  1916. "summary": "获取企业风管期货内部持仓单信息",
  1917. "parameters": [
  1918. {
  1919. "type": "integer",
  1920. "description": "资金账户ID",
  1921. "name": "accountID",
  1922. "in": "query",
  1923. "required": true
  1924. },
  1925. {
  1926. "type": "integer",
  1927. "description": "商品ID",
  1928. "name": "goodsID",
  1929. "in": "query"
  1930. },
  1931. {
  1932. "type": "integer",
  1933. "description": "买卖方向,0:买 1:卖",
  1934. "name": "buyOrSell",
  1935. "in": "query"
  1936. }
  1937. ],
  1938. "responses": {
  1939. "200": {
  1940. "description": "OK",
  1941. "schema": {
  1942. "$ref": "#/definitions/models.Hedgeinnerholderdetail"
  1943. }
  1944. },
  1945. "500": {
  1946. "description": "Internal Server Error",
  1947. "schema": {
  1948. "$ref": "#/definitions/app.Response"
  1949. }
  1950. }
  1951. }
  1952. }
  1953. },
  1954. "/Ermcp/QueryErmcpOrderDetails": {
  1955. "get": {
  1956. "security": [
  1957. {
  1958. "ApiKeyAuth": []
  1959. }
  1960. ],
  1961. "produces": [
  1962. "application/json"
  1963. ],
  1964. "tags": [
  1965. "企业风险管理(app)"
  1966. ],
  1967. "summary": "获取企业风管期货委托单信息",
  1968. "parameters": [
  1969. {
  1970. "type": "integer",
  1971. "description": "资金账户ID",
  1972. "name": "accountID",
  1973. "in": "query",
  1974. "required": true
  1975. }
  1976. ],
  1977. "responses": {
  1978. "200": {
  1979. "description": "OK",
  1980. "schema": {
  1981. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  1982. }
  1983. },
  1984. "500": {
  1985. "description": "Internal Server Error",
  1986. "schema": {
  1987. "$ref": "#/definitions/app.Response"
  1988. }
  1989. }
  1990. }
  1991. }
  1992. },
  1993. "/Ermcp/QueryErmcpTradeDetails": {
  1994. "get": {
  1995. "security": [
  1996. {
  1997. "ApiKeyAuth": []
  1998. }
  1999. ],
  2000. "produces": [
  2001. "application/json"
  2002. ],
  2003. "tags": [
  2004. "企业风险管理(app)"
  2005. ],
  2006. "summary": "获取企业风管期货成交单信息",
  2007. "parameters": [
  2008. {
  2009. "type": "integer",
  2010. "description": "资金账户ID",
  2011. "name": "accountID",
  2012. "in": "query",
  2013. "required": true
  2014. },
  2015. {
  2016. "type": "integer",
  2017. "description": "商品ID",
  2018. "name": "goodsID",
  2019. "in": "query"
  2020. },
  2021. {
  2022. "type": "integer",
  2023. "description": "买卖方向,0:买 1:卖",
  2024. "name": "buyOrSell",
  2025. "in": "query"
  2026. },
  2027. {
  2028. "type": "integer",
  2029. "description": "关联委托单号",
  2030. "name": "orderID",
  2031. "in": "query"
  2032. }
  2033. ],
  2034. "responses": {
  2035. "200": {
  2036. "description": "OK",
  2037. "schema": {
  2038. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  2039. }
  2040. },
  2041. "500": {
  2042. "description": "Internal Server Error",
  2043. "schema": {
  2044. "$ref": "#/definitions/app.Response"
  2045. }
  2046. }
  2047. }
  2048. }
  2049. },
  2050. "/Ermcp/QueryErmcpTradePosition": {
  2051. "get": {
  2052. "security": [
  2053. {
  2054. "ApiKeyAuth": []
  2055. }
  2056. ],
  2057. "description": "本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;",
  2058. "produces": [
  2059. "application/json"
  2060. ],
  2061. "tags": [
  2062. "企业风险管理(app)"
  2063. ],
  2064. "summary": "获取企业风管期货持仓头寸信息",
  2065. "parameters": [
  2066. {
  2067. "type": "integer",
  2068. "description": "资金账户ID",
  2069. "name": "accountID",
  2070. "in": "query",
  2071. "required": true
  2072. },
  2073. {
  2074. "type": "integer",
  2075. "description": "所属市场ID",
  2076. "name": "marketID",
  2077. "in": "query"
  2078. }
  2079. ],
  2080. "responses": {
  2081. "200": {
  2082. "description": "OK",
  2083. "schema": {
  2084. "$ref": "#/definitions/ermcp.QueryErmcpTradePositionRsp"
  2085. }
  2086. },
  2087. "500": {
  2088. "description": "Internal Server Error",
  2089. "schema": {
  2090. "$ref": "#/definitions/app.Response"
  2091. }
  2092. }
  2093. }
  2094. }
  2095. },
  2096. "/Ermcp/QueryExposureDetail": {
  2097. "get": {
  2098. "security": [
  2099. {
  2100. "ApiKeyAuth": []
  2101. }
  2102. ],
  2103. "produces": [
  2104. "application/json"
  2105. ],
  2106. "tags": [
  2107. "企业风险管理(app)"
  2108. ],
  2109. "summary": "查询敞口现货明细",
  2110. "parameters": [
  2111. {
  2112. "type": "integer",
  2113. "description": "所属机构ID",
  2114. "name": "areaUserId",
  2115. "in": "query",
  2116. "required": true
  2117. },
  2118. {
  2119. "type": "integer",
  2120. "description": "套保商品",
  2121. "name": "middleGoodsId",
  2122. "in": "query",
  2123. "required": true
  2124. }
  2125. ],
  2126. "responses": {
  2127. "200": {
  2128. "description": "OK",
  2129. "schema": {
  2130. "type": "array",
  2131. "items": {
  2132. "$ref": "#/definitions/ermcp.ExposureDetailRsp"
  2133. }
  2134. }
  2135. },
  2136. "500": {
  2137. "description": "Internal Server Error",
  2138. "schema": {
  2139. "$ref": "#/definitions/app.Response"
  2140. }
  2141. }
  2142. }
  2143. }
  2144. },
  2145. "/Ermcp/QueryExposureGoods": {
  2146. "get": {
  2147. "security": [
  2148. {
  2149. "ApiKeyAuth": []
  2150. }
  2151. ],
  2152. "produces": [
  2153. "application/json"
  2154. ],
  2155. "tags": [
  2156. "企业风险管理(app)"
  2157. ],
  2158. "summary": "查询敞口主力合约",
  2159. "parameters": [
  2160. {
  2161. "type": "integer",
  2162. "description": "套保商品id",
  2163. "name": "middlegoodsid",
  2164. "in": "query",
  2165. "required": true
  2166. }
  2167. ],
  2168. "responses": {
  2169. "200": {
  2170. "description": "OK",
  2171. "schema": {
  2172. "type": "array",
  2173. "items": {
  2174. "$ref": "#/definitions/models.ErmcpMiddlegoodsRelateGoods"
  2175. }
  2176. }
  2177. },
  2178. "500": {
  2179. "description": "Internal Server Error",
  2180. "schema": {
  2181. "$ref": "#/definitions/app.Response"
  2182. }
  2183. }
  2184. }
  2185. }
  2186. },
  2187. "/Ermcp/QueryExposureHedgePosition": {
  2188. "get": {
  2189. "security": [
  2190. {
  2191. "ApiKeyAuth": []
  2192. }
  2193. ],
  2194. "produces": [
  2195. "application/json"
  2196. ],
  2197. "tags": [
  2198. "企业风险管理(app)"
  2199. ],
  2200. "summary": "查询敞口期货头寸(菜单:敞口/期货头寸)",
  2201. "parameters": [
  2202. {
  2203. "type": "integer",
  2204. "description": "用户id",
  2205. "name": "userid",
  2206. "in": "query",
  2207. "required": true
  2208. }
  2209. ],
  2210. "responses": {
  2211. "200": {
  2212. "description": "OK",
  2213. "schema": {
  2214. "type": "array",
  2215. "items": {
  2216. "$ref": "#/definitions/ermcp.ExposureHedgePositionRsp"
  2217. }
  2218. }
  2219. },
  2220. "500": {
  2221. "description": "Internal Server Error",
  2222. "schema": {
  2223. "$ref": "#/definitions/app.Response"
  2224. }
  2225. }
  2226. }
  2227. }
  2228. },
  2229. "/Ermcp/QueryExposureHedgePositionDetail": {
  2230. "get": {
  2231. "security": [
  2232. {
  2233. "ApiKeyAuth": []
  2234. }
  2235. ],
  2236. "produces": [
  2237. "application/json"
  2238. ],
  2239. "tags": [
  2240. "企业风险管理(app)"
  2241. ],
  2242. "summary": "查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)",
  2243. "parameters": [
  2244. {
  2245. "type": "integer",
  2246. "description": "所属机构ID",
  2247. "name": "userid",
  2248. "in": "query",
  2249. "required": true
  2250. },
  2251. {
  2252. "type": "integer",
  2253. "description": "商品id",
  2254. "name": "goodsId",
  2255. "in": "query",
  2256. "required": true
  2257. }
  2258. ],
  2259. "responses": {
  2260. "200": {
  2261. "description": "OK",
  2262. "schema": {
  2263. "type": "array",
  2264. "items": {
  2265. "$ref": "#/definitions/ermcp.ExposureHedgePosDetailRsp"
  2266. }
  2267. }
  2268. },
  2269. "500": {
  2270. "description": "Internal Server Error",
  2271. "schema": {
  2272. "$ref": "#/definitions/app.Response"
  2273. }
  2274. }
  2275. }
  2276. }
  2277. },
  2278. "/Ermcp/QueryExposureSpot": {
  2279. "get": {
  2280. "security": [
  2281. {
  2282. "ApiKeyAuth": []
  2283. }
  2284. ],
  2285. "produces": [
  2286. "application/json"
  2287. ],
  2288. "tags": [
  2289. "企业风险管理(app)"
  2290. ],
  2291. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  2292. "parameters": [
  2293. {
  2294. "type": "integer",
  2295. "description": "所属机构ID",
  2296. "name": "areaUserId",
  2297. "in": "query",
  2298. "required": true
  2299. }
  2300. ],
  2301. "responses": {
  2302. "200": {
  2303. "description": "OK",
  2304. "schema": {
  2305. "type": "array",
  2306. "items": {
  2307. "$ref": "#/definitions/ermcp.ExposureSpotRsp"
  2308. }
  2309. }
  2310. },
  2311. "500": {
  2312. "description": "Internal Server Error",
  2313. "schema": {
  2314. "$ref": "#/definitions/app.Response"
  2315. }
  2316. }
  2317. }
  2318. }
  2319. },
  2320. "/Ermcp/QueryExposureSpotDetail": {
  2321. "get": {
  2322. "security": [
  2323. {
  2324. "ApiKeyAuth": []
  2325. }
  2326. ],
  2327. "produces": [
  2328. "application/json"
  2329. ],
  2330. "tags": [
  2331. "企业风险管理(app)"
  2332. ],
  2333. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  2334. "parameters": [
  2335. {
  2336. "type": "integer",
  2337. "description": "所属机构ID",
  2338. "name": "areaUserId",
  2339. "in": "query",
  2340. "required": true
  2341. },
  2342. {
  2343. "type": "integer",
  2344. "description": "现货品种ID",
  2345. "name": "wrstandardId",
  2346. "in": "query",
  2347. "required": true
  2348. }
  2349. ],
  2350. "responses": {
  2351. "200": {
  2352. "description": "OK",
  2353. "schema": {
  2354. "type": "array",
  2355. "items": {
  2356. "$ref": "#/definitions/ermcp.ExposureSpotDetailRsp"
  2357. }
  2358. }
  2359. },
  2360. "500": {
  2361. "description": "Internal Server Error",
  2362. "schema": {
  2363. "$ref": "#/definitions/app.Response"
  2364. }
  2365. }
  2366. }
  2367. }
  2368. },
  2369. "/Ermcp/QueryFuturesCompany": {
  2370. "get": {
  2371. "security": [
  2372. {
  2373. "ApiKeyAuth": []
  2374. }
  2375. ],
  2376. "produces": [
  2377. "application/json"
  2378. ],
  2379. "tags": [
  2380. "企业风险管理(app)"
  2381. ],
  2382. "summary": "查询期货公司",
  2383. "responses": {
  2384. "200": {
  2385. "description": "OK",
  2386. "schema": {
  2387. "type": "array",
  2388. "items": {
  2389. "$ref": "#/definitions/models.ErmcpFuturesCompany"
  2390. }
  2391. }
  2392. },
  2393. "500": {
  2394. "description": "Internal Server Error",
  2395. "schema": {
  2396. "$ref": "#/definitions/app.Response"
  2397. }
  2398. }
  2399. }
  2400. }
  2401. },
  2402. "/Ermcp/QueryGGConvertConfig": {
  2403. "get": {
  2404. "security": [
  2405. {
  2406. "ApiKeyAuth": []
  2407. }
  2408. ],
  2409. "produces": [
  2410. "application/json"
  2411. ],
  2412. "tags": [
  2413. "企业风险管理(app)"
  2414. ],
  2415. "summary": "查询期货品种配置(菜单:商品信息/期货品种)",
  2416. "parameters": [
  2417. {
  2418. "type": "integer",
  2419. "description": "品种id(不填则查所有)",
  2420. "name": "goodsgroupid",
  2421. "in": "query"
  2422. }
  2423. ],
  2424. "responses": {
  2425. "200": {
  2426. "description": "OK",
  2427. "schema": {
  2428. "type": "array",
  2429. "items": {
  2430. "$ref": "#/definitions/ermcp.QryGGCovertCfgRsp"
  2431. }
  2432. }
  2433. },
  2434. "500": {
  2435. "description": "Internal Server Error",
  2436. "schema": {
  2437. "$ref": "#/definitions/app.Response"
  2438. }
  2439. }
  2440. }
  2441. }
  2442. },
  2443. "/Ermcp/QueryGoodsBrand": {
  2444. "get": {
  2445. "security": [
  2446. {
  2447. "ApiKeyAuth": []
  2448. }
  2449. ],
  2450. "produces": [
  2451. "application/json"
  2452. ],
  2453. "tags": [
  2454. "企业风险管理(app)"
  2455. ],
  2456. "summary": "查询商品品牌",
  2457. "parameters": [
  2458. {
  2459. "type": "integer",
  2460. "description": "用户ID",
  2461. "name": "userid",
  2462. "in": "query",
  2463. "required": true
  2464. },
  2465. {
  2466. "type": "integer",
  2467. "description": "现货商品ID",
  2468. "name": "wrstandardid",
  2469. "in": "query"
  2470. }
  2471. ],
  2472. "responses": {
  2473. "200": {
  2474. "description": "OK",
  2475. "schema": {
  2476. "type": "array",
  2477. "items": {
  2478. "$ref": "#/definitions/models.ErmcpGoodsBrand"
  2479. }
  2480. }
  2481. },
  2482. "500": {
  2483. "description": "Internal Server Error",
  2484. "schema": {
  2485. "$ref": "#/definitions/app.Response"
  2486. }
  2487. }
  2488. }
  2489. }
  2490. },
  2491. "/Ermcp/QueryGoodsModel": {
  2492. "get": {
  2493. "security": [
  2494. {
  2495. "ApiKeyAuth": []
  2496. }
  2497. ],
  2498. "produces": [
  2499. "application/json"
  2500. ],
  2501. "tags": [
  2502. "企业风险管理(app)"
  2503. ],
  2504. "summary": "查询商品型号",
  2505. "parameters": [
  2506. {
  2507. "type": "integer",
  2508. "description": "用户ID",
  2509. "name": "userid",
  2510. "in": "query",
  2511. "required": true
  2512. }
  2513. ],
  2514. "responses": {
  2515. "200": {
  2516. "description": "OK",
  2517. "schema": {
  2518. "type": "array",
  2519. "items": {
  2520. "$ref": "#/definitions/models.ErmcpGoodsModel"
  2521. }
  2522. }
  2523. },
  2524. "500": {
  2525. "description": "Internal Server Error",
  2526. "schema": {
  2527. "$ref": "#/definitions/app.Response"
  2528. }
  2529. }
  2530. }
  2531. }
  2532. },
  2533. "/Ermcp/QueryHisExposure": {
  2534. "get": {
  2535. "security": [
  2536. {
  2537. "ApiKeyAuth": []
  2538. }
  2539. ],
  2540. "produces": [
  2541. "application/json"
  2542. ],
  2543. "tags": [
  2544. "企业风险管理(app)"
  2545. ],
  2546. "summary": "查询历史敞口(菜单:敞口/历史敞口)",
  2547. "parameters": [
  2548. {
  2549. "type": "integer",
  2550. "description": "用户id",
  2551. "name": "userid",
  2552. "in": "query",
  2553. "required": true
  2554. },
  2555. {
  2556. "type": "integer",
  2557. "description": "每个品种记录数",
  2558. "name": "lastNum",
  2559. "in": "query",
  2560. "required": true
  2561. }
  2562. ],
  2563. "responses": {
  2564. "200": {
  2565. "description": "OK",
  2566. "schema": {
  2567. "type": "array",
  2568. "items": {
  2569. "$ref": "#/definitions/ermcp.HisExposureRsp"
  2570. }
  2571. }
  2572. },
  2573. "500": {
  2574. "description": "Internal Server Error",
  2575. "schema": {
  2576. "$ref": "#/definitions/app.Response"
  2577. }
  2578. }
  2579. }
  2580. }
  2581. },
  2582. "/Ermcp/QueryMiddleGoods": {
  2583. "get": {
  2584. "security": [
  2585. {
  2586. "ApiKeyAuth": []
  2587. }
  2588. ],
  2589. "produces": [
  2590. "application/json"
  2591. ],
  2592. "tags": [
  2593. "企业风险管理(app)"
  2594. ],
  2595. "summary": "查询套保品种(菜单:套保品种)",
  2596. "parameters": [
  2597. {
  2598. "type": "integer",
  2599. "description": "所属机构ID",
  2600. "name": "userid",
  2601. "in": "query",
  2602. "required": true
  2603. },
  2604. {
  2605. "type": "integer",
  2606. "description": "状态 0-停用 1-正常",
  2607. "name": "status",
  2608. "in": "query",
  2609. "required": true
  2610. }
  2611. ],
  2612. "responses": {
  2613. "200": {
  2614. "description": "OK",
  2615. "schema": {
  2616. "type": "array",
  2617. "items": {
  2618. "$ref": "#/definitions/ermcp.QryMiddleGoodsRsp"
  2619. }
  2620. }
  2621. },
  2622. "500": {
  2623. "description": "Internal Server Error",
  2624. "schema": {
  2625. "$ref": "#/definitions/app.Response"
  2626. }
  2627. }
  2628. }
  2629. }
  2630. },
  2631. "/Ermcp/QueryMiddleGoodsChangeLog": {
  2632. "get": {
  2633. "security": [
  2634. {
  2635. "ApiKeyAuth": []
  2636. }
  2637. ],
  2638. "produces": [
  2639. "application/json"
  2640. ],
  2641. "tags": [
  2642. "企业风险管理(app)"
  2643. ],
  2644. "summary": "查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)",
  2645. "parameters": [
  2646. {
  2647. "type": "integer",
  2648. "description": "所属机构ID",
  2649. "name": "userid",
  2650. "in": "query",
  2651. "required": true
  2652. },
  2653. {
  2654. "type": "integer",
  2655. "description": "套保品种id",
  2656. "name": "middlegoodsid",
  2657. "in": "query",
  2658. "required": true
  2659. }
  2660. ],
  2661. "responses": {
  2662. "200": {
  2663. "description": "OK",
  2664. "schema": {
  2665. "type": "array",
  2666. "items": {
  2667. "$ref": "#/definitions/ermcp.QryMGChangeLogRsp"
  2668. }
  2669. }
  2670. },
  2671. "500": {
  2672. "description": "Internal Server Error",
  2673. "schema": {
  2674. "$ref": "#/definitions/app.Response"
  2675. }
  2676. }
  2677. }
  2678. }
  2679. },
  2680. "/Ermcp/QueryMiddleGoodsDetail": {
  2681. "get": {
  2682. "security": [
  2683. {
  2684. "ApiKeyAuth": []
  2685. }
  2686. ],
  2687. "produces": [
  2688. "application/json"
  2689. ],
  2690. "tags": [
  2691. "企业风险管理(app)"
  2692. ],
  2693. "summary": "查询套保品种详情(菜单:套保品种/商品详情)",
  2694. "parameters": [
  2695. {
  2696. "type": "integer",
  2697. "description": "所属机构ID",
  2698. "name": "userid",
  2699. "in": "query",
  2700. "required": true
  2701. },
  2702. {
  2703. "type": "integer",
  2704. "description": "套保品种id",
  2705. "name": "middlegoodsid",
  2706. "in": "query"
  2707. }
  2708. ],
  2709. "responses": {
  2710. "200": {
  2711. "description": "OK",
  2712. "schema": {
  2713. "type": "array",
  2714. "items": {
  2715. "$ref": "#/definitions/ermcp.QryMiddleGoodsDetailRsp"
  2716. }
  2717. }
  2718. },
  2719. "500": {
  2720. "description": "Internal Server Error",
  2721. "schema": {
  2722. "$ref": "#/definitions/app.Response"
  2723. }
  2724. }
  2725. }
  2726. }
  2727. },
  2728. "/Ermcp/QueryPendingAuditInfo": {
  2729. "get": {
  2730. "security": [
  2731. {
  2732. "ApiKeyAuth": []
  2733. }
  2734. ],
  2735. "produces": [
  2736. "application/json"
  2737. ],
  2738. "tags": [
  2739. "企业风险管理(app)"
  2740. ],
  2741. "summary": "查询待审核数量信息(首页/菜单按钮小红点)",
  2742. "parameters": [
  2743. {
  2744. "type": "integer",
  2745. "description": "用户ID",
  2746. "name": "UserId",
  2747. "in": "query",
  2748. "required": true
  2749. }
  2750. ],
  2751. "responses": {
  2752. "200": {
  2753. "description": "OK",
  2754. "schema": {
  2755. "type": "array",
  2756. "items": {
  2757. "$ref": "#/definitions/ermcp.PendingAuditCntRsp"
  2758. }
  2759. }
  2760. },
  2761. "500": {
  2762. "description": "Internal Server Error",
  2763. "schema": {
  2764. "$ref": "#/definitions/app.Response"
  2765. }
  2766. }
  2767. }
  2768. }
  2769. },
  2770. "/Ermcp/QueryRealtimeExposure": {
  2771. "get": {
  2772. "security": [
  2773. {
  2774. "ApiKeyAuth": []
  2775. }
  2776. ],
  2777. "produces": [
  2778. "application/json"
  2779. ],
  2780. "tags": [
  2781. "企业风险管理(app)"
  2782. ],
  2783. "summary": "查询实时敞口",
  2784. "parameters": [
  2785. {
  2786. "type": "integer",
  2787. "description": "所属机构ID",
  2788. "name": "userid",
  2789. "in": "query",
  2790. "required": true
  2791. }
  2792. ],
  2793. "responses": {
  2794. "200": {
  2795. "description": "OK",
  2796. "schema": {
  2797. "type": "array",
  2798. "items": {
  2799. "$ref": "#/definitions/ermcp.RealtimeExposureRsp"
  2800. }
  2801. }
  2802. },
  2803. "500": {
  2804. "description": "Internal Server Error",
  2805. "schema": {
  2806. "$ref": "#/definitions/app.Response"
  2807. }
  2808. }
  2809. }
  2810. }
  2811. },
  2812. "/Ermcp/QueryRealtimeExposurePosition": {
  2813. "get": {
  2814. "security": [
  2815. {
  2816. "ApiKeyAuth": []
  2817. }
  2818. ],
  2819. "produces": [
  2820. "application/json"
  2821. ],
  2822. "tags": [
  2823. "企业风险管理(app)"
  2824. ],
  2825. "summary": "查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)",
  2826. "parameters": [
  2827. {
  2828. "type": "integer",
  2829. "description": "用户id",
  2830. "name": "userid",
  2831. "in": "query",
  2832. "required": true
  2833. },
  2834. {
  2835. "type": "integer",
  2836. "description": "套保商品ID",
  2837. "name": "middleGoodsId",
  2838. "in": "query",
  2839. "required": true
  2840. }
  2841. ],
  2842. "responses": {
  2843. "200": {
  2844. "description": "OK",
  2845. "schema": {
  2846. "type": "array",
  2847. "items": {
  2848. "$ref": "#/definitions/ermcp.RealtimeExposurePositionRsp"
  2849. }
  2850. }
  2851. },
  2852. "500": {
  2853. "description": "Internal Server Error",
  2854. "schema": {
  2855. "$ref": "#/definitions/app.Response"
  2856. }
  2857. }
  2858. }
  2859. }
  2860. },
  2861. "/Ermcp/QueryRoleMenu": {
  2862. "get": {
  2863. "security": [
  2864. {
  2865. "ApiKeyAuth": []
  2866. }
  2867. ],
  2868. "produces": [
  2869. "application/json"
  2870. ],
  2871. "tags": [
  2872. "企业风险管理(app)"
  2873. ],
  2874. "summary": "查询角色菜单和权限",
  2875. "parameters": [
  2876. {
  2877. "type": "integer",
  2878. "description": "登录ID",
  2879. "name": "loginid",
  2880. "in": "query",
  2881. "required": true
  2882. },
  2883. {
  2884. "type": "integer",
  2885. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易",
  2886. "name": "menutype",
  2887. "in": "query"
  2888. }
  2889. ],
  2890. "responses": {
  2891. "200": {
  2892. "description": "OK",
  2893. "schema": {
  2894. "type": "array",
  2895. "items": {
  2896. "$ref": "#/definitions/models.RoleMenu"
  2897. }
  2898. }
  2899. },
  2900. "500": {
  2901. "description": "Internal Server Error",
  2902. "schema": {
  2903. "$ref": "#/definitions/app.Response"
  2904. }
  2905. }
  2906. }
  2907. }
  2908. },
  2909. "/Ermcp/QueryTradeConfigTMP": {
  2910. "get": {
  2911. "security": [
  2912. {
  2913. "ApiKeyAuth": []
  2914. }
  2915. ],
  2916. "produces": [
  2917. "application/json"
  2918. ],
  2919. "tags": [
  2920. "企业风险管理(app)"
  2921. ],
  2922. "summary": "查询交易模板配置",
  2923. "parameters": [
  2924. {
  2925. "type": "integer",
  2926. "description": "所属机构id",
  2927. "name": "areauserid",
  2928. "in": "query"
  2929. }
  2930. ],
  2931. "responses": {
  2932. "200": {
  2933. "description": "OK",
  2934. "schema": {
  2935. "type": "array",
  2936. "items": {
  2937. "$ref": "#/definitions/models.ErmcpTradeConfigTMP"
  2938. }
  2939. }
  2940. },
  2941. "500": {
  2942. "description": "Internal Server Error",
  2943. "schema": {
  2944. "$ref": "#/definitions/app.Response"
  2945. }
  2946. }
  2947. }
  2948. }
  2949. },
  2950. "/Ermcp/QueryUserInfo": {
  2951. "get": {
  2952. "security": [
  2953. {
  2954. "ApiKeyAuth": []
  2955. }
  2956. ],
  2957. "produces": [
  2958. "application/json"
  2959. ],
  2960. "tags": [
  2961. "企业风险管理(app)"
  2962. ],
  2963. "summary": "查询客户资料",
  2964. "parameters": [
  2965. {
  2966. "type": "integer",
  2967. "description": "所属机构用户ID",
  2968. "name": "MemberUserID",
  2969. "in": "query",
  2970. "required": true
  2971. },
  2972. {
  2973. "type": "integer",
  2974. "description": "查询类型(1:未提交 2:待审核 3:正常 4:停用)",
  2975. "name": "queryType",
  2976. "in": "query",
  2977. "required": true
  2978. }
  2979. ],
  2980. "responses": {
  2981. "200": {
  2982. "description": "OK",
  2983. "schema": {
  2984. "type": "array",
  2985. "items": {
  2986. "$ref": "#/definitions/ermcp.QryUserInfoRsp"
  2987. }
  2988. }
  2989. },
  2990. "500": {
  2991. "description": "Internal Server Error",
  2992. "schema": {
  2993. "$ref": "#/definitions/app.Response"
  2994. }
  2995. }
  2996. }
  2997. }
  2998. },
  2999. "/Ermcp/QueryWarehouseInfo": {
  3000. "get": {
  3001. "security": [
  3002. {
  3003. "ApiKeyAuth": []
  3004. }
  3005. ],
  3006. "produces": [
  3007. "application/json"
  3008. ],
  3009. "tags": [
  3010. "企业风险管理(app)"
  3011. ],
  3012. "summary": "查询仓库信息",
  3013. "parameters": [
  3014. {
  3015. "type": "integer",
  3016. "description": "用户ID",
  3017. "name": "userid",
  3018. "in": "query",
  3019. "required": true
  3020. },
  3021. {
  3022. "type": "string",
  3023. "description": "仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝",
  3024. "name": "status",
  3025. "in": "query"
  3026. }
  3027. ],
  3028. "responses": {
  3029. "200": {
  3030. "description": "OK",
  3031. "schema": {
  3032. "type": "array",
  3033. "items": {
  3034. "$ref": "#/definitions/ermcp.QryWarehouseRsp"
  3035. }
  3036. }
  3037. },
  3038. "500": {
  3039. "description": "Internal Server Error",
  3040. "schema": {
  3041. "$ref": "#/definitions/app.Response"
  3042. }
  3043. }
  3044. }
  3045. }
  3046. },
  3047. "/Ermcp3/QryAreaExpourseContractDetail": {
  3048. "get": {
  3049. "security": [
  3050. {
  3051. "ApiKeyAuth": []
  3052. }
  3053. ],
  3054. "produces": [
  3055. "application/json"
  3056. ],
  3057. "tags": [
  3058. "企业风险管理v3(app)"
  3059. ],
  3060. "summary": "查询敞口合同明细(敞口报表/现货合同明细)",
  3061. "parameters": [
  3062. {
  3063. "type": "integer",
  3064. "description": "用户ID",
  3065. "name": "userid",
  3066. "in": "query",
  3067. "required": true
  3068. },
  3069. {
  3070. "type": "integer",
  3071. "description": "套保商品id",
  3072. "name": "middlegoodsid",
  3073. "in": "query",
  3074. "required": true
  3075. },
  3076. {
  3077. "type": "integer",
  3078. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3079. "name": "cycletype",
  3080. "in": "query",
  3081. "required": true
  3082. },
  3083. {
  3084. "type": "string",
  3085. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3086. "name": "cycletime",
  3087. "in": "query",
  3088. "required": true
  3089. }
  3090. ],
  3091. "responses": {
  3092. "200": {
  3093. "description": "OK",
  3094. "schema": {
  3095. "type": "array",
  3096. "items": {
  3097. "$ref": "#/definitions/models.Ermcp3ExposureContractDetail"
  3098. }
  3099. }
  3100. },
  3101. "500": {
  3102. "description": "Internal Server Error",
  3103. "schema": {
  3104. "$ref": "#/definitions/app.Response"
  3105. }
  3106. }
  3107. }
  3108. }
  3109. },
  3110. "/Ermcp3/QryAreaExpourseFutuDetail": {
  3111. "get": {
  3112. "security": [
  3113. {
  3114. "ApiKeyAuth": []
  3115. }
  3116. ],
  3117. "produces": [
  3118. "application/json"
  3119. ],
  3120. "tags": [
  3121. "企业风险管理v3(app)"
  3122. ],
  3123. "summary": "查询敞口期货明细(敞口报表/期货明细)",
  3124. "parameters": [
  3125. {
  3126. "type": "integer",
  3127. "description": "用户ID",
  3128. "name": "userid",
  3129. "in": "query",
  3130. "required": true
  3131. },
  3132. {
  3133. "type": "integer",
  3134. "description": "套保商品id",
  3135. "name": "middlegoodsid",
  3136. "in": "query",
  3137. "required": true
  3138. },
  3139. {
  3140. "type": "integer",
  3141. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3142. "name": "cycletype",
  3143. "in": "query",
  3144. "required": true
  3145. },
  3146. {
  3147. "type": "string",
  3148. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3149. "name": "cycletime",
  3150. "in": "query",
  3151. "required": true
  3152. }
  3153. ],
  3154. "responses": {
  3155. "200": {
  3156. "description": "OK",
  3157. "schema": {
  3158. "type": "array",
  3159. "items": {
  3160. "$ref": "#/definitions/models.Ermcp3ExposureFutuDetail"
  3161. }
  3162. }
  3163. },
  3164. "500": {
  3165. "description": "Internal Server Error",
  3166. "schema": {
  3167. "$ref": "#/definitions/app.Response"
  3168. }
  3169. }
  3170. }
  3171. }
  3172. },
  3173. "/Ermcp3/QryAreaExpourseHedgeplanDetail": {
  3174. "get": {
  3175. "security": [
  3176. {
  3177. "ApiKeyAuth": []
  3178. }
  3179. ],
  3180. "produces": [
  3181. "application/json"
  3182. ],
  3183. "tags": [
  3184. "企业风险管理v3(app)"
  3185. ],
  3186. "summary": "查询敞口套保计划明细(敞口报表/套保计划明细)",
  3187. "parameters": [
  3188. {
  3189. "type": "integer",
  3190. "description": "用户ID",
  3191. "name": "userid",
  3192. "in": "query",
  3193. "required": true
  3194. },
  3195. {
  3196. "type": "integer",
  3197. "description": "套保商品id",
  3198. "name": "middlegoodsid",
  3199. "in": "query",
  3200. "required": true
  3201. },
  3202. {
  3203. "type": "integer",
  3204. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3205. "name": "cycletype",
  3206. "in": "query",
  3207. "required": true
  3208. },
  3209. {
  3210. "type": "string",
  3211. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3212. "name": "cycletime",
  3213. "in": "query",
  3214. "required": true
  3215. }
  3216. ],
  3217. "responses": {
  3218. "200": {
  3219. "description": "OK",
  3220. "schema": {
  3221. "type": "array",
  3222. "items": {
  3223. "$ref": "#/definitions/models.Ermcp3ExposureHedgeplanDetail"
  3224. }
  3225. }
  3226. },
  3227. "500": {
  3228. "description": "Internal Server Error",
  3229. "schema": {
  3230. "$ref": "#/definitions/app.Response"
  3231. }
  3232. }
  3233. }
  3234. }
  3235. },
  3236. "/Ermcp3/QryAreaExpourseParamChLogDetail": {
  3237. "get": {
  3238. "security": [
  3239. {
  3240. "ApiKeyAuth": []
  3241. }
  3242. ],
  3243. "produces": [
  3244. "application/json"
  3245. ],
  3246. "tags": [
  3247. "企业风险管理v3(app)"
  3248. ],
  3249. "summary": "查询敞口参数调整明细(敞口报表/参数调整明细)",
  3250. "parameters": [
  3251. {
  3252. "type": "integer",
  3253. "description": "用户ID",
  3254. "name": "userid",
  3255. "in": "query",
  3256. "required": true
  3257. },
  3258. {
  3259. "type": "integer",
  3260. "description": "套保商品id",
  3261. "name": "middlegoodsid",
  3262. "in": "query",
  3263. "required": true
  3264. },
  3265. {
  3266. "type": "integer",
  3267. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3268. "name": "cycletype",
  3269. "in": "query",
  3270. "required": true
  3271. },
  3272. {
  3273. "type": "string",
  3274. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3275. "name": "cycletime",
  3276. "in": "query",
  3277. "required": true
  3278. }
  3279. ],
  3280. "responses": {
  3281. "200": {
  3282. "description": "OK",
  3283. "schema": {
  3284. "type": "array",
  3285. "items": {
  3286. "$ref": "#/definitions/models.Ermcp3ExposureParamChLog"
  3287. }
  3288. }
  3289. },
  3290. "500": {
  3291. "description": "Internal Server Error",
  3292. "schema": {
  3293. "$ref": "#/definitions/app.Response"
  3294. }
  3295. }
  3296. }
  3297. }
  3298. },
  3299. "/Ermcp3/QryAreaExpourseReport": {
  3300. "get": {
  3301. "security": [
  3302. {
  3303. "ApiKeyAuth": []
  3304. }
  3305. ],
  3306. "produces": [
  3307. "application/json"
  3308. ],
  3309. "tags": [
  3310. "企业风险管理v3(app)"
  3311. ],
  3312. "summary": "查询敞口报表",
  3313. "parameters": [
  3314. {
  3315. "type": "integer",
  3316. "description": "用户ID",
  3317. "name": "userid",
  3318. "in": "query",
  3319. "required": true
  3320. },
  3321. {
  3322. "type": "integer",
  3323. "description": "查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口",
  3324. "name": "querytype",
  3325. "in": "query",
  3326. "required": true
  3327. },
  3328. {
  3329. "type": "integer",
  3330. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3331. "name": "cycletype",
  3332. "in": "query",
  3333. "required": true
  3334. },
  3335. {
  3336. "type": "string",
  3337. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3338. "name": "cycletime",
  3339. "in": "query",
  3340. "required": true
  3341. }
  3342. ],
  3343. "responses": {
  3344. "200": {
  3345. "description": "OK",
  3346. "schema": {
  3347. "type": "array",
  3348. "items": {
  3349. "$ref": "#/definitions/models.Ermcp3ExpourseReport"
  3350. }
  3351. }
  3352. },
  3353. "500": {
  3354. "description": "Internal Server Error",
  3355. "schema": {
  3356. "$ref": "#/definitions/app.Response"
  3357. }
  3358. }
  3359. }
  3360. }
  3361. },
  3362. "/Ermcp3/QryAreaSpotplReport": {
  3363. "get": {
  3364. "security": [
  3365. {
  3366. "ApiKeyAuth": []
  3367. }
  3368. ],
  3369. "description": "目前pcweb的日/周/月报表与手机端的汇总维度不同, 所以增加了可选参数sumflag参数, pcweb请填1",
  3370. "produces": [
  3371. "application/json"
  3372. ],
  3373. "tags": [
  3374. "企业风险管理v3(app)"
  3375. ],
  3376. "summary": "查询现货报表",
  3377. "parameters": [
  3378. {
  3379. "type": "integer",
  3380. "description": "用户ID",
  3381. "name": "userid",
  3382. "in": "query",
  3383. "required": true
  3384. },
  3385. {
  3386. "type": "integer",
  3387. "description": "查询类型 1-报表 2-报表明细",
  3388. "name": "querytype",
  3389. "in": "query",
  3390. "required": true
  3391. },
  3392. {
  3393. "type": "integer",
  3394. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3395. "name": "cycletype",
  3396. "in": "query",
  3397. "required": true
  3398. },
  3399. {
  3400. "type": "string",
  3401. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3402. "name": "cycletime",
  3403. "in": "query",
  3404. "required": true
  3405. },
  3406. {
  3407. "type": "integer",
  3408. "description": "现货品种id(明细必填)",
  3409. "name": "deliverygoodsid",
  3410. "in": "query"
  3411. },
  3412. {
  3413. "type": "integer",
  3414. "description": "币种id(明细必填)",
  3415. "name": "currencyid",
  3416. "in": "query"
  3417. },
  3418. {
  3419. "type": "integer",
  3420. "description": "日/周/月报表汇总维度 1:品种+品类",
  3421. "name": "sumflag",
  3422. "in": "query"
  3423. }
  3424. ],
  3425. "responses": {
  3426. "200": {
  3427. "description": "OK",
  3428. "schema": {
  3429. "type": "array",
  3430. "items": {
  3431. "$ref": "#/definitions/models.Ermcp3AreaSpotPLReport"
  3432. }
  3433. }
  3434. },
  3435. "500": {
  3436. "description": "Internal Server Error",
  3437. "schema": {
  3438. "$ref": "#/definitions/app.Response"
  3439. }
  3440. }
  3441. }
  3442. }
  3443. },
  3444. "/Ermcp3/QryAreaStockReport": {
  3445. "get": {
  3446. "security": [
  3447. {
  3448. "ApiKeyAuth": []
  3449. }
  3450. ],
  3451. "produces": [
  3452. "application/json"
  3453. ],
  3454. "tags": [
  3455. "企业风险管理v3(app)"
  3456. ],
  3457. "summary": "查询库存报表",
  3458. "parameters": [
  3459. {
  3460. "type": "integer",
  3461. "description": "用户ID",
  3462. "name": "userid",
  3463. "in": "query",
  3464. "required": true
  3465. },
  3466. {
  3467. "type": "integer",
  3468. "description": "查询类型 1-报表 2-报表明细",
  3469. "name": "querytype",
  3470. "in": "query",
  3471. "required": true
  3472. },
  3473. {
  3474. "type": "integer",
  3475. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3476. "name": "cycletype",
  3477. "in": "query",
  3478. "required": true
  3479. },
  3480. {
  3481. "type": "string",
  3482. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3483. "name": "cycletime",
  3484. "in": "query",
  3485. "required": true
  3486. },
  3487. {
  3488. "type": "string",
  3489. "description": "汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库",
  3490. "name": "sumfields",
  3491. "in": "query"
  3492. },
  3493. {
  3494. "type": "integer",
  3495. "description": "品种ID",
  3496. "name": "deliverygoodsid",
  3497. "in": "query"
  3498. },
  3499. {
  3500. "type": "integer",
  3501. "description": "品类ID",
  3502. "name": "wrstandardid",
  3503. "in": "query"
  3504. },
  3505. {
  3506. "type": "integer",
  3507. "description": "品牌ID",
  3508. "name": "spotgoodsbrandid",
  3509. "in": "query"
  3510. },
  3511. {
  3512. "type": "integer",
  3513. "description": "仓库ID",
  3514. "name": "warehouseinfoid",
  3515. "in": "query"
  3516. }
  3517. ],
  3518. "responses": {
  3519. "200": {
  3520. "description": "OK",
  3521. "schema": {
  3522. "type": "array",
  3523. "items": {
  3524. "$ref": "#/definitions/models.Ermcp3AreaStockReportEx"
  3525. }
  3526. }
  3527. },
  3528. "500": {
  3529. "description": "Internal Server Error",
  3530. "schema": {
  3531. "$ref": "#/definitions/app.Response"
  3532. }
  3533. }
  3534. }
  3535. }
  3536. },
  3537. "/Ermcp3/QryAreaSumPL": {
  3538. "get": {
  3539. "security": [
  3540. {
  3541. "ApiKeyAuth": []
  3542. }
  3543. ],
  3544. "produces": [
  3545. "application/json"
  3546. ],
  3547. "tags": [
  3548. "企业风险管理v3(app)"
  3549. ],
  3550. "summary": "查询汇总损益表",
  3551. "parameters": [
  3552. {
  3553. "type": "integer",
  3554. "description": "用户ID",
  3555. "name": "userid",
  3556. "in": "query",
  3557. "required": true
  3558. },
  3559. {
  3560. "type": "integer",
  3561. "description": "查询类型 1-报表 2-报表明细",
  3562. "name": "querytype",
  3563. "in": "query",
  3564. "required": true
  3565. },
  3566. {
  3567. "type": "integer",
  3568. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3569. "name": "cycletype",
  3570. "in": "query",
  3571. "required": true
  3572. },
  3573. {
  3574. "type": "string",
  3575. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3576. "name": "cycletime",
  3577. "in": "query",
  3578. "required": true
  3579. },
  3580. {
  3581. "type": "integer",
  3582. "description": "币种id(明细必填)",
  3583. "name": "currencyid",
  3584. "in": "query"
  3585. }
  3586. ],
  3587. "responses": {
  3588. "200": {
  3589. "description": "OK",
  3590. "schema": {
  3591. "type": "array",
  3592. "items": {
  3593. "$ref": "#/definitions/models.Ermcp3ArealSumPL"
  3594. }
  3595. }
  3596. },
  3597. "500": {
  3598. "description": "Internal Server Error",
  3599. "schema": {
  3600. "$ref": "#/definitions/app.Response"
  3601. }
  3602. }
  3603. }
  3604. }
  3605. },
  3606. "/Ermcp3/QryFinanceReport": {
  3607. "get": {
  3608. "security": [
  3609. {
  3610. "ApiKeyAuth": []
  3611. }
  3612. ],
  3613. "produces": [
  3614. "application/json"
  3615. ],
  3616. "tags": [
  3617. "企业风险管理v3(app)"
  3618. ],
  3619. "summary": "查询财务报表",
  3620. "parameters": [
  3621. {
  3622. "type": "integer",
  3623. "description": "用户ID",
  3624. "name": "userid",
  3625. "in": "query",
  3626. "required": true
  3627. },
  3628. {
  3629. "type": "integer",
  3630. "description": "查询类型 1-报表 2-报表明细",
  3631. "name": "querytype",
  3632. "in": "query",
  3633. "required": true
  3634. },
  3635. {
  3636. "type": "integer",
  3637. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3638. "name": "cycletype",
  3639. "in": "query",
  3640. "required": true
  3641. },
  3642. {
  3643. "type": "string",
  3644. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3645. "name": "cycletime",
  3646. "in": "query",
  3647. "required": true
  3648. },
  3649. {
  3650. "type": "integer",
  3651. "description": "币种id(报表明细必填)",
  3652. "name": "currencyid",
  3653. "in": "query"
  3654. },
  3655. {
  3656. "type": "string",
  3657. "description": "汇总维度(逗号隔开) 1-品种 2-品类 3-品牌",
  3658. "name": "sumfields",
  3659. "in": "query"
  3660. }
  3661. ],
  3662. "responses": {
  3663. "200": {
  3664. "description": "OK",
  3665. "schema": {
  3666. "type": "array",
  3667. "items": {
  3668. "$ref": "#/definitions/models.Ermcp3FinanceReport"
  3669. }
  3670. }
  3671. },
  3672. "500": {
  3673. "description": "Internal Server Error",
  3674. "schema": {
  3675. "$ref": "#/definitions/app.Response"
  3676. }
  3677. }
  3678. }
  3679. }
  3680. },
  3681. "/Ermcp3/QrySCMiddleGoodsReport": {
  3682. "get": {
  3683. "security": [
  3684. {
  3685. "ApiKeyAuth": []
  3686. }
  3687. ],
  3688. "produces": [
  3689. "application/json"
  3690. ],
  3691. "tags": [
  3692. "企业风险管理v3(app)"
  3693. ],
  3694. "summary": "查询定价报表",
  3695. "parameters": [
  3696. {
  3697. "type": "integer",
  3698. "description": "用户ID",
  3699. "name": "userid",
  3700. "in": "query",
  3701. "required": true
  3702. },
  3703. {
  3704. "type": "integer",
  3705. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3706. "name": "cycletype",
  3707. "in": "query",
  3708. "required": true
  3709. },
  3710. {
  3711. "type": "string",
  3712. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3713. "name": "cycletime",
  3714. "in": "query",
  3715. "required": true
  3716. },
  3717. {
  3718. "type": "integer",
  3719. "description": "合同id",
  3720. "name": "spotcontractid",
  3721. "in": "query"
  3722. },
  3723. {
  3724. "type": "integer",
  3725. "description": "套保品种id",
  3726. "name": "middlegoodsid",
  3727. "in": "query"
  3728. },
  3729. {
  3730. "type": "integer",
  3731. "description": "现货品种id",
  3732. "name": "deliverygoodsid",
  3733. "in": "query"
  3734. },
  3735. {
  3736. "type": "integer",
  3737. "description": "现货商品id",
  3738. "name": "wrstandardid",
  3739. "in": "query"
  3740. },
  3741. {
  3742. "type": "string",
  3743. "description": "合同编号(模糊匹配)",
  3744. "name": "contractno",
  3745. "in": "query"
  3746. }
  3747. ],
  3748. "responses": {
  3749. "200": {
  3750. "description": "OK",
  3751. "schema": {
  3752. "type": "array",
  3753. "items": {
  3754. "$ref": "#/definitions/models.Ermcp3SCMiddleGoodsReport"
  3755. }
  3756. }
  3757. },
  3758. "500": {
  3759. "description": "Internal Server Error",
  3760. "schema": {
  3761. "$ref": "#/definitions/app.Response"
  3762. }
  3763. }
  3764. }
  3765. }
  3766. },
  3767. "/Ermcp3/QryTaFutureDataReport": {
  3768. "get": {
  3769. "security": [
  3770. {
  3771. "ApiKeyAuth": []
  3772. }
  3773. ],
  3774. "produces": [
  3775. "application/json"
  3776. ],
  3777. "tags": [
  3778. "企业风险管理v3(app)"
  3779. ],
  3780. "summary": "查询期货报表",
  3781. "parameters": [
  3782. {
  3783. "type": "integer",
  3784. "description": "用户ID",
  3785. "name": "userid",
  3786. "in": "query",
  3787. "required": true
  3788. },
  3789. {
  3790. "type": "integer",
  3791. "description": "查询类型 1-报表 2-报表明细",
  3792. "name": "querytype",
  3793. "in": "query",
  3794. "required": true
  3795. },
  3796. {
  3797. "type": "integer",
  3798. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3799. "name": "cycletype",
  3800. "in": "query",
  3801. "required": true
  3802. },
  3803. {
  3804. "type": "string",
  3805. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3806. "name": "cycletime",
  3807. "in": "query",
  3808. "required": true
  3809. },
  3810. {
  3811. "type": "integer",
  3812. "description": "币种id(查明细必填)",
  3813. "name": "currencyid",
  3814. "in": "query"
  3815. },
  3816. {
  3817. "type": "integer",
  3818. "description": "品种id(查明细必填)",
  3819. "name": "goodsgroupid",
  3820. "in": "query"
  3821. },
  3822. {
  3823. "type": "integer",
  3824. "description": "商品id(查明细必填)",
  3825. "name": "goodsid",
  3826. "in": "query"
  3827. },
  3828. {
  3829. "type": "integer",
  3830. "description": "买卖方向(查明细必填)",
  3831. "name": "buyorsell",
  3832. "in": "query"
  3833. }
  3834. ],
  3835. "responses": {
  3836. "200": {
  3837. "description": "OK",
  3838. "schema": {
  3839. "type": "array",
  3840. "items": {
  3841. "$ref": "#/definitions/models.Ermcp3TaFutuReDataReport"
  3842. }
  3843. }
  3844. },
  3845. "500": {
  3846. "description": "Internal Server Error",
  3847. "schema": {
  3848. "$ref": "#/definitions/app.Response"
  3849. }
  3850. }
  3851. }
  3852. }
  3853. },
  3854. "/Ermcp3/QueryAreaStock": {
  3855. "get": {
  3856. "security": [
  3857. {
  3858. "ApiKeyAuth": []
  3859. }
  3860. ],
  3861. "produces": [
  3862. "application/json"
  3863. ],
  3864. "tags": [
  3865. "企业风险管理v3(app)"
  3866. ],
  3867. "summary": "查询机构库存(库存管理/当前库存)",
  3868. "parameters": [
  3869. {
  3870. "type": "integer",
  3871. "description": "用户ID",
  3872. "name": "userid",
  3873. "in": "query",
  3874. "required": true
  3875. }
  3876. ],
  3877. "responses": {
  3878. "200": {
  3879. "description": "OK",
  3880. "schema": {
  3881. "type": "array",
  3882. "items": {
  3883. "$ref": "#/definitions/models.Ermcp3AreaStock"
  3884. }
  3885. }
  3886. },
  3887. "500": {
  3888. "description": "Internal Server Error",
  3889. "schema": {
  3890. "$ref": "#/definitions/app.Response"
  3891. }
  3892. }
  3893. }
  3894. }
  3895. },
  3896. "/Ermcp3/QueryAreaStockApply": {
  3897. "get": {
  3898. "security": [
  3899. {
  3900. "ApiKeyAuth": []
  3901. }
  3902. ],
  3903. "produces": [
  3904. "application/json"
  3905. ],
  3906. "tags": [
  3907. "企业风险管理v3(app)"
  3908. ],
  3909. "summary": "查询库存申请(出入库记录|库存审核)",
  3910. "parameters": [
  3911. {
  3912. "type": "integer",
  3913. "description": "用户ID",
  3914. "name": "userid",
  3915. "in": "query",
  3916. "required": true
  3917. },
  3918. {
  3919. "type": "integer",
  3920. "description": "用户类型 2-机构 7-企业成员",
  3921. "name": "usertype",
  3922. "in": "query"
  3923. },
  3924. {
  3925. "type": "integer",
  3926. "description": "现货商品ID",
  3927. "name": "deliverygoodsid",
  3928. "in": "query"
  3929. },
  3930. {
  3931. "type": "string",
  3932. "description": "出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  3933. "name": "inouttype",
  3934. "in": "query"
  3935. },
  3936. {
  3937. "type": "integer",
  3938. "description": "合同ID",
  3939. "name": "spotcontractid",
  3940. "in": "query"
  3941. },
  3942. {
  3943. "type": "integer",
  3944. "description": "品类ID",
  3945. "name": "wrstandardid",
  3946. "in": "query"
  3947. },
  3948. {
  3949. "type": "integer",
  3950. "description": "品牌ID",
  3951. "name": "spotgoodsbrandid",
  3952. "in": "query"
  3953. },
  3954. {
  3955. "type": "integer",
  3956. "description": "仓库ID",
  3957. "name": "warehouseinfoid",
  3958. "in": "query"
  3959. },
  3960. {
  3961. "type": "string",
  3962. "description": "申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  3963. "name": "applystatus",
  3964. "in": "query"
  3965. }
  3966. ],
  3967. "responses": {
  3968. "200": {
  3969. "description": "OK",
  3970. "schema": {
  3971. "type": "array",
  3972. "items": {
  3973. "$ref": "#/definitions/models.Ermcp3AreaStockApply"
  3974. }
  3975. }
  3976. },
  3977. "500": {
  3978. "description": "Internal Server Error",
  3979. "schema": {
  3980. "$ref": "#/definitions/app.Response"
  3981. }
  3982. }
  3983. }
  3984. }
  3985. },
  3986. "/Ermcp3/QueryAreaStockApplySum": {
  3987. "get": {
  3988. "security": [
  3989. {
  3990. "ApiKeyAuth": []
  3991. }
  3992. ],
  3993. "produces": [
  3994. "application/json"
  3995. ],
  3996. "tags": [
  3997. "企业风险管理v3(app)"
  3998. ],
  3999. "summary": "查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)",
  4000. "parameters": [
  4001. {
  4002. "type": "integer",
  4003. "description": "合同ID",
  4004. "name": "spotcontractid",
  4005. "in": "query",
  4006. "required": true
  4007. }
  4008. ],
  4009. "responses": {
  4010. "200": {
  4011. "description": "OK",
  4012. "schema": {
  4013. "type": "array",
  4014. "items": {
  4015. "$ref": "#/definitions/models.Ermcp3AreaStockApplySum"
  4016. }
  4017. }
  4018. },
  4019. "500": {
  4020. "description": "Internal Server Error",
  4021. "schema": {
  4022. "$ref": "#/definitions/app.Response"
  4023. }
  4024. }
  4025. }
  4026. }
  4027. },
  4028. "/Ermcp3/QueryDGFactoryItem": {
  4029. "get": {
  4030. "security": [
  4031. {
  4032. "ApiKeyAuth": []
  4033. }
  4034. ],
  4035. "produces": [
  4036. "application/json"
  4037. ],
  4038. "tags": [
  4039. "企业风险管理v3(app)"
  4040. ],
  4041. "summary": "查询品种要素定义项",
  4042. "parameters": [
  4043. {
  4044. "type": "integer",
  4045. "description": "用户id",
  4046. "name": "userid",
  4047. "in": "query"
  4048. },
  4049. {
  4050. "type": "integer",
  4051. "description": "用户类型 2-机构 7-企业成员",
  4052. "name": "usertype",
  4053. "in": "query"
  4054. },
  4055. {
  4056. "type": "integer",
  4057. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  4058. "name": "dgfactoryitemid",
  4059. "in": "query"
  4060. },
  4061. {
  4062. "type": "integer",
  4063. "description": "现货品种ID",
  4064. "name": "deliverygoodsid",
  4065. "in": "query"
  4066. },
  4067. {
  4068. "type": "integer",
  4069. "description": "要素项类型",
  4070. "name": "dgfactoryitemtypeid",
  4071. "in": "query"
  4072. },
  4073. {
  4074. "type": "integer",
  4075. "description": "顺序",
  4076. "name": "orderindex",
  4077. "in": "query"
  4078. }
  4079. ],
  4080. "responses": {
  4081. "200": {
  4082. "description": "OK",
  4083. "schema": {
  4084. "type": "array",
  4085. "items": {
  4086. "$ref": "#/definitions/models.ErmcpDGFactoryItem"
  4087. }
  4088. }
  4089. },
  4090. "500": {
  4091. "description": "Internal Server Error",
  4092. "schema": {
  4093. "$ref": "#/definitions/app.Response"
  4094. }
  4095. }
  4096. }
  4097. }
  4098. },
  4099. "/Ermcp3/QueryDeliveryGoods": {
  4100. "get": {
  4101. "security": [
  4102. {
  4103. "ApiKeyAuth": []
  4104. }
  4105. ],
  4106. "produces": [
  4107. "application/json"
  4108. ],
  4109. "tags": [
  4110. "企业风险管理v3(app)"
  4111. ],
  4112. "summary": "查询现货商品",
  4113. "parameters": [
  4114. {
  4115. "type": "integer",
  4116. "description": "用户id",
  4117. "name": "userid",
  4118. "in": "query",
  4119. "required": true
  4120. },
  4121. {
  4122. "type": "integer",
  4123. "description": "用户类型 2-机构 7-企业成员",
  4124. "name": "usertype",
  4125. "in": "query"
  4126. },
  4127. {
  4128. "type": "integer",
  4129. "description": "排除已配置的业务类型商品 1-套保 2-套利",
  4130. "name": "excludecfg",
  4131. "in": "query"
  4132. }
  4133. ],
  4134. "responses": {
  4135. "200": {
  4136. "description": "OK",
  4137. "schema": {
  4138. "type": "array",
  4139. "items": {
  4140. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  4141. }
  4142. }
  4143. },
  4144. "500": {
  4145. "description": "Internal Server Error",
  4146. "schema": {
  4147. "$ref": "#/definitions/app.Response"
  4148. }
  4149. }
  4150. }
  4151. }
  4152. },
  4153. "/Ermcp3/QueryDeliveryGoodsDetail": {
  4154. "get": {
  4155. "security": [
  4156. {
  4157. "ApiKeyAuth": []
  4158. }
  4159. ],
  4160. "produces": [
  4161. "application/json"
  4162. ],
  4163. "tags": [
  4164. "企业风险管理v3(app)"
  4165. ],
  4166. "summary": "查询现货商品详情",
  4167. "parameters": [
  4168. {
  4169. "type": "integer",
  4170. "description": "用户id",
  4171. "name": "userid",
  4172. "in": "query",
  4173. "required": true
  4174. },
  4175. {
  4176. "type": "integer",
  4177. "description": "用户类型 2-机构 7-企业成员",
  4178. "name": "usertype",
  4179. "in": "query"
  4180. },
  4181. {
  4182. "type": "integer",
  4183. "description": "现货商品id",
  4184. "name": "deliverygoodsid",
  4185. "in": "query"
  4186. },
  4187. {
  4188. "type": "integer",
  4189. "description": "过滤下级为空, 1-过滤. 比如 品种大豆的下级品类列表为空, 则大豆不显示; 比如品类的下级套保品列表为空, 则该品类不显示",
  4190. "name": "filtersubempty",
  4191. "in": "query"
  4192. }
  4193. ],
  4194. "responses": {
  4195. "200": {
  4196. "description": "OK",
  4197. "schema": {
  4198. "type": "array",
  4199. "items": {
  4200. "$ref": "#/definitions/models.XHDeliveryGoods"
  4201. }
  4202. }
  4203. },
  4204. "500": {
  4205. "description": "Internal Server Error",
  4206. "schema": {
  4207. "$ref": "#/definitions/app.Response"
  4208. }
  4209. }
  4210. }
  4211. }
  4212. },
  4213. "/Ermcp3/QueryErmcp3ContractMiddleGoodsCfg": {
  4214. "get": {
  4215. "security": [
  4216. {
  4217. "ApiKeyAuth": []
  4218. }
  4219. ],
  4220. "produces": [
  4221. "application/json"
  4222. ],
  4223. "tags": [
  4224. "企业风险管理v3(app)"
  4225. ],
  4226. "summary": "查询现货合同期现配置信息",
  4227. "parameters": [
  4228. {
  4229. "type": "string",
  4230. "description": "合同id",
  4231. "name": "spotcontractid",
  4232. "in": "query",
  4233. "required": true
  4234. }
  4235. ],
  4236. "responses": {
  4237. "200": {
  4238. "description": "OK",
  4239. "schema": {
  4240. "type": "array",
  4241. "items": {
  4242. "$ref": "#/definitions/models.Ermcp3ContractMiddleGoodsCfg"
  4243. }
  4244. }
  4245. },
  4246. "500": {
  4247. "description": "Internal Server Error",
  4248. "schema": {
  4249. "$ref": "#/definitions/app.Response"
  4250. }
  4251. }
  4252. }
  4253. }
  4254. },
  4255. "/Ermcp3/QueryExposureDetail": {
  4256. "get": {
  4257. "security": [
  4258. {
  4259. "ApiKeyAuth": []
  4260. }
  4261. ],
  4262. "produces": [
  4263. "application/json"
  4264. ],
  4265. "tags": [
  4266. "企业风险管理v3(app)"
  4267. ],
  4268. "summary": "查询敞口现货明细",
  4269. "parameters": [
  4270. {
  4271. "type": "integer",
  4272. "description": "用户id",
  4273. "name": "userid",
  4274. "in": "query",
  4275. "required": true
  4276. },
  4277. {
  4278. "type": "integer",
  4279. "description": "用户类型 2-机构 7-企业成员",
  4280. "name": "usertype",
  4281. "in": "query"
  4282. },
  4283. {
  4284. "type": "integer",
  4285. "description": "套保商品",
  4286. "name": "middlegoodsid",
  4287. "in": "query",
  4288. "required": true
  4289. }
  4290. ],
  4291. "responses": {
  4292. "200": {
  4293. "description": "OK",
  4294. "schema": {
  4295. "type": "array",
  4296. "items": {
  4297. "$ref": "#/definitions/models.Ermcp3ExposureDetail"
  4298. }
  4299. }
  4300. },
  4301. "500": {
  4302. "description": "Internal Server Error",
  4303. "schema": {
  4304. "$ref": "#/definitions/app.Response"
  4305. }
  4306. }
  4307. }
  4308. }
  4309. },
  4310. "/Ermcp3/QueryExposureSpot": {
  4311. "get": {
  4312. "security": [
  4313. {
  4314. "ApiKeyAuth": []
  4315. }
  4316. ],
  4317. "produces": [
  4318. "application/json"
  4319. ],
  4320. "tags": [
  4321. "企业风险管理v3(app)"
  4322. ],
  4323. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  4324. "parameters": [
  4325. {
  4326. "type": "integer",
  4327. "description": "用户id",
  4328. "name": "userid",
  4329. "in": "query",
  4330. "required": true
  4331. },
  4332. {
  4333. "type": "integer",
  4334. "description": "用户类型 2-机构 7-企业成员",
  4335. "name": "usertype",
  4336. "in": "query"
  4337. }
  4338. ],
  4339. "responses": {
  4340. "200": {
  4341. "description": "OK",
  4342. "schema": {
  4343. "type": "array",
  4344. "items": {
  4345. "$ref": "#/definitions/models.Ermcp3AreaSpot"
  4346. }
  4347. }
  4348. },
  4349. "500": {
  4350. "description": "Internal Server Error",
  4351. "schema": {
  4352. "$ref": "#/definitions/app.Response"
  4353. }
  4354. }
  4355. }
  4356. }
  4357. },
  4358. "/Ermcp3/QueryExposureSpotDetail": {
  4359. "get": {
  4360. "security": [
  4361. {
  4362. "ApiKeyAuth": []
  4363. }
  4364. ],
  4365. "produces": [
  4366. "application/json"
  4367. ],
  4368. "tags": [
  4369. "企业风险管理v3(app)"
  4370. ],
  4371. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  4372. "parameters": [
  4373. {
  4374. "type": "integer",
  4375. "description": "用户id",
  4376. "name": "userid",
  4377. "in": "query",
  4378. "required": true
  4379. },
  4380. {
  4381. "type": "integer",
  4382. "description": "用户类型 2-机构 7-企业成员",
  4383. "name": "usertype",
  4384. "in": "query"
  4385. },
  4386. {
  4387. "type": "integer",
  4388. "description": "现货商品ID",
  4389. "name": "wrstandardid",
  4390. "in": "query",
  4391. "required": true
  4392. }
  4393. ],
  4394. "responses": {
  4395. "200": {
  4396. "description": "OK",
  4397. "schema": {
  4398. "type": "array",
  4399. "items": {
  4400. "$ref": "#/definitions/models.Ermcp3AreaSpotDetail"
  4401. }
  4402. }
  4403. },
  4404. "500": {
  4405. "description": "Internal Server Error",
  4406. "schema": {
  4407. "$ref": "#/definitions/app.Response"
  4408. }
  4409. }
  4410. }
  4411. }
  4412. },
  4413. "/Ermcp3/QueryGoodsGroup": {
  4414. "get": {
  4415. "security": [
  4416. {
  4417. "ApiKeyAuth": []
  4418. }
  4419. ],
  4420. "produces": [
  4421. "application/json"
  4422. ],
  4423. "tags": [
  4424. "企业风险管理v3(app)"
  4425. ],
  4426. "summary": "查询期货商品组",
  4427. "parameters": [
  4428. {
  4429. "type": "integer",
  4430. "description": "用户id",
  4431. "name": "userid",
  4432. "in": "query",
  4433. "required": true
  4434. },
  4435. {
  4436. "type": "integer",
  4437. "description": "用户类型 2-机构 7-企业成员",
  4438. "name": "usertype",
  4439. "in": "query"
  4440. },
  4441. {
  4442. "type": "integer",
  4443. "description": "排除套保品中已关联的商品组 1-排除",
  4444. "name": "excludecfg",
  4445. "in": "query"
  4446. }
  4447. ],
  4448. "responses": {
  4449. "200": {
  4450. "description": "OK",
  4451. "schema": {
  4452. "type": "array",
  4453. "items": {
  4454. "$ref": "#/definitions/models.Ermcp3GoodsGroup"
  4455. }
  4456. }
  4457. },
  4458. "500": {
  4459. "description": "Internal Server Error",
  4460. "schema": {
  4461. "$ref": "#/definitions/app.Response"
  4462. }
  4463. }
  4464. }
  4465. }
  4466. },
  4467. "/Ermcp3/QueryGoodsWrstandard": {
  4468. "get": {
  4469. "security": [
  4470. {
  4471. "ApiKeyAuth": []
  4472. }
  4473. ],
  4474. "produces": [
  4475. "application/json"
  4476. ],
  4477. "tags": [
  4478. "企业风险管理v3(app)"
  4479. ],
  4480. "summary": "查询商品品类",
  4481. "parameters": [
  4482. {
  4483. "type": "integer",
  4484. "description": "用户id",
  4485. "name": "userid",
  4486. "in": "query",
  4487. "required": true
  4488. },
  4489. {
  4490. "type": "integer",
  4491. "description": "用户类型 2-机构 7-企业成员",
  4492. "name": "usertype",
  4493. "in": "query"
  4494. },
  4495. {
  4496. "type": "integer",
  4497. "description": "现货商品id",
  4498. "name": "deliverygoodsid",
  4499. "in": "query"
  4500. }
  4501. ],
  4502. "responses": {
  4503. "200": {
  4504. "description": "OK",
  4505. "schema": {
  4506. "type": "array",
  4507. "items": {
  4508. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  4509. }
  4510. }
  4511. },
  4512. "500": {
  4513. "description": "Internal Server Error",
  4514. "schema": {
  4515. "$ref": "#/definitions/app.Response"
  4516. }
  4517. }
  4518. }
  4519. }
  4520. },
  4521. "/Ermcp3/QueryGoodsbrand": {
  4522. "get": {
  4523. "security": [
  4524. {
  4525. "ApiKeyAuth": []
  4526. }
  4527. ],
  4528. "produces": [
  4529. "application/json"
  4530. ],
  4531. "tags": [
  4532. "企业风险管理v3(app)"
  4533. ],
  4534. "summary": "查询商品品牌",
  4535. "parameters": [
  4536. {
  4537. "type": "integer",
  4538. "description": "用户id",
  4539. "name": "userid",
  4540. "in": "query",
  4541. "required": true
  4542. },
  4543. {
  4544. "type": "integer",
  4545. "description": "用户类型 2-机构 7-企业成员",
  4546. "name": "usertype",
  4547. "in": "query"
  4548. }
  4549. ],
  4550. "responses": {
  4551. "200": {
  4552. "description": "OK",
  4553. "schema": {
  4554. "type": "array",
  4555. "items": {
  4556. "$ref": "#/definitions/models.Ermcp3Brand"
  4557. }
  4558. }
  4559. },
  4560. "500": {
  4561. "description": "Internal Server Error",
  4562. "schema": {
  4563. "$ref": "#/definitions/app.Response"
  4564. }
  4565. }
  4566. }
  4567. }
  4568. },
  4569. "/Ermcp3/QueryHPMiddleGoods": {
  4570. "get": {
  4571. "security": [
  4572. {
  4573. "ApiKeyAuth": []
  4574. }
  4575. ],
  4576. "produces": [
  4577. "application/json"
  4578. ],
  4579. "tags": [
  4580. "企业风险管理v3(app)"
  4581. ],
  4582. "summary": "查询可关联套保计划",
  4583. "parameters": [
  4584. {
  4585. "type": "integer",
  4586. "description": "用户ID(填登录用户的userid)",
  4587. "name": "userid",
  4588. "in": "query",
  4589. "required": true
  4590. },
  4591. {
  4592. "type": "integer",
  4593. "description": "买卖方向 0-买 1-卖",
  4594. "name": "buyorsell",
  4595. "in": "query",
  4596. "required": true
  4597. },
  4598. {
  4599. "type": "integer",
  4600. "description": "商品组id",
  4601. "name": "goodsgroupid",
  4602. "in": "query",
  4603. "required": true
  4604. },
  4605. {
  4606. "type": "string",
  4607. "description": "套保计划编号(模糊匹配)",
  4608. "name": "hedgeplanno",
  4609. "in": "query"
  4610. },
  4611. {
  4612. "type": "string",
  4613. "description": "现货商品名称(模糊匹配)",
  4614. "name": "wrstandardname",
  4615. "in": "query"
  4616. }
  4617. ],
  4618. "responses": {
  4619. "200": {
  4620. "description": "OK",
  4621. "schema": {
  4622. "type": "array",
  4623. "items": {
  4624. "$ref": "#/definitions/models.Ermcp3HPMiddleGoods"
  4625. }
  4626. }
  4627. },
  4628. "500": {
  4629. "description": "Internal Server Error",
  4630. "schema": {
  4631. "$ref": "#/definitions/app.Response"
  4632. }
  4633. }
  4634. }
  4635. }
  4636. },
  4637. "/Ermcp3/QueryHedgePlan": {
  4638. "get": {
  4639. "security": [
  4640. {
  4641. "ApiKeyAuth": []
  4642. }
  4643. ],
  4644. "produces": [
  4645. "application/json"
  4646. ],
  4647. "tags": [
  4648. "企业风险管理v3(app)"
  4649. ],
  4650. "summary": "查询套保计划",
  4651. "parameters": [
  4652. {
  4653. "type": "integer",
  4654. "description": "用户ID",
  4655. "name": "userid",
  4656. "in": "query",
  4657. "required": true
  4658. },
  4659. {
  4660. "type": "integer",
  4661. "description": "用户类型 2-机构 7-企业成员",
  4662. "name": "usertype",
  4663. "in": "query"
  4664. },
  4665. {
  4666. "type": "string",
  4667. "description": "套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  4668. "name": "hedgeplanstatus",
  4669. "in": "query",
  4670. "required": true
  4671. }
  4672. ],
  4673. "responses": {
  4674. "200": {
  4675. "description": "OK",
  4676. "schema": {
  4677. "type": "array",
  4678. "items": {
  4679. "$ref": "#/definitions/models.Ermcp3HedgePlan"
  4680. }
  4681. }
  4682. },
  4683. "500": {
  4684. "description": "Internal Server Error",
  4685. "schema": {
  4686. "$ref": "#/definitions/app.Response"
  4687. }
  4688. }
  4689. }
  4690. }
  4691. },
  4692. "/Ermcp3/QueryInnerTradeLink": {
  4693. "get": {
  4694. "security": [
  4695. {
  4696. "ApiKeyAuth": []
  4697. }
  4698. ],
  4699. "description": "页面 app 现货-\u003e期现关联-\u003e外部成交单关联-\u003e点\"解除关联\"按钮-\u003e解除外部关联的页面信息",
  4700. "produces": [
  4701. "application/json"
  4702. ],
  4703. "tags": [
  4704. "企业风险管理v3(app)"
  4705. ],
  4706. "summary": "查询外部成交单关联的内部单信息(在解除外部关联页面使用)",
  4707. "parameters": [
  4708. {
  4709. "type": "integer",
  4710. "description": "外部成交单号",
  4711. "name": "outtradeid",
  4712. "in": "query",
  4713. "required": true
  4714. }
  4715. ],
  4716. "responses": {
  4717. "200": {
  4718. "description": "OK",
  4719. "schema": {
  4720. "type": "array",
  4721. "items": {
  4722. "$ref": "#/definitions/models.Ermcp3InnerTradeLink"
  4723. }
  4724. }
  4725. },
  4726. "500": {
  4727. "description": "Internal Server Error",
  4728. "schema": {
  4729. "$ref": "#/definitions/app.Response"
  4730. }
  4731. }
  4732. }
  4733. }
  4734. },
  4735. "/Ermcp3/QueryMiddleGoodsDetail": {
  4736. "get": {
  4737. "security": [
  4738. {
  4739. "ApiKeyAuth": []
  4740. }
  4741. ],
  4742. "produces": [
  4743. "application/json"
  4744. ],
  4745. "tags": [
  4746. "企业风险管理v3(app)"
  4747. ],
  4748. "summary": "查询套保品种详情(套保品种/商品详情)",
  4749. "parameters": [
  4750. {
  4751. "type": "integer",
  4752. "description": "用户id",
  4753. "name": "userid",
  4754. "in": "query",
  4755. "required": true
  4756. },
  4757. {
  4758. "type": "integer",
  4759. "description": "用户类型 2-机构 7-企业成员",
  4760. "name": "usertype",
  4761. "in": "query"
  4762. },
  4763. {
  4764. "type": "integer",
  4765. "description": "套保品种id",
  4766. "name": "middlegoodsid",
  4767. "in": "query"
  4768. }
  4769. ],
  4770. "responses": {
  4771. "200": {
  4772. "description": "OK",
  4773. "schema": {
  4774. "type": "array",
  4775. "items": {
  4776. "$ref": "#/definitions/models.TBMiddleGoods"
  4777. }
  4778. }
  4779. },
  4780. "500": {
  4781. "description": "Internal Server Error",
  4782. "schema": {
  4783. "$ref": "#/definitions/app.Response"
  4784. }
  4785. }
  4786. }
  4787. }
  4788. },
  4789. "/Ermcp3/QueryOutTradeLink": {
  4790. "get": {
  4791. "security": [
  4792. {
  4793. "ApiKeyAuth": []
  4794. }
  4795. ],
  4796. "description": "页面 app 现货-\u003e期现关联-\u003e外部成交单关联",
  4797. "produces": [
  4798. "application/json"
  4799. ],
  4800. "tags": [
  4801. "企业风险管理v3(app)"
  4802. ],
  4803. "summary": "查询外部成交单关联",
  4804. "parameters": [
  4805. {
  4806. "type": "integer",
  4807. "description": "用户ID(填登录用户的userid)",
  4808. "name": "userid",
  4809. "in": "query",
  4810. "required": true
  4811. },
  4812. {
  4813. "type": "string",
  4814. "description": "外部订单号(模糊匹配)",
  4815. "name": "outtradeid",
  4816. "in": "query"
  4817. },
  4818. {
  4819. "type": "string",
  4820. "description": "合约名称/代码(模糊匹配)",
  4821. "name": "goodsname",
  4822. "in": "query"
  4823. },
  4824. {
  4825. "type": "integer",
  4826. "description": "关联状态 0-未关联 1-已关联",
  4827. "name": "hasinnerorder",
  4828. "in": "query"
  4829. }
  4830. ],
  4831. "responses": {
  4832. "200": {
  4833. "description": "OK",
  4834. "schema": {
  4835. "type": "array",
  4836. "items": {
  4837. "$ref": "#/definitions/models.Ermcp3OutTradeLink"
  4838. }
  4839. }
  4840. },
  4841. "500": {
  4842. "description": "Internal Server Error",
  4843. "schema": {
  4844. "$ref": "#/definitions/app.Response"
  4845. }
  4846. }
  4847. }
  4848. }
  4849. },
  4850. "/Ermcp3/QueryPaAreaAuditCfg": {
  4851. "get": {
  4852. "security": [
  4853. {
  4854. "ApiKeyAuth": []
  4855. }
  4856. ],
  4857. "produces": [
  4858. "application/json"
  4859. ],
  4860. "tags": [
  4861. "企业风险管理v3(app)"
  4862. ],
  4863. "summary": "查询审核设置",
  4864. "parameters": [
  4865. {
  4866. "type": "integer",
  4867. "description": "用户id",
  4868. "name": "userid",
  4869. "in": "query",
  4870. "required": true
  4871. }
  4872. ],
  4873. "responses": {
  4874. "200": {
  4875. "description": "OK",
  4876. "schema": {
  4877. "type": "array",
  4878. "items": {
  4879. "$ref": "#/definitions/models.Ermcp3PaAreaAuditCfg"
  4880. }
  4881. }
  4882. },
  4883. "500": {
  4884. "description": "Internal Server Error",
  4885. "schema": {
  4886. "$ref": "#/definitions/app.Response"
  4887. }
  4888. }
  4889. }
  4890. }
  4891. },
  4892. "/Ermcp3/QueryPaAreaSubject": {
  4893. "get": {
  4894. "security": [
  4895. {
  4896. "ApiKeyAuth": []
  4897. }
  4898. ],
  4899. "produces": [
  4900. "application/json"
  4901. ],
  4902. "tags": [
  4903. "企业风险管理v3(app)"
  4904. ],
  4905. "summary": "查询交易主体",
  4906. "parameters": [
  4907. {
  4908. "type": "integer",
  4909. "description": "用户id",
  4910. "name": "userid",
  4911. "in": "query",
  4912. "required": true
  4913. },
  4914. {
  4915. "type": "integer",
  4916. "description": "主体ID(SEQ_ERMCP_PA_AREASUBJECT)",
  4917. "name": "subjectid",
  4918. "in": "query"
  4919. },
  4920. {
  4921. "type": "integer",
  4922. "description": "主体类型 - 1:交易主体 2:业务部门",
  4923. "name": "subjecttype",
  4924. "in": "query"
  4925. },
  4926. {
  4927. "type": "integer",
  4928. "description": "主体状态 - 1:正常 2: 停用",
  4929. "name": "subjectstatus",
  4930. "in": "query"
  4931. }
  4932. ],
  4933. "responses": {
  4934. "200": {
  4935. "description": "OK",
  4936. "schema": {
  4937. "type": "array",
  4938. "items": {
  4939. "$ref": "#/definitions/models.Ermcp3PaAreaSubject"
  4940. }
  4941. }
  4942. },
  4943. "500": {
  4944. "description": "Internal Server Error",
  4945. "schema": {
  4946. "$ref": "#/definitions/app.Response"
  4947. }
  4948. }
  4949. }
  4950. }
  4951. },
  4952. "/Ermcp3/QueryPaTradeLink": {
  4953. "get": {
  4954. "security": [
  4955. {
  4956. "ApiKeyAuth": []
  4957. }
  4958. ],
  4959. "description": "页面 app 现货-\u003e期现关联-\u003e期现单据关联",
  4960. "produces": [
  4961. "application/json"
  4962. ],
  4963. "tags": [
  4964. "企业风险管理v3(app)"
  4965. ],
  4966. "summary": "查询期现单据关联",
  4967. "parameters": [
  4968. {
  4969. "type": "integer",
  4970. "description": "用户ID",
  4971. "name": "userid",
  4972. "in": "query",
  4973. "required": true
  4974. }
  4975. ],
  4976. "responses": {
  4977. "200": {
  4978. "description": "OK",
  4979. "schema": {
  4980. "type": "array",
  4981. "items": {
  4982. "$ref": "#/definitions/models.Ermcp3PaTradeLink"
  4983. }
  4984. }
  4985. },
  4986. "500": {
  4987. "description": "Internal Server Error",
  4988. "schema": {
  4989. "$ref": "#/definitions/app.Response"
  4990. }
  4991. }
  4992. }
  4993. }
  4994. },
  4995. "/Ermcp3/QueryPaTradeLinkDetail": {
  4996. "get": {
  4997. "security": [
  4998. {
  4999. "ApiKeyAuth": []
  5000. }
  5001. ],
  5002. "description": "页面 app 现货-\u003e期现关联-\u003e关联记录",
  5003. "produces": [
  5004. "application/json"
  5005. ],
  5006. "tags": [
  5007. "企业风险管理v3(app)"
  5008. ],
  5009. "summary": "查询期现关联记录",
  5010. "parameters": [
  5011. {
  5012. "type": "integer",
  5013. "description": "用户ID(填登录用户的userid)",
  5014. "name": "userid",
  5015. "in": "query",
  5016. "required": true
  5017. },
  5018. {
  5019. "type": "integer",
  5020. "description": "关联状态 1:成功 2:失败 3:解绑",
  5021. "name": "linkstatus",
  5022. "in": "query"
  5023. },
  5024. {
  5025. "type": "string",
  5026. "description": "期货订单号(模糊匹配)",
  5027. "name": "tradeid",
  5028. "in": "query"
  5029. },
  5030. {
  5031. "type": "string",
  5032. "description": "现货编号(模糊匹配)",
  5033. "name": "contractno",
  5034. "in": "query"
  5035. },
  5036. {
  5037. "type": "string",
  5038. "description": "期货账户(模糊匹配)",
  5039. "name": "taname",
  5040. "in": "query"
  5041. }
  5042. ],
  5043. "responses": {
  5044. "200": {
  5045. "description": "OK",
  5046. "schema": {
  5047. "type": "array",
  5048. "items": {
  5049. "$ref": "#/definitions/models.Ermcp3TradeLinkDetail"
  5050. }
  5051. }
  5052. },
  5053. "500": {
  5054. "description": "Internal Server Error",
  5055. "schema": {
  5056. "$ref": "#/definitions/app.Response"
  5057. }
  5058. }
  5059. }
  5060. }
  5061. },
  5062. "/Ermcp3/QueryParamChangeApp": {
  5063. "get": {
  5064. "security": [
  5065. {
  5066. "ApiKeyAuth": []
  5067. }
  5068. ],
  5069. "description": "原型页面:\n1.商品信息-\u003e商品参数修改流水-\u003e 增值税税率 | 折算系数 | 成本权重; 流水页面查申请状态为“审核通过”的记录\n2.风管审核-\u003e套保比例审核 | 折算系数审核 | 增值税税率审核 | 成本权重审核",
  5070. "produces": [
  5071. "application/json"
  5072. ],
  5073. "tags": [
  5074. "企业风险管理v3(app)"
  5075. ],
  5076. "summary": "查询现货商品参数变更申请(流水)",
  5077. "parameters": [
  5078. {
  5079. "type": "integer",
  5080. "description": "用户ID",
  5081. "name": "userid",
  5082. "in": "query",
  5083. "required": true
  5084. },
  5085. {
  5086. "type": "integer",
  5087. "description": "现货品种id",
  5088. "name": "deliverygoodsid",
  5089. "in": "query"
  5090. },
  5091. {
  5092. "type": "integer",
  5093. "description": "现货商品id",
  5094. "name": "wrstandardid",
  5095. "in": "query"
  5096. },
  5097. {
  5098. "type": "integer",
  5099. "description": "套保商品id",
  5100. "name": "middlegoodsid",
  5101. "in": "query"
  5102. },
  5103. {
  5104. "type": "integer",
  5105. "description": "操作类型 1:新增 2:修改",
  5106. "name": "operatetype",
  5107. "in": "query"
  5108. },
  5109. {
  5110. "type": "integer",
  5111. "description": "参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)",
  5112. "name": "paramchangetype",
  5113. "in": "query"
  5114. },
  5115. {
  5116. "type": "string",
  5117. "description": "申请状态(逗号隔开,如1,2,3) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  5118. "name": "ftstatus",
  5119. "in": "query"
  5120. }
  5121. ],
  5122. "responses": {
  5123. "200": {
  5124. "description": "OK",
  5125. "schema": {
  5126. "type": "array",
  5127. "items": {
  5128. "$ref": "#/definitions/models.Ermcp3ParamChangeApp"
  5129. }
  5130. }
  5131. },
  5132. "500": {
  5133. "description": "Internal Server Error",
  5134. "schema": {
  5135. "$ref": "#/definitions/app.Response"
  5136. }
  5137. }
  5138. }
  5139. }
  5140. },
  5141. "/Ermcp3/QueryRootUserAccount": {
  5142. "get": {
  5143. "security": [
  5144. {
  5145. "ApiKeyAuth": []
  5146. }
  5147. ],
  5148. "produces": [
  5149. "application/json"
  5150. ],
  5151. "tags": [
  5152. "企业风险管理v3(app)"
  5153. ],
  5154. "summary": "查询顶级用户信息",
  5155. "parameters": [
  5156. {
  5157. "type": "integer",
  5158. "description": "用户ID",
  5159. "name": "userid",
  5160. "in": "query",
  5161. "required": true
  5162. }
  5163. ],
  5164. "responses": {
  5165. "200": {
  5166. "description": "OK",
  5167. "schema": {
  5168. "type": "array",
  5169. "items": {
  5170. "$ref": "#/definitions/models.Ermcp3RootUserAccount"
  5171. }
  5172. }
  5173. },
  5174. "500": {
  5175. "description": "Internal Server Error",
  5176. "schema": {
  5177. "$ref": "#/definitions/app.Response"
  5178. }
  5179. }
  5180. }
  5181. }
  5182. },
  5183. "/Ermcp3/QuerySCMiddleGoods": {
  5184. "get": {
  5185. "security": [
  5186. {
  5187. "ApiKeyAuth": []
  5188. }
  5189. ],
  5190. "description": "页面 app 现货-\u003e期现关联-\u003e期现单据关联-\u003e点\"关联\"按钮-\u003e弹出界面 : 现货订单\n现货编号 即 合同编号",
  5191. "produces": [
  5192. "application/json"
  5193. ],
  5194. "tags": [
  5195. "企业风险管理v3(app)"
  5196. ],
  5197. "summary": "查询现货订单",
  5198. "parameters": [
  5199. {
  5200. "type": "integer",
  5201. "description": "用户ID(填登录用户的userid)",
  5202. "name": "userid",
  5203. "in": "query",
  5204. "required": true
  5205. },
  5206. {
  5207. "type": "integer",
  5208. "description": "买卖方向 0-买 1-卖",
  5209. "name": "buyorsell",
  5210. "in": "query",
  5211. "required": true
  5212. },
  5213. {
  5214. "type": "integer",
  5215. "description": "商品组id",
  5216. "name": "goodsgroupid",
  5217. "in": "query",
  5218. "required": true
  5219. },
  5220. {
  5221. "type": "integer",
  5222. "description": "业务类型 1:套保 2:套利",
  5223. "name": "biztype",
  5224. "in": "query"
  5225. },
  5226. {
  5227. "type": "string",
  5228. "description": "现货编号(模糊匹配)",
  5229. "name": "contractno",
  5230. "in": "query"
  5231. },
  5232. {
  5233. "type": "string",
  5234. "description": "对手方(模糊匹配)",
  5235. "name": "customername",
  5236. "in": "query"
  5237. },
  5238. {
  5239. "type": "string",
  5240. "description": "现货商品名称(模糊匹配)",
  5241. "name": "wrstandardname",
  5242. "in": "query"
  5243. }
  5244. ],
  5245. "responses": {
  5246. "200": {
  5247. "description": "OK",
  5248. "schema": {
  5249. "type": "array",
  5250. "items": {
  5251. "$ref": "#/definitions/models.Ermcp3SCMiddleGoods"
  5252. }
  5253. }
  5254. },
  5255. "500": {
  5256. "description": "Internal Server Error",
  5257. "schema": {
  5258. "$ref": "#/definitions/app.Response"
  5259. }
  5260. }
  5261. }
  5262. }
  5263. },
  5264. "/Ermcp3/QuerySpotContract": {
  5265. "get": {
  5266. "security": [
  5267. {
  5268. "ApiKeyAuth": []
  5269. }
  5270. ],
  5271. "produces": [
  5272. "application/json"
  5273. ],
  5274. "tags": [
  5275. "企业风险管理v3(app)"
  5276. ],
  5277. "summary": "查询现货合同",
  5278. "parameters": [
  5279. {
  5280. "type": "integer",
  5281. "description": "用户id(当指定contractid, userid可不填)",
  5282. "name": "userid",
  5283. "in": "query",
  5284. "required": true
  5285. },
  5286. {
  5287. "type": "integer",
  5288. "description": "用户类型 2-机构 7-企业成员",
  5289. "name": "usertype",
  5290. "in": "query"
  5291. },
  5292. {
  5293. "type": "integer",
  5294. "description": "合同类型 1-采购, -1-销售",
  5295. "name": "contracttype",
  5296. "in": "query"
  5297. },
  5298. {
  5299. "type": "string",
  5300. "description": "查询类型(逗号隔开, 如1,2,3) 1-未提交 2-待审核 3-履约中 4-已完成",
  5301. "name": "querytype",
  5302. "in": "query"
  5303. },
  5304. {
  5305. "type": "string",
  5306. "description": "合同ID(SpotContractId)",
  5307. "name": "contractid",
  5308. "in": "query"
  5309. },
  5310. {
  5311. "type": "string",
  5312. "description": "合同编号(模糊匹配)",
  5313. "name": "contractno",
  5314. "in": "query"
  5315. },
  5316. {
  5317. "type": "string",
  5318. "description": "商品名称(模糊匹配)",
  5319. "name": "wrstandardname",
  5320. "in": "query"
  5321. },
  5322. {
  5323. "type": "string",
  5324. "description": "合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  5325. "name": "status",
  5326. "in": "query"
  5327. },
  5328. {
  5329. "type": "integer",
  5330. "description": "是否只查今日的合同 1-查今日合同",
  5331. "name": "istoday",
  5332. "in": "query"
  5333. }
  5334. ],
  5335. "responses": {
  5336. "200": {
  5337. "description": "OK",
  5338. "schema": {
  5339. "type": "array",
  5340. "items": {
  5341. "$ref": "#/definitions/models.Ermcp3Contract"
  5342. }
  5343. }
  5344. },
  5345. "500": {
  5346. "description": "Internal Server Error",
  5347. "schema": {
  5348. "$ref": "#/definitions/app.Response"
  5349. }
  5350. }
  5351. }
  5352. }
  5353. },
  5354. "/Ermcp3/QuerySpotContractBS": {
  5355. "get": {
  5356. "security": [
  5357. {
  5358. "ApiKeyAuth": []
  5359. }
  5360. ],
  5361. "produces": [
  5362. "application/json"
  5363. ],
  5364. "tags": [
  5365. "企业风险管理v3(app)"
  5366. ],
  5367. "summary": "查询合同(采购/销售)",
  5368. "parameters": [
  5369. {
  5370. "type": "integer",
  5371. "description": "用户id",
  5372. "name": "userid",
  5373. "in": "query",
  5374. "required": true
  5375. },
  5376. {
  5377. "type": "integer",
  5378. "description": "用户类型 2-机构 7-企业成员",
  5379. "name": "usertype",
  5380. "in": "query"
  5381. },
  5382. {
  5383. "type": "integer",
  5384. "description": "合同类型 1-采购, -1-销售",
  5385. "name": "contracttype",
  5386. "in": "query",
  5387. "required": true
  5388. },
  5389. {
  5390. "type": "integer",
  5391. "description": "查询类型 1-全部 2-待点价 3-履约结算 4-已完成",
  5392. "name": "querytype",
  5393. "in": "query"
  5394. },
  5395. {
  5396. "type": "string",
  5397. "description": "合同ID(SpotContractId)",
  5398. "name": "contractid",
  5399. "in": "query"
  5400. },
  5401. {
  5402. "type": "string",
  5403. "description": "合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  5404. "name": "status",
  5405. "in": "query"
  5406. },
  5407. {
  5408. "type": "integer",
  5409. "description": "是否只查今日的合同 1-查今日合同",
  5410. "name": "istoday",
  5411. "in": "query"
  5412. }
  5413. ],
  5414. "responses": {
  5415. "200": {
  5416. "description": "OK",
  5417. "schema": {
  5418. "type": "array",
  5419. "items": {
  5420. "$ref": "#/definitions/models.Ermcp3SellBuyContract"
  5421. }
  5422. }
  5423. },
  5424. "500": {
  5425. "description": "Internal Server Error",
  5426. "schema": {
  5427. "$ref": "#/definitions/app.Response"
  5428. }
  5429. }
  5430. }
  5431. }
  5432. },
  5433. "/Ermcp3/QuerySpotGoodsPrice": {
  5434. "get": {
  5435. "security": [
  5436. {
  5437. "ApiKeyAuth": []
  5438. }
  5439. ],
  5440. "produces": [
  5441. "application/json"
  5442. ],
  5443. "tags": [
  5444. "企业风险管理v3(app)"
  5445. ],
  5446. "summary": "查询现货市价(现货市价)",
  5447. "parameters": [
  5448. {
  5449. "type": "integer",
  5450. "description": "用户ID",
  5451. "name": "userid",
  5452. "in": "query",
  5453. "required": true
  5454. }
  5455. ],
  5456. "responses": {
  5457. "200": {
  5458. "description": "OK",
  5459. "schema": {
  5460. "type": "array",
  5461. "items": {
  5462. "$ref": "#/definitions/models.Ermcp3SpotGoodsPrice"
  5463. }
  5464. }
  5465. },
  5466. "500": {
  5467. "description": "Internal Server Error",
  5468. "schema": {
  5469. "$ref": "#/definitions/app.Response"
  5470. }
  5471. }
  5472. }
  5473. }
  5474. },
  5475. "/Ermcp3/QuerySpotGoodsPriceLog": {
  5476. "get": {
  5477. "security": [
  5478. {
  5479. "ApiKeyAuth": []
  5480. }
  5481. ],
  5482. "produces": [
  5483. "application/json"
  5484. ],
  5485. "tags": [
  5486. "企业风险管理v3(app)"
  5487. ],
  5488. "summary": "查询现货市价详情(现货市价/详情)",
  5489. "parameters": [
  5490. {
  5491. "type": "integer",
  5492. "description": "用户ID",
  5493. "name": "userid",
  5494. "in": "query",
  5495. "required": true
  5496. },
  5497. {
  5498. "type": "integer",
  5499. "description": "现货商品ID",
  5500. "name": "deliverygoodsid",
  5501. "in": "query",
  5502. "required": true
  5503. },
  5504. {
  5505. "type": "integer",
  5506. "description": "品牌ID",
  5507. "name": "brandid",
  5508. "in": "query"
  5509. },
  5510. {
  5511. "type": "integer",
  5512. "description": "品类ID",
  5513. "name": "wrstandardid",
  5514. "in": "query"
  5515. }
  5516. ],
  5517. "responses": {
  5518. "200": {
  5519. "description": "OK",
  5520. "schema": {
  5521. "type": "array",
  5522. "items": {
  5523. "$ref": "#/definitions/models.Ermcp3SpotGoodsPriceLog"
  5524. }
  5525. }
  5526. },
  5527. "500": {
  5528. "description": "Internal Server Error",
  5529. "schema": {
  5530. "$ref": "#/definitions/app.Response"
  5531. }
  5532. }
  5533. }
  5534. }
  5535. },
  5536. "/Ermcp3/QuerySubTaaccount": {
  5537. "get": {
  5538. "security": [
  5539. {
  5540. "ApiKeyAuth": []
  5541. }
  5542. ],
  5543. "description": "页面 app 现货-\u003e期现关联-\u003e外部成交单关联-\u003e点\"关联\"按钮-\u003e选择期货子账户",
  5544. "produces": [
  5545. "application/json"
  5546. ],
  5547. "tags": [
  5548. "企业风险管理v3(app)"
  5549. ],
  5550. "summary": "查询期货子账户",
  5551. "parameters": [
  5552. {
  5553. "type": "integer",
  5554. "description": "母账号id",
  5555. "name": "parentaccountid",
  5556. "in": "query"
  5557. },
  5558. {
  5559. "type": "string",
  5560. "description": "母账号代码",
  5561. "name": "parentaccountcode",
  5562. "in": "query"
  5563. }
  5564. ],
  5565. "responses": {
  5566. "200": {
  5567. "description": "OK",
  5568. "schema": {
  5569. "type": "array",
  5570. "items": {
  5571. "$ref": "#/definitions/models.Ermcp3SubTaaccount"
  5572. }
  5573. }
  5574. },
  5575. "500": {
  5576. "description": "Internal Server Error",
  5577. "schema": {
  5578. "$ref": "#/definitions/app.Response"
  5579. }
  5580. }
  5581. }
  5582. }
  5583. },
  5584. "/Erms2/QueryArbitrageStrategy": {
  5585. "get": {
  5586. "security": [
  5587. {
  5588. "ApiKeyAuth": []
  5589. }
  5590. ],
  5591. "produces": [
  5592. "application/json"
  5593. ],
  5594. "tags": [
  5595. "风险管理"
  5596. ],
  5597. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  5598. "parameters": [
  5599. {
  5600. "type": "integer",
  5601. "description": "账户ID",
  5602. "name": "userid",
  5603. "in": "query",
  5604. "required": true
  5605. },
  5606. {
  5607. "type": "string",
  5608. "description": "商品组ID(品种ID)",
  5609. "name": "goodsgroupid",
  5610. "in": "query"
  5611. }
  5612. ],
  5613. "responses": {
  5614. "200": {
  5615. "description": "OK",
  5616. "schema": {
  5617. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  5618. }
  5619. },
  5620. "500": {
  5621. "description": "Internal Server Error",
  5622. "schema": {
  5623. "$ref": "#/definitions/app.Response"
  5624. }
  5625. }
  5626. }
  5627. }
  5628. },
  5629. "/Erms2/QueryInnerTradeDetail": {
  5630. "get": {
  5631. "security": [
  5632. {
  5633. "ApiKeyAuth": []
  5634. }
  5635. ],
  5636. "produces": [
  5637. "application/json"
  5638. ],
  5639. "tags": [
  5640. "风险管理"
  5641. ],
  5642. "summary": "查询内部成交单信息",
  5643. "parameters": [
  5644. {
  5645. "type": "integer",
  5646. "description": "资金账户",
  5647. "name": "accountid",
  5648. "in": "query",
  5649. "required": true
  5650. }
  5651. ],
  5652. "responses": {
  5653. "200": {
  5654. "description": "OK",
  5655. "schema": {
  5656. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  5657. }
  5658. },
  5659. "500": {
  5660. "description": "Internal Server Error",
  5661. "schema": {
  5662. "$ref": "#/definitions/app.Response"
  5663. }
  5664. }
  5665. }
  5666. }
  5667. },
  5668. "/Erms2/QuerySpotContract": {
  5669. "get": {
  5670. "security": [
  5671. {
  5672. "ApiKeyAuth": []
  5673. }
  5674. ],
  5675. "produces": [
  5676. "application/json"
  5677. ],
  5678. "tags": [
  5679. "风险管理"
  5680. ],
  5681. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  5682. "parameters": [
  5683. {
  5684. "type": "integer",
  5685. "description": "策略申请ID",
  5686. "name": "asapplyid",
  5687. "in": "query",
  5688. "required": true
  5689. },
  5690. {
  5691. "type": "integer",
  5692. "description": "现货合同ID",
  5693. "name": "spotcontractid",
  5694. "in": "query"
  5695. }
  5696. ],
  5697. "responses": {
  5698. "200": {
  5699. "description": "OK",
  5700. "schema": {
  5701. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  5702. }
  5703. },
  5704. "500": {
  5705. "description": "Internal Server Error",
  5706. "schema": {
  5707. "$ref": "#/definitions/app.Response"
  5708. }
  5709. }
  5710. }
  5711. }
  5712. },
  5713. "/Erms3/AddErms2ASApply": {
  5714. "post": {
  5715. "security": [
  5716. {
  5717. "ApiKeyAuth": []
  5718. }
  5719. ],
  5720. "produces": [
  5721. "application/json"
  5722. ],
  5723. "tags": [
  5724. "风险管理v3"
  5725. ],
  5726. "summary": "新增期现套利业务申请",
  5727. "parameters": [
  5728. {
  5729. "description": "申请参数",
  5730. "name": "jsonBody",
  5731. "in": "body",
  5732. "required": true,
  5733. "schema": {
  5734. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  5735. }
  5736. }
  5737. ],
  5738. "responses": {
  5739. "200": {
  5740. "description": "OK",
  5741. "schema": {
  5742. "$ref": "#/definitions/app.Response"
  5743. }
  5744. },
  5745. "500": {
  5746. "description": "Internal Server Error",
  5747. "schema": {
  5748. "$ref": "#/definitions/app.Response"
  5749. }
  5750. }
  5751. }
  5752. }
  5753. },
  5754. "/Erms3/AddErms2SpotTradeApply": {
  5755. "post": {
  5756. "security": [
  5757. {
  5758. "ApiKeyAuth": []
  5759. }
  5760. ],
  5761. "produces": [
  5762. "application/json"
  5763. ],
  5764. "tags": [
  5765. "风险管理v3"
  5766. ],
  5767. "summary": "新增现货贸易业务申请",
  5768. "parameters": [
  5769. {
  5770. "description": "申请参数",
  5771. "name": "jsonBody",
  5772. "in": "body",
  5773. "required": true,
  5774. "schema": {
  5775. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  5776. }
  5777. }
  5778. ],
  5779. "responses": {
  5780. "200": {
  5781. "description": "OK",
  5782. "schema": {
  5783. "$ref": "#/definitions/app.Response"
  5784. }
  5785. },
  5786. "500": {
  5787. "description": "Internal Server Error",
  5788. "schema": {
  5789. "$ref": "#/definitions/app.Response"
  5790. }
  5791. }
  5792. }
  5793. }
  5794. },
  5795. "/Erms3/AddSpotContractApply": {
  5796. "post": {
  5797. "security": [
  5798. {
  5799. "ApiKeyAuth": []
  5800. }
  5801. ],
  5802. "produces": [
  5803. "application/json"
  5804. ],
  5805. "tags": [
  5806. "风险管理v3"
  5807. ],
  5808. "summary": "新增现货合同申请",
  5809. "parameters": [
  5810. {
  5811. "description": "申请参数",
  5812. "name": "jsonBody",
  5813. "in": "body",
  5814. "required": true,
  5815. "schema": {
  5816. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  5817. }
  5818. }
  5819. ],
  5820. "responses": {
  5821. "200": {
  5822. "description": "OK",
  5823. "schema": {
  5824. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  5825. }
  5826. },
  5827. "500": {
  5828. "description": "Internal Server Error",
  5829. "schema": {
  5830. "$ref": "#/definitions/app.Response"
  5831. }
  5832. }
  5833. }
  5834. }
  5835. },
  5836. "/Erms3/AddUserInfoApply": {
  5837. "post": {
  5838. "security": [
  5839. {
  5840. "ApiKeyAuth": []
  5841. }
  5842. ],
  5843. "produces": [
  5844. "application/json"
  5845. ],
  5846. "tags": [
  5847. "风险管理v3"
  5848. ],
  5849. "summary": "新增客户申请",
  5850. "parameters": [
  5851. {
  5852. "description": "用户信息",
  5853. "name": "jsonBody",
  5854. "in": "body",
  5855. "required": true,
  5856. "schema": {
  5857. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  5858. }
  5859. }
  5860. ],
  5861. "responses": {
  5862. "200": {
  5863. "description": "OK",
  5864. "schema": {
  5865. "$ref": "#/definitions/app.Response"
  5866. }
  5867. },
  5868. "500": {
  5869. "description": "Internal Server Error",
  5870. "schema": {
  5871. "$ref": "#/definitions/app.Response"
  5872. }
  5873. }
  5874. }
  5875. }
  5876. },
  5877. "/Erms3/DeleteUserInfoApply": {
  5878. "get": {
  5879. "security": [
  5880. {
  5881. "ApiKeyAuth": []
  5882. }
  5883. ],
  5884. "description": "只可删除 UserState = 1 (未提交)状态的申请信息",
  5885. "produces": [
  5886. "application/json"
  5887. ],
  5888. "tags": [
  5889. "风险管理v3"
  5890. ],
  5891. "summary": "删除客户申请",
  5892. "parameters": [
  5893. {
  5894. "type": "integer",
  5895. "description": "用户ID",
  5896. "name": "userID",
  5897. "in": "query",
  5898. "required": true
  5899. }
  5900. ],
  5901. "responses": {
  5902. "200": {
  5903. "description": "OK",
  5904. "schema": {
  5905. "$ref": "#/definitions/app.Response"
  5906. }
  5907. },
  5908. "500": {
  5909. "description": "Internal Server Error",
  5910. "schema": {
  5911. "$ref": "#/definitions/app.Response"
  5912. }
  5913. }
  5914. }
  5915. }
  5916. },
  5917. "/Erms3/ModifyUserInfoApply": {
  5918. "post": {
  5919. "security": [
  5920. {
  5921. "ApiKeyAuth": []
  5922. }
  5923. ],
  5924. "description": "保存草稿(撤回)- { \"userid\": int, \"userstate\": 1 } 提交审核 - { \"userid\": int, \"userstate\": 2 }",
  5925. "produces": [
  5926. "application/json"
  5927. ],
  5928. "tags": [
  5929. "风险管理v3"
  5930. ],
  5931. "summary": "修改客户申请",
  5932. "parameters": [
  5933. {
  5934. "description": "用户信息",
  5935. "name": "jsonBody",
  5936. "in": "body",
  5937. "required": true,
  5938. "schema": {
  5939. "$ref": "#/definitions/erms3.ModifyUserInfoApplyReq"
  5940. }
  5941. }
  5942. ],
  5943. "responses": {
  5944. "200": {
  5945. "description": "OK",
  5946. "schema": {
  5947. "$ref": "#/definitions/app.Response"
  5948. }
  5949. },
  5950. "500": {
  5951. "description": "Internal Server Error",
  5952. "schema": {
  5953. "$ref": "#/definitions/app.Response"
  5954. }
  5955. }
  5956. }
  5957. }
  5958. },
  5959. "/Erms3/QueryBusinessInfo": {
  5960. "get": {
  5961. "security": [
  5962. {
  5963. "ApiKeyAuth": []
  5964. }
  5965. ],
  5966. "produces": [
  5967. "application/json"
  5968. ],
  5969. "tags": [
  5970. "风险管理v3"
  5971. ],
  5972. "summary": "查询业务表单数据",
  5973. "parameters": [
  5974. {
  5975. "type": "string",
  5976. "description": "资金账号ID列表,用逗号分隔",
  5977. "name": "accountids",
  5978. "in": "query",
  5979. "required": true
  5980. },
  5981. {
  5982. "type": "integer",
  5983. "description": "状态,0为未结束 1为已结束",
  5984. "name": "status",
  5985. "in": "query",
  5986. "required": true
  5987. }
  5988. ],
  5989. "responses": {
  5990. "200": {
  5991. "description": "OK",
  5992. "schema": {
  5993. "type": "array",
  5994. "items": {
  5995. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  5996. }
  5997. }
  5998. },
  5999. "500": {
  6000. "description": "Internal Server Error",
  6001. "schema": {
  6002. "$ref": "#/definitions/app.Response"
  6003. }
  6004. }
  6005. }
  6006. }
  6007. },
  6008. "/Erms3/QueryPendingAuditContract": {
  6009. "get": {
  6010. "security": [
  6011. {
  6012. "ApiKeyAuth": []
  6013. }
  6014. ],
  6015. "produces": [
  6016. "application/json"
  6017. ],
  6018. "tags": [
  6019. "风险管理v3"
  6020. ],
  6021. "summary": "查询待审核合同",
  6022. "parameters": [
  6023. {
  6024. "type": "string",
  6025. "description": "资金账号ID列表,逗号隔开",
  6026. "name": "accountids",
  6027. "in": "query",
  6028. "required": true
  6029. },
  6030. {
  6031. "type": "integer",
  6032. "description": "合同类型 1-采购 -1-销售",
  6033. "name": "contracttype",
  6034. "in": "query",
  6035. "required": true
  6036. },
  6037. {
  6038. "type": "integer",
  6039. "description": "合同模式 1-普通 2-回购",
  6040. "name": "contractmode",
  6041. "in": "query",
  6042. "required": true
  6043. }
  6044. ],
  6045. "responses": {
  6046. "200": {
  6047. "description": "OK",
  6048. "schema": {
  6049. "type": "array",
  6050. "items": {
  6051. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  6052. }
  6053. }
  6054. },
  6055. "500": {
  6056. "description": "Internal Server Error",
  6057. "schema": {
  6058. "$ref": "#/definitions/app.Response"
  6059. }
  6060. }
  6061. }
  6062. }
  6063. },
  6064. "/Erms3/QueryPendingBusiness": {
  6065. "get": {
  6066. "security": [
  6067. {
  6068. "ApiKeyAuth": []
  6069. }
  6070. ],
  6071. "produces": [
  6072. "application/json"
  6073. ],
  6074. "tags": [
  6075. "风险管理v3"
  6076. ],
  6077. "summary": "查询待审核基差贸易业务",
  6078. "parameters": [
  6079. {
  6080. "type": "string",
  6081. "description": "资金账号ID列表,逗号隔开",
  6082. "name": "accountids",
  6083. "in": "query",
  6084. "required": true
  6085. }
  6086. ],
  6087. "responses": {
  6088. "200": {
  6089. "description": "OK",
  6090. "schema": {
  6091. "type": "array",
  6092. "items": {
  6093. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  6094. }
  6095. }
  6096. },
  6097. "500": {
  6098. "description": "Internal Server Error",
  6099. "schema": {
  6100. "$ref": "#/definitions/app.Response"
  6101. }
  6102. }
  6103. }
  6104. }
  6105. },
  6106. "/Erms3/QuerySpotContractAppleForm": {
  6107. "get": {
  6108. "security": [
  6109. {
  6110. "ApiKeyAuth": []
  6111. }
  6112. ],
  6113. "produces": [
  6114. "application/json"
  6115. ],
  6116. "tags": [
  6117. "风险管理v3"
  6118. ],
  6119. "summary": "查询合同申请表单数据",
  6120. "parameters": [
  6121. {
  6122. "type": "integer",
  6123. "description": "登录账号",
  6124. "name": "loginID",
  6125. "in": "query",
  6126. "required": true
  6127. }
  6128. ],
  6129. "responses": {
  6130. "200": {
  6131. "description": "OK",
  6132. "schema": {
  6133. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  6134. }
  6135. },
  6136. "500": {
  6137. "description": "Internal Server Error",
  6138. "schema": {
  6139. "$ref": "#/definitions/app.Response"
  6140. }
  6141. }
  6142. }
  6143. }
  6144. },
  6145. "/Erms3/QuerySpotContractDetail": {
  6146. "get": {
  6147. "security": [
  6148. {
  6149. "ApiKeyAuth": []
  6150. }
  6151. ],
  6152. "produces": [
  6153. "application/json"
  6154. ],
  6155. "tags": [
  6156. "风险管理v3"
  6157. ],
  6158. "summary": "查询合同详细信息",
  6159. "parameters": [
  6160. {
  6161. "type": "string",
  6162. "description": "资金账号ID列表,用逗号分隔",
  6163. "name": "accountids",
  6164. "in": "query",
  6165. "required": true
  6166. },
  6167. {
  6168. "type": "integer",
  6169. "description": "合同类型,1为采购合同 -1为销售合同",
  6170. "name": "contracttype",
  6171. "in": "query",
  6172. "required": true
  6173. },
  6174. {
  6175. "type": "integer",
  6176. "description": "合同模式,1为普通合同 2为回购销售合同",
  6177. "name": "contractmode",
  6178. "in": "query",
  6179. "required": true
  6180. },
  6181. {
  6182. "type": "integer",
  6183. "description": "状态,0为履约中 1为已完成",
  6184. "name": "status",
  6185. "in": "query",
  6186. "required": true
  6187. }
  6188. ],
  6189. "responses": {
  6190. "200": {
  6191. "description": "OK",
  6192. "schema": {
  6193. "type": "array",
  6194. "items": {
  6195. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  6196. }
  6197. }
  6198. },
  6199. "500": {
  6200. "description": "Internal Server Error",
  6201. "schema": {
  6202. "$ref": "#/definitions/app.Response"
  6203. }
  6204. }
  6205. }
  6206. }
  6207. },
  6208. "/Erms3/QueryUserInfoApplies": {
  6209. "get": {
  6210. "security": [
  6211. {
  6212. "ApiKeyAuth": []
  6213. }
  6214. ],
  6215. "produces": [
  6216. "application/json"
  6217. ],
  6218. "tags": [
  6219. "风险管理v3"
  6220. ],
  6221. "summary": "客户申请信息查询",
  6222. "parameters": [
  6223. {
  6224. "type": "integer",
  6225. "description": "页码",
  6226. "name": "page",
  6227. "in": "query"
  6228. },
  6229. {
  6230. "type": "integer",
  6231. "description": "每页条数",
  6232. "name": "pagesize",
  6233. "in": "query"
  6234. },
  6235. {
  6236. "type": "string",
  6237. "description": "客户名称,支持模糊查询",
  6238. "name": "userName",
  6239. "in": "query"
  6240. }
  6241. ],
  6242. "responses": {
  6243. "200": {
  6244. "description": "OK",
  6245. "schema": {
  6246. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  6247. }
  6248. },
  6249. "500": {
  6250. "description": "Internal Server Error",
  6251. "schema": {
  6252. "$ref": "#/definitions/app.Response"
  6253. }
  6254. }
  6255. }
  6256. }
  6257. },
  6258. "/Erms3/QueryUserInfos": {
  6259. "get": {
  6260. "security": [
  6261. {
  6262. "ApiKeyAuth": []
  6263. }
  6264. ],
  6265. "produces": [
  6266. "application/json"
  6267. ],
  6268. "tags": [
  6269. "风险管理v3"
  6270. ],
  6271. "summary": "客户信息查询",
  6272. "parameters": [
  6273. {
  6274. "type": "integer",
  6275. "description": "页码",
  6276. "name": "page",
  6277. "in": "query"
  6278. },
  6279. {
  6280. "type": "integer",
  6281. "description": "每页条数",
  6282. "name": "pagesize",
  6283. "in": "query"
  6284. },
  6285. {
  6286. "type": "string",
  6287. "description": "客户名称,支持模糊查询",
  6288. "name": "userName",
  6289. "in": "query"
  6290. }
  6291. ],
  6292. "responses": {
  6293. "200": {
  6294. "description": "OK",
  6295. "schema": {
  6296. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  6297. }
  6298. },
  6299. "500": {
  6300. "description": "Internal Server Error",
  6301. "schema": {
  6302. "$ref": "#/definitions/app.Response"
  6303. }
  6304. }
  6305. }
  6306. }
  6307. },
  6308. "/HSBY/GetHsbyMyCount": {
  6309. "get": {
  6310. "security": [
  6311. {
  6312. "ApiKeyAuth": []
  6313. }
  6314. ],
  6315. "description": "说明: 不包括已完成的数量。",
  6316. "produces": [
  6317. "application/json"
  6318. ],
  6319. "tags": [
  6320. "定制【海商报业】"
  6321. ],
  6322. "summary": "获取我的订单与包裹数量",
  6323. "parameters": [
  6324. {
  6325. "type": "string",
  6326. "description": "资金账户列表,格式:1,2,3",
  6327. "name": "accountIDs",
  6328. "in": "query",
  6329. "required": true
  6330. }
  6331. ],
  6332. "responses": {
  6333. "200": {
  6334. "description": "OK",
  6335. "schema": {
  6336. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  6337. }
  6338. },
  6339. "500": {
  6340. "description": "Internal Server Error",
  6341. "schema": {
  6342. "$ref": "#/definitions/app.Response"
  6343. }
  6344. }
  6345. }
  6346. }
  6347. },
  6348. "/HSBY/QueryClientFixedADConfigs": {
  6349. "get": {
  6350. "security": [
  6351. {
  6352. "ApiKeyAuth": []
  6353. }
  6354. ],
  6355. "produces": [
  6356. "application/json"
  6357. ],
  6358. "tags": [
  6359. "定制【海商报业】"
  6360. ],
  6361. "summary": "获取终端固定广告配置",
  6362. "responses": {
  6363. "200": {
  6364. "description": "OK",
  6365. "schema": {
  6366. "$ref": "#/definitions/models.Clientfixedadconfig"
  6367. }
  6368. },
  6369. "500": {
  6370. "description": "Internal Server Error",
  6371. "schema": {
  6372. "$ref": "#/definitions/app.Response"
  6373. }
  6374. }
  6375. }
  6376. }
  6377. },
  6378. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  6379. "get": {
  6380. "security": [
  6381. {
  6382. "ApiKeyAuth": []
  6383. }
  6384. ],
  6385. "produces": [
  6386. "application/json"
  6387. ],
  6388. "tags": [
  6389. "定制【海商报业】"
  6390. ],
  6391. "summary": "查询\"我的订单 - 已完成\"单据信息",
  6392. "parameters": [
  6393. {
  6394. "type": "integer",
  6395. "description": "页码",
  6396. "name": "page",
  6397. "in": "query"
  6398. },
  6399. {
  6400. "type": "integer",
  6401. "description": "每页条数",
  6402. "name": "pagesize",
  6403. "in": "query"
  6404. },
  6405. {
  6406. "type": "string",
  6407. "description": "资金账户列表,格式:1,2,3",
  6408. "name": "accountIDs",
  6409. "in": "query",
  6410. "required": true
  6411. }
  6412. ],
  6413. "responses": {
  6414. "200": {
  6415. "description": "OK",
  6416. "schema": {
  6417. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  6418. }
  6419. },
  6420. "500": {
  6421. "description": "Internal Server Error",
  6422. "schema": {
  6423. "$ref": "#/definitions/app.Response"
  6424. }
  6425. }
  6426. }
  6427. }
  6428. },
  6429. "/HSBY/QueryHsbyGoodsOrderDetails": {
  6430. "get": {
  6431. "security": [
  6432. {
  6433. "ApiKeyAuth": []
  6434. }
  6435. ],
  6436. "description": "说明:查询结果已按委托价格和委托时间排序",
  6437. "produces": [
  6438. "application/json"
  6439. ],
  6440. "tags": [
  6441. "定制【海商报业】"
  6442. ],
  6443. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  6444. "parameters": [
  6445. {
  6446. "type": "integer",
  6447. "description": "商品ID",
  6448. "name": "goodsID",
  6449. "in": "query",
  6450. "required": true
  6451. },
  6452. {
  6453. "type": "string",
  6454. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  6455. "name": "accountIDs",
  6456. "in": "query"
  6457. },
  6458. {
  6459. "type": "integer",
  6460. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  6461. "name": "buyOrSell",
  6462. "in": "query"
  6463. },
  6464. {
  6465. "type": "number",
  6466. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  6467. "name": "price",
  6468. "in": "query"
  6469. },
  6470. {
  6471. "type": "integer",
  6472. "description": "档位,不传则默认为3档",
  6473. "name": "speed",
  6474. "in": "query"
  6475. }
  6476. ],
  6477. "responses": {
  6478. "200": {
  6479. "description": "OK",
  6480. "schema": {
  6481. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  6482. }
  6483. },
  6484. "500": {
  6485. "description": "Internal Server Error",
  6486. "schema": {
  6487. "$ref": "#/definitions/app.Response"
  6488. }
  6489. }
  6490. }
  6491. }
  6492. },
  6493. "/HSBY/QueryHsbyListingGoodsDetail": {
  6494. "get": {
  6495. "security": [
  6496. {
  6497. "ApiKeyAuth": []
  6498. }
  6499. ],
  6500. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  6501. "produces": [
  6502. "application/json"
  6503. ],
  6504. "tags": [
  6505. "定制【海商报业】"
  6506. ],
  6507. "summary": "查询二级市场(挂牌点选)商品信息详情",
  6508. "parameters": [
  6509. {
  6510. "type": "integer",
  6511. "description": "商品ID",
  6512. "name": "goodsID",
  6513. "in": "query",
  6514. "required": true
  6515. },
  6516. {
  6517. "type": "integer",
  6518. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  6519. "name": "accountID",
  6520. "in": "query"
  6521. }
  6522. ],
  6523. "responses": {
  6524. "200": {
  6525. "description": "OK",
  6526. "schema": {
  6527. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  6528. }
  6529. },
  6530. "500": {
  6531. "description": "Internal Server Error",
  6532. "schema": {
  6533. "$ref": "#/definitions/app.Response"
  6534. }
  6535. }
  6536. }
  6537. }
  6538. },
  6539. "/HSBY/QueryHsbyMarketGoodsDetail": {
  6540. "get": {
  6541. "security": [
  6542. {
  6543. "ApiKeyAuth": []
  6544. }
  6545. ],
  6546. "produces": [
  6547. "application/json"
  6548. ],
  6549. "tags": [
  6550. "定制【海商报业】"
  6551. ],
  6552. "summary": "查询三级市场(商城)商品信息详情",
  6553. "parameters": [
  6554. {
  6555. "type": "integer",
  6556. "description": "委托单号",
  6557. "name": "orderID",
  6558. "in": "query",
  6559. "required": true
  6560. },
  6561. {
  6562. "type": "integer",
  6563. "description": "资金账户,主要用于判断商品最大开仓手数;如未登录可不传。",
  6564. "name": "accountID",
  6565. "in": "query"
  6566. }
  6567. ],
  6568. "responses": {
  6569. "200": {
  6570. "description": "OK",
  6571. "schema": {
  6572. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  6573. }
  6574. },
  6575. "500": {
  6576. "description": "Internal Server Error",
  6577. "schema": {
  6578. "$ref": "#/definitions/app.Response"
  6579. }
  6580. }
  6581. }
  6582. }
  6583. },
  6584. "/HSBY/QueryHsbyMarketGoodses": {
  6585. "get": {
  6586. "security": [
  6587. {
  6588. "ApiKeyAuth": []
  6589. }
  6590. ],
  6591. "produces": [
  6592. "application/json"
  6593. ],
  6594. "tags": [
  6595. "定制【海商报业】"
  6596. ],
  6597. "summary": "查询特卖商品列表(三级商城)",
  6598. "parameters": [
  6599. {
  6600. "type": "integer",
  6601. "description": "页码",
  6602. "name": "page",
  6603. "in": "query"
  6604. },
  6605. {
  6606. "type": "integer",
  6607. "description": "每页条数",
  6608. "name": "pagesize",
  6609. "in": "query"
  6610. },
  6611. {
  6612. "type": "string",
  6613. "description": "市场ID列表,格式:1,2,3",
  6614. "name": "marketIDs",
  6615. "in": "query",
  6616. "required": true
  6617. },
  6618. {
  6619. "type": "integer",
  6620. "description": "资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。",
  6621. "name": "accountID",
  6622. "in": "query",
  6623. "required": true
  6624. },
  6625. {
  6626. "type": "integer",
  6627. "description": "类别ID",
  6628. "name": "categoryID",
  6629. "in": "query"
  6630. },
  6631. {
  6632. "type": "string",
  6633. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  6634. "name": "goodsIDs",
  6635. "in": "query"
  6636. },
  6637. {
  6638. "type": "integer",
  6639. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  6640. "name": "couponTypeID",
  6641. "in": "query"
  6642. }
  6643. ],
  6644. "responses": {
  6645. "200": {
  6646. "description": "OK",
  6647. "schema": {
  6648. "$ref": "#/definitions/models.HsbyMarketGoods"
  6649. }
  6650. },
  6651. "500": {
  6652. "description": "Internal Server Error",
  6653. "schema": {
  6654. "$ref": "#/definitions/app.Response"
  6655. }
  6656. }
  6657. }
  6658. }
  6659. },
  6660. "/HSBY/QueryHsbyMarkets": {
  6661. "get": {
  6662. "security": [
  6663. {
  6664. "ApiKeyAuth": []
  6665. }
  6666. ],
  6667. "produces": [
  6668. "application/json"
  6669. ],
  6670. "tags": [
  6671. "定制【海商报业】"
  6672. ],
  6673. "summary": "查询海商报业相关市场信息",
  6674. "responses": {
  6675. "200": {
  6676. "description": "OK",
  6677. "schema": {
  6678. "$ref": "#/definitions/models.HsbyMarketInfo"
  6679. }
  6680. },
  6681. "500": {
  6682. "description": "Internal Server Error",
  6683. "schema": {
  6684. "$ref": "#/definitions/app.Response"
  6685. }
  6686. }
  6687. }
  6688. }
  6689. },
  6690. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  6691. "get": {
  6692. "security": [
  6693. {
  6694. "ApiKeyAuth": []
  6695. }
  6696. ],
  6697. "description": "说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败",
  6698. "produces": [
  6699. "application/json"
  6700. ],
  6701. "tags": [
  6702. "定制【海商报业】"
  6703. ],
  6704. "summary": "查询“我的订单”信息",
  6705. "parameters": [
  6706. {
  6707. "type": "string",
  6708. "description": "资金账户列表,格式:1,2,3",
  6709. "name": "accountIDs",
  6710. "in": "query",
  6711. "required": true
  6712. }
  6713. ],
  6714. "responses": {
  6715. "200": {
  6716. "description": "OK",
  6717. "schema": {
  6718. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  6719. }
  6720. },
  6721. "500": {
  6722. "description": "Internal Server Error",
  6723. "schema": {
  6724. "$ref": "#/definitions/app.Response"
  6725. }
  6726. }
  6727. }
  6728. }
  6729. },
  6730. "/HSBY/QueryHsbyMyGoods": {
  6731. "get": {
  6732. "security": [
  6733. {
  6734. "ApiKeyAuth": []
  6735. }
  6736. ],
  6737. "description": "说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice",
  6738. "produces": [
  6739. "application/json"
  6740. ],
  6741. "tags": [
  6742. "定制【海商报业】"
  6743. ],
  6744. "summary": "查询“我的商品”信息",
  6745. "parameters": [
  6746. {
  6747. "type": "string",
  6748. "description": "资金账户列表,格式:1,2,3",
  6749. "name": "accountIDs",
  6750. "in": "query",
  6751. "required": true
  6752. }
  6753. ],
  6754. "responses": {
  6755. "200": {
  6756. "description": "OK",
  6757. "schema": {
  6758. "$ref": "#/definitions/models.HsbyMyGoods"
  6759. }
  6760. },
  6761. "500": {
  6762. "description": "Internal Server Error",
  6763. "schema": {
  6764. "$ref": "#/definitions/app.Response"
  6765. }
  6766. }
  6767. }
  6768. }
  6769. },
  6770. "/HSBY/QueryHsbyMyPackages": {
  6771. "get": {
  6772. "security": [
  6773. {
  6774. "ApiKeyAuth": []
  6775. }
  6776. ],
  6777. "produces": [
  6778. "application/json"
  6779. ],
  6780. "tags": [
  6781. "定制【海商报业】"
  6782. ],
  6783. "summary": "查询我的包裹信息",
  6784. "parameters": [
  6785. {
  6786. "type": "string",
  6787. "description": "资金账户列表,格式:1,2,3",
  6788. "name": "accountIDs",
  6789. "in": "query",
  6790. "required": true
  6791. },
  6792. {
  6793. "type": "integer",
  6794. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  6795. "name": "takeOrderStatus",
  6796. "in": "query"
  6797. }
  6798. ],
  6799. "responses": {
  6800. "200": {
  6801. "description": "OK",
  6802. "schema": {
  6803. "$ref": "#/definitions/models.HsbyMyPackage"
  6804. }
  6805. },
  6806. "500": {
  6807. "description": "Internal Server Error",
  6808. "schema": {
  6809. "$ref": "#/definitions/app.Response"
  6810. }
  6811. }
  6812. }
  6813. }
  6814. },
  6815. "/HSBY/QueryHsbyPreGoodsDetail": {
  6816. "get": {
  6817. "security": [
  6818. {
  6819. "ApiKeyAuth": []
  6820. }
  6821. ],
  6822. "produces": [
  6823. "application/json"
  6824. ],
  6825. "tags": [
  6826. "定制【海商报业】"
  6827. ],
  6828. "summary": "查询一级市场(预售)商品信息详情",
  6829. "parameters": [
  6830. {
  6831. "type": "integer",
  6832. "description": "商品ID",
  6833. "name": "goodsID",
  6834. "in": "query",
  6835. "required": true
  6836. },
  6837. {
  6838. "type": "integer",
  6839. "description": "资金账户,主要用于获取预售商品购买上限",
  6840. "name": "accountID",
  6841. "in": "query"
  6842. }
  6843. ],
  6844. "responses": {
  6845. "200": {
  6846. "description": "OK",
  6847. "schema": {
  6848. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  6849. }
  6850. },
  6851. "500": {
  6852. "description": "Internal Server Error",
  6853. "schema": {
  6854. "$ref": "#/definitions/app.Response"
  6855. }
  6856. }
  6857. }
  6858. }
  6859. },
  6860. "/HSBY/QueryHsbyPreGoodses": {
  6861. "get": {
  6862. "security": [
  6863. {
  6864. "ApiKeyAuth": []
  6865. }
  6866. ],
  6867. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  6868. "produces": [
  6869. "application/json"
  6870. ],
  6871. "tags": [
  6872. "定制【海商报业】"
  6873. ],
  6874. "summary": "查询新品上市商品列表(一级市场预售)",
  6875. "parameters": [
  6876. {
  6877. "type": "integer",
  6878. "description": "页码",
  6879. "name": "page",
  6880. "in": "query"
  6881. },
  6882. {
  6883. "type": "integer",
  6884. "description": "每页条数",
  6885. "name": "pagesize",
  6886. "in": "query"
  6887. },
  6888. {
  6889. "type": "string",
  6890. "description": "市场ID列表,格式:1,2,3",
  6891. "name": "marketIDs",
  6892. "in": "query",
  6893. "required": true
  6894. },
  6895. {
  6896. "type": "integer",
  6897. "description": "目的地(省)ID",
  6898. "name": "descProvinceID",
  6899. "in": "query"
  6900. },
  6901. {
  6902. "type": "integer",
  6903. "description": "目的地(市)ID",
  6904. "name": "descCityID",
  6905. "in": "query"
  6906. }
  6907. ],
  6908. "responses": {
  6909. "200": {
  6910. "description": "OK",
  6911. "schema": {
  6912. "$ref": "#/definitions/models.HsbyPreGoods"
  6913. }
  6914. },
  6915. "500": {
  6916. "description": "Internal Server Error",
  6917. "schema": {
  6918. "$ref": "#/definitions/app.Response"
  6919. }
  6920. }
  6921. }
  6922. }
  6923. },
  6924. "/HSBY/QueryHsbySellMyDetails": {
  6925. "get": {
  6926. "security": [
  6927. {
  6928. "ApiKeyAuth": []
  6929. }
  6930. ],
  6931. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  6932. "produces": [
  6933. "application/json"
  6934. ],
  6935. "tags": [
  6936. "定制【海商报业】"
  6937. ],
  6938. "summary": "查询\"我的闲置\"单据信息",
  6939. "parameters": [
  6940. {
  6941. "type": "integer",
  6942. "description": "页码",
  6943. "name": "page",
  6944. "in": "query"
  6945. },
  6946. {
  6947. "type": "integer",
  6948. "description": "每页条数",
  6949. "name": "pagesize",
  6950. "in": "query"
  6951. },
  6952. {
  6953. "type": "string",
  6954. "description": "资金账户列表,格式:1,2,3",
  6955. "name": "accountIDs",
  6956. "in": "query",
  6957. "required": true
  6958. },
  6959. {
  6960. "type": "integer",
  6961. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  6962. "name": "orderType",
  6963. "in": "query"
  6964. }
  6965. ],
  6966. "responses": {
  6967. "200": {
  6968. "description": "OK",
  6969. "schema": {
  6970. "$ref": "#/definitions/models.HsbySellMyDetail"
  6971. }
  6972. },
  6973. "500": {
  6974. "description": "Internal Server Error",
  6975. "schema": {
  6976. "$ref": "#/definitions/app.Response"
  6977. }
  6978. }
  6979. }
  6980. }
  6981. },
  6982. "/HSBY/QueryHsbyTopGoodses": {
  6983. "get": {
  6984. "security": [
  6985. {
  6986. "ApiKeyAuth": []
  6987. }
  6988. ],
  6989. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  6990. "produces": [
  6991. "application/json"
  6992. ],
  6993. "tags": [
  6994. "定制【海商报业】"
  6995. ],
  6996. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  6997. "parameters": [
  6998. {
  6999. "type": "integer",
  7000. "description": "页码",
  7001. "name": "page",
  7002. "in": "query"
  7003. },
  7004. {
  7005. "type": "integer",
  7006. "description": "每页条数",
  7007. "name": "pagesize",
  7008. "in": "query"
  7009. },
  7010. {
  7011. "type": "string",
  7012. "description": "市场ID列表,格式:1,2,3",
  7013. "name": "marketIDs",
  7014. "in": "query",
  7015. "required": true
  7016. },
  7017. {
  7018. "type": "integer",
  7019. "description": "目的地(省)ID",
  7020. "name": "descProvinceID",
  7021. "in": "query"
  7022. },
  7023. {
  7024. "type": "integer",
  7025. "description": "目的地(市)ID",
  7026. "name": "descCityID",
  7027. "in": "query"
  7028. }
  7029. ],
  7030. "responses": {
  7031. "200": {
  7032. "description": "OK",
  7033. "schema": {
  7034. "$ref": "#/definitions/models.HsbyTopGoods"
  7035. }
  7036. },
  7037. "500": {
  7038. "description": "Internal Server Error",
  7039. "schema": {
  7040. "$ref": "#/definitions/app.Response"
  7041. }
  7042. }
  7043. }
  7044. }
  7045. },
  7046. "/HSBY/QueryHsbyVisitorMarketGoodsDetail": {
  7047. "get": {
  7048. "security": [
  7049. {
  7050. "ApiKeyAuth": []
  7051. }
  7052. ],
  7053. "description": "说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。",
  7054. "produces": [
  7055. "application/json"
  7056. ],
  7057. "tags": [
  7058. "定制【海商报业】"
  7059. ],
  7060. "summary": "查询游客三级市场(商城)商品信息详情",
  7061. "parameters": [
  7062. {
  7063. "type": "integer",
  7064. "description": "商品ID",
  7065. "name": "goodsID",
  7066. "in": "query",
  7067. "required": true
  7068. }
  7069. ],
  7070. "responses": {
  7071. "200": {
  7072. "description": "OK",
  7073. "schema": {
  7074. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  7075. }
  7076. },
  7077. "500": {
  7078. "description": "Internal Server Error",
  7079. "schema": {
  7080. "$ref": "#/definitions/app.Response"
  7081. }
  7082. }
  7083. }
  7084. }
  7085. },
  7086. "/HSBY/QueryHsbyVisitorMarketGoodses": {
  7087. "get": {
  7088. "security": [
  7089. {
  7090. "ApiKeyAuth": []
  7091. }
  7092. ],
  7093. "description": "说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。",
  7094. "produces": [
  7095. "application/json"
  7096. ],
  7097. "tags": [
  7098. "定制【海商报业】"
  7099. ],
  7100. "summary": "查询游客特卖商品列表(三级商城)",
  7101. "parameters": [
  7102. {
  7103. "type": "integer",
  7104. "description": "页码",
  7105. "name": "page",
  7106. "in": "query"
  7107. },
  7108. {
  7109. "type": "integer",
  7110. "description": "每页条数",
  7111. "name": "pagesize",
  7112. "in": "query"
  7113. },
  7114. {
  7115. "type": "string",
  7116. "description": "市场ID列表,格式:1,2,3",
  7117. "name": "marketIDs",
  7118. "in": "query",
  7119. "required": true
  7120. },
  7121. {
  7122. "type": "integer",
  7123. "description": "类别ID",
  7124. "name": "categoryID",
  7125. "in": "query"
  7126. },
  7127. {
  7128. "type": "string",
  7129. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  7130. "name": "goodsIDs",
  7131. "in": "query"
  7132. }
  7133. ],
  7134. "responses": {
  7135. "200": {
  7136. "description": "OK",
  7137. "schema": {
  7138. "$ref": "#/definitions/models.HsbyMarketGoods"
  7139. }
  7140. },
  7141. "500": {
  7142. "description": "Internal Server Error",
  7143. "schema": {
  7144. "$ref": "#/definitions/app.Response"
  7145. }
  7146. }
  7147. }
  7148. }
  7149. },
  7150. "/HSBY/QueryMyCollectionOrders": {
  7151. "get": {
  7152. "security": [
  7153. {
  7154. "ApiKeyAuth": []
  7155. }
  7156. ],
  7157. "produces": [
  7158. "application/json"
  7159. ],
  7160. "tags": [
  7161. "定制【海商报业】"
  7162. ],
  7163. "summary": "我的闲置中收款信息查询",
  7164. "parameters": [
  7165. {
  7166. "type": "integer",
  7167. "description": "页码",
  7168. "name": "page",
  7169. "in": "query"
  7170. },
  7171. {
  7172. "type": "integer",
  7173. "description": "每页条数",
  7174. "name": "pagesize",
  7175. "in": "query"
  7176. },
  7177. {
  7178. "type": "string",
  7179. "description": "资金账户,格式:1,2,3",
  7180. "name": "accountIDs",
  7181. "in": "query",
  7182. "required": true
  7183. }
  7184. ],
  7185. "responses": {
  7186. "200": {
  7187. "description": "OK",
  7188. "schema": {
  7189. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  7190. }
  7191. },
  7192. "500": {
  7193. "description": "Internal Server Error",
  7194. "schema": {
  7195. "$ref": "#/definitions/app.Response"
  7196. }
  7197. }
  7198. }
  7199. }
  7200. },
  7201. "/HSBY/QueryMyCouponHolds": {
  7202. "get": {
  7203. "security": [
  7204. {
  7205. "ApiKeyAuth": []
  7206. }
  7207. ],
  7208. "description": "说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。",
  7209. "produces": [
  7210. "application/json"
  7211. ],
  7212. "tags": [
  7213. "定制【海商报业】"
  7214. ],
  7215. "summary": "我的优惠卷持仓查询",
  7216. "parameters": [
  7217. {
  7218. "type": "string",
  7219. "description": "资金账户列表,格式:1,2,3",
  7220. "name": "accountIDs",
  7221. "in": "query",
  7222. "required": true
  7223. },
  7224. {
  7225. "type": "string",
  7226. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  7227. "name": "holdStatus",
  7228. "in": "query"
  7229. }
  7230. ],
  7231. "responses": {
  7232. "200": {
  7233. "description": "OK",
  7234. "schema": {
  7235. "$ref": "#/definitions/models.MyCouponHold"
  7236. }
  7237. },
  7238. "500": {
  7239. "description": "Internal Server Error",
  7240. "schema": {
  7241. "$ref": "#/definitions/app.Response"
  7242. }
  7243. }
  7244. }
  7245. }
  7246. },
  7247. "/HSBY/QueryMyCoupons": {
  7248. "get": {
  7249. "security": [
  7250. {
  7251. "ApiKeyAuth": []
  7252. }
  7253. ],
  7254. "produces": [
  7255. "application/json"
  7256. ],
  7257. "tags": [
  7258. "定制【海商报业】"
  7259. ],
  7260. "summary": "我的优惠卷查询",
  7261. "parameters": [
  7262. {
  7263. "type": "string",
  7264. "description": "资金账户列表,格式:1,2,3",
  7265. "name": "accountIDs",
  7266. "in": "query",
  7267. "required": true
  7268. },
  7269. {
  7270. "type": "integer",
  7271. "description": "商品ID, 一般与sellUserID配套传入",
  7272. "name": "goodsID",
  7273. "in": "query"
  7274. },
  7275. {
  7276. "type": "integer",
  7277. "description": "卖方UserID",
  7278. "name": "sellUserID",
  7279. "in": "query"
  7280. }
  7281. ],
  7282. "responses": {
  7283. "200": {
  7284. "description": "OK",
  7285. "schema": {
  7286. "$ref": "#/definitions/models.MyCoupon"
  7287. }
  7288. },
  7289. "500": {
  7290. "description": "Internal Server Error",
  7291. "schema": {
  7292. "$ref": "#/definitions/app.Response"
  7293. }
  7294. }
  7295. }
  7296. }
  7297. },
  7298. "/HSBY/QueryMyPayOrders": {
  7299. "get": {
  7300. "security": [
  7301. {
  7302. "ApiKeyAuth": []
  7303. }
  7304. ],
  7305. "produces": [
  7306. "application/json"
  7307. ],
  7308. "tags": [
  7309. "定制【海商报业】"
  7310. ],
  7311. "summary": "获取我的订单中待付款信息",
  7312. "parameters": [
  7313. {
  7314. "type": "integer",
  7315. "description": "页码",
  7316. "name": "page",
  7317. "in": "query"
  7318. },
  7319. {
  7320. "type": "integer",
  7321. "description": "每页条数",
  7322. "name": "pagesize",
  7323. "in": "query"
  7324. },
  7325. {
  7326. "type": "string",
  7327. "description": "资金账户列表,格式:1,2,3",
  7328. "name": "accountIDs",
  7329. "in": "query",
  7330. "required": true
  7331. },
  7332. {
  7333. "type": "integer",
  7334. "description": "买方委托单号",
  7335. "name": "buyOrderID",
  7336. "in": "query"
  7337. },
  7338. {
  7339. "type": "integer",
  7340. "description": "卖方委托单号",
  7341. "name": "sellOrderID",
  7342. "in": "query"
  7343. }
  7344. ],
  7345. "responses": {
  7346. "200": {
  7347. "description": "OK",
  7348. "schema": {
  7349. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  7350. }
  7351. },
  7352. "500": {
  7353. "description": "Internal Server Error",
  7354. "schema": {
  7355. "$ref": "#/definitions/app.Response"
  7356. }
  7357. }
  7358. }
  7359. }
  7360. },
  7361. "/HSBY/QueryMyUsedCoupon": {
  7362. "get": {
  7363. "security": [
  7364. {
  7365. "ApiKeyAuth": []
  7366. }
  7367. ],
  7368. "produces": [
  7369. "application/json"
  7370. ],
  7371. "tags": [
  7372. "定制【海商报业】"
  7373. ],
  7374. "summary": "已使用优惠卷查询",
  7375. "parameters": [
  7376. {
  7377. "type": "string",
  7378. "description": "资金账户列表,格式:1,2,3",
  7379. "name": "accountIDs",
  7380. "in": "query",
  7381. "required": true
  7382. }
  7383. ],
  7384. "responses": {
  7385. "200": {
  7386. "description": "OK",
  7387. "schema": {
  7388. "$ref": "#/definitions/models.MyUsedCoupon"
  7389. }
  7390. },
  7391. "500": {
  7392. "description": "Internal Server Error",
  7393. "schema": {
  7394. "$ref": "#/definitions/app.Response"
  7395. }
  7396. }
  7397. }
  7398. }
  7399. },
  7400. "/HSBY/QueryProvincesAndCities": {
  7401. "get": {
  7402. "security": [
  7403. {
  7404. "ApiKeyAuth": []
  7405. }
  7406. ],
  7407. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  7408. "produces": [
  7409. "application/json"
  7410. ],
  7411. "tags": [
  7412. "定制【海商报业】"
  7413. ],
  7414. "summary": "查询省市信息(不包括区)",
  7415. "parameters": [
  7416. {
  7417. "type": "integer",
  7418. "description": "省ID",
  7419. "name": "provinceID",
  7420. "in": "query"
  7421. }
  7422. ],
  7423. "responses": {
  7424. "200": {
  7425. "description": "OK",
  7426. "schema": {
  7427. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  7428. }
  7429. },
  7430. "500": {
  7431. "description": "Internal Server Error",
  7432. "schema": {
  7433. "$ref": "#/definitions/app.Response"
  7434. }
  7435. }
  7436. }
  7437. }
  7438. },
  7439. "/HSBY/SetHsbyMyPackagesStatus": {
  7440. "post": {
  7441. "security": [
  7442. {
  7443. "ApiKeyAuth": []
  7444. }
  7445. ],
  7446. "produces": [
  7447. "application/json"
  7448. ],
  7449. "tags": [
  7450. "定制【海商报业】"
  7451. ],
  7452. "summary": "设置我的包裹已收货状态",
  7453. "parameters": [
  7454. {
  7455. "type": "string",
  7456. "description": "提货单号",
  7457. "name": "takeOrderID",
  7458. "in": "query",
  7459. "required": true
  7460. },
  7461. {
  7462. "type": "integer",
  7463. "description": "资金账号",
  7464. "name": "accountID",
  7465. "in": "query",
  7466. "required": true
  7467. }
  7468. ],
  7469. "responses": {
  7470. "200": {
  7471. "description": "OK",
  7472. "schema": {
  7473. "$ref": "#/definitions/app.Response"
  7474. }
  7475. },
  7476. "500": {
  7477. "description": "Internal Server Error",
  7478. "schema": {
  7479. "$ref": "#/definitions/app.Response"
  7480. }
  7481. }
  7482. }
  7483. }
  7484. },
  7485. "/Market/GetAllExExchanges": {
  7486. "get": {
  7487. "security": [
  7488. {
  7489. "ApiKeyAuth": []
  7490. }
  7491. ],
  7492. "produces": [
  7493. "application/json"
  7494. ],
  7495. "tags": [
  7496. "通用市场"
  7497. ],
  7498. "summary": "获取所有外部交易所信息",
  7499. "responses": {
  7500. "200": {
  7501. "description": "OK",
  7502. "schema": {
  7503. "$ref": "#/definitions/models.Goods"
  7504. }
  7505. },
  7506. "500": {
  7507. "description": "Internal Server Error",
  7508. "schema": {
  7509. "$ref": "#/definitions/app.Response"
  7510. }
  7511. }
  7512. }
  7513. }
  7514. },
  7515. "/Market/QueryGoodsesByLoginID": {
  7516. "get": {
  7517. "security": [
  7518. {
  7519. "ApiKeyAuth": []
  7520. }
  7521. ],
  7522. "produces": [
  7523. "application/json"
  7524. ],
  7525. "tags": [
  7526. "通用市场"
  7527. ],
  7528. "summary": "获取登录账号有权限的商品信息",
  7529. "parameters": [
  7530. {
  7531. "type": "integer",
  7532. "description": "登录账号",
  7533. "name": "loginID",
  7534. "in": "query",
  7535. "required": true
  7536. },
  7537. {
  7538. "type": "string",
  7539. "description": "市场ID列表,格式:1,2,3",
  7540. "name": "marketIDs",
  7541. "in": "query"
  7542. }
  7543. ],
  7544. "responses": {
  7545. "200": {
  7546. "description": "OK",
  7547. "schema": {
  7548. "$ref": "#/definitions/models.Goods"
  7549. }
  7550. },
  7551. "500": {
  7552. "description": "Internal Server Error",
  7553. "schema": {
  7554. "$ref": "#/definitions/app.Response"
  7555. }
  7556. }
  7557. }
  7558. }
  7559. },
  7560. "/Market/QueryMarketRun": {
  7561. "get": {
  7562. "security": [
  7563. {
  7564. "ApiKeyAuth": []
  7565. }
  7566. ],
  7567. "produces": [
  7568. "application/json"
  7569. ],
  7570. "tags": [
  7571. "通用市场"
  7572. ],
  7573. "summary": "查询市场运行信息",
  7574. "parameters": [
  7575. {
  7576. "type": "integer",
  7577. "description": "市场ID,不传返回所有",
  7578. "name": "marketID",
  7579. "in": "query"
  7580. }
  7581. ],
  7582. "responses": {
  7583. "200": {
  7584. "description": "OK",
  7585. "schema": {
  7586. "$ref": "#/definitions/models.Marketrun"
  7587. }
  7588. },
  7589. "500": {
  7590. "description": "Internal Server Error",
  7591. "schema": {
  7592. "$ref": "#/definitions/app.Response"
  7593. }
  7594. }
  7595. }
  7596. }
  7597. },
  7598. "/Market/QueryMarketsByLoginID": {
  7599. "get": {
  7600. "security": [
  7601. {
  7602. "ApiKeyAuth": []
  7603. }
  7604. ],
  7605. "produces": [
  7606. "application/json"
  7607. ],
  7608. "tags": [
  7609. "通用市场"
  7610. ],
  7611. "summary": "获取登录账号有权限的市场信息",
  7612. "parameters": [
  7613. {
  7614. "type": "integer",
  7615. "description": "登录账号",
  7616. "name": "loginID",
  7617. "in": "query",
  7618. "required": true
  7619. }
  7620. ],
  7621. "responses": {
  7622. "200": {
  7623. "description": "OK",
  7624. "schema": {
  7625. "$ref": "#/definitions/models.Market"
  7626. }
  7627. },
  7628. "500": {
  7629. "description": "Internal Server Error",
  7630. "schema": {
  7631. "$ref": "#/definitions/app.Response"
  7632. }
  7633. }
  7634. }
  7635. }
  7636. },
  7637. "/Order/QueryHisTradeDetail": {
  7638. "get": {
  7639. "security": [
  7640. {
  7641. "ApiKeyAuth": []
  7642. }
  7643. ],
  7644. "produces": [
  7645. "application/json"
  7646. ],
  7647. "tags": [
  7648. "通用单据"
  7649. ],
  7650. "summary": "历史成交单查询(合约市场)",
  7651. "parameters": [
  7652. {
  7653. "type": "string",
  7654. "description": "资金账户 - 格式:1,2,3",
  7655. "name": "accountID",
  7656. "in": "query",
  7657. "required": true
  7658. },
  7659. {
  7660. "type": "integer",
  7661. "description": "成交单号",
  7662. "name": "tradeID",
  7663. "in": "query"
  7664. },
  7665. {
  7666. "type": "integer",
  7667. "description": "委托单号",
  7668. "name": "orderID",
  7669. "in": "query"
  7670. },
  7671. {
  7672. "type": "integer",
  7673. "description": "商品ID",
  7674. "name": "goodsID",
  7675. "in": "query"
  7676. },
  7677. {
  7678. "type": "string",
  7679. "description": "交易模式 - 格式:1,2,3",
  7680. "name": "tradeMode",
  7681. "in": "query"
  7682. },
  7683. {
  7684. "type": "integer",
  7685. "description": "委托单据类型",
  7686. "name": "buildType",
  7687. "in": "query"
  7688. },
  7689. {
  7690. "type": "string",
  7691. "description": "成交类别 - 格式:1,2,3",
  7692. "name": "tradeType",
  7693. "in": "query"
  7694. },
  7695. {
  7696. "type": "string",
  7697. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  7698. "name": "startDate",
  7699. "in": "query"
  7700. },
  7701. {
  7702. "type": "string",
  7703. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  7704. "name": "endDate",
  7705. "in": "query"
  7706. }
  7707. ],
  7708. "responses": {
  7709. "200": {
  7710. "description": "OK",
  7711. "schema": {
  7712. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  7713. }
  7714. },
  7715. "500": {
  7716. "description": "Internal Server Error",
  7717. "schema": {
  7718. "$ref": "#/definitions/app.Response"
  7719. }
  7720. }
  7721. }
  7722. }
  7723. },
  7724. "/Order/QueryHisTradeOrderDetail": {
  7725. "get": {
  7726. "security": [
  7727. {
  7728. "ApiKeyAuth": []
  7729. }
  7730. ],
  7731. "produces": [
  7732. "application/json"
  7733. ],
  7734. "tags": [
  7735. "通用单据"
  7736. ],
  7737. "summary": "历史委托单查询请求(合约市场)",
  7738. "parameters": [
  7739. {
  7740. "type": "string",
  7741. "description": "资金账户 - 格式:1,2,3",
  7742. "name": "accountID",
  7743. "in": "query",
  7744. "required": true
  7745. },
  7746. {
  7747. "type": "string",
  7748. "description": "交易模式 - 格式:1,2,3",
  7749. "name": "tradeMode",
  7750. "in": "query"
  7751. },
  7752. {
  7753. "type": "string",
  7754. "description": "委托状态 - 格式:1,2,3",
  7755. "name": "orderStatus",
  7756. "in": "query"
  7757. },
  7758. {
  7759. "type": "integer",
  7760. "description": "委托单号",
  7761. "name": "orderID",
  7762. "in": "query"
  7763. },
  7764. {
  7765. "type": "string",
  7766. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  7767. "name": "startDate",
  7768. "in": "query"
  7769. },
  7770. {
  7771. "type": "string",
  7772. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  7773. "name": "endDate",
  7774. "in": "query"
  7775. }
  7776. ],
  7777. "responses": {
  7778. "200": {
  7779. "description": "OK",
  7780. "schema": {
  7781. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  7782. }
  7783. },
  7784. "500": {
  7785. "description": "Internal Server Error",
  7786. "schema": {
  7787. "$ref": "#/definitions/app.Response"
  7788. }
  7789. }
  7790. }
  7791. }
  7792. },
  7793. "/Order/QueryTradeDetail": {
  7794. "get": {
  7795. "security": [
  7796. {
  7797. "ApiKeyAuth": []
  7798. }
  7799. ],
  7800. "produces": [
  7801. "application/json"
  7802. ],
  7803. "tags": [
  7804. "通用单据"
  7805. ],
  7806. "summary": "成交单查询(合约市场)",
  7807. "parameters": [
  7808. {
  7809. "type": "string",
  7810. "description": "资金账户 - 格式:1,2,3",
  7811. "name": "accountID",
  7812. "in": "query",
  7813. "required": true
  7814. },
  7815. {
  7816. "type": "integer",
  7817. "description": "成交单号",
  7818. "name": "tradeID",
  7819. "in": "query"
  7820. },
  7821. {
  7822. "type": "integer",
  7823. "description": "委托单号",
  7824. "name": "orderID",
  7825. "in": "query"
  7826. },
  7827. {
  7828. "type": "string",
  7829. "description": "交易模式 - 格式:1,2,3",
  7830. "name": "tradeMode",
  7831. "in": "query"
  7832. },
  7833. {
  7834. "type": "integer",
  7835. "description": "委托单据类型",
  7836. "name": "buildType",
  7837. "in": "query"
  7838. },
  7839. {
  7840. "type": "string",
  7841. "description": "成交类别 - 格式:1,2,3",
  7842. "name": "tradeType",
  7843. "in": "query"
  7844. },
  7845. {
  7846. "type": "integer",
  7847. "description": "商品ID",
  7848. "name": "goodsID",
  7849. "in": "query"
  7850. }
  7851. ],
  7852. "responses": {
  7853. "200": {
  7854. "description": "OK",
  7855. "schema": {
  7856. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  7857. }
  7858. },
  7859. "500": {
  7860. "description": "Internal Server Error",
  7861. "schema": {
  7862. "$ref": "#/definitions/app.Response"
  7863. }
  7864. }
  7865. }
  7866. }
  7867. },
  7868. "/Order/QueryTradeHolderDetail": {
  7869. "get": {
  7870. "security": [
  7871. {
  7872. "ApiKeyAuth": []
  7873. }
  7874. ],
  7875. "produces": [
  7876. "application/json"
  7877. ],
  7878. "tags": [
  7879. "通用单据"
  7880. ],
  7881. "summary": "查询持仓明细",
  7882. "parameters": [
  7883. {
  7884. "type": "integer",
  7885. "description": "用户id",
  7886. "name": "userid",
  7887. "in": "query"
  7888. },
  7889. {
  7890. "type": "string",
  7891. "description": "资金账号, 格式 1,2,3",
  7892. "name": "accids",
  7893. "in": "query"
  7894. },
  7895. {
  7896. "type": "string",
  7897. "description": "交易模式, 格式 1,2,3",
  7898. "name": "trademodes",
  7899. "in": "query"
  7900. },
  7901. {
  7902. "type": "string",
  7903. "description": "市场id, 格式 1,2,3",
  7904. "name": "marketids",
  7905. "in": "query"
  7906. },
  7907. {
  7908. "type": "integer",
  7909. "description": "商品id",
  7910. "name": "goodsid",
  7911. "in": "query"
  7912. },
  7913. {
  7914. "type": "integer",
  7915. "description": "买卖方向 0-买 1-卖",
  7916. "name": "buyorsell",
  7917. "in": "query"
  7918. }
  7919. ],
  7920. "responses": {
  7921. "200": {
  7922. "description": "OK",
  7923. "schema": {
  7924. "type": "array",
  7925. "items": {
  7926. "$ref": "#/definitions/models.TradeHolderDetail"
  7927. }
  7928. }
  7929. },
  7930. "500": {
  7931. "description": "Internal Server Error",
  7932. "schema": {
  7933. "$ref": "#/definitions/app.Response"
  7934. }
  7935. }
  7936. }
  7937. }
  7938. },
  7939. "/Order/QueryTradeOrderDetail": {
  7940. "get": {
  7941. "security": [
  7942. {
  7943. "ApiKeyAuth": []
  7944. }
  7945. ],
  7946. "produces": [
  7947. "application/json"
  7948. ],
  7949. "tags": [
  7950. "通用单据"
  7951. ],
  7952. "summary": "委托单查询请求(合约市场)",
  7953. "parameters": [
  7954. {
  7955. "type": "string",
  7956. "description": "资金账户 - 格式:1,2,3",
  7957. "name": "accountID",
  7958. "in": "query",
  7959. "required": true
  7960. },
  7961. {
  7962. "type": "string",
  7963. "description": "交易模式 - 格式:1,2,3",
  7964. "name": "tradeMode",
  7965. "in": "query"
  7966. },
  7967. {
  7968. "type": "string",
  7969. "description": "委托状态 - 格式:1,2,3",
  7970. "name": "orderStatus",
  7971. "in": "query"
  7972. },
  7973. {
  7974. "type": "integer",
  7975. "description": "委托单号",
  7976. "name": "orderID",
  7977. "in": "query"
  7978. }
  7979. ],
  7980. "responses": {
  7981. "200": {
  7982. "description": "OK",
  7983. "schema": {
  7984. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  7985. }
  7986. },
  7987. "500": {
  7988. "description": "Internal Server Error",
  7989. "schema": {
  7990. "$ref": "#/definitions/app.Response"
  7991. }
  7992. }
  7993. }
  7994. }
  7995. },
  7996. "/Order/QueryTradePosition": {
  7997. "get": {
  7998. "security": [
  7999. {
  8000. "ApiKeyAuth": []
  8001. }
  8002. ],
  8003. "produces": [
  8004. "application/json"
  8005. ],
  8006. "tags": [
  8007. "通用单据"
  8008. ],
  8009. "summary": "持仓汇总查询(合约市场)",
  8010. "parameters": [
  8011. {
  8012. "type": "string",
  8013. "description": "资金账户 - 格式:1,2,3",
  8014. "name": "accountID",
  8015. "in": "query",
  8016. "required": true
  8017. },
  8018. {
  8019. "type": "string",
  8020. "description": "交易模式 - 格式:1,2,3",
  8021. "name": "tradeMode",
  8022. "in": "query"
  8023. }
  8024. ],
  8025. "responses": {
  8026. "200": {
  8027. "description": "OK",
  8028. "schema": {
  8029. "$ref": "#/definitions/order.QueryTradePositionRsp"
  8030. }
  8031. },
  8032. "500": {
  8033. "description": "Internal Server Error",
  8034. "schema": {
  8035. "$ref": "#/definitions/app.Response"
  8036. }
  8037. }
  8038. }
  8039. }
  8040. },
  8041. "/Qhj/QueryAccountInOutApply": {
  8042. "get": {
  8043. "security": [
  8044. {
  8045. "ApiKeyAuth": []
  8046. }
  8047. ],
  8048. "produces": [
  8049. "application/json"
  8050. ],
  8051. "tags": [
  8052. "大连千海金"
  8053. ],
  8054. "summary": "查询充值提现",
  8055. "parameters": [
  8056. {
  8057. "type": "integer",
  8058. "description": "用户ID",
  8059. "name": "userid",
  8060. "in": "query",
  8061. "required": true
  8062. },
  8063. {
  8064. "type": "string",
  8065. "description": "申请起始日期(格式yyyymmdd)",
  8066. "name": "begindate",
  8067. "in": "query"
  8068. },
  8069. {
  8070. "type": "string",
  8071. "description": "申请截止日期(格式yyyymmdd)",
  8072. "name": "enddate",
  8073. "in": "query"
  8074. },
  8075. {
  8076. "type": "string",
  8077. "description": "模糊搜索名称",
  8078. "name": "likename",
  8079. "in": "query"
  8080. }
  8081. ],
  8082. "responses": {
  8083. "200": {
  8084. "description": "OK",
  8085. "schema": {
  8086. "type": "array",
  8087. "items": {
  8088. "$ref": "#/definitions/models.QhjAccountOutInApply"
  8089. }
  8090. }
  8091. },
  8092. "500": {
  8093. "description": "Internal Server Error",
  8094. "schema": {
  8095. "$ref": "#/definitions/app.Response"
  8096. }
  8097. }
  8098. }
  8099. }
  8100. },
  8101. "/Qhj/QueryAreaFinanceConfig": {
  8102. "get": {
  8103. "security": [
  8104. {
  8105. "ApiKeyAuth": []
  8106. }
  8107. ],
  8108. "produces": [
  8109. "application/json"
  8110. ],
  8111. "tags": [
  8112. "大连千海金"
  8113. ],
  8114. "summary": "查询企业配置表",
  8115. "parameters": [
  8116. {
  8117. "type": "integer",
  8118. "description": "机构用户ID 其他做市关系,都设置为 1",
  8119. "name": "userid",
  8120. "in": "query"
  8121. }
  8122. ],
  8123. "responses": {
  8124. "200": {
  8125. "description": "OK",
  8126. "schema": {
  8127. "type": "array",
  8128. "items": {
  8129. "$ref": "#/definitions/models.QhjAreaFinanceConfig"
  8130. }
  8131. }
  8132. },
  8133. "500": {
  8134. "description": "Internal Server Error",
  8135. "schema": {
  8136. "$ref": "#/definitions/app.Response"
  8137. }
  8138. }
  8139. }
  8140. }
  8141. },
  8142. "/Qhj/QueryBankAccountSign": {
  8143. "get": {
  8144. "security": [
  8145. {
  8146. "ApiKeyAuth": []
  8147. }
  8148. ],
  8149. "produces": [
  8150. "application/json"
  8151. ],
  8152. "tags": [
  8153. "大连千海金"
  8154. ],
  8155. "summary": "查询签约银行信息(提现账户管理)",
  8156. "parameters": [
  8157. {
  8158. "type": "integer",
  8159. "description": "用户ID",
  8160. "name": "userid",
  8161. "in": "query",
  8162. "required": true
  8163. }
  8164. ],
  8165. "responses": {
  8166. "200": {
  8167. "description": "OK",
  8168. "schema": {
  8169. "type": "array",
  8170. "items": {
  8171. "$ref": "#/definitions/models.QhjBankAccountSign"
  8172. }
  8173. }
  8174. },
  8175. "500": {
  8176. "description": "Internal Server Error",
  8177. "schema": {
  8178. "$ref": "#/definitions/app.Response"
  8179. }
  8180. }
  8181. }
  8182. }
  8183. },
  8184. "/Qhj/QueryBankInfo": {
  8185. "get": {
  8186. "security": [
  8187. {
  8188. "ApiKeyAuth": []
  8189. }
  8190. ],
  8191. "produces": [
  8192. "application/json"
  8193. ],
  8194. "tags": [
  8195. "大连千海金"
  8196. ],
  8197. "summary": "查询开户行",
  8198. "responses": {
  8199. "200": {
  8200. "description": "OK",
  8201. "schema": {
  8202. "type": "array",
  8203. "items": {
  8204. "$ref": "#/definitions/models.QhjBankInfo"
  8205. }
  8206. }
  8207. },
  8208. "500": {
  8209. "description": "Internal Server Error",
  8210. "schema": {
  8211. "$ref": "#/definitions/app.Response"
  8212. }
  8213. }
  8214. }
  8215. }
  8216. },
  8217. "/Qhj/QueryBrokerApply": {
  8218. "get": {
  8219. "security": [
  8220. {
  8221. "ApiKeyAuth": []
  8222. }
  8223. ],
  8224. "produces": [
  8225. "application/json"
  8226. ],
  8227. "tags": [
  8228. "大连千海金"
  8229. ],
  8230. "summary": "查询经纪人申请",
  8231. "parameters": [
  8232. {
  8233. "type": "integer",
  8234. "description": "所属机构ID",
  8235. "name": "userid",
  8236. "in": "query"
  8237. },
  8238. {
  8239. "type": "string",
  8240. "description": "状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  8241. "name": "filterstatus",
  8242. "in": "query"
  8243. }
  8244. ],
  8245. "responses": {
  8246. "200": {
  8247. "description": "OK",
  8248. "schema": {
  8249. "type": "array",
  8250. "items": {
  8251. "$ref": "#/definitions/models.QhjBrokerApply"
  8252. }
  8253. }
  8254. },
  8255. "500": {
  8256. "description": "Internal Server Error",
  8257. "schema": {
  8258. "$ref": "#/definitions/app.Response"
  8259. }
  8260. }
  8261. }
  8262. }
  8263. },
  8264. "/Qhj/QueryBrokerApplyEx": {
  8265. "get": {
  8266. "security": [
  8267. {
  8268. "ApiKeyAuth": []
  8269. }
  8270. ],
  8271. "produces": [
  8272. "application/json"
  8273. ],
  8274. "tags": [
  8275. "大连千海金"
  8276. ],
  8277. "summary": "查询经纪人信息和申请记录",
  8278. "parameters": [
  8279. {
  8280. "type": "integer",
  8281. "description": "所属机构ID",
  8282. "name": "userid",
  8283. "in": "query"
  8284. }
  8285. ],
  8286. "responses": {
  8287. "200": {
  8288. "description": "OK",
  8289. "schema": {
  8290. "type": "array",
  8291. "items": {
  8292. "$ref": "#/definitions/models.QhjBrokerApplyEx"
  8293. }
  8294. }
  8295. },
  8296. "500": {
  8297. "description": "Internal Server Error",
  8298. "schema": {
  8299. "$ref": "#/definitions/app.Response"
  8300. }
  8301. }
  8302. }
  8303. }
  8304. },
  8305. "/Qhj/QueryBrokerRewardLog": {
  8306. "get": {
  8307. "security": [
  8308. {
  8309. "ApiKeyAuth": []
  8310. }
  8311. ],
  8312. "produces": [
  8313. "application/json"
  8314. ],
  8315. "tags": [
  8316. "大连千海金"
  8317. ],
  8318. "summary": "查询奖励流水(我的奖励)",
  8319. "parameters": [
  8320. {
  8321. "type": "integer",
  8322. "description": "用户ID",
  8323. "name": "userid",
  8324. "in": "query",
  8325. "required": true
  8326. },
  8327. {
  8328. "type": "string",
  8329. "description": "开始交易日(yyyymmdd)",
  8330. "name": "begindate",
  8331. "in": "query"
  8332. },
  8333. {
  8334. "type": "string",
  8335. "description": "结束交易日(yyyymmdd)",
  8336. "name": "enddate",
  8337. "in": "query"
  8338. }
  8339. ],
  8340. "responses": {
  8341. "200": {
  8342. "description": "OK",
  8343. "schema": {
  8344. "type": "array",
  8345. "items": {
  8346. "$ref": "#/definitions/models.QhjBrokerRewardLog"
  8347. }
  8348. }
  8349. },
  8350. "500": {
  8351. "description": "Internal Server Error",
  8352. "schema": {
  8353. "$ref": "#/definitions/app.Response"
  8354. }
  8355. }
  8356. }
  8357. }
  8358. },
  8359. "/Qhj/QueryContract": {
  8360. "get": {
  8361. "security": [
  8362. {
  8363. "ApiKeyAuth": []
  8364. }
  8365. ],
  8366. "produces": [
  8367. "application/json"
  8368. ],
  8369. "tags": [
  8370. "大连千海金"
  8371. ],
  8372. "summary": "查询融资明细(合同)",
  8373. "parameters": [
  8374. {
  8375. "type": "integer",
  8376. "description": "用户ID",
  8377. "name": "userid",
  8378. "in": "query"
  8379. },
  8380. {
  8381. "type": "integer",
  8382. "description": "scf合同id",
  8383. "name": "scfcontractid",
  8384. "in": "query"
  8385. }
  8386. ],
  8387. "responses": {
  8388. "200": {
  8389. "description": "OK",
  8390. "schema": {
  8391. "type": "array",
  8392. "items": {
  8393. "$ref": "#/definitions/models.QhjContract"
  8394. }
  8395. }
  8396. },
  8397. "500": {
  8398. "description": "Internal Server Error",
  8399. "schema": {
  8400. "$ref": "#/definitions/app.Response"
  8401. }
  8402. }
  8403. }
  8404. }
  8405. },
  8406. "/Qhj/QueryContractLog": {
  8407. "get": {
  8408. "security": [
  8409. {
  8410. "ApiKeyAuth": []
  8411. }
  8412. ],
  8413. "produces": [
  8414. "application/json"
  8415. ],
  8416. "tags": [
  8417. "大连千海金"
  8418. ],
  8419. "summary": "查询融资明细流水(融资明细详情页中的流水)",
  8420. "parameters": [
  8421. {
  8422. "type": "integer",
  8423. "description": "scf合同id",
  8424. "name": "scfcontractid",
  8425. "in": "query",
  8426. "required": true
  8427. },
  8428. {
  8429. "type": "string",
  8430. "description": "资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款",
  8431. "name": "amounttype",
  8432. "in": "query"
  8433. }
  8434. ],
  8435. "responses": {
  8436. "200": {
  8437. "description": "OK",
  8438. "schema": {
  8439. "type": "array",
  8440. "items": {
  8441. "$ref": "#/definitions/models.QhjContractLog"
  8442. }
  8443. }
  8444. },
  8445. "500": {
  8446. "description": "Internal Server Error",
  8447. "schema": {
  8448. "$ref": "#/definitions/app.Response"
  8449. }
  8450. }
  8451. }
  8452. }
  8453. },
  8454. "/Qhj/QueryCusBankSignBank": {
  8455. "get": {
  8456. "security": [
  8457. {
  8458. "ApiKeyAuth": []
  8459. }
  8460. ],
  8461. "produces": [
  8462. "application/json"
  8463. ],
  8464. "tags": [
  8465. "大连千海金"
  8466. ],
  8467. "summary": "查询托管银行",
  8468. "responses": {
  8469. "200": {
  8470. "description": "OK",
  8471. "schema": {
  8472. "type": "array",
  8473. "items": {
  8474. "$ref": "#/definitions/models.QhjCusBankSignBankEx"
  8475. }
  8476. }
  8477. },
  8478. "500": {
  8479. "description": "Internal Server Error",
  8480. "schema": {
  8481. "$ref": "#/definitions/app.Response"
  8482. }
  8483. }
  8484. }
  8485. }
  8486. },
  8487. "/Qhj/QueryCustomerInfo": {
  8488. "get": {
  8489. "security": [
  8490. {
  8491. "ApiKeyAuth": []
  8492. }
  8493. ],
  8494. "produces": [
  8495. "application/json"
  8496. ],
  8497. "tags": [
  8498. "大连千海金"
  8499. ],
  8500. "summary": "查询客户资料",
  8501. "parameters": [
  8502. {
  8503. "type": "integer",
  8504. "description": "用户ID",
  8505. "name": "userid",
  8506. "in": "query",
  8507. "required": true
  8508. },
  8509. {
  8510. "type": "integer",
  8511. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  8512. "name": "querytype",
  8513. "in": "query",
  8514. "required": true
  8515. },
  8516. {
  8517. "type": "integer",
  8518. "description": "客户类型 1-个人 2-企业",
  8519. "name": "userinfotype",
  8520. "in": "query"
  8521. },
  8522. {
  8523. "type": "string",
  8524. "description": "客户名称(模糊匹配)",
  8525. "name": "customername",
  8526. "in": "query"
  8527. },
  8528. {
  8529. "type": "string",
  8530. "description": "昵称(模糊匹配)",
  8531. "name": "nickname",
  8532. "in": "query"
  8533. },
  8534. {
  8535. "type": "integer",
  8536. "description": "是否包含子级 1-包含",
  8537. "name": "includesub",
  8538. "in": "query"
  8539. }
  8540. ],
  8541. "responses": {
  8542. "200": {
  8543. "description": "OK",
  8544. "schema": {
  8545. "type": "array",
  8546. "items": {
  8547. "$ref": "#/definitions/models.QhjCustomer"
  8548. }
  8549. }
  8550. },
  8551. "500": {
  8552. "description": "Internal Server Error",
  8553. "schema": {
  8554. "$ref": "#/definitions/app.Response"
  8555. }
  8556. }
  8557. }
  8558. }
  8559. },
  8560. "/Qhj/QueryGoodsEx": {
  8561. "get": {
  8562. "security": [
  8563. {
  8564. "ApiKeyAuth": []
  8565. }
  8566. ],
  8567. "produces": [
  8568. "application/json"
  8569. ],
  8570. "tags": [
  8571. "大连千海金"
  8572. ],
  8573. "summary": "交易商品扩展表",
  8574. "parameters": [
  8575. {
  8576. "type": "integer",
  8577. "description": "商品id",
  8578. "name": "goodsid",
  8579. "in": "query"
  8580. }
  8581. ],
  8582. "responses": {
  8583. "200": {
  8584. "description": "OK",
  8585. "schema": {
  8586. "type": "array",
  8587. "items": {
  8588. "$ref": "#/definitions/models.Qhjgoodsex"
  8589. }
  8590. }
  8591. },
  8592. "500": {
  8593. "description": "Internal Server Error",
  8594. "schema": {
  8595. "$ref": "#/definitions/app.Response"
  8596. }
  8597. }
  8598. }
  8599. }
  8600. },
  8601. "/Qhj/QueryMyTeam": {
  8602. "get": {
  8603. "security": [
  8604. {
  8605. "ApiKeyAuth": []
  8606. }
  8607. ],
  8608. "produces": [
  8609. "application/json"
  8610. ],
  8611. "tags": [
  8612. "大连千海金"
  8613. ],
  8614. "summary": "查询我的团队",
  8615. "parameters": [
  8616. {
  8617. "type": "integer",
  8618. "description": "用户ID",
  8619. "name": "userid",
  8620. "in": "query",
  8621. "required": true
  8622. }
  8623. ],
  8624. "responses": {
  8625. "200": {
  8626. "description": "OK",
  8627. "schema": {
  8628. "type": "array",
  8629. "items": {
  8630. "$ref": "#/definitions/models.QhjMyTeamEx"
  8631. }
  8632. }
  8633. },
  8634. "500": {
  8635. "description": "Internal Server Error",
  8636. "schema": {
  8637. "$ref": "#/definitions/app.Response"
  8638. }
  8639. }
  8640. }
  8641. }
  8642. },
  8643. "/Qhj/QueryMyTeamOrder": {
  8644. "get": {
  8645. "security": [
  8646. {
  8647. "ApiKeyAuth": []
  8648. }
  8649. ],
  8650. "produces": [
  8651. "application/json"
  8652. ],
  8653. "tags": [
  8654. "大连千海金"
  8655. ],
  8656. "summary": "查询团队订单(我的团队/团队订单)",
  8657. "parameters": [
  8658. {
  8659. "type": "integer",
  8660. "description": "页码",
  8661. "name": "page",
  8662. "in": "query"
  8663. },
  8664. {
  8665. "type": "integer",
  8666. "description": "每页条数",
  8667. "name": "pagesize",
  8668. "in": "query"
  8669. },
  8670. {
  8671. "type": "integer",
  8672. "description": "用户ID",
  8673. "name": "userid",
  8674. "in": "query",
  8675. "required": true
  8676. },
  8677. {
  8678. "type": "integer",
  8679. "description": "交易模式",
  8680. "name": "trademode",
  8681. "in": "query"
  8682. },
  8683. {
  8684. "type": "string",
  8685. "description": "名称(模糊搜索账户)",
  8686. "name": "filtername",
  8687. "in": "query"
  8688. }
  8689. ],
  8690. "responses": {
  8691. "200": {
  8692. "description": "OK",
  8693. "schema": {
  8694. "type": "array",
  8695. "items": {
  8696. "$ref": "#/definitions/models.QhjTeamOrder"
  8697. }
  8698. }
  8699. },
  8700. "500": {
  8701. "description": "Internal Server Error",
  8702. "schema": {
  8703. "$ref": "#/definitions/app.Response"
  8704. }
  8705. }
  8706. }
  8707. }
  8708. },
  8709. "/Qhj/QueryParentAreaList": {
  8710. "get": {
  8711. "security": [
  8712. {
  8713. "ApiKeyAuth": []
  8714. }
  8715. ],
  8716. "produces": [
  8717. "application/json"
  8718. ],
  8719. "tags": [
  8720. "大连千海金"
  8721. ],
  8722. "summary": "查询所属机构列表",
  8723. "parameters": [
  8724. {
  8725. "type": "integer",
  8726. "description": "用户ID",
  8727. "name": "userid",
  8728. "in": "query",
  8729. "required": true
  8730. }
  8731. ],
  8732. "responses": {
  8733. "200": {
  8734. "description": "OK",
  8735. "schema": {
  8736. "type": "array",
  8737. "items": {
  8738. "$ref": "#/definitions/models.QhjParentAreaList"
  8739. }
  8740. }
  8741. },
  8742. "500": {
  8743. "description": "Internal Server Error",
  8744. "schema": {
  8745. "$ref": "#/definitions/app.Response"
  8746. }
  8747. }
  8748. }
  8749. }
  8750. },
  8751. "/Qhj/QueryPayOrder": {
  8752. "get": {
  8753. "security": [
  8754. {
  8755. "ApiKeyAuth": []
  8756. }
  8757. ],
  8758. "produces": [
  8759. "application/json"
  8760. ],
  8761. "tags": [
  8762. "大连千海金"
  8763. ],
  8764. "summary": "查询待付款单据",
  8765. "parameters": [
  8766. {
  8767. "type": "integer",
  8768. "description": "资金账号id",
  8769. "name": "accountid",
  8770. "in": "query",
  8771. "required": true
  8772. },
  8773. {
  8774. "type": "integer",
  8775. "description": "成交单号",
  8776. "name": "tradeid",
  8777. "in": "query"
  8778. },
  8779. {
  8780. "type": "string",
  8781. "description": "付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  8782. "name": "payflag",
  8783. "in": "query"
  8784. }
  8785. ],
  8786. "responses": {
  8787. "200": {
  8788. "description": "OK",
  8789. "schema": {
  8790. "type": "array",
  8791. "items": {
  8792. "$ref": "#/definitions/models.QhjPayOrder"
  8793. }
  8794. }
  8795. },
  8796. "500": {
  8797. "description": "Internal Server Error",
  8798. "schema": {
  8799. "$ref": "#/definitions/app.Response"
  8800. }
  8801. }
  8802. }
  8803. }
  8804. },
  8805. "/Qhj/QueryPickArea": {
  8806. "get": {
  8807. "security": [
  8808. {
  8809. "ApiKeyAuth": []
  8810. }
  8811. ],
  8812. "produces": [
  8813. "application/json"
  8814. ],
  8815. "tags": [
  8816. "大连千海金"
  8817. ],
  8818. "summary": "查询提货门店",
  8819. "parameters": [
  8820. {
  8821. "type": "integer",
  8822. "description": "用户ID",
  8823. "name": "userid",
  8824. "in": "query"
  8825. }
  8826. ],
  8827. "responses": {
  8828. "200": {
  8829. "description": "OK",
  8830. "schema": {
  8831. "type": "array",
  8832. "items": {
  8833. "$ref": "#/definitions/models.QhjPickArea"
  8834. }
  8835. }
  8836. },
  8837. "500": {
  8838. "description": "Internal Server Error",
  8839. "schema": {
  8840. "$ref": "#/definitions/app.Response"
  8841. }
  8842. }
  8843. }
  8844. }
  8845. },
  8846. "/Qhj/QueryPickGoods": {
  8847. "get": {
  8848. "security": [
  8849. {
  8850. "ApiKeyAuth": []
  8851. }
  8852. ],
  8853. "produces": [
  8854. "application/json"
  8855. ],
  8856. "tags": [
  8857. "大连千海金"
  8858. ],
  8859. "summary": "查询提货商品",
  8860. "parameters": [
  8861. {
  8862. "type": "integer",
  8863. "description": "交易商品id",
  8864. "name": "goodsid",
  8865. "in": "query",
  8866. "required": true
  8867. },
  8868. {
  8869. "type": "string",
  8870. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  8871. "name": "status",
  8872. "in": "query"
  8873. }
  8874. ],
  8875. "responses": {
  8876. "200": {
  8877. "description": "OK",
  8878. "schema": {
  8879. "type": "array",
  8880. "items": {
  8881. "$ref": "#/definitions/models.QhjPickGoods"
  8882. }
  8883. }
  8884. },
  8885. "500": {
  8886. "description": "Internal Server Error",
  8887. "schema": {
  8888. "$ref": "#/definitions/app.Response"
  8889. }
  8890. }
  8891. }
  8892. }
  8893. },
  8894. "/Qhj/QueryRSTriggerLog": {
  8895. "get": {
  8896. "security": [
  8897. {
  8898. "ApiKeyAuth": []
  8899. }
  8900. ],
  8901. "produces": [
  8902. "application/json"
  8903. ],
  8904. "tags": [
  8905. "大连千海金"
  8906. ],
  8907. "summary": "查询定投记录(定投管理/详情/定投记录)",
  8908. "parameters": [
  8909. {
  8910. "type": "integer",
  8911. "description": "用户ID",
  8912. "name": "userid",
  8913. "in": "query"
  8914. },
  8915. {
  8916. "type": "integer",
  8917. "description": "定投策略id",
  8918. "name": "regularlystrategyid",
  8919. "in": "query"
  8920. },
  8921. {
  8922. "type": "integer",
  8923. "description": "商品id",
  8924. "name": "goodsid",
  8925. "in": "query"
  8926. },
  8927. {
  8928. "type": "string",
  8929. "description": "开始交易日(yyyymmdd)",
  8930. "name": "begindate",
  8931. "in": "query"
  8932. },
  8933. {
  8934. "type": "string",
  8935. "description": "结束交易日(yyyymmdd)",
  8936. "name": "enddate",
  8937. "in": "query"
  8938. },
  8939. {
  8940. "type": "string",
  8941. "description": "名称(模糊搜索账户)",
  8942. "name": "filtername",
  8943. "in": "query"
  8944. }
  8945. ],
  8946. "responses": {
  8947. "200": {
  8948. "description": "OK",
  8949. "schema": {
  8950. "type": "array",
  8951. "items": {
  8952. "$ref": "#/definitions/models.QhjRSTriggerLog"
  8953. }
  8954. }
  8955. },
  8956. "500": {
  8957. "description": "Internal Server Error",
  8958. "schema": {
  8959. "$ref": "#/definitions/app.Response"
  8960. }
  8961. }
  8962. }
  8963. }
  8964. },
  8965. "/Qhj/QueryRStrategy": {
  8966. "get": {
  8967. "security": [
  8968. {
  8969. "ApiKeyAuth": []
  8970. }
  8971. ],
  8972. "produces": [
  8973. "application/json"
  8974. ],
  8975. "tags": [
  8976. "大连千海金"
  8977. ],
  8978. "summary": "查询定投设置(我的定投/历史定投[状态=已终止])",
  8979. "parameters": [
  8980. {
  8981. "type": "integer",
  8982. "description": "用户ID",
  8983. "name": "userid",
  8984. "in": "query"
  8985. },
  8986. {
  8987. "type": "integer",
  8988. "description": "商品id",
  8989. "name": "goodsid",
  8990. "in": "query"
  8991. },
  8992. {
  8993. "type": "string",
  8994. "description": "策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止",
  8995. "name": "status",
  8996. "in": "query"
  8997. },
  8998. {
  8999. "type": "string",
  9000. "description": "名称(模糊搜索账户)",
  9001. "name": "filtername",
  9002. "in": "query"
  9003. }
  9004. ],
  9005. "responses": {
  9006. "200": {
  9007. "description": "OK",
  9008. "schema": {
  9009. "type": "array",
  9010. "items": {
  9011. "$ref": "#/definitions/models.QhjRStrategy"
  9012. }
  9013. }
  9014. },
  9015. "500": {
  9016. "description": "Internal Server Error",
  9017. "schema": {
  9018. "$ref": "#/definitions/app.Response"
  9019. }
  9020. }
  9021. }
  9022. }
  9023. },
  9024. "/Qhj/QueryReckonPriceLog": {
  9025. "get": {
  9026. "security": [
  9027. {
  9028. "ApiKeyAuth": []
  9029. }
  9030. ],
  9031. "produces": [
  9032. "application/json"
  9033. ],
  9034. "tags": [
  9035. "大连千海金"
  9036. ],
  9037. "summary": "查询定投价(结算价)",
  9038. "parameters": [
  9039. {
  9040. "type": "integer",
  9041. "description": "商品ID",
  9042. "name": "goodsid",
  9043. "in": "query"
  9044. },
  9045. {
  9046. "type": "string",
  9047. "description": "交易日 格式(yyyymmdd)",
  9048. "name": "tradedate",
  9049. "in": "query"
  9050. }
  9051. ],
  9052. "responses": {
  9053. "200": {
  9054. "description": "OK",
  9055. "schema": {
  9056. "type": "array",
  9057. "items": {
  9058. "$ref": "#/definitions/models.QhjReckonPriceLog"
  9059. }
  9060. }
  9061. },
  9062. "500": {
  9063. "description": "Internal Server Error",
  9064. "schema": {
  9065. "$ref": "#/definitions/app.Response"
  9066. }
  9067. }
  9068. }
  9069. }
  9070. },
  9071. "/Qhj/QueryScoreLog": {
  9072. "get": {
  9073. "security": [
  9074. {
  9075. "ApiKeyAuth": []
  9076. }
  9077. ],
  9078. "produces": [
  9079. "application/json"
  9080. ],
  9081. "tags": [
  9082. "大连千海金"
  9083. ],
  9084. "summary": "查询积分流水(我的积分)",
  9085. "parameters": [
  9086. {
  9087. "type": "integer",
  9088. "description": "用户ID",
  9089. "name": "userid",
  9090. "in": "query",
  9091. "required": true
  9092. },
  9093. {
  9094. "type": "string",
  9095. "description": "开始交易日(yyyymmdd)",
  9096. "name": "begindate",
  9097. "in": "query"
  9098. },
  9099. {
  9100. "type": "string",
  9101. "description": "结束交易日(yyyymmdd)",
  9102. "name": "enddate",
  9103. "in": "query"
  9104. },
  9105. {
  9106. "type": "integer",
  9107. "description": "最近多少条",
  9108. "name": "lastnum",
  9109. "in": "query"
  9110. }
  9111. ],
  9112. "responses": {
  9113. "200": {
  9114. "description": "OK",
  9115. "schema": {
  9116. "type": "array",
  9117. "items": {
  9118. "$ref": "#/definitions/models.QhjScoreLog"
  9119. }
  9120. }
  9121. },
  9122. "500": {
  9123. "description": "Internal Server Error",
  9124. "schema": {
  9125. "$ref": "#/definitions/app.Response"
  9126. }
  9127. }
  9128. }
  9129. }
  9130. },
  9131. "/Qhj/QuerySiteColumnDetail": {
  9132. "get": {
  9133. "security": [
  9134. {
  9135. "ApiKeyAuth": []
  9136. }
  9137. ],
  9138. "produces": [
  9139. "application/json"
  9140. ],
  9141. "tags": [
  9142. "大连千海金"
  9143. ],
  9144. "summary": "查询资讯",
  9145. "parameters": [
  9146. {
  9147. "type": "integer",
  9148. "description": "用户ID",
  9149. "name": "userid",
  9150. "in": "query",
  9151. "required": true
  9152. }
  9153. ],
  9154. "responses": {
  9155. "200": {
  9156. "description": "OK",
  9157. "schema": {
  9158. "type": "array",
  9159. "items": {
  9160. "$ref": "#/definitions/models.QhjSiteColumnDetail"
  9161. }
  9162. }
  9163. },
  9164. "500": {
  9165. "description": "Internal Server Error",
  9166. "schema": {
  9167. "$ref": "#/definitions/app.Response"
  9168. }
  9169. }
  9170. }
  9171. }
  9172. },
  9173. "/Qhj/QueryTradeGoodsPickup": {
  9174. "get": {
  9175. "security": [
  9176. {
  9177. "ApiKeyAuth": []
  9178. }
  9179. ],
  9180. "produces": [
  9181. "application/json"
  9182. ],
  9183. "tags": [
  9184. "大连千海金"
  9185. ],
  9186. "summary": "查询提货",
  9187. "parameters": [
  9188. {
  9189. "type": "integer",
  9190. "description": "用户ID",
  9191. "name": "userid",
  9192. "in": "query",
  9193. "required": true
  9194. },
  9195. {
  9196. "type": "integer",
  9197. "description": "提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  9198. "name": "takeorderstatus",
  9199. "in": "query"
  9200. }
  9201. ],
  9202. "responses": {
  9203. "200": {
  9204. "description": "OK",
  9205. "schema": {
  9206. "type": "array",
  9207. "items": {
  9208. "$ref": "#/definitions/models.QhjTradeGoodsPickup"
  9209. }
  9210. }
  9211. },
  9212. "500": {
  9213. "description": "Internal Server Error",
  9214. "schema": {
  9215. "$ref": "#/definitions/app.Response"
  9216. }
  9217. }
  9218. }
  9219. }
  9220. },
  9221. "/Qhj/QueryUserCollectConfig": {
  9222. "get": {
  9223. "security": [
  9224. {
  9225. "ApiKeyAuth": []
  9226. }
  9227. ],
  9228. "produces": [
  9229. "application/json"
  9230. ],
  9231. "tags": [
  9232. "大连千海金"
  9233. ],
  9234. "summary": "查询提现账户设置",
  9235. "parameters": [
  9236. {
  9237. "type": "integer",
  9238. "description": "用户ID",
  9239. "name": "userid",
  9240. "in": "query",
  9241. "required": true
  9242. }
  9243. ],
  9244. "responses": {
  9245. "200": {
  9246. "description": "OK",
  9247. "schema": {
  9248. "type": "array",
  9249. "items": {
  9250. "$ref": "#/definitions/models.UserCollectConfig"
  9251. }
  9252. }
  9253. },
  9254. "500": {
  9255. "description": "Internal Server Error",
  9256. "schema": {
  9257. "$ref": "#/definitions/app.Response"
  9258. }
  9259. }
  9260. }
  9261. }
  9262. },
  9263. "/Qhj/QueryUserReceiveInfo": {
  9264. "get": {
  9265. "security": [
  9266. {
  9267. "ApiKeyAuth": []
  9268. }
  9269. ],
  9270. "produces": [
  9271. "application/json"
  9272. ],
  9273. "tags": [
  9274. "大连千海金"
  9275. ],
  9276. "summary": "查询收货地址信息",
  9277. "parameters": [
  9278. {
  9279. "type": "integer",
  9280. "description": "用户ID",
  9281. "name": "userid",
  9282. "in": "query",
  9283. "required": true
  9284. }
  9285. ],
  9286. "responses": {
  9287. "200": {
  9288. "description": "OK",
  9289. "schema": {
  9290. "type": "array",
  9291. "items": {
  9292. "$ref": "#/definitions/models.UserReceiveInfo"
  9293. }
  9294. }
  9295. },
  9296. "500": {
  9297. "description": "Internal Server Error",
  9298. "schema": {
  9299. "$ref": "#/definitions/app.Response"
  9300. }
  9301. }
  9302. }
  9303. }
  9304. },
  9305. "/QhjMgr/QueryAccountInOutApply": {
  9306. "get": {
  9307. "security": [
  9308. {
  9309. "ApiKeyAuth": []
  9310. }
  9311. ],
  9312. "produces": [
  9313. "application/json"
  9314. ],
  9315. "tags": [
  9316. "大连千海金(PCWeb)"
  9317. ],
  9318. "summary": "查询充值提现",
  9319. "parameters": [
  9320. {
  9321. "type": "integer",
  9322. "description": "查询类型 1-提现(出金) 2-充值(出金)",
  9323. "name": "querytype",
  9324. "in": "query",
  9325. "required": true
  9326. },
  9327. {
  9328. "type": "integer",
  9329. "description": "状态 1-待审核 2-审核通过 3-审核拒绝",
  9330. "name": "applystatus",
  9331. "in": "query"
  9332. },
  9333. {
  9334. "type": "string",
  9335. "description": "申请起始日期(格式yyyymmdd)",
  9336. "name": "begindate",
  9337. "in": "query"
  9338. },
  9339. {
  9340. "type": "string",
  9341. "description": "申请截止日期(格式yyyymmdd)",
  9342. "name": "enddate",
  9343. "in": "query"
  9344. },
  9345. {
  9346. "type": "string",
  9347. "description": "模糊搜索名称",
  9348. "name": "likename",
  9349. "in": "query"
  9350. }
  9351. ],
  9352. "responses": {
  9353. "200": {
  9354. "description": "OK",
  9355. "schema": {
  9356. "type": "array",
  9357. "items": {
  9358. "$ref": "#/definitions/models.QhjMgrAccountOutInApply"
  9359. }
  9360. }
  9361. },
  9362. "500": {
  9363. "description": "Internal Server Error",
  9364. "schema": {
  9365. "$ref": "#/definitions/app.Response"
  9366. }
  9367. }
  9368. }
  9369. }
  9370. },
  9371. "/QhjMgr/QueryBrokerApply": {
  9372. "get": {
  9373. "security": [
  9374. {
  9375. "ApiKeyAuth": []
  9376. }
  9377. ],
  9378. "produces": [
  9379. "application/json"
  9380. ],
  9381. "tags": [
  9382. "大连千海金(PCWeb)"
  9383. ],
  9384. "summary": "查询经纪人申请",
  9385. "parameters": [
  9386. {
  9387. "type": "integer",
  9388. "description": "所属机构ID",
  9389. "name": "userid",
  9390. "in": "query"
  9391. },
  9392. {
  9393. "type": "string",
  9394. "description": "状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  9395. "name": "filterstatus",
  9396. "in": "query"
  9397. },
  9398. {
  9399. "type": "string",
  9400. "description": "名称(模糊匹配)",
  9401. "name": "filtername",
  9402. "in": "query"
  9403. },
  9404. {
  9405. "type": "integer",
  9406. "description": "是否包含子级 1-包含",
  9407. "name": "includesub",
  9408. "in": "query"
  9409. }
  9410. ],
  9411. "responses": {
  9412. "200": {
  9413. "description": "OK",
  9414. "schema": {
  9415. "type": "array",
  9416. "items": {
  9417. "$ref": "#/definitions/models.QhjMgrBrokerApply"
  9418. }
  9419. }
  9420. },
  9421. "500": {
  9422. "description": "Internal Server Error",
  9423. "schema": {
  9424. "$ref": "#/definitions/app.Response"
  9425. }
  9426. }
  9427. }
  9428. }
  9429. },
  9430. "/QhjMgr/QueryBrokerRewardReport": {
  9431. "get": {
  9432. "security": [
  9433. {
  9434. "ApiKeyAuth": []
  9435. }
  9436. ],
  9437. "produces": [
  9438. "application/json"
  9439. ],
  9440. "tags": [
  9441. "大连千海金(PCWeb)"
  9442. ],
  9443. "summary": "查询经纪人奖励报表(废弃)",
  9444. "parameters": [
  9445. {
  9446. "type": "integer",
  9447. "description": "所属机构ID",
  9448. "name": "userid",
  9449. "in": "query",
  9450. "required": true
  9451. },
  9452. {
  9453. "type": "integer",
  9454. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  9455. "name": "cycletype",
  9456. "in": "query",
  9457. "required": true
  9458. },
  9459. {
  9460. "type": "string",
  9461. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】",
  9462. "name": "cycletime",
  9463. "in": "query",
  9464. "required": true
  9465. },
  9466. {
  9467. "type": "string",
  9468. "description": "名称(模糊匹配)",
  9469. "name": "filtername",
  9470. "in": "query"
  9471. },
  9472. {
  9473. "type": "integer",
  9474. "description": "是否包含子级 1-包含",
  9475. "name": "includesub",
  9476. "in": "query"
  9477. }
  9478. ],
  9479. "responses": {
  9480. "200": {
  9481. "description": "OK",
  9482. "schema": {
  9483. "type": "array",
  9484. "items": {
  9485. "$ref": "#/definitions/models.QhjMgrBrokerRewardReport"
  9486. }
  9487. }
  9488. },
  9489. "500": {
  9490. "description": "Internal Server Error",
  9491. "schema": {
  9492. "$ref": "#/definitions/app.Response"
  9493. }
  9494. }
  9495. }
  9496. }
  9497. },
  9498. "/QhjMgr/QueryContract": {
  9499. "get": {
  9500. "security": [
  9501. {
  9502. "ApiKeyAuth": []
  9503. }
  9504. ],
  9505. "produces": [
  9506. "application/json"
  9507. ],
  9508. "tags": [
  9509. "大连千海金(PCWeb)"
  9510. ],
  9511. "summary": "查询融资信息(合同)",
  9512. "parameters": [
  9513. {
  9514. "type": "integer",
  9515. "description": "用户ID",
  9516. "name": "userid",
  9517. "in": "query"
  9518. },
  9519. {
  9520. "type": "integer",
  9521. "description": "商品id",
  9522. "name": "goodsid",
  9523. "in": "query"
  9524. },
  9525. {
  9526. "type": "string",
  9527. "description": "名称(模糊搜索账户)",
  9528. "name": "filtername",
  9529. "in": "query"
  9530. },
  9531. {
  9532. "type": "string",
  9533. "description": "风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款",
  9534. "name": "risklevel",
  9535. "in": "query"
  9536. },
  9537. {
  9538. "type": "string",
  9539. "description": "开始交易日(yyyymmdd)",
  9540. "name": "begindate",
  9541. "in": "query"
  9542. },
  9543. {
  9544. "type": "string",
  9545. "description": "结束交易日(yyyymmdd)",
  9546. "name": "enddate",
  9547. "in": "query"
  9548. }
  9549. ],
  9550. "responses": {
  9551. "200": {
  9552. "description": "OK",
  9553. "schema": {
  9554. "type": "array",
  9555. "items": {
  9556. "$ref": "#/definitions/models.QhjMgrContract"
  9557. }
  9558. }
  9559. },
  9560. "500": {
  9561. "description": "Internal Server Error",
  9562. "schema": {
  9563. "$ref": "#/definitions/app.Response"
  9564. }
  9565. }
  9566. }
  9567. }
  9568. },
  9569. "/QhjMgr/QueryCustomerInfo": {
  9570. "get": {
  9571. "security": [
  9572. {
  9573. "ApiKeyAuth": []
  9574. }
  9575. ],
  9576. "produces": [
  9577. "application/json"
  9578. ],
  9579. "tags": [
  9580. "大连千海金(PCWeb)"
  9581. ],
  9582. "summary": "查询客户资料",
  9583. "parameters": [
  9584. {
  9585. "type": "integer",
  9586. "description": "用户ID",
  9587. "name": "userid",
  9588. "in": "query",
  9589. "required": true
  9590. },
  9591. {
  9592. "type": "integer",
  9593. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  9594. "name": "querytype",
  9595. "in": "query",
  9596. "required": true
  9597. },
  9598. {
  9599. "type": "integer",
  9600. "description": "客户类型 1-个人 2-企业",
  9601. "name": "userinfotype",
  9602. "in": "query"
  9603. },
  9604. {
  9605. "type": "string",
  9606. "description": "客户名称(模糊匹配)",
  9607. "name": "customername",
  9608. "in": "query"
  9609. },
  9610. {
  9611. "type": "string",
  9612. "description": "昵称(模糊匹配)",
  9613. "name": "nickname",
  9614. "in": "query"
  9615. },
  9616. {
  9617. "type": "string",
  9618. "description": "所属客户经理(模糊匹配)",
  9619. "name": "brokername",
  9620. "in": "query"
  9621. },
  9622. {
  9623. "type": "string",
  9624. "description": "生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd, 如0503 -5月3日)",
  9625. "name": "birthday",
  9626. "in": "query"
  9627. },
  9628. {
  9629. "type": "integer",
  9630. "description": "是否包含子级 1-包含",
  9631. "name": "includesub",
  9632. "in": "query"
  9633. }
  9634. ],
  9635. "responses": {
  9636. "200": {
  9637. "description": "OK",
  9638. "schema": {
  9639. "type": "array",
  9640. "items": {
  9641. "$ref": "#/definitions/models.QhjMgrCustomer"
  9642. }
  9643. }
  9644. },
  9645. "500": {
  9646. "description": "Internal Server Error",
  9647. "schema": {
  9648. "$ref": "#/definitions/app.Response"
  9649. }
  9650. }
  9651. }
  9652. }
  9653. },
  9654. "/QhjMgr/QueryPickGoods": {
  9655. "get": {
  9656. "security": [
  9657. {
  9658. "ApiKeyAuth": []
  9659. }
  9660. ],
  9661. "produces": [
  9662. "application/json"
  9663. ],
  9664. "tags": [
  9665. "大连千海金(PCWeb)"
  9666. ],
  9667. "summary": "查询提货商品",
  9668. "parameters": [
  9669. {
  9670. "type": "string",
  9671. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  9672. "name": "status",
  9673. "in": "query"
  9674. }
  9675. ],
  9676. "responses": {
  9677. "200": {
  9678. "description": "OK",
  9679. "schema": {
  9680. "type": "array",
  9681. "items": {
  9682. "$ref": "#/definitions/models.QhjMgrPickGoods"
  9683. }
  9684. }
  9685. },
  9686. "500": {
  9687. "description": "Internal Server Error",
  9688. "schema": {
  9689. "$ref": "#/definitions/app.Response"
  9690. }
  9691. }
  9692. }
  9693. }
  9694. },
  9695. "/QhjMgr/QuerySubArea": {
  9696. "get": {
  9697. "security": [
  9698. {
  9699. "ApiKeyAuth": []
  9700. }
  9701. ],
  9702. "produces": [
  9703. "application/json"
  9704. ],
  9705. "tags": [
  9706. "大连千海金(PCWeb)"
  9707. ],
  9708. "summary": "查询子机构列表",
  9709. "parameters": [
  9710. {
  9711. "type": "integer",
  9712. "description": "用户ID",
  9713. "name": "userid",
  9714. "in": "query",
  9715. "required": true
  9716. }
  9717. ],
  9718. "responses": {
  9719. "200": {
  9720. "description": "OK",
  9721. "schema": {
  9722. "type": "array",
  9723. "items": {
  9724. "$ref": "#/definitions/models.QhjMgrSubArea"
  9725. }
  9726. }
  9727. },
  9728. "500": {
  9729. "description": "Internal Server Error",
  9730. "schema": {
  9731. "$ref": "#/definitions/app.Response"
  9732. }
  9733. }
  9734. }
  9735. }
  9736. },
  9737. "/QhjMgr/QueryTradeDetail": {
  9738. "get": {
  9739. "security": [
  9740. {
  9741. "ApiKeyAuth": []
  9742. }
  9743. ],
  9744. "produces": [
  9745. "application/json"
  9746. ],
  9747. "tags": [
  9748. "大连千海金(PCWeb)"
  9749. ],
  9750. "summary": "查询成交明细",
  9751. "parameters": [
  9752. {
  9753. "type": "integer",
  9754. "description": "用户ID",
  9755. "name": "userid",
  9756. "in": "query",
  9757. "required": true
  9758. },
  9759. {
  9760. "type": "integer",
  9761. "description": "用户类型 1-个人 2-企业",
  9762. "name": "userinfotype",
  9763. "in": "query"
  9764. },
  9765. {
  9766. "type": "integer",
  9767. "description": "交易模式",
  9768. "name": "trademode",
  9769. "in": "query"
  9770. },
  9771. {
  9772. "type": "integer",
  9773. "description": "商品id",
  9774. "name": "goodsid",
  9775. "in": "query"
  9776. },
  9777. {
  9778. "type": "string",
  9779. "description": "名称(模糊搜索账户)",
  9780. "name": "filtername",
  9781. "in": "query"
  9782. },
  9783. {
  9784. "type": "string",
  9785. "description": "开始交易日(yyyymmdd)",
  9786. "name": "begindate",
  9787. "in": "query"
  9788. },
  9789. {
  9790. "type": "string",
  9791. "description": "结束交易日(yyyymmdd)",
  9792. "name": "enddate",
  9793. "in": "query"
  9794. },
  9795. {
  9796. "type": "integer",
  9797. "description": "是否包含子级 1-包含",
  9798. "name": "includesub",
  9799. "in": "query"
  9800. }
  9801. ],
  9802. "responses": {
  9803. "200": {
  9804. "description": "OK",
  9805. "schema": {
  9806. "type": "array",
  9807. "items": {
  9808. "$ref": "#/definitions/models.QhjMgrTradeDetailRsp"
  9809. }
  9810. }
  9811. },
  9812. "500": {
  9813. "description": "Internal Server Error",
  9814. "schema": {
  9815. "$ref": "#/definitions/app.Response"
  9816. }
  9817. }
  9818. }
  9819. }
  9820. },
  9821. "/QhjMgr/QueryTradeOrderDetail": {
  9822. "get": {
  9823. "security": [
  9824. {
  9825. "ApiKeyAuth": []
  9826. }
  9827. ],
  9828. "produces": [
  9829. "application/json"
  9830. ],
  9831. "tags": [
  9832. "大连千海金(PCWeb)"
  9833. ],
  9834. "summary": "查询委托明细",
  9835. "parameters": [
  9836. {
  9837. "type": "integer",
  9838. "description": "用户ID",
  9839. "name": "userid",
  9840. "in": "query",
  9841. "required": true
  9842. },
  9843. {
  9844. "type": "integer",
  9845. "description": "用户类型 1-个人 2-企业",
  9846. "name": "userinfotype",
  9847. "in": "query"
  9848. },
  9849. {
  9850. "type": "integer",
  9851. "description": "交易模式",
  9852. "name": "trademode",
  9853. "in": "query"
  9854. },
  9855. {
  9856. "type": "integer",
  9857. "description": "商品id",
  9858. "name": "goodsid",
  9859. "in": "query"
  9860. },
  9861. {
  9862. "type": "string",
  9863. "description": "名称(模糊搜索账户)",
  9864. "name": "filtername",
  9865. "in": "query"
  9866. },
  9867. {
  9868. "type": "string",
  9869. "description": "开始交易日(yyyymmdd)",
  9870. "name": "begindate",
  9871. "in": "query"
  9872. },
  9873. {
  9874. "type": "string",
  9875. "description": "结束交易日(yyyymmdd)",
  9876. "name": "enddate",
  9877. "in": "query"
  9878. },
  9879. {
  9880. "type": "integer",
  9881. "description": "是否包含子级 1-包含",
  9882. "name": "includesub",
  9883. "in": "query"
  9884. }
  9885. ],
  9886. "responses": {
  9887. "200": {
  9888. "description": "OK",
  9889. "schema": {
  9890. "type": "array",
  9891. "items": {
  9892. "$ref": "#/definitions/models.QhjMgrTradeOrderDetailRsp"
  9893. }
  9894. }
  9895. },
  9896. "500": {
  9897. "description": "Internal Server Error",
  9898. "schema": {
  9899. "$ref": "#/definitions/app.Response"
  9900. }
  9901. }
  9902. }
  9903. }
  9904. },
  9905. "/QhjMgr/QueryTradePayOrder": {
  9906. "get": {
  9907. "security": [
  9908. {
  9909. "ApiKeyAuth": []
  9910. }
  9911. ],
  9912. "produces": [
  9913. "application/json"
  9914. ],
  9915. "tags": [
  9916. "大连千海金(PCWeb)"
  9917. ],
  9918. "summary": "查询待付款单",
  9919. "parameters": [
  9920. {
  9921. "type": "integer",
  9922. "description": "用户ID",
  9923. "name": "userid",
  9924. "in": "query",
  9925. "required": true
  9926. },
  9927. {
  9928. "type": "string",
  9929. "description": "付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  9930. "name": "payflag",
  9931. "in": "query"
  9932. },
  9933. {
  9934. "type": "integer",
  9935. "description": "用户类型 1-个人 2-企业",
  9936. "name": "userinfotype",
  9937. "in": "query"
  9938. },
  9939. {
  9940. "type": "integer",
  9941. "description": "交易模式",
  9942. "name": "trademode",
  9943. "in": "query"
  9944. },
  9945. {
  9946. "type": "integer",
  9947. "description": "商品id",
  9948. "name": "goodsid",
  9949. "in": "query"
  9950. },
  9951. {
  9952. "type": "string",
  9953. "description": "名称(模糊搜索账户)",
  9954. "name": "filtername",
  9955. "in": "query"
  9956. },
  9957. {
  9958. "type": "string",
  9959. "description": "开始交易日(yyyymmdd)",
  9960. "name": "begindate",
  9961. "in": "query"
  9962. },
  9963. {
  9964. "type": "string",
  9965. "description": "结束交易日(yyyymmdd)",
  9966. "name": "enddate",
  9967. "in": "query"
  9968. },
  9969. {
  9970. "type": "integer",
  9971. "description": "是否包含子级 1-包含",
  9972. "name": "includesub",
  9973. "in": "query"
  9974. }
  9975. ],
  9976. "responses": {
  9977. "200": {
  9978. "description": "OK",
  9979. "schema": {
  9980. "type": "array",
  9981. "items": {
  9982. "$ref": "#/definitions/models.QhjMgrTradePayOrder"
  9983. }
  9984. }
  9985. },
  9986. "500": {
  9987. "description": "Internal Server Error",
  9988. "schema": {
  9989. "$ref": "#/definitions/app.Response"
  9990. }
  9991. }
  9992. }
  9993. }
  9994. },
  9995. "/QhjMgr/QueryTradePosition": {
  9996. "get": {
  9997. "security": [
  9998. {
  9999. "ApiKeyAuth": []
  10000. }
  10001. ],
  10002. "produces": [
  10003. "application/json"
  10004. ],
  10005. "tags": [
  10006. "大连千海金(PCWeb)"
  10007. ],
  10008. "summary": "查询持仓汇总",
  10009. "parameters": [
  10010. {
  10011. "type": "integer",
  10012. "description": "用户ID",
  10013. "name": "userid",
  10014. "in": "query",
  10015. "required": true
  10016. },
  10017. {
  10018. "type": "integer",
  10019. "description": "用户类型 1-个人 2-企业",
  10020. "name": "userinfotype",
  10021. "in": "query"
  10022. },
  10023. {
  10024. "type": "integer",
  10025. "description": "交易模式",
  10026. "name": "trademode",
  10027. "in": "query"
  10028. },
  10029. {
  10030. "type": "integer",
  10031. "description": "商品id",
  10032. "name": "goodsid",
  10033. "in": "query"
  10034. },
  10035. {
  10036. "type": "string",
  10037. "description": "名称(模糊搜索账户)",
  10038. "name": "filtername",
  10039. "in": "query"
  10040. },
  10041. {
  10042. "type": "integer",
  10043. "description": "是否包含子级 1-包含",
  10044. "name": "includesub",
  10045. "in": "query"
  10046. }
  10047. ],
  10048. "responses": {
  10049. "200": {
  10050. "description": "OK",
  10051. "schema": {
  10052. "type": "array",
  10053. "items": {
  10054. "$ref": "#/definitions/models.QhjMgrPositionRsp"
  10055. }
  10056. }
  10057. },
  10058. "500": {
  10059. "description": "Internal Server Error",
  10060. "schema": {
  10061. "$ref": "#/definitions/app.Response"
  10062. }
  10063. }
  10064. }
  10065. }
  10066. },
  10067. "/QhjSys/QueryAgreementChangeLog": {
  10068. "get": {
  10069. "security": [
  10070. {
  10071. "ApiKeyAuth": []
  10072. }
  10073. ],
  10074. "produces": [
  10075. "application/json"
  10076. ],
  10077. "tags": [
  10078. "大连千海金(协议和签约信息)"
  10079. ],
  10080. "summary": "查询协议配置变更流水",
  10081. "parameters": [
  10082. {
  10083. "type": "integer",
  10084. "description": "协议ID",
  10085. "name": "agreementid",
  10086. "in": "query"
  10087. },
  10088. {
  10089. "type": "integer",
  10090. "description": "协议版本号",
  10091. "name": "agreementversion",
  10092. "in": "query"
  10093. },
  10094. {
  10095. "type": "integer",
  10096. "description": "协议类型 - 1:注册 2:登录 3:交易",
  10097. "name": "agreementtype",
  10098. "in": "query"
  10099. },
  10100. {
  10101. "type": "string",
  10102. "description": "协议编号(模糊匹配)",
  10103. "name": "agreementno",
  10104. "in": "query"
  10105. },
  10106. {
  10107. "type": "string",
  10108. "description": "协议名称(模糊匹配)",
  10109. "name": "agreementname",
  10110. "in": "query"
  10111. }
  10112. ],
  10113. "responses": {
  10114. "200": {
  10115. "description": "OK",
  10116. "schema": {
  10117. "type": "array",
  10118. "items": {
  10119. "$ref": "#/definitions/models.QhjAgreementChangeLog"
  10120. }
  10121. }
  10122. },
  10123. "500": {
  10124. "description": "Internal Server Error",
  10125. "schema": {
  10126. "$ref": "#/definitions/app.Response"
  10127. }
  10128. }
  10129. }
  10130. }
  10131. },
  10132. "/QhjSys/QueryAgreementConfig": {
  10133. "get": {
  10134. "security": [
  10135. {
  10136. "ApiKeyAuth": []
  10137. }
  10138. ],
  10139. "produces": [
  10140. "application/json"
  10141. ],
  10142. "tags": [
  10143. "大连千海金(协议和签约信息)"
  10144. ],
  10145. "summary": "查询协议配置",
  10146. "parameters": [
  10147. {
  10148. "type": "integer",
  10149. "description": "协议ID",
  10150. "name": "agreementid",
  10151. "in": "query"
  10152. },
  10153. {
  10154. "type": "integer",
  10155. "description": "协议版本号",
  10156. "name": "agreementversion",
  10157. "in": "query"
  10158. },
  10159. {
  10160. "type": "integer",
  10161. "description": "协议类型 - 1:注册 2:登录 3:交易",
  10162. "name": "agreementtype",
  10163. "in": "query"
  10164. },
  10165. {
  10166. "type": "integer",
  10167. "description": "是否有效 - 是否有效 - 1:正常 2:停用 3:注销",
  10168. "name": "isvalid",
  10169. "in": "query"
  10170. },
  10171. {
  10172. "type": "string",
  10173. "description": "协议编号(模糊匹配)",
  10174. "name": "agreementno",
  10175. "in": "query"
  10176. },
  10177. {
  10178. "type": "string",
  10179. "description": "协议名称(模糊匹配)",
  10180. "name": "agreementname",
  10181. "in": "query"
  10182. }
  10183. ],
  10184. "responses": {
  10185. "200": {
  10186. "description": "OK",
  10187. "schema": {
  10188. "type": "array",
  10189. "items": {
  10190. "$ref": "#/definitions/models.QhjAgreementConfig"
  10191. }
  10192. }
  10193. },
  10194. "500": {
  10195. "description": "Internal Server Error",
  10196. "schema": {
  10197. "$ref": "#/definitions/app.Response"
  10198. }
  10199. }
  10200. }
  10201. }
  10202. },
  10203. "/QhjSys/QueryCustomerSignStatus": {
  10204. "get": {
  10205. "security": [
  10206. {
  10207. "ApiKeyAuth": []
  10208. }
  10209. ],
  10210. "produces": [
  10211. "application/json"
  10212. ],
  10213. "tags": [
  10214. "大连千海金(协议和签约信息)"
  10215. ],
  10216. "summary": "查询客户协议签约状态",
  10217. "parameters": [
  10218. {
  10219. "type": "integer",
  10220. "description": "客户ID",
  10221. "name": "userid",
  10222. "in": "query"
  10223. },
  10224. {
  10225. "type": "integer",
  10226. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  10227. "name": "nodetype",
  10228. "in": "query"
  10229. },
  10230. {
  10231. "type": "integer",
  10232. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  10233. "name": "goodsid",
  10234. "in": "query"
  10235. },
  10236. {
  10237. "type": "string",
  10238. "description": "创建交易日(yyyyMMdd)",
  10239. "name": "tradedate",
  10240. "in": "query"
  10241. },
  10242. {
  10243. "type": "string",
  10244. "description": "用户名称(模糊匹配)",
  10245. "name": "username",
  10246. "in": "query"
  10247. }
  10248. ],
  10249. "responses": {
  10250. "200": {
  10251. "description": "OK",
  10252. "schema": {
  10253. "type": "array",
  10254. "items": {
  10255. "$ref": "#/definitions/models.QhjCustomerSignStatus"
  10256. }
  10257. }
  10258. },
  10259. "500": {
  10260. "description": "Internal Server Error",
  10261. "schema": {
  10262. "$ref": "#/definitions/app.Response"
  10263. }
  10264. }
  10265. }
  10266. }
  10267. },
  10268. "/QhjSys/QueryNodeAgreementConfig": {
  10269. "get": {
  10270. "security": [
  10271. {
  10272. "ApiKeyAuth": []
  10273. }
  10274. ],
  10275. "produces": [
  10276. "application/json"
  10277. ],
  10278. "tags": [
  10279. "大连千海金(协议和签约信息)"
  10280. ],
  10281. "summary": "查询协议节点配置",
  10282. "parameters": [
  10283. {
  10284. "type": "integer",
  10285. "description": "配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  10286. "name": "configid",
  10287. "in": "query"
  10288. },
  10289. {
  10290. "type": "integer",
  10291. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  10292. "name": "nodetype",
  10293. "in": "query"
  10294. },
  10295. {
  10296. "type": "integer",
  10297. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  10298. "name": "goodsid",
  10299. "in": "query"
  10300. },
  10301. {
  10302. "type": "integer",
  10303. "description": "协议ID",
  10304. "name": "agreementid",
  10305. "in": "query"
  10306. },
  10307. {
  10308. "type": "integer",
  10309. "description": "协议类型 - 1:注册 2:登录 3:交易",
  10310. "name": "agreementtype",
  10311. "in": "query"
  10312. },
  10313. {
  10314. "type": "integer",
  10315. "description": "协议版本号",
  10316. "name": "agreementversion",
  10317. "in": "query"
  10318. },
  10319. {
  10320. "type": "string",
  10321. "description": "协议编号(模糊匹配)",
  10322. "name": "agreementno",
  10323. "in": "query"
  10324. },
  10325. {
  10326. "type": "string",
  10327. "description": "协议名称(模糊匹配)",
  10328. "name": "agreementname",
  10329. "in": "query"
  10330. }
  10331. ],
  10332. "responses": {
  10333. "200": {
  10334. "description": "OK",
  10335. "schema": {
  10336. "type": "array",
  10337. "items": {
  10338. "$ref": "#/definitions/models.QhjNodeAgreementConfig"
  10339. }
  10340. }
  10341. },
  10342. "500": {
  10343. "description": "Internal Server Error",
  10344. "schema": {
  10345. "$ref": "#/definitions/app.Response"
  10346. }
  10347. }
  10348. }
  10349. }
  10350. },
  10351. "/QhjSys/QueryQhjCustomerSignLog": {
  10352. "get": {
  10353. "security": [
  10354. {
  10355. "ApiKeyAuth": []
  10356. }
  10357. ],
  10358. "produces": [
  10359. "application/json"
  10360. ],
  10361. "tags": [
  10362. "大连千海金(协议和签约信息)"
  10363. ],
  10364. "summary": "查询客户协议签约流水",
  10365. "parameters": [
  10366. {
  10367. "type": "integer",
  10368. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  10369. "name": "logid",
  10370. "in": "query"
  10371. },
  10372. {
  10373. "type": "integer",
  10374. "description": "客户ID",
  10375. "name": "userid",
  10376. "in": "query"
  10377. },
  10378. {
  10379. "type": "integer",
  10380. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  10381. "name": "nodetype",
  10382. "in": "query"
  10383. },
  10384. {
  10385. "type": "integer",
  10386. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  10387. "name": "goodsid",
  10388. "in": "query"
  10389. },
  10390. {
  10391. "type": "integer",
  10392. "description": "协议ID",
  10393. "name": "agreementid",
  10394. "in": "query"
  10395. },
  10396. {
  10397. "type": "string",
  10398. "description": "用户名称(模糊匹配)",
  10399. "name": "username",
  10400. "in": "query"
  10401. },
  10402. {
  10403. "type": "string",
  10404. "description": "协议编号(模糊匹配)",
  10405. "name": "agreementno",
  10406. "in": "query"
  10407. },
  10408. {
  10409. "type": "string",
  10410. "description": "协议名称(模糊匹配)",
  10411. "name": "agreementname",
  10412. "in": "query"
  10413. }
  10414. ],
  10415. "responses": {
  10416. "200": {
  10417. "description": "OK",
  10418. "schema": {
  10419. "type": "array",
  10420. "items": {
  10421. "$ref": "#/definitions/models.QhjCustomerSignLog"
  10422. }
  10423. }
  10424. },
  10425. "500": {
  10426. "description": "Internal Server Error",
  10427. "schema": {
  10428. "$ref": "#/definitions/app.Response"
  10429. }
  10430. }
  10431. }
  10432. }
  10433. },
  10434. "/QhjSys/QueryUserNodeCfgAndStatus": {
  10435. "get": {
  10436. "security": [
  10437. {
  10438. "ApiKeyAuth": []
  10439. }
  10440. ],
  10441. "produces": [
  10442. "application/json"
  10443. ],
  10444. "tags": [
  10445. "大连千海金(协议和签约信息)"
  10446. ],
  10447. "summary": "查询用户协议节点配置和状态",
  10448. "parameters": [
  10449. {
  10450. "type": "integer",
  10451. "description": "客户ID",
  10452. "name": "userid",
  10453. "in": "query"
  10454. },
  10455. {
  10456. "type": "integer",
  10457. "description": "配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  10458. "name": "configid",
  10459. "in": "query"
  10460. },
  10461. {
  10462. "type": "string",
  10463. "description": "环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  10464. "name": "nodetype",
  10465. "in": "query"
  10466. },
  10467. {
  10468. "type": "integer",
  10469. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  10470. "name": "goodsid",
  10471. "in": "query"
  10472. },
  10473. {
  10474. "type": "integer",
  10475. "description": "协议ID",
  10476. "name": "agreementid",
  10477. "in": "query"
  10478. },
  10479. {
  10480. "type": "integer",
  10481. "description": "协议类型 - 1:注册 2:登录 3:交易",
  10482. "name": "agreementtype",
  10483. "in": "query"
  10484. },
  10485. {
  10486. "type": "integer",
  10487. "description": "协议版本号",
  10488. "name": "agreementversion",
  10489. "in": "query"
  10490. },
  10491. {
  10492. "type": "string",
  10493. "description": "协议编号(模糊匹配)",
  10494. "name": "agreementno",
  10495. "in": "query"
  10496. },
  10497. {
  10498. "type": "string",
  10499. "description": "协议名称(模糊匹配)",
  10500. "name": "agreementname",
  10501. "in": "query"
  10502. }
  10503. ],
  10504. "responses": {
  10505. "200": {
  10506. "description": "OK",
  10507. "schema": {
  10508. "type": "array",
  10509. "items": {
  10510. "$ref": "#/definitions/models.QhjUserNodeCfgAndStatus"
  10511. }
  10512. }
  10513. },
  10514. "500": {
  10515. "description": "Internal Server Error",
  10516. "schema": {
  10517. "$ref": "#/definitions/app.Response"
  10518. }
  10519. }
  10520. }
  10521. }
  10522. },
  10523. "/Quote/QueryHistoryDatas": {
  10524. "get": {
  10525. "security": [
  10526. {
  10527. "ApiKeyAuth": []
  10528. }
  10529. ],
  10530. "produces": [
  10531. "application/json"
  10532. ],
  10533. "tags": [
  10534. "行情服务"
  10535. ],
  10536. "summary": "查询行情历史数据",
  10537. "parameters": [
  10538. {
  10539. "type": "integer",
  10540. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线 12:周线 13:月线 14:年线",
  10541. "name": "cycleType",
  10542. "in": "query",
  10543. "required": true
  10544. },
  10545. {
  10546. "type": "string",
  10547. "description": "商品代码",
  10548. "name": "goodsCode",
  10549. "in": "query",
  10550. "required": true
  10551. },
  10552. {
  10553. "type": "string",
  10554. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  10555. "name": "startTime",
  10556. "in": "query"
  10557. },
  10558. {
  10559. "type": "string",
  10560. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  10561. "name": "endTime",
  10562. "in": "query"
  10563. },
  10564. {
  10565. "type": "integer",
  10566. "description": "条数",
  10567. "name": "count",
  10568. "in": "query"
  10569. },
  10570. {
  10571. "type": "boolean",
  10572. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  10573. "name": "isAsc",
  10574. "in": "query"
  10575. }
  10576. ],
  10577. "responses": {
  10578. "200": {
  10579. "description": "OK",
  10580. "schema": {
  10581. "$ref": "#/definitions/quote.HistoryData"
  10582. }
  10583. },
  10584. "500": {
  10585. "description": "Internal Server Error",
  10586. "schema": {
  10587. "$ref": "#/definitions/app.Response"
  10588. }
  10589. }
  10590. }
  10591. }
  10592. },
  10593. "/Quote/QueryHistoryTikDatas": {
  10594. "get": {
  10595. "security": [
  10596. {
  10597. "ApiKeyAuth": []
  10598. }
  10599. ],
  10600. "produces": [
  10601. "application/json"
  10602. ],
  10603. "tags": [
  10604. "行情服务"
  10605. ],
  10606. "summary": "查询行情Tik数据",
  10607. "parameters": [
  10608. {
  10609. "type": "string",
  10610. "description": "商品代码",
  10611. "name": "goodsCode",
  10612. "in": "query",
  10613. "required": true
  10614. },
  10615. {
  10616. "type": "string",
  10617. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  10618. "name": "startTime",
  10619. "in": "query"
  10620. },
  10621. {
  10622. "type": "string",
  10623. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  10624. "name": "endTime",
  10625. "in": "query"
  10626. },
  10627. {
  10628. "type": "integer",
  10629. "description": "条数",
  10630. "name": "count",
  10631. "in": "query"
  10632. },
  10633. {
  10634. "type": "boolean",
  10635. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  10636. "name": "isAsc",
  10637. "in": "query"
  10638. }
  10639. ],
  10640. "responses": {
  10641. "200": {
  10642. "description": "OK",
  10643. "schema": {
  10644. "$ref": "#/definitions/quote.HistoryTikData"
  10645. }
  10646. },
  10647. "500": {
  10648. "description": "Internal Server Error",
  10649. "schema": {
  10650. "$ref": "#/definitions/app.Response"
  10651. }
  10652. }
  10653. }
  10654. }
  10655. },
  10656. "/Quote/QueryQuoteDay": {
  10657. "get": {
  10658. "security": [
  10659. {
  10660. "ApiKeyAuth": []
  10661. }
  10662. ],
  10663. "produces": [
  10664. "application/json"
  10665. ],
  10666. "tags": [
  10667. "行情服务"
  10668. ],
  10669. "summary": "获取商品盘面信息",
  10670. "parameters": [
  10671. {
  10672. "type": "string",
  10673. "description": "此参数不填则查所有;商品代码列表,格式:CU2102,CU2103,AL2107",
  10674. "name": "goodsCodes",
  10675. "in": "query"
  10676. }
  10677. ],
  10678. "responses": {
  10679. "200": {
  10680. "description": "OK",
  10681. "schema": {
  10682. "$ref": "#/definitions/quote.QueryQuoteDayRsp"
  10683. }
  10684. },
  10685. "500": {
  10686. "description": "Internal Server Error",
  10687. "schema": {
  10688. "$ref": "#/definitions/app.Response"
  10689. }
  10690. }
  10691. }
  10692. }
  10693. },
  10694. "/Quote/QueryTSData": {
  10695. "get": {
  10696. "security": [
  10697. {
  10698. "ApiKeyAuth": []
  10699. }
  10700. ],
  10701. "produces": [
  10702. "application/json"
  10703. ],
  10704. "tags": [
  10705. "行情服务"
  10706. ],
  10707. "summary": "分时图数据查询",
  10708. "parameters": [
  10709. {
  10710. "type": "string",
  10711. "description": "商品代码",
  10712. "name": "goodsCode",
  10713. "in": "query",
  10714. "required": true
  10715. }
  10716. ],
  10717. "responses": {
  10718. "200": {
  10719. "description": "OK",
  10720. "schema": {
  10721. "$ref": "#/definitions/quote.QueryTSDataRsp"
  10722. }
  10723. },
  10724. "500": {
  10725. "description": "Internal Server Error",
  10726. "schema": {
  10727. "$ref": "#/definitions/app.Response"
  10728. }
  10729. }
  10730. }
  10731. }
  10732. },
  10733. "/SZDZ/QueryConvertConfig": {
  10734. "get": {
  10735. "security": [
  10736. {
  10737. "ApiKeyAuth": []
  10738. }
  10739. ],
  10740. "produces": [
  10741. "application/json"
  10742. ],
  10743. "tags": [
  10744. "定制【尚志大宗】"
  10745. ],
  10746. "summary": "查询交易系统转换设置",
  10747. "parameters": [
  10748. {
  10749. "type": "integer",
  10750. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  10751. "name": "convertType",
  10752. "in": "query"
  10753. },
  10754. {
  10755. "type": "string",
  10756. "description": "外部商品代码[JD\\PD]",
  10757. "name": "outerGoodsCode",
  10758. "in": "query"
  10759. },
  10760. {
  10761. "type": "string",
  10762. "description": "内部商品ID列表[交易],格式:1,2,3",
  10763. "name": "innerGoodsIDs",
  10764. "in": "query"
  10765. }
  10766. ],
  10767. "responses": {
  10768. "200": {
  10769. "description": "OK",
  10770. "schema": {
  10771. "$ref": "#/definitions/models.Szdz3convertconfig"
  10772. }
  10773. },
  10774. "500": {
  10775. "description": "Internal Server Error",
  10776. "schema": {
  10777. "$ref": "#/definitions/app.Response"
  10778. }
  10779. }
  10780. }
  10781. }
  10782. },
  10783. "/SZDZ/QueryConvertLog": {
  10784. "get": {
  10785. "security": [
  10786. {
  10787. "ApiKeyAuth": []
  10788. }
  10789. ],
  10790. "produces": [
  10791. "application/json"
  10792. ],
  10793. "tags": [
  10794. "定制【尚志大宗】"
  10795. ],
  10796. "summary": "交易系统转换流水查询",
  10797. "parameters": [
  10798. {
  10799. "type": "string",
  10800. "description": "资金账户 - 格式:1,2,3",
  10801. "name": "accountID",
  10802. "in": "query",
  10803. "required": true
  10804. },
  10805. {
  10806. "type": "string",
  10807. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  10808. "name": "startDate",
  10809. "in": "query"
  10810. },
  10811. {
  10812. "type": "string",
  10813. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  10814. "name": "endDate",
  10815. "in": "query"
  10816. }
  10817. ],
  10818. "responses": {
  10819. "200": {
  10820. "description": "OK",
  10821. "schema": {
  10822. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  10823. }
  10824. },
  10825. "500": {
  10826. "description": "Internal Server Error",
  10827. "schema": {
  10828. "$ref": "#/definitions/app.Response"
  10829. }
  10830. }
  10831. }
  10832. }
  10833. },
  10834. "/SZDZ/QueryGoodsPickup": {
  10835. "get": {
  10836. "security": [
  10837. {
  10838. "ApiKeyAuth": []
  10839. }
  10840. ],
  10841. "produces": [
  10842. "application/json"
  10843. ],
  10844. "tags": [
  10845. "定制【尚志大宗】"
  10846. ],
  10847. "summary": "商品提货单查询",
  10848. "parameters": [
  10849. {
  10850. "type": "string",
  10851. "description": "资金账户 - 格式:1,2,3",
  10852. "name": "accountID",
  10853. "in": "query",
  10854. "required": true
  10855. },
  10856. {
  10857. "type": "integer",
  10858. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  10859. "name": "takeOrderStatus",
  10860. "in": "query"
  10861. }
  10862. ],
  10863. "responses": {
  10864. "200": {
  10865. "description": "OK",
  10866. "schema": {
  10867. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  10868. }
  10869. },
  10870. "500": {
  10871. "description": "Internal Server Error",
  10872. "schema": {
  10873. "$ref": "#/definitions/app.Response"
  10874. }
  10875. }
  10876. }
  10877. }
  10878. },
  10879. "/SZDZ/QueryRecieptOrder": {
  10880. "get": {
  10881. "security": [
  10882. {
  10883. "ApiKeyAuth": []
  10884. }
  10885. ],
  10886. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  10887. "produces": [
  10888. "application/json"
  10889. ],
  10890. "tags": [
  10891. "定制【尚志大宗】"
  10892. ],
  10893. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  10894. "parameters": [
  10895. {
  10896. "type": "integer",
  10897. "description": "页码",
  10898. "name": "page",
  10899. "in": "query"
  10900. },
  10901. {
  10902. "type": "integer",
  10903. "description": "每页条数",
  10904. "name": "pagesize",
  10905. "in": "query"
  10906. },
  10907. {
  10908. "type": "integer",
  10909. "description": "商品ID",
  10910. "name": "goodsID",
  10911. "in": "query",
  10912. "required": true
  10913. },
  10914. {
  10915. "type": "string",
  10916. "description": "所属账户名称",
  10917. "name": "accountName",
  10918. "in": "query"
  10919. },
  10920. {
  10921. "type": "integer",
  10922. "description": "市场ID",
  10923. "name": "marketID",
  10924. "in": "query"
  10925. },
  10926. {
  10927. "type": "integer",
  10928. "description": "方向 - 0:买 1:卖",
  10929. "name": "buyorsell",
  10930. "in": "query",
  10931. "required": true
  10932. }
  10933. ],
  10934. "responses": {
  10935. "200": {
  10936. "description": "OK",
  10937. "schema": {
  10938. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  10939. }
  10940. },
  10941. "500": {
  10942. "description": "Internal Server Error",
  10943. "schema": {
  10944. "$ref": "#/definitions/app.Response"
  10945. }
  10946. }
  10947. }
  10948. }
  10949. },
  10950. "/SZDZ/QuerySZDZTradePosition": {
  10951. "get": {
  10952. "security": [
  10953. {
  10954. "ApiKeyAuth": []
  10955. }
  10956. ],
  10957. "produces": [
  10958. "application/json"
  10959. ],
  10960. "tags": [
  10961. "定制【尚志大宗】"
  10962. ],
  10963. "summary": "持仓汇总查询(尚志大宗)",
  10964. "parameters": [
  10965. {
  10966. "type": "integer",
  10967. "description": "资金账户",
  10968. "name": "accountID",
  10969. "in": "query",
  10970. "required": true
  10971. }
  10972. ],
  10973. "responses": {
  10974. "200": {
  10975. "description": "OK",
  10976. "schema": {
  10977. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  10978. }
  10979. },
  10980. "500": {
  10981. "description": "Internal Server Error",
  10982. "schema": {
  10983. "$ref": "#/definitions/app.Response"
  10984. }
  10985. }
  10986. }
  10987. }
  10988. },
  10989. "/SZDZ/SearchWhite": {
  10990. "get": {
  10991. "security": [
  10992. {
  10993. "ApiKeyAuth": []
  10994. }
  10995. ],
  10996. "produces": [
  10997. "application/json"
  10998. ],
  10999. "tags": [
  11000. "定制【尚志大宗】"
  11001. ],
  11002. "summary": "搜索白名单",
  11003. "parameters": [
  11004. {
  11005. "type": "integer",
  11006. "description": "用户ID",
  11007. "name": "userID",
  11008. "in": "query",
  11009. "required": true
  11010. }
  11011. ],
  11012. "responses": {
  11013. "200": {
  11014. "description": "OK",
  11015. "schema": {
  11016. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  11017. }
  11018. },
  11019. "500": {
  11020. "description": "Internal Server Error",
  11021. "schema": {
  11022. "$ref": "#/definitions/app.Response"
  11023. }
  11024. }
  11025. }
  11026. }
  11027. },
  11028. "/Search/SearchGoodses": {
  11029. "get": {
  11030. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  11031. "produces": [
  11032. "application/json"
  11033. ],
  11034. "tags": [
  11035. "检索服务"
  11036. ],
  11037. "summary": "检索商品信息",
  11038. "parameters": [
  11039. {
  11040. "type": "string",
  11041. "description": "检索内容",
  11042. "name": "content",
  11043. "in": "query",
  11044. "required": true
  11045. },
  11046. {
  11047. "type": "string",
  11048. "description": "交易模式,格式:1,2,3",
  11049. "name": "tradeModes",
  11050. "in": "query"
  11051. }
  11052. ],
  11053. "responses": {
  11054. "200": {
  11055. "description": "OK",
  11056. "schema": {
  11057. "$ref": "#/definitions/models.SearchGoods"
  11058. }
  11059. },
  11060. "500": {
  11061. "description": "Internal Server Error",
  11062. "schema": {
  11063. "$ref": "#/definitions/app.Response"
  11064. }
  11065. }
  11066. }
  11067. }
  11068. },
  11069. "/TaAccount/GetTaAccounts": {
  11070. "get": {
  11071. "security": [
  11072. {
  11073. "ApiKeyAuth": []
  11074. }
  11075. ],
  11076. "produces": [
  11077. "application/json"
  11078. ],
  11079. "tags": [
  11080. "资金账户"
  11081. ],
  11082. "summary": "获取资金账户信息",
  11083. "parameters": [
  11084. {
  11085. "type": "integer",
  11086. "description": "登录账户",
  11087. "name": "loginID",
  11088. "in": "query",
  11089. "required": true
  11090. },
  11091. {
  11092. "type": "integer",
  11093. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  11094. "name": "taAccountType",
  11095. "in": "query"
  11096. }
  11097. ],
  11098. "responses": {
  11099. "200": {
  11100. "description": "OK",
  11101. "schema": {
  11102. "$ref": "#/definitions/models.Taaccount"
  11103. }
  11104. },
  11105. "500": {
  11106. "description": "Internal Server Error",
  11107. "schema": {
  11108. "$ref": "#/definitions/app.Response"
  11109. }
  11110. }
  11111. }
  11112. }
  11113. },
  11114. "/TaAccount/QueryAmountLog": {
  11115. "get": {
  11116. "security": [
  11117. {
  11118. "ApiKeyAuth": []
  11119. }
  11120. ],
  11121. "produces": [
  11122. "application/json"
  11123. ],
  11124. "tags": [
  11125. "资金账户"
  11126. ],
  11127. "summary": "资金流水查询(当前)",
  11128. "parameters": [
  11129. {
  11130. "type": "integer",
  11131. "description": "页码",
  11132. "name": "page",
  11133. "in": "query"
  11134. },
  11135. {
  11136. "type": "integer",
  11137. "description": "每页条数",
  11138. "name": "pagesize",
  11139. "in": "query"
  11140. },
  11141. {
  11142. "type": "string",
  11143. "description": "资金账户 - 格式:1,2,3",
  11144. "name": "accountID",
  11145. "in": "query",
  11146. "required": true
  11147. },
  11148. {
  11149. "type": "string",
  11150. "description": "资金操作类型 - 格式:1,2,3",
  11151. "name": "OperateType",
  11152. "in": "query"
  11153. }
  11154. ],
  11155. "responses": {
  11156. "200": {
  11157. "description": "OK",
  11158. "schema": {
  11159. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  11160. }
  11161. },
  11162. "500": {
  11163. "description": "Internal Server Error",
  11164. "schema": {
  11165. "$ref": "#/definitions/app.Response"
  11166. }
  11167. }
  11168. }
  11169. }
  11170. },
  11171. "/TaAccount/QueryHisAmountLog": {
  11172. "get": {
  11173. "security": [
  11174. {
  11175. "ApiKeyAuth": []
  11176. }
  11177. ],
  11178. "produces": [
  11179. "application/json"
  11180. ],
  11181. "tags": [
  11182. "资金账户"
  11183. ],
  11184. "summary": "资金流水查询(历史)",
  11185. "parameters": [
  11186. {
  11187. "type": "integer",
  11188. "description": "页码",
  11189. "name": "page",
  11190. "in": "query"
  11191. },
  11192. {
  11193. "type": "integer",
  11194. "description": "每页条数",
  11195. "name": "pagesize",
  11196. "in": "query"
  11197. },
  11198. {
  11199. "type": "string",
  11200. "description": "资金账户 - 格式:1,2,3",
  11201. "name": "accountID",
  11202. "in": "query",
  11203. "required": true
  11204. },
  11205. {
  11206. "type": "string",
  11207. "description": "资金操作类型 - 格式:1,2,3",
  11208. "name": "OperateType",
  11209. "in": "query"
  11210. },
  11211. {
  11212. "type": "string",
  11213. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  11214. "name": "startDate",
  11215. "in": "query"
  11216. },
  11217. {
  11218. "type": "string",
  11219. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  11220. "name": "endDate",
  11221. "in": "query"
  11222. }
  11223. ],
  11224. "responses": {
  11225. "200": {
  11226. "description": "OK",
  11227. "schema": {
  11228. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  11229. }
  11230. },
  11231. "500": {
  11232. "description": "Internal Server Error",
  11233. "schema": {
  11234. "$ref": "#/definitions/app.Response"
  11235. }
  11236. }
  11237. }
  11238. }
  11239. },
  11240. "/Tjmd/QueryQuoteGoodsList": {
  11241. "get": {
  11242. "security": [
  11243. {
  11244. "ApiKeyAuth": []
  11245. }
  11246. ],
  11247. "description": "用户类型必传, 查掉期报价列表 marketids=掉期市场id",
  11248. "produces": [
  11249. "application/json"
  11250. ],
  11251. "tags": [
  11252. "天津麦顿"
  11253. ],
  11254. "summary": "查询掉期报价列表",
  11255. "parameters": [
  11256. {
  11257. "type": "integer",
  11258. "description": "用户类型",
  11259. "name": "usertype",
  11260. "in": "query",
  11261. "required": true
  11262. },
  11263. {
  11264. "type": "string",
  11265. "description": "市场id, 格式 1,2,3",
  11266. "name": "marketids",
  11267. "in": "query"
  11268. },
  11269. {
  11270. "type": "integer",
  11271. "description": "商品组id",
  11272. "name": "goodsgroupid",
  11273. "in": "query"
  11274. },
  11275. {
  11276. "type": "integer",
  11277. "description": "商品id",
  11278. "name": "goodsid",
  11279. "in": "query"
  11280. }
  11281. ],
  11282. "responses": {
  11283. "200": {
  11284. "description": "OK",
  11285. "schema": {
  11286. "type": "array",
  11287. "items": {
  11288. "$ref": "#/definitions/models.TjmdQuoteGoods"
  11289. }
  11290. }
  11291. },
  11292. "500": {
  11293. "description": "Internal Server Error",
  11294. "schema": {
  11295. "$ref": "#/definitions/app.Response"
  11296. }
  11297. }
  11298. }
  11299. }
  11300. },
  11301. "/Tjmd/QueryTjmdHolderDetailTradeInfo": {
  11302. "get": {
  11303. "security": [
  11304. {
  11305. "ApiKeyAuth": []
  11306. }
  11307. ],
  11308. "produces": [
  11309. "application/json"
  11310. ],
  11311. "tags": [
  11312. "天津麦顿"
  11313. ],
  11314. "summary": "掉期商品订单详情(交易确认书)",
  11315. "parameters": [
  11316. {
  11317. "type": "string",
  11318. "description": "成交单号",
  11319. "name": "tradeid",
  11320. "in": "query",
  11321. "required": true
  11322. }
  11323. ],
  11324. "responses": {
  11325. "200": {
  11326. "description": "OK",
  11327. "schema": {
  11328. "type": "array",
  11329. "items": {
  11330. "$ref": "#/definitions/models.TjmdHolderDetailTradeInfo"
  11331. }
  11332. }
  11333. },
  11334. "500": {
  11335. "description": "Internal Server Error",
  11336. "schema": {
  11337. "$ref": "#/definitions/app.Response"
  11338. }
  11339. }
  11340. }
  11341. }
  11342. },
  11343. "/Tjmd/QueryTjmdMarketSection": {
  11344. "get": {
  11345. "security": [
  11346. {
  11347. "ApiKeyAuth": []
  11348. }
  11349. ],
  11350. "produces": [
  11351. "application/json"
  11352. ],
  11353. "tags": [
  11354. "天津麦顿"
  11355. ],
  11356. "summary": "查询市场板块",
  11357. "responses": {
  11358. "200": {
  11359. "description": "OK",
  11360. "schema": {
  11361. "type": "array",
  11362. "items": {
  11363. "$ref": "#/definitions/models.TjmdMarketSection"
  11364. }
  11365. }
  11366. },
  11367. "500": {
  11368. "description": "Internal Server Error",
  11369. "schema": {
  11370. "$ref": "#/definitions/app.Response"
  11371. }
  11372. }
  11373. }
  11374. }
  11375. },
  11376. "/Tjmd/QueryTjmdTodayAccountMargin": {
  11377. "get": {
  11378. "security": [
  11379. {
  11380. "ApiKeyAuth": []
  11381. }
  11382. ],
  11383. "produces": [
  11384. "application/json"
  11385. ],
  11386. "tags": [
  11387. "天津麦顿"
  11388. ],
  11389. "summary": "查询今日账户保证金配置",
  11390. "parameters": [
  11391. {
  11392. "type": "string",
  11393. "description": "市场id",
  11394. "name": "marketid",
  11395. "in": "query"
  11396. },
  11397. {
  11398. "type": "string",
  11399. "description": "商品id",
  11400. "name": "goodsid",
  11401. "in": "query"
  11402. },
  11403. {
  11404. "type": "string",
  11405. "description": "资金账号",
  11406. "name": "accountid",
  11407. "in": "query"
  11408. }
  11409. ],
  11410. "responses": {
  11411. "200": {
  11412. "description": "OK",
  11413. "schema": {
  11414. "type": "array",
  11415. "items": {
  11416. "$ref": "#/definitions/models.TjmdTodayAccountMargin"
  11417. }
  11418. }
  11419. },
  11420. "500": {
  11421. "description": "Internal Server Error",
  11422. "schema": {
  11423. "$ref": "#/definitions/app.Response"
  11424. }
  11425. }
  11426. }
  11427. }
  11428. },
  11429. "/Tjmd/QueryTjmdTradeOrderDetail": {
  11430. "get": {
  11431. "security": [
  11432. {
  11433. "ApiKeyAuth": []
  11434. }
  11435. ],
  11436. "description": "用户类型必传, 投资者只能看到自营会员的单, 反之亦然",
  11437. "produces": [
  11438. "application/json"
  11439. ],
  11440. "tags": [
  11441. "天津麦顿"
  11442. ],
  11443. "summary": "查询掉期买卖大厅",
  11444. "parameters": [
  11445. {
  11446. "type": "integer",
  11447. "description": "页码",
  11448. "name": "page",
  11449. "in": "query"
  11450. },
  11451. {
  11452. "type": "integer",
  11453. "description": "每页条数",
  11454. "name": "pagesize",
  11455. "in": "query"
  11456. },
  11457. {
  11458. "type": "integer",
  11459. "description": "用户id",
  11460. "name": "userid",
  11461. "in": "query",
  11462. "required": true
  11463. },
  11464. {
  11465. "type": "integer",
  11466. "description": "用户类型",
  11467. "name": "usertype",
  11468. "in": "query",
  11469. "required": true
  11470. },
  11471. {
  11472. "type": "string",
  11473. "description": "市场id, 格式 1,2,3",
  11474. "name": "marketids",
  11475. "in": "query"
  11476. },
  11477. {
  11478. "type": "integer",
  11479. "description": "商品id",
  11480. "name": "goodsid",
  11481. "in": "query",
  11482. "required": true
  11483. },
  11484. {
  11485. "type": "integer",
  11486. "description": "买卖方向 0-买 1-卖",
  11487. "name": "buyorsell",
  11488. "in": "query",
  11489. "required": true
  11490. }
  11491. ],
  11492. "responses": {
  11493. "200": {
  11494. "description": "OK",
  11495. "schema": {
  11496. "type": "array",
  11497. "items": {
  11498. "$ref": "#/definitions/models.TjmdTradeOrderDetail"
  11499. }
  11500. }
  11501. },
  11502. "500": {
  11503. "description": "Internal Server Error",
  11504. "schema": {
  11505. "$ref": "#/definitions/app.Response"
  11506. }
  11507. }
  11508. }
  11509. }
  11510. },
  11511. "/Tjmd/QueryTjmdTransferApply": {
  11512. "get": {
  11513. "security": [
  11514. {
  11515. "ApiKeyAuth": []
  11516. }
  11517. ],
  11518. "produces": [
  11519. "application/json"
  11520. ],
  11521. "tags": [
  11522. "天津麦顿"
  11523. ],
  11524. "summary": "查询掉期协议单",
  11525. "parameters": [
  11526. {
  11527. "type": "integer",
  11528. "description": "类型 1-我的申请 2-对方申请",
  11529. "name": "applytype",
  11530. "in": "query",
  11531. "required": true
  11532. },
  11533. {
  11534. "type": "string",
  11535. "description": "市场id, 格式 1,2,3",
  11536. "name": "marketids",
  11537. "in": "query"
  11538. },
  11539. {
  11540. "type": "string",
  11541. "description": "资金账号, 格式 25000000001,25000000003",
  11542. "name": "accountids",
  11543. "in": "query"
  11544. },
  11545. {
  11546. "type": "string",
  11547. "description": "开始交易日(yyyymmdd)",
  11548. "name": "begindate",
  11549. "in": "query"
  11550. },
  11551. {
  11552. "type": "string",
  11553. "description": "结束交易日(yyyymmdd)",
  11554. "name": "enddate",
  11555. "in": "query"
  11556. }
  11557. ],
  11558. "responses": {
  11559. "200": {
  11560. "description": "OK",
  11561. "schema": {
  11562. "type": "array",
  11563. "items": {
  11564. "$ref": "#/definitions/models.TjmdTransferApply"
  11565. }
  11566. }
  11567. },
  11568. "500": {
  11569. "description": "Internal Server Error",
  11570. "schema": {
  11571. "$ref": "#/definitions/app.Response"
  11572. }
  11573. }
  11574. }
  11575. }
  11576. },
  11577. "/Trade/QueryRecieptOrder": {
  11578. "get": {
  11579. "security": [
  11580. {
  11581. "ApiKeyAuth": []
  11582. }
  11583. ],
  11584. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  11585. "produces": [
  11586. "application/json"
  11587. ],
  11588. "tags": [
  11589. "通用交易"
  11590. ],
  11591. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  11592. "parameters": [
  11593. {
  11594. "type": "integer",
  11595. "description": "页码",
  11596. "name": "page",
  11597. "in": "query"
  11598. },
  11599. {
  11600. "type": "integer",
  11601. "description": "每页条数",
  11602. "name": "pagesize",
  11603. "in": "query"
  11604. },
  11605. {
  11606. "type": "integer",
  11607. "description": "商品ID",
  11608. "name": "goodsID",
  11609. "in": "query",
  11610. "required": true
  11611. },
  11612. {
  11613. "type": "string",
  11614. "description": "所属账户名称",
  11615. "name": "accountName",
  11616. "in": "query"
  11617. },
  11618. {
  11619. "type": "integer",
  11620. "description": "市场ID",
  11621. "name": "marketID",
  11622. "in": "query"
  11623. },
  11624. {
  11625. "type": "integer",
  11626. "description": "方向 - 0:买 1:卖",
  11627. "name": "buyorsell",
  11628. "in": "query",
  11629. "required": true
  11630. }
  11631. ],
  11632. "responses": {
  11633. "200": {
  11634. "description": "OK",
  11635. "schema": {
  11636. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  11637. }
  11638. },
  11639. "500": {
  11640. "description": "Internal Server Error",
  11641. "schema": {
  11642. "$ref": "#/definitions/app.Response"
  11643. }
  11644. }
  11645. }
  11646. }
  11647. },
  11648. "/User/AddMessageBoard": {
  11649. "post": {
  11650. "security": [
  11651. {
  11652. "ApiKeyAuth": []
  11653. }
  11654. ],
  11655. "produces": [
  11656. "application/json"
  11657. ],
  11658. "tags": [
  11659. "用户信息"
  11660. ],
  11661. "summary": "添加用户留言板信息",
  11662. "parameters": [
  11663. {
  11664. "type": "integer",
  11665. "description": "用户ID",
  11666. "name": "userID",
  11667. "in": "query",
  11668. "required": true
  11669. },
  11670. {
  11671. "type": "string",
  11672. "description": "留言信息",
  11673. "name": "message",
  11674. "in": "query",
  11675. "required": true
  11676. },
  11677. {
  11678. "type": "string",
  11679. "description": "联系电话",
  11680. "name": "contactNum",
  11681. "in": "query",
  11682. "required": true
  11683. }
  11684. ],
  11685. "responses": {
  11686. "200": {
  11687. "description": "OK",
  11688. "schema": {
  11689. "$ref": "#/definitions/app.Response"
  11690. }
  11691. },
  11692. "500": {
  11693. "description": "Internal Server Error",
  11694. "schema": {
  11695. "$ref": "#/definitions/app.Response"
  11696. }
  11697. }
  11698. }
  11699. }
  11700. },
  11701. "/User/AddUserFavoriteGoods": {
  11702. "post": {
  11703. "security": [
  11704. {
  11705. "ApiKeyAuth": []
  11706. }
  11707. ],
  11708. "produces": [
  11709. "application/json"
  11710. ],
  11711. "tags": [
  11712. "用户信息"
  11713. ],
  11714. "summary": "添加用户商品收藏信息",
  11715. "parameters": [
  11716. {
  11717. "type": "integer",
  11718. "description": "用户ID",
  11719. "name": "userID",
  11720. "in": "query",
  11721. "required": true
  11722. },
  11723. {
  11724. "type": "integer",
  11725. "description": "商品ID",
  11726. "name": "goodsID",
  11727. "in": "query",
  11728. "required": true
  11729. }
  11730. ],
  11731. "responses": {
  11732. "200": {
  11733. "description": "OK",
  11734. "schema": {
  11735. "$ref": "#/definitions/app.Response"
  11736. }
  11737. },
  11738. "500": {
  11739. "description": "Internal Server Error",
  11740. "schema": {
  11741. "$ref": "#/definitions/app.Response"
  11742. }
  11743. }
  11744. }
  11745. }
  11746. },
  11747. "/User/GetLoginID": {
  11748. "get": {
  11749. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  11750. "produces": [
  11751. "application/json"
  11752. ],
  11753. "tags": [
  11754. "用户信息"
  11755. ],
  11756. "summary": "获取登录ID",
  11757. "parameters": [
  11758. {
  11759. "type": "string",
  11760. "description": "登录代码",
  11761. "name": "username",
  11762. "in": "query",
  11763. "required": true
  11764. }
  11765. ],
  11766. "responses": {
  11767. "200": {
  11768. "description": "OK",
  11769. "schema": {
  11770. "$ref": "#/definitions/app.Response"
  11771. }
  11772. },
  11773. "500": {
  11774. "description": "Internal Server Error",
  11775. "schema": {
  11776. "$ref": "#/definitions/app.Response"
  11777. }
  11778. }
  11779. }
  11780. }
  11781. },
  11782. "/User/GetUserAccount": {
  11783. "get": {
  11784. "security": [
  11785. {
  11786. "ApiKeyAuth": []
  11787. }
  11788. ],
  11789. "produces": [
  11790. "application/json"
  11791. ],
  11792. "tags": [
  11793. "用户信息"
  11794. ],
  11795. "summary": "获取用户账号信息",
  11796. "parameters": [
  11797. {
  11798. "type": "integer",
  11799. "description": "用户ID",
  11800. "name": "userID",
  11801. "in": "query",
  11802. "required": true
  11803. }
  11804. ],
  11805. "responses": {
  11806. "200": {
  11807. "description": "OK",
  11808. "schema": {
  11809. "$ref": "#/definitions/models.Useraccount"
  11810. }
  11811. },
  11812. "500": {
  11813. "description": "Internal Server Error",
  11814. "schema": {
  11815. "$ref": "#/definitions/app.Response"
  11816. }
  11817. }
  11818. }
  11819. }
  11820. },
  11821. "/User/GetUserAuthStatus": {
  11822. "get": {
  11823. "security": [
  11824. {
  11825. "ApiKeyAuth": []
  11826. }
  11827. ],
  11828. "produces": [
  11829. "application/json"
  11830. ],
  11831. "tags": [
  11832. "用户信息"
  11833. ],
  11834. "summary": "获取用户实名认证状态",
  11835. "parameters": [
  11836. {
  11837. "type": "integer",
  11838. "description": "用户ID",
  11839. "name": "userID",
  11840. "in": "query",
  11841. "required": true
  11842. }
  11843. ],
  11844. "responses": {
  11845. "200": {
  11846. "description": "OK",
  11847. "schema": {
  11848. "$ref": "#/definitions/app.Response"
  11849. }
  11850. },
  11851. "500": {
  11852. "description": "Internal Server Error",
  11853. "schema": {
  11854. "$ref": "#/definitions/app.Response"
  11855. }
  11856. }
  11857. }
  11858. }
  11859. },
  11860. "/User/LoginQuery": {
  11861. "get": {
  11862. "security": [
  11863. {
  11864. "ApiKeyAuth": []
  11865. }
  11866. ],
  11867. "produces": [
  11868. "application/json"
  11869. ],
  11870. "tags": [
  11871. "用户信息"
  11872. ],
  11873. "summary": "账户登录后信息查询",
  11874. "parameters": [
  11875. {
  11876. "type": "integer",
  11877. "description": "登录账号",
  11878. "name": "loginID",
  11879. "in": "query",
  11880. "required": true
  11881. }
  11882. ],
  11883. "responses": {
  11884. "200": {
  11885. "description": "OK",
  11886. "schema": {
  11887. "$ref": "#/definitions/user.LoginQueryRsp"
  11888. }
  11889. },
  11890. "500": {
  11891. "description": "Internal Server Error",
  11892. "schema": {
  11893. "$ref": "#/definitions/app.Response"
  11894. }
  11895. }
  11896. }
  11897. }
  11898. },
  11899. "/User/QueryMessageBoard": {
  11900. "get": {
  11901. "security": [
  11902. {
  11903. "ApiKeyAuth": []
  11904. }
  11905. ],
  11906. "produces": [
  11907. "application/json"
  11908. ],
  11909. "tags": [
  11910. "用户信息"
  11911. ],
  11912. "summary": "获取用户留言板信息",
  11913. "parameters": [
  11914. {
  11915. "type": "integer",
  11916. "description": "用户ID",
  11917. "name": "userID",
  11918. "in": "query",
  11919. "required": true
  11920. }
  11921. ],
  11922. "responses": {
  11923. "200": {
  11924. "description": "OK",
  11925. "schema": {
  11926. "$ref": "#/definitions/models.Messageboard"
  11927. }
  11928. },
  11929. "500": {
  11930. "description": "Internal Server Error",
  11931. "schema": {
  11932. "$ref": "#/definitions/app.Response"
  11933. }
  11934. }
  11935. }
  11936. }
  11937. },
  11938. "/User/QueryUserFavoriteGoodses": {
  11939. "get": {
  11940. "security": [
  11941. {
  11942. "ApiKeyAuth": []
  11943. }
  11944. ],
  11945. "produces": [
  11946. "application/json"
  11947. ],
  11948. "tags": [
  11949. "用户信息"
  11950. ],
  11951. "summary": "获取用户商品收藏信息",
  11952. "parameters": [
  11953. {
  11954. "type": "integer",
  11955. "description": "用户ID",
  11956. "name": "userID",
  11957. "in": "query",
  11958. "required": true
  11959. }
  11960. ],
  11961. "responses": {
  11962. "200": {
  11963. "description": "OK",
  11964. "schema": {
  11965. "$ref": "#/definitions/models.Userfavoritegoods"
  11966. }
  11967. },
  11968. "500": {
  11969. "description": "Internal Server Error",
  11970. "schema": {
  11971. "$ref": "#/definitions/app.Response"
  11972. }
  11973. }
  11974. }
  11975. }
  11976. },
  11977. "/User/QueryUserInfo": {
  11978. "get": {
  11979. "security": [
  11980. {
  11981. "ApiKeyAuth": []
  11982. }
  11983. ],
  11984. "produces": [
  11985. "application/json"
  11986. ],
  11987. "tags": [
  11988. "用户信息"
  11989. ],
  11990. "summary": "获取用户信息",
  11991. "parameters": [
  11992. {
  11993. "type": "integer",
  11994. "description": "用户ID",
  11995. "name": "userID",
  11996. "in": "query",
  11997. "required": true
  11998. },
  11999. {
  12000. "type": "boolean",
  12001. "description": "是否解密",
  12002. "name": "isDecrypt",
  12003. "in": "query"
  12004. }
  12005. ],
  12006. "responses": {
  12007. "200": {
  12008. "description": "OK",
  12009. "schema": {
  12010. "$ref": "#/definitions/models.Userinfo"
  12011. }
  12012. },
  12013. "500": {
  12014. "description": "Internal Server Error",
  12015. "schema": {
  12016. "$ref": "#/definitions/app.Response"
  12017. }
  12018. }
  12019. }
  12020. }
  12021. },
  12022. "/User/QueryUserReferNum": {
  12023. "get": {
  12024. "produces": [
  12025. "application/json"
  12026. ],
  12027. "tags": [
  12028. "用户信息"
  12029. ],
  12030. "summary": "获取用户邀请码",
  12031. "parameters": [
  12032. {
  12033. "type": "integer",
  12034. "description": "用户ID",
  12035. "name": "userID",
  12036. "in": "query",
  12037. "required": true
  12038. }
  12039. ],
  12040. "responses": {
  12041. "200": {
  12042. "description": "OK",
  12043. "schema": {
  12044. "$ref": "#/definitions/app.Response"
  12045. }
  12046. },
  12047. "500": {
  12048. "description": "Internal Server Error",
  12049. "schema": {
  12050. "$ref": "#/definitions/app.Response"
  12051. }
  12052. }
  12053. }
  12054. }
  12055. },
  12056. "/User/RemoveUserFavoriteGoods": {
  12057. "post": {
  12058. "security": [
  12059. {
  12060. "ApiKeyAuth": []
  12061. }
  12062. ],
  12063. "produces": [
  12064. "application/json"
  12065. ],
  12066. "tags": [
  12067. "用户信息"
  12068. ],
  12069. "summary": "移除用户商品收藏信息",
  12070. "parameters": [
  12071. {
  12072. "type": "integer",
  12073. "description": "用户ID",
  12074. "name": "userID",
  12075. "in": "query",
  12076. "required": true
  12077. },
  12078. {
  12079. "type": "integer",
  12080. "description": "商品ID",
  12081. "name": "goodsID",
  12082. "in": "query",
  12083. "required": true
  12084. }
  12085. ],
  12086. "responses": {
  12087. "200": {
  12088. "description": "OK",
  12089. "schema": {
  12090. "$ref": "#/definitions/app.Response"
  12091. }
  12092. },
  12093. "500": {
  12094. "description": "Internal Server Error",
  12095. "schema": {
  12096. "$ref": "#/definitions/app.Response"
  12097. }
  12098. }
  12099. }
  12100. }
  12101. },
  12102. "/User/UpdateUserAccountStatus": {
  12103. "post": {
  12104. "security": [
  12105. {
  12106. "ApiKeyAuth": []
  12107. }
  12108. ],
  12109. "produces": [
  12110. "application/json"
  12111. ],
  12112. "tags": [
  12113. "用户信息"
  12114. ],
  12115. "summary": "更新用户状态",
  12116. "parameters": [
  12117. {
  12118. "type": "integer",
  12119. "description": "用户ID",
  12120. "name": "userID",
  12121. "in": "query",
  12122. "required": true
  12123. },
  12124. {
  12125. "type": "integer",
  12126. "description": "账户状态 - 4:正常 6:注销(停用)",
  12127. "name": "accountStatus",
  12128. "in": "query",
  12129. "required": true
  12130. }
  12131. ],
  12132. "responses": {
  12133. "200": {
  12134. "description": "OK",
  12135. "schema": {
  12136. "$ref": "#/definitions/app.Response"
  12137. }
  12138. },
  12139. "500": {
  12140. "description": "Internal Server Error",
  12141. "schema": {
  12142. "$ref": "#/definitions/app.Response"
  12143. }
  12144. }
  12145. }
  12146. }
  12147. },
  12148. "/WRTrade/GetAllDeliveryGoods": {
  12149. "get": {
  12150. "security": [
  12151. {
  12152. "ApiKeyAuth": []
  12153. }
  12154. ],
  12155. "produces": [
  12156. "application/json"
  12157. ],
  12158. "tags": [
  12159. "仓单贸易",
  12160. "仓单贸易"
  12161. ],
  12162. "summary": "获取带仓单分类的种类信息",
  12163. "responses": {
  12164. "200": {
  12165. "description": "OK",
  12166. "schema": {
  12167. "$ref": "#/definitions/app.Response"
  12168. }
  12169. },
  12170. "500": {
  12171. "description": "Internal Server Error",
  12172. "schema": {
  12173. "$ref": "#/definitions/app.Response"
  12174. }
  12175. }
  12176. }
  12177. }
  12178. },
  12179. "/WrTrade2/QueryDeliveryGoodsSection": {
  12180. "get": {
  12181. "security": [
  12182. {
  12183. "ApiKeyAuth": []
  12184. }
  12185. ],
  12186. "produces": [
  12187. "application/json"
  12188. ],
  12189. "tags": [
  12190. "仓单贸易v2"
  12191. ],
  12192. "summary": "查询板块(分类)",
  12193. "responses": {
  12194. "200": {
  12195. "description": "OK",
  12196. "schema": {
  12197. "type": "array",
  12198. "items": {
  12199. "$ref": "#/definitions/models.WrDeliveryGoodsSection"
  12200. }
  12201. }
  12202. },
  12203. "500": {
  12204. "description": "Internal Server Error",
  12205. "schema": {
  12206. "$ref": "#/definitions/app.Response"
  12207. }
  12208. }
  12209. }
  12210. }
  12211. },
  12212. "/WrTrade2/QueryFaProductDetail": {
  12213. "get": {
  12214. "security": [
  12215. {
  12216. "ApiKeyAuth": []
  12217. }
  12218. ],
  12219. "description": "页面 买卖大厅 -\u003e 选择融资方案",
  12220. "produces": [
  12221. "application/json"
  12222. ],
  12223. "tags": [
  12224. "仓单贸易v2"
  12225. ],
  12226. "summary": "查询融资产品列表",
  12227. "parameters": [
  12228. {
  12229. "type": "integer",
  12230. "description": "仓单要素id",
  12231. "name": "wrfactortypeid",
  12232. "in": "query",
  12233. "required": true
  12234. }
  12235. ],
  12236. "responses": {
  12237. "200": {
  12238. "description": "OK",
  12239. "schema": {
  12240. "type": "array",
  12241. "items": {
  12242. "$ref": "#/definitions/models.WrFAProductDetail"
  12243. }
  12244. }
  12245. },
  12246. "500": {
  12247. "description": "Internal Server Error",
  12248. "schema": {
  12249. "$ref": "#/definitions/app.Response"
  12250. }
  12251. }
  12252. }
  12253. }
  12254. },
  12255. "/WrTrade2/QueryFilterItem": {
  12256. "get": {
  12257. "security": [
  12258. {
  12259. "ApiKeyAuth": []
  12260. }
  12261. ],
  12262. "produces": [
  12263. "application/json"
  12264. ],
  12265. "tags": [
  12266. "仓单贸易v2"
  12267. ],
  12268. "summary": "查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)",
  12269. "parameters": [
  12270. {
  12271. "type": "string",
  12272. "description": "类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库",
  12273. "name": "itype",
  12274. "in": "query",
  12275. "required": true
  12276. }
  12277. ],
  12278. "responses": {
  12279. "200": {
  12280. "description": "OK",
  12281. "schema": {
  12282. "type": "array",
  12283. "items": {
  12284. "$ref": "#/definitions/models.WrFilterItem"
  12285. }
  12286. }
  12287. },
  12288. "500": {
  12289. "description": "Internal Server Error",
  12290. "schema": {
  12291. "$ref": "#/definitions/app.Response"
  12292. }
  12293. }
  12294. }
  12295. }
  12296. },
  12297. "/WrTrade2/QueryFtDeliveryGoods": {
  12298. "get": {
  12299. "security": [
  12300. {
  12301. "ApiKeyAuth": []
  12302. }
  12303. ],
  12304. "produces": [
  12305. "application/json"
  12306. ],
  12307. "tags": [
  12308. "仓单贸易v2"
  12309. ],
  12310. "summary": "查询品种品类筛选框列表",
  12311. "responses": {
  12312. "200": {
  12313. "description": "OK",
  12314. "schema": {
  12315. "type": "array",
  12316. "items": {
  12317. "$ref": "#/definitions/models.WrFtDeliveryGoods"
  12318. }
  12319. }
  12320. },
  12321. "500": {
  12322. "description": "Internal Server Error",
  12323. "schema": {
  12324. "$ref": "#/definitions/app.Response"
  12325. }
  12326. }
  12327. }
  12328. }
  12329. },
  12330. "/WrTrade2/QueryHoldLB": {
  12331. "get": {
  12332. "security": [
  12333. {
  12334. "ApiKeyAuth": []
  12335. }
  12336. ],
  12337. "description": "页面 现货仓单-\u003e现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。",
  12338. "produces": [
  12339. "application/json"
  12340. ],
  12341. "tags": [
  12342. "仓单贸易v2"
  12343. ],
  12344. "summary": "查询仓单持有记录",
  12345. "parameters": [
  12346. {
  12347. "type": "integer",
  12348. "description": "资金账号",
  12349. "name": "accountid",
  12350. "in": "query",
  12351. "required": true
  12352. },
  12353. {
  12354. "type": "integer",
  12355. "description": "仓库id",
  12356. "name": "warehouseid",
  12357. "in": "query"
  12358. },
  12359. {
  12360. "type": "integer",
  12361. "description": "品种id",
  12362. "name": "deliverygoodsid",
  12363. "in": "query"
  12364. },
  12365. {
  12366. "type": "integer",
  12367. "description": "品类id",
  12368. "name": "wrstandardid",
  12369. "in": "query"
  12370. },
  12371. {
  12372. "type": "integer",
  12373. "description": "仓单要素id",
  12374. "name": "wrfactortypeid",
  12375. "in": "query"
  12376. },
  12377. {
  12378. "type": "string",
  12379. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  12380. "name": "dgitemname",
  12381. "in": "query"
  12382. }
  12383. ],
  12384. "responses": {
  12385. "200": {
  12386. "description": "OK",
  12387. "schema": {
  12388. "type": "array",
  12389. "items": {
  12390. "$ref": "#/definitions/models.WrHoldLB"
  12391. }
  12392. }
  12393. },
  12394. "500": {
  12395. "description": "Internal Server Error",
  12396. "schema": {
  12397. "$ref": "#/definitions/app.Response"
  12398. }
  12399. }
  12400. }
  12401. }
  12402. },
  12403. "/WrTrade2/QueryOrderQuote": {
  12404. "get": {
  12405. "security": [
  12406. {
  12407. "ApiKeyAuth": []
  12408. }
  12409. ],
  12410. "description": "仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth 唯一确定1条记录",
  12411. "produces": [
  12412. "application/json"
  12413. ],
  12414. "tags": [
  12415. "仓单贸易v2"
  12416. ],
  12417. "summary": "查询大厅行情列表",
  12418. "parameters": [
  12419. {
  12420. "type": "integer",
  12421. "description": "页码",
  12422. "name": "page",
  12423. "in": "query"
  12424. },
  12425. {
  12426. "type": "integer",
  12427. "description": "每页条数",
  12428. "name": "pagesize",
  12429. "in": "query"
  12430. },
  12431. {
  12432. "type": "integer",
  12433. "description": "仓单贸易市场id",
  12434. "name": "marketid",
  12435. "in": "query"
  12436. },
  12437. {
  12438. "type": "integer",
  12439. "description": "价格方式 - 1:固定价 2-浮动价",
  12440. "name": "wrpricetype",
  12441. "in": "query",
  12442. "required": true
  12443. },
  12444. {
  12445. "type": "integer",
  12446. "description": "0:仓单预售 1:仓单贸易",
  12447. "name": "haswr",
  12448. "in": "query"
  12449. },
  12450. {
  12451. "type": "string",
  12452. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  12453. "name": "dgitemname",
  12454. "in": "query"
  12455. },
  12456. {
  12457. "type": "integer",
  12458. "description": "仓库id(筛选条件)",
  12459. "name": "warehouseid",
  12460. "in": "query"
  12461. },
  12462. {
  12463. "type": "integer",
  12464. "description": "品种id",
  12465. "name": "deliverygoodsid",
  12466. "in": "query"
  12467. },
  12468. {
  12469. "type": "integer",
  12470. "description": "品类id",
  12471. "name": "wrstandardid",
  12472. "in": "query"
  12473. },
  12474. {
  12475. "type": "integer",
  12476. "description": "品牌id(dgfactoryitemid)",
  12477. "name": "brandid",
  12478. "in": "query"
  12479. },
  12480. {
  12481. "type": "integer",
  12482. "description": "年份id(dgfactoryitemid)",
  12483. "name": "yearsid",
  12484. "in": "query"
  12485. },
  12486. {
  12487. "type": "integer",
  12488. "description": "仓单要素id",
  12489. "name": "wrfactortypeid",
  12490. "in": "query"
  12491. },
  12492. {
  12493. "type": "string",
  12494. "description": "交收月(yyyy-mm) 仓单预售填写",
  12495. "name": "deliverymonth",
  12496. "in": "query"
  12497. }
  12498. ],
  12499. "responses": {
  12500. "200": {
  12501. "description": "OK",
  12502. "schema": {
  12503. "type": "array",
  12504. "items": {
  12505. "$ref": "#/definitions/models.WrOrderQuote"
  12506. }
  12507. }
  12508. },
  12509. "500": {
  12510. "description": "Internal Server Error",
  12511. "schema": {
  12512. "$ref": "#/definitions/app.Response"
  12513. }
  12514. }
  12515. }
  12516. }
  12517. },
  12518. "/WrTrade2/QueryOrderQuoteDetail": {
  12519. "get": {
  12520. "security": [
  12521. {
  12522. "ApiKeyAuth": []
  12523. }
  12524. ],
  12525. "produces": [
  12526. "application/json"
  12527. ],
  12528. "tags": [
  12529. "仓单贸易v2"
  12530. ],
  12531. "summary": "查询买卖大厅",
  12532. "parameters": [
  12533. {
  12534. "type": "integer",
  12535. "description": "页码",
  12536. "name": "page",
  12537. "in": "query"
  12538. },
  12539. {
  12540. "type": "integer",
  12541. "description": "每页条数",
  12542. "name": "pagesize",
  12543. "in": "query"
  12544. },
  12545. {
  12546. "type": "integer",
  12547. "description": "仓单贸易市场id",
  12548. "name": "marketid",
  12549. "in": "query"
  12550. },
  12551. {
  12552. "type": "integer",
  12553. "description": "价格方式 - 1:固定价 2-浮动价",
  12554. "name": "wrpricetype",
  12555. "in": "query",
  12556. "required": true
  12557. },
  12558. {
  12559. "type": "integer",
  12560. "description": "0:仓单预售 1:仓单贸易",
  12561. "name": "haswr",
  12562. "in": "query"
  12563. },
  12564. {
  12565. "type": "integer",
  12566. "description": "仓单要素id",
  12567. "name": "wrfactortypeid",
  12568. "in": "query",
  12569. "required": true
  12570. },
  12571. {
  12572. "type": "integer",
  12573. "description": "期货商品id(浮动价方式时填)",
  12574. "name": "goodsid",
  12575. "in": "query"
  12576. },
  12577. {
  12578. "type": "integer",
  12579. "description": "买卖方向 0-买 1-卖",
  12580. "name": "buyorsell",
  12581. "in": "query",
  12582. "required": true
  12583. },
  12584. {
  12585. "type": "string",
  12586. "description": "交收月(yyyy-mm) 查仓单预售的买卖大厅时填写",
  12587. "name": "deliverymonth",
  12588. "in": "query"
  12589. }
  12590. ],
  12591. "responses": {
  12592. "200": {
  12593. "description": "OK",
  12594. "schema": {
  12595. "type": "array",
  12596. "items": {
  12597. "$ref": "#/definitions/models.WrOrderQuoteDetail"
  12598. }
  12599. }
  12600. },
  12601. "500": {
  12602. "description": "Internal Server Error",
  12603. "schema": {
  12604. "$ref": "#/definitions/app.Response"
  12605. }
  12606. }
  12607. }
  12608. }
  12609. },
  12610. "/WrTrade2/QueryOrderQuoteMyq": {
  12611. "get": {
  12612. "security": [
  12613. {
  12614. "ApiKeyAuth": []
  12615. }
  12616. ],
  12617. "produces": [
  12618. "application/json"
  12619. ],
  12620. "tags": [
  12621. "仓单贸易v2"
  12622. ],
  12623. "summary": "查询贸易圈挂牌大厅",
  12624. "parameters": [
  12625. {
  12626. "type": "integer",
  12627. "description": "页码",
  12628. "name": "page",
  12629. "in": "query"
  12630. },
  12631. {
  12632. "type": "integer",
  12633. "description": "每页条数",
  12634. "name": "pagesize",
  12635. "in": "query"
  12636. },
  12637. {
  12638. "type": "integer",
  12639. "description": "用户id",
  12640. "name": "userid",
  12641. "in": "query",
  12642. "required": true
  12643. },
  12644. {
  12645. "type": "integer",
  12646. "description": "仓单贸易市场id",
  12647. "name": "marketid",
  12648. "in": "query"
  12649. },
  12650. {
  12651. "type": "integer",
  12652. "description": "0:仓单预售 1:仓单贸易",
  12653. "name": "haswr",
  12654. "in": "query"
  12655. },
  12656. {
  12657. "type": "integer",
  12658. "description": "买卖方向 0-买 1-卖",
  12659. "name": "buyorsell",
  12660. "in": "query",
  12661. "required": true
  12662. },
  12663. {
  12664. "type": "integer",
  12665. "description": "品种id",
  12666. "name": "deliverygoodsid",
  12667. "in": "query"
  12668. },
  12669. {
  12670. "type": "integer",
  12671. "description": "品类id",
  12672. "name": "wrstandardid",
  12673. "in": "query"
  12674. },
  12675. {
  12676. "type": "string",
  12677. "description": "交收月(yyyy-mm) 仓单预售填写",
  12678. "name": "deliverymonth",
  12679. "in": "query"
  12680. },
  12681. {
  12682. "type": "string",
  12683. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  12684. "name": "dgitemname",
  12685. "in": "query"
  12686. }
  12687. ],
  12688. "responses": {
  12689. "200": {
  12690. "description": "OK",
  12691. "schema": {
  12692. "type": "array",
  12693. "items": {
  12694. "$ref": "#/definitions/models.WrQuoteOrderMyq"
  12695. }
  12696. }
  12697. },
  12698. "500": {
  12699. "description": "Internal Server Error",
  12700. "schema": {
  12701. "$ref": "#/definitions/app.Response"
  12702. }
  12703. }
  12704. }
  12705. }
  12706. },
  12707. "/WrTrade2/QueryPerformancePlan": {
  12708. "get": {
  12709. "security": [
  12710. {
  12711. "ApiKeyAuth": []
  12712. }
  12713. ],
  12714. "produces": [
  12715. "application/json"
  12716. ],
  12717. "tags": [
  12718. "仓单贸易v2"
  12719. ],
  12720. "summary": "查询履约信息",
  12721. "parameters": [
  12722. {
  12723. "type": "integer",
  12724. "description": "用户id",
  12725. "name": "userid",
  12726. "in": "query",
  12727. "required": true
  12728. },
  12729. {
  12730. "type": "integer",
  12731. "description": "买卖方向 0-买 1-卖",
  12732. "name": "buyorsell",
  12733. "in": "query",
  12734. "required": true
  12735. },
  12736. {
  12737. "type": "string",
  12738. "description": "履约状态(可多个,逗号隔开) 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭",
  12739. "name": "status",
  12740. "in": "query"
  12741. },
  12742. {
  12743. "type": "string",
  12744. "description": "开始交易日(yyyymmdd)",
  12745. "name": "begindate",
  12746. "in": "query"
  12747. },
  12748. {
  12749. "type": "string",
  12750. "description": "结束交易日(yyyymmdd)",
  12751. "name": "enddate",
  12752. "in": "query"
  12753. }
  12754. ],
  12755. "responses": {
  12756. "200": {
  12757. "description": "OK",
  12758. "schema": {
  12759. "type": "array",
  12760. "items": {
  12761. "$ref": "#/definitions/models.WrPerformancePlan"
  12762. }
  12763. }
  12764. },
  12765. "500": {
  12766. "description": "Internal Server Error",
  12767. "schema": {
  12768. "$ref": "#/definitions/app.Response"
  12769. }
  12770. }
  12771. }
  12772. }
  12773. },
  12774. "/WrTrade2/QueryPermancePlanTmp": {
  12775. "get": {
  12776. "security": [
  12777. {
  12778. "ApiKeyAuth": []
  12779. }
  12780. ],
  12781. "description": "返回指定用户的模板和公共模板(用户id为空)\n注意:天津麦顿客户 填写marketid参数,其它参数不用填;其它客户不用填marketid字段",
  12782. "produces": [
  12783. "application/json"
  12784. ],
  12785. "tags": [
  12786. "仓单贸易v2"
  12787. ],
  12788. "summary": "查询履约模板",
  12789. "parameters": [
  12790. {
  12791. "type": "integer",
  12792. "description": "用户id",
  12793. "name": "userid",
  12794. "in": "query"
  12795. },
  12796. {
  12797. "type": "string",
  12798. "description": "模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式",
  12799. "name": "tmptype",
  12800. "in": "query"
  12801. },
  12802. {
  12803. "type": "integer",
  12804. "description": "是否包含公共模板(用户id为空的) 1-包含",
  12805. "name": "includepub",
  12806. "in": "query"
  12807. },
  12808. {
  12809. "type": "integer",
  12810. "description": "市场id(天津麦顿指定此参数,其它不用)",
  12811. "name": "marketid",
  12812. "in": "query"
  12813. }
  12814. ],
  12815. "responses": {
  12816. "200": {
  12817. "description": "OK",
  12818. "schema": {
  12819. "type": "array",
  12820. "items": {
  12821. "$ref": "#/definitions/models.WrPerformanceTemplateEx"
  12822. }
  12823. }
  12824. },
  12825. "500": {
  12826. "description": "Internal Server Error",
  12827. "schema": {
  12828. "$ref": "#/definitions/app.Response"
  12829. }
  12830. }
  12831. }
  12832. }
  12833. },
  12834. "/WrTrade2/QuerySiteColumnDetail": {
  12835. "get": {
  12836. "security": [
  12837. {
  12838. "ApiKeyAuth": []
  12839. }
  12840. ],
  12841. "produces": [
  12842. "application/json"
  12843. ],
  12844. "tags": [
  12845. "仓单贸易v2"
  12846. ],
  12847. "summary": "查询资讯",
  12848. "parameters": [
  12849. {
  12850. "type": "integer",
  12851. "description": "页码",
  12852. "name": "page",
  12853. "in": "query"
  12854. },
  12855. {
  12856. "type": "integer",
  12857. "description": "每页条数",
  12858. "name": "pagesize",
  12859. "in": "query"
  12860. },
  12861. {
  12862. "type": "integer",
  12863. "description": "所属栏目id",
  12864. "name": "columnid",
  12865. "in": "query"
  12866. }
  12867. ],
  12868. "responses": {
  12869. "200": {
  12870. "description": "OK",
  12871. "schema": {
  12872. "type": "array",
  12873. "items": {
  12874. "$ref": "#/definitions/models.WrSiteColumnDetail"
  12875. }
  12876. }
  12877. },
  12878. "500": {
  12879. "description": "Internal Server Error",
  12880. "schema": {
  12881. "$ref": "#/definitions/app.Response"
  12882. }
  12883. }
  12884. }
  12885. }
  12886. },
  12887. "/WrTrade2/QuerySpotGroupTradeSum": {
  12888. "get": {
  12889. "security": [
  12890. {
  12891. "ApiKeyAuth": []
  12892. }
  12893. ],
  12894. "produces": [
  12895. "application/json"
  12896. ],
  12897. "tags": [
  12898. "仓单贸易v2"
  12899. ],
  12900. "summary": "查询指数",
  12901. "responses": {
  12902. "200": {
  12903. "description": "OK",
  12904. "schema": {
  12905. "type": "array",
  12906. "items": {
  12907. "$ref": "#/definitions/models.WrSpotGroupTradeSumEx"
  12908. }
  12909. }
  12910. },
  12911. "500": {
  12912. "description": "Internal Server Error",
  12913. "schema": {
  12914. "$ref": "#/definitions/app.Response"
  12915. }
  12916. }
  12917. }
  12918. }
  12919. },
  12920. "/WrTrade2/QuerySpotGroupTradeSumDetail": {
  12921. "get": {
  12922. "security": [
  12923. {
  12924. "ApiKeyAuth": []
  12925. }
  12926. ],
  12927. "description": "查询的结果将会按日期 从小到大 排序",
  12928. "produces": [
  12929. "application/json"
  12930. ],
  12931. "tags": [
  12932. "仓单贸易v2"
  12933. ],
  12934. "summary": "查询指数详细(价格走势图)",
  12935. "parameters": [
  12936. {
  12937. "type": "integer",
  12938. "description": "现货商品id",
  12939. "name": "deliverygoodsid",
  12940. "in": "query",
  12941. "required": true
  12942. },
  12943. {
  12944. "type": "integer",
  12945. "description": "查询最新多少条记录(如不填写此项, 默认查30条)",
  12946. "name": "lastnum",
  12947. "in": "query"
  12948. }
  12949. ],
  12950. "responses": {
  12951. "200": {
  12952. "description": "OK",
  12953. "schema": {
  12954. "type": "array",
  12955. "items": {
  12956. "$ref": "#/definitions/models.WrSpotGroupTradeSumDetail"
  12957. }
  12958. }
  12959. },
  12960. "500": {
  12961. "description": "Internal Server Error",
  12962. "schema": {
  12963. "$ref": "#/definitions/app.Response"
  12964. }
  12965. }
  12966. }
  12967. }
  12968. },
  12969. "/WrTrade2/QueryWrAverageTradePrice": {
  12970. "get": {
  12971. "security": [
  12972. {
  12973. "ApiKeyAuth": []
  12974. }
  12975. ],
  12976. "produces": [
  12977. "application/json"
  12978. ],
  12979. "tags": [
  12980. "仓单贸易v2"
  12981. ],
  12982. "summary": "查询成交价(历史走势)",
  12983. "parameters": [
  12984. {
  12985. "type": "integer",
  12986. "description": "页码",
  12987. "name": "page",
  12988. "in": "query"
  12989. },
  12990. {
  12991. "type": "integer",
  12992. "description": "每页条数",
  12993. "name": "pagesize",
  12994. "in": "query"
  12995. },
  12996. {
  12997. "type": "integer",
  12998. "description": "0:仓单预售 1:仓单贸易",
  12999. "name": "haswr",
  13000. "in": "query",
  13001. "required": true
  13002. },
  13003. {
  13004. "type": "integer",
  13005. "description": "仓单要素id",
  13006. "name": "wrfactortypeid",
  13007. "in": "query",
  13008. "required": true
  13009. }
  13010. ],
  13011. "responses": {
  13012. "200": {
  13013. "description": "OK",
  13014. "schema": {
  13015. "type": "array",
  13016. "items": {
  13017. "$ref": "#/definitions/models.WrAverageTradePrice"
  13018. }
  13019. }
  13020. },
  13021. "500": {
  13022. "description": "Internal Server Error",
  13023. "schema": {
  13024. "$ref": "#/definitions/app.Response"
  13025. }
  13026. }
  13027. }
  13028. }
  13029. },
  13030. "/WrTrade2/QueryWrBrandAndYears": {
  13031. "get": {
  13032. "security": [
  13033. {
  13034. "ApiKeyAuth": []
  13035. }
  13036. ],
  13037. "produces": [
  13038. "application/json"
  13039. ],
  13040. "tags": [
  13041. "仓单贸易v2"
  13042. ],
  13043. "summary": "查询品牌和年份",
  13044. "responses": {
  13045. "200": {
  13046. "description": "OK",
  13047. "schema": {
  13048. "type": "array",
  13049. "items": {
  13050. "$ref": "#/definitions/models.WrBrandAndYears"
  13051. }
  13052. }
  13053. },
  13054. "500": {
  13055. "description": "Internal Server Error",
  13056. "schema": {
  13057. "$ref": "#/definitions/app.Response"
  13058. }
  13059. }
  13060. }
  13061. }
  13062. },
  13063. "/WrTrade2/QueryWrBsGoodsInfo": {
  13064. "get": {
  13065. "security": [
  13066. {
  13067. "ApiKeyAuth": []
  13068. }
  13069. ],
  13070. "description": "合约交易/买卖大厅/详情",
  13071. "produces": [
  13072. "application/json"
  13073. ],
  13074. "tags": [
  13075. "仓单贸易v2"
  13076. ],
  13077. "summary": "查询合约交易买卖大厅详情",
  13078. "parameters": [
  13079. {
  13080. "type": "integer",
  13081. "description": "商品id",
  13082. "name": "goodsid",
  13083. "in": "query",
  13084. "required": true
  13085. }
  13086. ],
  13087. "responses": {
  13088. "200": {
  13089. "description": "OK",
  13090. "schema": {
  13091. "type": "array",
  13092. "items": {
  13093. "$ref": "#/definitions/models.WrBsGoodsInfo"
  13094. }
  13095. }
  13096. },
  13097. "500": {
  13098. "description": "Internal Server Error",
  13099. "schema": {
  13100. "$ref": "#/definitions/app.Response"
  13101. }
  13102. }
  13103. }
  13104. }
  13105. },
  13106. "/WrTrade2/QueryWrBuybackDetail": {
  13107. "get": {
  13108. "security": [
  13109. {
  13110. "ApiKeyAuth": []
  13111. }
  13112. ],
  13113. "produces": [
  13114. "application/json"
  13115. ],
  13116. "tags": [
  13117. "仓单贸易v2"
  13118. ],
  13119. "summary": "查询仓单回购明细",
  13120. "parameters": [
  13121. {
  13122. "type": "integer",
  13123. "description": "融资合同id",
  13124. "name": "scfcontractid",
  13125. "in": "query"
  13126. }
  13127. ],
  13128. "responses": {
  13129. "200": {
  13130. "description": "OK",
  13131. "schema": {
  13132. "type": "array",
  13133. "items": {
  13134. "$ref": "#/definitions/models.WrBuybackDetail"
  13135. }
  13136. }
  13137. },
  13138. "500": {
  13139. "description": "Internal Server Error",
  13140. "schema": {
  13141. "$ref": "#/definitions/app.Response"
  13142. }
  13143. }
  13144. }
  13145. }
  13146. },
  13147. "/WrTrade2/QueryWrClientAdSpaceConfig": {
  13148. "get": {
  13149. "security": [
  13150. {
  13151. "ApiKeyAuth": []
  13152. }
  13153. ],
  13154. "produces": [
  13155. "application/json"
  13156. ],
  13157. "tags": [
  13158. "仓单贸易v2"
  13159. ],
  13160. "summary": "查询固定广告配置",
  13161. "responses": {
  13162. "200": {
  13163. "description": "OK",
  13164. "schema": {
  13165. "type": "array",
  13166. "items": {
  13167. "$ref": "#/definitions/models.WrClientAdSpaceConfig"
  13168. }
  13169. }
  13170. },
  13171. "500": {
  13172. "description": "Internal Server Error",
  13173. "schema": {
  13174. "$ref": "#/definitions/app.Response"
  13175. }
  13176. }
  13177. }
  13178. }
  13179. },
  13180. "/WrTrade2/QueryWrDeliveryAvalidHoldLB": {
  13181. "get": {
  13182. "security": [
  13183. {
  13184. "ApiKeyAuth": []
  13185. }
  13186. ],
  13187. "produces": [
  13188. "application/json"
  13189. ],
  13190. "tags": [
  13191. "仓单贸易v2"
  13192. ],
  13193. "summary": "查询合约交收可点选仓单",
  13194. "parameters": [
  13195. {
  13196. "type": "integer",
  13197. "description": "资金账号",
  13198. "name": "accountid",
  13199. "in": "query",
  13200. "required": true
  13201. },
  13202. {
  13203. "type": "integer",
  13204. "description": "商品id",
  13205. "name": "goodsid",
  13206. "in": "query",
  13207. "required": true
  13208. }
  13209. ],
  13210. "responses": {
  13211. "200": {
  13212. "description": "OK",
  13213. "schema": {
  13214. "type": "array",
  13215. "items": {
  13216. "$ref": "#/definitions/models.WrDeliveryAvalidHoldLB"
  13217. }
  13218. }
  13219. },
  13220. "500": {
  13221. "description": "Internal Server Error",
  13222. "schema": {
  13223. "$ref": "#/definitions/app.Response"
  13224. }
  13225. }
  13226. }
  13227. }
  13228. },
  13229. "/WrTrade2/QueryWrDeliveryDetail": {
  13230. "get": {
  13231. "security": [
  13232. {
  13233. "ApiKeyAuth": []
  13234. }
  13235. ],
  13236. "produces": [
  13237. "application/json"
  13238. ],
  13239. "tags": [
  13240. "仓单贸易v2"
  13241. ],
  13242. "summary": "查询交收",
  13243. "parameters": [
  13244. {
  13245. "type": "integer",
  13246. "description": "用户id",
  13247. "name": "userid",
  13248. "in": "query",
  13249. "required": true
  13250. },
  13251. {
  13252. "type": "integer",
  13253. "description": "资金账号id",
  13254. "name": "accountid",
  13255. "in": "query"
  13256. },
  13257. {
  13258. "type": "string",
  13259. "description": "开始交易日(yyyymmdd)",
  13260. "name": "begindate",
  13261. "in": "query"
  13262. },
  13263. {
  13264. "type": "string",
  13265. "description": "结束交易日(yyyymmdd)",
  13266. "name": "enddate",
  13267. "in": "query"
  13268. }
  13269. ],
  13270. "responses": {
  13271. "200": {
  13272. "description": "OK",
  13273. "schema": {
  13274. "type": "array",
  13275. "items": {
  13276. "$ref": "#/definitions/models.WrDeliveryDetail"
  13277. }
  13278. }
  13279. },
  13280. "500": {
  13281. "description": "Internal Server Error",
  13282. "schema": {
  13283. "$ref": "#/definitions/app.Response"
  13284. }
  13285. }
  13286. }
  13287. }
  13288. },
  13289. "/WrTrade2/QueryWrDraftUserInfo": {
  13290. "get": {
  13291. "security": [
  13292. {
  13293. "ApiKeyAuth": []
  13294. }
  13295. ],
  13296. "produces": [
  13297. "application/json"
  13298. ],
  13299. "tags": [
  13300. "仓单贸易v2"
  13301. ],
  13302. "summary": "查询实名认证信息",
  13303. "parameters": [
  13304. {
  13305. "type": "integer",
  13306. "description": "用户ID",
  13307. "name": "userid",
  13308. "in": "query",
  13309. "required": true
  13310. },
  13311. {
  13312. "type": "integer",
  13313. "description": "用户状态 1:正常 2:注销",
  13314. "name": "userstatus",
  13315. "in": "query"
  13316. }
  13317. ],
  13318. "responses": {
  13319. "200": {
  13320. "description": "OK",
  13321. "schema": {
  13322. "type": "array",
  13323. "items": {
  13324. "$ref": "#/definitions/models.WrDraftUserInfo"
  13325. }
  13326. }
  13327. },
  13328. "500": {
  13329. "description": "Internal Server Error",
  13330. "schema": {
  13331. "$ref": "#/definitions/app.Response"
  13332. }
  13333. }
  13334. }
  13335. }
  13336. },
  13337. "/WrTrade2/QueryWrFactorTypeInfo": {
  13338. "get": {
  13339. "security": [
  13340. {
  13341. "ApiKeyAuth": []
  13342. }
  13343. ],
  13344. "produces": [
  13345. "application/json"
  13346. ],
  13347. "tags": [
  13348. "仓单贸易v2"
  13349. ],
  13350. "summary": "查询仓单要素详细信息",
  13351. "parameters": [
  13352. {
  13353. "type": "integer",
  13354. "description": "仓单要素id",
  13355. "name": "wrfactortypeid",
  13356. "in": "query",
  13357. "required": true
  13358. }
  13359. ],
  13360. "responses": {
  13361. "200": {
  13362. "description": "OK",
  13363. "schema": {
  13364. "type": "array",
  13365. "items": {
  13366. "$ref": "#/definitions/models.WrFactorTypeInfo"
  13367. }
  13368. }
  13369. },
  13370. "500": {
  13371. "description": "Internal Server Error",
  13372. "schema": {
  13373. "$ref": "#/definitions/app.Response"
  13374. }
  13375. }
  13376. }
  13377. }
  13378. },
  13379. "/WrTrade2/QueryWrFactorTypeInfoEx": {
  13380. "get": {
  13381. "security": [
  13382. {
  13383. "ApiKeyAuth": []
  13384. }
  13385. ],
  13386. "produces": [
  13387. "application/json"
  13388. ],
  13389. "tags": [
  13390. "仓单贸易v2"
  13391. ],
  13392. "summary": "查询仓单要素详细信息列表项",
  13393. "parameters": [
  13394. {
  13395. "type": "integer",
  13396. "description": "仓单要素id",
  13397. "name": "wrfactortypeid",
  13398. "in": "query",
  13399. "required": true
  13400. }
  13401. ],
  13402. "responses": {
  13403. "200": {
  13404. "description": "OK",
  13405. "schema": {
  13406. "type": "array",
  13407. "items": {
  13408. "$ref": "#/definitions/models.WrTypeItem"
  13409. }
  13410. }
  13411. },
  13412. "500": {
  13413. "description": "Internal Server Error",
  13414. "schema": {
  13415. "$ref": "#/definitions/app.Response"
  13416. }
  13417. }
  13418. }
  13419. }
  13420. },
  13421. "/WrTrade2/QueryWrFinanceBuyApply": {
  13422. "get": {
  13423. "security": [
  13424. {
  13425. "ApiKeyAuth": []
  13426. }
  13427. ],
  13428. "description": "页面 融资信息+ / 申请单",
  13429. "produces": [
  13430. "application/json"
  13431. ],
  13432. "tags": [
  13433. "仓单贸易v2"
  13434. ],
  13435. "summary": "查询融资购买申请",
  13436. "parameters": [
  13437. {
  13438. "type": "integer",
  13439. "description": "用户id",
  13440. "name": "userid",
  13441. "in": "query",
  13442. "required": true
  13443. }
  13444. ],
  13445. "responses": {
  13446. "200": {
  13447. "description": "OK",
  13448. "schema": {
  13449. "type": "array",
  13450. "items": {
  13451. "$ref": "#/definitions/models.WrFinanceBuyApply"
  13452. }
  13453. }
  13454. },
  13455. "500": {
  13456. "description": "Internal Server Error",
  13457. "schema": {
  13458. "$ref": "#/definitions/app.Response"
  13459. }
  13460. }
  13461. }
  13462. }
  13463. },
  13464. "/WrTrade2/QueryWrFriendApply": {
  13465. "get": {
  13466. "security": [
  13467. {
  13468. "ApiKeyAuth": []
  13469. }
  13470. ],
  13471. "produces": [
  13472. "application/json"
  13473. ],
  13474. "tags": [
  13475. "仓单贸易v2"
  13476. ],
  13477. "summary": "查询好友申请记录",
  13478. "parameters": [
  13479. {
  13480. "type": "integer",
  13481. "description": "用户id",
  13482. "name": "userid",
  13483. "in": "query",
  13484. "required": true
  13485. }
  13486. ],
  13487. "responses": {
  13488. "200": {
  13489. "description": "OK",
  13490. "schema": {
  13491. "type": "array",
  13492. "items": {
  13493. "$ref": "#/definitions/models.WrFriendApply"
  13494. }
  13495. }
  13496. },
  13497. "500": {
  13498. "description": "Internal Server Error",
  13499. "schema": {
  13500. "$ref": "#/definitions/app.Response"
  13501. }
  13502. }
  13503. }
  13504. }
  13505. },
  13506. "/WrTrade2/QueryWrGoodsInfo": {
  13507. "get": {
  13508. "security": [
  13509. {
  13510. "ApiKeyAuth": []
  13511. }
  13512. ],
  13513. "produces": [
  13514. "application/json"
  13515. ],
  13516. "tags": [
  13517. "仓单贸易v2"
  13518. ],
  13519. "summary": "查询仓单商品信息",
  13520. "parameters": [
  13521. {
  13522. "type": "integer",
  13523. "description": "仓单贸易市场id",
  13524. "name": "marketid",
  13525. "in": "query"
  13526. },
  13527. {
  13528. "type": "integer",
  13529. "description": "0:仓单预售 1:仓单贸易",
  13530. "name": "haswr",
  13531. "in": "query",
  13532. "required": true
  13533. },
  13534. {
  13535. "type": "integer",
  13536. "description": "仓单要素id",
  13537. "name": "wrfactortypeid",
  13538. "in": "query",
  13539. "required": true
  13540. },
  13541. {
  13542. "type": "integer",
  13543. "description": "履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)",
  13544. "name": "tmplateid",
  13545. "in": "query"
  13546. }
  13547. ],
  13548. "responses": {
  13549. "200": {
  13550. "description": "OK",
  13551. "schema": {
  13552. "type": "array",
  13553. "items": {
  13554. "$ref": "#/definitions/models.WrGoodsInfo"
  13555. }
  13556. }
  13557. },
  13558. "500": {
  13559. "description": "Internal Server Error",
  13560. "schema": {
  13561. "$ref": "#/definitions/app.Response"
  13562. }
  13563. }
  13564. }
  13565. }
  13566. },
  13567. "/WrTrade2/QueryWrMarketTradeConfig": {
  13568. "get": {
  13569. "security": [
  13570. {
  13571. "ApiKeyAuth": []
  13572. }
  13573. ],
  13574. "produces": [
  13575. "application/json"
  13576. ],
  13577. "tags": [
  13578. "仓单贸易v2"
  13579. ],
  13580. "summary": "查询市场交易参数配置",
  13581. "parameters": [
  13582. {
  13583. "type": "integer",
  13584. "description": "市场id",
  13585. "name": "marketid",
  13586. "in": "query"
  13587. }
  13588. ],
  13589. "responses": {
  13590. "200": {
  13591. "description": "OK",
  13592. "schema": {
  13593. "type": "array",
  13594. "items": {
  13595. "$ref": "#/definitions/models.WrMarketTradeConfig"
  13596. }
  13597. }
  13598. },
  13599. "500": {
  13600. "description": "Internal Server Error",
  13601. "schema": {
  13602. "$ref": "#/definitions/app.Response"
  13603. }
  13604. }
  13605. }
  13606. }
  13607. },
  13608. "/WrTrade2/QueryWrOrderDetail": {
  13609. "get": {
  13610. "security": [
  13611. {
  13612. "ApiKeyAuth": []
  13613. }
  13614. ],
  13615. "description": "页面 现货仓单 | 预售仓单 -\u003e 委托单",
  13616. "produces": [
  13617. "application/json"
  13618. ],
  13619. "tags": [
  13620. "仓单贸易v2"
  13621. ],
  13622. "summary": "查询仓单委托单",
  13623. "parameters": [
  13624. {
  13625. "type": "integer",
  13626. "description": "页码",
  13627. "name": "page",
  13628. "in": "query"
  13629. },
  13630. {
  13631. "type": "integer",
  13632. "description": "每页条数",
  13633. "name": "pagesize",
  13634. "in": "query"
  13635. },
  13636. {
  13637. "type": "integer",
  13638. "description": "用户id",
  13639. "name": "userid",
  13640. "in": "query",
  13641. "required": true
  13642. },
  13643. {
  13644. "type": "integer",
  13645. "description": "仓单贸易市场id",
  13646. "name": "marketid",
  13647. "in": "query"
  13648. },
  13649. {
  13650. "type": "integer",
  13651. "description": "0:仓单预售 1:仓单贸易",
  13652. "name": "haswr",
  13653. "in": "query",
  13654. "required": true
  13655. },
  13656. {
  13657. "type": "integer",
  13658. "description": "是否仅查可撤单据 1:可撤 注:此参数仅对当前记录有效, 且不含47模式市场",
  13659. "name": "bcancel",
  13660. "in": "query"
  13661. },
  13662. {
  13663. "type": "integer",
  13664. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  13665. "name": "wrtradetype",
  13666. "in": "query"
  13667. },
  13668. {
  13669. "type": "string",
  13670. "description": "开始交易日(yyyymmdd)",
  13671. "name": "begindate",
  13672. "in": "query"
  13673. },
  13674. {
  13675. "type": "string",
  13676. "description": "结束交易日(yyyymmdd)",
  13677. "name": "enddate",
  13678. "in": "query"
  13679. }
  13680. ],
  13681. "responses": {
  13682. "200": {
  13683. "description": "OK",
  13684. "schema": {
  13685. "type": "array",
  13686. "items": {
  13687. "$ref": "#/definitions/models.WrOrderDetail"
  13688. }
  13689. }
  13690. },
  13691. "500": {
  13692. "description": "Internal Server Error",
  13693. "schema": {
  13694. "$ref": "#/definitions/app.Response"
  13695. }
  13696. }
  13697. }
  13698. }
  13699. },
  13700. "/WrTrade2/QueryWrOutInApply": {
  13701. "get": {
  13702. "security": [
  13703. {
  13704. "ApiKeyAuth": []
  13705. }
  13706. ],
  13707. "produces": [
  13708. "application/json"
  13709. ],
  13710. "tags": [
  13711. "仓单贸易v2"
  13712. ],
  13713. "summary": "查询提货申请",
  13714. "parameters": [
  13715. {
  13716. "type": "integer",
  13717. "description": "用户id",
  13718. "name": "userid",
  13719. "in": "query",
  13720. "required": true
  13721. },
  13722. {
  13723. "type": "string",
  13724. "description": "开始交易日(yyyymmdd)",
  13725. "name": "begindate",
  13726. "in": "query"
  13727. },
  13728. {
  13729. "type": "string",
  13730. "description": "结束交易日(yyyymmdd)",
  13731. "name": "enddate",
  13732. "in": "query"
  13733. }
  13734. ],
  13735. "responses": {
  13736. "200": {
  13737. "description": "OK",
  13738. "schema": {
  13739. "type": "array",
  13740. "items": {
  13741. "$ref": "#/definitions/models.WrOutInApply"
  13742. }
  13743. }
  13744. },
  13745. "500": {
  13746. "description": "Internal Server Error",
  13747. "schema": {
  13748. "$ref": "#/definitions/app.Response"
  13749. }
  13750. }
  13751. }
  13752. }
  13753. },
  13754. "/WrTrade2/QueryWrPerformancePlanStep": {
  13755. "get": {
  13756. "security": [
  13757. {
  13758. "ApiKeyAuth": []
  13759. }
  13760. ],
  13761. "produces": [
  13762. "application/json"
  13763. ],
  13764. "tags": [
  13765. "仓单贸易v2"
  13766. ],
  13767. "summary": "查询履约信息详情",
  13768. "parameters": [
  13769. {
  13770. "type": "integer",
  13771. "description": "履约计划id(performanceplanid)",
  13772. "name": "planid",
  13773. "in": "query",
  13774. "required": true
  13775. },
  13776. {
  13777. "type": "integer",
  13778. "description": "当前步骤id",
  13779. "name": "curstepid",
  13780. "in": "query"
  13781. }
  13782. ],
  13783. "responses": {
  13784. "200": {
  13785. "description": "OK",
  13786. "schema": {
  13787. "type": "array",
  13788. "items": {
  13789. "$ref": "#/definitions/models.WrPerformancePlanStep"
  13790. }
  13791. }
  13792. },
  13793. "500": {
  13794. "description": "Internal Server Error",
  13795. "schema": {
  13796. "$ref": "#/definitions/app.Response"
  13797. }
  13798. }
  13799. }
  13800. }
  13801. },
  13802. "/WrTrade2/QueryWrPerformanceStepType": {
  13803. "get": {
  13804. "security": [
  13805. {
  13806. "ApiKeyAuth": []
  13807. }
  13808. ],
  13809. "produces": [
  13810. "application/json"
  13811. ],
  13812. "tags": [
  13813. "仓单贸易v2"
  13814. ],
  13815. "summary": "查询履约步骤枚举",
  13816. "responses": {
  13817. "200": {
  13818. "description": "OK",
  13819. "schema": {
  13820. "type": "array",
  13821. "items": {
  13822. "$ref": "#/definitions/models.WrPerformanceStepType"
  13823. }
  13824. }
  13825. },
  13826. "500": {
  13827. "description": "Internal Server Error",
  13828. "schema": {
  13829. "$ref": "#/definitions/app.Response"
  13830. }
  13831. }
  13832. }
  13833. }
  13834. },
  13835. "/WrTrade2/QueryWrPosition": {
  13836. "get": {
  13837. "security": [
  13838. {
  13839. "ApiKeyAuth": []
  13840. }
  13841. ],
  13842. "description": "页面 现货仓单-\u003e现货汇总/库存汇总; 预售仓单-\u003e订单汇总",
  13843. "produces": [
  13844. "application/json"
  13845. ],
  13846. "tags": [
  13847. "仓单贸易v2"
  13848. ],
  13849. "summary": "查询现货(预售)仓单持仓",
  13850. "parameters": [
  13851. {
  13852. "type": "integer",
  13853. "description": "用户id",
  13854. "name": "userid",
  13855. "in": "query",
  13856. "required": true
  13857. },
  13858. {
  13859. "type": "integer",
  13860. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总)",
  13861. "name": "querytype",
  13862. "in": "query",
  13863. "required": true
  13864. },
  13865. {
  13866. "type": "integer",
  13867. "description": "0:仓单预售 1:仓单贸易",
  13868. "name": "haswr",
  13869. "in": "query",
  13870. "required": true
  13871. },
  13872. {
  13873. "type": "string",
  13874. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  13875. "name": "dgitemname",
  13876. "in": "query"
  13877. },
  13878. {
  13879. "type": "integer",
  13880. "description": "仓库id(筛选条件)",
  13881. "name": "warehouseid",
  13882. "in": "query"
  13883. },
  13884. {
  13885. "type": "integer",
  13886. "description": "品种id",
  13887. "name": "deliverygoodsid",
  13888. "in": "query"
  13889. },
  13890. {
  13891. "type": "integer",
  13892. "description": "品类id",
  13893. "name": "wrstandardid",
  13894. "in": "query"
  13895. }
  13896. ],
  13897. "responses": {
  13898. "200": {
  13899. "description": "OK",
  13900. "schema": {
  13901. "type": "array",
  13902. "items": {
  13903. "$ref": "#/definitions/models.WrPosition"
  13904. }
  13905. }
  13906. },
  13907. "500": {
  13908. "description": "Internal Server Error",
  13909. "schema": {
  13910. "$ref": "#/definitions/app.Response"
  13911. }
  13912. }
  13913. }
  13914. }
  13915. },
  13916. "/WrTrade2/QueryWrPreSaleInfo": {
  13917. "get": {
  13918. "security": [
  13919. {
  13920. "ApiKeyAuth": []
  13921. }
  13922. ],
  13923. "produces": [
  13924. "application/json"
  13925. ],
  13926. "tags": [
  13927. "仓单贸易v2"
  13928. ],
  13929. "summary": "查询新品发布",
  13930. "parameters": [
  13931. {
  13932. "type": "integer",
  13933. "description": "市场id",
  13934. "name": "marketid",
  13935. "in": "query"
  13936. },
  13937. {
  13938. "type": "string",
  13939. "description": "预售状态(逗号隔开,如1,2,3) 1:未开始 2:进行中 3:已结束 4:已关闭",
  13940. "name": "presalestatus",
  13941. "in": "query"
  13942. },
  13943. {
  13944. "type": "integer",
  13945. "description": "摇号标识 - 0:未摇号 1:已摇号",
  13946. "name": "lotteryflag",
  13947. "in": "query"
  13948. },
  13949. {
  13950. "type": "integer",
  13951. "description": "最近多少条记录(按创建时间倒序)",
  13952. "name": "lastnum",
  13953. "in": "query"
  13954. }
  13955. ],
  13956. "responses": {
  13957. "200": {
  13958. "description": "OK",
  13959. "schema": {
  13960. "type": "array",
  13961. "items": {
  13962. "$ref": "#/definitions/models.WrPreSaleInfo"
  13963. }
  13964. }
  13965. },
  13966. "500": {
  13967. "description": "Internal Server Error",
  13968. "schema": {
  13969. "$ref": "#/definitions/app.Response"
  13970. }
  13971. }
  13972. }
  13973. }
  13974. },
  13975. "/WrTrade2/QueryWrReckonSpotGoodsTradeSum": {
  13976. "get": {
  13977. "security": [
  13978. {
  13979. "ApiKeyAuth": []
  13980. }
  13981. ],
  13982. "produces": [
  13983. "application/json"
  13984. ],
  13985. "tags": [
  13986. "仓单贸易v2"
  13987. ],
  13988. "summary": "查询价格走势",
  13989. "parameters": [
  13990. {
  13991. "type": "integer",
  13992. "description": "市场id",
  13993. "name": "marketid",
  13994. "in": "query",
  13995. "required": true
  13996. },
  13997. {
  13998. "type": "integer",
  13999. "description": "现货商品id",
  14000. "name": "wrstandardid",
  14001. "in": "query",
  14002. "required": true
  14003. },
  14004. {
  14005. "type": "string",
  14006. "description": "开始交易日(yyyymmdd)",
  14007. "name": "begindate",
  14008. "in": "query"
  14009. },
  14010. {
  14011. "type": "string",
  14012. "description": "结束交易日(yyyymmdd)",
  14013. "name": "enddate",
  14014. "in": "query"
  14015. },
  14016. {
  14017. "type": "integer",
  14018. "description": "最近多少条记录(按交易日倒序)",
  14019. "name": "lastnum",
  14020. "in": "query"
  14021. }
  14022. ],
  14023. "responses": {
  14024. "200": {
  14025. "description": "OK",
  14026. "schema": {
  14027. "type": "array",
  14028. "items": {
  14029. "$ref": "#/definitions/models.WrReckonSpotGoodsTradeSum"
  14030. }
  14031. }
  14032. },
  14033. "500": {
  14034. "description": "Internal Server Error",
  14035. "schema": {
  14036. "$ref": "#/definitions/app.Response"
  14037. }
  14038. }
  14039. }
  14040. }
  14041. },
  14042. "/WrTrade2/QueryWrScfContract": {
  14043. "get": {
  14044. "security": [
  14045. {
  14046. "ApiKeyAuth": []
  14047. }
  14048. ],
  14049. "produces": [
  14050. "application/json"
  14051. ],
  14052. "tags": [
  14053. "仓单贸易v2"
  14054. ],
  14055. "summary": "查询仓单贸易融资合同",
  14056. "parameters": [
  14057. {
  14058. "type": "integer",
  14059. "description": "用户id",
  14060. "name": "userid",
  14061. "in": "query",
  14062. "required": true
  14063. },
  14064. {
  14065. "type": "integer",
  14066. "description": "融资合同id",
  14067. "name": "scfcontractid",
  14068. "in": "query"
  14069. }
  14070. ],
  14071. "responses": {
  14072. "200": {
  14073. "description": "OK",
  14074. "schema": {
  14075. "type": "array",
  14076. "items": {
  14077. "$ref": "#/definitions/models.WrScfContract"
  14078. }
  14079. }
  14080. },
  14081. "500": {
  14082. "description": "Internal Server Error",
  14083. "schema": {
  14084. "$ref": "#/definitions/app.Response"
  14085. }
  14086. }
  14087. }
  14088. }
  14089. },
  14090. "/WrTrade2/QueryWrScfContractInterest": {
  14091. "get": {
  14092. "security": [
  14093. {
  14094. "ApiKeyAuth": []
  14095. }
  14096. ],
  14097. "produces": [
  14098. "application/json"
  14099. ],
  14100. "tags": [
  14101. "仓单贸易v2"
  14102. ],
  14103. "summary": "查询融资合同费用明细",
  14104. "parameters": [
  14105. {
  14106. "type": "integer",
  14107. "description": "融资合同id",
  14108. "name": "scfcontractid",
  14109. "in": "query"
  14110. }
  14111. ],
  14112. "responses": {
  14113. "200": {
  14114. "description": "OK",
  14115. "schema": {
  14116. "type": "array",
  14117. "items": {
  14118. "$ref": "#/definitions/models.WrScfContractInterest"
  14119. }
  14120. }
  14121. },
  14122. "500": {
  14123. "description": "Internal Server Error",
  14124. "schema": {
  14125. "$ref": "#/definitions/app.Response"
  14126. }
  14127. }
  14128. }
  14129. }
  14130. },
  14131. "/WrTrade2/QueryWrSearchUser": {
  14132. "get": {
  14133. "security": [
  14134. {
  14135. "ApiKeyAuth": []
  14136. }
  14137. ],
  14138. "produces": [
  14139. "application/json"
  14140. ],
  14141. "tags": [
  14142. "仓单贸易v2"
  14143. ],
  14144. "summary": "查询用户",
  14145. "parameters": [
  14146. {
  14147. "type": "string",
  14148. "description": "用户名称(模糊匹配)",
  14149. "name": "username",
  14150. "in": "query",
  14151. "required": true
  14152. }
  14153. ],
  14154. "responses": {
  14155. "200": {
  14156. "description": "OK",
  14157. "schema": {
  14158. "type": "array",
  14159. "items": {
  14160. "$ref": "#/definitions/models.WrSearchUser"
  14161. }
  14162. }
  14163. },
  14164. "500": {
  14165. "description": "Internal Server Error",
  14166. "schema": {
  14167. "$ref": "#/definitions/app.Response"
  14168. }
  14169. }
  14170. }
  14171. }
  14172. },
  14173. "/WrTrade2/QueryWrSpecialMatchOrder": {
  14174. "get": {
  14175. "security": [
  14176. {
  14177. "ApiKeyAuth": []
  14178. }
  14179. ],
  14180. "description": "页面 现货仓单 | 预售仓单 -\u003e 指定成交",
  14181. "produces": [
  14182. "application/json"
  14183. ],
  14184. "tags": [
  14185. "仓单贸易v2"
  14186. ],
  14187. "summary": "查询指定成交",
  14188. "parameters": [
  14189. {
  14190. "type": "integer",
  14191. "description": "页码",
  14192. "name": "page",
  14193. "in": "query"
  14194. },
  14195. {
  14196. "type": "integer",
  14197. "description": "每页条数",
  14198. "name": "pagesize",
  14199. "in": "query"
  14200. },
  14201. {
  14202. "type": "integer",
  14203. "description": "用户id",
  14204. "name": "userid",
  14205. "in": "query",
  14206. "required": true
  14207. },
  14208. {
  14209. "type": "integer",
  14210. "description": "仓单贸易市场id",
  14211. "name": "marketid",
  14212. "in": "query"
  14213. },
  14214. {
  14215. "type": "integer",
  14216. "description": "0:仓单预售 1:仓单贸易",
  14217. "name": "haswr",
  14218. "in": "query",
  14219. "required": true
  14220. },
  14221. {
  14222. "type": "integer",
  14223. "description": "1:指定好友(贸易圈) 2:指定对手 - [挂牌]",
  14224. "name": "isspecified",
  14225. "in": "query"
  14226. }
  14227. ],
  14228. "responses": {
  14229. "200": {
  14230. "description": "OK",
  14231. "schema": {
  14232. "type": "array",
  14233. "items": {
  14234. "$ref": "#/definitions/models.WrSpecialMatchOrder"
  14235. }
  14236. }
  14237. },
  14238. "500": {
  14239. "description": "Internal Server Error",
  14240. "schema": {
  14241. "$ref": "#/definitions/app.Response"
  14242. }
  14243. }
  14244. }
  14245. }
  14246. },
  14247. "/WrTrade2/QueryWrStandardFactoryItem": {
  14248. "get": {
  14249. "security": [
  14250. {
  14251. "ApiKeyAuth": []
  14252. }
  14253. ],
  14254. "produces": [
  14255. "application/json"
  14256. ],
  14257. "tags": [
  14258. "仓单贸易v2"
  14259. ],
  14260. "summary": "查询品类要素定义项",
  14261. "parameters": [
  14262. {
  14263. "type": "integer",
  14264. "description": "品类id",
  14265. "name": "wrstandardid",
  14266. "in": "query",
  14267. "required": true
  14268. }
  14269. ],
  14270. "responses": {
  14271. "200": {
  14272. "description": "OK",
  14273. "schema": {
  14274. "type": "array",
  14275. "items": {
  14276. "$ref": "#/definitions/models.WrStandardFactoryItemEx"
  14277. }
  14278. }
  14279. },
  14280. "500": {
  14281. "description": "Internal Server Error",
  14282. "schema": {
  14283. "$ref": "#/definitions/app.Response"
  14284. }
  14285. }
  14286. }
  14287. }
  14288. },
  14289. "/WrTrade2/QueryWrTradeBargainApply": {
  14290. "get": {
  14291. "security": [
  14292. {
  14293. "ApiKeyAuth": []
  14294. }
  14295. ],
  14296. "description": "1.页面 挂单/议价单, 只需传单号就行 \u003cbr\u003e2.页面 议价-\u003e我的议价 参数 userid=登录userid \u003cbr\u003e3.页面 议价-\u003e对方议价 填写matchuserid=登录用户id",
  14297. "produces": [
  14298. "application/json"
  14299. ],
  14300. "tags": [
  14301. "仓单贸易v2"
  14302. ],
  14303. "summary": "查询议价单",
  14304. "parameters": [
  14305. {
  14306. "type": "integer",
  14307. "description": "议价人id(摘牌方)",
  14308. "name": "userid",
  14309. "in": "query"
  14310. },
  14311. {
  14312. "type": "integer",
  14313. "description": "挂牌方id(查对方议价时,填写此项)",
  14314. "name": "matchuserid",
  14315. "in": "query"
  14316. },
  14317. {
  14318. "type": "integer",
  14319. "description": "关联委托单id",
  14320. "name": "wrtradeorderid",
  14321. "in": "query"
  14322. },
  14323. {
  14324. "type": "integer",
  14325. "description": "0:仓单预售 1:仓单贸易",
  14326. "name": "haswr",
  14327. "in": "query",
  14328. "required": true
  14329. },
  14330. {
  14331. "type": "string",
  14332. "description": "开始交易日(yyyymmdd)",
  14333. "name": "begindate",
  14334. "in": "query"
  14335. },
  14336. {
  14337. "type": "string",
  14338. "description": "结束交易日(yyyymmdd)",
  14339. "name": "enddate",
  14340. "in": "query"
  14341. }
  14342. ],
  14343. "responses": {
  14344. "200": {
  14345. "description": "OK",
  14346. "schema": {
  14347. "type": "array",
  14348. "items": {
  14349. "$ref": "#/definitions/models.WRTradeBargainApply"
  14350. }
  14351. }
  14352. },
  14353. "500": {
  14354. "description": "Internal Server Error",
  14355. "schema": {
  14356. "$ref": "#/definitions/app.Response"
  14357. }
  14358. }
  14359. }
  14360. }
  14361. },
  14362. "/WrTrade2/QueryWrTradeDetail": {
  14363. "get": {
  14364. "security": [
  14365. {
  14366. "ApiKeyAuth": []
  14367. }
  14368. ],
  14369. "produces": [
  14370. "application/json"
  14371. ],
  14372. "tags": [
  14373. "仓单贸易v2"
  14374. ],
  14375. "summary": "查询仓单成交明细",
  14376. "parameters": [
  14377. {
  14378. "type": "integer",
  14379. "description": "页码",
  14380. "name": "page",
  14381. "in": "query"
  14382. },
  14383. {
  14384. "type": "integer",
  14385. "description": "每页条数",
  14386. "name": "pagesize",
  14387. "in": "query"
  14388. },
  14389. {
  14390. "type": "integer",
  14391. "description": "用户id",
  14392. "name": "userid",
  14393. "in": "query",
  14394. "required": true
  14395. },
  14396. {
  14397. "type": "integer",
  14398. "description": "仓单贸易市场id",
  14399. "name": "marketid",
  14400. "in": "query"
  14401. },
  14402. {
  14403. "type": "integer",
  14404. "description": "0:仓单预售 1:仓单贸易",
  14405. "name": "haswr",
  14406. "in": "query",
  14407. "required": true
  14408. },
  14409. {
  14410. "type": "string",
  14411. "description": "开始交易日(yyyymmdd)",
  14412. "name": "begindate",
  14413. "in": "query"
  14414. },
  14415. {
  14416. "type": "string",
  14417. "description": "结束交易日(yyyymmdd)",
  14418. "name": "enddate",
  14419. "in": "query"
  14420. }
  14421. ],
  14422. "responses": {
  14423. "200": {
  14424. "description": "OK",
  14425. "schema": {
  14426. "type": "array",
  14427. "items": {
  14428. "$ref": "#/definitions/models.WrTradeDetail"
  14429. }
  14430. }
  14431. },
  14432. "500": {
  14433. "description": "Internal Server Error",
  14434. "schema": {
  14435. "$ref": "#/definitions/app.Response"
  14436. }
  14437. }
  14438. }
  14439. }
  14440. },
  14441. "/WrTrade2/QueryWrTradeOrderDetail": {
  14442. "get": {
  14443. "security": [
  14444. {
  14445. "ApiKeyAuth": []
  14446. }
  14447. ],
  14448. "produces": [
  14449. "application/json"
  14450. ],
  14451. "tags": [
  14452. "仓单贸易v2"
  14453. ],
  14454. "summary": "查询合约交易买卖大厅",
  14455. "parameters": [
  14456. {
  14457. "type": "integer",
  14458. "description": "页码",
  14459. "name": "page",
  14460. "in": "query"
  14461. },
  14462. {
  14463. "type": "integer",
  14464. "description": "每页条数",
  14465. "name": "pagesize",
  14466. "in": "query"
  14467. },
  14468. {
  14469. "type": "integer",
  14470. "description": "商品id",
  14471. "name": "goodsid",
  14472. "in": "query",
  14473. "required": true
  14474. },
  14475. {
  14476. "type": "integer",
  14477. "description": "买卖方向 0-买 1-卖",
  14478. "name": "buyorsell",
  14479. "in": "query",
  14480. "required": true
  14481. }
  14482. ],
  14483. "responses": {
  14484. "200": {
  14485. "description": "OK",
  14486. "schema": {
  14487. "type": "array",
  14488. "items": {
  14489. "$ref": "#/definitions/models.WrTradeOrderDetail"
  14490. }
  14491. }
  14492. },
  14493. "500": {
  14494. "description": "Internal Server Error",
  14495. "schema": {
  14496. "$ref": "#/definitions/app.Response"
  14497. }
  14498. }
  14499. }
  14500. }
  14501. },
  14502. "/WrTrade2/QueryWrUserFriend": {
  14503. "get": {
  14504. "security": [
  14505. {
  14506. "ApiKeyAuth": []
  14507. }
  14508. ],
  14509. "produces": [
  14510. "application/json"
  14511. ],
  14512. "tags": [
  14513. "仓单贸易v2"
  14514. ],
  14515. "summary": "查询我的朋友",
  14516. "parameters": [
  14517. {
  14518. "type": "integer",
  14519. "description": "用户id",
  14520. "name": "userid",
  14521. "in": "query",
  14522. "required": true
  14523. },
  14524. {
  14525. "type": "integer",
  14526. "description": "新朋友userid, 如果填写了此项则查找新朋友",
  14527. "name": "newuserid",
  14528. "in": "query"
  14529. }
  14530. ],
  14531. "responses": {
  14532. "200": {
  14533. "description": "OK",
  14534. "schema": {
  14535. "type": "array",
  14536. "items": {
  14537. "$ref": "#/definitions/models.WrUserFriend"
  14538. }
  14539. }
  14540. },
  14541. "500": {
  14542. "description": "Internal Server Error",
  14543. "schema": {
  14544. "$ref": "#/definitions/app.Response"
  14545. }
  14546. }
  14547. }
  14548. }
  14549. },
  14550. "/WrTrade2/QueryWrUserReceiptInfo": {
  14551. "get": {
  14552. "security": [
  14553. {
  14554. "ApiKeyAuth": []
  14555. }
  14556. ],
  14557. "produces": [
  14558. "application/json"
  14559. ],
  14560. "tags": [
  14561. "仓单贸易v2"
  14562. ],
  14563. "summary": "查询发票信息",
  14564. "parameters": [
  14565. {
  14566. "type": "integer",
  14567. "description": "用户id",
  14568. "name": "userid",
  14569. "in": "query"
  14570. },
  14571. {
  14572. "type": "integer",
  14573. "description": "发票类型 - 1:个人 2:企业",
  14574. "name": "receipttype",
  14575. "in": "query"
  14576. }
  14577. ],
  14578. "responses": {
  14579. "200": {
  14580. "description": "OK",
  14581. "schema": {
  14582. "type": "array",
  14583. "items": {
  14584. "$ref": "#/definitions/models.WrUserReceiptInfo"
  14585. }
  14586. }
  14587. },
  14588. "500": {
  14589. "description": "Internal Server Error",
  14590. "schema": {
  14591. "$ref": "#/definitions/app.Response"
  14592. }
  14593. }
  14594. }
  14595. }
  14596. },
  14597. "/ZJ/GetBankTip": {
  14598. "get": {
  14599. "produces": [
  14600. "application/json"
  14601. ],
  14602. "tags": [
  14603. "中江"
  14604. ],
  14605. "summary": "获取中江网银端出入金提示信息",
  14606. "responses": {
  14607. "200": {
  14608. "description": "OK",
  14609. "schema": {
  14610. "type": "string"
  14611. }
  14612. },
  14613. "500": {
  14614. "description": "Internal Server Error",
  14615. "schema": {
  14616. "$ref": "#/definitions/app.Response"
  14617. }
  14618. }
  14619. }
  14620. }
  14621. },
  14622. "/ZJ/GetCusBankChannels": {
  14623. "get": {
  14624. "produces": [
  14625. "application/json"
  14626. ],
  14627. "tags": [
  14628. "中江"
  14629. ],
  14630. "summary": "获取中江出入金渠道显示列表",
  14631. "responses": {
  14632. "200": {
  14633. "description": "OK",
  14634. "schema": {
  14635. "type": "array",
  14636. "items": {
  14637. "type": "string"
  14638. }
  14639. }
  14640. },
  14641. "500": {
  14642. "description": "Internal Server Error",
  14643. "schema": {
  14644. "$ref": "#/definitions/app.Response"
  14645. }
  14646. }
  14647. }
  14648. }
  14649. }
  14650. },
  14651. "definitions": {
  14652. "app.Response": {
  14653. "type": "object",
  14654. "properties": {
  14655. "code": {
  14656. "type": "integer"
  14657. },
  14658. "data": {},
  14659. "msg": {
  14660. "type": "string"
  14661. },
  14662. "page": {
  14663. "description": "页码",
  14664. "type": "integer"
  14665. },
  14666. "pagesize": {
  14667. "description": "每页条数",
  14668. "type": "integer"
  14669. },
  14670. "total": {
  14671. "description": "总条数",
  14672. "type": "integer"
  14673. }
  14674. }
  14675. },
  14676. "common.ClientMenu": {
  14677. "type": "object",
  14678. "properties": {
  14679. "children": {
  14680. "description": "子菜单列表",
  14681. "type": "array",
  14682. "items": {
  14683. "$ref": "#/definitions/common.ClientMenu"
  14684. }
  14685. },
  14686. "code": {
  14687. "description": "ID",
  14688. "type": "string"
  14689. },
  14690. "isshow": {
  14691. "description": "是否显示",
  14692. "type": "boolean"
  14693. },
  14694. "remark": {
  14695. "description": "备注",
  14696. "type": "string"
  14697. },
  14698. "rulekey": {
  14699. "description": "对应权限主键,对应FUNCMENULIST表RESOURCECODE",
  14700. "type": "string"
  14701. },
  14702. "sort": {
  14703. "description": "排序",
  14704. "type": "integer"
  14705. },
  14706. "title": {
  14707. "description": "标题",
  14708. "type": "string"
  14709. },
  14710. "type": {
  14711. "description": "类型,1:菜单 2:按钮",
  14712. "type": "integer"
  14713. },
  14714. "url": {
  14715. "description": "URL",
  14716. "type": "string"
  14717. }
  14718. }
  14719. },
  14720. "common.PCWebMenu": {
  14721. "type": "object",
  14722. "properties": {
  14723. "auth": {
  14724. "description": "页面权限列表",
  14725. "type": "array",
  14726. "items": {
  14727. "$ref": "#/definitions/common.PCWebMenuAuth"
  14728. }
  14729. },
  14730. "children": {
  14731. "description": "子菜单列表",
  14732. "type": "array",
  14733. "items": {
  14734. "$ref": "#/definitions/common.PCWebMenu"
  14735. }
  14736. },
  14737. "code": {
  14738. "description": "ID,新版本中权限KEY也是这个字段",
  14739. "type": "string"
  14740. },
  14741. "component": {
  14742. "description": "路由组件",
  14743. "type": "string"
  14744. },
  14745. "isshow": {
  14746. "description": "是否显示",
  14747. "type": "boolean"
  14748. },
  14749. "path": {
  14750. "description": "路由路径",
  14751. "type": "string"
  14752. },
  14753. "remark": {
  14754. "description": "备注",
  14755. "type": "string"
  14756. },
  14757. "rulekey": {
  14758. "description": "权限主键,非空表示需要判断控制,非空值不可重复",
  14759. "type": "string"
  14760. },
  14761. "sort": {
  14762. "description": "排序",
  14763. "type": "integer"
  14764. },
  14765. "title": {
  14766. "description": "标题",
  14767. "type": "string"
  14768. },
  14769. "url": {
  14770. "description": "URL",
  14771. "type": "string"
  14772. }
  14773. }
  14774. },
  14775. "common.PCWebMenuAuth": {
  14776. "type": "object",
  14777. "properties": {
  14778. "code": {
  14779. "description": "ID,新版本中权限KEY也是这个字段",
  14780. "type": "string"
  14781. },
  14782. "isshow": {
  14783. "description": "是否显示",
  14784. "type": "boolean"
  14785. },
  14786. "label": {
  14787. "description": "标题",
  14788. "type": "string"
  14789. },
  14790. "remark": {
  14791. "description": "备注",
  14792. "type": "string"
  14793. },
  14794. "rulekey": {
  14795. "description": "权限主键,非空表示需要判断控制,非空值不可重复",
  14796. "type": "string"
  14797. }
  14798. }
  14799. },
  14800. "common.QueryImageConfigsRsp": {
  14801. "type": "object",
  14802. "required": [
  14803. "configid"
  14804. ],
  14805. "properties": {
  14806. "areauserid": {
  14807. "description": "所属机构ID",
  14808. "type": "integer"
  14809. },
  14810. "configid": {
  14811. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  14812. "type": "integer"
  14813. },
  14814. "createdate": {
  14815. "description": "创建时间",
  14816. "type": "string"
  14817. },
  14818. "creatorid": {
  14819. "description": "创建人",
  14820. "type": "integer"
  14821. },
  14822. "imagedetailpath": {
  14823. "description": "详情图片 [UrlType = 3时 有且必填,其它类型不需要]",
  14824. "type": "string"
  14825. },
  14826. "imagepath": {
  14827. "description": "图片",
  14828. "type": "string"
  14829. },
  14830. "imagetype": {
  14831. "description": "类型 - 1:首页轮播(移动) 2:我的(移动)",
  14832. "type": "integer"
  14833. },
  14834. "isshow": {
  14835. "description": "是否展示 - 0:不展示 1:展示",
  14836. "type": "integer"
  14837. },
  14838. "marketid": {
  14839. "description": "市场ID",
  14840. "type": "integer"
  14841. },
  14842. "modifierid": {
  14843. "description": "操作人",
  14844. "type": "integer"
  14845. },
  14846. "sort": {
  14847. "description": "排序",
  14848. "type": "integer"
  14849. },
  14850. "title": {
  14851. "description": "标题",
  14852. "type": "string"
  14853. },
  14854. "trademode": {
  14855. "description": "交易模式",
  14856. "type": "integer"
  14857. },
  14858. "updatedate": {
  14859. "description": "修改时间",
  14860. "type": "string"
  14861. },
  14862. "url": {
  14863. "description": "链接(地址或商品ID)",
  14864. "type": "string"
  14865. },
  14866. "urltype": {
  14867. "description": "链接类型 - 1:直接地址 2:商品ID",
  14868. "type": "integer"
  14869. }
  14870. }
  14871. },
  14872. "common.QueryNoticeRsp": {
  14873. "type": "object",
  14874. "required": [
  14875. "autoid"
  14876. ],
  14877. "properties": {
  14878. "auditoruserid": {
  14879. "description": "审核人",
  14880. "type": "integer"
  14881. },
  14882. "auditremark": {
  14883. "description": "审核备注",
  14884. "type": "string"
  14885. },
  14886. "audittime": {
  14887. "description": "审核日期",
  14888. "type": "string"
  14889. },
  14890. "autoid": {
  14891. "description": "自增ID",
  14892. "type": "integer"
  14893. },
  14894. "content": {
  14895. "description": "内容",
  14896. "type": "string"
  14897. },
  14898. "createtime": {
  14899. "description": "创建时间",
  14900. "type": "string"
  14901. },
  14902. "creatorid": {
  14903. "description": "建仓人",
  14904. "type": "integer"
  14905. },
  14906. "endtime": {
  14907. "description": "结束时间",
  14908. "type": "string"
  14909. },
  14910. "istop": {
  14911. "description": "是否置顶 - 0:不置顶 1:置顶",
  14912. "type": "integer"
  14913. },
  14914. "msgiconurl": {
  14915. "description": "消息图标Url",
  14916. "type": "string"
  14917. },
  14918. "msgtype": {
  14919. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  14920. "type": "integer"
  14921. },
  14922. "publisher": {
  14923. "description": "消息发布者",
  14924. "type": "string"
  14925. },
  14926. "readed": {
  14927. "description": "是否已读",
  14928. "type": "boolean"
  14929. },
  14930. "scheduletime": {
  14931. "description": "计划发送时间",
  14932. "type": "string"
  14933. },
  14934. "sendtype": {
  14935. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  14936. "type": "integer"
  14937. },
  14938. "sentstatus": {
  14939. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  14940. "type": "integer"
  14941. },
  14942. "title": {
  14943. "description": "标题",
  14944. "type": "string"
  14945. },
  14946. "userid": {
  14947. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  14948. "type": "integer"
  14949. }
  14950. }
  14951. },
  14952. "common.QueryProvincesAndCitiesRsp": {
  14953. "type": "object",
  14954. "properties": {
  14955. "cities": {
  14956. "description": "市",
  14957. "type": "array",
  14958. "items": {
  14959. "$ref": "#/definitions/models.Division"
  14960. }
  14961. },
  14962. "province": {
  14963. "description": "省",
  14964. "$ref": "#/definitions/models.Division"
  14965. }
  14966. }
  14967. },
  14968. "common.QueryTableDefineRsp": {
  14969. "type": "object",
  14970. "required": [
  14971. "tablekey"
  14972. ],
  14973. "properties": {
  14974. "columns": {
  14975. "description": "列头信息数组",
  14976. "type": "array",
  14977. "items": {
  14978. "$ref": "#/definitions/models.Tablecolumnconfig"
  14979. }
  14980. },
  14981. "remark": {
  14982. "description": "Remark",
  14983. "type": "string"
  14984. },
  14985. "tabelmenu": {
  14986. "description": "列表菜单",
  14987. "type": "string"
  14988. },
  14989. "tablekey": {
  14990. "description": "列表Key",
  14991. "type": "string"
  14992. },
  14993. "tablename": {
  14994. "description": "列表名称",
  14995. "type": "string"
  14996. },
  14997. "tabletype": {
  14998. "description": "列表类型 - 1:管理端 2:终端",
  14999. "type": "integer"
  15000. }
  15001. }
  15002. },
  15003. "common.QueryTraderMenuRsp": {
  15004. "type": "object",
  15005. "properties": {
  15006. "OperationMenu": {
  15007. "description": "功能菜单",
  15008. "type": "array",
  15009. "items": {
  15010. "$ref": "#/definitions/models.OperationPrimaryMenu"
  15011. }
  15012. },
  15013. "QuoteMenu": {
  15014. "description": "报价牌分类菜单",
  15015. "type": "array",
  15016. "items": {
  15017. "$ref": "#/definitions/models.QuotePrimaryMenu"
  15018. }
  15019. }
  15020. }
  15021. },
  15022. "cptrade.Cptradepositioncancel": {
  15023. "type": "object",
  15024. "required": [
  15025. "cancelid"
  15026. ],
  15027. "properties": {
  15028. "accountid": {
  15029. "description": "申请人账户ID",
  15030. "type": "integer"
  15031. },
  15032. "applystatus": {
  15033. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  15034. "type": "integer"
  15035. },
  15036. "applytime": {
  15037. "description": "申请时间",
  15038. "type": "string"
  15039. },
  15040. "cancelid": {
  15041. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  15042. "type": "integer"
  15043. },
  15044. "cancelqty": {
  15045. "description": "注销数量",
  15046. "type": "integer"
  15047. },
  15048. "createtime": {
  15049. "description": "创建时间",
  15050. "type": "string"
  15051. },
  15052. "creatorid": {
  15053. "description": "创建人ID",
  15054. "type": "integer"
  15055. },
  15056. "creatorname": {
  15057. "description": "创建人",
  15058. "type": "string"
  15059. },
  15060. "goodscode": {
  15061. "description": "订单商品代码",
  15062. "type": "string"
  15063. },
  15064. "goodsid": {
  15065. "description": "商品ID",
  15066. "type": "integer"
  15067. },
  15068. "goodsname": {
  15069. "description": "订单商品名称",
  15070. "type": "string"
  15071. },
  15072. "goodunit": {
  15073. "description": "报价单位",
  15074. "type": "string"
  15075. },
  15076. "handlestatus": {
  15077. "description": "处理状态",
  15078. "type": "integer"
  15079. },
  15080. "marketid": {
  15081. "description": "市场ID",
  15082. "type": "integer"
  15083. },
  15084. "marketname": {
  15085. "description": "市场名称",
  15086. "type": "string"
  15087. },
  15088. "tradedate": {
  15089. "description": "交易日(yyyyMMdd)",
  15090. "type": "string"
  15091. },
  15092. "userid": {
  15093. "description": "申请人ID",
  15094. "type": "integer"
  15095. }
  15096. }
  15097. },
  15098. "cptrade.Cptradepresaleapply": {
  15099. "type": "object",
  15100. "required": [
  15101. "applyid"
  15102. ],
  15103. "properties": {
  15104. "accountid": {
  15105. "description": "申请人账户ID",
  15106. "type": "integer"
  15107. },
  15108. "applyid": {
  15109. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  15110. "type": "integer"
  15111. },
  15112. "applyremark": {
  15113. "description": "申请备注",
  15114. "type": "string"
  15115. },
  15116. "applystatus": {
  15117. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  15118. "type": "integer"
  15119. },
  15120. "applytime": {
  15121. "description": "申请时间",
  15122. "type": "string"
  15123. },
  15124. "attachmenturl": {
  15125. "description": "附件地址",
  15126. "type": "string"
  15127. },
  15128. "endtime": {
  15129. "description": "预售结束时间",
  15130. "type": "string"
  15131. },
  15132. "goodscode": {
  15133. "description": "商品代码",
  15134. "type": "string"
  15135. },
  15136. "goodsid": {
  15137. "description": "商品ID",
  15138. "type": "integer"
  15139. },
  15140. "goodsname": {
  15141. "description": "商品名称",
  15142. "type": "string"
  15143. },
  15144. "goodunit": {
  15145. "description": "报价单位",
  15146. "type": "string"
  15147. },
  15148. "handlestatus": {
  15149. "description": "处理状态",
  15150. "type": "integer"
  15151. },
  15152. "marketid": {
  15153. "description": "预售市场ID",
  15154. "type": "integer"
  15155. },
  15156. "marketname": {
  15157. "description": "预售市场名称",
  15158. "type": "string"
  15159. },
  15160. "presaleqty": {
  15161. "description": "预售数量",
  15162. "type": "integer"
  15163. },
  15164. "relatedgoodscode": {
  15165. "description": "关联交易合约代码",
  15166. "type": "string"
  15167. },
  15168. "relatedgoodsid": {
  15169. "description": "关联交易合约ID",
  15170. "type": "integer"
  15171. },
  15172. "relatedgoodsname": {
  15173. "description": "关联交易合约名称",
  15174. "type": "string"
  15175. },
  15176. "starttime": {
  15177. "description": "预售开始时间",
  15178. "type": "string"
  15179. },
  15180. "tradedate": {
  15181. "description": "交易日(yyyyMMdd)",
  15182. "type": "string"
  15183. },
  15184. "trademode": {
  15185. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  15186. "type": "integer"
  15187. },
  15188. "userid": {
  15189. "description": "申请人ID",
  15190. "type": "integer"
  15191. }
  15192. }
  15193. },
  15194. "cptrade.Cptradeusergoodsdata": {
  15195. "type": "object",
  15196. "required": [
  15197. "accountid",
  15198. "goodsid"
  15199. ],
  15200. "properties": {
  15201. "EnabledQty": {
  15202. "description": "可用量",
  15203. "type": "integer"
  15204. },
  15205. "GoodsCode": {
  15206. "description": "订单商品代码",
  15207. "type": "string"
  15208. },
  15209. "GoodsName": {
  15210. "description": "订单商品名称",
  15211. "type": "string"
  15212. },
  15213. "WRStandardCode": {
  15214. "description": "仓单标准代码",
  15215. "type": "string"
  15216. },
  15217. "WRStandardName": {
  15218. "description": "仓单标准名称",
  15219. "type": "string"
  15220. },
  15221. "accountid": {
  15222. "description": "账户ID",
  15223. "type": "integer"
  15224. },
  15225. "cancelqty": {
  15226. "description": "注销量",
  15227. "type": "integer"
  15228. },
  15229. "curpresaleqty": {
  15230. "description": "当前预售量",
  15231. "type": "integer"
  15232. },
  15233. "deliveryqty": {
  15234. "description": "交割量",
  15235. "type": "integer"
  15236. },
  15237. "freezeamount": {
  15238. "description": "冻结金额",
  15239. "type": "number"
  15240. },
  15241. "goodsid": {
  15242. "description": "商品ID",
  15243. "type": "integer"
  15244. },
  15245. "goodunit": {
  15246. "description": "报价单位",
  15247. "type": "string"
  15248. },
  15249. "hasspotfreeze": {
  15250. "description": "是否有现货冻结 - 0:否 1:有",
  15251. "type": "integer"
  15252. },
  15253. "inqty": {
  15254. "description": "转入量(总数量)",
  15255. "type": "integer"
  15256. },
  15257. "marketid": {
  15258. "description": "市场ID",
  15259. "type": "integer"
  15260. },
  15261. "presaledamount": {
  15262. "description": "已预售总金额",
  15263. "type": "integer"
  15264. },
  15265. "presaledqty": {
  15266. "description": "已预售量",
  15267. "type": "integer"
  15268. },
  15269. "userid": {
  15270. "description": "用户ID",
  15271. "type": "integer"
  15272. },
  15273. "wrstandardid": {
  15274. "description": "仓单标准ID",
  15275. "type": "integer"
  15276. }
  15277. }
  15278. },
  15279. "cptrade.QueryCPTradeMyBidRsp": {
  15280. "type": "object",
  15281. "required": [
  15282. "accountid",
  15283. "goodsid",
  15284. "marketid",
  15285. "orderid",
  15286. "orderqty",
  15287. "ordertime",
  15288. "tradeprice",
  15289. "tradeqty"
  15290. ],
  15291. "properties": {
  15292. "accountid": {
  15293. "description": "账户ID[报价币种]",
  15294. "type": "integer"
  15295. },
  15296. "goodsid": {
  15297. "description": "商品ID",
  15298. "type": "integer"
  15299. },
  15300. "goodunit": {
  15301. "description": "报价单位",
  15302. "type": "string"
  15303. },
  15304. "marketid": {
  15305. "description": "市场ID",
  15306. "type": "integer"
  15307. },
  15308. "orderid": {
  15309. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  15310. "type": "integer"
  15311. },
  15312. "orderprice": {
  15313. "description": "委托价格",
  15314. "type": "number"
  15315. },
  15316. "orderqty": {
  15317. "description": "委托数量",
  15318. "type": "integer"
  15319. },
  15320. "ordertime": {
  15321. "description": "委托时间",
  15322. "type": "string"
  15323. },
  15324. "ordertotalprice": {
  15325. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  15326. "type": "number"
  15327. },
  15328. "ordertotalweight": {
  15329. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  15330. "type": "integer"
  15331. },
  15332. "totaltotalprice": {
  15333. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  15334. "type": "number"
  15335. },
  15336. "tradeprice": {
  15337. "description": "成交价格",
  15338. "type": "number"
  15339. },
  15340. "tradeqty": {
  15341. "description": "成交数量",
  15342. "type": "integer"
  15343. }
  15344. }
  15345. },
  15346. "cptrade.QueryCPTradeOrderDetailRsq": {
  15347. "type": "object",
  15348. "required": [
  15349. "accountid",
  15350. "buildtype",
  15351. "buyorsell",
  15352. "goodsid",
  15353. "marketid",
  15354. "memberuserid",
  15355. "operatetype",
  15356. "orderqty",
  15357. "ordertime",
  15358. "pricemode",
  15359. "strorderid",
  15360. "tradedate",
  15361. "validtype"
  15362. ],
  15363. "properties": {
  15364. "accountid": {
  15365. "description": "账户ID[报价币种]",
  15366. "type": "integer"
  15367. },
  15368. "buildtype": {
  15369. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  15370. "type": "integer"
  15371. },
  15372. "buyorsell": {
  15373. "description": "买卖 - 0:买 1:卖",
  15374. "type": "integer"
  15375. },
  15376. "cancelorderid": {
  15377. "description": "撤单单号(撤单时填写)",
  15378. "type": "integer"
  15379. },
  15380. "cancelqty": {
  15381. "description": "撤单数量",
  15382. "type": "integer"
  15383. },
  15384. "clientordertime": {
  15385. "description": "客户端委托时间",
  15386. "type": "string"
  15387. },
  15388. "clientticket": {
  15389. "description": "客户端流水号",
  15390. "type": "string"
  15391. },
  15392. "clienttype": {
  15393. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  15394. "type": "integer"
  15395. },
  15396. "closeexchagechargevalue": {
  15397. "description": "平仓交易所手续费设置值",
  15398. "type": "number"
  15399. },
  15400. "closefeealgorithm": {
  15401. "description": "平仓手续费收取方式 1:比率 2:固定",
  15402. "type": "integer"
  15403. },
  15404. "closefreezecharge": {
  15405. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  15406. "type": "number"
  15407. },
  15408. "closememberchargevalue": {
  15409. "description": "平仓会员手续费设置值",
  15410. "type": "number"
  15411. },
  15412. "closeqty": {
  15413. "description": "平仓数量(先建后平操作 需要记录)",
  15414. "type": "integer"
  15415. },
  15416. "closetradeqty": {
  15417. "description": "平仓成交数量(先建后平操作,需要记录)",
  15418. "type": "integer"
  15419. },
  15420. "closeunfreezecharge": {
  15421. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  15422. "type": "number"
  15423. },
  15424. "delistingtype": {
  15425. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  15426. "type": "integer"
  15427. },
  15428. "freezecharge": {
  15429. "description": "冻结手续费",
  15430. "type": "number"
  15431. },
  15432. "freezemargin": {
  15433. "description": "冻结保证金(冻结交易金额)",
  15434. "type": "number"
  15435. },
  15436. "gcaccountid": {
  15437. "description": "账户ID[合约币种]",
  15438. "type": "integer"
  15439. },
  15440. "goodsid": {
  15441. "description": "商品ID",
  15442. "type": "integer"
  15443. },
  15444. "isconfirmexercise": {
  15445. "description": "是否确认行权- 0:否 1:是",
  15446. "type": "integer"
  15447. },
  15448. "ispreexercise": {
  15449. "description": "是否预申报- 0:否 1:是",
  15450. "type": "integer"
  15451. },
  15452. "listingselecttype": {
  15453. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  15454. "type": "integer"
  15455. },
  15456. "marginalgorithm": {
  15457. "description": "保证金收取方式 1:比率 2:固定",
  15458. "type": "integer"
  15459. },
  15460. "marginvalue": {
  15461. "description": "即市保证金设置值",
  15462. "type": "number"
  15463. },
  15464. "marketid": {
  15465. "description": "市场ID",
  15466. "type": "integer"
  15467. },
  15468. "marketmaxsub": {
  15469. "description": "市价最大偏移范围",
  15470. "type": "number"
  15471. },
  15472. "memberuserid": {
  15473. "description": "所属会员UserID",
  15474. "type": "integer"
  15475. },
  15476. "openexchagechargevalue": {
  15477. "description": "建仓交易所手续费设置值",
  15478. "type": "number"
  15479. },
  15480. "openfeealgorithm": {
  15481. "description": "建仓手续费收取方式 1:比率 2:固定",
  15482. "type": "integer"
  15483. },
  15484. "openfreezecharge": {
  15485. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  15486. "type": "number"
  15487. },
  15488. "openmemberchargevalue": {
  15489. "description": "建仓会员手续费设置值",
  15490. "type": "number"
  15491. },
  15492. "openqty": {
  15493. "description": "开仓数量(先建后平操作,需要记录)",
  15494. "type": "integer"
  15495. },
  15496. "opentradeqty": {
  15497. "description": "开仓成交数量(先建后平操作,需要记录)",
  15498. "type": "integer"
  15499. },
  15500. "openunfreezecharge": {
  15501. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  15502. "type": "number"
  15503. },
  15504. "operatetype": {
  15505. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  15506. "type": "integer"
  15507. },
  15508. "operatorid": {
  15509. "description": "登录账号(LoginID)",
  15510. "type": "integer"
  15511. },
  15512. "optiontype": {
  15513. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  15514. "type": "integer"
  15515. },
  15516. "orderprice": {
  15517. "description": "委托价格",
  15518. "type": "number"
  15519. },
  15520. "orderqty": {
  15521. "description": "委托数量",
  15522. "type": "integer"
  15523. },
  15524. "ordersrc": {
  15525. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  15526. "type": "integer"
  15527. },
  15528. "orderstatus": {
  15529. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  15530. "type": "integer"
  15531. },
  15532. "ordertime": {
  15533. "description": "委托时间",
  15534. "type": "string"
  15535. },
  15536. "preexerciseprice": {
  15537. "description": "预申报价格",
  15538. "type": "number"
  15539. },
  15540. "premium": {
  15541. "description": "权利金",
  15542. "type": "number"
  15543. },
  15544. "preorderid": {
  15545. "description": "关联预埋单号(止盈止损单时填写)",
  15546. "type": "integer"
  15547. },
  15548. "pricemode": {
  15549. "description": "取价方式 - 1:市价 2: 限价",
  15550. "type": "integer"
  15551. },
  15552. "quoteid": {
  15553. "description": "报价单ID",
  15554. "type": "integer"
  15555. },
  15556. "relatedid": {
  15557. "description": "关联单号(交割单)",
  15558. "type": "integer"
  15559. },
  15560. "retcode": {
  15561. "description": "错误代码",
  15562. "type": "integer"
  15563. },
  15564. "sessionid": {
  15565. "description": "会话ID",
  15566. "type": "integer"
  15567. },
  15568. "strorderid": {
  15569. "description": "委托单号",
  15570. "type": "string"
  15571. },
  15572. "tradedate": {
  15573. "description": "交易日(yyyyMMdd)",
  15574. "type": "string"
  15575. },
  15576. "tradeproperty": {
  15577. "description": "交易属性",
  15578. "type": "integer"
  15579. },
  15580. "tradeqty": {
  15581. "description": "成交数量",
  15582. "type": "integer"
  15583. },
  15584. "unfreezecharge": {
  15585. "description": "解冻手续费",
  15586. "type": "number"
  15587. },
  15588. "unfreezemargin": {
  15589. "description": "解冻保证金",
  15590. "type": "number"
  15591. },
  15592. "updatetime": {
  15593. "description": "更新时间",
  15594. "type": "string"
  15595. },
  15596. "uuid": {
  15597. "description": "发起端唯一id",
  15598. "type": "string"
  15599. },
  15600. "validtime": {
  15601. "description": "有效期限",
  15602. "type": "string"
  15603. },
  15604. "validtype": {
  15605. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  15606. "type": "integer"
  15607. },
  15608. "volumetype": {
  15609. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  15610. "type": "integer"
  15611. }
  15612. }
  15613. },
  15614. "cptrade.QueryMyCPTradeGoodsRsp": {
  15615. "type": "object",
  15616. "required": [
  15617. "goodscode",
  15618. "goodsid",
  15619. "goodsname",
  15620. "marketid",
  15621. "relatedgoodscode",
  15622. "relatedgoodsname"
  15623. ],
  15624. "properties": {
  15625. "accountid": {
  15626. "description": "卖方账户ID",
  15627. "type": "integer"
  15628. },
  15629. "agreeunit": {
  15630. "description": "合约单位",
  15631. "type": "number"
  15632. },
  15633. "applyid": {
  15634. "description": "关联申请ID",
  15635. "type": "integer"
  15636. },
  15637. "attachmenturl": {
  15638. "description": "附件地址",
  15639. "type": "string"
  15640. },
  15641. "createtime": {
  15642. "description": "创建时间",
  15643. "type": "string"
  15644. },
  15645. "currencyid": {
  15646. "description": "报价货币ID",
  15647. "type": "integer"
  15648. },
  15649. "decimalplace": {
  15650. "description": "报价小数位",
  15651. "type": "integer"
  15652. },
  15653. "endtime": {
  15654. "description": "预售结束时间",
  15655. "type": "string"
  15656. },
  15657. "floorprice": {
  15658. "description": "底价[大宗式竞拍]",
  15659. "type": "number"
  15660. },
  15661. "goodscode": {
  15662. "description": "商品代码(预售)",
  15663. "type": "string"
  15664. },
  15665. "goodsdetail": {
  15666. "description": "详情[大宗]",
  15667. "type": "string"
  15668. },
  15669. "goodsid": {
  15670. "description": "商品ID(自增ID SEQ_GOODS)",
  15671. "type": "integer"
  15672. },
  15673. "goodsname": {
  15674. "description": "商品名称(预售)",
  15675. "type": "string"
  15676. },
  15677. "goodunit": {
  15678. "description": "报价单位",
  15679. "type": "string"
  15680. },
  15681. "goodunitid": {
  15682. "description": "报价单位ID",
  15683. "type": "integer"
  15684. },
  15685. "marketid": {
  15686. "description": "所属市场ID",
  15687. "type": "integer"
  15688. },
  15689. "marketname": {
  15690. "description": "预售市场名称",
  15691. "type": "string"
  15692. },
  15693. "presaledamount": {
  15694. "description": "已预售总金额(预售结束时更新)",
  15695. "type": "number"
  15696. },
  15697. "presaledqty": {
  15698. "description": "已预售量(预售结束时更新)",
  15699. "type": "integer"
  15700. },
  15701. "presalemode": {
  15702. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  15703. "type": "integer"
  15704. },
  15705. "presaleqty": {
  15706. "description": "预售数量",
  15707. "type": "integer"
  15708. },
  15709. "refprice": {
  15710. "description": "参考价格[一口价]",
  15711. "type": "number"
  15712. },
  15713. "relatedgoodscode": {
  15714. "description": "商品代码(订单)",
  15715. "type": "string"
  15716. },
  15717. "relatedgoodsid": {
  15718. "description": "关联交易合约ID",
  15719. "type": "integer"
  15720. },
  15721. "relatedgoodsname": {
  15722. "description": "商品名称(订单)",
  15723. "type": "string"
  15724. },
  15725. "relatedmarketid": {
  15726. "description": "关联交易合约市场ID",
  15727. "type": "integer"
  15728. },
  15729. "sellstatus": {
  15730. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  15731. "type": "integer"
  15732. },
  15733. "startprice": {
  15734. "description": "起拍价[大宗式竞拍]",
  15735. "type": "number"
  15736. },
  15737. "starttime": {
  15738. "description": "预售开始时间",
  15739. "type": "string"
  15740. },
  15741. "tradedate": {
  15742. "description": "交易日(yyyyMMdd)",
  15743. "type": "string"
  15744. },
  15745. "tradeprice": {
  15746. "description": "成交价[大宗]",
  15747. "type": "number"
  15748. },
  15749. "userid": {
  15750. "description": "卖方用户ID",
  15751. "type": "integer"
  15752. }
  15753. }
  15754. },
  15755. "cptrade.QueryPresaleGoodsExRsp": {
  15756. "type": "object",
  15757. "required": [
  15758. "goodsid"
  15759. ],
  15760. "properties": {
  15761. "attachmenturl": {
  15762. "description": "附件地址",
  15763. "type": "string"
  15764. },
  15765. "createtime": {
  15766. "description": "创建时间",
  15767. "type": "string"
  15768. },
  15769. "endtime": {
  15770. "description": "预售结束时间",
  15771. "type": "string"
  15772. },
  15773. "floorprice": {
  15774. "description": "底价[大宗式竞拍]",
  15775. "type": "number"
  15776. },
  15777. "goodsdetail": {
  15778. "description": "详情[大宗]",
  15779. "type": "string"
  15780. },
  15781. "goodsid": {
  15782. "description": "商品ID(预售)",
  15783. "type": "integer"
  15784. },
  15785. "goodunit": {
  15786. "description": "报价单位",
  15787. "type": "string"
  15788. },
  15789. "marketid": {
  15790. "description": "预售市场ID - 根据预售模式选择市场",
  15791. "type": "integer"
  15792. },
  15793. "presaledamount": {
  15794. "description": "已预售总金额(预售结束时更新)",
  15795. "type": "number"
  15796. },
  15797. "presaledqty": {
  15798. "description": "已预售量(预售结束时更新)",
  15799. "type": "integer"
  15800. },
  15801. "presalemode": {
  15802. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  15803. "type": "integer"
  15804. },
  15805. "presaleqty": {
  15806. "description": "预售数量",
  15807. "type": "integer"
  15808. },
  15809. "refprice": {
  15810. "description": "参考价格[一口价]",
  15811. "type": "number"
  15812. },
  15813. "relatedgoodsid": {
  15814. "description": "关联交易合约ID",
  15815. "type": "integer"
  15816. },
  15817. "relatedmarketid": {
  15818. "description": "关联交易合约市场ID",
  15819. "type": "integer"
  15820. },
  15821. "sellstatus": {
  15822. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  15823. "type": "integer"
  15824. },
  15825. "startprice": {
  15826. "description": "起拍价[大宗式竞拍]",
  15827. "type": "number"
  15828. },
  15829. "starttime": {
  15830. "description": "预售开始时间",
  15831. "type": "string"
  15832. },
  15833. "tradedate": {
  15834. "description": "交易日(yyyyMMdd)",
  15835. "type": "string"
  15836. },
  15837. "tradeprice": {
  15838. "description": "成交价[大宗]",
  15839. "type": "number"
  15840. }
  15841. }
  15842. },
  15843. "delivery.QueryDeliveryRelationRsp": {
  15844. "type": "object",
  15845. "required": [
  15846. "begindate",
  15847. "enddate",
  15848. "goodsid",
  15849. "mindeliveryqty",
  15850. "xdeliveryratio"
  15851. ],
  15852. "properties": {
  15853. "begindate": {
  15854. "description": "起始日期(yyyyMMdd)",
  15855. "type": "string"
  15856. },
  15857. "buytemplateid": {
  15858. "description": "买履约计划模板ID",
  15859. "type": "integer"
  15860. },
  15861. "deliverygoodscode": {
  15862. "description": "品种代码",
  15863. "type": "string"
  15864. },
  15865. "deliverygoodsid": {
  15866. "description": "交割商品",
  15867. "type": "integer"
  15868. },
  15869. "deliverygoodsname": {
  15870. "description": "品种名称",
  15871. "type": "string"
  15872. },
  15873. "deliverymode": {
  15874. "description": "交割方式 - 1:点选式 2:申报式",
  15875. "type": "integer"
  15876. },
  15877. "deliverypricerule": {
  15878. "description": "交割价规则- 1:行情价 2:建仓价",
  15879. "type": "integer"
  15880. },
  15881. "deliverytype": {
  15882. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  15883. "type": "integer"
  15884. },
  15885. "enddate": {
  15886. "description": "结束日期(yyyyMMdd)",
  15887. "type": "string"
  15888. },
  15889. "enumdicname": {
  15890. "description": "品类单位名称",
  15891. "type": "string"
  15892. },
  15893. "goodscode": {
  15894. "description": "商品代码",
  15895. "type": "string"
  15896. },
  15897. "goodsid": {
  15898. "description": "交易合约ID",
  15899. "type": "integer"
  15900. },
  15901. "goodsname": {
  15902. "description": "商品名称",
  15903. "type": "string"
  15904. },
  15905. "marketid": {
  15906. "description": "市场ID",
  15907. "type": "integer"
  15908. },
  15909. "mindeliveryqty": {
  15910. "description": "最小交割系数(K)",
  15911. "type": "integer"
  15912. },
  15913. "p2deliveryprice": {
  15914. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  15915. "type": "number"
  15916. },
  15917. "p2deliveryratio": {
  15918. "description": "P2合约系数(p)",
  15919. "type": "integer"
  15920. },
  15921. "p2goodsid": {
  15922. "description": "P2合约ID",
  15923. "type": "integer"
  15924. },
  15925. "p2pricemode": {
  15926. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  15927. "type": "integer"
  15928. },
  15929. "pdeliveryprice": {
  15930. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  15931. "type": "number"
  15932. },
  15933. "pdeliveryratio": {
  15934. "description": "P合约系数(n)",
  15935. "type": "integer"
  15936. },
  15937. "pgoodscode": {
  15938. "description": "p合约代码",
  15939. "type": "string"
  15940. },
  15941. "pgoodsid": {
  15942. "description": "P合约ID",
  15943. "type": "integer"
  15944. },
  15945. "ppricemode": {
  15946. "description": "P合约价格方式 - 1:商品价 2:固定值",
  15947. "type": "integer"
  15948. },
  15949. "rratio": {
  15950. "description": "兑换系数(R)",
  15951. "type": "integer"
  15952. },
  15953. "rratio1": {
  15954. "description": "兑换系数(交易合约)(R1)",
  15955. "type": "integer"
  15956. },
  15957. "rratio2": {
  15958. "description": "兑换系数(仓单标准)(R2)",
  15959. "type": "integer"
  15960. },
  15961. "selltemplateid": {
  15962. "description": "卖履约计划模板ID",
  15963. "type": "integer"
  15964. },
  15965. "wrstandardid": {
  15966. "description": "仓单标准ID",
  15967. "type": "integer"
  15968. },
  15969. "xdeliveryratio": {
  15970. "description": "交易合约系数(m)",
  15971. "type": "integer"
  15972. }
  15973. }
  15974. },
  15975. "ermcp.ExposureDetailRsp": {
  15976. "type": "object",
  15977. "properties": {
  15978. "areauserid": {
  15979. "description": "机构ID",
  15980. "type": "integer"
  15981. },
  15982. "changeQty": {
  15983. "description": "套保变动量",
  15984. "type": "number"
  15985. },
  15986. "contracttype": {
  15987. "description": "现货合同类型 - 1:采购 -1:销售",
  15988. "type": "integer"
  15989. },
  15990. "convertfactor": {
  15991. "description": "标仓系数",
  15992. "type": "number"
  15993. },
  15994. "convertratio": {
  15995. "description": "套保系数",
  15996. "type": "number"
  15997. },
  15998. "createtime": {
  15999. "description": "时间",
  16000. "type": "string"
  16001. },
  16002. "enumdicname": {
  16003. "description": "现货商品单位名称",
  16004. "type": "string"
  16005. },
  16006. "logtype": {
  16007. "description": "类型 - 1:套保计划 2:现货合同",
  16008. "type": "integer"
  16009. },
  16010. "middlegoodsId": {
  16011. "description": "套保商品id",
  16012. "type": "integer"
  16013. },
  16014. "middlegoodscode": {
  16015. "description": "套保商品代码",
  16016. "type": "string"
  16017. },
  16018. "middlegoodsname": {
  16019. "description": "套保商品名称",
  16020. "type": "string"
  16021. },
  16022. "qty": {
  16023. "description": "数量",
  16024. "type": "number"
  16025. },
  16026. "relateNo": {
  16027. "description": "现货合同/套保计划编号",
  16028. "type": "string"
  16029. },
  16030. "wrstandardcode": {
  16031. "description": "现货商品代码",
  16032. "type": "string"
  16033. },
  16034. "wrstandardid": {
  16035. "description": "现货商品ID",
  16036. "type": "integer"
  16037. },
  16038. "wrstandardname": {
  16039. "description": "现货商品名称",
  16040. "type": "string"
  16041. }
  16042. }
  16043. },
  16044. "ermcp.ExposureHedgePosDetailRsp": {
  16045. "type": "object",
  16046. "properties": {
  16047. "buyorsell": {
  16048. "description": "买卖方向 0-买 1-卖",
  16049. "type": "integer"
  16050. },
  16051. "channelbuildtype": {
  16052. "description": "开平方向 1-建仓 2-平仓",
  16053. "type": "integer"
  16054. },
  16055. "goodscode": {
  16056. "description": "商品代码",
  16057. "type": "string"
  16058. },
  16059. "goodsname": {
  16060. "description": "商品名称",
  16061. "type": "string"
  16062. },
  16063. "hedgegoodsid": {
  16064. "description": "商品id",
  16065. "type": "integer"
  16066. },
  16067. "tradeqty": {
  16068. "description": "数量(成交数量)",
  16069. "type": "integer"
  16070. },
  16071. "tradetime": {
  16072. "description": "时间(成交时间)",
  16073. "type": "string"
  16074. }
  16075. }
  16076. },
  16077. "ermcp.ExposureHedgePositionRsp": {
  16078. "type": "object",
  16079. "properties": {
  16080. "accountid": {
  16081. "description": "资金账号[外部母账户]",
  16082. "type": "integer"
  16083. },
  16084. "curbuyposition": {
  16085. "description": "期末买头寸",
  16086. "type": "integer"
  16087. },
  16088. "cursellposition": {
  16089. "description": "期末卖头寸",
  16090. "type": "integer"
  16091. },
  16092. "curtdbuyposition": {
  16093. "description": "期末今日买头寸",
  16094. "type": "integer"
  16095. },
  16096. "curtdsellposition": {
  16097. "description": "期末今日卖头寸",
  16098. "type": "integer"
  16099. },
  16100. "curydbuyposition": {
  16101. "description": "期末上日买头寸",
  16102. "type": "integer"
  16103. },
  16104. "curydsellposition": {
  16105. "description": "期末上日卖头寸",
  16106. "type": "integer"
  16107. },
  16108. "decreaseqty": {
  16109. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  16110. "type": "integer"
  16111. },
  16112. "fretdbuyposition": {
  16113. "description": "冻结今日买头寸",
  16114. "type": "integer"
  16115. },
  16116. "fretdsellposition": {
  16117. "description": "冻结今日卖头寸",
  16118. "type": "integer"
  16119. },
  16120. "freydbuyposition": {
  16121. "description": "冻结上日买头寸",
  16122. "type": "integer"
  16123. },
  16124. "freydsellposition": {
  16125. "description": "冻结上日卖头寸",
  16126. "type": "integer"
  16127. },
  16128. "goodscode": {
  16129. "description": "商品代码",
  16130. "type": "string"
  16131. },
  16132. "goodsid": {
  16133. "description": "商品id",
  16134. "type": "integer"
  16135. },
  16136. "goodsname": {
  16137. "description": "商品名称",
  16138. "type": "string"
  16139. },
  16140. "hedgeaccountcode": {
  16141. "description": "对冲账号",
  16142. "type": "string"
  16143. },
  16144. "hedgegoodsid": {
  16145. "description": "对冲合约ID",
  16146. "type": "integer"
  16147. },
  16148. "increaseqty": {
  16149. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  16150. "type": "integer"
  16151. },
  16152. "marketid": {
  16153. "description": "市场ID",
  16154. "type": "integer"
  16155. },
  16156. "relateduserid": {
  16157. "description": "关联用户id",
  16158. "type": "integer"
  16159. },
  16160. "totalcurqty": {
  16161. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  16162. "type": "integer"
  16163. },
  16164. "totalydqty": {
  16165. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  16166. "type": "integer"
  16167. },
  16168. "tradedate": {
  16169. "description": "交易日(yyyyMMdd)",
  16170. "type": "string"
  16171. },
  16172. "ydbuyposition": {
  16173. "description": "期初买头寸",
  16174. "type": "integer"
  16175. },
  16176. "ydsellposition": {
  16177. "description": "期初卖头寸",
  16178. "type": "integer"
  16179. }
  16180. }
  16181. },
  16182. "ermcp.ExposureSpotDetailRsp": {
  16183. "type": "object",
  16184. "properties": {
  16185. "contracttype": {
  16186. "description": "合同类型 1-采购 -1-销售",
  16187. "type": "integer"
  16188. },
  16189. "createtime": {
  16190. "description": "创建时间",
  16191. "type": "string"
  16192. },
  16193. "enumdicname": {
  16194. "description": "现货商品单位名称",
  16195. "type": "string"
  16196. },
  16197. "logtype": {
  16198. "description": "记录类型 1-套保 2-现货合同",
  16199. "type": "integer"
  16200. },
  16201. "qty": {
  16202. "description": "数量",
  16203. "type": "number"
  16204. },
  16205. "recordname": {
  16206. "description": "类型名称",
  16207. "type": "string"
  16208. },
  16209. "relatedid": {
  16210. "description": "套保计划ID/现货合同ID",
  16211. "type": "string"
  16212. },
  16213. "relatedno": {
  16214. "description": "编号",
  16215. "type": "string"
  16216. },
  16217. "strtime": {
  16218. "description": "时间",
  16219. "type": "string"
  16220. },
  16221. "wrstandardcode": {
  16222. "description": "现货商品代码",
  16223. "type": "string"
  16224. },
  16225. "wrstandardname": {
  16226. "description": "现货商品名称",
  16227. "type": "string"
  16228. }
  16229. }
  16230. },
  16231. "ermcp.ExposureSpotRsp": {
  16232. "type": "object",
  16233. "properties": {
  16234. "areauserid": {
  16235. "description": "所属机构",
  16236. "type": "integer"
  16237. },
  16238. "decreaseqty": {
  16239. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  16240. "type": "number"
  16241. },
  16242. "increaseqty": {
  16243. "description": "增加数量=销售计划数量+采购已定价数量",
  16244. "type": "number"
  16245. },
  16246. "oritoalspotqty": {
  16247. "description": "昨日数量",
  16248. "type": "number"
  16249. },
  16250. "totalspotqty": {
  16251. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  16252. "type": "number"
  16253. },
  16254. "updatetime": {
  16255. "description": "更新时间",
  16256. "type": "string"
  16257. },
  16258. "wrstandardcode": {
  16259. "description": "现货品种代码",
  16260. "type": "string"
  16261. },
  16262. "wrstandardid": {
  16263. "description": "现货商品ID",
  16264. "type": "integer"
  16265. },
  16266. "wrstandardname": {
  16267. "description": "现货品种",
  16268. "type": "string"
  16269. }
  16270. }
  16271. },
  16272. "ermcp.HisExposureRsp": {
  16273. "type": "object",
  16274. "properties": {
  16275. "data": {
  16276. "description": "历史敞口",
  16277. "type": "array",
  16278. "items": {
  16279. "$ref": "#/definitions/models.ErmcpHisExposure"
  16280. }
  16281. },
  16282. "enumdicname": {
  16283. "description": "单位名称",
  16284. "type": "string"
  16285. },
  16286. "middlegoodscode": {
  16287. "description": "套保品种代码",
  16288. "type": "string"
  16289. },
  16290. "middlegoodsid": {
  16291. "description": "套保品种ID",
  16292. "type": "integer"
  16293. },
  16294. "middlegoodsname": {
  16295. "description": "套保品种名称",
  16296. "type": "string"
  16297. }
  16298. }
  16299. },
  16300. "ermcp.PendingAuditCntRsp": {
  16301. "type": "object",
  16302. "properties": {
  16303. "areastockqty": {
  16304. "description": "待审核数量: 库存申请",
  16305. "type": "integer"
  16306. },
  16307. "businessdjqty": {
  16308. "description": "待审核数量: 点价",
  16309. "type": "integer"
  16310. },
  16311. "businessfpqty": {
  16312. "description": "待审核数量: 发票",
  16313. "type": "integer"
  16314. },
  16315. "businessjsqty": {
  16316. "description": "待审核数量: 结算",
  16317. "type": "integer"
  16318. },
  16319. "businesskxqty": {
  16320. "description": "待审核数量: 款项",
  16321. "type": "integer"
  16322. },
  16323. "hedgeplanqty": {
  16324. "description": "待审核数量: 套保计划",
  16325. "type": "integer"
  16326. },
  16327. "spotcontractqty": {
  16328. "description": "待审核数量: 现货合同",
  16329. "type": "integer"
  16330. },
  16331. "userqty": {
  16332. "description": "待审核数量: 用户",
  16333. "type": "integer"
  16334. }
  16335. }
  16336. },
  16337. "ermcp.QryAvalidGPRsp": {
  16338. "type": "object",
  16339. "properties": {
  16340. "goodsgroupid": {
  16341. "description": "期货品种id",
  16342. "type": "integer"
  16343. },
  16344. "goodsgroupname": {
  16345. "description": "期货品种名称",
  16346. "type": "string"
  16347. },
  16348. "goodunitid": {
  16349. "description": "品种单位id",
  16350. "type": "integer"
  16351. },
  16352. "goodunitname": {
  16353. "description": "品种单位名称",
  16354. "type": "string"
  16355. },
  16356. "outergroupcode": {
  16357. "description": "期货品种代码",
  16358. "type": "string"
  16359. }
  16360. }
  16361. },
  16362. "ermcp.QryBusinessDjRsp": {
  16363. "type": "object",
  16364. "properties": {
  16365. "amount": {
  16366. "description": "点价金额=(点价价格+升贴水)*点价数量",
  16367. "type": "number"
  16368. },
  16369. "applyid": {
  16370. "description": "申请人",
  16371. "type": "string"
  16372. },
  16373. "applyname": {
  16374. "description": "申请人名称",
  16375. "type": "string"
  16376. },
  16377. "applystatus": {
  16378. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  16379. "type": "integer"
  16380. },
  16381. "applytime": {
  16382. "description": "申请时间",
  16383. "type": "string"
  16384. },
  16385. "attachurl": {
  16386. "description": "附件",
  16387. "type": "string"
  16388. },
  16389. "auditid": {
  16390. "description": "审核人ID",
  16391. "type": "string"
  16392. },
  16393. "auditname": {
  16394. "description": "审核人名称",
  16395. "type": "string"
  16396. },
  16397. "auditremark": {
  16398. "description": "审核备注",
  16399. "type": "string"
  16400. },
  16401. "audittime": {
  16402. "description": "审核时间",
  16403. "type": "string"
  16404. },
  16405. "buyusername": {
  16406. "description": "采购方名称",
  16407. "type": "string"
  16408. },
  16409. "contractno": {
  16410. "description": "合同编号",
  16411. "type": "string"
  16412. },
  16413. "contractstatus": {
  16414. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  16415. "type": "integer"
  16416. },
  16417. "contracttype": {
  16418. "description": "现货合同类型 - 1:采购 -1:销售",
  16419. "type": "integer"
  16420. },
  16421. "deliverygoodscode": {
  16422. "description": "现货品种代码",
  16423. "type": "string"
  16424. },
  16425. "deliverygoodsid": {
  16426. "description": "现货商品ID",
  16427. "type": "integer"
  16428. },
  16429. "deliverygoodsname": {
  16430. "description": "现货品种名称",
  16431. "type": "string"
  16432. },
  16433. "enumdicname": {
  16434. "description": "单位名称",
  16435. "type": "string"
  16436. },
  16437. "goodscode": {
  16438. "description": "点价合约",
  16439. "type": "string"
  16440. },
  16441. "goodsname": {
  16442. "description": "商品名称",
  16443. "type": "string"
  16444. },
  16445. "operateapplyid": {
  16446. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  16447. "type": "string"
  16448. },
  16449. "operateapplytype": {
  16450. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  16451. "type": "integer"
  16452. },
  16453. "pricedPrice": {
  16454. "description": "点价价格(非必填)",
  16455. "type": "number"
  16456. },
  16457. "pricedQty": {
  16458. "description": "点价数量(非必填)",
  16459. "type": "number"
  16460. },
  16461. "pricemove": {
  16462. "description": "升贴水",
  16463. "type": "number"
  16464. },
  16465. "pricetype": {
  16466. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  16467. "type": "integer"
  16468. },
  16469. "relatedid": {
  16470. "description": "现货合同ID",
  16471. "type": "string"
  16472. },
  16473. "sellusername": {
  16474. "description": "销售方名字",
  16475. "type": "string"
  16476. },
  16477. "userid": {
  16478. "description": "用户ID",
  16479. "type": "integer"
  16480. },
  16481. "wrstandardcode": {
  16482. "description": "品类代码",
  16483. "type": "string"
  16484. },
  16485. "wrstandardid": {
  16486. "description": "品类id",
  16487. "type": "integer"
  16488. },
  16489. "wrstandardname": {
  16490. "description": "品类名称",
  16491. "type": "string"
  16492. }
  16493. }
  16494. },
  16495. "ermcp.QryBussinessFpRsp": {
  16496. "type": "object",
  16497. "properties": {
  16498. "applyid": {
  16499. "description": "申请人",
  16500. "type": "string"
  16501. },
  16502. "applyname": {
  16503. "description": "申请人名称",
  16504. "type": "string"
  16505. },
  16506. "applystatus": {
  16507. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  16508. "type": "integer"
  16509. },
  16510. "applytime": {
  16511. "description": "申请时间",
  16512. "type": "string"
  16513. },
  16514. "attachurl": {
  16515. "description": "附件",
  16516. "type": "string"
  16517. },
  16518. "auditid": {
  16519. "description": "审核人ID",
  16520. "type": "string"
  16521. },
  16522. "auditname": {
  16523. "description": "审核人名称",
  16524. "type": "string"
  16525. },
  16526. "auditremark": {
  16527. "description": "审核备注",
  16528. "type": "string"
  16529. },
  16530. "audittime": {
  16531. "description": "审核时间",
  16532. "type": "string"
  16533. },
  16534. "buyusername": {
  16535. "description": "采购方名称",
  16536. "type": "string"
  16537. },
  16538. "contractno": {
  16539. "description": "合同编号",
  16540. "type": "string"
  16541. },
  16542. "contractstatus": {
  16543. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  16544. "type": "integer"
  16545. },
  16546. "contracttype": {
  16547. "description": "现货合同类型 - 1:采购 -1:销售",
  16548. "type": "integer"
  16549. },
  16550. "deliverygoodscode": {
  16551. "description": "现货品种代码",
  16552. "type": "string"
  16553. },
  16554. "deliverygoodsid": {
  16555. "description": "现货商品ID",
  16556. "type": "integer"
  16557. },
  16558. "deliverygoodsname": {
  16559. "description": "现货品种名称",
  16560. "type": "string"
  16561. },
  16562. "enumdicname": {
  16563. "description": "单位名称",
  16564. "type": "string"
  16565. },
  16566. "goodscode": {
  16567. "description": "点价合约",
  16568. "type": "string"
  16569. },
  16570. "goodsname": {
  16571. "description": "商品名称",
  16572. "type": "string"
  16573. },
  16574. "invoiceamount": {
  16575. "description": "已开收票金额(销售为开票,采购为收票)",
  16576. "type": "number"
  16577. },
  16578. "operateapplyid": {
  16579. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  16580. "type": "string"
  16581. },
  16582. "operateapplytype": {
  16583. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  16584. "type": "integer"
  16585. },
  16586. "pricemove": {
  16587. "description": "升贴水",
  16588. "type": "number"
  16589. },
  16590. "pricetype": {
  16591. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  16592. "type": "integer"
  16593. },
  16594. "relatedid": {
  16595. "description": "现货合同ID",
  16596. "type": "string"
  16597. },
  16598. "sellusername": {
  16599. "description": "销售方名字",
  16600. "type": "string"
  16601. },
  16602. "userid": {
  16603. "description": "用户ID",
  16604. "type": "integer"
  16605. },
  16606. "wrstandardcode": {
  16607. "description": "品类代码",
  16608. "type": "string"
  16609. },
  16610. "wrstandardid": {
  16611. "description": "品类id",
  16612. "type": "integer"
  16613. },
  16614. "wrstandardname": {
  16615. "description": "品类名称",
  16616. "type": "string"
  16617. }
  16618. }
  16619. },
  16620. "ermcp.QryBussinessJsExRsp": {
  16621. "type": "object",
  16622. "properties": {
  16623. "applyid": {
  16624. "description": "申请人",
  16625. "type": "string"
  16626. },
  16627. "applyname": {
  16628. "description": "申请人名称",
  16629. "type": "string"
  16630. },
  16631. "applystatus": {
  16632. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  16633. "type": "integer"
  16634. },
  16635. "applytime": {
  16636. "description": "申请时间",
  16637. "type": "string"
  16638. },
  16639. "attachurl": {
  16640. "description": "附件",
  16641. "type": "string"
  16642. },
  16643. "auditid": {
  16644. "description": "审核人ID",
  16645. "type": "string"
  16646. },
  16647. "auditname": {
  16648. "description": "审核人名称",
  16649. "type": "string"
  16650. },
  16651. "auditremark": {
  16652. "description": "审核备注",
  16653. "type": "string"
  16654. },
  16655. "audittime": {
  16656. "description": "审核时间",
  16657. "type": "string"
  16658. },
  16659. "buyusername": {
  16660. "description": "采购方名称",
  16661. "type": "string"
  16662. },
  16663. "contractno": {
  16664. "description": "合同编号",
  16665. "type": "string"
  16666. },
  16667. "contractstatus": {
  16668. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  16669. "type": "integer"
  16670. },
  16671. "contracttype": {
  16672. "description": "现货合同类型 - 1:采购 -1:销售",
  16673. "type": "integer"
  16674. },
  16675. "deliverygoodscode": {
  16676. "description": "现货品种代码",
  16677. "type": "string"
  16678. },
  16679. "deliverygoodsid": {
  16680. "description": "现货商品ID",
  16681. "type": "integer"
  16682. },
  16683. "deliverygoodsname": {
  16684. "description": "现货品种名称",
  16685. "type": "string"
  16686. },
  16687. "enumdicname": {
  16688. "description": "单位名称",
  16689. "type": "string"
  16690. },
  16691. "goodscode": {
  16692. "description": "点价合约",
  16693. "type": "string"
  16694. },
  16695. "goodsname": {
  16696. "description": "商品名称",
  16697. "type": "string"
  16698. },
  16699. "operateapplyid": {
  16700. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  16701. "type": "string"
  16702. },
  16703. "operateapplytype": {
  16704. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  16705. "type": "integer"
  16706. },
  16707. "pricemove": {
  16708. "description": "升贴水",
  16709. "type": "number"
  16710. },
  16711. "pricetype": {
  16712. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  16713. "type": "integer"
  16714. },
  16715. "reckontype": {
  16716. "description": "结算类型",
  16717. "type": "string"
  16718. },
  16719. "reckonvalue": {
  16720. "description": "值",
  16721. "type": "number"
  16722. },
  16723. "relatedid": {
  16724. "description": "现货合同ID",
  16725. "type": "string"
  16726. },
  16727. "sellusername": {
  16728. "description": "销售方名字",
  16729. "type": "string"
  16730. },
  16731. "userid": {
  16732. "description": "用户ID",
  16733. "type": "integer"
  16734. },
  16735. "wrstandardcode": {
  16736. "description": "品类代码",
  16737. "type": "string"
  16738. },
  16739. "wrstandardid": {
  16740. "description": "品类id",
  16741. "type": "integer"
  16742. },
  16743. "wrstandardname": {
  16744. "description": "品类名称",
  16745. "type": "string"
  16746. }
  16747. }
  16748. },
  16749. "ermcp.QryBussinessJsRsp": {
  16750. "type": "object",
  16751. "properties": {
  16752. "addmargin": {
  16753. "description": "追加保证金(非必填)",
  16754. "type": "number"
  16755. },
  16756. "applyid": {
  16757. "description": "申请人",
  16758. "type": "string"
  16759. },
  16760. "applyname": {
  16761. "description": "申请人名称",
  16762. "type": "string"
  16763. },
  16764. "applystatus": {
  16765. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  16766. "type": "integer"
  16767. },
  16768. "applytime": {
  16769. "description": "申请时间",
  16770. "type": "string"
  16771. },
  16772. "attachurl": {
  16773. "description": "附件",
  16774. "type": "string"
  16775. },
  16776. "auditid": {
  16777. "description": "审核人ID",
  16778. "type": "string"
  16779. },
  16780. "auditname": {
  16781. "description": "审核人名称",
  16782. "type": "string"
  16783. },
  16784. "auditremark": {
  16785. "description": "审核备注",
  16786. "type": "string"
  16787. },
  16788. "audittime": {
  16789. "description": "审核时间",
  16790. "type": "string"
  16791. },
  16792. "buyusername": {
  16793. "description": "采购方名称",
  16794. "type": "string"
  16795. },
  16796. "contractno": {
  16797. "description": "合同编号",
  16798. "type": "string"
  16799. },
  16800. "contractstatus": {
  16801. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  16802. "type": "integer"
  16803. },
  16804. "contracttype": {
  16805. "description": "现货合同类型 - 1:采购 -1:销售",
  16806. "type": "integer"
  16807. },
  16808. "decmargin": {
  16809. "description": "减少保证金(非必填)",
  16810. "type": "number"
  16811. },
  16812. "deliverygoodscode": {
  16813. "description": "现货品种代码",
  16814. "type": "string"
  16815. },
  16816. "deliverygoodsid": {
  16817. "description": "现货商品ID",
  16818. "type": "integer"
  16819. },
  16820. "deliverygoodsname": {
  16821. "description": "现货品种名称",
  16822. "type": "string"
  16823. },
  16824. "enumdicname": {
  16825. "description": "单位名称",
  16826. "type": "string"
  16827. },
  16828. "goodscode": {
  16829. "description": "点价合约",
  16830. "type": "string"
  16831. },
  16832. "goodsname": {
  16833. "description": "商品名称",
  16834. "type": "string"
  16835. },
  16836. "operateapplyid": {
  16837. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  16838. "type": "string"
  16839. },
  16840. "operateapplytype": {
  16841. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  16842. "type": "integer"
  16843. },
  16844. "pricemove": {
  16845. "description": "升贴水",
  16846. "type": "number"
  16847. },
  16848. "pricetype": {
  16849. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  16850. "type": "integer"
  16851. },
  16852. "reckonadjustamount": {
  16853. "description": "结算调整金额(非必填)",
  16854. "type": "number"
  16855. },
  16856. "reckonosamount": {
  16857. "description": "结算溢短金额(非必填)",
  16858. "type": "number"
  16859. },
  16860. "reckonotheramount": {
  16861. "description": "结算其他费用(非必填)",
  16862. "type": "number"
  16863. },
  16864. "reckonrealqty": {
  16865. "description": "结算实际数量(非必填)",
  16866. "type": "number"
  16867. },
  16868. "relatedid": {
  16869. "description": "现货合同ID",
  16870. "type": "string"
  16871. },
  16872. "sellusername": {
  16873. "description": "销售方名字",
  16874. "type": "string"
  16875. },
  16876. "userid": {
  16877. "description": "用户ID",
  16878. "type": "integer"
  16879. },
  16880. "wrstandardcode": {
  16881. "description": "品类代码",
  16882. "type": "string"
  16883. },
  16884. "wrstandardid": {
  16885. "description": "品类id",
  16886. "type": "integer"
  16887. },
  16888. "wrstandardname": {
  16889. "description": "品类名称",
  16890. "type": "string"
  16891. }
  16892. }
  16893. },
  16894. "ermcp.QryBussinessKxRsp": {
  16895. "type": "object",
  16896. "properties": {
  16897. "applyid": {
  16898. "description": "申请人",
  16899. "type": "string"
  16900. },
  16901. "applyname": {
  16902. "description": "申请人名称",
  16903. "type": "string"
  16904. },
  16905. "applystatus": {
  16906. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  16907. "type": "integer"
  16908. },
  16909. "applytime": {
  16910. "description": "申请时间",
  16911. "type": "string"
  16912. },
  16913. "attachurl": {
  16914. "description": "附件",
  16915. "type": "string"
  16916. },
  16917. "auditid": {
  16918. "description": "审核人ID",
  16919. "type": "string"
  16920. },
  16921. "auditname": {
  16922. "description": "审核人名称",
  16923. "type": "string"
  16924. },
  16925. "auditremark": {
  16926. "description": "审核备注",
  16927. "type": "string"
  16928. },
  16929. "audittime": {
  16930. "description": "审核时间",
  16931. "type": "string"
  16932. },
  16933. "buyusername": {
  16934. "description": "采购方名称",
  16935. "type": "string"
  16936. },
  16937. "contractno": {
  16938. "description": "合同编号",
  16939. "type": "string"
  16940. },
  16941. "contractstatus": {
  16942. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  16943. "type": "integer"
  16944. },
  16945. "contracttype": {
  16946. "description": "现货合同类型 - 1:采购 -1:销售",
  16947. "type": "integer"
  16948. },
  16949. "deductamount": {
  16950. "description": "退款(非必填)",
  16951. "type": "number"
  16952. },
  16953. "deliverygoodscode": {
  16954. "description": "现货品种代码",
  16955. "type": "string"
  16956. },
  16957. "deliverygoodsid": {
  16958. "description": "现货商品ID",
  16959. "type": "integer"
  16960. },
  16961. "deliverygoodsname": {
  16962. "description": "现货品种名称",
  16963. "type": "string"
  16964. },
  16965. "enumdicname": {
  16966. "description": "单位名称",
  16967. "type": "string"
  16968. },
  16969. "goodscode": {
  16970. "description": "点价合约",
  16971. "type": "string"
  16972. },
  16973. "goodsname": {
  16974. "description": "商品名称",
  16975. "type": "string"
  16976. },
  16977. "kxtype": {
  16978. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  16979. "type": "integer"
  16980. },
  16981. "operateapplyid": {
  16982. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  16983. "type": "string"
  16984. },
  16985. "operateapplytype": {
  16986. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  16987. "type": "integer"
  16988. },
  16989. "payamount": {
  16990. "description": "收付款(非必填)",
  16991. "type": "number"
  16992. },
  16993. "pricemove": {
  16994. "description": "升贴水",
  16995. "type": "number"
  16996. },
  16997. "pricetype": {
  16998. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  16999. "type": "integer"
  17000. },
  17001. "relatedid": {
  17002. "description": "现货合同ID",
  17003. "type": "string"
  17004. },
  17005. "sellusername": {
  17006. "description": "销售方名字",
  17007. "type": "string"
  17008. },
  17009. "userid": {
  17010. "description": "用户ID",
  17011. "type": "integer"
  17012. },
  17013. "wrstandardcode": {
  17014. "description": "品类代码",
  17015. "type": "string"
  17016. },
  17017. "wrstandardid": {
  17018. "description": "品类id",
  17019. "type": "integer"
  17020. },
  17021. "wrstandardname": {
  17022. "description": "品类名称",
  17023. "type": "string"
  17024. }
  17025. }
  17026. },
  17027. "ermcp.QryGGCovertCfgRsp": {
  17028. "type": "object",
  17029. "properties": {
  17030. "convertratio": {
  17031. "description": "折算系数",
  17032. "type": "number"
  17033. },
  17034. "destgoodsgroupid": {
  17035. "description": "目标品种ID",
  17036. "type": "integer"
  17037. },
  17038. "dstcode": {
  17039. "description": "目录品种代码",
  17040. "type": "string"
  17041. },
  17042. "dstexchangecode": {
  17043. "description": "目标期货交易所",
  17044. "type": "string"
  17045. },
  17046. "dstname": {
  17047. "description": "目标品种名称",
  17048. "type": "string"
  17049. },
  17050. "dstunitid": {
  17051. "description": "目标品种单位ID",
  17052. "type": "integer"
  17053. },
  17054. "dstunitidname": {
  17055. "description": "目标品种单位名称",
  17056. "type": "string"
  17057. },
  17058. "modifytime": {
  17059. "description": "修改时间",
  17060. "type": "string"
  17061. },
  17062. "srccode": {
  17063. "description": "源品种代码",
  17064. "type": "string"
  17065. },
  17066. "srcexchangecode": {
  17067. "description": "源期货交易所",
  17068. "type": "string"
  17069. },
  17070. "srcgoodsgroupid": {
  17071. "description": "源品种ID",
  17072. "type": "integer"
  17073. },
  17074. "srcname": {
  17075. "description": "源品种名称",
  17076. "type": "string"
  17077. },
  17078. "srcunitid": {
  17079. "description": "源品种单位ID",
  17080. "type": "integer"
  17081. },
  17082. "srcunitidname": {
  17083. "description": "源品种单位名称",
  17084. "type": "string"
  17085. }
  17086. }
  17087. },
  17088. "ermcp.QryMGChangeLogRsp": {
  17089. "type": "object",
  17090. "properties": {
  17091. "aftervalue": {
  17092. "description": "变更后",
  17093. "type": "number"
  17094. },
  17095. "applyid": {
  17096. "description": "操作人",
  17097. "type": "integer"
  17098. },
  17099. "applyname": {
  17100. "description": "操作人名称",
  17101. "type": "string"
  17102. },
  17103. "applysrc": {
  17104. "description": "操作来源 - 1:管理端 2:终端",
  17105. "type": "integer"
  17106. },
  17107. "beforevalue": {
  17108. "description": "变更前",
  17109. "type": "number"
  17110. },
  17111. "changelogtype": {
  17112. "description": "变更流水类型 - 1:套保比率变更",
  17113. "type": "integer"
  17114. },
  17115. "handlestatus": {
  17116. "description": "处理状态",
  17117. "type": "integer"
  17118. },
  17119. "logdatetime": {
  17120. "description": "流水日期",
  17121. "type": "string"
  17122. },
  17123. "logid": {
  17124. "description": "流水ID",
  17125. "type": "integer"
  17126. },
  17127. "logremark": {
  17128. "description": "流水备注",
  17129. "type": "string"
  17130. },
  17131. "middlegoodsid": {
  17132. "description": "套保品种ID",
  17133. "type": "integer"
  17134. },
  17135. "tradedate": {
  17136. "description": "交易日(yyyyMMdd)",
  17137. "type": "string"
  17138. },
  17139. "updatetime": {
  17140. "description": "更新时间",
  17141. "type": "string"
  17142. }
  17143. }
  17144. },
  17145. "ermcp.QryMiddleGoodsDetailRsp": {
  17146. "type": "object",
  17147. "properties": {
  17148. "cvList": {
  17149. "description": "期货品种折算列表",
  17150. "type": "array",
  17151. "items": {
  17152. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  17153. }
  17154. },
  17155. "mg": {
  17156. "description": "套保品种基本信息",
  17157. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  17158. },
  17159. "wrcList": {
  17160. "description": "现货品种列表(现货商品折算配置)",
  17161. "type": "array",
  17162. "items": {
  17163. "$ref": "#/definitions/models.WRSConverTDetail"
  17164. }
  17165. }
  17166. }
  17167. },
  17168. "ermcp.QryMiddleGoodsRsp": {
  17169. "type": "object",
  17170. "properties": {
  17171. "areauserid": {
  17172. "description": "机构用户ID",
  17173. "type": "integer"
  17174. },
  17175. "createtime": {
  17176. "description": "修改时间",
  17177. "type": "string"
  17178. },
  17179. "enumdicname": {
  17180. "description": "单位名称",
  17181. "type": "string"
  17182. },
  17183. "evaluateratio": {
  17184. "description": "估价系数",
  17185. "type": "number"
  17186. },
  17187. "goodsgroupid": {
  17188. "description": "关联期货品种ID",
  17189. "type": "integer"
  17190. },
  17191. "goodsunitid": {
  17192. "description": "单位ID",
  17193. "type": "integer"
  17194. },
  17195. "isvalid": {
  17196. "description": "状态 0-无效(停用) 1-有效(正常)",
  17197. "type": "integer"
  17198. },
  17199. "middlegoodscode": {
  17200. "description": "套保品种代码",
  17201. "type": "string"
  17202. },
  17203. "middlegoodsid": {
  17204. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  17205. "type": "integer"
  17206. },
  17207. "middlegoodsname": {
  17208. "description": "套保品种名称",
  17209. "type": "string"
  17210. },
  17211. "modifytime": {
  17212. "description": "修改时间",
  17213. "type": "string"
  17214. },
  17215. "needarbitrageratio": {
  17216. "description": "套利比例",
  17217. "type": "number"
  17218. },
  17219. "needhedgeratio": {
  17220. "description": "套保比率",
  17221. "type": "number"
  17222. },
  17223. "qtydecimalplace": {
  17224. "description": "数量小数位",
  17225. "type": "integer"
  17226. },
  17227. "relatedgoodsid": {
  17228. "description": "关联交易商品ID",
  17229. "type": "integer"
  17230. },
  17231. "relatedgoodstype": {
  17232. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  17233. "type": "integer"
  17234. },
  17235. "remark": {
  17236. "description": "备注",
  17237. "type": "string"
  17238. }
  17239. }
  17240. },
  17241. "ermcp.QryOPLogRsp": {
  17242. "type": "object",
  17243. "properties": {
  17244. "aftervalue": {
  17245. "description": "变更后",
  17246. "type": "number"
  17247. },
  17248. "applyid": {
  17249. "description": "操作人ID",
  17250. "type": "string"
  17251. },
  17252. "applyname": {
  17253. "description": "操作人名称",
  17254. "type": "string"
  17255. },
  17256. "beforevalue": {
  17257. "description": "变更前",
  17258. "type": "number"
  17259. },
  17260. "biztype": {
  17261. "description": "业务类型 - 1:套保计划 2:现货合同",
  17262. "type": "integer"
  17263. },
  17264. "contracttype": {
  17265. "description": "现货合同类型 - 1:采购 -1:销售",
  17266. "type": "integer"
  17267. },
  17268. "logvalue": {
  17269. "description": "数值",
  17270. "type": "number"
  17271. },
  17272. "operatelogtype": {
  17273. "description": "操作流水类型",
  17274. "type": "integer"
  17275. },
  17276. "operatelogtypedesc": {
  17277. "description": "操作流水类型名称",
  17278. "type": "string"
  17279. },
  17280. "relatedid": {
  17281. "description": "现货合同ID\\套保计划",
  17282. "type": "string"
  17283. },
  17284. "updatetime": {
  17285. "description": "更新时间",
  17286. "type": "string"
  17287. }
  17288. }
  17289. },
  17290. "ermcp.QryUserInfoRsp": {
  17291. "type": "object",
  17292. "properties": {
  17293. "address": {
  17294. "description": "通讯地址",
  17295. "type": "string"
  17296. },
  17297. "attachment1": {
  17298. "description": "附件1",
  17299. "type": "string"
  17300. },
  17301. "audittime": {
  17302. "description": "审核时间",
  17303. "type": "string"
  17304. },
  17305. "cardbackphotourl": {
  17306. "description": "证件反面图片地址",
  17307. "type": "string"
  17308. },
  17309. "cardfrontphotourl": {
  17310. "description": "证件正面图片地址",
  17311. "type": "string"
  17312. },
  17313. "cardnum": {
  17314. "description": "证件号码",
  17315. "type": "string"
  17316. },
  17317. "cardtype": {
  17318. "description": "证件类型",
  17319. "type": "integer"
  17320. },
  17321. "cardtypename": {
  17322. "description": "证件类型名称",
  17323. "type": "string"
  17324. },
  17325. "cityid": {
  17326. "description": "市",
  17327. "type": "integer"
  17328. },
  17329. "contactname": {
  17330. "description": "联系人",
  17331. "type": "string"
  17332. },
  17333. "countryid": {
  17334. "description": "国家",
  17335. "type": "integer"
  17336. },
  17337. "createtime": {
  17338. "description": "创建时间",
  17339. "type": "string"
  17340. },
  17341. "customername": {
  17342. "description": "企业名称",
  17343. "type": "string"
  17344. },
  17345. "districtid": {
  17346. "description": "区域",
  17347. "type": "integer"
  17348. },
  17349. "email": {
  17350. "description": "邮件",
  17351. "type": "string"
  17352. },
  17353. "legalpersonname": {
  17354. "description": "法人姓名(企业)",
  17355. "type": "string"
  17356. },
  17357. "memberuserid": {
  17358. "description": "所属机构ID",
  17359. "type": "integer"
  17360. },
  17361. "mobile": {
  17362. "description": "手机号码",
  17363. "type": "string"
  17364. },
  17365. "modifytime": {
  17366. "description": "修改时间",
  17367. "type": "string"
  17368. },
  17369. "nickname": {
  17370. "description": "昵称",
  17371. "type": "string"
  17372. },
  17373. "provinceid": {
  17374. "description": "省",
  17375. "type": "integer"
  17376. },
  17377. "remark": {
  17378. "description": "备注",
  17379. "type": "string"
  17380. },
  17381. "status": {
  17382. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  17383. "type": "integer"
  17384. },
  17385. "statusdesc": {
  17386. "description": "账户状态中文描述",
  17387. "type": "string"
  17388. },
  17389. "taxpayernum": {
  17390. "description": "纳税人识别号",
  17391. "type": "string"
  17392. },
  17393. "telphone": {
  17394. "description": "联系电话",
  17395. "type": "string"
  17396. },
  17397. "userid": {
  17398. "description": "用户ID",
  17399. "type": "integer"
  17400. },
  17401. "userinfotype": {
  17402. "description": "客户类型",
  17403. "type": "string"
  17404. }
  17405. }
  17406. },
  17407. "ermcp.QryWarehouseRsp": {
  17408. "type": "object",
  17409. "properties": {
  17410. "address": {
  17411. "description": "详细地址",
  17412. "type": "string"
  17413. },
  17414. "areauserid": {
  17415. "description": "所属机构",
  17416. "type": "integer"
  17417. },
  17418. "autoid": {
  17419. "description": "自增ID(仓库ID)",
  17420. "type": "integer"
  17421. },
  17422. "cityid": {
  17423. "description": "市",
  17424. "type": "integer"
  17425. },
  17426. "contactname": {
  17427. "description": "联系人",
  17428. "type": "string"
  17429. },
  17430. "contactnum": {
  17431. "description": "联系电话",
  17432. "type": "string"
  17433. },
  17434. "countryid": {
  17435. "description": "国家",
  17436. "type": "integer"
  17437. },
  17438. "createtime": {
  17439. "description": "创建时间",
  17440. "type": "string"
  17441. },
  17442. "districtid": {
  17443. "description": "区",
  17444. "type": "integer"
  17445. },
  17446. "hasvideo": {
  17447. "description": "是否有视频 - 0:无 1:有",
  17448. "type": "integer"
  17449. },
  17450. "provinceid": {
  17451. "description": "省",
  17452. "type": "integer"
  17453. },
  17454. "remark": {
  17455. "description": "审核备注",
  17456. "type": "string"
  17457. },
  17458. "videourl": {
  17459. "description": "视频地址",
  17460. "type": "string"
  17461. },
  17462. "warehousecode": {
  17463. "description": "仓库代码",
  17464. "type": "string"
  17465. },
  17466. "warehousename": {
  17467. "description": "仓库名称",
  17468. "type": "string"
  17469. },
  17470. "warehousestatus": {
  17471. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  17472. "type": "integer"
  17473. },
  17474. "warehousetype": {
  17475. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  17476. "type": "integer"
  17477. }
  17478. }
  17479. },
  17480. "ermcp.QueryErmcpTradePositionRsp": {
  17481. "type": "object",
  17482. "properties": {
  17483. "agreeunit": {
  17484. "description": "合约单位",
  17485. "type": "number"
  17486. },
  17487. "buyorsell": {
  17488. "description": "方向 - 0:买 1:卖",
  17489. "type": "integer"
  17490. },
  17491. "curpositionqty": {
  17492. "description": "持仓(总仓数量, 期末头寸)",
  17493. "type": "integer"
  17494. },
  17495. "curtdposition": {
  17496. "description": "今仓数量(期末今日头寸)",
  17497. "type": "integer"
  17498. },
  17499. "curtdpositionenabled": {
  17500. "description": "今仓可用",
  17501. "type": "integer"
  17502. },
  17503. "decimalplace": {
  17504. "description": "报价小数位",
  17505. "type": "integer"
  17506. },
  17507. "enableqty": {
  17508. "description": "可用(总仓可用)",
  17509. "type": "integer"
  17510. },
  17511. "exexchangename": {
  17512. "description": "外部交易所名称",
  17513. "type": "string"
  17514. },
  17515. "exexehangecode": {
  17516. "description": "外部交易所代码",
  17517. "type": "string"
  17518. },
  17519. "exexehangeid": {
  17520. "description": "外部交易所id",
  17521. "type": "integer"
  17522. },
  17523. "goodscode": {
  17524. "description": "商品代码(内部)",
  17525. "type": "string"
  17526. },
  17527. "goodsid": {
  17528. "description": "商品ID(自增ID SEQ_GOODS)",
  17529. "type": "integer"
  17530. },
  17531. "goodsname": {
  17532. "description": "商品名称",
  17533. "type": "string"
  17534. },
  17535. "last": {
  17536. "description": "现价",
  17537. "type": "number"
  17538. },
  17539. "marketid": {
  17540. "description": "所属市场ID",
  17541. "type": "integer"
  17542. },
  17543. "openaverageprice": {
  17544. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  17545. "type": "number"
  17546. },
  17547. "opencost": {
  17548. "description": "开仓成本",
  17549. "type": "number"
  17550. },
  17551. "openpl": {
  17552. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  17553. "type": "number"
  17554. },
  17555. "outgoodscode": {
  17556. "description": "商品代码(外部)",
  17557. "type": "string"
  17558. },
  17559. "positionaverageprice": {
  17560. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  17561. "type": "number"
  17562. },
  17563. "positioncost": {
  17564. "description": "持仓成本",
  17565. "type": "number"
  17566. },
  17567. "positionpl": {
  17568. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  17569. "type": "number"
  17570. },
  17571. "positionplrate": {
  17572. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  17573. "type": "number"
  17574. },
  17575. "usedmargin": {
  17576. "description": "占用保证金",
  17577. "type": "number"
  17578. }
  17579. }
  17580. },
  17581. "ermcp.RealtimeExposurePositionRsp": {
  17582. "type": "object",
  17583. "properties": {
  17584. "agreeunit": {
  17585. "description": "合约单位",
  17586. "type": "string"
  17587. },
  17588. "areauserid": {
  17589. "description": "所属机构id",
  17590. "type": "integer"
  17591. },
  17592. "convertratio": {
  17593. "description": "期货品种系数(折算系数)",
  17594. "type": "number"
  17595. },
  17596. "curqty": {
  17597. "description": "当前持仓",
  17598. "type": "integer"
  17599. },
  17600. "diffhedgeqty": {
  17601. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  17602. "type": "number"
  17603. },
  17604. "diffqty": {
  17605. "description": "持仓变动量=当前持仓-昨日持仓",
  17606. "type": "integer"
  17607. },
  17608. "goodscode": {
  17609. "description": "商品代码",
  17610. "type": "string"
  17611. },
  17612. "goodsid": {
  17613. "description": "商品id",
  17614. "type": "integer"
  17615. },
  17616. "goodsname": {
  17617. "description": "商品名称",
  17618. "type": "string"
  17619. },
  17620. "middlegoodsid": {
  17621. "description": "套保商品id",
  17622. "type": "integer"
  17623. },
  17624. "ydqty": {
  17625. "description": "昨日持仓",
  17626. "type": "integer"
  17627. }
  17628. }
  17629. },
  17630. "ermcp.RealtimeExposureRsp": {
  17631. "type": "object",
  17632. "properties": {
  17633. "AreaUserID": {
  17634. "description": "所属机构",
  17635. "type": "integer"
  17636. },
  17637. "BuyFutureQty": {
  17638. "description": "买入期货数量",
  17639. "type": "number"
  17640. },
  17641. "BuyPlanQty": {
  17642. "description": "采购计划数量",
  17643. "type": "number"
  17644. },
  17645. "BuyPricedQty": {
  17646. "description": "采购合同已定价数量",
  17647. "type": "number"
  17648. },
  17649. "MiddleGoodsCode": {
  17650. "description": "套保品种代码",
  17651. "type": "string"
  17652. },
  17653. "MiddleGoodsHedgeRatio": {
  17654. "description": "套保比例",
  17655. "type": "number"
  17656. },
  17657. "MiddleGoodsID": {
  17658. "description": "套保品种",
  17659. "type": "integer"
  17660. },
  17661. "MiddleGoodsName": {
  17662. "description": "套保品种名称",
  17663. "type": "string"
  17664. },
  17665. "NeedHedgeExposoure": {
  17666. "description": "应套保敞口(套保敞口)",
  17667. "type": "number"
  17668. },
  17669. "NeedHedgeRatio": {
  17670. "description": "应套保敞口比例",
  17671. "type": "number"
  17672. },
  17673. "OriBuyFutureQty": {
  17674. "description": "期初买入期货数量",
  17675. "type": "number"
  17676. },
  17677. "OriBuyPlanQty": {
  17678. "description": "期初采购计划数量",
  17679. "type": "number"
  17680. },
  17681. "OriBuyPricedQty": {
  17682. "description": "期初采购合同已定价数量",
  17683. "type": "number"
  17684. },
  17685. "OriSellFutureQty": {
  17686. "description": "期初卖出期货数量",
  17687. "type": "number"
  17688. },
  17689. "OriSellPlanQty": {
  17690. "description": "期初销售计划数量",
  17691. "type": "number"
  17692. },
  17693. "OriSellPricedQty": {
  17694. "description": "期初销售合同已定价数量",
  17695. "type": "number"
  17696. },
  17697. "OriTotalSpotQty": {
  17698. "description": "期初现货总量",
  17699. "type": "number"
  17700. },
  17701. "SellFutureQty": {
  17702. "description": "卖出期货数量",
  17703. "type": "number"
  17704. },
  17705. "SellPlanQty": {
  17706. "description": "销售计划数量",
  17707. "type": "number"
  17708. },
  17709. "SellPricedQty": {
  17710. "description": "销售合同已定价数量",
  17711. "type": "number"
  17712. },
  17713. "TotalExposure": {
  17714. "description": "总敞口 平安:净敞口",
  17715. "type": "number"
  17716. },
  17717. "TotalFutureQty": {
  17718. "description": "期货总量 平安:保值净持仓量",
  17719. "type": "number"
  17720. },
  17721. "TotalHedgeRatio": {
  17722. "description": "敞口比例",
  17723. "type": "number"
  17724. },
  17725. "TotalNeedHedgeQty": {
  17726. "description": "应套保总量(现货应套保总量)",
  17727. "type": "number"
  17728. },
  17729. "TotalSpotQty": {
  17730. "description": "现货总量 平安:采销定价净值",
  17731. "type": "number"
  17732. },
  17733. "arbitrageqty": {
  17734. "description": "套利量",
  17735. "type": "number"
  17736. },
  17737. "diffArbitrageQty": {
  17738. "description": "期现数量差 = 套保计划量 - 今日期货关联成交量",
  17739. "type": "number"
  17740. },
  17741. "diffExposoureQty": {
  17742. "description": "期现数量差 = 套保计划量 - 今日期货关联成交量",
  17743. "type": "number"
  17744. },
  17745. "diffFutuQty": {
  17746. "description": "期现数量差 = 套保计划量 - 今日期货关联成交量",
  17747. "type": "number"
  17748. },
  17749. "diffHedgeQty": {
  17750. "description": "期现数量差 = 套保计划量 - 今日期货关联成交量",
  17751. "type": "number"
  17752. },
  17753. "diffQty": {
  17754. "description": "期现数量差 = 套保计划量 - 今日期货关联成交量",
  17755. "type": "number"
  17756. },
  17757. "diffSpotHedgeQty": {
  17758. "description": "期现数量差 = 套保计划量 - 今日期货关联成交量",
  17759. "type": "number"
  17760. },
  17761. "diffSpotQty": {
  17762. "description": "期现数量差 = 套保计划量 - 今日期货关联成交量",
  17763. "type": "number"
  17764. },
  17765. "enumdicname": {
  17766. "description": "单位名称",
  17767. "type": "string"
  17768. },
  17769. "hedgeqty": {
  17770. "description": "套保量",
  17771. "type": "number"
  17772. },
  17773. "needarbitrageqty": {
  17774. "description": "应套利量",
  17775. "type": "number"
  17776. },
  17777. "needarbitrageratio": {
  17778. "description": "套利比例",
  17779. "type": "number"
  17780. },
  17781. "needhedgeqty": {
  17782. "description": "应套保量",
  17783. "type": "number"
  17784. },
  17785. "oriarbitrageqty": {
  17786. "description": "期初套利量",
  17787. "type": "number"
  17788. },
  17789. "orihedgeqty": {
  17790. "description": "期初套保量",
  17791. "type": "number"
  17792. },
  17793. "orineedhedgeexposoure": {
  17794. "description": "期初套保敞口",
  17795. "type": "number"
  17796. },
  17797. "oritotalexposure": {
  17798. "description": "期初总敞口",
  17799. "type": "number"
  17800. },
  17801. "oritotalfutureqty": {
  17802. "description": "期初期货总量",
  17803. "type": "number"
  17804. },
  17805. "oritotalneedhedgeqty": {
  17806. "description": "期初现货应套保量",
  17807. "type": "number"
  17808. }
  17809. }
  17810. },
  17811. "erms2.QueryArbitrageStrategyRsp": {
  17812. "type": "object",
  17813. "required": [
  17814. "asapplyid"
  17815. ],
  17816. "properties": {
  17817. "applybasis": {
  17818. "description": "申请基差",
  17819. "type": "number"
  17820. },
  17821. "asapplyid": {
  17822. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  17823. "type": "string"
  17824. },
  17825. "asname": {
  17826. "description": "策略名称",
  17827. "type": "string"
  17828. },
  17829. "asno": {
  17830. "description": "策略编号",
  17831. "type": "string"
  17832. },
  17833. "basischangepl": {
  17834. "description": "基差变动损益[结算更新]",
  17835. "type": "number"
  17836. },
  17837. "biztype": {
  17838. "description": "业务类型 - 1:正向套利 -1:反向套利",
  17839. "type": "integer"
  17840. },
  17841. "closetradedate": {
  17842. "description": "完结交易日(yyyyMMdd)",
  17843. "type": "string"
  17844. },
  17845. "curbasis": {
  17846. "description": "当前基差[结算更新]",
  17847. "type": "number"
  17848. },
  17849. "deliverygoodsid": {
  17850. "description": "现货品种ID",
  17851. "type": "integer"
  17852. },
  17853. "futureavgprice": {
  17854. "description": "期货建仓均价",
  17855. "type": "number"
  17856. },
  17857. "futurecloseamount": {
  17858. "description": "期货平仓金额",
  17859. "type": "number"
  17860. },
  17861. "futurecloseqty": {
  17862. "description": "期货平仓数量",
  17863. "type": "number"
  17864. },
  17865. "futureopenamount": {
  17866. "description": "期货开仓金额",
  17867. "type": "number"
  17868. },
  17869. "futureopenqty": {
  17870. "description": "期货开仓数量",
  17871. "type": "number"
  17872. },
  17873. "futurepl": {
  17874. "description": "期货总盈亏[结算更新]",
  17875. "type": "number"
  17876. },
  17877. "futureqty": {
  17878. "description": "期货持仓数量",
  17879. "type": "number"
  17880. },
  17881. "futurequote": {
  17882. "description": "期货额度",
  17883. "type": "number"
  17884. },
  17885. "goodsgroupid": {
  17886. "description": "期货品种ID",
  17887. "type": "integer"
  17888. },
  17889. "marketid": {
  17890. "description": "市场ID",
  17891. "type": "integer"
  17892. },
  17893. "netexposure": {
  17894. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  17895. "type": "number"
  17896. },
  17897. "netexposurepl": {
  17898. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  17899. "type": "number"
  17900. },
  17901. "netexposurerate": {
  17902. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  17903. "type": "number"
  17904. },
  17905. "openbasis": {
  17906. "description": "建仓基差",
  17907. "type": "number"
  17908. },
  17909. "pricedspotqty": {
  17910. "description": "已定价现货数量",
  17911. "type": "number"
  17912. },
  17913. "pricedspotqtynotax": {
  17914. "description": "已定价现货不含税数量",
  17915. "type": "number"
  17916. },
  17917. "remark": {
  17918. "description": "备注",
  17919. "type": "string"
  17920. },
  17921. "spotavgprice": {
  17922. "description": "现货均价",
  17923. "type": "number"
  17924. },
  17925. "spotbuyamount": {
  17926. "description": "现货采购金额",
  17927. "type": "number"
  17928. },
  17929. "spotbuyqty": {
  17930. "description": "现货采购数量",
  17931. "type": "number"
  17932. },
  17933. "spotpl": {
  17934. "description": "现货总盈亏[结算更新]",
  17935. "type": "number"
  17936. },
  17937. "spotquota": {
  17938. "description": "现货额度",
  17939. "type": "number"
  17940. },
  17941. "spotsellamount": {
  17942. "description": "现货销售金额",
  17943. "type": "number"
  17944. },
  17945. "spotsellqty": {
  17946. "description": "现货销售数量",
  17947. "type": "number"
  17948. },
  17949. "spotusedquota": {
  17950. "description": "现货占用资金",
  17951. "type": "number"
  17952. },
  17953. "strategystatus": {
  17954. "description": "策略状态 - 0:未结束 1:已结束",
  17955. "type": "integer"
  17956. },
  17957. "totalpl": {
  17958. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  17959. "type": "number"
  17960. },
  17961. "tradedate": {
  17962. "description": "交易日(yyyyMMdd)",
  17963. "type": "string"
  17964. },
  17965. "updatetime": {
  17966. "description": "更新时间",
  17967. "type": "string"
  17968. },
  17969. "usedquota": {
  17970. "description": "已占用资金",
  17971. "type": "number"
  17972. },
  17973. "userid": {
  17974. "description": "所属机构",
  17975. "type": "integer"
  17976. }
  17977. }
  17978. },
  17979. "erms2.QueryInnerTradeDetailRsp": {
  17980. "type": "object",
  17981. "required": [
  17982. "asapplyid",
  17983. "buyorsell",
  17984. "goodscode",
  17985. "goodsgroupid",
  17986. "goodsgroupname",
  17987. "goodsname",
  17988. "tradeid"
  17989. ],
  17990. "properties": {
  17991. "accountid": {
  17992. "description": "账号ID",
  17993. "type": "integer"
  17994. },
  17995. "agreeunit": {
  17996. "description": "合约单位",
  17997. "type": "number"
  17998. },
  17999. "asapplyid": {
  18000. "description": "策略申请ID",
  18001. "type": "integer"
  18002. },
  18003. "asname": {
  18004. "description": "策略名称",
  18005. "type": "string"
  18006. },
  18007. "asno": {
  18008. "description": "策略编号",
  18009. "type": "string"
  18010. },
  18011. "buyorsell": {
  18012. "description": "方向 - 0:买 1:卖",
  18013. "type": "integer"
  18014. },
  18015. "channelbuildtype": {
  18016. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  18017. "type": "integer"
  18018. },
  18019. "closetype": {
  18020. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  18021. "type": "integer"
  18022. },
  18023. "decimalplace": {
  18024. "description": "报价小数位",
  18025. "type": "integer"
  18026. },
  18027. "detailtype": {
  18028. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  18029. "type": "integer"
  18030. },
  18031. "exexchangecode": {
  18032. "description": "外部交易所代码",
  18033. "type": "string"
  18034. },
  18035. "exexchangename": {
  18036. "description": "外部交易所名称",
  18037. "type": "string"
  18038. },
  18039. "goodscode": {
  18040. "description": "商品代码(合约)",
  18041. "type": "string"
  18042. },
  18043. "goodsgroupid": {
  18044. "description": "商品组ID(品种ID)",
  18045. "type": "integer"
  18046. },
  18047. "goodsgroupname": {
  18048. "description": "商品组名称(品种)",
  18049. "type": "string"
  18050. },
  18051. "goodsid": {
  18052. "description": "商品ID",
  18053. "type": "integer"
  18054. },
  18055. "goodsname": {
  18056. "description": "商品名称(合约)",
  18057. "type": "string"
  18058. },
  18059. "goodunit": {
  18060. "description": "报价单位",
  18061. "type": "string"
  18062. },
  18063. "marketid": {
  18064. "description": "市场ID",
  18065. "type": "integer"
  18066. },
  18067. "orderid": {
  18068. "description": "委托单号",
  18069. "type": "string"
  18070. },
  18071. "outgoodscode": {
  18072. "description": "商品代码(外部)",
  18073. "type": "string"
  18074. },
  18075. "relatedouttradeid": {
  18076. "description": "关联外部成交单ID",
  18077. "type": "string"
  18078. },
  18079. "remark": {
  18080. "description": "备注",
  18081. "type": "string"
  18082. },
  18083. "spotcontractid": {
  18084. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  18085. "type": "integer"
  18086. },
  18087. "spotcontractno": {
  18088. "description": "现货合同编号",
  18089. "type": "string"
  18090. },
  18091. "tradeid": {
  18092. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  18093. "type": "string"
  18094. },
  18095. "tradeprice": {
  18096. "description": "成交价格",
  18097. "type": "number"
  18098. },
  18099. "tradeqty": {
  18100. "description": "成交数量",
  18101. "type": "integer"
  18102. },
  18103. "tradetime": {
  18104. "description": "成交时间",
  18105. "type": "string"
  18106. },
  18107. "updatetime": {
  18108. "description": "更新时间",
  18109. "type": "string"
  18110. }
  18111. }
  18112. },
  18113. "erms2.QuerySpotContractRsp": {
  18114. "type": "object",
  18115. "required": [
  18116. "spotcontractid"
  18117. ],
  18118. "properties": {
  18119. "accountid": {
  18120. "description": "资金账户ID",
  18121. "type": "integer"
  18122. },
  18123. "areauserid": {
  18124. "description": "所属机构",
  18125. "type": "integer"
  18126. },
  18127. "closedate": {
  18128. "description": "终止日期",
  18129. "type": "string"
  18130. },
  18131. "closeremark": {
  18132. "description": "结束备注",
  18133. "type": "string"
  18134. },
  18135. "closetradedate": {
  18136. "description": "完结交易日(yyyyMMdd)",
  18137. "type": "string"
  18138. },
  18139. "closetype": {
  18140. "description": "终止类型 - 1:违约 2:提前终止",
  18141. "type": "integer"
  18142. },
  18143. "contractamount": {
  18144. "description": "合同金额",
  18145. "type": "number"
  18146. },
  18147. "contractattachment": {
  18148. "description": "合同附件",
  18149. "type": "string"
  18150. },
  18151. "contractno": {
  18152. "description": "现货合同编号",
  18153. "type": "string"
  18154. },
  18155. "contractqty": {
  18156. "description": "合同数量(数值) (用于计算)",
  18157. "type": "number"
  18158. },
  18159. "contractqtychar": {
  18160. "description": "合同数量\\已订价数量 (用于显示)",
  18161. "type": "string"
  18162. },
  18163. "contractstatus": {
  18164. "description": "合同状态 - 0:未结束 1:已结束",
  18165. "type": "integer"
  18166. },
  18167. "contracttype": {
  18168. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  18169. "type": "integer"
  18170. },
  18171. "customeraccountid": {
  18172. "description": "客户资金账户ID",
  18173. "type": "integer"
  18174. },
  18175. "customeruserid": {
  18176. "description": "客户ID",
  18177. "type": "integer"
  18178. },
  18179. "deliverygoodsdesc": {
  18180. "description": "品种说明",
  18181. "type": "string"
  18182. },
  18183. "deliverygoodsid": {
  18184. "description": "现货品种ID",
  18185. "type": "integer"
  18186. },
  18187. "handlestatus": {
  18188. "description": "处理状态",
  18189. "type": "integer"
  18190. },
  18191. "invoiceatt": {
  18192. "description": "发票附件",
  18193. "type": "string"
  18194. },
  18195. "invoicedatetime": {
  18196. "description": "开收票更新时间",
  18197. "type": "string"
  18198. },
  18199. "invoiceopentime": {
  18200. "description": "开票时间",
  18201. "type": "string"
  18202. },
  18203. "invoiceremark": {
  18204. "description": "发票备注",
  18205. "type": "string"
  18206. },
  18207. "invoicestatus": {
  18208. "description": "开收票状态 - 0:未开票 1:已开票",
  18209. "type": "integer"
  18210. },
  18211. "lastdate": {
  18212. "description": "交货时间",
  18213. "type": "string"
  18214. },
  18215. "marketid": {
  18216. "description": "市场ID",
  18217. "type": "integer"
  18218. },
  18219. "paydatetime": {
  18220. "description": "收付款更新时间",
  18221. "type": "string"
  18222. },
  18223. "payremark": {
  18224. "description": "收付款备注",
  18225. "type": "string"
  18226. },
  18227. "paystatus": {
  18228. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  18229. "type": "integer"
  18230. },
  18231. "positionqty": {
  18232. "description": "头寸数量 - 合同数量去小数部分",
  18233. "type": "integer"
  18234. },
  18235. "producttype": {
  18236. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  18237. "type": "integer"
  18238. },
  18239. "relatedqty": {
  18240. "description": "已关联数量",
  18241. "type": "number"
  18242. },
  18243. "relatedstatus": {
  18244. "description": "关联完结状态 - 0:未结束 1:已结束",
  18245. "type": "integer"
  18246. },
  18247. "remark": {
  18248. "description": "备注",
  18249. "type": "string"
  18250. },
  18251. "signdate": {
  18252. "description": "签订日期",
  18253. "type": "string"
  18254. },
  18255. "spotcontractid": {
  18256. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  18257. "type": "string"
  18258. },
  18259. "spotdatetime": {
  18260. "description": "收发货更新时间",
  18261. "type": "string"
  18262. },
  18263. "spotprice": {
  18264. "description": "价格",
  18265. "type": "number"
  18266. },
  18267. "spotremark": {
  18268. "description": "收发货备注",
  18269. "type": "string"
  18270. },
  18271. "spotstatus": {
  18272. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  18273. "type": "integer"
  18274. },
  18275. "tradedate": {
  18276. "description": "交易日(yyyyMMdd)",
  18277. "type": "string"
  18278. },
  18279. "userid": {
  18280. "description": "业务员用户ID",
  18281. "type": "integer"
  18282. },
  18283. "warehouseid": {
  18284. "description": "仓库ID",
  18285. "type": "integer"
  18286. },
  18287. "wrfactortypeid": {
  18288. "description": "仓单要素类型ID",
  18289. "type": "integer"
  18290. },
  18291. "wrstandardid": {
  18292. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  18293. "type": "integer"
  18294. }
  18295. }
  18296. },
  18297. "erms3.AddErms2ASApplyReq": {
  18298. "type": "object",
  18299. "required": [
  18300. "asapplyid"
  18301. ],
  18302. "properties": {
  18303. "applybasis": {
  18304. "description": "申请基差",
  18305. "type": "number"
  18306. },
  18307. "applystatus": {
  18308. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  18309. "type": "integer"
  18310. },
  18311. "asapplyid": {
  18312. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  18313. "type": "integer"
  18314. },
  18315. "asname": {
  18316. "description": "策略名称",
  18317. "type": "string"
  18318. },
  18319. "asno": {
  18320. "description": "策略编号",
  18321. "type": "string"
  18322. },
  18323. "auditid": {
  18324. "description": "审核人",
  18325. "type": "integer"
  18326. },
  18327. "auditremark": {
  18328. "description": "审核备注",
  18329. "type": "string"
  18330. },
  18331. "audittime": {
  18332. "description": "审核时间",
  18333. "type": "string"
  18334. },
  18335. "biztype": {
  18336. "description": "业务类型 - 1:正向套利 2:反向套利",
  18337. "type": "integer"
  18338. },
  18339. "createtime": {
  18340. "description": "创建时间",
  18341. "type": "string"
  18342. },
  18343. "creatorid": {
  18344. "description": "创建人",
  18345. "type": "integer"
  18346. },
  18347. "deliverygoodsid": {
  18348. "description": "现货品种ID",
  18349. "type": "integer"
  18350. },
  18351. "futurequote": {
  18352. "description": "期货额度",
  18353. "type": "number"
  18354. },
  18355. "goodsgroupid": {
  18356. "description": "期货品种ID",
  18357. "type": "integer"
  18358. },
  18359. "marketid": {
  18360. "description": "市场ID",
  18361. "type": "integer"
  18362. },
  18363. "remark": {
  18364. "description": "备注",
  18365. "type": "string"
  18366. },
  18367. "spotquota": {
  18368. "description": "现货额度",
  18369. "type": "number"
  18370. },
  18371. "tradedate": {
  18372. "description": "交易日(yyyyMMdd)",
  18373. "type": "string"
  18374. },
  18375. "userid": {
  18376. "description": "所属机构",
  18377. "type": "integer"
  18378. }
  18379. }
  18380. },
  18381. "erms3.AddErms2SpotTradeApplyReq": {
  18382. "type": "object",
  18383. "required": [
  18384. "spottradeid"
  18385. ],
  18386. "properties": {
  18387. "applyjsondetail": {
  18388. "description": "申请明细(JSON)",
  18389. "type": "string"
  18390. },
  18391. "applystatus": {
  18392. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  18393. "type": "integer"
  18394. },
  18395. "areauserid": {
  18396. "description": "所属机构",
  18397. "type": "integer"
  18398. },
  18399. "auditid": {
  18400. "description": "审核人",
  18401. "type": "integer"
  18402. },
  18403. "auditremark": {
  18404. "description": "审核备注",
  18405. "type": "string"
  18406. },
  18407. "audittime": {
  18408. "description": "审核时间",
  18409. "type": "string"
  18410. },
  18411. "createtime": {
  18412. "description": "创建时间",
  18413. "type": "string"
  18414. },
  18415. "creatorid": {
  18416. "description": "创建人",
  18417. "type": "integer"
  18418. },
  18419. "deliverygoodsid": {
  18420. "description": "现货品种ID",
  18421. "type": "integer"
  18422. },
  18423. "futureaccountid": {
  18424. "description": "期货资金账户",
  18425. "type": "integer"
  18426. },
  18427. "goodsgroupid": {
  18428. "description": "期货品种",
  18429. "type": "integer"
  18430. },
  18431. "marketid": {
  18432. "description": "市场ID",
  18433. "type": "integer"
  18434. },
  18435. "remark": {
  18436. "description": "备注",
  18437. "type": "string"
  18438. },
  18439. "spotaccountid": {
  18440. "description": "现货资金账户",
  18441. "type": "integer"
  18442. },
  18443. "spottradeid": {
  18444. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  18445. "type": "integer"
  18446. },
  18447. "spottradename": {
  18448. "description": "业务名称",
  18449. "type": "string"
  18450. },
  18451. "spottradeno": {
  18452. "description": "业务编号",
  18453. "type": "string"
  18454. },
  18455. "tradedate": {
  18456. "description": "交易日(yyyyMMdd)",
  18457. "type": "string"
  18458. },
  18459. "wrstandardid": {
  18460. "description": "仓单标准ID",
  18461. "type": "integer"
  18462. }
  18463. }
  18464. },
  18465. "erms3.AddSpotContractApplyReq": {
  18466. "type": "object",
  18467. "required": [
  18468. "accountid",
  18469. "areauserid",
  18470. "contractno",
  18471. "contracttype",
  18472. "customeraccountid",
  18473. "customeruserid",
  18474. "details",
  18475. "orimargin",
  18476. "signdate"
  18477. ],
  18478. "properties": {
  18479. "accountid": {
  18480. "description": "资金账户ID",
  18481. "type": "integer"
  18482. },
  18483. "areauserid": {
  18484. "description": "所属机构",
  18485. "type": "integer"
  18486. },
  18487. "contractattachment": {
  18488. "description": "合同附件",
  18489. "type": "string"
  18490. },
  18491. "contractno": {
  18492. "description": "现货合同编号",
  18493. "type": "string"
  18494. },
  18495. "contracttype": {
  18496. "description": "现货合同类型 - 1:采购 -1:销售",
  18497. "type": "integer"
  18498. },
  18499. "creatorid": {
  18500. "description": "申请人",
  18501. "type": "integer"
  18502. },
  18503. "customeraccountid": {
  18504. "description": "客户资金账户ID",
  18505. "type": "integer"
  18506. },
  18507. "customeruserid": {
  18508. "description": "客户ID",
  18509. "type": "integer"
  18510. },
  18511. "details": {
  18512. "description": "明细",
  18513. "type": "array",
  18514. "items": {
  18515. "$ref": "#/definitions/erms3.SoptContractDetail"
  18516. }
  18517. },
  18518. "orimargin": {
  18519. "description": "初始保证金",
  18520. "type": "number"
  18521. },
  18522. "remark": {
  18523. "description": "备注",
  18524. "type": "string"
  18525. },
  18526. "signdate": {
  18527. "description": "签订日期",
  18528. "type": "string"
  18529. }
  18530. }
  18531. },
  18532. "erms3.AddSpotContractApplyRsp": {
  18533. "type": "object",
  18534. "required": [
  18535. "contractno"
  18536. ],
  18537. "properties": {
  18538. "contractno": {
  18539. "description": "现货合同编号",
  18540. "type": "string"
  18541. },
  18542. "spotcontractid": {
  18543. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  18544. "type": "integer"
  18545. }
  18546. }
  18547. },
  18548. "erms3.AddUserInfoApplyReq": {
  18549. "type": "object",
  18550. "required": [
  18551. "userid"
  18552. ],
  18553. "properties": {
  18554. "accountid": {
  18555. "description": "交易系统帐号Id (加密存储)",
  18556. "type": "integer"
  18557. },
  18558. "areacode": {
  18559. "description": "机构代码",
  18560. "type": "string"
  18561. },
  18562. "areaid": {
  18563. "description": "机构Id",
  18564. "type": "integer"
  18565. },
  18566. "attachment1": {
  18567. "description": "附件1",
  18568. "type": "string"
  18569. },
  18570. "attachment2": {
  18571. "description": "附件2",
  18572. "type": "string"
  18573. },
  18574. "attachment3": {
  18575. "description": "附件3",
  18576. "type": "string"
  18577. },
  18578. "attachment4": {
  18579. "description": "附件4",
  18580. "type": "string"
  18581. },
  18582. "attachment5": {
  18583. "description": "附件5",
  18584. "type": "string"
  18585. },
  18586. "auditedby": {
  18587. "description": "审核人",
  18588. "type": "string"
  18589. },
  18590. "auditime": {
  18591. "description": "审核时间",
  18592. "type": "string"
  18593. },
  18594. "auditsrc": {
  18595. "description": "审核来源 - 1:管理端 2:终端",
  18596. "type": "integer"
  18597. },
  18598. "bankaccount": {
  18599. "description": "银行帐号 (加密存储)",
  18600. "type": "string"
  18601. },
  18602. "bankaccountname": {
  18603. "description": "收款人名称",
  18604. "type": "string"
  18605. },
  18606. "bankcardbackphotourl": {
  18607. "description": "银行卡背面照地址",
  18608. "type": "string"
  18609. },
  18610. "bankcardfrontphotourl": {
  18611. "description": "银行卡正面照地址",
  18612. "type": "string"
  18613. },
  18614. "bankid": {
  18615. "description": "银行编码",
  18616. "type": "string"
  18617. },
  18618. "bankname": {
  18619. "description": "银行名称",
  18620. "type": "string"
  18621. },
  18622. "bankpictureurl": {
  18623. "description": "银行卡正面地址",
  18624. "type": "string"
  18625. },
  18626. "biznature": {
  18627. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  18628. "type": "integer"
  18629. },
  18630. "bizscope": {
  18631. "description": "企业经营范围(企业)",
  18632. "type": "string"
  18633. },
  18634. "biztype": {
  18635. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  18636. "type": "integer"
  18637. },
  18638. "brokerid": {
  18639. "description": "经纪人ID(加密存储)",
  18640. "type": "string"
  18641. },
  18642. "cardaddress": {
  18643. "description": "证件地址 (加密存储)",
  18644. "type": "string"
  18645. },
  18646. "cardbackphotourl": {
  18647. "description": "背面证件照地址",
  18648. "type": "string"
  18649. },
  18650. "cardfrontphotourl": {
  18651. "description": "正面证件照地址",
  18652. "type": "string"
  18653. },
  18654. "cardnum": {
  18655. "description": "证件号码 (加密存储)",
  18656. "type": "string"
  18657. },
  18658. "cardtype": {
  18659. "description": "证件类型",
  18660. "type": "integer"
  18661. },
  18662. "cityid": {
  18663. "description": "市",
  18664. "type": "integer"
  18665. },
  18666. "company": {
  18667. "description": "公司(个人)",
  18668. "type": "string"
  18669. },
  18670. "contactcardbackphotourl": {
  18671. "description": "联系人证件背面图片地址",
  18672. "type": "string"
  18673. },
  18674. "contactcardfrontphotourl": {
  18675. "description": "联系人证件正面图片地址",
  18676. "type": "string"
  18677. },
  18678. "contactname": {
  18679. "description": "联系人",
  18680. "type": "string"
  18681. },
  18682. "countryid": {
  18683. "description": "国家",
  18684. "type": "integer"
  18685. },
  18686. "createtime": {
  18687. "description": "开户申请时间",
  18688. "type": "string"
  18689. },
  18690. "cusbankid": {
  18691. "description": "签约类型",
  18692. "type": "string"
  18693. },
  18694. "cusbankname": {
  18695. "description": "签约类型名称",
  18696. "type": "string"
  18697. },
  18698. "customername": {
  18699. "description": "客户名称(企业名称)",
  18700. "type": "string"
  18701. },
  18702. "districtid": {
  18703. "description": "地区",
  18704. "type": "integer"
  18705. },
  18706. "email": {
  18707. "description": "Email地址(加密存储)",
  18708. "type": "string"
  18709. },
  18710. "halfbodyphotourl": {
  18711. "description": "半身照地址",
  18712. "type": "string"
  18713. },
  18714. "headurl": {
  18715. "description": "头像地址",
  18716. "type": "string"
  18717. },
  18718. "ipaddress": {
  18719. "description": "IP地址",
  18720. "type": "string"
  18721. },
  18722. "isvalidate": {
  18723. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  18724. "type": "string"
  18725. },
  18726. "legalcardbackphotourl": {
  18727. "description": "法人身份证背面照地址",
  18728. "type": "string"
  18729. },
  18730. "legalcardfrontphotourl": {
  18731. "description": "法人身份证正面照地址",
  18732. "type": "string"
  18733. },
  18734. "legalpersonname": {
  18735. "description": "法人姓名(企业)",
  18736. "type": "string"
  18737. },
  18738. "logincode": {
  18739. "description": "登录帐号 (加密存储)",
  18740. "type": "string"
  18741. },
  18742. "memberareaid": {
  18743. "description": "所属会员ID",
  18744. "type": "integer"
  18745. },
  18746. "mobile2": {
  18747. "description": "手机号码[明文-尚志]",
  18748. "type": "string"
  18749. },
  18750. "mobilephone": {
  18751. "description": "手机号码 (加密存储)",
  18752. "type": "string"
  18753. },
  18754. "modifiedby": {
  18755. "description": "修改人帐号",
  18756. "type": "integer"
  18757. },
  18758. "modifiedtime": {
  18759. "description": "修改时间",
  18760. "type": "string"
  18761. },
  18762. "nickname": {
  18763. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  18764. "type": "string"
  18765. },
  18766. "openmode": {
  18767. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  18768. "type": "integer"
  18769. },
  18770. "otherurl": {
  18771. "description": "其它图片地址[使用分号分隔]",
  18772. "type": "string"
  18773. },
  18774. "postalcode": {
  18775. "description": "邮政编码",
  18776. "type": "string"
  18777. },
  18778. "provinceid": {
  18779. "description": "省",
  18780. "type": "integer"
  18781. },
  18782. "proxystatementurl": {
  18783. "description": "授权委托书",
  18784. "type": "string"
  18785. },
  18786. "qq": {
  18787. "description": "QQ(加密存储",
  18788. "type": "string"
  18789. },
  18790. "referral": {
  18791. "description": "推荐人编码",
  18792. "type": "string"
  18793. },
  18794. "remark": {
  18795. "description": "备注",
  18796. "type": "string"
  18797. },
  18798. "removebeforestatus": {
  18799. "description": "REMOVEBEFORESTATUS",
  18800. "type": "integer"
  18801. },
  18802. "sex": {
  18803. "description": "性别 - 0:女 1:男",
  18804. "type": "integer"
  18805. },
  18806. "signedstatus": {
  18807. "description": "账户一号签签约状态",
  18808. "type": "integer"
  18809. },
  18810. "signpdfurl": {
  18811. "description": "签约pdf文件",
  18812. "type": "string"
  18813. },
  18814. "subbranch": {
  18815. "description": "开户支行",
  18816. "type": "string"
  18817. },
  18818. "taxpayernum": {
  18819. "description": "纳税人识别号",
  18820. "type": "string"
  18821. },
  18822. "telphone": {
  18823. "description": "联系电话(加密存储)",
  18824. "type": "string"
  18825. },
  18826. "userid": {
  18827. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  18828. "type": "integer"
  18829. },
  18830. "userinfotype": {
  18831. "description": "用户信息类型 - 1:个人 2:企业",
  18832. "type": "integer"
  18833. },
  18834. "username": {
  18835. "description": "用户姓名",
  18836. "type": "string"
  18837. },
  18838. "userstate": {
  18839. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  18840. "type": "integer"
  18841. },
  18842. "usertype": {
  18843. "description": "用户类型 - 1:投资者 2:机构",
  18844. "type": "integer"
  18845. },
  18846. "videourl": {
  18847. "description": "视频地址",
  18848. "type": "string"
  18849. },
  18850. "wechat": {
  18851. "description": "微信号 (加密存储)",
  18852. "type": "string"
  18853. }
  18854. }
  18855. },
  18856. "erms3.CustomerInfo": {
  18857. "type": "object",
  18858. "required": [
  18859. "userid"
  18860. ],
  18861. "properties": {
  18862. "accountids": {
  18863. "description": "资金账户ID列表",
  18864. "type": "array",
  18865. "items": {
  18866. "type": "integer"
  18867. }
  18868. },
  18869. "customername": {
  18870. "description": "名称(企业名称)",
  18871. "type": "string"
  18872. },
  18873. "mobile": {
  18874. "description": "手机号码",
  18875. "type": "string"
  18876. },
  18877. "userid": {
  18878. "description": "用户ID",
  18879. "type": "integer"
  18880. }
  18881. }
  18882. },
  18883. "erms3.ModifyUserInfoApplyReq": {
  18884. "type": "object",
  18885. "required": [
  18886. "userid"
  18887. ],
  18888. "properties": {
  18889. "accountid": {
  18890. "description": "交易系统帐号Id (加密存储)",
  18891. "type": "integer"
  18892. },
  18893. "areacode": {
  18894. "description": "机构代码",
  18895. "type": "string"
  18896. },
  18897. "areaid": {
  18898. "description": "机构Id",
  18899. "type": "integer"
  18900. },
  18901. "attachment1": {
  18902. "description": "附件1",
  18903. "type": "string"
  18904. },
  18905. "attachment2": {
  18906. "description": "附件2",
  18907. "type": "string"
  18908. },
  18909. "attachment3": {
  18910. "description": "附件3",
  18911. "type": "string"
  18912. },
  18913. "attachment4": {
  18914. "description": "附件4",
  18915. "type": "string"
  18916. },
  18917. "attachment5": {
  18918. "description": "附件5",
  18919. "type": "string"
  18920. },
  18921. "auditedby": {
  18922. "description": "审核人",
  18923. "type": "string"
  18924. },
  18925. "auditime": {
  18926. "description": "审核时间",
  18927. "type": "string"
  18928. },
  18929. "auditsrc": {
  18930. "description": "审核来源 - 1:管理端 2:终端",
  18931. "type": "integer"
  18932. },
  18933. "bankaccount": {
  18934. "description": "银行帐号 (加密存储)",
  18935. "type": "string"
  18936. },
  18937. "bankaccountname": {
  18938. "description": "收款人名称",
  18939. "type": "string"
  18940. },
  18941. "bankcardbackphotourl": {
  18942. "description": "银行卡背面照地址",
  18943. "type": "string"
  18944. },
  18945. "bankcardfrontphotourl": {
  18946. "description": "银行卡正面照地址",
  18947. "type": "string"
  18948. },
  18949. "bankid": {
  18950. "description": "银行编码",
  18951. "type": "string"
  18952. },
  18953. "bankname": {
  18954. "description": "银行名称",
  18955. "type": "string"
  18956. },
  18957. "bankpictureurl": {
  18958. "description": "银行卡正面地址",
  18959. "type": "string"
  18960. },
  18961. "biznature": {
  18962. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  18963. "type": "integer"
  18964. },
  18965. "bizscope": {
  18966. "description": "企业经营范围(企业)",
  18967. "type": "string"
  18968. },
  18969. "biztype": {
  18970. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  18971. "type": "integer"
  18972. },
  18973. "brokerid": {
  18974. "description": "经纪人ID(加密存储)",
  18975. "type": "string"
  18976. },
  18977. "cardaddress": {
  18978. "description": "证件地址 (加密存储)",
  18979. "type": "string"
  18980. },
  18981. "cardbackphotourl": {
  18982. "description": "背面证件照地址",
  18983. "type": "string"
  18984. },
  18985. "cardfrontphotourl": {
  18986. "description": "正面证件照地址",
  18987. "type": "string"
  18988. },
  18989. "cardnum": {
  18990. "description": "证件号码 (加密存储)",
  18991. "type": "string"
  18992. },
  18993. "cardtype": {
  18994. "description": "证件类型",
  18995. "type": "integer"
  18996. },
  18997. "cityid": {
  18998. "description": "市",
  18999. "type": "integer"
  19000. },
  19001. "company": {
  19002. "description": "公司(个人)",
  19003. "type": "string"
  19004. },
  19005. "contactcardbackphotourl": {
  19006. "description": "联系人证件背面图片地址",
  19007. "type": "string"
  19008. },
  19009. "contactcardfrontphotourl": {
  19010. "description": "联系人证件正面图片地址",
  19011. "type": "string"
  19012. },
  19013. "contactname": {
  19014. "description": "联系人",
  19015. "type": "string"
  19016. },
  19017. "countryid": {
  19018. "description": "国家",
  19019. "type": "integer"
  19020. },
  19021. "createtime": {
  19022. "description": "开户申请时间",
  19023. "type": "string"
  19024. },
  19025. "cusbankid": {
  19026. "description": "签约类型",
  19027. "type": "string"
  19028. },
  19029. "cusbankname": {
  19030. "description": "签约类型名称",
  19031. "type": "string"
  19032. },
  19033. "customername": {
  19034. "description": "客户名称(企业名称)",
  19035. "type": "string"
  19036. },
  19037. "districtid": {
  19038. "description": "地区",
  19039. "type": "integer"
  19040. },
  19041. "email": {
  19042. "description": "Email地址(加密存储)",
  19043. "type": "string"
  19044. },
  19045. "halfbodyphotourl": {
  19046. "description": "半身照地址",
  19047. "type": "string"
  19048. },
  19049. "headurl": {
  19050. "description": "头像地址",
  19051. "type": "string"
  19052. },
  19053. "ipaddress": {
  19054. "description": "IP地址",
  19055. "type": "string"
  19056. },
  19057. "isvalidate": {
  19058. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  19059. "type": "string"
  19060. },
  19061. "legalcardbackphotourl": {
  19062. "description": "法人身份证背面照地址",
  19063. "type": "string"
  19064. },
  19065. "legalcardfrontphotourl": {
  19066. "description": "法人身份证正面照地址",
  19067. "type": "string"
  19068. },
  19069. "legalpersonname": {
  19070. "description": "法人姓名(企业)",
  19071. "type": "string"
  19072. },
  19073. "logincode": {
  19074. "description": "登录帐号 (加密存储)",
  19075. "type": "string"
  19076. },
  19077. "memberareaid": {
  19078. "description": "所属会员ID",
  19079. "type": "integer"
  19080. },
  19081. "mobile2": {
  19082. "description": "手机号码[明文-尚志]",
  19083. "type": "string"
  19084. },
  19085. "mobilephone": {
  19086. "description": "手机号码 (加密存储)",
  19087. "type": "string"
  19088. },
  19089. "modifiedby": {
  19090. "description": "修改人帐号",
  19091. "type": "integer"
  19092. },
  19093. "modifiedtime": {
  19094. "description": "修改时间",
  19095. "type": "string"
  19096. },
  19097. "nickname": {
  19098. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  19099. "type": "string"
  19100. },
  19101. "openmode": {
  19102. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  19103. "type": "integer"
  19104. },
  19105. "otherurl": {
  19106. "description": "其它图片地址[使用分号分隔]",
  19107. "type": "string"
  19108. },
  19109. "postalcode": {
  19110. "description": "邮政编码",
  19111. "type": "string"
  19112. },
  19113. "provinceid": {
  19114. "description": "省",
  19115. "type": "integer"
  19116. },
  19117. "proxystatementurl": {
  19118. "description": "授权委托书",
  19119. "type": "string"
  19120. },
  19121. "qq": {
  19122. "description": "QQ(加密存储",
  19123. "type": "string"
  19124. },
  19125. "referral": {
  19126. "description": "推荐人编码",
  19127. "type": "string"
  19128. },
  19129. "remark": {
  19130. "description": "备注",
  19131. "type": "string"
  19132. },
  19133. "removebeforestatus": {
  19134. "description": "REMOVEBEFORESTATUS",
  19135. "type": "integer"
  19136. },
  19137. "sex": {
  19138. "description": "性别 - 0:女 1:男",
  19139. "type": "integer"
  19140. },
  19141. "signedstatus": {
  19142. "description": "账户一号签签约状态",
  19143. "type": "integer"
  19144. },
  19145. "signpdfurl": {
  19146. "description": "签约pdf文件",
  19147. "type": "string"
  19148. },
  19149. "subbranch": {
  19150. "description": "开户支行",
  19151. "type": "string"
  19152. },
  19153. "taxpayernum": {
  19154. "description": "纳税人识别号",
  19155. "type": "string"
  19156. },
  19157. "telphone": {
  19158. "description": "联系电话(加密存储)",
  19159. "type": "string"
  19160. },
  19161. "userid": {
  19162. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  19163. "type": "integer"
  19164. },
  19165. "userinfotype": {
  19166. "description": "用户信息类型 - 1:个人 2:企业",
  19167. "type": "integer"
  19168. },
  19169. "username": {
  19170. "description": "用户姓名",
  19171. "type": "string"
  19172. },
  19173. "userstate": {
  19174. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  19175. "type": "integer"
  19176. },
  19177. "usertype": {
  19178. "description": "用户类型 - 1:投资者 2:机构",
  19179. "type": "integer"
  19180. },
  19181. "videourl": {
  19182. "description": "视频地址",
  19183. "type": "string"
  19184. },
  19185. "wechat": {
  19186. "description": "微信号 (加密存储)",
  19187. "type": "string"
  19188. }
  19189. }
  19190. },
  19191. "erms3.QryAuditContractRsp": {
  19192. "type": "object",
  19193. "required": [
  19194. "matchcustomername",
  19195. "spotcontractid"
  19196. ],
  19197. "properties": {
  19198. "accountid": {
  19199. "description": "交易员ID",
  19200. "type": "string"
  19201. },
  19202. "applystatus": {
  19203. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  19204. "type": "integer"
  19205. },
  19206. "curdeliveryqty": {
  19207. "description": "未交收量",
  19208. "type": "integer"
  19209. },
  19210. "customername": {
  19211. "description": "采购方ID",
  19212. "type": "string"
  19213. },
  19214. "deliverygoodsid": {
  19215. "description": "品种ID",
  19216. "type": "string"
  19217. },
  19218. "deliveryqty": {
  19219. "description": "交收量",
  19220. "type": "integer"
  19221. },
  19222. "enumdicname": {
  19223. "description": "单位名称",
  19224. "type": "string"
  19225. },
  19226. "matchaccountid": {
  19227. "description": "业务员ID",
  19228. "type": "string"
  19229. },
  19230. "matchcustomername": {
  19231. "description": "销售方ID",
  19232. "type": "string"
  19233. },
  19234. "pricedqty": {
  19235. "description": "定价量",
  19236. "type": "number"
  19237. },
  19238. "signdate": {
  19239. "description": "签订日期",
  19240. "type": "string"
  19241. },
  19242. "spotcontractid": {
  19243. "description": "合同ID",
  19244. "type": "string"
  19245. },
  19246. "totaldqty": {
  19247. "description": "合同量",
  19248. "type": "number"
  19249. },
  19250. "unpricedqty": {
  19251. "description": "未定价量",
  19252. "type": "number"
  19253. },
  19254. "wrstandardname": {
  19255. "description": "商品名称",
  19256. "type": "string"
  19257. }
  19258. }
  19259. },
  19260. "erms3.QryPendingBizRsp": {
  19261. "type": "object",
  19262. "properties": {
  19263. "accountid": {
  19264. "description": "现货账户",
  19265. "type": "string"
  19266. },
  19267. "areaname": {
  19268. "description": "所属部门",
  19269. "type": "string"
  19270. },
  19271. "bizid": {
  19272. "description": "业务ID",
  19273. "type": "string"
  19274. },
  19275. "bizname": {
  19276. "description": "业务名称",
  19277. "type": "string"
  19278. },
  19279. "status": {
  19280. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  19281. "type": "integer"
  19282. },
  19283. "type": {
  19284. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  19285. "type": "integer"
  19286. }
  19287. }
  19288. },
  19289. "erms3.QueryBusinessInfoRsp": {
  19290. "type": "object",
  19291. "properties": {
  19292. "businessid": {
  19293. "description": "业务ID.",
  19294. "type": "integer"
  19295. },
  19296. "buyamount": {
  19297. "description": "采购额.",
  19298. "type": "number"
  19299. },
  19300. "buyqty": {
  19301. "description": "采购量.",
  19302. "type": "string"
  19303. },
  19304. "futurepl": {
  19305. "description": "期货盈亏.",
  19306. "type": "number"
  19307. },
  19308. "futureqty": {
  19309. "description": "期货敞口.",
  19310. "type": "string"
  19311. },
  19312. "goodsid": {
  19313. "description": "商品名称/商品代码.",
  19314. "type": "string"
  19315. },
  19316. "hedgingqty": {
  19317. "description": "套保量.",
  19318. "type": "string"
  19319. },
  19320. "sellamount": {
  19321. "description": "销售额.",
  19322. "type": "number"
  19323. },
  19324. "sellqty": {
  19325. "description": "销售量.",
  19326. "type": "string"
  19327. },
  19328. "spotmarketvalue": {
  19329. "description": "现货市值.",
  19330. "type": "number"
  19331. },
  19332. "spotpl": {
  19333. "description": "浮动权益.",
  19334. "type": "number"
  19335. },
  19336. "spotqty": {
  19337. "description": "现货量.",
  19338. "type": "string"
  19339. },
  19340. "statu": {
  19341. "description": "状态,0-未结束 1-已结束.",
  19342. "type": "integer"
  19343. },
  19344. "totalpl": {
  19345. "description": "总盈亏.",
  19346. "type": "number"
  19347. },
  19348. "totalqty": {
  19349. "description": "总敞口.",
  19350. "type": "string"
  19351. },
  19352. "type": {
  19353. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  19354. "type": "integer"
  19355. }
  19356. }
  19357. },
  19358. "erms3.QuerySpotContractAppleFormRsp": {
  19359. "type": "object",
  19360. "properties": {
  19361. "goodses": {
  19362. "description": "合约列表",
  19363. "type": "array",
  19364. "items": {
  19365. "$ref": "#/definitions/models.GoodsIDAndName"
  19366. }
  19367. },
  19368. "oppositeusers": {
  19369. "description": "对方账号列表",
  19370. "type": "array",
  19371. "items": {
  19372. "$ref": "#/definitions/erms3.CustomerInfo"
  19373. }
  19374. },
  19375. "ouruser": {
  19376. "description": "我方账号",
  19377. "$ref": "#/definitions/erms3.CustomerInfo"
  19378. },
  19379. "warehouseinfos": {
  19380. "description": "仓库信息列表",
  19381. "type": "array",
  19382. "items": {
  19383. "$ref": "#/definitions/models.Warehouseinfo"
  19384. }
  19385. },
  19386. "wrstandards": {
  19387. "description": "仓单标准列表",
  19388. "type": "array",
  19389. "items": {
  19390. "$ref": "#/definitions/models.WRStandardInfo"
  19391. }
  19392. }
  19393. }
  19394. },
  19395. "erms3.QuerySpotContractInfoRsp": {
  19396. "type": "object",
  19397. "properties": {
  19398. "accountid": {
  19399. "description": "表示交易员ID.",
  19400. "type": "integer"
  19401. },
  19402. "curdeliveryqty": {
  19403. "description": "表示未交收量.",
  19404. "type": "number"
  19405. },
  19406. "customername": {
  19407. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  19408. "type": "string"
  19409. },
  19410. "deliverygoodsid": {
  19411. "description": "表示品种ID.",
  19412. "type": "string"
  19413. },
  19414. "deliveryqty": {
  19415. "description": "表示交收量.",
  19416. "type": "number"
  19417. },
  19418. "matchaccountid": {
  19419. "description": "表示业务员ID.",
  19420. "type": "integer"
  19421. },
  19422. "matchcustomername": {
  19423. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  19424. "type": "string"
  19425. },
  19426. "priceqty": {
  19427. "description": "表示定价量.",
  19428. "type": "number"
  19429. },
  19430. "relatedbizid": {
  19431. "description": "表示业务ID.",
  19432. "type": "string"
  19433. },
  19434. "signdate": {
  19435. "description": "表示签订日期.",
  19436. "type": "string"
  19437. },
  19438. "spotcontractid": {
  19439. "description": "合同ID",
  19440. "type": "string"
  19441. },
  19442. "status": {
  19443. "description": "表示状态,0-履约中 1-已完成.",
  19444. "type": "integer"
  19445. },
  19446. "totalqty": {
  19447. "description": "表示合同量.",
  19448. "type": "number"
  19449. },
  19450. "unpricedqty": {
  19451. "description": "表示未定价量.",
  19452. "type": "number"
  19453. },
  19454. "wrstandardname": {
  19455. "description": "表示商品ID.",
  19456. "type": "string"
  19457. }
  19458. }
  19459. },
  19460. "erms3.QueryUserInfoAppliesRsp": {
  19461. "type": "object",
  19462. "required": [
  19463. "userid"
  19464. ],
  19465. "properties": {
  19466. "biznature": {
  19467. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  19468. "type": "integer"
  19469. },
  19470. "contactname": {
  19471. "description": "联系人",
  19472. "type": "string"
  19473. },
  19474. "createtime": {
  19475. "description": "开户申请时间",
  19476. "type": "string"
  19477. },
  19478. "userid": {
  19479. "description": "用户ID(自增ID)",
  19480. "type": "integer"
  19481. },
  19482. "userinfotype": {
  19483. "description": "用户信息类型 - 1:个人 2:企业",
  19484. "type": "integer"
  19485. },
  19486. "username": {
  19487. "description": "用户姓名",
  19488. "type": "string"
  19489. },
  19490. "userstate": {
  19491. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  19492. "type": "integer"
  19493. }
  19494. }
  19495. },
  19496. "erms3.QueryUserInfosRsp": {
  19497. "type": "object",
  19498. "required": [
  19499. "userid"
  19500. ],
  19501. "properties": {
  19502. "biznature": {
  19503. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  19504. "type": "integer"
  19505. },
  19506. "contactname": {
  19507. "description": "联系人",
  19508. "type": "string"
  19509. },
  19510. "customername": {
  19511. "description": "客户名称(企业名称)",
  19512. "type": "string"
  19513. },
  19514. "userid": {
  19515. "description": "用户ID",
  19516. "type": "integer"
  19517. },
  19518. "userinfotype": {
  19519. "description": "用户信息类型 - 1:个人 2:企业",
  19520. "type": "integer"
  19521. },
  19522. "userstatus": {
  19523. "description": "用户状态 - 1:正常 2:注销",
  19524. "type": "integer"
  19525. }
  19526. }
  19527. },
  19528. "erms3.SoptContractDetail": {
  19529. "type": "object",
  19530. "required": [
  19531. "deliverygoodsid",
  19532. "producttype",
  19533. "unitname",
  19534. "warehouseid",
  19535. "wrstandardid",
  19536. "wrstandardname"
  19537. ],
  19538. "properties": {
  19539. "deliverygoodsdesc": {
  19540. "description": "现货品种说明",
  19541. "type": "string"
  19542. },
  19543. "deliverygoodsid": {
  19544. "description": "现货品种ID",
  19545. "type": "integer"
  19546. },
  19547. "deliverygoodsname": {
  19548. "description": "现货品种名称",
  19549. "type": "string"
  19550. },
  19551. "pointdesc": {
  19552. "description": "点价描述",
  19553. "type": "string"
  19554. },
  19555. "producttype": {
  19556. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  19557. "type": "integer"
  19558. },
  19559. "producttypename": {
  19560. "description": "产品类型名称",
  19561. "type": "string"
  19562. },
  19563. "spotPointOrderVoList": {
  19564. "description": "点价列表",
  19565. "type": "array",
  19566. "items": {
  19567. "$ref": "#/definitions/erms3.SpotPointOrder"
  19568. }
  19569. },
  19570. "spotPriceOrderList": {
  19571. "description": "定价列表",
  19572. "type": "array",
  19573. "items": {
  19574. "$ref": "#/definitions/erms3.SpotPriceOrder"
  19575. }
  19576. },
  19577. "unitname": {
  19578. "description": "单位名称",
  19579. "type": "string"
  19580. },
  19581. "warehouseid": {
  19582. "description": "仓库ID",
  19583. "type": "integer"
  19584. },
  19585. "warehousename": {
  19586. "description": "仓库名称",
  19587. "type": "string"
  19588. },
  19589. "wrstandardid": {
  19590. "description": "交易标的ID",
  19591. "type": "integer"
  19592. },
  19593. "wrstandardname": {
  19594. "description": "交易标的名称",
  19595. "type": "string"
  19596. }
  19597. }
  19598. },
  19599. "erms3.SpotPointOrder": {
  19600. "type": "object",
  19601. "required": [
  19602. "basic",
  19603. "goodsid",
  19604. "qty"
  19605. ],
  19606. "properties": {
  19607. "basic": {
  19608. "description": "基差",
  19609. "type": "number"
  19610. },
  19611. "deliveryenddate": {
  19612. "description": "交收结束日期",
  19613. "type": "string"
  19614. },
  19615. "deliverystartdate": {
  19616. "description": "交收开始日期",
  19617. "type": "string"
  19618. },
  19619. "enddate": {
  19620. "description": "点价结束日期",
  19621. "type": "string"
  19622. },
  19623. "goodsid": {
  19624. "description": "商品ID",
  19625. "type": "integer"
  19626. },
  19627. "goodsname": {
  19628. "description": "商品名称",
  19629. "type": "string"
  19630. },
  19631. "qty": {
  19632. "description": "数量",
  19633. "type": "number"
  19634. },
  19635. "startdate": {
  19636. "description": "点价开始日期",
  19637. "type": "string"
  19638. }
  19639. }
  19640. },
  19641. "erms3.SpotPriceOrder": {
  19642. "type": "object",
  19643. "required": [
  19644. "amount",
  19645. "price",
  19646. "qty"
  19647. ],
  19648. "properties": {
  19649. "amount": {
  19650. "description": "金额",
  19651. "type": "number"
  19652. },
  19653. "deliveryenddate": {
  19654. "description": "交收结束日期",
  19655. "type": "string"
  19656. },
  19657. "deliverystartdate": {
  19658. "description": "交收开始日期",
  19659. "type": "string"
  19660. },
  19661. "price": {
  19662. "description": "价格",
  19663. "type": "number"
  19664. },
  19665. "qty": {
  19666. "description": "数量",
  19667. "type": "number"
  19668. }
  19669. }
  19670. },
  19671. "hsby.GetHsbyMyCountRsp": {
  19672. "type": "object",
  19673. "properties": {
  19674. "myCouponCount": {
  19675. "description": "我的优惠卷数量",
  19676. "type": "integer"
  19677. },
  19678. "myOrderDetailListingCount": {
  19679. "description": "我的订单求购中数量",
  19680. "type": "integer"
  19681. },
  19682. "myOrderDetailPreCount": {
  19683. "description": "我的订单抢购中数量",
  19684. "type": "integer"
  19685. },
  19686. "myPackageUnReceiveCount": {
  19687. "description": "我的包裹待收货数量",
  19688. "type": "integer"
  19689. },
  19690. "myPackageUnSendCount": {
  19691. "description": "我的包裹待发货数量",
  19692. "type": "integer"
  19693. },
  19694. "myPayOrderCount": {
  19695. "description": "我的订单待付款数量",
  19696. "type": "integer"
  19697. }
  19698. }
  19699. },
  19700. "hsby.QueryProvincesAndCitiesRsp": {
  19701. "type": "object",
  19702. "properties": {
  19703. "cities": {
  19704. "description": "市",
  19705. "type": "array",
  19706. "items": {
  19707. "$ref": "#/definitions/models.Division"
  19708. }
  19709. },
  19710. "province": {
  19711. "description": "省",
  19712. "$ref": "#/definitions/models.Division"
  19713. }
  19714. }
  19715. },
  19716. "models.Arearole": {
  19717. "type": "object",
  19718. "required": [
  19719. "roletype",
  19720. "userid"
  19721. ],
  19722. "properties": {
  19723. "createtime": {
  19724. "description": "创建时间",
  19725. "type": "string"
  19726. },
  19727. "creatorid": {
  19728. "description": "创建人ID",
  19729. "type": "integer"
  19730. },
  19731. "fromuserid": {
  19732. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  19733. "type": "integer"
  19734. },
  19735. "isreturnscore": {
  19736. "description": "是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还",
  19737. "type": "integer"
  19738. },
  19739. "modifierid": {
  19740. "description": "修改人ID",
  19741. "type": "integer"
  19742. },
  19743. "modifytime": {
  19744. "description": "修改时间",
  19745. "type": "string"
  19746. },
  19747. "orgtype": {
  19748. "description": "组织机构类型 1:机构\\分支节点 2:交易员\\叶子节点 3:部门\\分支节点",
  19749. "type": "integer"
  19750. },
  19751. "outuserid": {
  19752. "description": "外部账户[场外期权做市商]",
  19753. "type": "string"
  19754. },
  19755. "parentuserid": {
  19756. "description": "上级组织机构(组织机构)",
  19757. "type": "integer"
  19758. },
  19759. "roletype": {
  19760. "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:门店",
  19761. "type": "integer"
  19762. },
  19763. "rootuserid": {
  19764. "description": "顶级组织机构用户ID(组织机构)",
  19765. "type": "integer"
  19766. },
  19767. "shoppassword": {
  19768. "description": "商城店铺登陆密码(商城店铺角色使用)",
  19769. "type": "string"
  19770. },
  19771. "sublevelpath": {
  19772. "description": "组织机构层级路径(逗号分隔,首尾加逗号)",
  19773. "type": "string"
  19774. },
  19775. "suborgtype": {
  19776. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  19777. "type": "integer"
  19778. },
  19779. "tradeaccountid": {
  19780. "description": "默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount",
  19781. "type": "integer"
  19782. },
  19783. "transurl": {
  19784. "description": "物流地址(物流机构)",
  19785. "type": "string"
  19786. },
  19787. "userid": {
  19788. "description": "机构用户ID其他做市关系,都设置为 1",
  19789. "type": "integer"
  19790. }
  19791. }
  19792. },
  19793. "models.Clientfixedadconfig": {
  19794. "type": "object",
  19795. "required": [
  19796. "adsort",
  19797. "adtype"
  19798. ],
  19799. "properties": {
  19800. "adsort": {
  19801. "description": "排序",
  19802. "type": "integer"
  19803. },
  19804. "adtype": {
  19805. "description": "广告位类型 - 1:新品抢购(HSBY)",
  19806. "type": "integer"
  19807. },
  19808. "areauserid": {
  19809. "description": "所属机构ID",
  19810. "type": "integer"
  19811. },
  19812. "createdate": {
  19813. "description": "创建时间",
  19814. "type": "string"
  19815. },
  19816. "creatorid": {
  19817. "description": "创建人",
  19818. "type": "integer"
  19819. },
  19820. "imagepath": {
  19821. "description": "图片",
  19822. "type": "string"
  19823. },
  19824. "isshow": {
  19825. "description": "是否展示 - 0:不展示 1:展示",
  19826. "type": "integer"
  19827. },
  19828. "modifierid": {
  19829. "description": "操作人",
  19830. "type": "integer"
  19831. },
  19832. "recsize": {
  19833. "description": "推荐尺寸",
  19834. "type": "string"
  19835. },
  19836. "title": {
  19837. "description": "标题",
  19838. "type": "string"
  19839. },
  19840. "updatedate": {
  19841. "description": "更新时间",
  19842. "type": "string"
  19843. },
  19844. "urlcontent": {
  19845. "description": "链接(地址或商品ID)",
  19846. "type": "string"
  19847. },
  19848. "urltype": {
  19849. "description": "链接类型 - 1:直接地址 2:商品ID",
  19850. "type": "integer"
  19851. }
  19852. }
  19853. },
  19854. "models.DgFactoryItem": {
  19855. "type": "object",
  19856. "properties": {
  19857. "dgfactoryitemid": {
  19858. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  19859. "type": "integer"
  19860. },
  19861. "dgfactoryitemtypeid": {
  19862. "description": "要素项类型",
  19863. "type": "integer"
  19864. },
  19865. "dgfactoryitemvalue": {
  19866. "description": "要素项值(类型为仓库时填写仓库名称)",
  19867. "type": "string"
  19868. },
  19869. "orderindex": {
  19870. "description": "顺序",
  19871. "type": "integer"
  19872. }
  19873. }
  19874. },
  19875. "models.Division": {
  19876. "type": "object",
  19877. "required": [
  19878. "autoid",
  19879. "divisioncode"
  19880. ],
  19881. "properties": {
  19882. "autoid": {
  19883. "description": "自增ID",
  19884. "type": "integer"
  19885. },
  19886. "divisioncode": {
  19887. "description": "行政代码",
  19888. "type": "string"
  19889. },
  19890. "divisionlevel": {
  19891. "description": "行政级别",
  19892. "type": "string"
  19893. },
  19894. "divisionname": {
  19895. "description": "行政名称",
  19896. "type": "string"
  19897. },
  19898. "modifierid": {
  19899. "description": "修改人",
  19900. "type": "integer"
  19901. },
  19902. "modifytime": {
  19903. "description": "修改时间",
  19904. "type": "string"
  19905. },
  19906. "parentcode": {
  19907. "description": "上级行政代码",
  19908. "type": "string"
  19909. },
  19910. "pathname": {
  19911. "description": "路径名称",
  19912. "type": "string"
  19913. },
  19914. "postcode": {
  19915. "description": "邮政编码",
  19916. "type": "string"
  19917. },
  19918. "separablename": {
  19919. "description": "可拆分的全称",
  19920. "type": "string"
  19921. },
  19922. "shortcode": {
  19923. "description": "地区简码",
  19924. "type": "string"
  19925. }
  19926. }
  19927. },
  19928. "models.Enumdicitem": {
  19929. "type": "object",
  19930. "required": [
  19931. "autoid",
  19932. "enumdiccode",
  19933. "enumdicid",
  19934. "enumitemname"
  19935. ],
  19936. "properties": {
  19937. "autoid": {
  19938. "description": "自增ID",
  19939. "type": "integer"
  19940. },
  19941. "bankmappedvalue": {
  19942. "description": "银行服务对应值",
  19943. "type": "string"
  19944. },
  19945. "enumdiccode": {
  19946. "description": "所属枚举代码",
  19947. "type": "string"
  19948. },
  19949. "enumdicid": {
  19950. "description": "所属枚举ID",
  19951. "type": "integer"
  19952. },
  19953. "enumdicname": {
  19954. "description": "枚举项名称",
  19955. "type": "string"
  19956. },
  19957. "enumitemname": {
  19958. "description": "枚举项值",
  19959. "type": "integer"
  19960. },
  19961. "enumitemstatus": {
  19962. "description": "枚举项状态 - 1.启用 2.不启用",
  19963. "type": "integer"
  19964. },
  19965. "enumitemvalue": {
  19966. "description": "通用值 - [币种通用简写]",
  19967. "type": "string"
  19968. },
  19969. "param1": {
  19970. "description": "参数1[币种:币种小数位]",
  19971. "type": "string"
  19972. },
  19973. "param2": {
  19974. "description": "参数1[币种:币种显示单位]",
  19975. "type": "string"
  19976. },
  19977. "remark": {
  19978. "description": "备注",
  19979. "type": "string"
  19980. }
  19981. }
  19982. },
  19983. "models.Ermcp3AreaSpot": {
  19984. "type": "object",
  19985. "properties": {
  19986. "areauserid": {
  19987. "description": "所属机构",
  19988. "type": "integer"
  19989. },
  19990. "convertratio": {
  19991. "description": "套保系数",
  19992. "type": "number"
  19993. },
  19994. "decreaseqty": {
  19995. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  19996. "type": "number"
  19997. },
  19998. "enumdicname": {
  19999. "description": "单位名称",
  20000. "type": "string"
  20001. },
  20002. "increaseqty": {
  20003. "description": "增加数量=销售计划数量+采购已定价数量",
  20004. "type": "number"
  20005. },
  20006. "oritoalspotqty": {
  20007. "description": "昨日数量",
  20008. "type": "number"
  20009. },
  20010. "totalspotqty": {
  20011. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  20012. "type": "number"
  20013. },
  20014. "unitid": {
  20015. "description": "现货商品单位id",
  20016. "type": "integer"
  20017. },
  20018. "updatetime": {
  20019. "description": "更新时间",
  20020. "type": "string"
  20021. },
  20022. "wrstandardcode": {
  20023. "description": "现货商品代码",
  20024. "type": "string"
  20025. },
  20026. "wrstandardid": {
  20027. "description": "现货商品ID(SEQ_WRSTANDARD)",
  20028. "type": "integer"
  20029. },
  20030. "wrstandardname": {
  20031. "description": "现货商品名称",
  20032. "type": "string"
  20033. }
  20034. }
  20035. },
  20036. "models.Ermcp3AreaSpotDetail": {
  20037. "type": "object",
  20038. "properties": {
  20039. "contracttype": {
  20040. "description": "合同类型 1-采购 -1-销售",
  20041. "type": "integer"
  20042. },
  20043. "createtime": {
  20044. "description": "创建时间",
  20045. "type": "string"
  20046. },
  20047. "enumdicname": {
  20048. "description": "现货商品单位名称",
  20049. "type": "string"
  20050. },
  20051. "logtype": {
  20052. "description": "记录类型 1-套保 2-现货合同",
  20053. "type": "integer"
  20054. },
  20055. "qty": {
  20056. "description": "数量",
  20057. "type": "number"
  20058. },
  20059. "recordname": {
  20060. "description": "类型名称",
  20061. "type": "string"
  20062. },
  20063. "relatedid": {
  20064. "description": "套保计划ID/现货合同ID",
  20065. "type": "string"
  20066. },
  20067. "relatedno": {
  20068. "description": "编号",
  20069. "type": "string"
  20070. },
  20071. "strtime": {
  20072. "description": "时间",
  20073. "type": "string"
  20074. },
  20075. "wrstandardcode": {
  20076. "description": "现货商品代码",
  20077. "type": "string"
  20078. },
  20079. "wrstandardid": {
  20080. "description": "现货商品ID(SEQ_WRSTANDARD)",
  20081. "type": "integer"
  20082. },
  20083. "wrstandardname": {
  20084. "description": "现货商品名称",
  20085. "type": "string"
  20086. }
  20087. }
  20088. },
  20089. "models.Ermcp3AreaSpotPLReport": {
  20090. "type": "object",
  20091. "properties": {
  20092. "accountid": {
  20093. "description": "期货账户ID (作废, 默认为0)",
  20094. "type": "integer"
  20095. },
  20096. "accountname": {
  20097. "description": "机构名称",
  20098. "type": "string"
  20099. },
  20100. "actualpl": {
  20101. "description": "现货损益",
  20102. "type": "number"
  20103. },
  20104. "areauserid": {
  20105. "description": "所属机构\\交易用户ID",
  20106. "type": "integer"
  20107. },
  20108. "begindate": {
  20109. "description": "开始交易日",
  20110. "type": "string"
  20111. },
  20112. "biztype": {
  20113. "description": "业务类型 - 1:套保 2:套利",
  20114. "type": "integer"
  20115. },
  20116. "brandname": {
  20117. "description": "品牌名称",
  20118. "type": "string"
  20119. },
  20120. "curamount": {
  20121. "description": "期末额",
  20122. "type": "number"
  20123. },
  20124. "curaverageprice": {
  20125. "description": "期末均价",
  20126. "type": "number"
  20127. },
  20128. "curbuyamount": {
  20129. "description": "期末采购总额",
  20130. "type": "number"
  20131. },
  20132. "curbuyqty": {
  20133. "description": "期末采购总量",
  20134. "type": "number"
  20135. },
  20136. "curmarketvalue": {
  20137. "description": "参考市值(期末市值)",
  20138. "type": "number"
  20139. },
  20140. "curqty": {
  20141. "description": "期末量",
  20142. "type": "number"
  20143. },
  20144. "currencyid": {
  20145. "description": "结算币种ID【原值】",
  20146. "type": "integer"
  20147. },
  20148. "currencyname": {
  20149. "description": "币种名称",
  20150. "type": "string"
  20151. },
  20152. "cursellamount": {
  20153. "description": "期末销售总额",
  20154. "type": "number"
  20155. },
  20156. "cursellqty": {
  20157. "description": "期末销售总量",
  20158. "type": "number"
  20159. },
  20160. "curspotprice": {
  20161. "description": "参考市价(最新价)",
  20162. "type": "number"
  20163. },
  20164. "cycletime": {
  20165. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  20166. "type": "string"
  20167. },
  20168. "cycletype": {
  20169. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  20170. "type": "integer"
  20171. },
  20172. "deliverygoodscode": {
  20173. "description": "现货品种代码",
  20174. "type": "string"
  20175. },
  20176. "deliverygoodsid": {
  20177. "description": "现货品种ID",
  20178. "type": "integer"
  20179. },
  20180. "deliverygoodsname": {
  20181. "description": "现货品种名称",
  20182. "type": "string"
  20183. },
  20184. "enddate": {
  20185. "description": "结束交易日",
  20186. "type": "string"
  20187. },
  20188. "enumdicname": {
  20189. "description": "现货品种单位名称(作废)",
  20190. "type": "string"
  20191. },
  20192. "floatpl": {
  20193. "description": "浮动损益",
  20194. "type": "number"
  20195. },
  20196. "goodsunitid": {
  20197. "description": "现货品种单位id(作废)",
  20198. "type": "integer"
  20199. },
  20200. "oriamount": {
  20201. "description": "期初额",
  20202. "type": "number"
  20203. },
  20204. "oriaverageprice": {
  20205. "description": "期初均价",
  20206. "type": "number"
  20207. },
  20208. "oribuyamount": {
  20209. "description": "期初采购总额",
  20210. "type": "number"
  20211. },
  20212. "oribuyqty": {
  20213. "description": "期初采购总量",
  20214. "type": "number"
  20215. },
  20216. "oriqty": {
  20217. "description": "期初量",
  20218. "type": "number"
  20219. },
  20220. "orisellamount": {
  20221. "description": "期初销售总额",
  20222. "type": "number"
  20223. },
  20224. "orisellqty": {
  20225. "description": "期初销售总量",
  20226. "type": "number"
  20227. },
  20228. "reckondate": {
  20229. "description": "日照时期(yyyyMMdd)",
  20230. "type": "string"
  20231. },
  20232. "spotgoodsbrandid": {
  20233. "description": "现货品牌ID",
  20234. "type": "integer"
  20235. },
  20236. "todaybuyamount": {
  20237. "description": "今日采购额(今采购额)",
  20238. "type": "number"
  20239. },
  20240. "todaybuyaverageprice": {
  20241. "description": "今日采购均价",
  20242. "type": "number"
  20243. },
  20244. "todaybuyqty": {
  20245. "description": "今日采购量(今采购量)",
  20246. "type": "number"
  20247. },
  20248. "todayinqty": {
  20249. "description": "今日入库量(今入库量)",
  20250. "type": "number"
  20251. },
  20252. "todayoutqty": {
  20253. "description": "今日出库量(今出库量)",
  20254. "type": "number"
  20255. },
  20256. "todaysellamount": {
  20257. "description": "今日销售额(今销售额)",
  20258. "type": "number"
  20259. },
  20260. "todaysellaverageprice": {
  20261. "description": "今日销售均价",
  20262. "type": "number"
  20263. },
  20264. "todaysellqty": {
  20265. "description": "今日销售量(今销售量)",
  20266. "type": "number"
  20267. },
  20268. "unitid": {
  20269. "description": "品类单位id",
  20270. "type": "integer"
  20271. },
  20272. "unitidname": {
  20273. "description": "品类单位名称",
  20274. "type": "string"
  20275. },
  20276. "updatetime": {
  20277. "description": "更新时间",
  20278. "type": "string"
  20279. },
  20280. "wrfactortypeid": {
  20281. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  20282. "type": "integer"
  20283. },
  20284. "wrstandardcode": {
  20285. "description": "现货商品(品类)代码",
  20286. "type": "string"
  20287. },
  20288. "wrstandardid": {
  20289. "description": "现货品类ID",
  20290. "type": "integer"
  20291. },
  20292. "wrstandardname": {
  20293. "description": "现货商品(品类)名称",
  20294. "type": "string"
  20295. }
  20296. }
  20297. },
  20298. "models.Ermcp3AreaStock": {
  20299. "type": "object",
  20300. "required": [
  20301. "userid"
  20302. ],
  20303. "properties": {
  20304. "brandname": {
  20305. "description": "品牌名称",
  20306. "type": "string"
  20307. },
  20308. "curstock": {
  20309. "description": "期末库存量(今日量)",
  20310. "type": "number"
  20311. },
  20312. "deliverygoodscode": {
  20313. "description": "现货品种代码",
  20314. "type": "string"
  20315. },
  20316. "deliverygoodsid": {
  20317. "description": "现货品种id",
  20318. "type": "integer"
  20319. },
  20320. "deliverygoodsname": {
  20321. "description": "现货品种名称",
  20322. "type": "string"
  20323. },
  20324. "enumdicname": {
  20325. "description": "单位名称",
  20326. "type": "string"
  20327. },
  20328. "goodsunitid": {
  20329. "description": "现货商品单位id",
  20330. "type": "integer"
  20331. },
  20332. "oristock": {
  20333. "description": "期初库存量(昨日量)",
  20334. "type": "number"
  20335. },
  20336. "spotgoodsbrandid": {
  20337. "description": "现货品牌ID",
  20338. "type": "integer"
  20339. },
  20340. "todaybuyinqty": {
  20341. "description": "今日采购入库量",
  20342. "type": "number"
  20343. },
  20344. "todayproduceinqty": {
  20345. "description": "今日生产入库量",
  20346. "type": "number"
  20347. },
  20348. "todayproduceoutqty": {
  20349. "description": "今日生产出库量",
  20350. "type": "number"
  20351. },
  20352. "todayselloutqty": {
  20353. "description": "今日销售出库量",
  20354. "type": "number"
  20355. },
  20356. "unitid": {
  20357. "description": "单位id",
  20358. "type": "integer"
  20359. },
  20360. "updatetime": {
  20361. "description": "更新时间",
  20362. "type": "string"
  20363. },
  20364. "userid": {
  20365. "description": "机构ID",
  20366. "type": "integer"
  20367. },
  20368. "username": {
  20369. "description": "机构名称",
  20370. "type": "string"
  20371. },
  20372. "warehousecode": {
  20373. "description": "仓库代码",
  20374. "type": "string"
  20375. },
  20376. "warehouseinfoid": {
  20377. "description": "仓库ID",
  20378. "type": "string"
  20379. },
  20380. "warehousename": {
  20381. "description": "仓库名称",
  20382. "type": "string"
  20383. },
  20384. "warehousetype": {
  20385. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  20386. "type": "integer"
  20387. },
  20388. "wrstandardcode": {
  20389. "description": "品类代码",
  20390. "type": "string"
  20391. },
  20392. "wrstandardid": {
  20393. "description": "品类ID",
  20394. "type": "string"
  20395. },
  20396. "wrstandardname": {
  20397. "description": "品类名称",
  20398. "type": "string"
  20399. }
  20400. }
  20401. },
  20402. "models.Ermcp3AreaStockApply": {
  20403. "type": "object",
  20404. "properties": {
  20405. "applyid": {
  20406. "description": "申请人",
  20407. "type": "integer"
  20408. },
  20409. "applyname": {
  20410. "description": "申请人名称",
  20411. "type": "string"
  20412. },
  20413. "applyremark": {
  20414. "description": "申请备注",
  20415. "type": "string"
  20416. },
  20417. "applysrc": {
  20418. "description": "申请来源 - 1:管理端 2:终端",
  20419. "type": "integer"
  20420. },
  20421. "applystatus": {
  20422. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  20423. "type": "integer"
  20424. },
  20425. "applytime": {
  20426. "description": "申请时间",
  20427. "type": "string"
  20428. },
  20429. "auditid": {
  20430. "description": "审核人",
  20431. "type": "integer"
  20432. },
  20433. "auditname": {
  20434. "description": "审核人名称",
  20435. "type": "string"
  20436. },
  20437. "auditremark": {
  20438. "description": "审核备注",
  20439. "type": "string"
  20440. },
  20441. "auditsrc": {
  20442. "description": "审核来源 - 1:管理端 2:终端",
  20443. "type": "integer"
  20444. },
  20445. "audittime": {
  20446. "description": "审核时间",
  20447. "type": "string"
  20448. },
  20449. "audittradedate": {
  20450. "description": "审核交易日(yyyyMMdd)",
  20451. "type": "string"
  20452. },
  20453. "brandname": {
  20454. "description": "品牌名称",
  20455. "type": "string"
  20456. },
  20457. "buynickname": {
  20458. "description": "采购方昵称",
  20459. "type": "string"
  20460. },
  20461. "buyuserid": {
  20462. "description": "采购方userid",
  20463. "type": "integer"
  20464. },
  20465. "buyusername": {
  20466. "description": "采购方名称",
  20467. "type": "string"
  20468. },
  20469. "contractno": {
  20470. "description": "合同编号",
  20471. "type": "string"
  20472. },
  20473. "contractqty": {
  20474. "description": "合同量",
  20475. "type": "number"
  20476. },
  20477. "contracttype": {
  20478. "description": "现货合同类型 - 1:采购 -1:销售",
  20479. "type": "integer"
  20480. },
  20481. "deliverygoodscode": {
  20482. "description": "现货品种代码",
  20483. "type": "string"
  20484. },
  20485. "deliverygoodsid": {
  20486. "description": "现货品种id",
  20487. "type": "integer"
  20488. },
  20489. "deliverygoodsname": {
  20490. "description": "现货品种名称",
  20491. "type": "string"
  20492. },
  20493. "detailjson": {
  20494. "description": "明细数据",
  20495. "type": "string"
  20496. },
  20497. "enumdicname": {
  20498. "description": "现货商品单位名称",
  20499. "type": "string"
  20500. },
  20501. "inoutapplyid": {
  20502. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  20503. "type": "string"
  20504. },
  20505. "inouttype": {
  20506. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  20507. "type": "integer"
  20508. },
  20509. "pricetype": {
  20510. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  20511. "type": "integer"
  20512. },
  20513. "qty": {
  20514. "description": "数量",
  20515. "type": "number"
  20516. },
  20517. "sellnickname": {
  20518. "description": "销售方昵称",
  20519. "type": "string"
  20520. },
  20521. "selluserid": {
  20522. "description": "销售方userid",
  20523. "type": "integer"
  20524. },
  20525. "sellusername": {
  20526. "description": "销售方名称",
  20527. "type": "string"
  20528. },
  20529. "spotcontractid": {
  20530. "description": "关联现货合同ID",
  20531. "type": "string"
  20532. },
  20533. "spotgoodsbrandid": {
  20534. "description": "现货品牌ID",
  20535. "type": "integer"
  20536. },
  20537. "unitid": {
  20538. "description": "单位id",
  20539. "type": "integer"
  20540. },
  20541. "userid": {
  20542. "description": "机构ID",
  20543. "type": "integer"
  20544. },
  20545. "warehousecode": {
  20546. "description": "仓库代码",
  20547. "type": "string"
  20548. },
  20549. "warehouseinfoid": {
  20550. "description": "现货仓库ID",
  20551. "type": "string"
  20552. },
  20553. "warehousename": {
  20554. "description": "仓库名称",
  20555. "type": "string"
  20556. },
  20557. "warehousetype": {
  20558. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  20559. "type": "integer"
  20560. },
  20561. "wrstandardcode": {
  20562. "description": "品类代码",
  20563. "type": "string"
  20564. },
  20565. "wrstandardid": {
  20566. "description": "品类ID",
  20567. "type": "integer"
  20568. },
  20569. "wrstandardname": {
  20570. "description": "品类名称",
  20571. "type": "string"
  20572. }
  20573. }
  20574. },
  20575. "models.Ermcp3AreaStockApplySum": {
  20576. "type": "object",
  20577. "properties": {
  20578. "brandname": {
  20579. "description": "品牌名称",
  20580. "type": "string"
  20581. },
  20582. "inouttype": {
  20583. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  20584. "type": "integer"
  20585. },
  20586. "spotcontractid": {
  20587. "description": "关联现货合同ID",
  20588. "type": "string"
  20589. },
  20590. "spotgoodsbrandid": {
  20591. "description": "品牌id",
  20592. "type": "integer"
  20593. },
  20594. "totalqty": {
  20595. "description": "总数量",
  20596. "type": "number"
  20597. },
  20598. "wrstandardid": {
  20599. "description": "品类id",
  20600. "type": "integer"
  20601. },
  20602. "wrstandardname": {
  20603. "description": "品类名称",
  20604. "type": "string"
  20605. }
  20606. }
  20607. },
  20608. "models.Ermcp3AreaStockReportEx": {
  20609. "type": "object",
  20610. "properties": {
  20611. "begindate": {
  20612. "description": "开始交易日",
  20613. "type": "string"
  20614. },
  20615. "brandname": {
  20616. "description": "品牌名称",
  20617. "type": "string"
  20618. },
  20619. "curstock": {
  20620. "description": "期末库存量",
  20621. "type": "number"
  20622. },
  20623. "cycletime": {
  20624. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  20625. "type": "string"
  20626. },
  20627. "cycletype": {
  20628. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  20629. "type": "integer"
  20630. },
  20631. "deliverygoodscode": {
  20632. "description": "现货品种代码",
  20633. "type": "string"
  20634. },
  20635. "deliverygoodsid": {
  20636. "description": "现货品种id",
  20637. "type": "integer"
  20638. },
  20639. "deliverygoodsname": {
  20640. "description": "现货品种名称",
  20641. "type": "string"
  20642. },
  20643. "diffqty": {
  20644. "description": "库存变化量 = 期末 - 期初",
  20645. "type": "number"
  20646. },
  20647. "enddate": {
  20648. "description": "结束交易日",
  20649. "type": "string"
  20650. },
  20651. "enumdicname": {
  20652. "description": "单位名称",
  20653. "type": "string"
  20654. },
  20655. "goodsunitid": {
  20656. "description": "现货单位id",
  20657. "type": "integer"
  20658. },
  20659. "oristock": {
  20660. "description": "期初库存量",
  20661. "type": "number"
  20662. },
  20663. "reckondate": {
  20664. "description": "日照时期(yyyyMMdd)",
  20665. "type": "string"
  20666. },
  20667. "spotgoodsbrandid": {
  20668. "description": "现货品牌ID",
  20669. "type": "integer"
  20670. },
  20671. "todaybuyinqty": {
  20672. "description": "今采购入库量",
  20673. "type": "number"
  20674. },
  20675. "todayproduceinqty": {
  20676. "description": "今内部入库量",
  20677. "type": "number"
  20678. },
  20679. "todayproduceoutqty": {
  20680. "description": "今内部出库量",
  20681. "type": "number"
  20682. },
  20683. "todayselloutqty": {
  20684. "description": "今销售出库量",
  20685. "type": "number"
  20686. },
  20687. "unbuyinqty": {
  20688. "description": "采购未入库量(数据库未找到相关字段?)",
  20689. "type": "number"
  20690. },
  20691. "unitid": {
  20692. "description": "品类单位id",
  20693. "type": "integer"
  20694. },
  20695. "unselloutqty": {
  20696. "description": "销售未出库量(数据库未找到相关字段?)",
  20697. "type": "number"
  20698. },
  20699. "updatetime": {
  20700. "description": "更新时间",
  20701. "type": "string"
  20702. },
  20703. "userid": {
  20704. "description": "机构ID",
  20705. "type": "integer"
  20706. },
  20707. "username": {
  20708. "description": "机构名称",
  20709. "type": "string"
  20710. },
  20711. "warehousecode": {
  20712. "description": "仓库代码",
  20713. "type": "string"
  20714. },
  20715. "warehouseinfoid": {
  20716. "description": "仓库ID",
  20717. "type": "string"
  20718. },
  20719. "warehousename": {
  20720. "description": "仓库名称",
  20721. "type": "string"
  20722. },
  20723. "warehousetype": {
  20724. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  20725. "type": "integer"
  20726. },
  20727. "wrstandardcode": {
  20728. "description": "品类代码",
  20729. "type": "string"
  20730. },
  20731. "wrstandardid": {
  20732. "description": "品类ID",
  20733. "type": "integer"
  20734. },
  20735. "wrstandardname": {
  20736. "description": "品类名称",
  20737. "type": "string"
  20738. }
  20739. }
  20740. },
  20741. "models.Ermcp3ArealSumPL": {
  20742. "type": "object",
  20743. "properties": {
  20744. "accountname": {
  20745. "description": "机构名称",
  20746. "type": "string"
  20747. },
  20748. "areauserid": {
  20749. "description": "所属机构\\交易用户ID",
  20750. "type": "integer"
  20751. },
  20752. "begindate": {
  20753. "description": "开始交易日",
  20754. "type": "string"
  20755. },
  20756. "currencyid": {
  20757. "description": "结算币种ID",
  20758. "type": "integer"
  20759. },
  20760. "currencyname": {
  20761. "description": "币种名称",
  20762. "type": "string"
  20763. },
  20764. "cycletime": {
  20765. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  20766. "type": "string"
  20767. },
  20768. "cycletype": {
  20769. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  20770. "type": "integer"
  20771. },
  20772. "enddate": {
  20773. "description": "结束交易日",
  20774. "type": "string"
  20775. },
  20776. "enumdicname": {
  20777. "description": "单位名称(套保品种)",
  20778. "type": "string"
  20779. },
  20780. "futureactualpl": {
  20781. "description": "期货损益",
  20782. "type": "number"
  20783. },
  20784. "futurefloatpl": {
  20785. "description": "期货浮动损益",
  20786. "type": "number"
  20787. },
  20788. "futurespotratio": {
  20789. "description": "期现比例 = 期货头寸总量 / 现货头寸总量",
  20790. "type": "number"
  20791. },
  20792. "goodsunitid": {
  20793. "description": "套保品种单位id",
  20794. "type": "integer"
  20795. },
  20796. "hedgeexposurepl": {
  20797. "description": "套保敞口损益",
  20798. "type": "number"
  20799. },
  20800. "middlegoodscode": {
  20801. "description": "套保品种代码",
  20802. "type": "string"
  20803. },
  20804. "middlegoodsid": {
  20805. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  20806. "type": "integer"
  20807. },
  20808. "middlegoodsname": {
  20809. "description": "套保品种名称",
  20810. "type": "string"
  20811. },
  20812. "reckondate": {
  20813. "description": "日照时期(yyyyMMdd)",
  20814. "type": "string"
  20815. },
  20816. "spotactualpl": {
  20817. "description": "现货损益",
  20818. "type": "number"
  20819. },
  20820. "spotfloatpl": {
  20821. "description": "现货浮动损益",
  20822. "type": "number"
  20823. },
  20824. "sumactualpl": {
  20825. "description": "实际损益 = (ActualPL + FutureActualPL)",
  20826. "type": "number"
  20827. },
  20828. "sumpl": {
  20829. "description": "总敞口损益 | 汇总损益",
  20830. "type": "number"
  20831. },
  20832. "totalfutureqty": {
  20833. "description": "期货头寸总量",
  20834. "type": "number"
  20835. },
  20836. "totalneedhedgeqty": {
  20837. "description": "应套保总量",
  20838. "type": "number"
  20839. },
  20840. "totalspotqty": {
  20841. "description": "现货头寸总量",
  20842. "type": "number"
  20843. },
  20844. "updatetime": {
  20845. "description": "更新时间",
  20846. "type": "string"
  20847. }
  20848. }
  20849. },
  20850. "models.Ermcp3Brand": {
  20851. "type": "object",
  20852. "properties": {
  20853. "areauserid": {
  20854. "description": "用户id",
  20855. "type": "integer"
  20856. },
  20857. "brandid": {
  20858. "description": "品牌id",
  20859. "type": "integer"
  20860. },
  20861. "brandname": {
  20862. "description": "品牌名称",
  20863. "type": "string"
  20864. },
  20865. "deliverygoodsid": {
  20866. "description": "品种ID",
  20867. "type": "integer"
  20868. },
  20869. "isvalid": {
  20870. "description": "是否有效",
  20871. "type": "integer"
  20872. }
  20873. }
  20874. },
  20875. "models.Ermcp3Contract": {
  20876. "type": "object",
  20877. "properties": {
  20878. "accountid": {
  20879. "description": "期货账户id",
  20880. "type": "string"
  20881. },
  20882. "amount": {
  20883. "description": "金额 [1:一口价、3:暂定价]",
  20884. "type": "number"
  20885. },
  20886. "attachment": {
  20887. "description": "附件",
  20888. "type": "string"
  20889. },
  20890. "auditremark": {
  20891. "description": "审核意见",
  20892. "type": "string"
  20893. },
  20894. "audittime": {
  20895. "description": "审核时间",
  20896. "type": "string"
  20897. },
  20898. "biztype": {
  20899. "description": "业务类型 1-套保 2-套利",
  20900. "type": "integer"
  20901. },
  20902. "brandname": {
  20903. "description": "品牌名称",
  20904. "type": "string"
  20905. },
  20906. "buynickname": {
  20907. "description": "销售方昵称",
  20908. "type": "string"
  20909. },
  20910. "buyuserid": {
  20911. "description": "采购方ID",
  20912. "type": "integer"
  20913. },
  20914. "buyusername": {
  20915. "description": "采购方名称",
  20916. "type": "string"
  20917. },
  20918. "contracctstatus": {
  20919. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  20920. "type": "integer"
  20921. },
  20922. "contractmargin": {
  20923. "description": "合同保证金",
  20924. "type": "number"
  20925. },
  20926. "contractno": {
  20927. "description": "现货合同编号",
  20928. "type": "string"
  20929. },
  20930. "contracttype": {
  20931. "description": "现货合同类型 - 1:采购 -1:销售",
  20932. "type": "integer"
  20933. },
  20934. "convertfactor": {
  20935. "description": "标仓系数(品类)",
  20936. "type": "number"
  20937. },
  20938. "createtime": {
  20939. "description": "创建时间",
  20940. "type": "string"
  20941. },
  20942. "currencyid": {
  20943. "description": "币种id",
  20944. "type": "integer"
  20945. },
  20946. "currencyname": {
  20947. "description": "币种名称",
  20948. "type": "string"
  20949. },
  20950. "deliveryenddate": {
  20951. "description": "交收期(结束)",
  20952. "type": "string"
  20953. },
  20954. "deliverygoodscode": {
  20955. "description": "现货品种代码",
  20956. "type": "string"
  20957. },
  20958. "deliverygoodsid": {
  20959. "description": "现货品种ID",
  20960. "type": "integer"
  20961. },
  20962. "deliverygoodsname": {
  20963. "description": "现货品种名称",
  20964. "type": "string"
  20965. },
  20966. "deliverystartdate": {
  20967. "description": "交收期(开始)",
  20968. "type": "string"
  20969. },
  20970. "enddate": {
  20971. "description": "点价结束日期 [2:点价 3:暂定价]",
  20972. "type": "string"
  20973. },
  20974. "enumdicname": {
  20975. "description": "单位名称",
  20976. "type": "string"
  20977. },
  20978. "goodscode": {
  20979. "description": "点价合约代码",
  20980. "type": "string"
  20981. },
  20982. "goodsid": {
  20983. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  20984. "type": "integer"
  20985. },
  20986. "goodsname": {
  20987. "description": "点价商品名称",
  20988. "type": "string"
  20989. },
  20990. "margin": {
  20991. "description": "当前保证金",
  20992. "type": "number"
  20993. },
  20994. "meruserid": {
  20995. "description": "跟单员id",
  20996. "type": "integer"
  20997. },
  20998. "meruserlogincode": {
  20999. "description": "跟单员登录代码",
  21000. "type": "string"
  21001. },
  21002. "merusername": {
  21003. "description": "跟单员名称",
  21004. "type": "string"
  21005. },
  21006. "pointdesc": {
  21007. "description": "点价备注",
  21008. "type": "string"
  21009. },
  21010. "price": {
  21011. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  21012. "type": "number"
  21013. },
  21014. "pricemove": {
  21015. "description": "升贴水 [2:点价 3:暂定价]",
  21016. "type": "number"
  21017. },
  21018. "pricetype": {
  21019. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  21020. "type": "integer"
  21021. },
  21022. "producttype": {
  21023. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  21024. "type": "integer"
  21025. },
  21026. "qty": {
  21027. "description": "数量",
  21028. "type": "number"
  21029. },
  21030. "remark": {
  21031. "description": "备注",
  21032. "type": "string"
  21033. },
  21034. "saleuserid": {
  21035. "description": "业务员id",
  21036. "type": "integer"
  21037. },
  21038. "saleuserlogincode": {
  21039. "description": "业务员登录代码",
  21040. "type": "string"
  21041. },
  21042. "saleusername": {
  21043. "description": "业务员名称",
  21044. "type": "string"
  21045. },
  21046. "sellnickname": {
  21047. "description": "采购方昵称",
  21048. "type": "string"
  21049. },
  21050. "selluserid": {
  21051. "description": "销售方ID",
  21052. "type": "integer"
  21053. },
  21054. "sellusername": {
  21055. "description": "销售方名称",
  21056. "type": "string"
  21057. },
  21058. "spotcontractid": {
  21059. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  21060. "type": "string"
  21061. },
  21062. "spotgoodsbrandid": {
  21063. "description": "现货品牌ID(DGFactoryItem表的ID)",
  21064. "type": "integer"
  21065. },
  21066. "spotgoodsdesc": {
  21067. "description": "商品型号",
  21068. "type": "string"
  21069. },
  21070. "startdate": {
  21071. "description": "点价开始日期 [2:点价 3:暂定价]",
  21072. "type": "string"
  21073. },
  21074. "subjectid": {
  21075. "description": "交易主体ID",
  21076. "type": "integer"
  21077. },
  21078. "subjectname": {
  21079. "description": "交易主体名称",
  21080. "type": "string"
  21081. },
  21082. "tradeuserid": {
  21083. "description": "交易员id",
  21084. "type": "integer"
  21085. },
  21086. "tradeuserlogincode": {
  21087. "description": "交易员登录代码",
  21088. "type": "string"
  21089. },
  21090. "tradeusername": {
  21091. "description": "交易员名称",
  21092. "type": "string"
  21093. },
  21094. "unitid": {
  21095. "description": "单位id(取品类上的单位id)",
  21096. "type": "integer"
  21097. },
  21098. "updatetime": {
  21099. "description": "更新时间",
  21100. "type": "string"
  21101. },
  21102. "userid": {
  21103. "description": "所属机构ID",
  21104. "type": "integer"
  21105. },
  21106. "vatrate": {
  21107. "description": "增值税率",
  21108. "type": "number"
  21109. },
  21110. "wrstandardcode": {
  21111. "description": "品类代码",
  21112. "type": "string"
  21113. },
  21114. "wrstandardid": {
  21115. "description": "品类ID",
  21116. "type": "integer"
  21117. },
  21118. "wrstandardname": {
  21119. "description": "品类名称",
  21120. "type": "string"
  21121. }
  21122. }
  21123. },
  21124. "models.Ermcp3ContractMiddleGoodsCfg": {
  21125. "type": "object",
  21126. "properties": {
  21127. "agreeunit": {
  21128. "description": "合约乘数",
  21129. "type": "number"
  21130. },
  21131. "convertratio": {
  21132. "description": "期货品种系数",
  21133. "type": "number"
  21134. },
  21135. "covertqty": {
  21136. "description": "折算手数 =【待点价量 / (合约乘数*期货品种系数) 】",
  21137. "type": "integer"
  21138. },
  21139. "middlegoodsid": {
  21140. "description": "套保品种ID",
  21141. "type": "integer"
  21142. },
  21143. "middlegoodspricedqty3": {
  21144. "description": "已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率",
  21145. "type": "string",
  21146. "example": "0"
  21147. },
  21148. "pendingpricedqty": {
  21149. "description": "待点价量",
  21150. "type": "string",
  21151. "example": "0"
  21152. },
  21153. "relatedmiddlegoodsqty": {
  21154. "description": "已关联量(套保品种-期货)",
  21155. "type": "string",
  21156. "example": "0"
  21157. },
  21158. "spotcontractid": {
  21159. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  21160. "type": "string"
  21161. }
  21162. }
  21163. },
  21164. "models.Ermcp3ExposureContractDetail": {
  21165. "type": "object",
  21166. "properties": {
  21167. "biztype": {
  21168. "description": "业务类型 1-套保 2-套利",
  21169. "type": "integer"
  21170. },
  21171. "brandname": {
  21172. "description": "品牌名称",
  21173. "type": "string"
  21174. },
  21175. "buyuserid": {
  21176. "description": "采购方id",
  21177. "type": "integer"
  21178. },
  21179. "buyusername": {
  21180. "description": "采购方名称",
  21181. "type": "string"
  21182. },
  21183. "contractno": {
  21184. "description": "合同编号",
  21185. "type": "string"
  21186. },
  21187. "contracttype": {
  21188. "description": "现货合同类型 - 1:采购 -1:销售",
  21189. "type": "integer"
  21190. },
  21191. "convertfactor": {
  21192. "description": "标仓系数",
  21193. "type": "number"
  21194. },
  21195. "convertratio": {
  21196. "description": "折算系数(套保品种)",
  21197. "type": "number"
  21198. },
  21199. "curqty": {
  21200. "description": "今定价量",
  21201. "type": "number"
  21202. },
  21203. "deliverygoodscode": {
  21204. "description": "现货品种代码",
  21205. "type": "string"
  21206. },
  21207. "deliverygoodsid": {
  21208. "description": "现货品种id",
  21209. "type": "integer"
  21210. },
  21211. "deliverygoodsname": {
  21212. "description": "现货品种名称",
  21213. "type": "string"
  21214. },
  21215. "diffhedgeqty": {
  21216. "description": "套保变动量",
  21217. "type": "number"
  21218. },
  21219. "diffneedhedgeqty": {
  21220. "description": "应套保变动量",
  21221. "type": "number"
  21222. },
  21223. "diffqty": {
  21224. "description": "套保品种今变动量",
  21225. "type": "number"
  21226. },
  21227. "enumdicname": {
  21228. "description": "单位名称",
  21229. "type": "string"
  21230. },
  21231. "mgunitname": {
  21232. "description": "套保品种单位名称",
  21233. "type": "string"
  21234. },
  21235. "middlegoodscode": {
  21236. "description": "套保品种代码",
  21237. "type": "string"
  21238. },
  21239. "middlegoodsid": {
  21240. "description": "套保品种id",
  21241. "type": "integer"
  21242. },
  21243. "middlegoodsname": {
  21244. "description": "套保品种名称",
  21245. "type": "string"
  21246. },
  21247. "needarbitrageratio": {
  21248. "description": "应套利比例",
  21249. "type": "number"
  21250. },
  21251. "needhedgeratio": {
  21252. "description": "应套保比例",
  21253. "type": "number"
  21254. },
  21255. "pricedqty": {
  21256. "description": "已定价量",
  21257. "type": "number"
  21258. },
  21259. "qty": {
  21260. "description": "合同量",
  21261. "type": "number"
  21262. },
  21263. "reckondate": {
  21264. "description": "交易日(reckondate)",
  21265. "type": "string"
  21266. },
  21267. "selluserid": {
  21268. "description": "销售方id",
  21269. "type": "integer"
  21270. },
  21271. "sellusername": {
  21272. "description": "销售方名称",
  21273. "type": "string"
  21274. },
  21275. "spotcontractid": {
  21276. "description": "合同id",
  21277. "type": "string"
  21278. },
  21279. "todaypricedqty": {
  21280. "description": "今定价量",
  21281. "type": "number"
  21282. },
  21283. "tradedate": {
  21284. "description": "交易日",
  21285. "type": "string"
  21286. },
  21287. "unitid": {
  21288. "description": "品类单位id",
  21289. "type": "integer"
  21290. },
  21291. "userid": {
  21292. "description": "机构id",
  21293. "type": "integer"
  21294. },
  21295. "username": {
  21296. "description": "交易用户",
  21297. "type": "string"
  21298. },
  21299. "wrstandardcode": {
  21300. "description": "现货商品代码",
  21301. "type": "string"
  21302. },
  21303. "wrstandardid": {
  21304. "description": "现货商品id",
  21305. "type": "integer"
  21306. },
  21307. "wrstandardname": {
  21308. "description": "现货商品名称",
  21309. "type": "string"
  21310. }
  21311. }
  21312. },
  21313. "models.Ermcp3ExposureDetail": {
  21314. "type": "object",
  21315. "properties": {
  21316. "areauserid": {
  21317. "description": "机构ID",
  21318. "type": "integer"
  21319. },
  21320. "changeQty": {
  21321. "description": "套保变动量",
  21322. "type": "number"
  21323. },
  21324. "contracttype": {
  21325. "description": "现货合同类型 - 1:采购 -1:销售",
  21326. "type": "integer"
  21327. },
  21328. "convertfactor": {
  21329. "description": "标仓系数",
  21330. "type": "number"
  21331. },
  21332. "convertratio": {
  21333. "description": "折算系数",
  21334. "type": "number"
  21335. },
  21336. "createtime": {
  21337. "description": "时间",
  21338. "type": "string"
  21339. },
  21340. "enumdicname": {
  21341. "description": "现货商品单位名称",
  21342. "type": "string"
  21343. },
  21344. "logtype": {
  21345. "description": "类型 - 1:套保计划 2:现货合同",
  21346. "type": "integer"
  21347. },
  21348. "mgunitid": {
  21349. "description": "套保品种单位id",
  21350. "type": "integer"
  21351. },
  21352. "mgunitidname": {
  21353. "description": "套保品种单位名称",
  21354. "type": "string"
  21355. },
  21356. "middlegoodsId": {
  21357. "description": "套保商品id",
  21358. "type": "integer"
  21359. },
  21360. "middlegoodscode": {
  21361. "description": "套保商品代码",
  21362. "type": "string"
  21363. },
  21364. "middlegoodsname": {
  21365. "description": "套保商品名称",
  21366. "type": "string"
  21367. },
  21368. "qty": {
  21369. "description": "数量",
  21370. "type": "number"
  21371. },
  21372. "relateNo": {
  21373. "description": "现货合同/套保计划编号",
  21374. "type": "string"
  21375. },
  21376. "unitid": {
  21377. "description": "现货商品单位id",
  21378. "type": "integer"
  21379. },
  21380. "wrstandardcode": {
  21381. "description": "现货商品代码",
  21382. "type": "string"
  21383. },
  21384. "wrstandardid": {
  21385. "description": "现货商品ID(SEQ_WRSTANDARD)",
  21386. "type": "integer"
  21387. },
  21388. "wrstandardname": {
  21389. "description": "现货商品名称",
  21390. "type": "string"
  21391. }
  21392. }
  21393. },
  21394. "models.Ermcp3ExposureFutuDetail": {
  21395. "type": "object",
  21396. "properties": {
  21397. "accountid": {
  21398. "description": "交易账户id",
  21399. "type": "integer"
  21400. },
  21401. "accountname": {
  21402. "description": "交易账户",
  21403. "type": "string"
  21404. },
  21405. "begindate": {
  21406. "description": "开始交易日",
  21407. "type": "string"
  21408. },
  21409. "buyorsell": {
  21410. "description": "方向 0-买 1-卖",
  21411. "type": "integer"
  21412. },
  21413. "diffmgqty": {
  21414. "description": "套保品种今变化量",
  21415. "type": "number"
  21416. },
  21417. "diffneedqty": {
  21418. "description": "应套保总量变化量",
  21419. "type": "number"
  21420. },
  21421. "difftradeqty": {
  21422. "description": "交易品种今变化量",
  21423. "type": "number"
  21424. },
  21425. "enddate": {
  21426. "description": "结束交易日",
  21427. "type": "string"
  21428. },
  21429. "enumdicname": {
  21430. "description": "单位名称",
  21431. "type": "string"
  21432. },
  21433. "goodscode": {
  21434. "description": "商品代码",
  21435. "type": "string"
  21436. },
  21437. "goodsid": {
  21438. "description": "商品id",
  21439. "type": "integer"
  21440. },
  21441. "goodsname": {
  21442. "description": "商品名称",
  21443. "type": "string"
  21444. },
  21445. "holdqty": {
  21446. "description": "期末持仓量",
  21447. "type": "number"
  21448. },
  21449. "middlegoodscode": {
  21450. "description": "套保商品代码",
  21451. "type": "string"
  21452. },
  21453. "middlegoodsid": {
  21454. "description": "套保商品id",
  21455. "type": "integer"
  21456. },
  21457. "middlegoodsname": {
  21458. "description": "套保商品名称",
  21459. "type": "string"
  21460. },
  21461. "oriholdqty": {
  21462. "description": "期初持仓量",
  21463. "type": "number"
  21464. },
  21465. "reckondate": {
  21466. "description": "交易日(RECKONDATE)",
  21467. "type": "string"
  21468. },
  21469. "todaycloseqty": {
  21470. "description": "今平仓量",
  21471. "type": "number"
  21472. },
  21473. "todayopenqty": {
  21474. "description": "今开仓量",
  21475. "type": "number"
  21476. },
  21477. "tradedate": {
  21478. "description": "交易日(RECKONDATE)",
  21479. "type": "string"
  21480. },
  21481. "username": {
  21482. "description": "用户名称(交易用户)",
  21483. "type": "string"
  21484. }
  21485. }
  21486. },
  21487. "models.Ermcp3ExposureHedgeplanDetail": {
  21488. "type": "object",
  21489. "properties": {
  21490. "biztype": {
  21491. "description": "业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利",
  21492. "type": "integer"
  21493. },
  21494. "changqty": {
  21495. "description": "应套保总量变化量",
  21496. "type": "number"
  21497. },
  21498. "contracttype": {
  21499. "description": "计划类型 - 1:采购 -1:销售",
  21500. "type": "integer"
  21501. },
  21502. "convertratio": {
  21503. "description": "折算系数(套保品种)",
  21504. "type": "number"
  21505. },
  21506. "deliverygoodscode": {
  21507. "description": "现货商品代码",
  21508. "type": "string"
  21509. },
  21510. "deliverygoodsid": {
  21511. "description": "现货商品id",
  21512. "type": "integer"
  21513. },
  21514. "deliverygoodsname": {
  21515. "description": "现货商吕名称",
  21516. "type": "string"
  21517. },
  21518. "dgunitid": {
  21519. "description": "现货商品单位id",
  21520. "type": "integer"
  21521. },
  21522. "dgunitidname": {
  21523. "description": "单位名称(现货商品)",
  21524. "type": "string"
  21525. },
  21526. "diffqty": {
  21527. "description": "套保品种今变动量",
  21528. "type": "number"
  21529. },
  21530. "enumdicname": {
  21531. "description": "单位名称(品类)",
  21532. "type": "string"
  21533. },
  21534. "hedgeplanid": {
  21535. "description": "套保计划id",
  21536. "type": "string"
  21537. },
  21538. "hedgeplanno": {
  21539. "description": "套保计划名称",
  21540. "type": "string"
  21541. },
  21542. "hedgeplanstatus": {
  21543. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  21544. "type": "integer"
  21545. },
  21546. "mgunitidname": {
  21547. "description": "单位名称(套保商品)",
  21548. "type": "string"
  21549. },
  21550. "middlegoodscode": {
  21551. "description": "套保品种代码",
  21552. "type": "string"
  21553. },
  21554. "middlegoodsid": {
  21555. "description": "套保品种id",
  21556. "type": "integer"
  21557. },
  21558. "middlegoodsname": {
  21559. "description": "套保品种名称",
  21560. "type": "string"
  21561. },
  21562. "needarbitrageratio": {
  21563. "description": "应套利比例",
  21564. "type": "number"
  21565. },
  21566. "needhedgeratio": {
  21567. "description": "应套保比例",
  21568. "type": "number"
  21569. },
  21570. "pricedqty": {
  21571. "description": "已定价量",
  21572. "type": "number"
  21573. },
  21574. "qty": {
  21575. "description": "合同量",
  21576. "type": "number"
  21577. },
  21578. "reckondate": {
  21579. "description": "交易日(reckondate)",
  21580. "type": "string"
  21581. },
  21582. "tradedate": {
  21583. "description": "交易日(登记日)",
  21584. "type": "string"
  21585. },
  21586. "unitid": {
  21587. "description": "品类单位id",
  21588. "type": "integer"
  21589. },
  21590. "userid": {
  21591. "description": "机构id",
  21592. "type": "integer"
  21593. },
  21594. "wrstandardcode": {
  21595. "description": "品类代码",
  21596. "type": "string"
  21597. },
  21598. "wrstandardid": {
  21599. "description": "品类id",
  21600. "type": "integer"
  21601. },
  21602. "wrstandardname": {
  21603. "description": "品类名称",
  21604. "type": "string"
  21605. }
  21606. }
  21607. },
  21608. "models.Ermcp3ExposureParamChLog": {
  21609. "type": "object",
  21610. "properties": {
  21611. "accountid": {
  21612. "description": "期货账户ID (作废, 默认为0)",
  21613. "type": "integer"
  21614. },
  21615. "aftervalue": {
  21616. "description": "应套保\\套利量变更后(调整后应套保总量)",
  21617. "type": "number"
  21618. },
  21619. "areauserid": {
  21620. "description": "所属机构\\交易用户ID",
  21621. "type": "integer"
  21622. },
  21623. "beforevalue": {
  21624. "description": "应套保\\套利量变更前(调整前应套保总量)",
  21625. "type": "number"
  21626. },
  21627. "begindate": {
  21628. "description": "开始交易日",
  21629. "type": "string"
  21630. },
  21631. "changelogtype": {
  21632. "description": "变更流水类型 - 1:套保比率变更 2:套利比率变更",
  21633. "type": "integer"
  21634. },
  21635. "curvalue": {
  21636. "description": "当前套保\\套利量(套保总量|套利总量)",
  21637. "type": "number"
  21638. },
  21639. "diffvalue": {
  21640. "description": "应套保总量变化量",
  21641. "type": "number"
  21642. },
  21643. "enddate": {
  21644. "description": "结束交易日",
  21645. "type": "string"
  21646. },
  21647. "logdatetime": {
  21648. "description": "流水日期",
  21649. "type": "string"
  21650. },
  21651. "logid": {
  21652. "description": "流水ID(609+Unix秒时间戳(10位)+xxxxxx)",
  21653. "type": "string"
  21654. },
  21655. "middlegoodscode": {
  21656. "description": "套保品种代码",
  21657. "type": "string"
  21658. },
  21659. "middlegoodsid": {
  21660. "description": "套保品种",
  21661. "type": "integer"
  21662. },
  21663. "middlegoodsname": {
  21664. "description": "套保品种名称",
  21665. "type": "string"
  21666. },
  21667. "paramaftervalue": {
  21668. "description": "参数变更后(调整后参数值)",
  21669. "type": "number"
  21670. },
  21671. "parambeforevalue": {
  21672. "description": "参数变更前(调整前参数值)",
  21673. "type": "number"
  21674. },
  21675. "reckondate": {
  21676. "description": "交易日(reckondate)",
  21677. "type": "string"
  21678. },
  21679. "tradedate": {
  21680. "description": "交易日(yyyyMMdd)",
  21681. "type": "string"
  21682. }
  21683. }
  21684. },
  21685. "models.Ermcp3ExpourseReport": {
  21686. "type": "object",
  21687. "properties": {
  21688. "accountid": {
  21689. "description": "期货账户ID (作废, 默认为0)",
  21690. "type": "integer"
  21691. },
  21692. "accountname": {
  21693. "description": "机构名称",
  21694. "type": "string"
  21695. },
  21696. "arbitrageqty": {
  21697. "description": "套利量",
  21698. "type": "number"
  21699. },
  21700. "areauserid": {
  21701. "description": "所属机构\\交易用户ID",
  21702. "type": "integer"
  21703. },
  21704. "begindate": {
  21705. "description": "开始交易日",
  21706. "type": "string"
  21707. },
  21708. "buyfutureqty": {
  21709. "description": "买入期货数量",
  21710. "type": "number"
  21711. },
  21712. "buyplanqty": {
  21713. "description": "采购计划数量",
  21714. "type": "number"
  21715. },
  21716. "buypricedqty": {
  21717. "description": "采购合同已定价数量",
  21718. "type": "number"
  21719. },
  21720. "cycletime": {
  21721. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  21722. "type": "string"
  21723. },
  21724. "cycletype": {
  21725. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  21726. "type": "integer"
  21727. },
  21728. "diffexposure": {
  21729. "description": "变动量(套保敞口)",
  21730. "type": "number"
  21731. },
  21732. "difffutuqty": {
  21733. "description": "变动量(期货)",
  21734. "type": "number"
  21735. },
  21736. "diffhedgeqty": {
  21737. "description": "变动量(现货应套保总量)",
  21738. "type": "number"
  21739. },
  21740. "diffmgqtya": {
  21741. "description": "套保变动量",
  21742. "type": "number"
  21743. },
  21744. "diffmgqtyb": {
  21745. "description": "套利变动量",
  21746. "type": "number"
  21747. },
  21748. "diffneedqty": {
  21749. "description": "应套变动量 = 应套保量 - 期初应套保量 + 应套利量 - 期初应套利量",
  21750. "type": "number"
  21751. },
  21752. "diffqty": {
  21753. "description": "变动量(总敞口)",
  21754. "type": "number"
  21755. },
  21756. "diffspotqty": {
  21757. "description": "变动量(现货) | 除税变动量",
  21758. "type": "number"
  21759. },
  21760. "enddate": {
  21761. "description": "结束交易日",
  21762. "type": "string"
  21763. },
  21764. "enumdicname": {
  21765. "description": "单位名称",
  21766. "type": "string"
  21767. },
  21768. "hedgeqty": {
  21769. "description": "套保量",
  21770. "type": "number"
  21771. },
  21772. "mgneedhedgeratio": {
  21773. "description": "套保比例(套保品的)",
  21774. "type": "number"
  21775. },
  21776. "middlegoodsid": {
  21777. "description": "套保品种ID",
  21778. "type": "integer"
  21779. },
  21780. "middlegoodsname": {
  21781. "description": "套保商品名称",
  21782. "type": "string"
  21783. },
  21784. "middlgoodscode": {
  21785. "description": "套保商品代码",
  21786. "type": "string"
  21787. },
  21788. "needarbitrageqty": {
  21789. "description": "应套利量",
  21790. "type": "number"
  21791. },
  21792. "needarbitrageratio": {
  21793. "description": "套利比例(套保品的)",
  21794. "type": "number"
  21795. },
  21796. "needhedgeexposoure": {
  21797. "description": "应套保敞口(套保敞口)",
  21798. "type": "number"
  21799. },
  21800. "needhedgeqty": {
  21801. "description": "应套保量",
  21802. "type": "number"
  21803. },
  21804. "needhedgeratio": {
  21805. "description": "应套保敞口比例",
  21806. "type": "number"
  21807. },
  21808. "needqty": {
  21809. "description": "应套总量 = 应套保量 + 应套利量",
  21810. "type": "number"
  21811. },
  21812. "oriarbitrageqty": {
  21813. "description": "期初套利量",
  21814. "type": "number"
  21815. },
  21816. "oribuyfutureqty": {
  21817. "description": "期初买入期货数量",
  21818. "type": "number"
  21819. },
  21820. "oribuyplanqty": {
  21821. "description": "期初采购计划数量",
  21822. "type": "number"
  21823. },
  21824. "oribuypricedqty": {
  21825. "description": "期初采购合同已定价数量",
  21826. "type": "number"
  21827. },
  21828. "orihedgeqty": {
  21829. "description": "期初套保量",
  21830. "type": "number"
  21831. },
  21832. "orineedarbitrageqty": {
  21833. "description": "期初应套利量",
  21834. "type": "number"
  21835. },
  21836. "orineedhedgeexposoure": {
  21837. "description": "期初应套保敞口",
  21838. "type": "number"
  21839. },
  21840. "orineedhedgeqty": {
  21841. "description": "期初应套保量",
  21842. "type": "number"
  21843. },
  21844. "orisellfutureqty": {
  21845. "description": "期初卖出期货数量",
  21846. "type": "number"
  21847. },
  21848. "orisellplanqty": {
  21849. "description": "期初销售计划数量",
  21850. "type": "number"
  21851. },
  21852. "orisellpricedqty": {
  21853. "description": "期初销售合同已定价数量",
  21854. "type": "number"
  21855. },
  21856. "oritotalexposure": {
  21857. "description": "期初实时总敞口",
  21858. "type": "number"
  21859. },
  21860. "oritotalfutureqty": {
  21861. "description": "期初期货头寸总量",
  21862. "type": "number"
  21863. },
  21864. "oritotalneedhedgeqty": {
  21865. "description": "期初应套保总量",
  21866. "type": "number"
  21867. },
  21868. "oritotalspotqty": {
  21869. "description": "期初现货头寸总量",
  21870. "type": "number"
  21871. },
  21872. "reckondate": {
  21873. "description": "日照时期(yyyyMMdd)",
  21874. "type": "string"
  21875. },
  21876. "sellfutureqty": {
  21877. "description": "卖出期货数量",
  21878. "type": "number"
  21879. },
  21880. "sellplanqty": {
  21881. "description": "销售计划数量",
  21882. "type": "number"
  21883. },
  21884. "sellpricedqty": {
  21885. "description": "销售合同已定价数量",
  21886. "type": "number"
  21887. },
  21888. "totalexposure": {
  21889. "description": "实时总敞口(总敞口)",
  21890. "type": "number"
  21891. },
  21892. "totalfutureqty": {
  21893. "description": "期货头寸总量(期货总量)",
  21894. "type": "number"
  21895. },
  21896. "totalhedgeratio": {
  21897. "description": "敞口比例",
  21898. "type": "number"
  21899. },
  21900. "totalneedhedgeqty": {
  21901. "description": "应套保总量(现货应套保总量)",
  21902. "type": "number"
  21903. },
  21904. "totalspotqty": {
  21905. "description": "现货头寸总量 | 除税总量",
  21906. "type": "number"
  21907. },
  21908. "unitid": {
  21909. "description": "单位id",
  21910. "type": "integer"
  21911. },
  21912. "updatetime": {
  21913. "description": "更新时间",
  21914. "type": "string"
  21915. }
  21916. }
  21917. },
  21918. "models.Ermcp3FinanceReport": {
  21919. "type": "object",
  21920. "properties": {
  21921. "accountname": {
  21922. "description": "机构名称",
  21923. "type": "string"
  21924. },
  21925. "areauserid": {
  21926. "description": "所属机构\\交易用户ID",
  21927. "type": "integer"
  21928. },
  21929. "begindate": {
  21930. "description": "开始交易日",
  21931. "type": "string"
  21932. },
  21933. "biztype": {
  21934. "description": "业务类型 - 1:套保 2:套利",
  21935. "type": "integer"
  21936. },
  21937. "brandname": {
  21938. "description": "品牌名称",
  21939. "type": "string"
  21940. },
  21941. "buypreinvoicedamount": {
  21942. "description": "采购预收票额(预收票额)",
  21943. "type": "number"
  21944. },
  21945. "buyprepaidamount": {
  21946. "description": "采购预付款额(预付货款额)",
  21947. "type": "number"
  21948. },
  21949. "buytodayinvoiceamount": {
  21950. "description": "采购今收票额(今收票额)",
  21951. "type": "number"
  21952. },
  21953. "buytodayrefundamount": {
  21954. "description": "采购今收退款额(今收退款额)",
  21955. "type": "number"
  21956. },
  21957. "buytodaysettleamount": {
  21958. "description": "采购今付款额(今付货款额)",
  21959. "type": "number"
  21960. },
  21961. "buyuninvoicedamount": {
  21962. "description": "采购应收票额(应收票额)",
  21963. "type": "number"
  21964. },
  21965. "buyunpaidamount": {
  21966. "description": "采购应付款额(应付货款额)",
  21967. "type": "number"
  21968. },
  21969. "currencyid": {
  21970. "description": "结算币种ID",
  21971. "type": "integer"
  21972. },
  21973. "currencyname": {
  21974. "description": "币种名称",
  21975. "type": "string"
  21976. },
  21977. "cycletime": {
  21978. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  21979. "type": "string"
  21980. },
  21981. "cycletype": {
  21982. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  21983. "type": "integer"
  21984. },
  21985. "deliverygoodscode": {
  21986. "description": "现货品种代码",
  21987. "type": "string"
  21988. },
  21989. "deliverygoodsid": {
  21990. "description": "现货品种ID",
  21991. "type": "integer"
  21992. },
  21993. "deliverygoodsname": {
  21994. "description": "现货品种名称",
  21995. "type": "string"
  21996. },
  21997. "enddate": {
  21998. "description": "结束交易日",
  21999. "type": "string"
  22000. },
  22001. "reckondate": {
  22002. "description": "日照时期(yyyyMMdd)",
  22003. "type": "string"
  22004. },
  22005. "sellpreinvoicedamount": {
  22006. "description": "销售预开票额(预开票额)",
  22007. "type": "number"
  22008. },
  22009. "sellprepaidamount": {
  22010. "description": "销售预收款额(预收货款额)",
  22011. "type": "number"
  22012. },
  22013. "selltodayinvoiceamount": {
  22014. "description": "销售今开票额(今开票额)",
  22015. "type": "number"
  22016. },
  22017. "selltodayrefundamount": {
  22018. "description": "销售今付退款额(今付退款额)",
  22019. "type": "number"
  22020. },
  22021. "selltodaysettleamount": {
  22022. "description": "销售今收款额(今收货款额)",
  22023. "type": "number"
  22024. },
  22025. "selluninvoicedamount": {
  22026. "description": "销售应开票额(应开票额)",
  22027. "type": "number"
  22028. },
  22029. "sellunpaidamount": {
  22030. "description": "销售应收款额(应收货款额)",
  22031. "type": "number"
  22032. },
  22033. "spotgoodsbrandid": {
  22034. "description": "现货品牌ID",
  22035. "type": "integer"
  22036. },
  22037. "todaypaysum": {
  22038. "description": "今付款合计",
  22039. "type": "number"
  22040. },
  22041. "todayreceivesum": {
  22042. "description": "今收款合计",
  22043. "type": "number"
  22044. },
  22045. "updatetime": {
  22046. "description": "更新时间",
  22047. "type": "string"
  22048. },
  22049. "wrfactortypeid": {
  22050. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  22051. "type": "integer"
  22052. },
  22053. "wrstandardcode": {
  22054. "description": "品类代码",
  22055. "type": "string"
  22056. },
  22057. "wrstandardid": {
  22058. "description": "现货商品ID",
  22059. "type": "integer"
  22060. },
  22061. "wrstandardname": {
  22062. "description": "品类名称",
  22063. "type": "string"
  22064. }
  22065. }
  22066. },
  22067. "models.Ermcp3GoodsGroup": {
  22068. "type": "object",
  22069. "required": [
  22070. "areauserid"
  22071. ],
  22072. "properties": {
  22073. "agreeunit": {
  22074. "description": "合约单位",
  22075. "type": "number"
  22076. },
  22077. "areauserid": {
  22078. "description": "所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)",
  22079. "type": "integer"
  22080. },
  22081. "canshort": {
  22082. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  22083. "type": "integer"
  22084. },
  22085. "closepricemode": {
  22086. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  22087. "type": "integer"
  22088. },
  22089. "createtime": {
  22090. "description": "创建时间",
  22091. "type": "string"
  22092. },
  22093. "creatorid": {
  22094. "description": "创建人",
  22095. "type": "integer"
  22096. },
  22097. "currencyid": {
  22098. "description": "报价货币ID",
  22099. "type": "integer"
  22100. },
  22101. "decimalplace": {
  22102. "description": "报价小数位",
  22103. "type": "integer"
  22104. },
  22105. "enumdicname": {
  22106. "description": "单位名称",
  22107. "type": "string"
  22108. },
  22109. "exchangefullname": {
  22110. "description": "交易所全称",
  22111. "type": "string"
  22112. },
  22113. "excludecfg": {
  22114. "description": "排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除",
  22115. "type": "integer"
  22116. },
  22117. "exexchangecode": {
  22118. "description": "交易所代码",
  22119. "type": "string"
  22120. },
  22121. "exexchangeid": {
  22122. "description": "外部交易所ID[通道交易]",
  22123. "type": "integer"
  22124. },
  22125. "exexchangename": {
  22126. "description": "交易所名称",
  22127. "type": "string"
  22128. },
  22129. "goodsgroupid": {
  22130. "description": "商品组ID(自增ID)",
  22131. "type": "integer"
  22132. },
  22133. "goodsgroupname": {
  22134. "description": "商品组名称",
  22135. "type": "string"
  22136. },
  22137. "goodsgroupstatus": {
  22138. "description": "商品组状态 - 1:正常 2:注销",
  22139. "type": "integer"
  22140. },
  22141. "goodunitid": {
  22142. "description": "报价单位ID",
  22143. "type": "integer"
  22144. },
  22145. "groupcategroyid": {
  22146. "description": "品种分类ID",
  22147. "type": "integer"
  22148. },
  22149. "innerdealmode": {
  22150. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  22151. "type": "integer"
  22152. },
  22153. "marketid": {
  22154. "description": "所属市场ID",
  22155. "type": "integer"
  22156. },
  22157. "modifierid": {
  22158. "description": "修改人",
  22159. "type": "integer"
  22160. },
  22161. "modifytime": {
  22162. "description": "修改时间",
  22163. "type": "string"
  22164. },
  22165. "outerdealmode": {
  22166. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  22167. "type": "integer"
  22168. },
  22169. "outergroupcode": {
  22170. "description": "外部商品组代码[通道交易]",
  22171. "type": "string"
  22172. },
  22173. "quoteminunit": {
  22174. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  22175. "type": "integer"
  22176. },
  22177. "quotesourcegroupid": {
  22178. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  22179. "type": "integer"
  22180. },
  22181. "syncgoodsqty": {
  22182. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  22183. "type": "integer"
  22184. }
  22185. }
  22186. },
  22187. "models.Ermcp3HPMiddleGoods": {
  22188. "type": "object",
  22189. "properties": {
  22190. "biztype": {
  22191. "description": "业务类型 1:套保 2:套利",
  22192. "type": "integer"
  22193. },
  22194. "contracttype": {
  22195. "description": "合同类型 1:采购 -1:销售",
  22196. "type": "integer"
  22197. },
  22198. "convertratio": {
  22199. "description": "折算系数",
  22200. "type": "number"
  22201. },
  22202. "customername": {
  22203. "description": "对手手名称",
  22204. "type": "string"
  22205. },
  22206. "customeruserid": {
  22207. "description": "对手id",
  22208. "type": "integer"
  22209. },
  22210. "enumdicname": {
  22211. "description": "现货单位名称",
  22212. "type": "string"
  22213. },
  22214. "hedgeplanid": {
  22215. "description": "计划id",
  22216. "type": "string"
  22217. },
  22218. "hedgeplanno": {
  22219. "description": "计划编号",
  22220. "type": "string"
  22221. },
  22222. "middlegoodsid": {
  22223. "description": "套保品种ID",
  22224. "type": "integer"
  22225. },
  22226. "middlegoodsplanqty3": {
  22227. "description": "应套保计划量",
  22228. "type": "number"
  22229. },
  22230. "needhedgeratio": {
  22231. "description": "套保比例",
  22232. "type": "number"
  22233. },
  22234. "pricedqty": {
  22235. "description": "已定价量",
  22236. "type": "number"
  22237. },
  22238. "relatedmiddlegoodsqty": {
  22239. "description": "已关联量(套保品种)(期货)",
  22240. "type": "number"
  22241. },
  22242. "unitid": {
  22243. "description": "现货单位id",
  22244. "type": "integer"
  22245. },
  22246. "userid": {
  22247. "description": "用户id",
  22248. "type": "integer"
  22249. },
  22250. "vatrate": {
  22251. "description": "增值税率",
  22252. "type": "number"
  22253. },
  22254. "wrstandardcode": {
  22255. "description": "现货商品代码",
  22256. "type": "string"
  22257. },
  22258. "wrstandardid": {
  22259. "description": "现货商品id",
  22260. "type": "integer"
  22261. },
  22262. "wrstandardname": {
  22263. "description": "现货商品名称",
  22264. "type": "string"
  22265. }
  22266. }
  22267. },
  22268. "models.Ermcp3HedgePlan": {
  22269. "type": "object",
  22270. "properties": {
  22271. "accountid": {
  22272. "description": "资金账号",
  22273. "type": "integer"
  22274. },
  22275. "areauserid": {
  22276. "description": "用户ID",
  22277. "type": "integer"
  22278. },
  22279. "auditid": {
  22280. "description": "审核id",
  22281. "type": "integer"
  22282. },
  22283. "auditname": {
  22284. "description": "审核人名称",
  22285. "type": "string"
  22286. },
  22287. "auditremark": {
  22288. "description": "审核备注",
  22289. "type": "string"
  22290. },
  22291. "auditsrc": {
  22292. "description": "审核来源 1-管理端 2-终端",
  22293. "type": "integer"
  22294. },
  22295. "audittime": {
  22296. "description": "审核时间",
  22297. "type": "string"
  22298. },
  22299. "contracttype": {
  22300. "description": "计划类型 - 1:采购 -1:销售",
  22301. "type": "integer"
  22302. },
  22303. "convertfactor": {
  22304. "description": "标仓系数",
  22305. "type": "number"
  22306. },
  22307. "createtime": {
  22308. "description": "创建时间",
  22309. "type": "string"
  22310. },
  22311. "currencyid": {
  22312. "description": "币种id",
  22313. "type": "integer"
  22314. },
  22315. "currencyname": {
  22316. "description": "币种名称",
  22317. "type": "string"
  22318. },
  22319. "deliverygoodscode": {
  22320. "description": "现货品种代码",
  22321. "type": "string"
  22322. },
  22323. "deliverygoodsid": {
  22324. "description": "现货品种ID",
  22325. "type": "integer"
  22326. },
  22327. "deliverygoodsname": {
  22328. "description": "现货品种名称",
  22329. "type": "string"
  22330. },
  22331. "enumdicname": {
  22332. "description": "单位名称(现货商品)",
  22333. "type": "string"
  22334. },
  22335. "hedgeplanid": {
  22336. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  22337. "type": "string"
  22338. },
  22339. "hedgeplanno": {
  22340. "description": "套保计划编号(名称)",
  22341. "type": "string"
  22342. },
  22343. "hedgeplanstatus": {
  22344. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  22345. "type": "integer"
  22346. },
  22347. "planqty": {
  22348. "description": "计划数量",
  22349. "type": "number"
  22350. },
  22351. "plantime": {
  22352. "description": "计划时间",
  22353. "type": "string"
  22354. },
  22355. "producttype": {
  22356. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  22357. "type": "integer"
  22358. },
  22359. "remark": {
  22360. "description": "备注",
  22361. "type": "string"
  22362. },
  22363. "spotgoodsdesc": {
  22364. "description": "商品型号",
  22365. "type": "string"
  22366. },
  22367. "taaccountname": {
  22368. "description": "资金账号名称",
  22369. "type": "string"
  22370. },
  22371. "tradeuserid": {
  22372. "description": "交易用户id",
  22373. "type": "integer"
  22374. },
  22375. "tradeusername": {
  22376. "description": "交易用户名称",
  22377. "type": "string"
  22378. },
  22379. "unitid": {
  22380. "description": "单位id(现货商品)",
  22381. "type": "integer"
  22382. },
  22383. "updatetime": {
  22384. "description": "更新时间",
  22385. "type": "string"
  22386. },
  22387. "vatrate": {
  22388. "description": "增值税率",
  22389. "type": "number"
  22390. },
  22391. "wrstandardcode": {
  22392. "description": "品类代码",
  22393. "type": "string"
  22394. },
  22395. "wrstandardid": {
  22396. "description": "品类id",
  22397. "type": "integer"
  22398. },
  22399. "wrstandardname": {
  22400. "description": "品类名称",
  22401. "type": "string"
  22402. },
  22403. "wrunitid": {
  22404. "description": "品类单位id",
  22405. "type": "integer"
  22406. },
  22407. "wrunitidame": {
  22408. "description": "品类单位名称",
  22409. "type": "string"
  22410. }
  22411. }
  22412. },
  22413. "models.Ermcp3InnerTradeLink": {
  22414. "type": "object",
  22415. "properties": {
  22416. "accountid": {
  22417. "description": "期货账号代码 | 资金账号ID",
  22418. "type": "integer"
  22419. },
  22420. "buyorsell": {
  22421. "description": "方向 - 0:买 1:卖",
  22422. "type": "integer"
  22423. },
  22424. "channelbuildtype": {
  22425. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  22426. "type": "integer"
  22427. },
  22428. "currencyid": {
  22429. "description": "币种id",
  22430. "type": "integer"
  22431. },
  22432. "currencyname": {
  22433. "description": "结算币种 名称",
  22434. "type": "string"
  22435. },
  22436. "goodscode": {
  22437. "description": "商品代码",
  22438. "type": "string"
  22439. },
  22440. "goodsid": {
  22441. "description": "商品ID",
  22442. "type": "integer"
  22443. },
  22444. "goodsname": {
  22445. "description": "商品名称",
  22446. "type": "string"
  22447. },
  22448. "outtradeid": {
  22449. "description": "外部成交单号",
  22450. "type": "string"
  22451. },
  22452. "taname": {
  22453. "description": "期货账户名称",
  22454. "type": "string"
  22455. },
  22456. "tradeid": {
  22457. "description": "期货单号 | 内部成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22458. "type": "string"
  22459. },
  22460. "tradeprice": {
  22461. "description": "成交价格",
  22462. "type": "number"
  22463. },
  22464. "tradeqty": {
  22465. "description": "期货成交数量",
  22466. "type": "integer"
  22467. },
  22468. "tradetime": {
  22469. "description": "关联时间 | 成交时间 ps:因为数据库表里没有关联时间, 所以取外部成交单的成交时间",
  22470. "type": "string"
  22471. },
  22472. "username": {
  22473. "description": "用户名称",
  22474. "type": "string"
  22475. }
  22476. }
  22477. },
  22478. "models.Ermcp3OutTradeLink": {
  22479. "type": "object",
  22480. "properties": {
  22481. "buyorsell": {
  22482. "description": "买卖方向 - 0:买 1:卖",
  22483. "type": "integer"
  22484. },
  22485. "channelbuildtype": {
  22486. "description": "开平标志- 0:无 1:建仓 2:平仓",
  22487. "type": "integer"
  22488. },
  22489. "currencyname": {
  22490. "description": "币种名称",
  22491. "type": "string"
  22492. },
  22493. "exexchangecode": {
  22494. "description": "交易所代码",
  22495. "type": "string"
  22496. },
  22497. "exexchangename": {
  22498. "description": "交易所名称",
  22499. "type": "string"
  22500. },
  22501. "goodscode": {
  22502. "description": "合约代码",
  22503. "type": "string"
  22504. },
  22505. "goodsid": {
  22506. "description": "合约id",
  22507. "type": "integer"
  22508. },
  22509. "goodsname": {
  22510. "description": "合约名称",
  22511. "type": "string"
  22512. },
  22513. "hasinnerorder": {
  22514. "description": "是否有内部单关联 - 0:无 1:有",
  22515. "type": "integer"
  22516. },
  22517. "hedgeaccountcode": {
  22518. "description": "外部账号 | 对冲账号",
  22519. "type": "string"
  22520. },
  22521. "outtradeid": {
  22522. "description": "外部订单号 | 外部成交单ID(114+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22523. "type": "string"
  22524. },
  22525. "tradeprice": {
  22526. "description": "成交价格",
  22527. "type": "number"
  22528. },
  22529. "tradeqty": {
  22530. "description": "成交数量",
  22531. "type": "integer"
  22532. },
  22533. "tradetime": {
  22534. "description": "成交时间",
  22535. "type": "string"
  22536. }
  22537. }
  22538. },
  22539. "models.Ermcp3PaAreaAuditCfg": {
  22540. "type": "object",
  22541. "properties": {
  22542. "areauserid": {
  22543. "description": "用户ID",
  22544. "type": "integer"
  22545. },
  22546. "buyinauditflag": {
  22547. "description": "采购入库是否需要审核 - 0:不需审核 1:需要审核",
  22548. "type": "integer"
  22549. },
  22550. "costratioauditflag": {
  22551. "description": "现货商品成本权重修改是否需要审核 - 0:不需审核 1:需要审核",
  22552. "type": "integer"
  22553. },
  22554. "customerauditflag": {
  22555. "description": "客户资料是否需要审核 - 0:不需审核 1:需要审核",
  22556. "type": "integer"
  22557. },
  22558. "deliveryauditflag": {
  22559. "description": "交收是否需要审核 - 0:不需审核 1:需要审核",
  22560. "type": "integer"
  22561. },
  22562. "invoiceauditflag": {
  22563. "description": "发票是否需要审核 - 0:不需审核 1:需要审核",
  22564. "type": "integer"
  22565. },
  22566. "mgneedhedgeratioauditflag": {
  22567. "description": "套保品种套保比例修改是否需要审 - 0:不需审核 1:需要审核",
  22568. "type": "integer"
  22569. },
  22570. "moneyauditflag": {
  22571. "description": "款项是否需要审核 - 0:不需审核 1:需要审核",
  22572. "type": "integer"
  22573. },
  22574. "operatorid": {
  22575. "description": "操作人",
  22576. "type": "integer"
  22577. },
  22578. "operatorsrc": {
  22579. "description": "操作来源 - 1:管理端 2:终端",
  22580. "type": "integer"
  22581. },
  22582. "pointpriceauditflag": {
  22583. "description": "点价是否需要审核 - 0:不需审核 1:需要审核",
  22584. "type": "integer"
  22585. },
  22586. "produceinauditflag": {
  22587. "description": "生产入库是否需要审核 - 0:不需审核 1:需要审核",
  22588. "type": "integer"
  22589. },
  22590. "produceoutauditflag": {
  22591. "description": "生产出库是否需要审核 - 0:不需审核 1:需要审核",
  22592. "type": "integer"
  22593. },
  22594. "selloutauditflag": {
  22595. "description": "销售出库是否需要审核 - 0:不需审核 1:需要审核",
  22596. "type": "integer"
  22597. },
  22598. "sgconvertratioauditflag": {
  22599. "description": "现货商品折算系数修改是否需要审核 - 0:不需审核 1:需要审核",
  22600. "type": "integer"
  22601. },
  22602. "sgvtaratioauditflag": {
  22603. "description": "现货商品增值税税率修改是否需要审核 - 0:不需审核 1:需要审核",
  22604. "type": "integer"
  22605. },
  22606. "spotcontractauditflag": {
  22607. "description": "现货合同是否需要审核 - 0:不需审核 1:需要审核",
  22608. "type": "integer"
  22609. },
  22610. "updatetime": {
  22611. "description": "更新时间",
  22612. "type": "string"
  22613. }
  22614. }
  22615. },
  22616. "models.Ermcp3PaAreaSubject": {
  22617. "type": "object",
  22618. "properties": {
  22619. "areauserid": {
  22620. "description": "所属机构",
  22621. "type": "integer"
  22622. },
  22623. "canmodify": {
  22624. "description": "是否可修改 - 0:否 1:是",
  22625. "type": "integer"
  22626. },
  22627. "createtime": {
  22628. "description": "创建时间",
  22629. "type": "string"
  22630. },
  22631. "creatorid": {
  22632. "description": "创建人ID",
  22633. "type": "string"
  22634. },
  22635. "creatorsrc": {
  22636. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  22637. "type": "integer"
  22638. },
  22639. "modifierid": {
  22640. "description": "修改人",
  22641. "type": "string"
  22642. },
  22643. "modifiersrc": {
  22644. "description": "修改人来源 - 1:管理端 2:终端",
  22645. "type": "integer"
  22646. },
  22647. "modifytime": {
  22648. "description": "修改时间",
  22649. "type": "string"
  22650. },
  22651. "parentsubjectid": {
  22652. "description": "上级主体ID",
  22653. "type": "string"
  22654. },
  22655. "remark": {
  22656. "description": "备注",
  22657. "type": "string"
  22658. },
  22659. "subjectid": {
  22660. "description": "主体ID(SEQ_ERMCP_PA_AREASUBJECT)",
  22661. "type": "integer"
  22662. },
  22663. "subjectname": {
  22664. "description": "主体名称",
  22665. "type": "string"
  22666. },
  22667. "subjectstatus": {
  22668. "description": "主体状态 - 1:正常 2: 停用",
  22669. "type": "integer"
  22670. },
  22671. "subjecttype": {
  22672. "description": "主体类型 - 1:交易主体 2:业务部门",
  22673. "type": "integer"
  22674. }
  22675. }
  22676. },
  22677. "models.Ermcp3PaTradeLink": {
  22678. "type": "object",
  22679. "properties": {
  22680. "accountid": {
  22681. "description": "期货账户代码 | 账号ID",
  22682. "type": "integer"
  22683. },
  22684. "agreeunit": {
  22685. "description": "合约乘数",
  22686. "type": "number"
  22687. },
  22688. "buyorsell": {
  22689. "description": "方向 - 0:买 1:卖",
  22690. "type": "integer"
  22691. },
  22692. "channelbuildtype": {
  22693. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  22694. "type": "integer"
  22695. },
  22696. "charge": {
  22697. "description": "手续费",
  22698. "type": "number"
  22699. },
  22700. "closepl": {
  22701. "description": "平仓盈亏",
  22702. "type": "number"
  22703. },
  22704. "closetype": {
  22705. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  22706. "type": "integer"
  22707. },
  22708. "convertratio": {
  22709. "description": "折算系数",
  22710. "type": "number"
  22711. },
  22712. "enumdicname": {
  22713. "description": "单位名称",
  22714. "type": "string"
  22715. },
  22716. "executeprice": {
  22717. "description": "执行价 [期权]",
  22718. "type": "integer"
  22719. },
  22720. "goodscode": {
  22721. "description": "合约代码",
  22722. "type": "string"
  22723. },
  22724. "goodsgroupid": {
  22725. "description": "对冲品种ID[期货合约商品组ID]",
  22726. "type": "integer"
  22727. },
  22728. "goodsid": {
  22729. "description": "商品ID",
  22730. "type": "integer"
  22731. },
  22732. "goodsname": {
  22733. "description": "合约名称",
  22734. "type": "string"
  22735. },
  22736. "goodunitid": {
  22737. "description": "单位id",
  22738. "type": "integer"
  22739. },
  22740. "hedgeflag": {
  22741. "description": "投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)",
  22742. "type": "integer"
  22743. },
  22744. "marketid": {
  22745. "description": "市场ID",
  22746. "type": "integer"
  22747. },
  22748. "middlegoodsid": {
  22749. "description": "套保品种ID",
  22750. "type": "integer"
  22751. },
  22752. "middlegoodsqty": {
  22753. "description": "套保品种数量 = TradeQty * AgreeUnit * ConvertRatio",
  22754. "type": "number"
  22755. },
  22756. "optioncode": {
  22757. "description": "期权代码 [期权]",
  22758. "type": "string"
  22759. },
  22760. "ordertype": {
  22761. "description": "单据类型 - 1:期货单 2:看涨期权单 3:看跌期权单",
  22762. "type": "integer"
  22763. },
  22764. "ordertypename": {
  22765. "description": "订单类型",
  22766. "type": "string"
  22767. },
  22768. "parentaccountid": {
  22769. "description": "所属母账户",
  22770. "type": "integer"
  22771. },
  22772. "premium": {
  22773. "description": "权利金 [期权]",
  22774. "type": "number"
  22775. },
  22776. "relatedlot": {
  22777. "description": "已关联数量(已关联数量手) | db:关联手数",
  22778. "type": "number"
  22779. },
  22780. "relatedouttradeid": {
  22781. "description": "关联外部成交单ID",
  22782. "type": "string"
  22783. },
  22784. "relatedqty": {
  22785. "description": "关联数量",
  22786. "type": "number"
  22787. },
  22788. "spotcontractid": {
  22789. "description": "现货合同ID [4:套期保值\\10\\11]",
  22790. "type": "string"
  22791. },
  22792. "taname": {
  22793. "description": "期货账户名称",
  22794. "type": "string"
  22795. },
  22796. "tradeamount": {
  22797. "description": "成交金额(账户)",
  22798. "type": "number"
  22799. },
  22800. "tradedate": {
  22801. "description": "交易日(yyyyMMdd)",
  22802. "type": "string"
  22803. },
  22804. "tradeid": {
  22805. "description": "期货单号 | db:成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22806. "type": "string"
  22807. },
  22808. "tradelot": {
  22809. "description": "成交数量(期货数量) ps:这是手数,转换为具体多少吨要乘以AGREEUNIT | db:成交手数",
  22810. "type": "integer"
  22811. },
  22812. "tradeprice": {
  22813. "description": "成交价格",
  22814. "type": "number"
  22815. },
  22816. "tradetime": {
  22817. "description": "时间 | db:成交时间",
  22818. "type": "string"
  22819. },
  22820. "tradetype": {
  22821. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  22822. "type": "integer"
  22823. },
  22824. "userid": {
  22825. "description": "所属机构 - 所属母账户的UserID",
  22826. "type": "string"
  22827. },
  22828. "username": {
  22829. "description": "用户名称",
  22830. "type": "string"
  22831. }
  22832. }
  22833. },
  22834. "models.Ermcp3ParamChangeApp": {
  22835. "type": "object",
  22836. "properties": {
  22837. "aftervalue": {
  22838. "description": "变更后",
  22839. "type": "number"
  22840. },
  22841. "applicationid": {
  22842. "description": "申请ID(619+Unix秒时间戳(10位)+xxxxxx)",
  22843. "type": "string"
  22844. },
  22845. "applyid": {
  22846. "description": "申请人",
  22847. "type": "string"
  22848. },
  22849. "applyname": {
  22850. "description": "申请人名称(代码)",
  22851. "type": "string"
  22852. },
  22853. "applyremark": {
  22854. "description": "申请备注",
  22855. "type": "string"
  22856. },
  22857. "applysrc": {
  22858. "description": "申请来源 - 1:管理端 2:终端",
  22859. "type": "integer"
  22860. },
  22861. "applystatus": {
  22862. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  22863. "type": "integer"
  22864. },
  22865. "applytime": {
  22866. "description": "申请时间",
  22867. "type": "string"
  22868. },
  22869. "areauserid": {
  22870. "description": "所属机构用户ID",
  22871. "type": "integer"
  22872. },
  22873. "auditid": {
  22874. "description": "审核人",
  22875. "type": "string"
  22876. },
  22877. "auditname": {
  22878. "description": "审核人名称(代码)",
  22879. "type": "string"
  22880. },
  22881. "auditremark": {
  22882. "description": "审核备注",
  22883. "type": "string"
  22884. },
  22885. "auditsrc": {
  22886. "description": "审核来源 - 1:管理端 2:终端",
  22887. "type": "integer"
  22888. },
  22889. "audittime": {
  22890. "description": "审核时间",
  22891. "type": "string"
  22892. },
  22893. "audittradedate": {
  22894. "description": "审核交易日(yyyyMMdd)",
  22895. "type": "string"
  22896. },
  22897. "beforevalue": {
  22898. "description": "变更前",
  22899. "type": "number"
  22900. },
  22901. "deliverygoodscode": {
  22902. "description": "品种代码",
  22903. "type": "string"
  22904. },
  22905. "deliverygoodsid": {
  22906. "description": "品种id",
  22907. "type": "integer"
  22908. },
  22909. "deliverygoodsname": {
  22910. "description": "品种名称",
  22911. "type": "string"
  22912. },
  22913. "middlegoodscode": {
  22914. "description": "套保品种代码",
  22915. "type": "string"
  22916. },
  22917. "middlegoodsid": {
  22918. "description": "套保品种ID [ParamChangeType = 2,3,4]",
  22919. "type": "integer"
  22920. },
  22921. "middlegoodsname": {
  22922. "description": "套保品种名称",
  22923. "type": "string"
  22924. },
  22925. "operatetype": {
  22926. "description": "操作类型 - 1:新增 2:修改",
  22927. "type": "integer"
  22928. },
  22929. "paramchangetype": {
  22930. "description": "参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)",
  22931. "type": "integer"
  22932. },
  22933. "wrstandardcode": {
  22934. "description": "现货商品代码",
  22935. "type": "string"
  22936. },
  22937. "wrstandardid": {
  22938. "description": "现货商品ID [ParamChangeType = 1,2,3]",
  22939. "type": "integer"
  22940. },
  22941. "wrstandardname": {
  22942. "description": "现货商品名称",
  22943. "type": "string"
  22944. }
  22945. }
  22946. },
  22947. "models.Ermcp3RootUserAccount": {
  22948. "type": "object",
  22949. "properties": {
  22950. "accountname": {
  22951. "description": "账户名称(机构名称)",
  22952. "type": "string"
  22953. },
  22954. "accountstatus": {
  22955. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  22956. "type": "integer"
  22957. },
  22958. "applysrc": {
  22959. "description": "申请来源 - 1:管理端 2:终端",
  22960. "type": "integer"
  22961. },
  22962. "auditremark": {
  22963. "description": "审核备注",
  22964. "type": "string"
  22965. },
  22966. "auditsrc": {
  22967. "description": "审核来源 - 1:管理端 2:终端",
  22968. "type": "integer"
  22969. },
  22970. "audittime": {
  22971. "description": "审核时间",
  22972. "type": "string"
  22973. },
  22974. "audituserid": {
  22975. "description": "审核人",
  22976. "type": "integer"
  22977. },
  22978. "broker": {
  22979. "description": "所属经纪人ID",
  22980. "type": "integer"
  22981. },
  22982. "canceltime": {
  22983. "description": "销户时间",
  22984. "type": "string"
  22985. },
  22986. "canceluserid": {
  22987. "description": "销户人",
  22988. "type": "integer"
  22989. },
  22990. "canrecommend": {
  22991. "description": "是否可推荐 - 0:不可 1;可",
  22992. "type": "integer"
  22993. },
  22994. "createtime": {
  22995. "description": "创建时间",
  22996. "type": "string"
  22997. },
  22998. "creatorid": {
  22999. "description": "创建人",
  23000. "type": "integer"
  23001. },
  23002. "hasauth": {
  23003. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  23004. "type": "integer"
  23005. },
  23006. "isanonymous": {
  23007. "description": "是否匿名下单 - 0:否 1:是",
  23008. "type": "integer"
  23009. },
  23010. "maxinvestornum": {
  23011. "description": "最大用户数(经纪会员下投资者个数)",
  23012. "type": "integer"
  23013. },
  23014. "memberuserid": {
  23015. "description": "所属会员ID",
  23016. "type": "integer"
  23017. },
  23018. "modifierid": {
  23019. "description": "修改人",
  23020. "type": "integer"
  23021. },
  23022. "modifyremark": {
  23023. "description": "变更备注",
  23024. "type": "string"
  23025. },
  23026. "modifystatus": {
  23027. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  23028. "type": "integer"
  23029. },
  23030. "modifytime": {
  23031. "description": "修改时间",
  23032. "type": "string"
  23033. },
  23034. "nickname": {
  23035. "description": "昵称",
  23036. "type": "string"
  23037. },
  23038. "parenttopuser": {
  23039. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  23040. "type": "string"
  23041. },
  23042. "parentuserid": {
  23043. "description": "所属机构ID",
  23044. "type": "integer"
  23045. },
  23046. "reckonaccountid": {
  23047. "description": "默认结算资金账号ID(机构分润使用) 作废",
  23048. "type": "integer"
  23049. },
  23050. "refercount": {
  23051. "description": "推荐总人数",
  23052. "type": "integer"
  23053. },
  23054. "refereeuserid": {
  23055. "description": "推荐人ID",
  23056. "type": "integer"
  23057. },
  23058. "refernum": {
  23059. "description": "推荐码",
  23060. "type": "string"
  23061. },
  23062. "rootuserid": {
  23063. "description": "根用户ID",
  23064. "type": "integer"
  23065. },
  23066. "subaccountlevel": {
  23067. "description": "子账户层数",
  23068. "type": "integer"
  23069. },
  23070. "subarealevelpath": {
  23071. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  23072. "type": "string"
  23073. },
  23074. "userid": {
  23075. "description": "用户ID",
  23076. "type": "integer"
  23077. },
  23078. "usertype": {
  23079. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  23080. "type": "integer"
  23081. }
  23082. }
  23083. },
  23084. "models.Ermcp3SCMiddleGoods": {
  23085. "type": "object",
  23086. "properties": {
  23087. "biztype": {
  23088. "description": "业务类型 1:套保 2:套利",
  23089. "type": "integer"
  23090. },
  23091. "contractno": {
  23092. "description": "合同编号",
  23093. "type": "string"
  23094. },
  23095. "contracttype": {
  23096. "description": "合同类型 1:采购 -1:销售",
  23097. "type": "integer"
  23098. },
  23099. "convertratio": {
  23100. "description": "折算系数",
  23101. "type": "number"
  23102. },
  23103. "customername": {
  23104. "description": "对手手名称",
  23105. "type": "string"
  23106. },
  23107. "customeruserid": {
  23108. "description": "对手id",
  23109. "type": "integer"
  23110. },
  23111. "deliverygoodscode": {
  23112. "description": "现货品种代码",
  23113. "type": "string"
  23114. },
  23115. "deliverygoodsid": {
  23116. "description": "现货品种ID",
  23117. "type": "integer"
  23118. },
  23119. "deliverygoodsname": {
  23120. "description": "现货品种名称",
  23121. "type": "string"
  23122. },
  23123. "enumdicname": {
  23124. "description": "现货单位名称",
  23125. "type": "string"
  23126. },
  23127. "middlegoodsid": {
  23128. "description": "套保品种ID",
  23129. "type": "integer"
  23130. },
  23131. "middlegoodspricedqty3": {
  23132. "description": "应套保数量 = MiddleGoodsPricedQty2 * 套保比率",
  23133. "type": "number"
  23134. },
  23135. "needhedgeratio": {
  23136. "description": "套保比例",
  23137. "type": "number"
  23138. },
  23139. "pricedqty": {
  23140. "description": "已定价量",
  23141. "type": "number"
  23142. },
  23143. "relatedmiddlegoodsqty": {
  23144. "description": "已关联量(套保品种)(期货)",
  23145. "type": "number"
  23146. },
  23147. "spotcontractid": {
  23148. "description": "合同编号",
  23149. "type": "string"
  23150. },
  23151. "unitid": {
  23152. "description": "现货单位id",
  23153. "type": "integer"
  23154. },
  23155. "userid": {
  23156. "description": "用户id",
  23157. "type": "integer"
  23158. },
  23159. "vatrate": {
  23160. "description": "增值税率",
  23161. "type": "number"
  23162. },
  23163. "wrstandardcode": {
  23164. "description": "现货商品代码",
  23165. "type": "string"
  23166. },
  23167. "wrstandardid": {
  23168. "description": "现货商品id",
  23169. "type": "integer"
  23170. },
  23171. "wrstandardname": {
  23172. "description": "现货商品名称",
  23173. "type": "string"
  23174. }
  23175. }
  23176. },
  23177. "models.Ermcp3SCMiddleGoodsReport": {
  23178. "type": "object",
  23179. "properties": {
  23180. "begindate": {
  23181. "description": "开始交易日",
  23182. "type": "string"
  23183. },
  23184. "contractno": {
  23185. "description": "合同编号",
  23186. "type": "string"
  23187. },
  23188. "contracttype": {
  23189. "description": "合同类型 1:采购 -1:销售",
  23190. "type": "integer"
  23191. },
  23192. "convertratio": {
  23193. "description": "折算系数",
  23194. "type": "number"
  23195. },
  23196. "cycletime": {
  23197. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  23198. "type": "string"
  23199. },
  23200. "cycletype": {
  23201. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  23202. "type": "integer"
  23203. },
  23204. "deliverygoodscode": {
  23205. "description": "品种代码",
  23206. "type": "string"
  23207. },
  23208. "deliverygoodsid": {
  23209. "description": "现货品种ID",
  23210. "type": "integer"
  23211. },
  23212. "deliverygoodsname": {
  23213. "description": "品种名称",
  23214. "type": "string"
  23215. },
  23216. "diffprice": {
  23217. "description": "现期价格差 = 今日点价登记均价(基价) - 今日期货成交均价",
  23218. "type": "number"
  23219. },
  23220. "diffqty": {
  23221. "description": "期现数量差 = 套保计划量 - 今日期货关联成交量",
  23222. "type": "number"
  23223. },
  23224. "enddate": {
  23225. "description": "结束交易日",
  23226. "type": "string"
  23227. },
  23228. "hedgeplanqty": {
  23229. "description": "套保计划量 = TodayPricedQty * 折算系数 * (1/(1+增值税率)) * 套保比例",
  23230. "type": "number"
  23231. },
  23232. "matchname": {
  23233. "description": "交易对手方(个人:用户名称 企业:简称)",
  23234. "type": "string"
  23235. },
  23236. "matchnickname": {
  23237. "description": "交易对手方昵称",
  23238. "type": "string"
  23239. },
  23240. "middlegoodscode": {
  23241. "description": "套保品种代码",
  23242. "type": "string"
  23243. },
  23244. "middlegoodsid": {
  23245. "description": "套保品种ID",
  23246. "type": "integer"
  23247. },
  23248. "middlegoodsname": {
  23249. "description": "套保品种名称",
  23250. "type": "string"
  23251. },
  23252. "middlegoodspricedqty": {
  23253. "description": "已定价量(套保品种 - 税前) = PricedQty * 折算系数",
  23254. "type": "number"
  23255. },
  23256. "middlegoodspricedqty2": {
  23257. "description": "已定价量(套保品种- 税后) = MiddleGoodsPricedQty * (1/(1+增值税率))",
  23258. "type": "number"
  23259. },
  23260. "middlegoodspricedqty3": {
  23261. "description": "已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率",
  23262. "type": "number"
  23263. },
  23264. "needhedgeratio": {
  23265. "description": "套保系数",
  23266. "type": "number"
  23267. },
  23268. "pricedamount": {
  23269. "description": "已定价额(现货)",
  23270. "type": "number"
  23271. },
  23272. "pricedamount2": {
  23273. "description": "已定价额(现货-基价额)",
  23274. "type": "number"
  23275. },
  23276. "pricedqty": {
  23277. "description": "已定价量(现货)",
  23278. "type": "number"
  23279. },
  23280. "reckondate": {
  23281. "description": "日照时期(yyyyMMdd)",
  23282. "type": "string"
  23283. },
  23284. "relatedmiddlegoodsamount": {
  23285. "description": "已关联额(期货)",
  23286. "type": "number"
  23287. },
  23288. "relatedmiddlegoodsqty": {
  23289. "description": "已关联量(套保品种)(期货)",
  23290. "type": "number"
  23291. },
  23292. "spotcontractid": {
  23293. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  23294. "type": "string"
  23295. },
  23296. "todayavgfutuprice": {
  23297. "description": "今日期货成交均价 = TodayRelatedMiddleGoodsAmount /todayrelatedfutureqty",
  23298. "type": "number"
  23299. },
  23300. "todayavgprice": {
  23301. "description": "今日定价均价 = TodayPricedAmount / TodayPricedQty",
  23302. "type": "number"
  23303. },
  23304. "todayavgprice2": {
  23305. "description": "今日点价登记均价(基价) = TodayPricedAmount2 / TodayPricedQty",
  23306. "type": "number"
  23307. },
  23308. "todaypricedamount": {
  23309. "description": "今日定价额(现货)",
  23310. "type": "number"
  23311. },
  23312. "todaypricedamount2": {
  23313. "description": "今日定价额(现货-基价额)",
  23314. "type": "number"
  23315. },
  23316. "todaypricedqty": {
  23317. "description": "今日定价量(现货)",
  23318. "type": "number"
  23319. },
  23320. "todayrelatedfutureqty": {
  23321. "description": "今日关联量(期货)",
  23322. "type": "number"
  23323. },
  23324. "todayrelatedmiddlegoodsamount": {
  23325. "description": "今日关联额(期货)",
  23326. "type": "number"
  23327. },
  23328. "todayrelatedmiddlegoodsqty": {
  23329. "description": "今日关联量(套保品-期货)",
  23330. "type": "number"
  23331. },
  23332. "updatetime": {
  23333. "description": "更新时间",
  23334. "type": "string"
  23335. },
  23336. "userid": {
  23337. "description": "合同所属用户id",
  23338. "type": "integer"
  23339. },
  23340. "vatrate": {
  23341. "description": "增值税率",
  23342. "type": "number"
  23343. },
  23344. "wrstandardcode": {
  23345. "description": "商品(品类) 代码",
  23346. "type": "string"
  23347. },
  23348. "wrstandardid": {
  23349. "description": "现货商品ID",
  23350. "type": "integer"
  23351. },
  23352. "wrstandardname": {
  23353. "description": "商品(品类) 名称",
  23354. "type": "string"
  23355. }
  23356. }
  23357. },
  23358. "models.Ermcp3SellBuyContract": {
  23359. "type": "object",
  23360. "properties": {
  23361. "accountid": {
  23362. "description": "期货账户id",
  23363. "type": "string"
  23364. },
  23365. "accountname": {
  23366. "description": "账户名称",
  23367. "type": "string"
  23368. },
  23369. "attachment": {
  23370. "description": "附件",
  23371. "type": "string"
  23372. },
  23373. "audittime": {
  23374. "description": "审核时间",
  23375. "type": "string"
  23376. },
  23377. "bizsubjectid": {
  23378. "description": "归属业务部门ID - SubjectID",
  23379. "type": "integer"
  23380. },
  23381. "biztype": {
  23382. "description": "业务类型 1-套保 2-套利",
  23383. "type": "integer"
  23384. },
  23385. "brandname": {
  23386. "description": "品牌名称",
  23387. "type": "string"
  23388. },
  23389. "contracctstatus": {
  23390. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  23391. "type": "integer"
  23392. },
  23393. "contractmargin": {
  23394. "description": "合同保证金",
  23395. "type": "number"
  23396. },
  23397. "contractno": {
  23398. "description": "合同编号",
  23399. "type": "string"
  23400. },
  23401. "contracttype": {
  23402. "description": "合同类型 1-采购, -1-销售",
  23403. "type": "integer"
  23404. },
  23405. "convertfactor": {
  23406. "description": "标仓系数(品类)",
  23407. "type": "number"
  23408. },
  23409. "createtime": {
  23410. "description": "创建时间",
  23411. "type": "string"
  23412. },
  23413. "currencyid": {
  23414. "description": "币种id",
  23415. "type": "integer"
  23416. },
  23417. "currencyname": {
  23418. "description": "币种名称",
  23419. "type": "string"
  23420. },
  23421. "daikaiamount": {
  23422. "description": "应收(开)票额",
  23423. "type": "number"
  23424. },
  23425. "deliveryenddate": {
  23426. "description": "交割结束日",
  23427. "type": "string"
  23428. },
  23429. "deliverygoodscode": {
  23430. "description": "现货品种代码",
  23431. "type": "string"
  23432. },
  23433. "deliverygoodsid": {
  23434. "description": "现货商品ID",
  23435. "type": "integer"
  23436. },
  23437. "deliverygoodsname": {
  23438. "description": "现货品种名称",
  23439. "type": "string"
  23440. },
  23441. "deliverystartdate": {
  23442. "description": "交割开始日",
  23443. "type": "string"
  23444. },
  23445. "enddate": {
  23446. "description": "点价结束日",
  23447. "type": "string"
  23448. },
  23449. "enumdicname": {
  23450. "description": "单位名称",
  23451. "type": "string"
  23452. },
  23453. "goodscode": {
  23454. "description": "点价商品代码",
  23455. "type": "string"
  23456. },
  23457. "goodsgroupid": {
  23458. "description": "点价商品组id",
  23459. "type": "integer"
  23460. },
  23461. "goodsid": {
  23462. "description": "点价商品ID",
  23463. "type": "integer"
  23464. },
  23465. "goodsname": {
  23466. "description": "点价商品名称",
  23467. "type": "string"
  23468. },
  23469. "invoiceamount": {
  23470. "description": "已开票额",
  23471. "type": "number"
  23472. },
  23473. "loanamount": {
  23474. "description": "贷款总额=已定价额+调整金额",
  23475. "type": "number"
  23476. },
  23477. "margin": {
  23478. "description": "保证金",
  23479. "type": "number"
  23480. },
  23481. "meruserid": {
  23482. "description": "跟单员id",
  23483. "type": "integer"
  23484. },
  23485. "meruserlogincode": {
  23486. "description": "跟单员登录代码",
  23487. "type": "string"
  23488. },
  23489. "merusername": {
  23490. "description": "跟单员名称",
  23491. "type": "string"
  23492. },
  23493. "nickname": {
  23494. "description": "账户昵称",
  23495. "type": "string"
  23496. },
  23497. "orireckonrealqty": {
  23498. "description": "应交收量",
  23499. "type": "number"
  23500. },
  23501. "payamount": {
  23502. "description": "已收付额(收款或付款)",
  23503. "type": "number"
  23504. },
  23505. "preinvoiceamount": {
  23506. "description": "预收(开)票额",
  23507. "type": "number"
  23508. },
  23509. "prepayamount": {
  23510. "description": "预收付额",
  23511. "type": "number"
  23512. },
  23513. "price": {
  23514. "description": "价格",
  23515. "type": "number"
  23516. },
  23517. "pricedamount": {
  23518. "description": "已定价额",
  23519. "type": "number"
  23520. },
  23521. "pricedavg": {
  23522. "description": "已点均价",
  23523. "type": "number"
  23524. },
  23525. "pricedqty": {
  23526. "description": "已定价量",
  23527. "type": "number"
  23528. },
  23529. "pricemove": {
  23530. "description": "升贴水",
  23531. "type": "number"
  23532. },
  23533. "pricetype": {
  23534. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  23535. "type": "integer"
  23536. },
  23537. "producttype": {
  23538. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  23539. "type": "integer"
  23540. },
  23541. "qty": {
  23542. "description": "合同量",
  23543. "type": "number"
  23544. },
  23545. "reckonadjustamount": {
  23546. "description": "调整金额",
  23547. "type": "number"
  23548. },
  23549. "reckonedamount": {
  23550. "description": "实际已收付额(已确定额,已收付总额-已退款总额)",
  23551. "type": "number"
  23552. },
  23553. "reckonotheramount": {
  23554. "description": "其它费用",
  23555. "type": "number"
  23556. },
  23557. "reckonrealqty": {
  23558. "description": "已交收量",
  23559. "type": "number"
  23560. },
  23561. "remark": {
  23562. "description": "备注",
  23563. "type": "string"
  23564. },
  23565. "saleuserid": {
  23566. "description": "业务员id",
  23567. "type": "integer"
  23568. },
  23569. "saleuserlogincode": {
  23570. "description": "业务员登录代码",
  23571. "type": "string"
  23572. },
  23573. "saleusername": {
  23574. "description": "业务员名称",
  23575. "type": "string"
  23576. },
  23577. "spotcontractid": {
  23578. "description": "合同ID",
  23579. "type": "string"
  23580. },
  23581. "spotgoodsbrandid": {
  23582. "description": "现货品牌ID(DGFactoryItem表的ID)",
  23583. "type": "integer"
  23584. },
  23585. "spotgoodsdesc": {
  23586. "description": "商品型号(商品规格)",
  23587. "type": "string"
  23588. },
  23589. "startdate": {
  23590. "description": "点价开始日",
  23591. "type": "string"
  23592. },
  23593. "subjectid": {
  23594. "description": "交易主体ID",
  23595. "type": "integer"
  23596. },
  23597. "subjectname": {
  23598. "description": "交易主体名称",
  23599. "type": "string"
  23600. },
  23601. "totalamount": {
  23602. "description": "合计总额",
  23603. "type": "number"
  23604. },
  23605. "tradeuserid": {
  23606. "description": "交易员id",
  23607. "type": "integer"
  23608. },
  23609. "tradeuserlogincode": {
  23610. "description": "交易员登录代码",
  23611. "type": "string"
  23612. },
  23613. "tradeusername": {
  23614. "description": "交易员名称",
  23615. "type": "string"
  23616. },
  23617. "unpayamount": {
  23618. "description": "应收付款额(应支付或应收款)",
  23619. "type": "number"
  23620. },
  23621. "unpricedqty": {
  23622. "description": "未定价量",
  23623. "type": "number"
  23624. },
  23625. "unsureqty": {
  23626. "description": "未确定量",
  23627. "type": "number"
  23628. },
  23629. "userid": {
  23630. "description": "机构ID",
  23631. "type": "integer"
  23632. },
  23633. "vatrate": {
  23634. "description": "增值税率",
  23635. "type": "number"
  23636. },
  23637. "wrstandardcode": {
  23638. "description": "品类代码",
  23639. "type": "string"
  23640. },
  23641. "wrstandardid": {
  23642. "description": "品类ID",
  23643. "type": "integer"
  23644. },
  23645. "wrstandardname": {
  23646. "description": "品类名称",
  23647. "type": "string"
  23648. }
  23649. }
  23650. },
  23651. "models.Ermcp3SpotGoodsPrice": {
  23652. "type": "object",
  23653. "properties": {
  23654. "areauserid": {
  23655. "description": "所属机构id",
  23656. "type": "integer"
  23657. },
  23658. "brandname": {
  23659. "description": "品牌名称",
  23660. "type": "string"
  23661. },
  23662. "currencyid": {
  23663. "description": "报价货币ID",
  23664. "type": "integer"
  23665. },
  23666. "currencyname": {
  23667. "description": "币种名称",
  23668. "type": "string"
  23669. },
  23670. "deliverygoodscode": {
  23671. "description": "现货商品代码",
  23672. "type": "string"
  23673. },
  23674. "deliverygoodsid": {
  23675. "description": "现货商品id",
  23676. "type": "integer"
  23677. },
  23678. "deliverygoodsname": {
  23679. "description": "现货商品名称",
  23680. "type": "string"
  23681. },
  23682. "enumdicname": {
  23683. "description": "现货商品单位名称",
  23684. "type": "string"
  23685. },
  23686. "gbenumdicname": {
  23687. "description": "品类单位名称",
  23688. "type": "string"
  23689. },
  23690. "gmunitid": {
  23691. "description": "品类单位id",
  23692. "type": "integer"
  23693. },
  23694. "isvalid": {
  23695. "description": "是否有效 - 0:无效 1:有效",
  23696. "type": "integer"
  23697. },
  23698. "operateid": {
  23699. "description": "最后操作人",
  23700. "type": "integer"
  23701. },
  23702. "operatesrc": {
  23703. "description": "最后操作来源 - 1:管理端 2:终端",
  23704. "type": "integer"
  23705. },
  23706. "operatetime": {
  23707. "description": "最后操作时间",
  23708. "type": "string"
  23709. },
  23710. "operatorname": {
  23711. "description": "操作人名称",
  23712. "type": "string"
  23713. },
  23714. "spotgoodsbrandid": {
  23715. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  23716. "type": "integer"
  23717. },
  23718. "spotgoodsprice": {
  23719. "description": "现货价格",
  23720. "type": "number"
  23721. },
  23722. "tradedate": {
  23723. "description": "交易日(yyyyMMdd)",
  23724. "type": "string"
  23725. },
  23726. "unitid": {
  23727. "description": "现货商品单位id",
  23728. "type": "integer"
  23729. },
  23730. "wrstandardcode": {
  23731. "description": "品类代码",
  23732. "type": "string"
  23733. },
  23734. "wrstandardid": {
  23735. "description": "现货品类ID(通用则为0)",
  23736. "type": "integer"
  23737. },
  23738. "wrstandardname": {
  23739. "description": "品类名称",
  23740. "type": "string"
  23741. }
  23742. }
  23743. },
  23744. "models.Ermcp3SpotGoodsPriceLog": {
  23745. "type": "object",
  23746. "properties": {
  23747. "areauserid": {
  23748. "description": "所属机构id",
  23749. "type": "integer"
  23750. },
  23751. "brandname": {
  23752. "description": "品牌名称",
  23753. "type": "string"
  23754. },
  23755. "currencyid": {
  23756. "description": "报价货币ID",
  23757. "type": "integer"
  23758. },
  23759. "deliverygoodscode": {
  23760. "description": "现货商品代码",
  23761. "type": "string"
  23762. },
  23763. "deliverygoodsid": {
  23764. "description": "现货商品id",
  23765. "type": "integer"
  23766. },
  23767. "deliverygoodsname": {
  23768. "description": "现货商品名称",
  23769. "type": "string"
  23770. },
  23771. "enumdicname": {
  23772. "description": "现货商品单位名称",
  23773. "type": "string"
  23774. },
  23775. "gbenumdicname": {
  23776. "description": "品类单位名称",
  23777. "type": "string"
  23778. },
  23779. "gmunitid": {
  23780. "description": "品类单位id",
  23781. "type": "integer"
  23782. },
  23783. "logid": {
  23784. "description": "日志id",
  23785. "type": "integer"
  23786. },
  23787. "operateid": {
  23788. "description": "最后操作人",
  23789. "type": "integer"
  23790. },
  23791. "operatesrc": {
  23792. "description": "最后操作来源 - 1:管理端 2:终端",
  23793. "type": "integer"
  23794. },
  23795. "operatetime": {
  23796. "description": "最后操作时间",
  23797. "type": "string"
  23798. },
  23799. "operatorname": {
  23800. "description": "操作人名称",
  23801. "type": "string"
  23802. },
  23803. "spotgoodsbrandid": {
  23804. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  23805. "type": "integer"
  23806. },
  23807. "spotgoodsprice": {
  23808. "description": "现货价格",
  23809. "type": "number"
  23810. },
  23811. "tradedate": {
  23812. "description": "交易日(yyyyMMdd)",
  23813. "type": "string"
  23814. },
  23815. "unitid": {
  23816. "description": "现货商品单位id",
  23817. "type": "integer"
  23818. },
  23819. "wrstandardcode": {
  23820. "description": "品类代码",
  23821. "type": "string"
  23822. },
  23823. "wrstandardid": {
  23824. "description": "现货品类ID(通用则为0)",
  23825. "type": "integer"
  23826. },
  23827. "wrstandardname": {
  23828. "description": "品类名称",
  23829. "type": "string"
  23830. }
  23831. }
  23832. },
  23833. "models.Ermcp3SubTaaccount": {
  23834. "type": "object",
  23835. "properties": {
  23836. "accountid": {
  23837. "description": "资金账户ID",
  23838. "type": "integer"
  23839. },
  23840. "parentaccountcode": {
  23841. "description": "所属根账号代码(母账号代码)",
  23842. "type": "string"
  23843. },
  23844. "parentaccountid": {
  23845. "description": "所属根账号(母账号)",
  23846. "type": "integer"
  23847. },
  23848. "taname": {
  23849. "description": "资金账号名称",
  23850. "type": "string"
  23851. },
  23852. "tradestatus": {
  23853. "description": "交易状态 - 1:正常 2:受限 3:冻结(停用) 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已删除(注销)",
  23854. "type": "integer"
  23855. },
  23856. "username": {
  23857. "description": "交易用户",
  23858. "type": "string"
  23859. }
  23860. }
  23861. },
  23862. "models.Ermcp3TaFutuReDataReport": {
  23863. "type": "object",
  23864. "properties": {
  23865. "accountid": {
  23866. "description": "交易账户",
  23867. "type": "integer"
  23868. },
  23869. "accountname": {
  23870. "description": "交易账号名称",
  23871. "type": "string"
  23872. },
  23873. "agreeunit": {
  23874. "description": "商品合约单位",
  23875. "type": "number"
  23876. },
  23877. "begindate": {
  23878. "description": "开始交易日",
  23879. "type": "string"
  23880. },
  23881. "buyorsell": {
  23882. "description": "持仓方向",
  23883. "type": "integer"
  23884. },
  23885. "charge": {
  23886. "description": "手续费",
  23887. "type": "number"
  23888. },
  23889. "closeavgprice": {
  23890. "description": "平仓均价",
  23891. "type": "number"
  23892. },
  23893. "closepl": {
  23894. "description": "平仓损益",
  23895. "type": "number"
  23896. },
  23897. "currencyid": {
  23898. "description": "结算币种ID",
  23899. "type": "integer"
  23900. },
  23901. "currencyname": {
  23902. "description": "币种名称",
  23903. "type": "string"
  23904. },
  23905. "cycletime": {
  23906. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  23907. "type": "string"
  23908. },
  23909. "cycletype": {
  23910. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  23911. "type": "integer"
  23912. },
  23913. "enddate": {
  23914. "description": "结束交易日",
  23915. "type": "string"
  23916. },
  23917. "enumdicname": {
  23918. "description": "单位名称",
  23919. "type": "string"
  23920. },
  23921. "floatpl": {
  23922. "description": "浮动损益",
  23923. "type": "number"
  23924. },
  23925. "goodscode": {
  23926. "description": "交易合约代码",
  23927. "type": "string"
  23928. },
  23929. "goodsgroupid": {
  23930. "description": "交易品种",
  23931. "type": "integer"
  23932. },
  23933. "goodsgroupname": {
  23934. "description": "交易品种名称",
  23935. "type": "string"
  23936. },
  23937. "goodsgroupspotqty": {
  23938. "description": "交易品种期末量 (= 期末持仓量 * 合约乘数)",
  23939. "type": "number"
  23940. },
  23941. "goodsid": {
  23942. "description": "交易合约",
  23943. "type": "integer"
  23944. },
  23945. "goodsname": {
  23946. "description": "交易合约名称",
  23947. "type": "string"
  23948. },
  23949. "goodunitid": {
  23950. "description": "交易合约单位id",
  23951. "type": "integer"
  23952. },
  23953. "holdamount": {
  23954. "description": "期末持仓额",
  23955. "type": "number"
  23956. },
  23957. "holdqty": {
  23958. "description": "期末持仓量",
  23959. "type": "number"
  23960. },
  23961. "lastholdamount": {
  23962. "description": "当前持仓额",
  23963. "type": "number"
  23964. },
  23965. "lastprice": {
  23966. "description": "最新价",
  23967. "type": "number"
  23968. },
  23969. "middlegoodsid": {
  23970. "description": "套保品种id",
  23971. "type": "integer"
  23972. },
  23973. "middlegoodsname": {
  23974. "description": "套保商品名称",
  23975. "type": "string"
  23976. },
  23977. "middlegoodsqty": {
  23978. "description": "套保品种期末量 (=交易品种期末量 * 期货品种折算系数)",
  23979. "type": "number"
  23980. },
  23981. "middlgoodscode": {
  23982. "description": "套保商品代码",
  23983. "type": "string"
  23984. },
  23985. "openamount": {
  23986. "description": "期末开仓额",
  23987. "type": "number"
  23988. },
  23989. "openavgprice": {
  23990. "description": "开仓均价",
  23991. "type": "number"
  23992. },
  23993. "oriholdamount": {
  23994. "description": "期初持仓额",
  23995. "type": "number"
  23996. },
  23997. "oriholdqty": {
  23998. "description": "期初持仓量",
  23999. "type": "number"
  24000. },
  24001. "oriopenamount": {
  24002. "description": "期初开仓额",
  24003. "type": "number"
  24004. },
  24005. "outergroupcode": {
  24006. "description": "交易品种代码",
  24007. "type": "string"
  24008. },
  24009. "qtydecimalplace": {
  24010. "description": "成交量小数位",
  24011. "type": "integer"
  24012. },
  24013. "reckondate": {
  24014. "description": "日照时期(yyyyMMdd)",
  24015. "type": "string"
  24016. },
  24017. "reckonholdamount": {
  24018. "description": "结算持仓额",
  24019. "type": "number"
  24020. },
  24021. "reckonpl": {
  24022. "description": "结算损益",
  24023. "type": "number"
  24024. },
  24025. "reckonpl2": {
  24026. "description": "结算逐笔盈亏",
  24027. "type": "number"
  24028. },
  24029. "reckonprice": {
  24030. "description": "结算价",
  24031. "type": "number"
  24032. },
  24033. "relateduserid": {
  24034. "description": "账户关联用户ID",
  24035. "type": "integer"
  24036. },
  24037. "todaycloseamount": {
  24038. "description": "今平仓额",
  24039. "type": "number"
  24040. },
  24041. "todaycloseqty": {
  24042. "description": "今平仓量",
  24043. "type": "number"
  24044. },
  24045. "todaygoodsgroupspotqty": {
  24046. "description": "交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)",
  24047. "type": "number"
  24048. },
  24049. "todaymiddlegoodsqty": {
  24050. "description": "套保品种变化量 (= 交易品种变化量*期货品种折算系数)",
  24051. "type": "number"
  24052. },
  24053. "todayopenamount": {
  24054. "description": "今开仓额",
  24055. "type": "number"
  24056. },
  24057. "todayopenqty": {
  24058. "description": "今开仓量",
  24059. "type": "number"
  24060. },
  24061. "userid": {
  24062. "description": "账户所属用户ID",
  24063. "type": "integer"
  24064. }
  24065. }
  24066. },
  24067. "models.Ermcp3TradeLinkDetail": {
  24068. "type": "object",
  24069. "properties": {
  24070. "accountid": {
  24071. "description": "资金账号",
  24072. "type": "integer"
  24073. },
  24074. "agreeunit": {
  24075. "description": "合约乘数",
  24076. "type": "number"
  24077. },
  24078. "areauserid": {
  24079. "description": "所属机构",
  24080. "type": "string"
  24081. },
  24082. "bizsubjectid": {
  24083. "description": "归属业务部门ID - SubjectID",
  24084. "type": "string"
  24085. },
  24086. "buyorsell": {
  24087. "description": "方向 - 0:买 1:卖",
  24088. "type": "integer"
  24089. },
  24090. "channelbuildtype": {
  24091. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  24092. "type": "integer"
  24093. },
  24094. "contractno": {
  24095. "description": "现货编号 (合同编号)",
  24096. "type": "string"
  24097. },
  24098. "convertratio": {
  24099. "description": "折算系数",
  24100. "type": "number"
  24101. },
  24102. "createtime": {
  24103. "description": "关联时间 | 创建时间",
  24104. "type": "string"
  24105. },
  24106. "creatorid": {
  24107. "description": "创建人ID",
  24108. "type": "string"
  24109. },
  24110. "creatorsrc": {
  24111. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  24112. "type": "integer"
  24113. },
  24114. "enumdicname": {
  24115. "description": "单位名称",
  24116. "type": "string"
  24117. },
  24118. "goodscode": {
  24119. "description": "合约代码",
  24120. "type": "string"
  24121. },
  24122. "goodsgroupid": {
  24123. "description": "对冲品种ID[期货合约商品组ID]",
  24124. "type": "integer"
  24125. },
  24126. "goodsid": {
  24127. "description": "商品ID",
  24128. "type": "integer"
  24129. },
  24130. "goodsname": {
  24131. "description": "合约名称",
  24132. "type": "string"
  24133. },
  24134. "hedgeflag": {
  24135. "description": "业务类型 | 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)",
  24136. "type": "integer"
  24137. },
  24138. "linkdetailid": {
  24139. "description": "关联ID(614+Unix秒时间戳(10位)+xxxxxx)",
  24140. "type": "string"
  24141. },
  24142. "linkstatus": {
  24143. "description": "关联状态 - 1:成功 2:失败 3:解绑",
  24144. "type": "integer"
  24145. },
  24146. "middlegoodscode": {
  24147. "description": "套保品种代码",
  24148. "type": "string"
  24149. },
  24150. "middlegoodsid": {
  24151. "description": "套保品种ID",
  24152. "type": "integer"
  24153. },
  24154. "middlegoodsname": {
  24155. "description": "套保品种名称",
  24156. "type": "string"
  24157. },
  24158. "relatedlot": {
  24159. "description": "关联手数",
  24160. "type": "number"
  24161. },
  24162. "relatedmode": {
  24163. "description": "关联方式 - 1:自动关联 2:手动关联 3:解绑关联",
  24164. "type": "integer"
  24165. },
  24166. "relatedqty": {
  24167. "description": "关联数量 = RelatedLot * AgreeUnit * ConvertRatio",
  24168. "type": "number"
  24169. },
  24170. "retcode": {
  24171. "description": "返回码",
  24172. "type": "integer"
  24173. },
  24174. "saleuserid": {
  24175. "description": "业务员ID",
  24176. "type": "string"
  24177. },
  24178. "spotcontractid": {
  24179. "description": "现货合同\\套保计划ID [4,10,11 - 现货合同ID] [9:套期保值(计划) - 套保计划ID]",
  24180. "type": "string"
  24181. },
  24182. "taname": {
  24183. "description": "期货账户",
  24184. "type": "string"
  24185. },
  24186. "tradedate": {
  24187. "description": "关联交易日(yyyyMMdd)",
  24188. "type": "string"
  24189. },
  24190. "tradeid": {
  24191. "description": "期货订单号 | 内部成交单ID",
  24192. "type": "string"
  24193. },
  24194. "tradelot": {
  24195. "description": "成交数量 | 成交手数",
  24196. "type": "integer"
  24197. },
  24198. "tradeprice": {
  24199. "description": "成交价格",
  24200. "type": "number"
  24201. },
  24202. "tradetime": {
  24203. "description": "期货成交时间",
  24204. "type": "string"
  24205. },
  24206. "tradetradedate": {
  24207. "description": "成交交易日(yyyyMMdd)",
  24208. "type": "string"
  24209. },
  24210. "username": {
  24211. "description": "用户名称",
  24212. "type": "string"
  24213. }
  24214. }
  24215. },
  24216. "models.Ermcp3Wrstandard": {
  24217. "type": "object",
  24218. "properties": {
  24219. "areauserid": {
  24220. "description": "所属机构",
  24221. "type": "integer"
  24222. },
  24223. "cantrade": {
  24224. "description": "是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)",
  24225. "type": "integer"
  24226. },
  24227. "convertfactor": {
  24228. "description": "标仓系数",
  24229. "type": "number"
  24230. },
  24231. "createtime": {
  24232. "description": "创建时间",
  24233. "type": "string"
  24234. },
  24235. "creatorid": {
  24236. "description": "创建人",
  24237. "type": "integer"
  24238. },
  24239. "deliverygoodsid": {
  24240. "description": "现货品种ID",
  24241. "type": "integer"
  24242. },
  24243. "enumdicname": {
  24244. "description": "品类单位名称",
  24245. "type": "string"
  24246. },
  24247. "isvalid": {
  24248. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  24249. "type": "integer"
  24250. },
  24251. "minivalue": {
  24252. "description": "最小变动值",
  24253. "type": "integer"
  24254. },
  24255. "minivaluedp": {
  24256. "description": "最小变动值小数位",
  24257. "type": "integer"
  24258. },
  24259. "realminivalue": {
  24260. "description": "实际最小变动值",
  24261. "type": "integer"
  24262. },
  24263. "realminivaluedp": {
  24264. "description": "实际最小变动值小数位",
  24265. "type": "integer"
  24266. },
  24267. "remark": {
  24268. "description": "备注",
  24269. "type": "string"
  24270. },
  24271. "unitid": {
  24272. "description": "品类单位ID",
  24273. "type": "integer"
  24274. },
  24275. "updatetime": {
  24276. "description": "更新时间",
  24277. "type": "string"
  24278. },
  24279. "wrstandardcode": {
  24280. "description": "品类代码",
  24281. "type": "string"
  24282. },
  24283. "wrstandardid": {
  24284. "description": "品类ID(SEQ_WRSTANDARD)",
  24285. "type": "integer"
  24286. },
  24287. "wrstandardname": {
  24288. "description": "品类名称",
  24289. "type": "string"
  24290. }
  24291. }
  24292. },
  24293. "models.ErmcpBizGroupEx": {
  24294. "type": "object",
  24295. "properties": {
  24296. "acclist": {
  24297. "description": "账号列表",
  24298. "type": "array",
  24299. "items": {
  24300. "$ref": "#/definitions/models.ErmcpBizGroupTaAccount"
  24301. }
  24302. },
  24303. "bizgroupid": {
  24304. "description": "业务分组id",
  24305. "type": "integer"
  24306. },
  24307. "biztype": {
  24308. "description": "业务类型 1-套保 2-套利",
  24309. "type": "integer"
  24310. },
  24311. "wrlist": {
  24312. "description": "现货商品表",
  24313. "type": "array",
  24314. "items": {
  24315. "$ref": "#/definitions/models.ErmcpBizGroupSpotGoods"
  24316. }
  24317. }
  24318. }
  24319. },
  24320. "models.ErmcpBizGroupSpotGoods": {
  24321. "type": "object",
  24322. "properties": {
  24323. "areauserid": {
  24324. "description": "所属机构id",
  24325. "type": "integer"
  24326. },
  24327. "bizgroupid": {
  24328. "description": "分组id",
  24329. "type": "integer"
  24330. },
  24331. "biztype": {
  24332. "description": "业务类型 1-套保 2-套利",
  24333. "type": "integer"
  24334. },
  24335. "deliverygoodscode": {
  24336. "description": "现货商品代码",
  24337. "type": "string"
  24338. },
  24339. "deliverygoodsid": {
  24340. "description": "现货商品id",
  24341. "type": "integer"
  24342. },
  24343. "deliverygoodsname": {
  24344. "description": "现货商品名称",
  24345. "type": "string"
  24346. },
  24347. "unitid": {
  24348. "description": "现货商品单位id",
  24349. "type": "integer"
  24350. }
  24351. }
  24352. },
  24353. "models.ErmcpBizGroupTaAccount": {
  24354. "type": "object",
  24355. "properties": {
  24356. "accountid": {
  24357. "description": "账号id",
  24358. "type": "integer"
  24359. },
  24360. "accountname": {
  24361. "description": "账号名称",
  24362. "type": "string"
  24363. },
  24364. "areauserid": {
  24365. "description": "所属机构id",
  24366. "type": "integer"
  24367. },
  24368. "bizgroupid": {
  24369. "description": "业务分组id",
  24370. "type": "integer"
  24371. },
  24372. "ismain": {
  24373. "description": "是否主账号 1-是 0-否",
  24374. "type": "integer"
  24375. }
  24376. }
  24377. },
  24378. "models.ErmcpDGFactoryItem": {
  24379. "type": "object",
  24380. "properties": {
  24381. "areauserid": {
  24382. "description": "用户id",
  24383. "type": "integer"
  24384. },
  24385. "deliverygoodsid": {
  24386. "description": "现货品种ID",
  24387. "type": "integer"
  24388. },
  24389. "dgfactoryitemid": {
  24390. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  24391. "type": "integer"
  24392. },
  24393. "dgfactoryitemtypeid": {
  24394. "description": "要素项类型",
  24395. "type": "integer"
  24396. },
  24397. "dgfactoryitemvalue": {
  24398. "description": "要素项值(类型为仓库时填写仓库名称)",
  24399. "type": "string"
  24400. },
  24401. "isvalid": {
  24402. "description": "是否有效 - 0:无效 1:有效",
  24403. "type": "integer"
  24404. },
  24405. "orderindex": {
  24406. "description": "顺序",
  24407. "type": "integer"
  24408. },
  24409. "warehouseid": {
  24410. "description": "仓库ID(类型为仓库时填写)",
  24411. "type": "integer"
  24412. }
  24413. }
  24414. },
  24415. "models.ErmcpDeliveryGoods": {
  24416. "type": "object",
  24417. "properties": {
  24418. "agreeunit": {
  24419. "description": "合约单位[散货时默认为1, 整装时默认为标准数量]",
  24420. "type": "integer"
  24421. },
  24422. "areauserid": {
  24423. "description": "所属机构",
  24424. "type": "integer"
  24425. },
  24426. "auditflag": {
  24427. "description": "交割是否需要审核 - 0:不需要 1:需要审核 默认为0",
  24428. "type": "integer"
  24429. },
  24430. "categoryid": {
  24431. "description": "类别ID(SEQ_WRCATEGORY)",
  24432. "type": "integer"
  24433. },
  24434. "deliverygoodscode": {
  24435. "description": "现货品种代码",
  24436. "type": "string"
  24437. },
  24438. "deliverygoodsid": {
  24439. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  24440. "type": "integer"
  24441. },
  24442. "deliverygoodsname": {
  24443. "description": "现货品种名称",
  24444. "type": "string"
  24445. },
  24446. "deliverygoodstype": {
  24447. "description": "现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细",
  24448. "type": "integer"
  24449. },
  24450. "dgstatus": {
  24451. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  24452. "type": "integer"
  24453. },
  24454. "enumdicname": {
  24455. "description": "现货品种单位名称",
  24456. "type": "string"
  24457. },
  24458. "goodsunitid": {
  24459. "description": "现货品种单位ID",
  24460. "type": "integer"
  24461. },
  24462. "isvalid": {
  24463. "description": "是否有效 - 0:无效 1:有效",
  24464. "type": "integer"
  24465. },
  24466. "qtydecimalplace": {
  24467. "description": "成交量小数位",
  24468. "type": "integer"
  24469. },
  24470. "remark": {
  24471. "description": "备注",
  24472. "type": "string"
  24473. },
  24474. "standardqty": {
  24475. "description": "标准数量(库位数量) [标准品特有]",
  24476. "type": "integer"
  24477. },
  24478. "standardqtyrange": {
  24479. "description": "标准数量偏差范围 [标准品特有]",
  24480. "type": "integer"
  24481. }
  24482. }
  24483. },
  24484. "models.ErmcpFuturesCompany": {
  24485. "type": "object",
  24486. "properties": {
  24487. "brokerid": {
  24488. "description": "经纪公司代码",
  24489. "type": "string"
  24490. },
  24491. "channeladdress": {
  24492. "description": "对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001",
  24493. "type": "string"
  24494. },
  24495. "channelid": {
  24496. "description": "对冲渠道ID",
  24497. "type": "string"
  24498. },
  24499. "createtime": {
  24500. "description": "创建时间",
  24501. "type": "string"
  24502. },
  24503. "creatorid": {
  24504. "description": "创建人",
  24505. "type": "string"
  24506. },
  24507. "fcid": {
  24508. "description": "期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)",
  24509. "type": "integer"
  24510. },
  24511. "fcname": {
  24512. "description": "期货公司名称",
  24513. "type": "string"
  24514. },
  24515. "isvalid": {
  24516. "description": "是否有效 - 0:无效 1:有效",
  24517. "type": "integer"
  24518. },
  24519. "mhpaddress": {
  24520. "description": "MHP服务地址(IP:Port)",
  24521. "type": "string"
  24522. },
  24523. "riskrulegroupid": {
  24524. "description": "风控规则组ID",
  24525. "type": "string"
  24526. },
  24527. "tradefeetmpid": {
  24528. "description": "手续费模板ID[TradeConfigTmpType为2]",
  24529. "type": "string"
  24530. },
  24531. "trademargintmpid": {
  24532. "description": "保证金模板ID [TradeConfigTmpType为1]",
  24533. "type": "string"
  24534. },
  24535. "traderatetmpid": {
  24536. "description": "汇率模板ID[TradeConfigTmpType为3]",
  24537. "type": "string"
  24538. },
  24539. "updatetime": {
  24540. "description": "更新时间",
  24541. "type": "string"
  24542. },
  24543. "updatorid": {
  24544. "description": "更新人",
  24545. "type": "string"
  24546. }
  24547. }
  24548. },
  24549. "models.ErmcpGGConvertCfg": {
  24550. "type": "object",
  24551. "properties": {
  24552. "convertratio": {
  24553. "description": "折算系数",
  24554. "type": "number"
  24555. },
  24556. "destgoodsgroupid": {
  24557. "description": "目标品种ID",
  24558. "type": "integer"
  24559. },
  24560. "dstcode": {
  24561. "description": "目录品种代码",
  24562. "type": "string"
  24563. },
  24564. "dstexchangecode": {
  24565. "description": "目标期货交易所",
  24566. "type": "string"
  24567. },
  24568. "dstname": {
  24569. "description": "目标品种名称",
  24570. "type": "string"
  24571. },
  24572. "dstunitid": {
  24573. "description": "目标品种单位ID",
  24574. "type": "integer"
  24575. },
  24576. "dstunitidname": {
  24577. "description": "目标品种单位名称",
  24578. "type": "string"
  24579. },
  24580. "modifytime": {
  24581. "description": "修改时间",
  24582. "type": "string"
  24583. },
  24584. "srccode": {
  24585. "description": "源品种代码",
  24586. "type": "string"
  24587. },
  24588. "srcexchangecode": {
  24589. "description": "源期货交易所",
  24590. "type": "string"
  24591. },
  24592. "srcgoodsgroupid": {
  24593. "description": "源品种ID",
  24594. "type": "integer"
  24595. },
  24596. "srcname": {
  24597. "description": "源品种名称",
  24598. "type": "string"
  24599. },
  24600. "srcunitid": {
  24601. "description": "源品种单位ID",
  24602. "type": "integer"
  24603. },
  24604. "srcunitidname": {
  24605. "description": "源品种单位名称",
  24606. "type": "string"
  24607. }
  24608. }
  24609. },
  24610. "models.ErmcpGoods": {
  24611. "type": "object",
  24612. "required": [
  24613. "goodscode",
  24614. "goodsid",
  24615. "goodsname",
  24616. "marketid"
  24617. ],
  24618. "properties": {
  24619. "agreeunit": {
  24620. "description": "合约单位",
  24621. "type": "number"
  24622. },
  24623. "areauserid": {
  24624. "description": "所属机构",
  24625. "type": "integer"
  24626. },
  24627. "auditaccountid": {
  24628. "description": "审核操作员账号",
  24629. "type": "integer"
  24630. },
  24631. "audittime": {
  24632. "description": "审核时间",
  24633. "type": "string"
  24634. },
  24635. "cancelaccountid": {
  24636. "description": "注销操作员账号",
  24637. "type": "integer"
  24638. },
  24639. "canceltime": {
  24640. "description": "注销时间",
  24641. "type": "string"
  24642. },
  24643. "closepricemode": {
  24644. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  24645. "type": "integer"
  24646. },
  24647. "closepriceparam": {
  24648. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  24649. "type": "number"
  24650. },
  24651. "createtime": {
  24652. "description": "创建时间",
  24653. "type": "string"
  24654. },
  24655. "creatorid": {
  24656. "description": "创建人",
  24657. "type": "integer"
  24658. },
  24659. "currencyid": {
  24660. "description": "报价货币ID",
  24661. "type": "integer"
  24662. },
  24663. "cutmode": {
  24664. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  24665. "type": "integer"
  24666. },
  24667. "decimalplace": {
  24668. "description": "报价小数位",
  24669. "type": "integer"
  24670. },
  24671. "delistingdate": {
  24672. "description": "商品退市时间(状态:退市) -- 已作废",
  24673. "type": "string"
  24674. },
  24675. "delistingmode": {
  24676. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  24677. "type": "integer"
  24678. },
  24679. "deliveryflag": {
  24680. "description": "交割标志 - 0:不可交割 1:可交割",
  24681. "type": "integer"
  24682. },
  24683. "enumdicname": {
  24684. "description": "单位名称",
  24685. "type": "string"
  24686. },
  24687. "forceclosemode": {
  24688. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  24689. "type": "integer"
  24690. },
  24691. "forceclosevalue": {
  24692. "description": "定期强平参数 [收益权]",
  24693. "type": "integer"
  24694. },
  24695. "goodscode": {
  24696. "description": "商品代码(内部)",
  24697. "type": "string"
  24698. },
  24699. "goodscurrencyid": {
  24700. "description": "合约货币ID",
  24701. "type": "integer"
  24702. },
  24703. "goodsgroupid": {
  24704. "description": "所属商品组ID",
  24705. "type": "integer"
  24706. },
  24707. "goodsid": {
  24708. "description": "商品ID(自增ID SEQ_GOODS)",
  24709. "type": "integer"
  24710. },
  24711. "goodsname": {
  24712. "description": "商品名称",
  24713. "type": "string"
  24714. },
  24715. "goodsquotetype": {
  24716. "description": "合约报价类型: 1-直接报价 2-间接报价",
  24717. "type": "integer"
  24718. },
  24719. "goodsstatus": {
  24720. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  24721. "type": "integer"
  24722. },
  24723. "goodstradetype": {
  24724. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  24725. "type": "integer"
  24726. },
  24727. "goodunitid": {
  24728. "description": "报价单位ID",
  24729. "type": "integer"
  24730. },
  24731. "hasquoter": {
  24732. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  24733. "type": "integer"
  24734. },
  24735. "hqprotecttime": {
  24736. "description": "行情保护时间(秒)",
  24737. "type": "integer"
  24738. },
  24739. "innerdealmode": {
  24740. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  24741. "type": "integer"
  24742. },
  24743. "isbuylimited": {
  24744. "description": "是否限制建仓量 - 0:不限制 1:限制",
  24745. "type": "integer"
  24746. },
  24747. "isvisible": {
  24748. "description": "游客是否可见 - 0:不可见 1:可见",
  24749. "type": "integer"
  24750. },
  24751. "lasttradedate": {
  24752. "description": "最后交易日期(状态:待退市)",
  24753. "type": "string"
  24754. },
  24755. "listingdate": {
  24756. "description": "交易开始日期",
  24757. "type": "string"
  24758. },
  24759. "marketid": {
  24760. "description": "所属市场ID",
  24761. "type": "integer"
  24762. },
  24763. "modifierid": {
  24764. "description": "修改人",
  24765. "type": "integer"
  24766. },
  24767. "modifystatus": {
  24768. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  24769. "type": "integer"
  24770. },
  24771. "modifytime": {
  24772. "description": "修改时间",
  24773. "type": "string"
  24774. },
  24775. "outerdealmode": {
  24776. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  24777. "type": "integer"
  24778. },
  24779. "outgoodscode": {
  24780. "description": "商品代码(外部)",
  24781. "type": "string"
  24782. },
  24783. "pictureurl": {
  24784. "description": "商品图片",
  24785. "type": "string"
  24786. },
  24787. "qtydecimalplace": {
  24788. "description": "成交量小数位",
  24789. "type": "integer"
  24790. },
  24791. "quotegear": {
  24792. "description": "行情档位(1-10)",
  24793. "type": "integer"
  24794. },
  24795. "quoteminunit": {
  24796. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  24797. "type": "integer"
  24798. },
  24799. "quoteshowtype": {
  24800. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  24801. "type": "integer"
  24802. },
  24803. "quoteshowtypeinterval": {
  24804. "description": "行情报价间隔时间(秒)(成交价时为0)",
  24805. "type": "integer"
  24806. },
  24807. "relatedgoodsid": {
  24808. "description": "关联参考商品ID",
  24809. "type": "integer"
  24810. },
  24811. "remark": {
  24812. "description": "备注",
  24813. "type": "string"
  24814. },
  24815. "trademode": {
  24816. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  24817. "type": "integer"
  24818. }
  24819. }
  24820. },
  24821. "models.ErmcpGoodsBrand": {
  24822. "type": "object",
  24823. "properties": {
  24824. "areauserid": {
  24825. "description": "所属机构",
  24826. "type": "integer"
  24827. },
  24828. "brandid": {
  24829. "description": "BrandID(SEQ_SPOTGOODSBRAND)",
  24830. "type": "integer"
  24831. },
  24832. "brandname": {
  24833. "description": "品牌名称",
  24834. "type": "string"
  24835. },
  24836. "createtime": {
  24837. "description": "创建时间",
  24838. "type": "string"
  24839. },
  24840. "creatorid": {
  24841. "description": "创建人",
  24842. "type": "integer"
  24843. },
  24844. "creatorsrc": {
  24845. "description": "创建人来源 - 1:管理端 2:终端",
  24846. "type": "integer"
  24847. },
  24848. "deliverygoodsid": {
  24849. "description": "现货品种ID",
  24850. "type": "integer"
  24851. },
  24852. "isvalid": {
  24853. "description": "是否有效 - 0:无效 1:有效",
  24854. "type": "integer"
  24855. },
  24856. "updatetime": {
  24857. "description": "更新时间",
  24858. "type": "string"
  24859. },
  24860. "updatorid": {
  24861. "description": "更新人",
  24862. "type": "integer"
  24863. },
  24864. "updatorsrc": {
  24865. "description": "更新人来源 - 1:管理端 2:终端",
  24866. "type": "integer"
  24867. },
  24868. "wrstandardid": {
  24869. "description": "现货商品ID",
  24870. "type": "integer"
  24871. }
  24872. }
  24873. },
  24874. "models.ErmcpGoodsModel": {
  24875. "type": "object",
  24876. "properties": {
  24877. "areauserid": {
  24878. "description": "所属机构",
  24879. "type": "integer"
  24880. },
  24881. "convertfactor": {
  24882. "description": "标仓系数",
  24883. "type": "number"
  24884. },
  24885. "createtime": {
  24886. "description": "创建时间",
  24887. "type": "string"
  24888. },
  24889. "creatorid": {
  24890. "description": "创建人",
  24891. "type": "integer"
  24892. },
  24893. "creatorsrc": {
  24894. "description": "创建人来源 - 1:管理端 2:终端",
  24895. "type": "integer"
  24896. },
  24897. "deliverygoodsid": {
  24898. "description": "现货品种ID",
  24899. "type": "integer"
  24900. },
  24901. "isvalid": {
  24902. "description": "是否有效 - 0:无效 1:有效",
  24903. "type": "integer"
  24904. },
  24905. "modelid": {
  24906. "description": "ModelID(SEQ_SPOTGOODSMODEL)",
  24907. "type": "integer"
  24908. },
  24909. "modelname": {
  24910. "description": "型号名称",
  24911. "type": "string"
  24912. },
  24913. "updatetime": {
  24914. "description": "更新时间",
  24915. "type": "string"
  24916. },
  24917. "updatorid": {
  24918. "description": "更新人",
  24919. "type": "integer"
  24920. },
  24921. "updatorsrc": {
  24922. "description": "更新人来源 - 1:管理端 2:终端",
  24923. "type": "integer"
  24924. },
  24925. "wrstandardid": {
  24926. "description": "现货商品ID",
  24927. "type": "integer"
  24928. }
  24929. }
  24930. },
  24931. "models.ErmcpHisExposure": {
  24932. "type": "object",
  24933. "properties": {
  24934. "needhedgeexposoure": {
  24935. "description": "应套保敞口",
  24936. "type": "number"
  24937. },
  24938. "reckondate": {
  24939. "description": "日照时期(yyyyMMdd)",
  24940. "type": "string"
  24941. },
  24942. "totalexposure": {
  24943. "description": "总敞口",
  24944. "type": "number"
  24945. }
  24946. }
  24947. },
  24948. "models.ErmcpLoginTaAccount": {
  24949. "type": "object",
  24950. "properties": {
  24951. "accountid": {
  24952. "description": "账号id",
  24953. "type": "integer"
  24954. },
  24955. "accountname": {
  24956. "description": "账号名称",
  24957. "type": "string"
  24958. }
  24959. }
  24960. },
  24961. "models.ErmcpLoginUser": {
  24962. "type": "object",
  24963. "properties": {
  24964. "acclist": {
  24965. "description": "关联资金账号",
  24966. "type": "array",
  24967. "items": {
  24968. "$ref": "#/definitions/models.ErmcpLoginTaAccount"
  24969. }
  24970. },
  24971. "accountname": {
  24972. "description": "用户名称",
  24973. "type": "string"
  24974. },
  24975. "clientroleid": {
  24976. "description": "角色id(usertype=2)",
  24977. "type": "integer"
  24978. },
  24979. "createtime": {
  24980. "description": "创建时间",
  24981. "type": "string"
  24982. },
  24983. "logincode": {
  24984. "description": "登录代码",
  24985. "type": "string"
  24986. },
  24987. "loginid": {
  24988. "description": "登录id(LOGINID)",
  24989. "type": "integer"
  24990. },
  24991. "loginname": {
  24992. "description": "登录名称(loginaccount表中的accountname字段)",
  24993. "type": "string"
  24994. },
  24995. "loginstatus": {
  24996. "description": "登录账户状态 - 1:正常 2:冻结 3:无效",
  24997. "type": "integer"
  24998. },
  24999. "memberuserid": {
  25000. "description": "所属会员id",
  25001. "type": "integer"
  25002. },
  25003. "mobile": {
  25004. "description": "手机号",
  25005. "type": "string"
  25006. },
  25007. "modifytime": {
  25008. "description": "修改时间",
  25009. "type": "string"
  25010. },
  25011. "password": {
  25012. "description": "密码(不可解密)",
  25013. "type": "string"
  25014. },
  25015. "rolename": {
  25016. "description": "角色名称",
  25017. "type": "string"
  25018. },
  25019. "rolestatus": {
  25020. "description": "角色状态 1-启用 2-停用",
  25021. "type": "integer"
  25022. },
  25023. "roletype": {
  25024. "description": "角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员",
  25025. "type": "string"
  25026. },
  25027. "userid": {
  25028. "description": "用户id",
  25029. "type": "integer"
  25030. },
  25031. "usertype": {
  25032. "description": "用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  25033. "type": "integer"
  25034. }
  25035. }
  25036. },
  25037. "models.ErmcpLoginUserEx": {
  25038. "type": "object",
  25039. "properties": {
  25040. "accountstatus": {
  25041. "description": "账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  25042. "type": "integer"
  25043. },
  25044. "mobile": {
  25045. "description": "手机号",
  25046. "type": "string"
  25047. },
  25048. "querytype": {
  25049. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  25050. "type": "integer"
  25051. },
  25052. "roleid": {
  25053. "description": "角色id(交易账户-\u003e用户id)",
  25054. "type": "integer"
  25055. },
  25056. "rolename": {
  25057. "description": "角色名称(交易账户-\u003e用户名称)",
  25058. "type": "string"
  25059. },
  25060. "userlist": {
  25061. "description": "用户列表",
  25062. "type": "array",
  25063. "items": {
  25064. "$ref": "#/definitions/models.ErmcpLoginUser"
  25065. }
  25066. },
  25067. "usertype": {
  25068. "description": "用户类型 2-机构 7-企业成员(云平台)",
  25069. "type": "integer"
  25070. }
  25071. }
  25072. },
  25073. "models.ErmcpMiddleGoodsModel": {
  25074. "type": "object",
  25075. "properties": {
  25076. "areauserid": {
  25077. "description": "机构用户ID",
  25078. "type": "integer"
  25079. },
  25080. "createtime": {
  25081. "description": "修改时间",
  25082. "type": "string"
  25083. },
  25084. "enumdicname": {
  25085. "description": "单位名称",
  25086. "type": "string"
  25087. },
  25088. "evaluateratio": {
  25089. "description": "估价系数",
  25090. "type": "number"
  25091. },
  25092. "goodsgroupid": {
  25093. "description": "关联期货品种ID",
  25094. "type": "integer"
  25095. },
  25096. "goodsunitid": {
  25097. "description": "单位ID",
  25098. "type": "integer"
  25099. },
  25100. "isvalid": {
  25101. "description": "状态 0-无效(停用) 1-有效(正常)",
  25102. "type": "integer"
  25103. },
  25104. "middlegoodscode": {
  25105. "description": "套保品种代码",
  25106. "type": "string"
  25107. },
  25108. "middlegoodsid": {
  25109. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  25110. "type": "integer"
  25111. },
  25112. "middlegoodsname": {
  25113. "description": "套保品种名称",
  25114. "type": "string"
  25115. },
  25116. "modifytime": {
  25117. "description": "修改时间",
  25118. "type": "string"
  25119. },
  25120. "needarbitrageratio": {
  25121. "description": "套利比例",
  25122. "type": "number"
  25123. },
  25124. "needhedgeratio": {
  25125. "description": "套保比率",
  25126. "type": "number"
  25127. },
  25128. "qtydecimalplace": {
  25129. "description": "数量小数位",
  25130. "type": "integer"
  25131. },
  25132. "relatedgoodsid": {
  25133. "description": "关联交易商品ID",
  25134. "type": "integer"
  25135. },
  25136. "relatedgoodstype": {
  25137. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  25138. "type": "integer"
  25139. },
  25140. "remark": {
  25141. "description": "备注",
  25142. "type": "string"
  25143. }
  25144. }
  25145. },
  25146. "models.ErmcpMiddlegoodsRelateGoods": {
  25147. "type": "object",
  25148. "properties": {
  25149. "agreeunit": {
  25150. "description": "合约乘数",
  25151. "type": "number"
  25152. },
  25153. "convertratio": {
  25154. "description": "折算系数",
  25155. "type": "number"
  25156. },
  25157. "enumdicname": {
  25158. "description": "单位名称(交易商品)",
  25159. "type": "string"
  25160. },
  25161. "goodscode": {
  25162. "description": "交易商品代码",
  25163. "type": "string"
  25164. },
  25165. "goodsgroupid": {
  25166. "description": "交易品种id",
  25167. "type": "integer"
  25168. },
  25169. "goodsid": {
  25170. "description": "商品Id",
  25171. "type": "integer"
  25172. },
  25173. "goodsname": {
  25174. "description": "交易商品名称",
  25175. "type": "string"
  25176. },
  25177. "goodunitid": {
  25178. "description": "交易商品单位id",
  25179. "type": "integer"
  25180. },
  25181. "middlegoodsid": {
  25182. "description": "套保商品id",
  25183. "type": "integer"
  25184. },
  25185. "middlegoodsname": {
  25186. "description": "套保商品名称",
  25187. "type": "string"
  25188. },
  25189. "middlegoodsswcode": {
  25190. "description": "套保商品代码",
  25191. "type": "string"
  25192. },
  25193. "needarbitrageratio": {
  25194. "description": "应套利比例",
  25195. "type": "number"
  25196. },
  25197. "needhedgeratio": {
  25198. "description": "应套保比例",
  25199. "type": "number"
  25200. }
  25201. }
  25202. },
  25203. "models.ErmcpRole": {
  25204. "type": "object",
  25205. "properties": {
  25206. "areauserid": {
  25207. "description": "所属机构",
  25208. "type": "integer"
  25209. },
  25210. "autoid": {
  25211. "description": "角色ID(自增ID)",
  25212. "type": "integer"
  25213. },
  25214. "modifierid": {
  25215. "description": "修改人(创建人)",
  25216. "type": "integer"
  25217. },
  25218. "modifiername": {
  25219. "description": "修改人名称",
  25220. "type": "string"
  25221. },
  25222. "modifytime": {
  25223. "description": "修改时间(创建时间)",
  25224. "type": "string"
  25225. },
  25226. "rolename": {
  25227. "description": "角色名称",
  25228. "type": "string"
  25229. },
  25230. "rolestatus": {
  25231. "description": "角色状态 - 1:启用 2:停用",
  25232. "type": "integer"
  25233. },
  25234. "roletype": {
  25235. "description": "角色类型 - 1- 管理端 2- 交易端",
  25236. "type": "integer"
  25237. }
  25238. }
  25239. },
  25240. "models.ErmcpRoleMenu": {
  25241. "type": "object",
  25242. "properties": {
  25243. "iconame": {
  25244. "description": "菜单图标",
  25245. "type": "string"
  25246. },
  25247. "ishadrole": {
  25248. "description": "是否有权限",
  25249. "type": "boolean"
  25250. },
  25251. "menutype": {
  25252. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 5:PCWEB(v6)",
  25253. "type": "integer"
  25254. },
  25255. "parentcode": {
  25256. "description": "上级资源代码",
  25257. "type": "string"
  25258. },
  25259. "remark": {
  25260. "description": "菜单备注",
  25261. "type": "string"
  25262. },
  25263. "resourcecode": {
  25264. "description": "菜单代码",
  25265. "type": "string"
  25266. },
  25267. "resourcelevel": {
  25268. "description": "级别",
  25269. "type": "integer"
  25270. },
  25271. "resourcename": {
  25272. "description": "菜单名称",
  25273. "type": "string"
  25274. },
  25275. "roleid": {
  25276. "description": "角色id",
  25277. "type": "integer"
  25278. },
  25279. "sort": {
  25280. "description": "排序",
  25281. "type": "integer"
  25282. },
  25283. "url": {
  25284. "description": "URL",
  25285. "type": "string"
  25286. },
  25287. "userid": {
  25288. "description": "用户id",
  25289. "type": "integer"
  25290. }
  25291. }
  25292. },
  25293. "models.ErmcpRoleMenuEx": {
  25294. "type": "object",
  25295. "properties": {
  25296. "menu": {
  25297. "description": "父级菜单",
  25298. "$ref": "#/definitions/models.ErmcpRoleMenu"
  25299. },
  25300. "subMenu": {
  25301. "description": "子级菜单",
  25302. "type": "array",
  25303. "items": {
  25304. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  25305. }
  25306. }
  25307. }
  25308. },
  25309. "models.ErmcpTaAccount": {
  25310. "type": "object",
  25311. "properties": {
  25312. "accountid": {
  25313. "description": "账户id",
  25314. "type": "integer"
  25315. },
  25316. "accountname": {
  25317. "description": "账户名称",
  25318. "type": "string"
  25319. },
  25320. "currencyid": {
  25321. "description": "币种id",
  25322. "type": "integer"
  25323. },
  25324. "hedgeaccountcode": {
  25325. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  25326. "type": "string"
  25327. },
  25328. "ismain": {
  25329. "description": "是否主账户 0-否 1-是",
  25330. "type": "integer"
  25331. },
  25332. "parentaccountid": {
  25333. "description": "父账户id",
  25334. "type": "integer"
  25335. },
  25336. "relateduserid": {
  25337. "description": "关联userid",
  25338. "type": "integer"
  25339. },
  25340. "tradefeetmpid": {
  25341. "description": "手续费模板id",
  25342. "type": "integer"
  25343. },
  25344. "tradefeetmpname": {
  25345. "description": "手续费模板名称",
  25346. "type": "string"
  25347. },
  25348. "trademargintmpid": {
  25349. "description": "保证金模板id",
  25350. "type": "integer"
  25351. },
  25352. "trademargintmpname": {
  25353. "description": "保证金模板名称",
  25354. "type": "string"
  25355. },
  25356. "traderatetmpid": {
  25357. "description": "汇率模板id",
  25358. "type": "integer"
  25359. },
  25360. "traderatetmpname": {
  25361. "description": "汇率模板名称",
  25362. "type": "string"
  25363. },
  25364. "tradestatus": {
  25365. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  25366. "type": "integer"
  25367. },
  25368. "userid": {
  25369. "description": "用户id",
  25370. "type": "integer"
  25371. }
  25372. }
  25373. },
  25374. "models.ErmcpTaAccountEx": {
  25375. "type": "object",
  25376. "properties": {
  25377. "mainAcc": {
  25378. "description": "主账号",
  25379. "$ref": "#/definitions/models.ErmcpTaAccountM"
  25380. },
  25381. "subacclist": {
  25382. "description": "子账号列表",
  25383. "type": "array",
  25384. "items": {
  25385. "$ref": "#/definitions/models.ErmcpTaAccount"
  25386. }
  25387. }
  25388. }
  25389. },
  25390. "models.ErmcpTaAccountInfo": {
  25391. "type": "object",
  25392. "properties": {
  25393. "accountid": {
  25394. "description": "资金账户ID",
  25395. "type": "integer"
  25396. },
  25397. "accountname": {
  25398. "description": "账户名称",
  25399. "type": "string"
  25400. },
  25401. "balance": {
  25402. "description": "期初余额",
  25403. "type": "number"
  25404. },
  25405. "capitalbalance": {
  25406. "description": "本金余额[外部子账户实际出入金余额]",
  25407. "type": "number"
  25408. },
  25409. "closepl": {
  25410. "description": "今日平仓盈亏",
  25411. "type": "number"
  25412. },
  25413. "creditdecrease": {
  25414. "description": "今日授信减少",
  25415. "type": "number"
  25416. },
  25417. "creditincrease": {
  25418. "description": "今日授信增加",
  25419. "type": "number"
  25420. },
  25421. "curdebt": {
  25422. "description": "期末欠款",
  25423. "type": "number"
  25424. },
  25425. "currencyid": {
  25426. "description": "货币ID",
  25427. "type": "integer"
  25428. },
  25429. "currentbalance": {
  25430. "description": "期末余额",
  25431. "type": "number"
  25432. },
  25433. "freezecharge": {
  25434. "description": "手续费冻结",
  25435. "type": "number"
  25436. },
  25437. "freezemargin": {
  25438. "description": "冻结保证金",
  25439. "type": "number"
  25440. },
  25441. "fromaccountid": {
  25442. "description": "所属上级账户",
  25443. "type": "integer"
  25444. },
  25445. "inamount": {
  25446. "description": "今日入金金额(包括三方入金)",
  25447. "type": "number"
  25448. },
  25449. "ismain": {
  25450. "description": "是否母账号 0:不是母账户 1:是母账户",
  25451. "type": "integer"
  25452. },
  25453. "mortgagecredit": {
  25454. "description": "授信金额",
  25455. "type": "number"
  25456. },
  25457. "oridebt": {
  25458. "description": "期初欠款",
  25459. "type": "number"
  25460. },
  25461. "orifreezecharge": {
  25462. "description": "期初手续费冻结",
  25463. "type": "number"
  25464. },
  25465. "orifreezemargin": {
  25466. "description": "期初冻结保证金",
  25467. "type": "number"
  25468. },
  25469. "orimortgagecredit": {
  25470. "description": "期初授信金额",
  25471. "type": "number"
  25472. },
  25473. "oriothercredit": {
  25474. "description": "期初其它授信金额",
  25475. "type": "number"
  25476. },
  25477. "oriotherfreezemargin": {
  25478. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  25479. "type": "number"
  25480. },
  25481. "orioutamountfreeze": {
  25482. "description": "期初出金冻结",
  25483. "type": "number"
  25484. },
  25485. "oriusedmargin": {
  25486. "description": "期初占用保证金",
  25487. "type": "number"
  25488. },
  25489. "othercredit": {
  25490. "description": "其它授信金额",
  25491. "type": "number"
  25492. },
  25493. "othercreditdecrease": {
  25494. "description": "今日其它授信减少",
  25495. "type": "number"
  25496. },
  25497. "othercreditincrease": {
  25498. "description": "今日其它授信增加",
  25499. "type": "number"
  25500. },
  25501. "otherfreezemargin": {
  25502. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  25503. "type": "number"
  25504. },
  25505. "outamount": {
  25506. "description": "今日出金金额(包括三方出金)",
  25507. "type": "number"
  25508. },
  25509. "outamountfreeze": {
  25510. "description": "出金冻结",
  25511. "type": "number"
  25512. },
  25513. "outthreshold": {
  25514. "description": "出金阈值",
  25515. "type": "number"
  25516. },
  25517. "parentaccountid": {
  25518. "description": "所属根账号",
  25519. "type": "integer"
  25520. },
  25521. "paycharge": {
  25522. "description": "今日手续费支出",
  25523. "type": "number"
  25524. },
  25525. "relateduserid": {
  25526. "description": "关联用户",
  25527. "type": "integer"
  25528. },
  25529. "signstatus": {
  25530. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  25531. "type": "integer"
  25532. },
  25533. "sublevelpath": {
  25534. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  25535. "type": "string"
  25536. },
  25537. "taaccounttype": {
  25538. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  25539. "type": "integer"
  25540. },
  25541. "thirdinamount": {
  25542. "description": "今日三方入金",
  25543. "type": "number"
  25544. },
  25545. "thirdoutamount": {
  25546. "description": "今日三方出金",
  25547. "type": "number"
  25548. },
  25549. "tradestatus": {
  25550. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  25551. "type": "integer"
  25552. },
  25553. "transferamount": {
  25554. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  25555. "type": "number"
  25556. },
  25557. "usedmargin": {
  25558. "description": "占用保证金",
  25559. "type": "number"
  25560. },
  25561. "userid": {
  25562. "description": "用户ID",
  25563. "type": "integer"
  25564. }
  25565. }
  25566. },
  25567. "models.ErmcpTaAccountM": {
  25568. "type": "object",
  25569. "properties": {
  25570. "accountid": {
  25571. "description": "账户id",
  25572. "type": "integer"
  25573. },
  25574. "accountname": {
  25575. "description": "账户名称",
  25576. "type": "string"
  25577. },
  25578. "currencyid": {
  25579. "description": "币种id",
  25580. "type": "integer"
  25581. },
  25582. "fcid": {
  25583. "description": "期货公司id",
  25584. "type": "integer"
  25585. },
  25586. "fcname": {
  25587. "description": "期货公司代码",
  25588. "type": "string"
  25589. },
  25590. "hedgeaccountcode": {
  25591. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  25592. "type": "string"
  25593. },
  25594. "ismain": {
  25595. "description": "是否主账户 0-否 1-是",
  25596. "type": "integer"
  25597. },
  25598. "parentaccountid": {
  25599. "description": "父账户id",
  25600. "type": "integer"
  25601. },
  25602. "relateduserid": {
  25603. "description": "关联userid",
  25604. "type": "integer"
  25605. },
  25606. "tradefeetmpid": {
  25607. "description": "手续费模板id",
  25608. "type": "integer"
  25609. },
  25610. "tradefeetmpname": {
  25611. "description": "手续费模板名称",
  25612. "type": "string"
  25613. },
  25614. "trademargintmpid": {
  25615. "description": "保证金模板id",
  25616. "type": "integer"
  25617. },
  25618. "trademargintmpname": {
  25619. "description": "保证金模板名称",
  25620. "type": "string"
  25621. },
  25622. "traderatetmpid": {
  25623. "description": "汇率模板id",
  25624. "type": "integer"
  25625. },
  25626. "traderatetmpname": {
  25627. "description": "汇率模板名称",
  25628. "type": "string"
  25629. },
  25630. "tradestatus": {
  25631. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  25632. "type": "integer"
  25633. },
  25634. "userid": {
  25635. "description": "用户id",
  25636. "type": "integer"
  25637. }
  25638. }
  25639. },
  25640. "models.ErmcpTradeConfigTMP": {
  25641. "type": "object",
  25642. "properties": {
  25643. "areauserid": {
  25644. "description": "所属机构",
  25645. "type": "integer"
  25646. },
  25647. "basiccurrencyid": {
  25648. "description": "基本币种ID[汇率] - 目标币种",
  25649. "type": "integer"
  25650. },
  25651. "mainaccountid": {
  25652. "description": "主账户ID",
  25653. "type": "integer"
  25654. },
  25655. "modifierid": {
  25656. "description": "修改人",
  25657. "type": "integer"
  25658. },
  25659. "remark": {
  25660. "description": "备注",
  25661. "type": "string"
  25662. },
  25663. "tradeconfigtmpid": {
  25664. "description": "交易配置模板ID(SEQ_TRADECONFIGTMP)",
  25665. "type": "integer"
  25666. },
  25667. "tradeconfigtmpname": {
  25668. "description": "交易配置模板名称",
  25669. "type": "string"
  25670. },
  25671. "tradeconfigtmptype": {
  25672. "description": "交易配置模板类型 - 1:保证金 2:手续费 3:汇率",
  25673. "type": "integer"
  25674. },
  25675. "updatetime": {
  25676. "description": "更新时间",
  25677. "type": "string"
  25678. }
  25679. }
  25680. },
  25681. "models.Externalexchange": {
  25682. "type": "object",
  25683. "required": [
  25684. "autoid"
  25685. ],
  25686. "properties": {
  25687. "autoid": {
  25688. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  25689. "type": "integer"
  25690. },
  25691. "exchangefullname": {
  25692. "description": "外部交易所全称",
  25693. "type": "string"
  25694. },
  25695. "exexchangecode": {
  25696. "description": "外部交易所代码",
  25697. "type": "string"
  25698. },
  25699. "exexchangename": {
  25700. "description": "外部交易所名称(简称)",
  25701. "type": "string"
  25702. },
  25703. "ismarketprice": {
  25704. "description": "是否支持市价 - 0:不支持 1:支持",
  25705. "type": "integer"
  25706. },
  25707. "quotegear": {
  25708. "description": "行情档位(1-10)",
  25709. "type": "integer"
  25710. },
  25711. "showbrokerflag": {
  25712. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  25713. "type": "integer"
  25714. },
  25715. "updatetime": {
  25716. "description": "更新时间",
  25717. "type": "string"
  25718. }
  25719. }
  25720. },
  25721. "models.Funcmenulist": {
  25722. "type": "object",
  25723. "required": [
  25724. "resourcecode"
  25725. ],
  25726. "properties": {
  25727. "iconame": {
  25728. "description": "菜单图标",
  25729. "type": "string"
  25730. },
  25731. "menutype": {
  25732. "description": "菜单类型 1-管理端 2-交易端 3-终端权限",
  25733. "type": "integer"
  25734. },
  25735. "parentcode": {
  25736. "description": "上级资源代码",
  25737. "type": "string"
  25738. },
  25739. "remark": {
  25740. "description": "备注",
  25741. "type": "string"
  25742. },
  25743. "resourcecode": {
  25744. "description": "资源代码",
  25745. "type": "string"
  25746. },
  25747. "resourcelevel": {
  25748. "description": "级别 1-一级 2-二级 3-三级 4-四级",
  25749. "type": "integer"
  25750. },
  25751. "resourcename": {
  25752. "description": "资源名",
  25753. "type": "string"
  25754. },
  25755. "sort": {
  25756. "description": "排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序",
  25757. "type": "integer"
  25758. },
  25759. "url": {
  25760. "description": "URL",
  25761. "type": "string"
  25762. }
  25763. }
  25764. },
  25765. "models.Goods": {
  25766. "type": "object",
  25767. "required": [
  25768. "goodscode",
  25769. "goodsid",
  25770. "goodsname",
  25771. "marketid"
  25772. ],
  25773. "properties": {
  25774. "agreeunit": {
  25775. "description": "合约单位",
  25776. "type": "number"
  25777. },
  25778. "areauserid": {
  25779. "description": "所属机构",
  25780. "type": "integer"
  25781. },
  25782. "auditaccountid": {
  25783. "description": "审核操作员账号",
  25784. "type": "integer"
  25785. },
  25786. "audittime": {
  25787. "description": "审核时间",
  25788. "type": "string"
  25789. },
  25790. "cancelaccountid": {
  25791. "description": "注销操作员账号",
  25792. "type": "integer"
  25793. },
  25794. "canceltime": {
  25795. "description": "注销时间",
  25796. "type": "string"
  25797. },
  25798. "closepricemode": {
  25799. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  25800. "type": "integer"
  25801. },
  25802. "closepriceparam": {
  25803. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  25804. "type": "number"
  25805. },
  25806. "createtime": {
  25807. "description": "创建时间",
  25808. "type": "string"
  25809. },
  25810. "creatorid": {
  25811. "description": "创建人",
  25812. "type": "integer"
  25813. },
  25814. "currencyid": {
  25815. "description": "报价货币ID",
  25816. "type": "integer"
  25817. },
  25818. "cutmode": {
  25819. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  25820. "type": "integer"
  25821. },
  25822. "decimalplace": {
  25823. "description": "报价小数位",
  25824. "type": "integer"
  25825. },
  25826. "delistingdate": {
  25827. "description": "商品退市时间(状态:退市) -- 已作废",
  25828. "type": "string"
  25829. },
  25830. "delistingmode": {
  25831. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  25832. "type": "integer"
  25833. },
  25834. "deliveryflag": {
  25835. "description": "交割标志 - 0:不可交割 1:可交割",
  25836. "type": "integer"
  25837. },
  25838. "forceclosemode": {
  25839. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  25840. "type": "integer"
  25841. },
  25842. "forceclosevalue": {
  25843. "description": "定期强平参数 [收益权]",
  25844. "type": "integer"
  25845. },
  25846. "goodscode": {
  25847. "description": "商品代码(内部)",
  25848. "type": "string"
  25849. },
  25850. "goodscurrencyid": {
  25851. "description": "合约货币ID",
  25852. "type": "integer"
  25853. },
  25854. "goodsgroupid": {
  25855. "description": "所属商品组ID",
  25856. "type": "integer"
  25857. },
  25858. "goodsid": {
  25859. "description": "商品ID(自增ID SEQ_GOODS)",
  25860. "type": "integer"
  25861. },
  25862. "goodsname": {
  25863. "description": "商品名称",
  25864. "type": "string"
  25865. },
  25866. "goodsquotetype": {
  25867. "description": "合约报价类型: 1-直接报价 2-间接报价",
  25868. "type": "integer"
  25869. },
  25870. "goodsstatus": {
  25871. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  25872. "type": "integer"
  25873. },
  25874. "goodstradetype": {
  25875. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  25876. "type": "integer"
  25877. },
  25878. "goodunitid": {
  25879. "description": "报价单位ID",
  25880. "type": "integer"
  25881. },
  25882. "hasquoter": {
  25883. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  25884. "type": "integer"
  25885. },
  25886. "hqprotecttime": {
  25887. "description": "行情保护时间(秒)",
  25888. "type": "integer"
  25889. },
  25890. "innerdealmode": {
  25891. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  25892. "type": "integer"
  25893. },
  25894. "isbuylimited": {
  25895. "description": "是否限制建仓量 - 0:不限制 1:限制",
  25896. "type": "integer"
  25897. },
  25898. "isvisible": {
  25899. "description": "游客是否可见 - 0:不可见 1:可见",
  25900. "type": "integer"
  25901. },
  25902. "lasttradedate": {
  25903. "description": "最后交易日期(状态:待退市)",
  25904. "type": "string"
  25905. },
  25906. "listingdate": {
  25907. "description": "交易开始日期",
  25908. "type": "string"
  25909. },
  25910. "marketid": {
  25911. "description": "所属市场ID",
  25912. "type": "integer"
  25913. },
  25914. "modifierid": {
  25915. "description": "修改人",
  25916. "type": "integer"
  25917. },
  25918. "modifystatus": {
  25919. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  25920. "type": "integer"
  25921. },
  25922. "modifytime": {
  25923. "description": "修改时间",
  25924. "type": "string"
  25925. },
  25926. "outerdealmode": {
  25927. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  25928. "type": "integer"
  25929. },
  25930. "outgoodscode": {
  25931. "description": "商品代码(外部)",
  25932. "type": "string"
  25933. },
  25934. "pictureurl": {
  25935. "description": "商品图片",
  25936. "type": "string"
  25937. },
  25938. "qtydecimalplace": {
  25939. "description": "成交量小数位",
  25940. "type": "integer"
  25941. },
  25942. "quotegear": {
  25943. "description": "行情档位(1-10)",
  25944. "type": "integer"
  25945. },
  25946. "quoteminunit": {
  25947. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  25948. "type": "integer"
  25949. },
  25950. "quoteshowtype": {
  25951. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  25952. "type": "integer"
  25953. },
  25954. "quoteshowtypeinterval": {
  25955. "description": "行情报价间隔时间(秒)(成交价时为0)",
  25956. "type": "integer"
  25957. },
  25958. "remark": {
  25959. "description": "备注",
  25960. "type": "string"
  25961. }
  25962. }
  25963. },
  25964. "models.GoodsIDAndName": {
  25965. "type": "object",
  25966. "required": [
  25967. "goodscode",
  25968. "goodsid",
  25969. "goodsname",
  25970. "marketid"
  25971. ],
  25972. "properties": {
  25973. "goodscode": {
  25974. "description": "商品代码(内部)",
  25975. "type": "string"
  25976. },
  25977. "goodsid": {
  25978. "description": "商品ID(自增ID SEQ_GOODS)",
  25979. "type": "integer"
  25980. },
  25981. "goodsname": {
  25982. "description": "商品名称",
  25983. "type": "string"
  25984. },
  25985. "marketid": {
  25986. "description": "所属市场ID",
  25987. "type": "integer"
  25988. }
  25989. }
  25990. },
  25991. "models.Goodsgroup": {
  25992. "type": "object",
  25993. "required": [
  25994. "goodsgroupid",
  25995. "goodsgroupname",
  25996. "goodsgroupstatus",
  25997. "marketid"
  25998. ],
  25999. "properties": {
  26000. "agreeunit": {
  26001. "description": "合约单位",
  26002. "type": "number"
  26003. },
  26004. "canshort": {
  26005. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  26006. "type": "integer"
  26007. },
  26008. "closepricemode": {
  26009. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  26010. "type": "integer"
  26011. },
  26012. "closepriceparam": {
  26013. "description": "强平最新价浮动比例 - 方式为2时使用",
  26014. "type": "number"
  26015. },
  26016. "createtime": {
  26017. "description": "创建时间",
  26018. "type": "string"
  26019. },
  26020. "creatorid": {
  26021. "description": "创建人",
  26022. "type": "integer"
  26023. },
  26024. "currencyid": {
  26025. "description": "报价货币ID",
  26026. "type": "integer"
  26027. },
  26028. "decimalplace": {
  26029. "description": "报价小数位",
  26030. "type": "integer"
  26031. },
  26032. "exercisetype": {
  26033. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  26034. "type": "integer"
  26035. },
  26036. "exexchangeid": {
  26037. "description": "外部交易所ID[通道交易]",
  26038. "type": "integer"
  26039. },
  26040. "goodsgroupid": {
  26041. "description": "商品组ID(自增ID)",
  26042. "type": "integer"
  26043. },
  26044. "goodsgroupname": {
  26045. "description": "商品组名称",
  26046. "type": "string"
  26047. },
  26048. "goodsgroupstatus": {
  26049. "description": "商品组状态 - 1:正常 2:注销",
  26050. "type": "integer"
  26051. },
  26052. "goodunitid": {
  26053. "description": "报价单位ID",
  26054. "type": "integer"
  26055. },
  26056. "innerdealmode": {
  26057. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  26058. "type": "integer"
  26059. },
  26060. "isbuylimited": {
  26061. "description": "是否限制建仓量 - 0:不限制 1:限制",
  26062. "type": "integer"
  26063. },
  26064. "marketid": {
  26065. "description": "所属市场ID",
  26066. "type": "integer"
  26067. },
  26068. "modifierid": {
  26069. "description": "修改人",
  26070. "type": "integer"
  26071. },
  26072. "modifytime": {
  26073. "description": "修改时间",
  26074. "type": "string"
  26075. },
  26076. "outerdealmode": {
  26077. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  26078. "type": "integer"
  26079. },
  26080. "outergroupcode": {
  26081. "description": "外部商品组代码[通道交易]",
  26082. "type": "string"
  26083. },
  26084. "premiumdecimalplace": {
  26085. "description": "权利金小数位[场外期权]",
  26086. "type": "integer"
  26087. },
  26088. "premiumspreadalgorithm": {
  26089. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  26090. "type": "integer"
  26091. },
  26092. "premiumspreadvalue": {
  26093. "description": "权利金点差值[场外期权]",
  26094. "type": "number"
  26095. },
  26096. "qtydecimalplace": {
  26097. "description": "成交量小数位",
  26098. "type": "integer"
  26099. },
  26100. "quotegear": {
  26101. "description": "行情档位(1-10)",
  26102. "type": "integer"
  26103. },
  26104. "quoteminunit": {
  26105. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  26106. "type": "integer"
  26107. },
  26108. "quoterid": {
  26109. "description": "报价商ID[场外期权]",
  26110. "type": "integer"
  26111. },
  26112. "quotesourcegroupid": {
  26113. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  26114. "type": "integer"
  26115. },
  26116. "syncgoodsqty": {
  26117. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  26118. "type": "integer"
  26119. }
  26120. }
  26121. },
  26122. "models.Goodssortbypreposition": {
  26123. "type": "object",
  26124. "required": [
  26125. "goodscode",
  26126. "tradedate"
  26127. ],
  26128. "properties": {
  26129. "goodscode": {
  26130. "description": "合约代码 - 易盛接口:合约代码=品种代码+合约代码",
  26131. "type": "string"
  26132. },
  26133. "goodsgroupcode": {
  26134. "description": "品种代码",
  26135. "type": "string"
  26136. },
  26137. "prepositionqty": {
  26138. "description": "昨持仓量",
  26139. "type": "integer"
  26140. },
  26141. "sortindex": {
  26142. "description": "排序",
  26143. "type": "integer"
  26144. },
  26145. "tradedate": {
  26146. "description": "交易日",
  26147. "type": "string"
  26148. },
  26149. "updatetime": {
  26150. "description": "更新时间",
  26151. "type": "string"
  26152. }
  26153. }
  26154. },
  26155. "models.Hedgeinnerholderdetail": {
  26156. "type": "object",
  26157. "required": [
  26158. "buyorsell",
  26159. "tradeid"
  26160. ],
  26161. "properties": {
  26162. "accountid": {
  26163. "description": "账号ID",
  26164. "type": "integer"
  26165. },
  26166. "buyorsell": {
  26167. "description": "方向 - 0:买 1:卖",
  26168. "type": "integer"
  26169. },
  26170. "freezeqty": {
  26171. "description": "冻结数量 - 按单平使用",
  26172. "type": "integer"
  26173. },
  26174. "goodsid": {
  26175. "description": "商品ID",
  26176. "type": "integer"
  26177. },
  26178. "holderamount": {
  26179. "description": "持仓金额 [商品币种]",
  26180. "type": "number"
  26181. },
  26182. "holderdays": {
  26183. "description": "剩余冻结天数",
  26184. "type": "integer"
  26185. },
  26186. "holderprice": {
  26187. "description": "持仓价格",
  26188. "type": "number"
  26189. },
  26190. "holderqty": {
  26191. "description": "持仓数量",
  26192. "type": "integer"
  26193. },
  26194. "marketid": {
  26195. "description": "市场ID",
  26196. "type": "integer"
  26197. },
  26198. "openprice": {
  26199. "description": "建仓价格",
  26200. "type": "number"
  26201. },
  26202. "openqty": {
  26203. "description": "建仓数量",
  26204. "type": "integer"
  26205. },
  26206. "parentaccountid": {
  26207. "description": "所属母账户",
  26208. "type": "integer"
  26209. },
  26210. "releaseamount": {
  26211. "description": "释放持仓金额[商品币种]",
  26212. "type": "number"
  26213. },
  26214. "tradeamount": {
  26215. "description": "成交金额[账户]",
  26216. "type": "number"
  26217. },
  26218. "tradedate": {
  26219. "description": "交易日(yyyyMMdd)",
  26220. "type": "string"
  26221. },
  26222. "tradeid": {
  26223. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26224. "type": "string"
  26225. },
  26226. "tradetime": {
  26227. "description": "交易时间",
  26228. "type": "string"
  26229. }
  26230. }
  26231. },
  26232. "models.Hedgemarketopenlog": {
  26233. "type": "object",
  26234. "required": [
  26235. "accountid"
  26236. ],
  26237. "properties": {
  26238. "accountid": {
  26239. "description": "资金账号[外部母账户]",
  26240. "type": "integer"
  26241. },
  26242. "fcname": {
  26243. "description": "期货公司名称",
  26244. "type": "string"
  26245. },
  26246. "handlestatus": {
  26247. "description": "处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp",
  26248. "type": "integer"
  26249. },
  26250. "marketid": {
  26251. "description": "市场ID",
  26252. "type": "integer"
  26253. },
  26254. "status": {
  26255. "description": "状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败",
  26256. "type": "integer"
  26257. },
  26258. "tradedate": {
  26259. "description": "交易日(yyyyMMdd)",
  26260. "type": "string"
  26261. },
  26262. "updatetime": {
  26263. "description": "更新时间",
  26264. "type": "string"
  26265. }
  26266. }
  26267. },
  26268. "models.HsbyBuyMyPayOrder": {
  26269. "type": "object",
  26270. "required": [
  26271. "goodscode",
  26272. "goodsname",
  26273. "tradeid",
  26274. "trademode"
  26275. ],
  26276. "properties": {
  26277. "agreeunit": {
  26278. "description": "合约单位",
  26279. "type": "number"
  26280. },
  26281. "buyaccountid": {
  26282. "description": "买方账号ID[报价币种]",
  26283. "type": "integer"
  26284. },
  26285. "buyorderid": {
  26286. "description": "买方委托单号",
  26287. "type": "string"
  26288. },
  26289. "createtime": {
  26290. "description": "创建时间",
  26291. "type": "string"
  26292. },
  26293. "currencysign": {
  26294. "description": "货币符号",
  26295. "type": "string"
  26296. },
  26297. "decimalplace": {
  26298. "description": "报价小数位",
  26299. "type": "integer"
  26300. },
  26301. "goodscode": {
  26302. "description": "商品代码(内部)",
  26303. "type": "string"
  26304. },
  26305. "goodsid": {
  26306. "description": "商品ID",
  26307. "type": "integer"
  26308. },
  26309. "goodsname": {
  26310. "description": "商品名称",
  26311. "type": "string"
  26312. },
  26313. "marketid": {
  26314. "description": "市场ID",
  26315. "type": "integer"
  26316. },
  26317. "offamount": {
  26318. "description": "优惠金额",
  26319. "type": "number"
  26320. },
  26321. "originalamount": {
  26322. "description": "原金额 = TradeAmount + TradeCharge + OffAmount",
  26323. "type": "number"
  26324. },
  26325. "payamount": {
  26326. "description": "支付金额 = TradeAmount + TradeCharge",
  26327. "type": "number"
  26328. },
  26329. "payflag": {
  26330. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  26331. "type": "integer"
  26332. },
  26333. "paylimitedtime": {
  26334. "description": "支付期限",
  26335. "type": "string"
  26336. },
  26337. "paytime": {
  26338. "description": "付款时间",
  26339. "type": "string"
  26340. },
  26341. "picurls1": {
  26342. "description": "预售商品介绍图片[多张用逗号分隔]",
  26343. "type": "string"
  26344. },
  26345. "picurls2": {
  26346. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  26347. "type": "string"
  26348. },
  26349. "sellaccountid": {
  26350. "description": "卖方账号ID[报价币种]",
  26351. "type": "integer"
  26352. },
  26353. "sellorderid": {
  26354. "description": "卖方委托单号",
  26355. "type": "string"
  26356. },
  26357. "tradeamount": {
  26358. "description": "成交金额",
  26359. "type": "number"
  26360. },
  26361. "tradecharge": {
  26362. "description": "成交手续费(买方)",
  26363. "type": "number"
  26364. },
  26365. "tradedate": {
  26366. "description": "交易日(yyyyMMdd)",
  26367. "type": "string"
  26368. },
  26369. "tradeid": {
  26370. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26371. "type": "string"
  26372. },
  26373. "trademode": {
  26374. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26375. "type": "integer"
  26376. },
  26377. "tradeprice": {
  26378. "description": "成交价格",
  26379. "type": "number"
  26380. },
  26381. "tradeqty": {
  26382. "description": "成交数量",
  26383. "type": "integer"
  26384. },
  26385. "vendorname1": {
  26386. "description": "预售商品供应商名称",
  26387. "type": "string"
  26388. },
  26389. "vendorname2": {
  26390. "description": "挂牌商品供应商名称",
  26391. "type": "string"
  26392. }
  26393. }
  26394. },
  26395. "models.HsbyBuyMyTradeDetail": {
  26396. "type": "object",
  26397. "required": [
  26398. "accountid",
  26399. "buyorsell",
  26400. "goodscode",
  26401. "goodsid",
  26402. "goodsname",
  26403. "marketid",
  26404. "orderid",
  26405. "qty",
  26406. "time",
  26407. "trademode"
  26408. ],
  26409. "properties": {
  26410. "accountid": {
  26411. "description": "账户ID[报价币种]",
  26412. "type": "integer"
  26413. },
  26414. "agreeunit": {
  26415. "description": "合约单位",
  26416. "type": "number"
  26417. },
  26418. "amount": {
  26419. "description": "金额 = 价格 * 数量 * 合约单位",
  26420. "type": "number"
  26421. },
  26422. "buyorsell": {
  26423. "description": "买卖 - 0:买 1:卖",
  26424. "type": "integer"
  26425. },
  26426. "currencysign": {
  26427. "description": "货币符号",
  26428. "type": "string"
  26429. },
  26430. "decimalplace": {
  26431. "description": "报价小数位",
  26432. "type": "integer"
  26433. },
  26434. "goodscode": {
  26435. "description": "商品代码(内部)",
  26436. "type": "string"
  26437. },
  26438. "goodsid": {
  26439. "description": "商品ID",
  26440. "type": "integer"
  26441. },
  26442. "goodsname": {
  26443. "description": "商品名称",
  26444. "type": "string"
  26445. },
  26446. "marketid": {
  26447. "description": "市场ID",
  26448. "type": "integer"
  26449. },
  26450. "orderamount": {
  26451. "description": "委托金额",
  26452. "type": "number"
  26453. },
  26454. "orderid": {
  26455. "description": "单号(成交单号)",
  26456. "type": "string"
  26457. },
  26458. "picurls1": {
  26459. "description": "预售商品介绍图片[多张用逗号分隔]",
  26460. "type": "string"
  26461. },
  26462. "picurls2": {
  26463. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  26464. "type": "string"
  26465. },
  26466. "price": {
  26467. "description": "价格",
  26468. "type": "number"
  26469. },
  26470. "qty": {
  26471. "description": "数量",
  26472. "type": "integer"
  26473. },
  26474. "time": {
  26475. "description": "时间",
  26476. "type": "string"
  26477. },
  26478. "trademode": {
  26479. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26480. "type": "integer"
  26481. },
  26482. "vendorname1": {
  26483. "description": "预售商品供应商名称",
  26484. "type": "string"
  26485. },
  26486. "vendorname2": {
  26487. "description": "挂牌商品供应商名称",
  26488. "type": "string"
  26489. }
  26490. }
  26491. },
  26492. "models.HsbyGoodsOrderDetail": {
  26493. "type": "object",
  26494. "required": [
  26495. "buyorsell",
  26496. "orderid",
  26497. "ordertime"
  26498. ],
  26499. "properties": {
  26500. "buyorsell": {
  26501. "description": "买卖 - 0:买 1:卖",
  26502. "type": "integer"
  26503. },
  26504. "currencysign": {
  26505. "description": "货币符号",
  26506. "type": "string"
  26507. },
  26508. "customername": {
  26509. "description": "客户名称(企业名称),已脱敏",
  26510. "type": "string"
  26511. },
  26512. "enableqty": {
  26513. "description": "可用数量",
  26514. "type": "integer"
  26515. },
  26516. "goodunit": {
  26517. "description": "报价单位",
  26518. "type": "string"
  26519. },
  26520. "orderid": {
  26521. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26522. "type": "string"
  26523. },
  26524. "orderprice": {
  26525. "description": "委托价格",
  26526. "type": "number"
  26527. },
  26528. "ordertime": {
  26529. "description": "委托时间",
  26530. "type": "string"
  26531. }
  26532. }
  26533. },
  26534. "models.HsbyListingGoodsDetail": {
  26535. "type": "object",
  26536. "required": [
  26537. "goodscode",
  26538. "goodsid",
  26539. "goodsname",
  26540. "marketid",
  26541. "trademode"
  26542. ],
  26543. "properties": {
  26544. "agreeunit": {
  26545. "description": "合约单位",
  26546. "type": "number"
  26547. },
  26548. "buymaxqty": {
  26549. "description": "购买上限 [71] - 0为不限",
  26550. "type": "integer"
  26551. },
  26552. "currency": {
  26553. "description": "货币",
  26554. "type": "string"
  26555. },
  26556. "currencysign": {
  26557. "description": "货币符号",
  26558. "type": "string"
  26559. },
  26560. "decimalplace": {
  26561. "description": "报价小数位",
  26562. "type": "integer"
  26563. },
  26564. "desccityid": {
  26565. "description": "目的地(市)ID",
  26566. "type": "integer"
  26567. },
  26568. "descprovinceid": {
  26569. "description": "目的地(省)ID",
  26570. "type": "integer"
  26571. },
  26572. "goodscode": {
  26573. "description": "商品代码(内部)",
  26574. "type": "string"
  26575. },
  26576. "goodsdesc": {
  26577. "description": "商品详情",
  26578. "type": "string"
  26579. },
  26580. "goodsid": {
  26581. "description": "商品ID(自增ID SEQ_GOODS)",
  26582. "type": "integer"
  26583. },
  26584. "goodsname": {
  26585. "description": "商品名称",
  26586. "type": "string"
  26587. },
  26588. "goodsprice": {
  26589. "description": "商品价格",
  26590. "type": "number"
  26591. },
  26592. "hotindex": {
  26593. "description": "景点热度",
  26594. "type": "integer"
  26595. },
  26596. "last": {
  26597. "description": "现价",
  26598. "type": "number"
  26599. },
  26600. "limitdown": {
  26601. "description": "跌停价",
  26602. "type": "number"
  26603. },
  26604. "limitup": {
  26605. "description": "涨停价",
  26606. "type": "number"
  26607. },
  26608. "lotsize": {
  26609. "description": "手数最小变动单位",
  26610. "type": "integer"
  26611. },
  26612. "marketid": {
  26613. "description": "所属市场ID",
  26614. "type": "integer"
  26615. },
  26616. "picurls": {
  26617. "description": "介绍图片[多张用逗号分隔]",
  26618. "type": "string"
  26619. },
  26620. "quoteminunit": {
  26621. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  26622. "type": "integer"
  26623. },
  26624. "stepvalue": {
  26625. "description": "价格最小变动单位",
  26626. "type": "number"
  26627. },
  26628. "trademode": {
  26629. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26630. "type": "integer"
  26631. },
  26632. "vendorattr": {
  26633. "description": "供应商附件(多张,逗号分隔)",
  26634. "type": "string"
  26635. },
  26636. "vendorname": {
  26637. "description": "供应商名称",
  26638. "type": "string"
  26639. },
  26640. "vendorphone": {
  26641. "description": "供应商客服电话",
  26642. "type": "string"
  26643. },
  26644. "videourls": {
  26645. "description": "介绍视频[多张用逗号分隔]",
  26646. "type": "string"
  26647. }
  26648. }
  26649. },
  26650. "models.HsbyMarketGoods": {
  26651. "type": "object",
  26652. "required": [
  26653. "accountid",
  26654. "buyorsell",
  26655. "goodscode",
  26656. "goodsid",
  26657. "goodsname",
  26658. "marketid",
  26659. "orderid",
  26660. "trademode"
  26661. ],
  26662. "properties": {
  26663. "accountid": {
  26664. "description": "账户ID[报价币种]",
  26665. "type": "integer"
  26666. },
  26667. "agreeunit": {
  26668. "description": "合约单位",
  26669. "type": "number"
  26670. },
  26671. "buyorsell": {
  26672. "description": "买卖 - 0:买 1:卖",
  26673. "type": "integer"
  26674. },
  26675. "categoryid": {
  26676. "description": "类别ID(WRCATEGORY)",
  26677. "type": "integer"
  26678. },
  26679. "currency": {
  26680. "description": "货币",
  26681. "type": "string"
  26682. },
  26683. "currencysign": {
  26684. "description": "货币符号",
  26685. "type": "string"
  26686. },
  26687. "customername": {
  26688. "description": "卖家名称",
  26689. "type": "string"
  26690. },
  26691. "decimalplace": {
  26692. "description": "报价小数位",
  26693. "type": "integer"
  26694. },
  26695. "goodscode": {
  26696. "description": "商品代码(内部)",
  26697. "type": "string"
  26698. },
  26699. "goodsid": {
  26700. "description": "商品ID",
  26701. "type": "integer"
  26702. },
  26703. "goodsname": {
  26704. "description": "商品名称",
  26705. "type": "string"
  26706. },
  26707. "goodsprice": {
  26708. "description": "商品价格",
  26709. "type": "number"
  26710. },
  26711. "hascoupon": {
  26712. "description": "是否可用优惠卷",
  26713. "type": "boolean"
  26714. },
  26715. "hotindex": {
  26716. "description": "景点热度",
  26717. "type": "integer"
  26718. },
  26719. "marketid": {
  26720. "description": "市场ID",
  26721. "type": "integer"
  26722. },
  26723. "orderid": {
  26724. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26725. "type": "string"
  26726. },
  26727. "orderprice": {
  26728. "description": "委托价格",
  26729. "type": "number"
  26730. },
  26731. "orderstatus": {
  26732. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  26733. "type": "integer"
  26734. },
  26735. "picurls": {
  26736. "description": "介绍图片[多张用逗号分隔]",
  26737. "type": "string"
  26738. },
  26739. "quoteminunit": {
  26740. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  26741. "type": "integer"
  26742. },
  26743. "sellUserID": {
  26744. "description": "卖方UserID",
  26745. "type": "integer"
  26746. },
  26747. "trademode": {
  26748. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26749. "type": "integer"
  26750. },
  26751. "videourls": {
  26752. "description": "介绍视频[多张用逗号分隔]",
  26753. "type": "string"
  26754. }
  26755. }
  26756. },
  26757. "models.HsbyMarketGoodsDetail": {
  26758. "type": "object",
  26759. "required": [
  26760. "accountid",
  26761. "buyorsell",
  26762. "goodscode",
  26763. "goodsid",
  26764. "goodsname",
  26765. "marketid",
  26766. "orderid",
  26767. "orderqty",
  26768. "trademode"
  26769. ],
  26770. "properties": {
  26771. "accountid": {
  26772. "description": "账户ID[报价币种]",
  26773. "type": "integer"
  26774. },
  26775. "agreeunit": {
  26776. "description": "合约单位",
  26777. "type": "number"
  26778. },
  26779. "buymaxqty": {
  26780. "description": "购买上限 [71] - 0为不限",
  26781. "type": "integer"
  26782. },
  26783. "buyorsell": {
  26784. "description": "买卖 - 0:买 1:卖",
  26785. "type": "integer"
  26786. },
  26787. "cancelqty": {
  26788. "description": "撤单数量",
  26789. "type": "integer"
  26790. },
  26791. "categoryid": {
  26792. "description": "类别ID(WRCATEGORY)",
  26793. "type": "integer"
  26794. },
  26795. "currency": {
  26796. "description": "货币",
  26797. "type": "string"
  26798. },
  26799. "currencysign": {
  26800. "description": "货币符号",
  26801. "type": "string"
  26802. },
  26803. "customername": {
  26804. "description": "卖家名称",
  26805. "type": "string"
  26806. },
  26807. "decimalplace": {
  26808. "description": "报价小数位",
  26809. "type": "integer"
  26810. },
  26811. "goodscode": {
  26812. "description": "商品代码(内部)",
  26813. "type": "string"
  26814. },
  26815. "goodsdesc": {
  26816. "description": "商品详情",
  26817. "type": "string"
  26818. },
  26819. "goodsid": {
  26820. "description": "商品ID",
  26821. "type": "integer"
  26822. },
  26823. "goodsname": {
  26824. "description": "商品名称",
  26825. "type": "string"
  26826. },
  26827. "goodsprice": {
  26828. "description": "商品价格",
  26829. "type": "number"
  26830. },
  26831. "hotindex": {
  26832. "description": "景点热度",
  26833. "type": "integer"
  26834. },
  26835. "lotsize": {
  26836. "description": "手数最小变动单位",
  26837. "type": "integer"
  26838. },
  26839. "marketid": {
  26840. "description": "市场ID",
  26841. "type": "integer"
  26842. },
  26843. "orderid": {
  26844. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26845. "type": "string"
  26846. },
  26847. "orderprice": {
  26848. "description": "委托价格",
  26849. "type": "number"
  26850. },
  26851. "orderqty": {
  26852. "description": "委托数量",
  26853. "type": "integer"
  26854. },
  26855. "orderstatus": {
  26856. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  26857. "type": "integer"
  26858. },
  26859. "picurls": {
  26860. "description": "介绍图片[多张用逗号分隔]",
  26861. "type": "string"
  26862. },
  26863. "quoteminunit": {
  26864. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  26865. "type": "integer"
  26866. },
  26867. "sellUserID": {
  26868. "description": "卖方UserID",
  26869. "type": "integer"
  26870. },
  26871. "trademode": {
  26872. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26873. "type": "integer"
  26874. },
  26875. "tradeqty": {
  26876. "description": "成交数量",
  26877. "type": "integer"
  26878. },
  26879. "vendorattr": {
  26880. "description": "供应商附件(多张,逗号分隔)",
  26881. "type": "string"
  26882. },
  26883. "vendorname": {
  26884. "description": "供应商名称",
  26885. "type": "string"
  26886. },
  26887. "vendorphone": {
  26888. "description": "供应商客服电话",
  26889. "type": "string"
  26890. },
  26891. "videourls": {
  26892. "description": "介绍视频[多张用逗号分隔]",
  26893. "type": "string"
  26894. }
  26895. }
  26896. },
  26897. "models.HsbyMarketInfo": {
  26898. "type": "object",
  26899. "required": [
  26900. "marketid",
  26901. "marketstatus",
  26902. "trademode"
  26903. ],
  26904. "properties": {
  26905. "marketid": {
  26906. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  26907. "type": "integer"
  26908. },
  26909. "marketname": {
  26910. "description": "市场名称",
  26911. "type": "string"
  26912. },
  26913. "marketstatus": {
  26914. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  26915. "type": "integer"
  26916. },
  26917. "trademode": {
  26918. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26919. "type": "integer"
  26920. }
  26921. }
  26922. },
  26923. "models.HsbyMyGoods": {
  26924. "type": "object",
  26925. "required": [
  26926. "accountid",
  26927. "goodscode",
  26928. "goodsid",
  26929. "goodsname",
  26930. "marketid",
  26931. "trademode"
  26932. ],
  26933. "properties": {
  26934. "accountid": {
  26935. "description": "账号Id",
  26936. "type": "integer"
  26937. },
  26938. "agreeunit": {
  26939. "description": "合约单位",
  26940. "type": "number"
  26941. },
  26942. "buyaverageprice": {
  26943. "description": "持仓均价",
  26944. "type": "number"
  26945. },
  26946. "buycurholderamount": {
  26947. "description": "买当前持仓总金额[商品币种]",
  26948. "type": "number"
  26949. },
  26950. "buycurpositionqty": {
  26951. "description": "买当前持仓总数量",
  26952. "type": "integer"
  26953. },
  26954. "buymaxqty": {
  26955. "description": "购买上限 [71] - 0为不限",
  26956. "type": "integer"
  26957. },
  26958. "currencysign": {
  26959. "description": "货币符号",
  26960. "type": "string"
  26961. },
  26962. "decimalplace": {
  26963. "description": "报价小数位",
  26964. "type": "integer"
  26965. },
  26966. "enableqty": {
  26967. "description": "可用数量",
  26968. "type": "integer"
  26969. },
  26970. "goodscode": {
  26971. "description": "商品代码(内部)",
  26972. "type": "string"
  26973. },
  26974. "goodsid": {
  26975. "description": "商品Id",
  26976. "type": "integer"
  26977. },
  26978. "goodsname": {
  26979. "description": "商品名称",
  26980. "type": "string"
  26981. },
  26982. "goodsprice": {
  26983. "description": "商品价格",
  26984. "type": "number"
  26985. },
  26986. "goodsstatus": {
  26987. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  26988. "type": "integer"
  26989. },
  26990. "last": {
  26991. "description": "现价(仅使用于挂牌点选)",
  26992. "type": "number"
  26993. },
  26994. "limitdown": {
  26995. "description": "跌停价(仅使用于挂牌点选)",
  26996. "type": "number"
  26997. },
  26998. "limitup": {
  26999. "description": "涨停价(仅使用于挂牌点选)",
  27000. "type": "number"
  27001. },
  27002. "lotsize": {
  27003. "description": "手数最小变动单位",
  27004. "type": "integer"
  27005. },
  27006. "marketid": {
  27007. "description": "所属市场ID",
  27008. "type": "integer"
  27009. },
  27010. "picurls": {
  27011. "description": "介绍图片[多张用逗号分隔]",
  27012. "type": "string"
  27013. },
  27014. "quoteminunit": {
  27015. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  27016. "type": "integer"
  27017. },
  27018. "stepvalue": {
  27019. "description": "价格最小变动单位",
  27020. "type": "number"
  27021. },
  27022. "trademode": {
  27023. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  27024. "type": "integer"
  27025. }
  27026. }
  27027. },
  27028. "models.HsbyMyPackage": {
  27029. "type": "object",
  27030. "required": [
  27031. "goodscode",
  27032. "goodsname",
  27033. "takeorderid",
  27034. "trademode"
  27035. ],
  27036. "properties": {
  27037. "accountid": {
  27038. "description": "账户ID",
  27039. "type": "integer"
  27040. },
  27041. "address": {
  27042. "description": "提货人详细地址",
  27043. "type": "string"
  27044. },
  27045. "agreeunit": {
  27046. "description": "合约单位",
  27047. "type": "number"
  27048. },
  27049. "amount": {
  27050. "description": "提货金额",
  27051. "type": "number"
  27052. },
  27053. "auditer": {
  27054. "description": "审核人",
  27055. "type": "integer"
  27056. },
  27057. "audittime": {
  27058. "description": "审核时间",
  27059. "type": "string"
  27060. },
  27061. "averageprice": {
  27062. "description": "均价",
  27063. "type": "number"
  27064. },
  27065. "cardnum": {
  27066. "description": "提货人证件号码",
  27067. "type": "string"
  27068. },
  27069. "cardtypeid": {
  27070. "description": "提货人证件类型",
  27071. "type": "integer"
  27072. },
  27073. "checkremark": {
  27074. "description": "审核备注",
  27075. "type": "string"
  27076. },
  27077. "currencysign": {
  27078. "description": "货币符号",
  27079. "type": "string"
  27080. },
  27081. "decimalplace": {
  27082. "description": "报价小数位",
  27083. "type": "integer"
  27084. },
  27085. "goodscode": {
  27086. "description": "商品代码(内部)",
  27087. "type": "string"
  27088. },
  27089. "goodsid": {
  27090. "description": "商品ID",
  27091. "type": "integer"
  27092. },
  27093. "goodsname": {
  27094. "description": "商品名称",
  27095. "type": "string"
  27096. },
  27097. "handlestatus": {
  27098. "description": "处理状态",
  27099. "type": "integer"
  27100. },
  27101. "marketid": {
  27102. "description": "市场ID",
  27103. "type": "integer"
  27104. },
  27105. "phonenum": {
  27106. "description": "提货人联系方式",
  27107. "type": "string"
  27108. },
  27109. "picurls": {
  27110. "description": "介绍图片[多张用逗号分隔]",
  27111. "type": "string"
  27112. },
  27113. "qty": {
  27114. "description": "提货数量",
  27115. "type": "number"
  27116. },
  27117. "recivername": {
  27118. "description": "提货人姓名",
  27119. "type": "string"
  27120. },
  27121. "reqtime": {
  27122. "description": "更新时间",
  27123. "type": "string"
  27124. },
  27125. "takemode": {
  27126. "description": "提货方式 - 2:自提 3:配送",
  27127. "type": "integer"
  27128. },
  27129. "takeorderid": {
  27130. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  27131. "type": "string"
  27132. },
  27133. "takeorderstatus": {
  27134. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  27135. "type": "integer"
  27136. },
  27137. "takeremark": {
  27138. "description": "提货备注",
  27139. "type": "string"
  27140. },
  27141. "tradedate": {
  27142. "description": "交易日(yyyyMMdd)",
  27143. "type": "string"
  27144. },
  27145. "trademode": {
  27146. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  27147. "type": "integer"
  27148. },
  27149. "userid": {
  27150. "description": "用户ID",
  27151. "type": "integer"
  27152. },
  27153. "vendorname": {
  27154. "description": "供应商名称",
  27155. "type": "string"
  27156. }
  27157. }
  27158. },
  27159. "models.HsbyPreGoods": {
  27160. "type": "object",
  27161. "required": [
  27162. "goodscode",
  27163. "goodsid",
  27164. "goodsname",
  27165. "marketid",
  27166. "trademode"
  27167. ],
  27168. "properties": {
  27169. "agreeunit": {
  27170. "description": "合约单位",
  27171. "type": "number"
  27172. },
  27173. "currency": {
  27174. "description": "货币",
  27175. "type": "string"
  27176. },
  27177. "currencysign": {
  27178. "description": "货币符号",
  27179. "type": "string"
  27180. },
  27181. "decimalplace": {
  27182. "description": "报价小数位",
  27183. "type": "integer"
  27184. },
  27185. "desccityid": {
  27186. "description": "目的地(市)",
  27187. "type": "integer"
  27188. },
  27189. "descprovinceid": {
  27190. "description": "目的地(省)",
  27191. "type": "integer"
  27192. },
  27193. "enableqty": {
  27194. "description": "剩余数量",
  27195. "type": "integer"
  27196. },
  27197. "goodscode": {
  27198. "description": "商品代码(内部)",
  27199. "type": "string"
  27200. },
  27201. "goodsid": {
  27202. "description": "商品ID(自增ID SEQ_GOODS)",
  27203. "type": "integer"
  27204. },
  27205. "goodsname": {
  27206. "description": "商品名称",
  27207. "type": "string"
  27208. },
  27209. "goodsstatus": {
  27210. "description": "商品状态- 2:未上市 3:上市",
  27211. "type": "integer"
  27212. },
  27213. "lasttradedate": {
  27214. "description": "最后交易日期(状态:待退市)",
  27215. "type": "string"
  27216. },
  27217. "listingdate": {
  27218. "description": "交易开始日期",
  27219. "type": "string"
  27220. },
  27221. "marketid": {
  27222. "description": "所属市场ID",
  27223. "type": "integer"
  27224. },
  27225. "picurls": {
  27226. "description": "介绍图片[多张用逗号分隔]",
  27227. "type": "string"
  27228. },
  27229. "presaledqty": {
  27230. "description": "已预售量(预售结束时更新)",
  27231. "type": "integer"
  27232. },
  27233. "presaleqty": {
  27234. "description": "预售数量",
  27235. "type": "integer"
  27236. },
  27237. "quoteminunit": {
  27238. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  27239. "type": "integer"
  27240. },
  27241. "refprice": {
  27242. "description": "参考价格[一口价]",
  27243. "type": "number"
  27244. },
  27245. "relatedgoodsid": {
  27246. "description": "关联交易合约ID",
  27247. "type": "integer"
  27248. },
  27249. "trademode": {
  27250. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  27251. "type": "integer"
  27252. },
  27253. "videourls": {
  27254. "description": "介绍视频[多张用逗号分隔]",
  27255. "type": "string"
  27256. }
  27257. }
  27258. },
  27259. "models.HsbyPreGoodsDetail": {
  27260. "type": "object",
  27261. "required": [
  27262. "goodscode",
  27263. "goodsid",
  27264. "goodsname",
  27265. "marketid",
  27266. "trademode"
  27267. ],
  27268. "properties": {
  27269. "agreeunit": {
  27270. "description": "合约单位",
  27271. "type": "number"
  27272. },
  27273. "buymaxqty": {
  27274. "description": "购买上限 [71] - 0为不限",
  27275. "type": "integer"
  27276. },
  27277. "currency": {
  27278. "description": "货币",
  27279. "type": "string"
  27280. },
  27281. "currencysign": {
  27282. "description": "货币符号",
  27283. "type": "string"
  27284. },
  27285. "customername": {
  27286. "description": "发行单位",
  27287. "type": "string"
  27288. },
  27289. "decimalplace": {
  27290. "description": "报价小数位",
  27291. "type": "integer"
  27292. },
  27293. "desccityid": {
  27294. "description": "目的地(市)ID",
  27295. "type": "integer"
  27296. },
  27297. "descprovinceid": {
  27298. "description": "目的地(省)ID",
  27299. "type": "integer"
  27300. },
  27301. "enableqty": {
  27302. "description": "剩余数量",
  27303. "type": "integer"
  27304. },
  27305. "goodscode": {
  27306. "description": "商品代码(内部)",
  27307. "type": "string"
  27308. },
  27309. "goodsdesc": {
  27310. "description": "商品详情",
  27311. "type": "string"
  27312. },
  27313. "goodsid": {
  27314. "description": "商品ID(自增ID SEQ_GOODS)",
  27315. "type": "integer"
  27316. },
  27317. "goodsname": {
  27318. "description": "商品名称",
  27319. "type": "string"
  27320. },
  27321. "goodsstatus": {
  27322. "description": "商品状态- 2:未上市 3:上市",
  27323. "type": "integer"
  27324. },
  27325. "goodunit": {
  27326. "description": "报价单位",
  27327. "type": "string"
  27328. },
  27329. "lasttradedate": {
  27330. "description": "最后交易日期(状态:待退市)",
  27331. "type": "string"
  27332. },
  27333. "listingdate": {
  27334. "description": "交易开始日期",
  27335. "type": "string"
  27336. },
  27337. "lotsize": {
  27338. "description": "手数最小变动单位",
  27339. "type": "integer"
  27340. },
  27341. "marketid": {
  27342. "description": "所属市场ID",
  27343. "type": "integer"
  27344. },
  27345. "picurls": {
  27346. "description": "介绍图片[多张用逗号分隔]",
  27347. "type": "string"
  27348. },
  27349. "presaledqty": {
  27350. "description": "已预售量(预售结束时更新)",
  27351. "type": "integer"
  27352. },
  27353. "presaleqty": {
  27354. "description": "预售数量",
  27355. "type": "integer"
  27356. },
  27357. "quoteminunit": {
  27358. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  27359. "type": "integer"
  27360. },
  27361. "refprice": {
  27362. "description": "参考价格[一口价]",
  27363. "type": "number"
  27364. },
  27365. "relatedgoodsid": {
  27366. "description": "关联交易合约ID",
  27367. "type": "integer"
  27368. },
  27369. "stepvalue": {
  27370. "description": "价格最小变动单位",
  27371. "type": "number"
  27372. },
  27373. "trademode": {
  27374. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  27375. "type": "integer"
  27376. },
  27377. "vendorattr": {
  27378. "description": "供应商附件(多张,逗号分隔)",
  27379. "type": "string"
  27380. },
  27381. "vendorname": {
  27382. "description": "供应商名称",
  27383. "type": "string"
  27384. },
  27385. "vendorphone": {
  27386. "description": "供应商客服电话",
  27387. "type": "string"
  27388. },
  27389. "videourls": {
  27390. "description": "介绍视频[多张用逗号分隔]",
  27391. "type": "string"
  27392. }
  27393. }
  27394. },
  27395. "models.HsbySellCollectionOrder": {
  27396. "type": "object",
  27397. "required": [
  27398. "goodscode",
  27399. "goodsname",
  27400. "tradeid",
  27401. "trademode"
  27402. ],
  27403. "properties": {
  27404. "agreeunit": {
  27405. "description": "合约单位",
  27406. "type": "number"
  27407. },
  27408. "buyaccountid": {
  27409. "description": "买方账号ID[报价币种]",
  27410. "type": "integer"
  27411. },
  27412. "buyorderid": {
  27413. "description": "买方委托单号",
  27414. "type": "string"
  27415. },
  27416. "createtime": {
  27417. "description": "创建时间",
  27418. "type": "string"
  27419. },
  27420. "currencysign": {
  27421. "description": "货币符号",
  27422. "type": "string"
  27423. },
  27424. "decimalplace": {
  27425. "description": "报价小数位",
  27426. "type": "integer"
  27427. },
  27428. "goodscode": {
  27429. "description": "商品代码(内部)",
  27430. "type": "string"
  27431. },
  27432. "goodsid": {
  27433. "description": "商品ID",
  27434. "type": "integer"
  27435. },
  27436. "goodsname": {
  27437. "description": "商品名称",
  27438. "type": "string"
  27439. },
  27440. "marketid": {
  27441. "description": "市场ID",
  27442. "type": "integer"
  27443. },
  27444. "offamount": {
  27445. "description": "优惠金额",
  27446. "type": "number"
  27447. },
  27448. "payamount": {
  27449. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  27450. "type": "number"
  27451. },
  27452. "payflag": {
  27453. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  27454. "type": "integer"
  27455. },
  27456. "paylimitedtime": {
  27457. "description": "支付期限",
  27458. "type": "string"
  27459. },
  27460. "paytime": {
  27461. "description": "付款时间",
  27462. "type": "string"
  27463. },
  27464. "picurls": {
  27465. "description": "商品介绍图片[多张用逗号分隔]",
  27466. "type": "string"
  27467. },
  27468. "sellaccountid": {
  27469. "description": "卖方账号ID[报价币种]",
  27470. "type": "integer"
  27471. },
  27472. "sellorderid": {
  27473. "description": "卖方委托单号",
  27474. "type": "string"
  27475. },
  27476. "tradeamount": {
  27477. "description": "成交金额",
  27478. "type": "number"
  27479. },
  27480. "tradecharge": {
  27481. "description": "成交手续费(买方)",
  27482. "type": "number"
  27483. },
  27484. "tradedate": {
  27485. "description": "交易日(yyyyMMdd)",
  27486. "type": "string"
  27487. },
  27488. "tradeid": {
  27489. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  27490. "type": "string"
  27491. },
  27492. "trademode": {
  27493. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  27494. "type": "integer"
  27495. },
  27496. "tradeprice": {
  27497. "description": "成交价格",
  27498. "type": "number"
  27499. },
  27500. "tradeqty": {
  27501. "description": "成交数量",
  27502. "type": "integer"
  27503. }
  27504. }
  27505. },
  27506. "models.HsbySellMyDetail": {
  27507. "type": "object",
  27508. "required": [
  27509. "accountid",
  27510. "buyorsell",
  27511. "goodscode",
  27512. "goodsid",
  27513. "goodsname",
  27514. "marketid",
  27515. "orderid",
  27516. "time",
  27517. "trademode"
  27518. ],
  27519. "properties": {
  27520. "accountid": {
  27521. "description": "账户ID[报价币种]",
  27522. "type": "integer"
  27523. },
  27524. "agreeunit": {
  27525. "description": "合约单位",
  27526. "type": "number"
  27527. },
  27528. "buyorsell": {
  27529. "description": "买卖 - 0:买 1:卖",
  27530. "type": "integer"
  27531. },
  27532. "currencysign": {
  27533. "description": "货币符号",
  27534. "type": "string"
  27535. },
  27536. "decimalplace": {
  27537. "description": "报价小数位",
  27538. "type": "integer"
  27539. },
  27540. "goodscode": {
  27541. "description": "商品代码(内部)",
  27542. "type": "string"
  27543. },
  27544. "goodsid": {
  27545. "description": "商品ID",
  27546. "type": "integer"
  27547. },
  27548. "goodsname": {
  27549. "description": "商品名称",
  27550. "type": "string"
  27551. },
  27552. "marketid": {
  27553. "description": "市场ID",
  27554. "type": "integer"
  27555. },
  27556. "orderid": {
  27557. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  27558. "type": "string"
  27559. },
  27560. "ordertype": {
  27561. "description": "单据类型:0 - 发布中, 1 - 已完成",
  27562. "type": "integer"
  27563. },
  27564. "picurls": {
  27565. "description": "介绍图片[多张用逗号分隔]",
  27566. "type": "string"
  27567. },
  27568. "price": {
  27569. "description": "价格",
  27570. "type": "number"
  27571. },
  27572. "qty": {
  27573. "description": "数量",
  27574. "type": "integer"
  27575. },
  27576. "time": {
  27577. "description": "时间",
  27578. "type": "string"
  27579. },
  27580. "trademode": {
  27581. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  27582. "type": "integer"
  27583. },
  27584. "vendorname": {
  27585. "description": "供应商名称",
  27586. "type": "string"
  27587. }
  27588. }
  27589. },
  27590. "models.HsbyTopGoods": {
  27591. "type": "object",
  27592. "required": [
  27593. "goodscode",
  27594. "goodsid",
  27595. "goodsname",
  27596. "marketid",
  27597. "trademode"
  27598. ],
  27599. "properties": {
  27600. "agreeunit": {
  27601. "description": "合约单位",
  27602. "type": "number"
  27603. },
  27604. "currency": {
  27605. "description": "货币",
  27606. "type": "string"
  27607. },
  27608. "currencysign": {
  27609. "description": "货币符号",
  27610. "type": "string"
  27611. },
  27612. "decimalplace": {
  27613. "description": "报价小数位",
  27614. "type": "integer"
  27615. },
  27616. "desccityid": {
  27617. "description": "目的地(市)",
  27618. "type": "integer"
  27619. },
  27620. "descprovinceid": {
  27621. "description": "目的地(省)",
  27622. "type": "integer"
  27623. },
  27624. "goodscode": {
  27625. "description": "商品代码(内部)",
  27626. "type": "string"
  27627. },
  27628. "goodsid": {
  27629. "description": "商品ID(自增ID SEQ_GOODS)",
  27630. "type": "integer"
  27631. },
  27632. "goodsname": {
  27633. "description": "商品名称",
  27634. "type": "string"
  27635. },
  27636. "hotindex": {
  27637. "description": "景点热度",
  27638. "type": "integer"
  27639. },
  27640. "last": {
  27641. "description": "现价",
  27642. "type": "number"
  27643. },
  27644. "marketid": {
  27645. "description": "所属市场ID",
  27646. "type": "integer"
  27647. },
  27648. "picurls": {
  27649. "description": "介绍图片[多张用逗号分隔]",
  27650. "type": "string"
  27651. },
  27652. "quoteminunit": {
  27653. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  27654. "type": "integer"
  27655. },
  27656. "trademode": {
  27657. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  27658. "type": "integer"
  27659. },
  27660. "videourls": {
  27661. "description": "介绍视频[多张用逗号分隔]",
  27662. "type": "string"
  27663. }
  27664. }
  27665. },
  27666. "models.HybsMyBuyOrderDetail": {
  27667. "type": "object",
  27668. "required": [
  27669. "accountid",
  27670. "buyorsell",
  27671. "goodscode",
  27672. "goodsid",
  27673. "goodsname",
  27674. "marketid",
  27675. "orderid",
  27676. "orderqty",
  27677. "ordertime",
  27678. "trademode"
  27679. ],
  27680. "properties": {
  27681. "accountid": {
  27682. "description": "账户ID[报价币种]",
  27683. "type": "integer"
  27684. },
  27685. "agreeunit": {
  27686. "description": "合约单位",
  27687. "type": "number"
  27688. },
  27689. "buyorsell": {
  27690. "description": "买卖 - 0:买 1:卖",
  27691. "type": "integer"
  27692. },
  27693. "cancelqty": {
  27694. "description": "撤单数量",
  27695. "type": "integer"
  27696. },
  27697. "currencysign": {
  27698. "description": "货币符号",
  27699. "type": "string"
  27700. },
  27701. "decimalplace": {
  27702. "description": "报价小数位",
  27703. "type": "integer"
  27704. },
  27705. "goodscode": {
  27706. "description": "商品代码(内部)",
  27707. "type": "string"
  27708. },
  27709. "goodsid": {
  27710. "description": "商品ID",
  27711. "type": "integer"
  27712. },
  27713. "goodsname": {
  27714. "description": "商品名称",
  27715. "type": "string"
  27716. },
  27717. "listingselecttype": {
  27718. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  27719. "type": "integer"
  27720. },
  27721. "marketid": {
  27722. "description": "市场ID",
  27723. "type": "integer"
  27724. },
  27725. "mybuystatus": {
  27726. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  27727. "type": "integer"
  27728. },
  27729. "orderamount": {
  27730. "description": "委托金额",
  27731. "type": "number"
  27732. },
  27733. "orderid": {
  27734. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  27735. "type": "string"
  27736. },
  27737. "orderprice": {
  27738. "description": "委托价格",
  27739. "type": "number"
  27740. },
  27741. "orderqty": {
  27742. "description": "委托数量",
  27743. "type": "integer"
  27744. },
  27745. "orderstatus": {
  27746. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  27747. "type": "integer"
  27748. },
  27749. "ordertime": {
  27750. "description": "委托时间",
  27751. "type": "string"
  27752. },
  27753. "picurls1": {
  27754. "description": "预售商品介绍图片[多张用逗号分隔]",
  27755. "type": "string"
  27756. },
  27757. "picurls2": {
  27758. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  27759. "type": "string"
  27760. },
  27761. "trademode": {
  27762. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  27763. "type": "integer"
  27764. },
  27765. "tradeqty": {
  27766. "description": "成交数量",
  27767. "type": "integer"
  27768. },
  27769. "vendorname1": {
  27770. "description": "预售商品供应商名称",
  27771. "type": "string"
  27772. },
  27773. "vendorname2": {
  27774. "description": "挂牌商品供应商名称",
  27775. "type": "string"
  27776. }
  27777. }
  27778. },
  27779. "models.Loginaccount": {
  27780. "type": "object",
  27781. "required": [
  27782. "loginid"
  27783. ],
  27784. "properties": {
  27785. "accountname": {
  27786. "description": "账户名称",
  27787. "type": "string"
  27788. },
  27789. "canoutin": {
  27790. "description": "是否可出入金 - 0:不可 1:可",
  27791. "type": "integer"
  27792. },
  27793. "clientroleid": {
  27794. "description": "终端角色ID",
  27795. "type": "integer"
  27796. },
  27797. "haslogined": {
  27798. "description": "是否已登录 - 0:未登录 1:已登录",
  27799. "type": "integer"
  27800. },
  27801. "hasupdatedpwd": {
  27802. "description": "是否已更改密码 - 0:未修改 1:已修改",
  27803. "type": "integer"
  27804. },
  27805. "lastloginip": {
  27806. "description": "最新登录地址",
  27807. "type": "string"
  27808. },
  27809. "lastloginmode": {
  27810. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  27811. "type": "integer"
  27812. },
  27813. "lastloginremark": {
  27814. "description": "最新登录描述",
  27815. "type": "string"
  27816. },
  27817. "lastlogintime": {
  27818. "description": "最新登录时间",
  27819. "type": "string"
  27820. },
  27821. "logincode": {
  27822. "description": "登录代码",
  27823. "type": "string"
  27824. },
  27825. "loginfailnum": {
  27826. "description": "连续登录失败次数(登录成功时清零)",
  27827. "type": "integer"
  27828. },
  27829. "loginid": {
  27830. "description": "登陆账号",
  27831. "type": "integer"
  27832. },
  27833. "loginport": {
  27834. "description": "最新登录端口",
  27835. "type": "integer"
  27836. },
  27837. "loginstatus": {
  27838. "description": "登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)",
  27839. "type": "integer"
  27840. },
  27841. "loginusertype": {
  27842. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  27843. "type": "integer"
  27844. },
  27845. "mobile": {
  27846. "description": "手机号码(加密存储)",
  27847. "type": "string"
  27848. },
  27849. "modifierid": {
  27850. "description": "修改人",
  27851. "type": "integer"
  27852. },
  27853. "modifysrc": {
  27854. "description": "审核来源 - 1:管理端 2:终端",
  27855. "type": "integer"
  27856. },
  27857. "modifytime": {
  27858. "description": "修改时间",
  27859. "type": "string"
  27860. },
  27861. "password": {
  27862. "description": "登陆密码",
  27863. "type": "string"
  27864. },
  27865. "pwdwrongcount": {
  27866. "description": "密码错误次数",
  27867. "type": "integer"
  27868. },
  27869. "relateduserid": {
  27870. "description": "关联用户ID(机构)",
  27871. "type": "integer"
  27872. },
  27873. "taaccountrighttype": {
  27874. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  27875. "type": "integer"
  27876. },
  27877. "unfreezetime": {
  27878. "description": "账户解冻时间",
  27879. "type": "string"
  27880. },
  27881. "userid": {
  27882. "description": "用户ID",
  27883. "type": "integer"
  27884. }
  27885. }
  27886. },
  27887. "models.MainAccountInfo": {
  27888. "type": "object",
  27889. "properties": {
  27890. "accountid": {
  27891. "description": "账号id",
  27892. "type": "integer"
  27893. },
  27894. "accountname": {
  27895. "description": "账号名称(taaccount表中的名称)",
  27896. "type": "string"
  27897. },
  27898. "appid": {
  27899. "description": "AppID",
  27900. "type": "string"
  27901. },
  27902. "authcode": {
  27903. "description": "授权码",
  27904. "type": "string"
  27905. },
  27906. "brokerid": {
  27907. "description": "经纪商id",
  27908. "type": "string"
  27909. },
  27910. "fcid": {
  27911. "description": "期货公司id",
  27912. "type": "integer"
  27913. },
  27914. "fcname": {
  27915. "description": "期货公司代码",
  27916. "type": "string"
  27917. },
  27918. "hedgeaccountcode": {
  27919. "description": "外部账号代码(主账号登录代码)",
  27920. "type": "string"
  27921. },
  27922. "hedgeaccountpwd": {
  27923. "description": "密码",
  27924. "type": "string"
  27925. },
  27926. "ismain": {
  27927. "description": "是否主账号",
  27928. "type": "integer"
  27929. },
  27930. "relateduserid": {
  27931. "description": "关联用户id",
  27932. "type": "integer"
  27933. },
  27934. "userid": {
  27935. "description": "关联用户id",
  27936. "type": "integer"
  27937. }
  27938. }
  27939. },
  27940. "models.Market": {
  27941. "type": "object",
  27942. "required": [
  27943. "marketid",
  27944. "marketstatus",
  27945. "openmethod",
  27946. "reckonpricealgorithm",
  27947. "trademode",
  27948. "tradeproperty"
  27949. ],
  27950. "properties": {
  27951. "auctionwrtype": {
  27952. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  27953. "type": "integer"
  27954. },
  27955. "canacceptquote": {
  27956. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  27957. "type": "integer"
  27958. },
  27959. "cangoodsexercise": {
  27960. "description": "[期权]是否可现货行权- 0:否 1:是",
  27961. "type": "integer"
  27962. },
  27963. "cangoodsexercisetype": {
  27964. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  27965. "type": "integer"
  27966. },
  27967. "canmanualquotestrike": {
  27968. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  27969. "type": "integer"
  27970. },
  27971. "canmutistage": {
  27972. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  27973. "type": "integer"
  27974. },
  27975. "canpreexercise": {
  27976. "description": "[期权]是否可预申报- 0:否 1:是",
  27977. "type": "integer"
  27978. },
  27979. "clearinterval": {
  27980. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  27981. "type": "integer"
  27982. },
  27983. "contracttmp": {
  27984. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  27985. "type": "string"
  27986. },
  27987. "exchareaid": {
  27988. "description": "所属交易所,可以没有",
  27989. "type": "integer"
  27990. },
  27991. "goodstype": {
  27992. "description": "商品类型 - 1:交易商品 2:仓单商品",
  27993. "type": "integer"
  27994. },
  27995. "hasrebate": {
  27996. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  27997. "type": "integer"
  27998. },
  27999. "hastradecredit": {
  28000. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  28001. "type": "integer"
  28002. },
  28003. "haswr": {
  28004. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  28005. "type": "integer"
  28006. },
  28007. "isdeductmargin": {
  28008. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  28009. "type": "integer"
  28010. },
  28011. "isrecordsource": {
  28012. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  28013. "type": "integer"
  28014. },
  28015. "isreleasemargin": {
  28016. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  28017. "type": "integer"
  28018. },
  28019. "marginformula": {
  28020. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  28021. "type": "integer"
  28022. },
  28023. "marginformula2": {
  28024. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  28025. "type": "integer"
  28026. },
  28027. "marketid": {
  28028. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  28029. "type": "integer"
  28030. },
  28031. "marketname": {
  28032. "description": "市场名称",
  28033. "type": "string"
  28034. },
  28035. "marketserviceid": {
  28036. "description": "市场服务ID",
  28037. "type": "integer"
  28038. },
  28039. "marketstatus": {
  28040. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  28041. "type": "integer"
  28042. },
  28043. "markettype": {
  28044. "description": "市场类型- 1:非交易服务 2:交易服务",
  28045. "type": "integer"
  28046. },
  28047. "matchermode": {
  28048. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  28049. "type": "integer"
  28050. },
  28051. "openmethod": {
  28052. "description": "开盘模式 - 0 自动 1手动",
  28053. "type": "integer"
  28054. },
  28055. "otcuserid": {
  28056. "description": "场外期权做市商[场外期权]",
  28057. "type": "integer"
  28058. },
  28059. "outersynctime": {
  28060. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  28061. "type": "string"
  28062. },
  28063. "pendingflag": {
  28064. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  28065. "type": "integer"
  28066. },
  28067. "pendingtime": {
  28068. "description": "待开市时间[通道交易-对冲](HH:mm)",
  28069. "type": "string"
  28070. },
  28071. "performancetempid": {
  28072. "description": "履约计划模板ID - 作废",
  28073. "type": "integer"
  28074. },
  28075. "premiumquotemode": {
  28076. "description": "权利金报价方式 - 1:自动 2:手动",
  28077. "type": "integer"
  28078. },
  28079. "rebateratio": {
  28080. "description": "返利比率[竞价式]",
  28081. "type": "number"
  28082. },
  28083. "reckonorder": {
  28084. "description": "结算顺序",
  28085. "type": "integer"
  28086. },
  28087. "reckonpricealgorithm": {
  28088. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  28089. "type": "integer"
  28090. },
  28091. "reckonpriceparam": {
  28092. "description": "结算价参数",
  28093. "type": "integer"
  28094. },
  28095. "reckontime": {
  28096. "description": "结算时间[通道交易-对冲](HH:mm)",
  28097. "type": "string"
  28098. },
  28099. "roleprioritytype": {
  28100. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  28101. "type": "integer"
  28102. },
  28103. "selllistingauditflag": {
  28104. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  28105. "type": "integer"
  28106. },
  28107. "trademarkettype": {
  28108. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  28109. "type": "integer"
  28110. },
  28111. "trademode": {
  28112. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  28113. "type": "integer"
  28114. },
  28115. "tradeproperty": {
  28116. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  28117. "type": "integer"
  28118. },
  28119. "tradetype": {
  28120. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  28121. "type": "integer"
  28122. }
  28123. }
  28124. },
  28125. "models.Marketrun": {
  28126. "type": "object",
  28127. "required": [
  28128. "marketid",
  28129. "nexttradedate",
  28130. "reckonflag",
  28131. "runstatus",
  28132. "tradedate",
  28133. "tradedate2"
  28134. ],
  28135. "properties": {
  28136. "afternexttradedate": {
  28137. "description": "下下交易日",
  28138. "type": "string"
  28139. },
  28140. "clearquoteflag": {
  28141. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  28142. "type": "integer"
  28143. },
  28144. "lastreckondate": {
  28145. "description": "最新交易日(结算成功)",
  28146. "type": "string"
  28147. },
  28148. "machinedate": {
  28149. "description": "机器时间",
  28150. "type": "string"
  28151. },
  28152. "manualflag": {
  28153. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  28154. "type": "integer"
  28155. },
  28156. "marketid": {
  28157. "description": "市场ID",
  28158. "type": "integer"
  28159. },
  28160. "nexttradedate": {
  28161. "description": "下一交易日",
  28162. "type": "string"
  28163. },
  28164. "pretradedate": {
  28165. "description": "上一交易日",
  28166. "type": "string"
  28167. },
  28168. "reckonflag": {
  28169. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  28170. "type": "integer"
  28171. },
  28172. "runstatus": {
  28173. "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.今日免清算",
  28174. "type": "integer"
  28175. },
  28176. "sectionid": {
  28177. "description": "时间段号[多时段时用]",
  28178. "type": "integer"
  28179. },
  28180. "tradedate": {
  28181. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  28182. "type": "string"
  28183. },
  28184. "tradedate2": {
  28185. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  28186. "type": "string"
  28187. },
  28188. "updatetime": {
  28189. "description": "更新时间",
  28190. "type": "string"
  28191. }
  28192. }
  28193. },
  28194. "models.Messageboard": {
  28195. "type": "object",
  28196. "required": [
  28197. "messageboardid"
  28198. ],
  28199. "properties": {
  28200. "contactnum": {
  28201. "description": "联系电话",
  28202. "type": "string"
  28203. },
  28204. "createtime": {
  28205. "description": "创建时间",
  28206. "type": "string"
  28207. },
  28208. "message": {
  28209. "description": "留言信息",
  28210. "type": "string"
  28211. },
  28212. "messageboardid": {
  28213. "description": "留言簿ID(SEQ_MessageBoard)",
  28214. "type": "integer"
  28215. },
  28216. "userid": {
  28217. "description": "用户ID",
  28218. "type": "integer"
  28219. }
  28220. }
  28221. },
  28222. "models.MyCoupon": {
  28223. "type": "object",
  28224. "required": [
  28225. "accountid",
  28226. "coupontypeid"
  28227. ],
  28228. "properties": {
  28229. "accountid": {
  28230. "description": "资金账户ID",
  28231. "type": "integer"
  28232. },
  28233. "areauserid": {
  28234. "description": "所属机构",
  28235. "type": "integer"
  28236. },
  28237. "conditionvalue": {
  28238. "description": "条件阈值(可为0)",
  28239. "type": "number"
  28240. },
  28241. "couponcategroy": {
  28242. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  28243. "type": "integer"
  28244. },
  28245. "couponname": {
  28246. "description": "优惠券名称",
  28247. "type": "string"
  28248. },
  28249. "coupontypeid": {
  28250. "description": "优惠券类型ID",
  28251. "type": "string"
  28252. },
  28253. "couponvalue": {
  28254. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  28255. "type": "number"
  28256. },
  28257. "curfreezeqty": {
  28258. "description": "期末冻结数量",
  28259. "type": "integer"
  28260. },
  28261. "curqty": {
  28262. "description": "期末数量",
  28263. "type": "integer"
  28264. },
  28265. "isgeneral": {
  28266. "description": "是否通用券 - 0:否 1:是",
  28267. "type": "integer"
  28268. },
  28269. "isunusable": {
  28270. "description": "是否不可用",
  28271. "type": "boolean"
  28272. },
  28273. "limitedflag": {
  28274. "description": "是否指定商品 - 0:不限 1:限制",
  28275. "type": "integer"
  28276. },
  28277. "limitedgoodsids": {
  28278. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  28279. "type": "string"
  28280. },
  28281. "orifreezeqty": {
  28282. "description": "期初冻结数量",
  28283. "type": "integer"
  28284. },
  28285. "oriqty": {
  28286. "description": "期初数量",
  28287. "type": "integer"
  28288. },
  28289. "reasontype": {
  28290. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  28291. "type": "integer"
  28292. },
  28293. "todaydecrease": {
  28294. "description": "今日减少",
  28295. "type": "integer"
  28296. },
  28297. "todayincrease": {
  28298. "description": "今日增加",
  28299. "type": "integer"
  28300. },
  28301. "userid": {
  28302. "description": "用户ID",
  28303. "type": "integer"
  28304. },
  28305. "userscope": {
  28306. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  28307. "type": "string"
  28308. }
  28309. }
  28310. },
  28311. "models.MyCouponHold": {
  28312. "type": "object",
  28313. "required": [
  28314. "couponholdid"
  28315. ],
  28316. "properties": {
  28317. "accountid": {
  28318. "description": "资金账户ID",
  28319. "type": "integer"
  28320. },
  28321. "conditionvalue": {
  28322. "description": "条件阈值(可为0)",
  28323. "type": "number"
  28324. },
  28325. "couponcategroy": {
  28326. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  28327. "type": "integer"
  28328. },
  28329. "couponholdid": {
  28330. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  28331. "type": "string"
  28332. },
  28333. "couponname": {
  28334. "description": "优惠券名称",
  28335. "type": "string"
  28336. },
  28337. "coupontypeid": {
  28338. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  28339. "type": "string"
  28340. },
  28341. "couponvalue": {
  28342. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  28343. "type": "number"
  28344. },
  28345. "createtime": {
  28346. "description": "创建时间",
  28347. "type": "string"
  28348. },
  28349. "enddate": {
  28350. "description": "结束日期",
  28351. "type": "string"
  28352. },
  28353. "giveapplyid": {
  28354. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  28355. "type": "integer"
  28356. },
  28357. "holdstatus": {
  28358. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  28359. "type": "integer"
  28360. },
  28361. "isgeneral": {
  28362. "description": "是否通用券 - 0:否 1:是",
  28363. "type": "integer"
  28364. },
  28365. "limitedflag": {
  28366. "description": "是否指定商品 - 0:不限 1:限制",
  28367. "type": "integer"
  28368. },
  28369. "limitedgoodsids": {
  28370. "description": "指定商品IDs[逗号分隔]",
  28371. "type": "string"
  28372. },
  28373. "qty": {
  28374. "description": "数量(按1平铺)",
  28375. "type": "integer"
  28376. },
  28377. "startdate": {
  28378. "description": "开始日期",
  28379. "type": "string"
  28380. },
  28381. "userid": {
  28382. "description": "用户ID",
  28383. "type": "integer"
  28384. },
  28385. "userscope": {
  28386. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  28387. "type": "string"
  28388. }
  28389. }
  28390. },
  28391. "models.MyUsedCoupon": {
  28392. "type": "object",
  28393. "required": [
  28394. "coupontypeid",
  28395. "orderid"
  28396. ],
  28397. "properties": {
  28398. "accountid": {
  28399. "description": "资金账户ID(买方)",
  28400. "type": "integer"
  28401. },
  28402. "conditionvalue": {
  28403. "description": "条件阈值(可为0)",
  28404. "type": "number"
  28405. },
  28406. "couponcategroy": {
  28407. "description": "种类 - 1:现金券 2:折扣券",
  28408. "type": "integer"
  28409. },
  28410. "couponname": {
  28411. "description": "优惠券名称",
  28412. "type": "string"
  28413. },
  28414. "coupontypeid": {
  28415. "description": "优惠券类型ID(买方)",
  28416. "type": "string"
  28417. },
  28418. "couponvalue": {
  28419. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  28420. "type": "number"
  28421. },
  28422. "createtime": {
  28423. "description": "创建时间",
  28424. "type": "string"
  28425. },
  28426. "goodsid": {
  28427. "description": "商品ID",
  28428. "type": "integer"
  28429. },
  28430. "handlestatus": {
  28431. "description": "处理状态",
  28432. "type": "integer"
  28433. },
  28434. "marketid": {
  28435. "description": "市场ID",
  28436. "type": "integer"
  28437. },
  28438. "offamount": {
  28439. "description": "优惠金额",
  28440. "type": "number"
  28441. },
  28442. "orderid": {
  28443. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  28444. "type": "string"
  28445. },
  28446. "sellaccountid": {
  28447. "description": "资金账户ID(卖方)",
  28448. "type": "integer"
  28449. },
  28450. "tradeamount": {
  28451. "description": "成交金额",
  28452. "type": "number"
  28453. },
  28454. "tradeid": {
  28455. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  28456. "type": "string"
  28457. },
  28458. "usedqty": {
  28459. "description": "使用数量",
  28460. "type": "integer"
  28461. }
  28462. }
  28463. },
  28464. "models.OperationPrimaryMenu": {
  28465. "type": "object",
  28466. "properties": {
  28467. "Children": {
  28468. "description": "二级功能菜单",
  28469. "type": "array",
  28470. "items": {
  28471. "$ref": "#/definitions/models.OperationSecondaryMenu"
  28472. }
  28473. },
  28474. "Key": {
  28475. "description": "菜单KEY",
  28476. "type": "string"
  28477. },
  28478. "Label": {
  28479. "description": "菜单标题",
  28480. "type": "string"
  28481. }
  28482. }
  28483. },
  28484. "models.OperationSecondaryMenu": {
  28485. "type": "object",
  28486. "properties": {
  28487. "Key": {
  28488. "description": "菜单KEY",
  28489. "type": "string"
  28490. },
  28491. "Label": {
  28492. "description": "菜单标题",
  28493. "type": "string"
  28494. },
  28495. "TabList": {
  28496. "description": "三级功能菜单",
  28497. "type": "array",
  28498. "items": {
  28499. "$ref": "#/definitions/models.OperationTabMenu"
  28500. }
  28501. }
  28502. }
  28503. },
  28504. "models.OperationTabMenu": {
  28505. "type": "object",
  28506. "properties": {
  28507. "Key": {
  28508. "description": "菜单KEY",
  28509. "type": "string"
  28510. },
  28511. "Label": {
  28512. "description": "菜单标题",
  28513. "type": "string"
  28514. }
  28515. }
  28516. },
  28517. "models.QhjAccountOutInApply": {
  28518. "type": "object",
  28519. "properties": {
  28520. "accountcode": {
  28521. "description": "资金账号",
  28522. "type": "string"
  28523. },
  28524. "accountname": {
  28525. "description": "用户名称(名称)",
  28526. "type": "string"
  28527. },
  28528. "accountpwd": {
  28529. "description": "资金密码",
  28530. "type": "string"
  28531. },
  28532. "accountticket": {
  28533. "description": "最新账户服务流水号",
  28534. "type": "string"
  28535. },
  28536. "amount": {
  28537. "description": "金额",
  28538. "type": "number"
  28539. },
  28540. "applyremark": {
  28541. "description": "申请备注",
  28542. "type": "string"
  28543. },
  28544. "applystatus": {
  28545. "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: 复审通过,账户冻结金额检查中;",
  28546. "type": "integer"
  28547. },
  28548. "auditid": {
  28549. "description": "审核人",
  28550. "type": "integer"
  28551. },
  28552. "audittime": {
  28553. "description": "审核时间",
  28554. "type": "string"
  28555. },
  28556. "bank_apply_ticket": {
  28557. "description": "银行申请流水",
  28558. "type": "string"
  28559. },
  28560. "bankaccountname": {
  28561. "description": "银行账户名",
  28562. "type": "string"
  28563. },
  28564. "bankaccountno": {
  28565. "description": "银行卡号",
  28566. "type": "string"
  28567. },
  28568. "bankid": {
  28569. "description": "银行编号",
  28570. "type": "string"
  28571. },
  28572. "bankticket": {
  28573. "description": "银行流水",
  28574. "type": "string"
  28575. },
  28576. "branchbankid": {
  28577. "description": "银行支行号",
  28578. "type": "string"
  28579. },
  28580. "branchbankname": {
  28581. "description": "银行支行名称",
  28582. "type": "string"
  28583. },
  28584. "capamountout": {
  28585. "description": "出金(劣后本金) - 外部子账户",
  28586. "type": "number"
  28587. },
  28588. "certificatephotourl": {
  28589. "description": "凭证地址",
  28590. "type": "string"
  28591. },
  28592. "charge": {
  28593. "description": "手续费",
  28594. "type": "number"
  28595. },
  28596. "checkerrorflag": {
  28597. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  28598. "type": "integer"
  28599. },
  28600. "currency": {
  28601. "description": "币种",
  28602. "type": "string"
  28603. },
  28604. "cusbankid": {
  28605. "description": "托管银行编号",
  28606. "type": "string"
  28607. },
  28608. "exchticket": {
  28609. "description": "银行服务流水号",
  28610. "type": "string"
  28611. },
  28612. "executetype": {
  28613. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  28614. "type": "integer"
  28615. },
  28616. "extendinfo": {
  28617. "description": "扩展信息",
  28618. "type": "string"
  28619. },
  28620. "extoperateid": {
  28621. "description": "交易服务流水号",
  28622. "type": "integer"
  28623. },
  28624. "infamount": {
  28625. "description": "劣后金额(自有)",
  28626. "type": "number"
  28627. },
  28628. "logincode": {
  28629. "description": "登录账号(账号)",
  28630. "type": "string"
  28631. },
  28632. "netaddr": {
  28633. "description": "调转网址",
  28634. "type": "string"
  28635. },
  28636. "priamount": {
  28637. "description": "优先金额(授信)",
  28638. "type": "number"
  28639. },
  28640. "reauditid": {
  28641. "description": "复审人",
  28642. "type": "integer"
  28643. },
  28644. "reauditremark": {
  28645. "description": "复审备注",
  28646. "type": "string"
  28647. },
  28648. "reaudittime": {
  28649. "description": "复审时间",
  28650. "type": "string"
  28651. },
  28652. "relatedorderid": {
  28653. "description": "三方关联ID",
  28654. "type": "string"
  28655. },
  28656. "remark": {
  28657. "description": "备注",
  28658. "type": "string"
  28659. },
  28660. "remark2": {
  28661. "description": "备注(失败原因)",
  28662. "type": "string"
  28663. },
  28664. "soucreamount": {
  28665. "description": "原始出入金金额",
  28666. "type": "number"
  28667. },
  28668. "soucrecurrencyid": {
  28669. "description": "原始出入金币种",
  28670. "type": "integer"
  28671. },
  28672. "tradedate": {
  28673. "description": "交易日(yyyyMMdd)",
  28674. "type": "string"
  28675. },
  28676. "updatetime": {
  28677. "description": "更新时间(申请时间)",
  28678. "type": "string"
  28679. },
  28680. "userid": {
  28681. "description": "用户id",
  28682. "type": "integer"
  28683. },
  28684. "userinfotype": {
  28685. "description": "账户类型 1-个人 2-企业",
  28686. "type": "integer"
  28687. }
  28688. }
  28689. },
  28690. "models.QhjAgreementChangeLog": {
  28691. "type": "object",
  28692. "properties": {
  28693. "agreementcontent": {
  28694. "description": "协议内容",
  28695. "type": "string"
  28696. },
  28697. "agreementfrequency": {
  28698. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  28699. "type": "integer"
  28700. },
  28701. "agreementid": {
  28702. "description": "协议ID",
  28703. "type": "integer"
  28704. },
  28705. "agreementname": {
  28706. "description": "协议名称",
  28707. "type": "string"
  28708. },
  28709. "agreementno": {
  28710. "description": "协议编号",
  28711. "type": "string"
  28712. },
  28713. "agreementtype": {
  28714. "description": "协议类型 - 1:注册 2:登录 3:交易",
  28715. "type": "integer"
  28716. },
  28717. "agreementversion": {
  28718. "description": "协议版本号",
  28719. "type": "integer"
  28720. },
  28721. "logid": {
  28722. "description": "流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)",
  28723. "type": "integer"
  28724. },
  28725. "reviserid": {
  28726. "description": "修改人",
  28727. "type": "integer"
  28728. },
  28729. "revisersrc": {
  28730. "description": "修改来源 - 1:管理端 2:终端",
  28731. "type": "integer"
  28732. },
  28733. "updatetime": {
  28734. "description": "更新时间",
  28735. "type": "string"
  28736. }
  28737. }
  28738. },
  28739. "models.QhjAgreementConfig": {
  28740. "type": "object",
  28741. "properties": {
  28742. "agreementcontent": {
  28743. "description": "协议内容",
  28744. "type": "string"
  28745. },
  28746. "agreementfrequency": {
  28747. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  28748. "type": "integer"
  28749. },
  28750. "agreementid": {
  28751. "description": "协议ID(SEQ_QHJ_AGREEMENTCONFIG)",
  28752. "type": "integer"
  28753. },
  28754. "agreementname": {
  28755. "description": "协议名称",
  28756. "type": "string"
  28757. },
  28758. "agreementno": {
  28759. "description": "协议编号",
  28760. "type": "string"
  28761. },
  28762. "agreementtype": {
  28763. "description": "协议类型 - 1:注册 2:登录 3:交易",
  28764. "type": "integer"
  28765. },
  28766. "agreementversion": {
  28767. "description": "协议版本号(从1开始每次修改加1)",
  28768. "type": "integer"
  28769. },
  28770. "createtime": {
  28771. "description": "创建时间",
  28772. "type": "string"
  28773. },
  28774. "creatorid": {
  28775. "description": "创建人",
  28776. "type": "integer"
  28777. },
  28778. "creatorsrc": {
  28779. "description": "创建来源 - 1:管理端 2:终端",
  28780. "type": "integer"
  28781. },
  28782. "isvalid": {
  28783. "description": "是否有效 - 是否有效 - 1:正常 2:停用 3:注销",
  28784. "type": "integer"
  28785. },
  28786. "reviserid": {
  28787. "description": "修改人",
  28788. "type": "integer"
  28789. },
  28790. "revisersrc": {
  28791. "description": "修改来源 - 1:管理端 2:终端",
  28792. "type": "integer"
  28793. },
  28794. "updatetime": {
  28795. "description": "更新时间",
  28796. "type": "string"
  28797. }
  28798. }
  28799. },
  28800. "models.QhjAreaFinanceConfig": {
  28801. "type": "object",
  28802. "properties": {
  28803. "additionalratio": {
  28804. "description": "追加款比例",
  28805. "type": "number"
  28806. },
  28807. "advanceratio": {
  28808. "description": "预付款比例",
  28809. "type": "number"
  28810. },
  28811. "alarmratio": {
  28812. "description": "告警比例",
  28813. "type": "number"
  28814. },
  28815. "consumptiondirectreward": {
  28816. "description": "消费直推奖励值",
  28817. "type": "number"
  28818. },
  28819. "consumptionenabled": {
  28820. "description": "是否启用消费奖励 - 0:不启用 1:启用",
  28821. "type": "integer"
  28822. },
  28823. "consumptionindirectreward": {
  28824. "description": "消费间推奖励值",
  28825. "type": "number"
  28826. },
  28827. "consumptionmodel": {
  28828. "description": "消费奖励方式 - 1:比率 2:固定",
  28829. "type": "integer"
  28830. },
  28831. "customerservicenum": {
  28832. "description": "客服电话",
  28833. "type": "string"
  28834. },
  28835. "dayinterestrate": {
  28836. "description": "日利率",
  28837. "type": "number"
  28838. },
  28839. "disableconsumptiontips": {
  28840. "description": "关闭消费奖励提示",
  28841. "type": "string"
  28842. },
  28843. "modifierid": {
  28844. "description": "修改人ID",
  28845. "type": "integer"
  28846. },
  28847. "modifysrc": {
  28848. "description": "审核来源 - 1:管理端 2:终端",
  28849. "type": "integer"
  28850. },
  28851. "modifytime": {
  28852. "description": "修改时间",
  28853. "type": "string"
  28854. },
  28855. "promotionvalue": {
  28856. "description": "推广奖励值(固定)",
  28857. "type": "number"
  28858. },
  28859. "scoreconfigvalue1": {
  28860. "description": "提货积分配置1",
  28861. "type": "integer"
  28862. },
  28863. "scoreconfigvalue2": {
  28864. "description": "提货积分配置2",
  28865. "type": "integer"
  28866. },
  28867. "userid": {
  28868. "description": "机构用户ID其他做市关系,都设置为 1",
  28869. "type": "integer"
  28870. },
  28871. "username": {
  28872. "description": "用户名称",
  28873. "type": "string"
  28874. }
  28875. }
  28876. },
  28877. "models.QhjBankAccountSign": {
  28878. "type": "object",
  28879. "properties": {
  28880. "accountcode": {
  28881. "description": "资金账号",
  28882. "type": "string"
  28883. },
  28884. "accountname": {
  28885. "description": "资金账号对应的账号名(UserName)",
  28886. "type": "string"
  28887. },
  28888. "accountname2": {
  28889. "description": "资金账号对应的账号名(UserName) - 密文",
  28890. "type": "string"
  28891. },
  28892. "accounttype": {
  28893. "description": "账户类型(UserType)",
  28894. "type": "integer"
  28895. },
  28896. "applicationtime": {
  28897. "description": "最后一次更新的时间",
  28898. "type": "string"
  28899. },
  28900. "applyexchticket": {
  28901. "description": "申请流水",
  28902. "type": "string"
  28903. },
  28904. "auditid": {
  28905. "description": "审核人",
  28906. "type": "integer"
  28907. },
  28908. "audittime": {
  28909. "description": "审核时间",
  28910. "type": "string"
  28911. },
  28912. "bankaccountname": {
  28913. "description": "签约银行卡账号名",
  28914. "type": "string"
  28915. },
  28916. "bankaccountname2": {
  28917. "description": "签约银行卡账号名 - 密文",
  28918. "type": "string"
  28919. },
  28920. "bankaccountno": {
  28921. "description": "银行卡号",
  28922. "type": "string"
  28923. },
  28924. "bankaccountno2": {
  28925. "description": "银行卡号 - 密文",
  28926. "type": "string"
  28927. },
  28928. "bankaccounttype": {
  28929. "description": "银行账户类型 - 1-对私; 2-对公",
  28930. "type": "integer"
  28931. },
  28932. "bankcardtype": {
  28933. "description": "银行卡类型",
  28934. "type": "integer"
  28935. },
  28936. "bankchildaccount": {
  28937. "description": "银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)",
  28938. "type": "string"
  28939. },
  28940. "bankcity": {
  28941. "description": "开户行城市",
  28942. "type": "string"
  28943. },
  28944. "bankid": {
  28945. "description": "签约银行ID",
  28946. "type": "string"
  28947. },
  28948. "bankname": {
  28949. "description": "签约银行名称",
  28950. "type": "string"
  28951. },
  28952. "bankprovince": {
  28953. "description": "开户行省份",
  28954. "type": "string"
  28955. },
  28956. "branchbankid": {
  28957. "description": "签约银行支行号",
  28958. "type": "string"
  28959. },
  28960. "branchbankname": {
  28961. "description": "签约银行支行名称",
  28962. "type": "string"
  28963. },
  28964. "cardno": {
  28965. "description": "证件号码",
  28966. "type": "string"
  28967. },
  28968. "cardno2": {
  28969. "description": "证件号码 - 密文",
  28970. "type": "string"
  28971. },
  28972. "cardtype": {
  28973. "description": "证件类型",
  28974. "type": "string"
  28975. },
  28976. "currency": {
  28977. "description": "币种",
  28978. "type": "string"
  28979. },
  28980. "cusbankid": {
  28981. "description": "托管银行编号",
  28982. "type": "string"
  28983. },
  28984. "direct": {
  28985. "description": "方向(可以判断那方先发起的签约)",
  28986. "type": "integer"
  28987. },
  28988. "exchticket": {
  28989. "description": "最后一次签约成功的流水号",
  28990. "type": "string"
  28991. },
  28992. "extendinfo": {
  28993. "description": "扩展信息(JSON字符串)",
  28994. "type": "string"
  28995. },
  28996. "mobilephone": {
  28997. "description": "手机号",
  28998. "type": "string"
  28999. },
  29000. "mobilephone2": {
  29001. "description": "手机号 - 密文",
  29002. "type": "string"
  29003. },
  29004. "netaddr": {
  29005. "description": "调转网址",
  29006. "type": "string"
  29007. },
  29008. "relateduserid": {
  29009. "description": "关联使用者userid",
  29010. "type": "integer"
  29011. },
  29012. "signstatus": {
  29013. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中 10:审核拒绝 11:换签待审核",
  29014. "type": "integer"
  29015. },
  29016. "updatetime": {
  29017. "description": "更新时间(签解约更新时间)",
  29018. "type": "string"
  29019. }
  29020. }
  29021. },
  29022. "models.QhjBankInfo": {
  29023. "type": "object",
  29024. "properties": {
  29025. "bankid": {
  29026. "description": "银行ID",
  29027. "type": "string"
  29028. },
  29029. "bankname": {
  29030. "description": "银行名称",
  29031. "type": "string"
  29032. },
  29033. "clearbankno": {
  29034. "description": "清算系统银行编号",
  29035. "type": "string"
  29036. },
  29037. "orderindex": {
  29038. "description": "排序顺序",
  29039. "type": "integer"
  29040. },
  29041. "status": {
  29042. "description": "状态 - 0:正常 1:注销",
  29043. "type": "integer"
  29044. }
  29045. }
  29046. },
  29047. "models.QhjBrokerApply": {
  29048. "type": "object",
  29049. "properties": {
  29050. "applicantid": {
  29051. "description": "申请人",
  29052. "type": "integer"
  29053. },
  29054. "applysrc": {
  29055. "description": "申请来源 - 1:管理端 2:终端",
  29056. "type": "integer"
  29057. },
  29058. "applystatus": {
  29059. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  29060. "type": "integer"
  29061. },
  29062. "applytime": {
  29063. "description": "申请时间",
  29064. "type": "string"
  29065. },
  29066. "auditorid": {
  29067. "description": "审核人",
  29068. "type": "integer"
  29069. },
  29070. "auditremark": {
  29071. "description": "审核备注",
  29072. "type": "string"
  29073. },
  29074. "auditsrc": {
  29075. "description": "审核来源 - 1:管理端 2:终端",
  29076. "type": "integer"
  29077. },
  29078. "audittime": {
  29079. "description": "审核时间",
  29080. "type": "string"
  29081. },
  29082. "audittradedate": {
  29083. "description": "审核交易日(yyyyMMdd)",
  29084. "type": "string"
  29085. },
  29086. "brokerapplyid": {
  29087. "description": "申请ID(SEQ_BROKERAPPLY)",
  29088. "type": "integer"
  29089. },
  29090. "cardbackphotourl": {
  29091. "description": "证件背面图片地址",
  29092. "type": "string"
  29093. },
  29094. "cardfrontphotourl": {
  29095. "description": "证件正面图片地址",
  29096. "type": "string"
  29097. },
  29098. "cardnum": {
  29099. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  29100. "type": "string"
  29101. },
  29102. "customername": {
  29103. "description": "姓名",
  29104. "type": "string"
  29105. },
  29106. "logincode": {
  29107. "description": "登录代码",
  29108. "type": "string"
  29109. },
  29110. "mobile": {
  29111. "description": "手机号码",
  29112. "type": "string"
  29113. },
  29114. "parentuserid": {
  29115. "description": "所属机构id",
  29116. "type": "integer"
  29117. },
  29118. "parentusername": {
  29119. "description": "所属机构名称",
  29120. "type": "string"
  29121. },
  29122. "refereeuserid": {
  29123. "description": "推荐人id(经纪人)",
  29124. "type": "integer"
  29125. },
  29126. "refernum": {
  29127. "description": "推荐码",
  29128. "type": "string"
  29129. },
  29130. "remark": {
  29131. "description": "备注",
  29132. "type": "string"
  29133. },
  29134. "subarealevelpath": {
  29135. "description": "层级路径",
  29136. "type": "string"
  29137. },
  29138. "tradedate": {
  29139. "description": "交易日(yyyyMMdd)",
  29140. "type": "string"
  29141. },
  29142. "userid": {
  29143. "description": "申请人用户ID",
  29144. "type": "integer"
  29145. },
  29146. "userinfotype": {
  29147. "description": "用户类型 1-个人 2-企业",
  29148. "type": "integer"
  29149. },
  29150. "username": {
  29151. "description": "用户名称",
  29152. "type": "string"
  29153. }
  29154. }
  29155. },
  29156. "models.QhjBrokerApplyEx": {
  29157. "type": "object",
  29158. "properties": {
  29159. "applylist": {
  29160. "description": "经纪人申请记录(只返回最新一条)",
  29161. "type": "array",
  29162. "items": {
  29163. "$ref": "#/definitions/models.QhjBrokerApply"
  29164. }
  29165. },
  29166. "canrecommend": {
  29167. "description": "是否经纪人 0-不是 1-是",
  29168. "type": "integer"
  29169. },
  29170. "refernum": {
  29171. "description": "推荐码",
  29172. "type": "string"
  29173. },
  29174. "userid": {
  29175. "description": "用户id",
  29176. "type": "integer"
  29177. },
  29178. "userinfotype": {
  29179. "description": "用户类型 1-个人 2-企业",
  29180. "type": "integer"
  29181. }
  29182. }
  29183. },
  29184. "models.QhjBrokerRewardLog": {
  29185. "type": "object",
  29186. "properties": {
  29187. "accountid": {
  29188. "description": "资金账号ID",
  29189. "type": "integer"
  29190. },
  29191. "createtime": {
  29192. "description": "创建时间(时间)",
  29193. "type": "string"
  29194. },
  29195. "handlestatus": {
  29196. "description": "处理状态",
  29197. "type": "integer"
  29198. },
  29199. "logid": {
  29200. "description": "奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  29201. "type": "string"
  29202. },
  29203. "marketid": {
  29204. "description": "市场ID",
  29205. "type": "integer"
  29206. },
  29207. "mmaccountid": {
  29208. "description": "做市商资金账号ID",
  29209. "type": "string"
  29210. },
  29211. "mmuserid": {
  29212. "description": "做市商用户ID",
  29213. "type": "string"
  29214. },
  29215. "rewardamount": {
  29216. "description": "奖励金额",
  29217. "type": "number"
  29218. },
  29219. "rewardmodel": {
  29220. "description": "消费奖励方式 - 1:比率 2:固定",
  29221. "type": "integer"
  29222. },
  29223. "rewardtype": {
  29224. "description": "奖励类型 - 1:推广 2:消费1级 3:消费2级",
  29225. "type": "integer"
  29226. },
  29227. "rewardvalue": {
  29228. "description": "配置奖励值",
  29229. "type": "number"
  29230. },
  29231. "srcamount": {
  29232. "description": "成交金额 [消费奖励] (金额)",
  29233. "type": "number"
  29234. },
  29235. "srcgoodsid": {
  29236. "description": "来源商品ID [消费奖励]",
  29237. "type": "string"
  29238. },
  29239. "srctime": {
  29240. "description": "来源时间 (成交时间) [消费奖励]",
  29241. "type": "string"
  29242. },
  29243. "srctradeid": {
  29244. "description": "来源成交单ID [消费奖励] - 排除提货成交",
  29245. "type": "string"
  29246. },
  29247. "srcuserid": {
  29248. "description": "来源用户ID(推广账户)",
  29249. "type": "string"
  29250. },
  29251. "srcusername": {
  29252. "description": "推广账户名称",
  29253. "type": "string"
  29254. },
  29255. "tradedate": {
  29256. "description": "交易日(yyyyMMdd)",
  29257. "type": "string"
  29258. },
  29259. "userid": {
  29260. "description": "经纪人用户ID",
  29261. "type": "integer"
  29262. }
  29263. }
  29264. },
  29265. "models.QhjContract": {
  29266. "type": "object",
  29267. "properties": {
  29268. "contractconfirmtime": {
  29269. "description": "合同确认时间(时间)",
  29270. "type": "string"
  29271. },
  29272. "currisklevel": {
  29273. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  29274. "type": "integer"
  29275. },
  29276. "decimalplace": {
  29277. "description": "商品报价小数位",
  29278. "type": "integer"
  29279. },
  29280. "enumdicname": {
  29281. "description": "单位名称",
  29282. "type": "string"
  29283. },
  29284. "goodscode": {
  29285. "description": "商品代码",
  29286. "type": "string"
  29287. },
  29288. "goodsid": {
  29289. "description": "商品ID [5:融资单]",
  29290. "type": "integer"
  29291. },
  29292. "goodsname": {
  29293. "description": "商品名称",
  29294. "type": "string"
  29295. },
  29296. "goodunitid": {
  29297. "description": "商品单位id",
  29298. "type": "integer"
  29299. },
  29300. "initmargin": {
  29301. "description": "初始保证金(首付款)",
  29302. "type": "number"
  29303. },
  29304. "lenderamount": {
  29305. "description": "贷款金额(总额|订单总额)",
  29306. "type": "number"
  29307. },
  29308. "marginratio": {
  29309. "description": "保证金比率(首付比例)",
  29310. "type": "number"
  29311. },
  29312. "payamount": {
  29313. "description": "已付(已付货款)",
  29314. "type": "number"
  29315. },
  29316. "reckonrecovermargin": {
  29317. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  29318. "type": "number"
  29319. },
  29320. "recoveredmargin": {
  29321. "description": "已追缴保证金",
  29322. "type": "number"
  29323. },
  29324. "remainamount": {
  29325. "description": "合同剩余金额(融资额)",
  29326. "type": "number"
  29327. },
  29328. "scfcontractid": {
  29329. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  29330. "type": "string"
  29331. },
  29332. "scfcontractstatus": {
  29333. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  29334. "type": "integer"
  29335. },
  29336. "scfcontracttype": {
  29337. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  29338. "type": "integer"
  29339. },
  29340. "totalinterest": {
  29341. "description": "已计总利息(利息)",
  29342. "type": "number"
  29343. },
  29344. "tradeprice": {
  29345. "description": "成交价格(成本价格)",
  29346. "type": "number"
  29347. },
  29348. "userid": {
  29349. "description": "用户ID",
  29350. "type": "integer"
  29351. },
  29352. "username": {
  29353. "description": "用户名称",
  29354. "type": "string"
  29355. },
  29356. "wrqty": {
  29357. "description": "仓单数量(数量)",
  29358. "type": "number"
  29359. }
  29360. }
  29361. },
  29362. "models.QhjContractLog": {
  29363. "type": "object",
  29364. "properties": {
  29365. "amount": {
  29366. "description": "支付金额",
  29367. "type": "number"
  29368. },
  29369. "amounttype": {
  29370. "description": "资金类型 - 1:首付款 2:尾款 3:利息 4:追加款",
  29371. "type": "integer"
  29372. },
  29373. "logid": {
  29374. "description": "LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  29375. "type": "string"
  29376. },
  29377. "remainamount": {
  29378. "description": "剩余货款",
  29379. "type": "number"
  29380. },
  29381. "scfcontractid": {
  29382. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  29383. "type": "integer"
  29384. },
  29385. "updatetime": {
  29386. "description": "更新时间",
  29387. "type": "string"
  29388. }
  29389. }
  29390. },
  29391. "models.QhjCusBankSignBankEx": {
  29392. "type": "object",
  29393. "properties": {
  29394. "banklst": {
  29395. "description": "银行列表",
  29396. "type": "array",
  29397. "items": {
  29398. "$ref": "#/definitions/models.QhjBankInfo"
  29399. }
  29400. },
  29401. "canallot": {
  29402. "description": "是否支持跨行调拨 - 0:不支持 1:支持",
  29403. "type": "integer"
  29404. },
  29405. "canallotquery": {
  29406. "description": "是否支持跨行调拨查询 - 0:不支持 1:支持",
  29407. "type": "integer"
  29408. },
  29409. "canbindcard": {
  29410. "description": "是否可绑卡与解卡 - 0:不可 1:可以",
  29411. "type": "integer"
  29412. },
  29413. "caninamount": {
  29414. "description": "是否可入金 - 0:不可 1:可以",
  29415. "type": "integer"
  29416. },
  29417. "caninamount2": {
  29418. "description": "是否可入金(网银端) - 0:不可 1:可以",
  29419. "type": "integer"
  29420. },
  29421. "canmodifybankcard": {
  29422. "description": "是否可修改银行卡号 - 0:不可 1:可以",
  29423. "type": "integer"
  29424. },
  29425. "canmodifyphone": {
  29426. "description": "是否可修改手机号 - 0:不可 1:可以",
  29427. "type": "integer"
  29428. },
  29429. "canmodifysigninfo": {
  29430. "description": "是否可修改签约信息 - 0:不可 1:可以",
  29431. "type": "integer"
  29432. },
  29433. "canoutamount": {
  29434. "description": "是否可出金 - 0:不可 1:可以",
  29435. "type": "integer"
  29436. },
  29437. "canoutamount2": {
  29438. "description": "是否可出金(网银端) - 0:不可 1:可以",
  29439. "type": "integer"
  29440. },
  29441. "canrelease": {
  29442. "description": "是否可解约 - 0:不可 1:可以",
  29443. "type": "integer"
  29444. },
  29445. "canrelease2": {
  29446. "description": "是否可解约(网银端) - 0:不可 1:可以",
  29447. "type": "integer"
  29448. },
  29449. "cansign": {
  29450. "description": "是否可签约 - 0:不可 1:可以",
  29451. "type": "integer"
  29452. },
  29453. "cansign2": {
  29454. "description": "是否可签约(网银端) - 0:不可 1:可以",
  29455. "type": "integer"
  29456. },
  29457. "currency": {
  29458. "description": "币种",
  29459. "type": "string"
  29460. },
  29461. "cusbankid": {
  29462. "description": "托管银行编号(对应清算中心TRAN_NO)",
  29463. "type": "string"
  29464. },
  29465. "cusbankname": {
  29466. "description": "银行业务名称",
  29467. "type": "string"
  29468. },
  29469. "cusbankshortname": {
  29470. "description": "银行业务简称",
  29471. "type": "string"
  29472. },
  29473. "exchbankid": {
  29474. "description": "交易所开户银行ID",
  29475. "type": "string"
  29476. },
  29477. "exchpaybankaccname": {
  29478. "description": "交易所支出结算账户户名",
  29479. "type": "string"
  29480. },
  29481. "exchpaybankaccno": {
  29482. "description": "交易所支出结算账户",
  29483. "type": "string"
  29484. },
  29485. "isneedcheck": {
  29486. "description": "是否需要对账 - 0:需要 1:不需要 [不需要界面配置]",
  29487. "type": "integer"
  29488. },
  29489. "isneedclear": {
  29490. "description": "是否需要清算 - 0:不需要 1:需要",
  29491. "type": "integer"
  29492. },
  29493. "lastcheckstatus": {
  29494. "description": "最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败",
  29495. "type": "integer"
  29496. },
  29497. "lastchecktime": {
  29498. "description": "最后对账时间",
  29499. "type": "string"
  29500. },
  29501. "lastclearstatus": {
  29502. "description": "最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功",
  29503. "type": "integer"
  29504. },
  29505. "lastcleartime": {
  29506. "description": "最后清算时间",
  29507. "type": "string"
  29508. },
  29509. "lastsignintime": {
  29510. "description": "最后签到时间",
  29511. "type": "string"
  29512. },
  29513. "lastsignouttime": {
  29514. "description": "最后签退时间",
  29515. "type": "string"
  29516. },
  29517. "riskinfo": {
  29518. "description": "签约风险提示书",
  29519. "type": "string"
  29520. },
  29521. "signstatus": {
  29522. "description": "当前签到/签退状态 - 1:签到 2:签退",
  29523. "type": "integer"
  29524. },
  29525. "tradedate": {
  29526. "description": "交易日(yyyyMMdd)",
  29527. "type": "string"
  29528. },
  29529. "updatetime": {
  29530. "description": "当前签到/签退更新时间",
  29531. "type": "string"
  29532. }
  29533. }
  29534. },
  29535. "models.QhjCustomer": {
  29536. "type": "object",
  29537. "properties": {
  29538. "address": {
  29539. "description": "通讯地址",
  29540. "type": "string"
  29541. },
  29542. "attachment1": {
  29543. "description": "附件1",
  29544. "type": "string"
  29545. },
  29546. "attachment2": {
  29547. "description": "附件2",
  29548. "type": "string"
  29549. },
  29550. "audittime": {
  29551. "description": "审核时间",
  29552. "type": "string"
  29553. },
  29554. "cardbackphotourl": {
  29555. "description": "证件反面图片地址",
  29556. "type": "string"
  29557. },
  29558. "cardfrontphotourl": {
  29559. "description": "证件正面图片地址",
  29560. "type": "string"
  29561. },
  29562. "cardnum": {
  29563. "description": "证件号码",
  29564. "type": "string"
  29565. },
  29566. "cardtype": {
  29567. "description": "证件类型",
  29568. "type": "integer"
  29569. },
  29570. "cardtypename": {
  29571. "description": "证件类型名称",
  29572. "type": "string"
  29573. },
  29574. "cityid": {
  29575. "description": "市",
  29576. "type": "integer"
  29577. },
  29578. "cityname": {
  29579. "description": "城市名称",
  29580. "type": "string"
  29581. },
  29582. "contactname": {
  29583. "description": "联系人",
  29584. "type": "string"
  29585. },
  29586. "countryid": {
  29587. "description": "国家",
  29588. "type": "integer"
  29589. },
  29590. "countryname": {
  29591. "description": "国家名称",
  29592. "type": "string"
  29593. },
  29594. "createtime": {
  29595. "description": "创建时间",
  29596. "type": "string"
  29597. },
  29598. "customername": {
  29599. "description": "客户名称",
  29600. "type": "string"
  29601. },
  29602. "districtid": {
  29603. "description": "区域",
  29604. "type": "integer"
  29605. },
  29606. "districtname": {
  29607. "description": "地区名称",
  29608. "type": "string"
  29609. },
  29610. "email": {
  29611. "description": "邮件",
  29612. "type": "string"
  29613. },
  29614. "legalpersonname": {
  29615. "description": "法人姓名(企业)",
  29616. "type": "string"
  29617. },
  29618. "logincode": {
  29619. "description": "登录账号(代码)",
  29620. "type": "string"
  29621. },
  29622. "memberuserid": {
  29623. "description": "所属机构ID(所属会员)",
  29624. "type": "integer"
  29625. },
  29626. "memberusername": {
  29627. "description": "所属会员名称",
  29628. "type": "string"
  29629. },
  29630. "mobile": {
  29631. "description": "手机号码",
  29632. "type": "string"
  29633. },
  29634. "modifytime": {
  29635. "description": "修改时间",
  29636. "type": "string"
  29637. },
  29638. "nickname": {
  29639. "description": "昵称",
  29640. "type": "string"
  29641. },
  29642. "parentuserid": {
  29643. "description": "上级机构(所属机构)",
  29644. "type": "integer"
  29645. },
  29646. "parentusername": {
  29647. "description": "所属机构名称",
  29648. "type": "string"
  29649. },
  29650. "provinceid": {
  29651. "description": "省",
  29652. "type": "integer"
  29653. },
  29654. "provincename": {
  29655. "description": "省名称",
  29656. "type": "string"
  29657. },
  29658. "proxystatementurl": {
  29659. "description": "授权委托书",
  29660. "type": "string"
  29661. },
  29662. "remark": {
  29663. "description": "备注",
  29664. "type": "string"
  29665. },
  29666. "status": {
  29667. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  29668. "type": "integer"
  29669. },
  29670. "statusdesc": {
  29671. "description": "账户状态中文描述",
  29672. "type": "string"
  29673. },
  29674. "taxpayernum": {
  29675. "description": "纳税人识别号",
  29676. "type": "string"
  29677. },
  29678. "telphone": {
  29679. "description": "联系电话",
  29680. "type": "string"
  29681. },
  29682. "userid": {
  29683. "description": "用户ID",
  29684. "type": "integer"
  29685. },
  29686. "userinfotype": {
  29687. "description": "客户类型 1-个人 2-企业",
  29688. "type": "integer"
  29689. },
  29690. "username": {
  29691. "description": "用户名称",
  29692. "type": "string"
  29693. }
  29694. }
  29695. },
  29696. "models.QhjCustomerSignLog": {
  29697. "type": "object",
  29698. "properties": {
  29699. "agreementcontent": {
  29700. "description": "协议内容",
  29701. "type": "string"
  29702. },
  29703. "agreementid": {
  29704. "description": "协议ID",
  29705. "type": "integer"
  29706. },
  29707. "agreementname": {
  29708. "description": "协议名称",
  29709. "type": "string"
  29710. },
  29711. "agreementno": {
  29712. "description": "协议编号",
  29713. "type": "string"
  29714. },
  29715. "agreementtype": {
  29716. "description": "协议类型 - 1:注册 2:登录 3:交易",
  29717. "type": "integer"
  29718. },
  29719. "agreementversion": {
  29720. "description": "协议版本号",
  29721. "type": "integer"
  29722. },
  29723. "createtime": {
  29724. "description": "创建时间",
  29725. "type": "string"
  29726. },
  29727. "goodscode": {
  29728. "description": "商品代码",
  29729. "type": "string"
  29730. },
  29731. "goodsid": {
  29732. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  29733. "type": "integer"
  29734. },
  29735. "goodsname": {
  29736. "description": "商品名称",
  29737. "type": "string"
  29738. },
  29739. "logid": {
  29740. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  29741. "type": "integer"
  29742. },
  29743. "nodetype": {
  29744. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  29745. "type": "integer"
  29746. },
  29747. "signadressurl": {
  29748. "description": "签约文件地址",
  29749. "type": "string"
  29750. },
  29751. "signtimestamp": {
  29752. "description": "签约状态时间戳",
  29753. "type": "string"
  29754. },
  29755. "userid": {
  29756. "description": "客户ID",
  29757. "type": "integer"
  29758. },
  29759. "username": {
  29760. "description": "客户名称",
  29761. "type": "string"
  29762. }
  29763. }
  29764. },
  29765. "models.QhjCustomerSignStatus": {
  29766. "type": "object",
  29767. "properties": {
  29768. "createtime": {
  29769. "description": "创建时间",
  29770. "type": "string"
  29771. },
  29772. "goodscode": {
  29773. "description": "商品代码",
  29774. "type": "string"
  29775. },
  29776. "goodsid": {
  29777. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  29778. "type": "integer"
  29779. },
  29780. "goodsname": {
  29781. "description": "商品名称",
  29782. "type": "string"
  29783. },
  29784. "nodetype": {
  29785. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  29786. "type": "integer"
  29787. },
  29788. "signtimestamp": {
  29789. "description": "签约状态时间戳",
  29790. "type": "string"
  29791. },
  29792. "tradedate": {
  29793. "description": "创建交易日(yyyyMMdd)",
  29794. "type": "string"
  29795. },
  29796. "updatetime": {
  29797. "description": "更新时间",
  29798. "type": "string"
  29799. },
  29800. "userid": {
  29801. "description": "客户ID",
  29802. "type": "integer"
  29803. },
  29804. "username": {
  29805. "description": "客户名称",
  29806. "type": "string"
  29807. }
  29808. }
  29809. },
  29810. "models.QhjMgrAccountOutInApply": {
  29811. "type": "object",
  29812. "properties": {
  29813. "accountcode": {
  29814. "description": "资金账号",
  29815. "type": "string"
  29816. },
  29817. "accountname": {
  29818. "description": "用户名称(名称)",
  29819. "type": "string"
  29820. },
  29821. "accountpwd": {
  29822. "description": "资金密码",
  29823. "type": "string"
  29824. },
  29825. "accountticket": {
  29826. "description": "最新账户服务流水号",
  29827. "type": "string"
  29828. },
  29829. "amount": {
  29830. "description": "金额",
  29831. "type": "number"
  29832. },
  29833. "applyremark": {
  29834. "description": "申请备注",
  29835. "type": "string"
  29836. },
  29837. "applystatus": {
  29838. "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: 复审通过,账户冻结金额检查中;",
  29839. "type": "integer"
  29840. },
  29841. "auditid": {
  29842. "description": "审核人",
  29843. "type": "integer"
  29844. },
  29845. "audittime": {
  29846. "description": "审核时间",
  29847. "type": "string"
  29848. },
  29849. "bank_apply_ticket": {
  29850. "description": "银行申请流水",
  29851. "type": "string"
  29852. },
  29853. "bankaccountname": {
  29854. "description": "银行账户名",
  29855. "type": "string"
  29856. },
  29857. "bankaccountno": {
  29858. "description": "银行卡号",
  29859. "type": "string"
  29860. },
  29861. "bankid": {
  29862. "description": "银行编号",
  29863. "type": "string"
  29864. },
  29865. "bankname": {
  29866. "description": "银行名称",
  29867. "type": "string"
  29868. },
  29869. "bankticket": {
  29870. "description": "银行流水",
  29871. "type": "string"
  29872. },
  29873. "branchbankid": {
  29874. "description": "银行支行号",
  29875. "type": "string"
  29876. },
  29877. "branchbankname": {
  29878. "description": "银行支行名称",
  29879. "type": "string"
  29880. },
  29881. "capamountout": {
  29882. "description": "出金(劣后本金) - 外部子账户",
  29883. "type": "number"
  29884. },
  29885. "certificatephotourl": {
  29886. "description": "凭证地址",
  29887. "type": "string"
  29888. },
  29889. "charge": {
  29890. "description": "手续费",
  29891. "type": "number"
  29892. },
  29893. "checkerrorflag": {
  29894. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  29895. "type": "integer"
  29896. },
  29897. "currency": {
  29898. "description": "币种",
  29899. "type": "string"
  29900. },
  29901. "cusbankid": {
  29902. "description": "托管银行编号",
  29903. "type": "string"
  29904. },
  29905. "exchticket": {
  29906. "description": "银行服务流水号",
  29907. "type": "string"
  29908. },
  29909. "executetype": {
  29910. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  29911. "type": "integer"
  29912. },
  29913. "extendinfo": {
  29914. "description": "扩展信息",
  29915. "type": "string"
  29916. },
  29917. "extoperateid": {
  29918. "description": "交易服务流水号",
  29919. "type": "integer"
  29920. },
  29921. "infamount": {
  29922. "description": "劣后金额(自有)",
  29923. "type": "number"
  29924. },
  29925. "logincode": {
  29926. "description": "登录账号(账号)",
  29927. "type": "string"
  29928. },
  29929. "netaddr": {
  29930. "description": "调转网址",
  29931. "type": "string"
  29932. },
  29933. "priamount": {
  29934. "description": "优先金额(授信)",
  29935. "type": "number"
  29936. },
  29937. "reauditid": {
  29938. "description": "复审人",
  29939. "type": "integer"
  29940. },
  29941. "reauditremark": {
  29942. "description": "复审备注",
  29943. "type": "string"
  29944. },
  29945. "reaudittime": {
  29946. "description": "复审时间",
  29947. "type": "string"
  29948. },
  29949. "relatedorderid": {
  29950. "description": "三方关联ID",
  29951. "type": "string"
  29952. },
  29953. "remark": {
  29954. "description": "备注",
  29955. "type": "string"
  29956. },
  29957. "remark2": {
  29958. "description": "备注(失败原因)",
  29959. "type": "string"
  29960. },
  29961. "soucreamount": {
  29962. "description": "原始出入金金额",
  29963. "type": "number"
  29964. },
  29965. "soucrecurrencyid": {
  29966. "description": "原始出入金币种",
  29967. "type": "integer"
  29968. },
  29969. "tradedate": {
  29970. "description": "交易日(yyyyMMdd)",
  29971. "type": "string"
  29972. },
  29973. "updatetime": {
  29974. "description": "更新时间(申请时间)",
  29975. "type": "string"
  29976. },
  29977. "userid": {
  29978. "description": "用户id",
  29979. "type": "integer"
  29980. },
  29981. "userinfotype": {
  29982. "description": "账户类型 1-个人 2-企业",
  29983. "type": "integer"
  29984. }
  29985. }
  29986. },
  29987. "models.QhjMgrBrokerApply": {
  29988. "type": "object",
  29989. "properties": {
  29990. "applicantid": {
  29991. "description": "申请人",
  29992. "type": "integer"
  29993. },
  29994. "applysrc": {
  29995. "description": "申请来源 - 1:管理端 2:终端",
  29996. "type": "integer"
  29997. },
  29998. "applystatus": {
  29999. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  30000. "type": "integer"
  30001. },
  30002. "applytime": {
  30003. "description": "申请时间",
  30004. "type": "string"
  30005. },
  30006. "auditorid": {
  30007. "description": "审核人",
  30008. "type": "integer"
  30009. },
  30010. "auditremark": {
  30011. "description": "审核备注",
  30012. "type": "string"
  30013. },
  30014. "auditsrc": {
  30015. "description": "审核来源 - 1:管理端 2:终端",
  30016. "type": "integer"
  30017. },
  30018. "audittime": {
  30019. "description": "审核时间",
  30020. "type": "string"
  30021. },
  30022. "audittradedate": {
  30023. "description": "审核交易日(yyyyMMdd)",
  30024. "type": "string"
  30025. },
  30026. "brokerapplyid": {
  30027. "description": "申请ID(SEQ_BROKERAPPLY)",
  30028. "type": "integer"
  30029. },
  30030. "cardbackphotourl": {
  30031. "description": "证件背面图片地址",
  30032. "type": "string"
  30033. },
  30034. "cardfrontphotourl": {
  30035. "description": "证件正面图片地址",
  30036. "type": "string"
  30037. },
  30038. "cardnum": {
  30039. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  30040. "type": "string"
  30041. },
  30042. "customername": {
  30043. "description": "姓名",
  30044. "type": "string"
  30045. },
  30046. "filterstatus": {
  30047. "description": "筛选条件",
  30048. "type": "string"
  30049. },
  30050. "logincode": {
  30051. "description": "登录代码",
  30052. "type": "string"
  30053. },
  30054. "mobile": {
  30055. "description": "手机号码",
  30056. "type": "string"
  30057. },
  30058. "parentuserid": {
  30059. "description": "所属机构id",
  30060. "type": "integer"
  30061. },
  30062. "parentusername": {
  30063. "description": "所属机构名称",
  30064. "type": "string"
  30065. },
  30066. "refereeuserid": {
  30067. "description": "推荐人id(经纪人)",
  30068. "type": "integer"
  30069. },
  30070. "refernum": {
  30071. "description": "推荐码",
  30072. "type": "string"
  30073. },
  30074. "remark": {
  30075. "description": "备注",
  30076. "type": "string"
  30077. },
  30078. "subarealevelpath": {
  30079. "description": "层级路径",
  30080. "type": "string"
  30081. },
  30082. "tradedate": {
  30083. "description": "交易日(yyyyMMdd)",
  30084. "type": "string"
  30085. },
  30086. "userid": {
  30087. "description": "申请人用户ID",
  30088. "type": "integer"
  30089. },
  30090. "userinfotype": {
  30091. "description": "用户类型 1-个人 2-企业",
  30092. "type": "integer"
  30093. },
  30094. "username": {
  30095. "description": "用户名称",
  30096. "type": "string"
  30097. }
  30098. }
  30099. },
  30100. "models.QhjMgrBrokerRewardReport": {
  30101. "type": "object",
  30102. "properties": {
  30103. "createtime": {
  30104. "description": "创建时间(注册时间)",
  30105. "type": "string"
  30106. },
  30107. "cycletime": {
  30108. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】",
  30109. "type": "string"
  30110. },
  30111. "cycletype": {
  30112. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  30113. "type": "integer"
  30114. },
  30115. "directtotalnum": {
  30116. "description": "直推总人数【期末】",
  30117. "type": "integer"
  30118. },
  30119. "indirecttotalnum": {
  30120. "description": "间推总人数【期末】",
  30121. "type": "integer"
  30122. },
  30123. "mobile": {
  30124. "description": "电话号码",
  30125. "type": "string"
  30126. },
  30127. "refereeuserid": {
  30128. "description": "推荐人id(经纪人id)",
  30129. "type": "integer"
  30130. },
  30131. "refereeusername": {
  30132. "description": "推荐人名称(经纪人) 上级经纪人名称",
  30133. "type": "string"
  30134. },
  30135. "refernum": {
  30136. "description": "推荐码",
  30137. "type": "string"
  30138. },
  30139. "subarealevelpath": {
  30140. "description": "用户层级路径",
  30141. "type": "string"
  30142. },
  30143. "todayrewardamount": {
  30144. "description": "奖励总金额【汇总】",
  30145. "type": "number"
  30146. },
  30147. "updatetime": {
  30148. "description": "更新时间",
  30149. "type": "string"
  30150. },
  30151. "userid": {
  30152. "description": "经纪人用户ID",
  30153. "type": "integer"
  30154. },
  30155. "userinfotype": {
  30156. "description": "用户类型 1-个人 2-企业",
  30157. "type": "integer"
  30158. },
  30159. "username": {
  30160. "description": "用户名称",
  30161. "type": "string"
  30162. }
  30163. }
  30164. },
  30165. "models.QhjMgrContract": {
  30166. "type": "object",
  30167. "properties": {
  30168. "contractconfirmtime": {
  30169. "description": "合同确认时间(时间)",
  30170. "type": "string"
  30171. },
  30172. "currisklevel": {
  30173. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  30174. "type": "integer"
  30175. },
  30176. "decimalplace": {
  30177. "description": "商品报价小数位",
  30178. "type": "integer"
  30179. },
  30180. "enumdicname": {
  30181. "description": "单位名称",
  30182. "type": "string"
  30183. },
  30184. "goodscode": {
  30185. "description": "商品代码",
  30186. "type": "string"
  30187. },
  30188. "goodsid": {
  30189. "description": "商品ID [5:融资单]",
  30190. "type": "integer"
  30191. },
  30192. "goodsname": {
  30193. "description": "商品名称",
  30194. "type": "string"
  30195. },
  30196. "goodunitid": {
  30197. "description": "商品单位id",
  30198. "type": "integer"
  30199. },
  30200. "initmargin": {
  30201. "description": "初始保证金(首付款)",
  30202. "type": "number"
  30203. },
  30204. "lenderamount": {
  30205. "description": "贷款金额(总额|订单总额)",
  30206. "type": "number"
  30207. },
  30208. "logincode": {
  30209. "description": "账号(登录代码)",
  30210. "type": "string"
  30211. },
  30212. "marginratio": {
  30213. "description": "保证金比率(首付比例)",
  30214. "type": "number"
  30215. },
  30216. "mobile": {
  30217. "description": "电话号码(用户资料里的电话)",
  30218. "type": "string"
  30219. },
  30220. "payamount": {
  30221. "description": "已付(已付货款)",
  30222. "type": "number"
  30223. },
  30224. "reckonrecovermargin": {
  30225. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  30226. "type": "number"
  30227. },
  30228. "recoveredmargin": {
  30229. "description": "已追缴保证金",
  30230. "type": "number"
  30231. },
  30232. "remainamount": {
  30233. "description": "合同剩余金额(融资额)",
  30234. "type": "number"
  30235. },
  30236. "scfcontractid": {
  30237. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  30238. "type": "string"
  30239. },
  30240. "scfcontractstatus": {
  30241. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  30242. "type": "integer"
  30243. },
  30244. "scfcontracttype": {
  30245. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  30246. "type": "integer"
  30247. },
  30248. "totalinterest": {
  30249. "description": "已计总利息(利息)",
  30250. "type": "number"
  30251. },
  30252. "tradedate": {
  30253. "description": "交易日",
  30254. "type": "string"
  30255. },
  30256. "tradeprice": {
  30257. "description": "成交价格(成本价格)",
  30258. "type": "number"
  30259. },
  30260. "userid": {
  30261. "description": "用户ID",
  30262. "type": "integer"
  30263. },
  30264. "userinfotype": {
  30265. "description": "用户类型 1-个人 2-企业",
  30266. "type": "integer"
  30267. },
  30268. "username": {
  30269. "description": "用户名称",
  30270. "type": "string"
  30271. },
  30272. "wrqty": {
  30273. "description": "仓单数量(数量)",
  30274. "type": "number"
  30275. }
  30276. }
  30277. },
  30278. "models.QhjMgrCustomer": {
  30279. "type": "object",
  30280. "properties": {
  30281. "address": {
  30282. "description": "通讯地址",
  30283. "type": "string"
  30284. },
  30285. "attachment1": {
  30286. "description": "附件1",
  30287. "type": "string"
  30288. },
  30289. "audittime": {
  30290. "description": "审核时间",
  30291. "type": "string"
  30292. },
  30293. "birthday": {
  30294. "description": "生日",
  30295. "type": "string"
  30296. },
  30297. "brokerid": {
  30298. "description": "所属客户经理id",
  30299. "type": "integer"
  30300. },
  30301. "brokername": {
  30302. "description": "所属客户经理名称",
  30303. "type": "string"
  30304. },
  30305. "cardbackphotourl": {
  30306. "description": "证件反面图片地址",
  30307. "type": "string"
  30308. },
  30309. "cardfrontphotourl": {
  30310. "description": "证件正面图片地址",
  30311. "type": "string"
  30312. },
  30313. "cardnum": {
  30314. "description": "证件号码",
  30315. "type": "string"
  30316. },
  30317. "cardtype": {
  30318. "description": "证件类型",
  30319. "type": "integer"
  30320. },
  30321. "cardtypename": {
  30322. "description": "证件类型名称",
  30323. "type": "string"
  30324. },
  30325. "cityid": {
  30326. "description": "市",
  30327. "type": "integer"
  30328. },
  30329. "cityname": {
  30330. "description": "城市名称",
  30331. "type": "string"
  30332. },
  30333. "contactname": {
  30334. "description": "联系人",
  30335. "type": "string"
  30336. },
  30337. "countryid": {
  30338. "description": "国家",
  30339. "type": "integer"
  30340. },
  30341. "countryname": {
  30342. "description": "国家名称",
  30343. "type": "string"
  30344. },
  30345. "createtime": {
  30346. "description": "创建时间",
  30347. "type": "string"
  30348. },
  30349. "customername": {
  30350. "description": "客户名称",
  30351. "type": "string"
  30352. },
  30353. "districtid": {
  30354. "description": "区域",
  30355. "type": "integer"
  30356. },
  30357. "districtname": {
  30358. "description": "地区名称",
  30359. "type": "string"
  30360. },
  30361. "email": {
  30362. "description": "邮件",
  30363. "type": "string"
  30364. },
  30365. "legalpersonname": {
  30366. "description": "法人姓名(企业)",
  30367. "type": "string"
  30368. },
  30369. "logincode": {
  30370. "description": "登录账号(代码)",
  30371. "type": "string"
  30372. },
  30373. "memberuserid": {
  30374. "description": "所属机构ID(所属会员)",
  30375. "type": "integer"
  30376. },
  30377. "memberusername": {
  30378. "description": "所属会员名称",
  30379. "type": "string"
  30380. },
  30381. "mobile": {
  30382. "description": "手机号码",
  30383. "type": "string"
  30384. },
  30385. "modifytime": {
  30386. "description": "修改时间",
  30387. "type": "string"
  30388. },
  30389. "nickname": {
  30390. "description": "昵称",
  30391. "type": "string"
  30392. },
  30393. "parentuserid": {
  30394. "description": "上级机构(所属机构)",
  30395. "type": "integer"
  30396. },
  30397. "parentusername": {
  30398. "description": "所属机构名称",
  30399. "type": "string"
  30400. },
  30401. "provinceid": {
  30402. "description": "省",
  30403. "type": "integer"
  30404. },
  30405. "provincename": {
  30406. "description": "省名称",
  30407. "type": "string"
  30408. },
  30409. "proxystatementurl": {
  30410. "description": "授权委托书",
  30411. "type": "string"
  30412. },
  30413. "querytype": {
  30414. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  30415. "type": "integer"
  30416. },
  30417. "remark": {
  30418. "description": "备注",
  30419. "type": "string"
  30420. },
  30421. "sex": {
  30422. "description": "性别 0-女 1-男",
  30423. "type": "integer"
  30424. },
  30425. "status": {
  30426. "description": "开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过 ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  30427. "type": "integer"
  30428. },
  30429. "statusdesc": {
  30430. "description": "账户状态中文描述",
  30431. "type": "string"
  30432. },
  30433. "taxpayernum": {
  30434. "description": "纳税人识别号",
  30435. "type": "string"
  30436. },
  30437. "telphone": {
  30438. "description": "联系电话",
  30439. "type": "string"
  30440. },
  30441. "userid": {
  30442. "description": "用户ID",
  30443. "type": "integer"
  30444. },
  30445. "userinfotype": {
  30446. "description": "客户类型 1-个人 2-企业",
  30447. "type": "integer"
  30448. },
  30449. "username": {
  30450. "description": "用户名称",
  30451. "type": "string"
  30452. }
  30453. }
  30454. },
  30455. "models.QhjMgrPickGoods": {
  30456. "type": "object",
  30457. "properties": {
  30458. "enumdicname": {
  30459. "description": "单位名称(提货商品)",
  30460. "type": "string"
  30461. },
  30462. "goodsid": {
  30463. "description": "商品id",
  30464. "type": "integer"
  30465. },
  30466. "imageaddress": {
  30467. "description": "图片",
  30468. "type": "string"
  30469. },
  30470. "modifierid": {
  30471. "description": "修改人",
  30472. "type": "integer"
  30473. },
  30474. "modifiername": {
  30475. "description": "修改人名称",
  30476. "type": "string"
  30477. },
  30478. "modifysrc": {
  30479. "description": "修改来源 - 1:管理端 2:终端",
  30480. "type": "integer"
  30481. },
  30482. "pickupgoodsagreeunit": {
  30483. "description": "合约乘数",
  30484. "type": "number"
  30485. },
  30486. "pickupgoodsdesc": {
  30487. "description": "描述",
  30488. "type": "string"
  30489. },
  30490. "pickupgoodsid": {
  30491. "description": "提货商品ID",
  30492. "type": "string"
  30493. },
  30494. "pickupgoodsname": {
  30495. "description": "提货商品名称",
  30496. "type": "string"
  30497. },
  30498. "pickupgoodsstatus": {
  30499. "description": "状态 - 1:正常 2:停用 3:注销",
  30500. "type": "integer"
  30501. },
  30502. "pickupgoodsunitid": {
  30503. "description": "单位ID",
  30504. "type": "integer"
  30505. },
  30506. "pickupratio": {
  30507. "description": "提货系数",
  30508. "type": "number"
  30509. },
  30510. "preparedays": {
  30511. "description": "备货期(天)",
  30512. "type": "integer"
  30513. },
  30514. "remark": {
  30515. "description": "备注",
  30516. "type": "string"
  30517. },
  30518. "updatetime": {
  30519. "description": "更新时间",
  30520. "type": "string"
  30521. }
  30522. }
  30523. },
  30524. "models.QhjMgrPositionRsp": {
  30525. "type": "object",
  30526. "properties": {
  30527. "accountid": {
  30528. "description": "账号Id",
  30529. "type": "integer"
  30530. },
  30531. "accountname": {
  30532. "description": "用户名称",
  30533. "type": "string"
  30534. },
  30535. "agreeunit": {
  30536. "description": "合约乘数",
  30537. "type": "number"
  30538. },
  30539. "averageprice": {
  30540. "description": "均价",
  30541. "type": "number"
  30542. },
  30543. "avialqty": {
  30544. "description": "可用数量",
  30545. "type": "number"
  30546. },
  30547. "decimalplace": {
  30548. "description": "报价小数位",
  30549. "type": "integer"
  30550. },
  30551. "enumdicname": {
  30552. "description": "单位名称(商品)",
  30553. "type": "string"
  30554. },
  30555. "frozenqty": {
  30556. "description": "冻结数量",
  30557. "type": "number"
  30558. },
  30559. "goodscode": {
  30560. "description": "商品代码(内部)",
  30561. "type": "string"
  30562. },
  30563. "goodsid": {
  30564. "description": "商品Id",
  30565. "type": "integer"
  30566. },
  30567. "goodsname": {
  30568. "description": "商品名称",
  30569. "type": "string"
  30570. },
  30571. "goodunitid": {
  30572. "description": "报价单位ID",
  30573. "type": "integer"
  30574. },
  30575. "holderamount": {
  30576. "description": "金额",
  30577. "type": "number"
  30578. },
  30579. "holderqty": {
  30580. "description": "持有数量",
  30581. "type": "number"
  30582. },
  30583. "holdertype": {
  30584. "description": "持仓类别 - 1:单边持仓 2:双边持仓",
  30585. "type": "integer"
  30586. },
  30587. "logincode": {
  30588. "description": "登录代码(账户)",
  30589. "type": "string"
  30590. },
  30591. "marketid": {
  30592. "description": "市场id",
  30593. "type": "integer"
  30594. },
  30595. "qtydecimalplace": {
  30596. "description": "成交量小数位",
  30597. "type": "integer"
  30598. },
  30599. "trademode": {
  30600. "description": "交易模式",
  30601. "type": "integer"
  30602. },
  30603. "userid": {
  30604. "description": "用户id",
  30605. "type": "integer"
  30606. },
  30607. "userinfotype": {
  30608. "description": "账户类型 1-个人 2-企业",
  30609. "type": "integer"
  30610. }
  30611. }
  30612. },
  30613. "models.QhjMgrSubArea": {
  30614. "type": "object",
  30615. "properties": {
  30616. "accountname": {
  30617. "description": "账户名称(机构名称)",
  30618. "type": "string"
  30619. },
  30620. "memberuserid": {
  30621. "description": "所属会员ID",
  30622. "type": "integer"
  30623. },
  30624. "parenttopuser": {
  30625. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  30626. "type": "string"
  30627. },
  30628. "parentuserid": {
  30629. "description": "所属机构ID",
  30630. "type": "integer"
  30631. },
  30632. "rootuserid": {
  30633. "description": "根用户ID",
  30634. "type": "string"
  30635. },
  30636. "subaccountlevel": {
  30637. "description": "子账户层数",
  30638. "type": "integer"
  30639. },
  30640. "subarealevelpath": {
  30641. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  30642. "type": "string"
  30643. },
  30644. "userid": {
  30645. "description": "用户ID",
  30646. "type": "integer"
  30647. },
  30648. "usertype": {
  30649. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  30650. "type": "integer"
  30651. }
  30652. }
  30653. },
  30654. "models.QhjMgrTradeDetailRsp": {
  30655. "type": "object",
  30656. "properties": {
  30657. "accountid": {
  30658. "description": "资金账号",
  30659. "type": "integer"
  30660. },
  30661. "accountname": {
  30662. "description": "用户名称",
  30663. "type": "string"
  30664. },
  30665. "agreeunit": {
  30666. "description": "合约乘数",
  30667. "type": "number"
  30668. },
  30669. "buyorsell": {
  30670. "description": "成交类型(方向) 0:买 1:卖",
  30671. "type": "integer"
  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. "logincode": {
  30698. "description": "登录代码(账户)",
  30699. "type": "string"
  30700. },
  30701. "marketid": {
  30702. "description": "市场id",
  30703. "type": "integer"
  30704. },
  30705. "orderid": {
  30706. "description": "关联委托单号",
  30707. "type": "string"
  30708. },
  30709. "qtydecimalplace": {
  30710. "description": "成交量小数位",
  30711. "type": "integer"
  30712. },
  30713. "tradeamount": {
  30714. "description": "金额",
  30715. "type": "number"
  30716. },
  30717. "tradedate": {
  30718. "description": "交易日",
  30719. "type": "string"
  30720. },
  30721. "tradeid": {
  30722. "description": "成交单号",
  30723. "type": "string"
  30724. },
  30725. "trademode": {
  30726. "description": "交易模式",
  30727. "type": "integer"
  30728. },
  30729. "tradeprice": {
  30730. "description": "价格",
  30731. "type": "number"
  30732. },
  30733. "tradeqty": {
  30734. "description": "数量",
  30735. "type": "number"
  30736. },
  30737. "tradetime": {
  30738. "description": "成交时间",
  30739. "type": "string"
  30740. },
  30741. "userid": {
  30742. "description": "用户id",
  30743. "type": "integer"
  30744. },
  30745. "userinfotype": {
  30746. "description": "账户类型 1-个人 2-企业",
  30747. "type": "integer"
  30748. }
  30749. }
  30750. },
  30751. "models.QhjMgrTradeOrderDetailRsp": {
  30752. "type": "object",
  30753. "properties": {
  30754. "accountid": {
  30755. "description": "资金账号",
  30756. "type": "integer"
  30757. },
  30758. "accountname": {
  30759. "description": "用户名称",
  30760. "type": "string"
  30761. },
  30762. "agreeunit": {
  30763. "description": "合约乘数",
  30764. "type": "number"
  30765. },
  30766. "amount": {
  30767. "description": "金额",
  30768. "type": "number"
  30769. },
  30770. "decimalplace": {
  30771. "description": "报价小数位",
  30772. "type": "integer"
  30773. },
  30774. "enumdicname": {
  30775. "description": "单位名称(商品)",
  30776. "type": "string"
  30777. },
  30778. "goodscode": {
  30779. "description": "商品代码(内部)",
  30780. "type": "string"
  30781. },
  30782. "goodsid": {
  30783. "description": "商品id",
  30784. "type": "integer"
  30785. },
  30786. "goodsname": {
  30787. "description": "商品名称",
  30788. "type": "string"
  30789. },
  30790. "goodunitid": {
  30791. "description": "报价单位ID",
  30792. "type": "integer"
  30793. },
  30794. "logincode": {
  30795. "description": "登录代码(账户)",
  30796. "type": "string"
  30797. },
  30798. "marketid": {
  30799. "description": "市场id",
  30800. "type": "integer"
  30801. },
  30802. "orderid": {
  30803. "description": "关联委托单号",
  30804. "type": "string"
  30805. },
  30806. "orderprice": {
  30807. "description": "价格",
  30808. "type": "number"
  30809. },
  30810. "orderqty": {
  30811. "description": "数量",
  30812. "type": "number"
  30813. },
  30814. "orderstatus": {
  30815. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  30816. "type": "integer"
  30817. },
  30818. "ordertime": {
  30819. "description": "委托时间",
  30820. "type": "string"
  30821. },
  30822. "qtydecimalplace": {
  30823. "description": "成交量小数位",
  30824. "type": "integer"
  30825. },
  30826. "tradedate": {
  30827. "description": "交易日",
  30828. "type": "string"
  30829. },
  30830. "trademode": {
  30831. "description": "交易模式",
  30832. "type": "integer"
  30833. },
  30834. "userid": {
  30835. "description": "用户id",
  30836. "type": "integer"
  30837. },
  30838. "userinfotype": {
  30839. "description": "账户类型 1-个人 2-企业",
  30840. "type": "integer"
  30841. }
  30842. }
  30843. },
  30844. "models.QhjMgrTradePayOrder": {
  30845. "type": "object",
  30846. "properties": {
  30847. "accountname": {
  30848. "description": "用户名称",
  30849. "type": "string"
  30850. },
  30851. "advanceratio": {
  30852. "description": "首付比率",
  30853. "type": "number"
  30854. },
  30855. "agreeunit": {
  30856. "description": "合约乘数",
  30857. "type": "number"
  30858. },
  30859. "buyaccountid": {
  30860. "description": "买方账号ID[报价币种]",
  30861. "type": "integer"
  30862. },
  30863. "buyorderid": {
  30864. "description": "买方委托单号(关联单号)",
  30865. "type": "string"
  30866. },
  30867. "createtime": {
  30868. "description": "创建时间",
  30869. "type": "string"
  30870. },
  30871. "decimalplace": {
  30872. "description": "报价小数位",
  30873. "type": "integer"
  30874. },
  30875. "enumdicname": {
  30876. "description": "单位名称(商品)",
  30877. "type": "string"
  30878. },
  30879. "goodscode": {
  30880. "description": "商品代码(内部)",
  30881. "type": "string"
  30882. },
  30883. "goodsid": {
  30884. "description": "商品ID",
  30885. "type": "integer"
  30886. },
  30887. "goodsname": {
  30888. "description": "商品名称",
  30889. "type": "string"
  30890. },
  30891. "goodunitid": {
  30892. "description": "报价单位ID",
  30893. "type": "integer"
  30894. },
  30895. "logincode": {
  30896. "description": "登录代码(账户)",
  30897. "type": "string"
  30898. },
  30899. "marketid": {
  30900. "description": "市场id",
  30901. "type": "integer"
  30902. },
  30903. "offamount": {
  30904. "description": "优惠金额",
  30905. "type": "number"
  30906. },
  30907. "operatetype": {
  30908. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  30909. "type": "integer"
  30910. },
  30911. "payamount": {
  30912. "description": "支付金额(金额)",
  30913. "type": "number"
  30914. },
  30915. "payflag": {
  30916. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  30917. "type": "integer"
  30918. },
  30919. "paylimitedtime": {
  30920. "description": "支付期限",
  30921. "type": "string"
  30922. },
  30923. "paytime": {
  30924. "description": "付款时间",
  30925. "type": "string"
  30926. },
  30927. "qtydecimalplace": {
  30928. "description": "成交量小数位",
  30929. "type": "integer"
  30930. },
  30931. "sellaccountid": {
  30932. "description": "卖方账号ID[报价币种]",
  30933. "type": "integer"
  30934. },
  30935. "sellorderid": {
  30936. "description": "卖方委托单号",
  30937. "type": "string"
  30938. },
  30939. "tradeamount": {
  30940. "description": "成交金额(优惠后金额)",
  30941. "type": "number"
  30942. },
  30943. "tradecharge": {
  30944. "description": "成交手续费(买方)",
  30945. "type": "number"
  30946. },
  30947. "tradedate": {
  30948. "description": "交易日(yyyyMMdd)",
  30949. "type": "string"
  30950. },
  30951. "tradeid": {
  30952. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  30953. "type": "string"
  30954. },
  30955. "trademode": {
  30956. "description": "交易模式",
  30957. "type": "integer"
  30958. },
  30959. "tradeprice": {
  30960. "description": "成交价格(价格)",
  30961. "type": "number"
  30962. },
  30963. "tradeqty": {
  30964. "description": "成交数量(数量)",
  30965. "type": "number"
  30966. },
  30967. "tradetime": {
  30968. "description": "成交时间",
  30969. "type": "string"
  30970. },
  30971. "userid": {
  30972. "description": "用户id",
  30973. "type": "integer"
  30974. },
  30975. "userinfotype": {
  30976. "description": "账户类型 1-个人 2-企业",
  30977. "type": "integer"
  30978. }
  30979. }
  30980. },
  30981. "models.QhjMyTeamEx": {
  30982. "type": "object",
  30983. "properties": {
  30984. "accountname": {
  30985. "description": "用户名称",
  30986. "type": "string"
  30987. },
  30988. "accountstatus": {
  30989. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  30990. "type": "integer"
  30991. },
  30992. "createtime": {
  30993. "description": "创建时间",
  30994. "type": "string"
  30995. },
  30996. "mobile": {
  30997. "description": "手机号码",
  30998. "type": "string"
  30999. },
  31000. "refereeuserid": {
  31001. "description": "推荐人id",
  31002. "type": "integer"
  31003. },
  31004. "refernum": {
  31005. "description": "推荐码",
  31006. "type": "string"
  31007. },
  31008. "subList": {
  31009. "type": "array",
  31010. "items": {
  31011. "$ref": "#/definitions/models.QhjMyTeamEx"
  31012. }
  31013. },
  31014. "userid": {
  31015. "description": "用户id",
  31016. "type": "integer"
  31017. },
  31018. "userinfotype": {
  31019. "description": "用户类型 1-个人 2-企业",
  31020. "type": "integer"
  31021. }
  31022. }
  31023. },
  31024. "models.QhjNodeAgreementConfig": {
  31025. "type": "object",
  31026. "properties": {
  31027. "agreementcontent": {
  31028. "description": "协议内容",
  31029. "type": "string"
  31030. },
  31031. "agreementid": {
  31032. "description": "协议ID",
  31033. "type": "integer"
  31034. },
  31035. "agreementname": {
  31036. "description": "协议名称",
  31037. "type": "string"
  31038. },
  31039. "agreementno": {
  31040. "description": "协议编号",
  31041. "type": "string"
  31042. },
  31043. "agreementtype": {
  31044. "description": "协议类型 - 1:注册 2:登录 3:交易",
  31045. "type": "integer"
  31046. },
  31047. "agreementversion": {
  31048. "description": "协议版本号",
  31049. "type": "integer"
  31050. },
  31051. "configid": {
  31052. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  31053. "type": "integer"
  31054. },
  31055. "createtime": {
  31056. "description": "创建时间",
  31057. "type": "string"
  31058. },
  31059. "goodsid": {
  31060. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  31061. "type": "integer"
  31062. },
  31063. "nodetype": {
  31064. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  31065. "type": "integer"
  31066. }
  31067. }
  31068. },
  31069. "models.QhjParentAreaList": {
  31070. "type": "object",
  31071. "properties": {
  31072. "accountname": {
  31073. "description": "账户名称(机构名称)",
  31074. "type": "string"
  31075. },
  31076. "userid": {
  31077. "description": "用户ID",
  31078. "type": "integer"
  31079. },
  31080. "usertype": {
  31081. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  31082. "type": "integer"
  31083. }
  31084. }
  31085. },
  31086. "models.QhjPayOrder": {
  31087. "type": "object",
  31088. "properties": {
  31089. "advanceratio": {
  31090. "description": "首付比率",
  31091. "type": "number"
  31092. },
  31093. "buyaccountid": {
  31094. "description": "买方账号ID[报价币种]",
  31095. "type": "integer"
  31096. },
  31097. "buyorderid": {
  31098. "description": "买方委托单号",
  31099. "type": "string"
  31100. },
  31101. "createtime": {
  31102. "description": "创建时间",
  31103. "type": "string"
  31104. },
  31105. "decimalplace": {
  31106. "description": "商品报价小数位",
  31107. "type": "integer"
  31108. },
  31109. "enumdicname": {
  31110. "description": "单位名称",
  31111. "type": "string"
  31112. },
  31113. "goodscode": {
  31114. "description": "商品代码",
  31115. "type": "string"
  31116. },
  31117. "goodsid": {
  31118. "description": "商品ID",
  31119. "type": "integer"
  31120. },
  31121. "goodsname": {
  31122. "description": "商品名称",
  31123. "type": "string"
  31124. },
  31125. "goodunitid": {
  31126. "description": "商品单位id",
  31127. "type": "integer"
  31128. },
  31129. "marketid": {
  31130. "description": "市场ID",
  31131. "type": "integer"
  31132. },
  31133. "offamount": {
  31134. "description": "优惠金额",
  31135. "type": "number"
  31136. },
  31137. "operatetype": {
  31138. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  31139. "type": "integer"
  31140. },
  31141. "payamount": {
  31142. "description": "支付金额",
  31143. "type": "number"
  31144. },
  31145. "payflag": {
  31146. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  31147. "type": "integer"
  31148. },
  31149. "paylimitedtime": {
  31150. "description": "支付期限",
  31151. "type": "string"
  31152. },
  31153. "paytime": {
  31154. "description": "付款时间",
  31155. "type": "string"
  31156. },
  31157. "qtydecimalplace": {
  31158. "description": "成交量小数位",
  31159. "type": "integer"
  31160. },
  31161. "sellaccountid": {
  31162. "description": "卖方账号ID[报价币种]",
  31163. "type": "integer"
  31164. },
  31165. "sellorderid": {
  31166. "description": "卖方委托单号",
  31167. "type": "string"
  31168. },
  31169. "tradeamount": {
  31170. "description": "成交金额(优惠后金额)",
  31171. "type": "number"
  31172. },
  31173. "tradecharge": {
  31174. "description": "成交手续费(买方)",
  31175. "type": "number"
  31176. },
  31177. "tradedate": {
  31178. "description": "交易日(yyyyMMdd)",
  31179. "type": "string"
  31180. },
  31181. "tradeid": {
  31182. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  31183. "type": "string"
  31184. },
  31185. "tradeprice": {
  31186. "description": "成交价格",
  31187. "type": "number"
  31188. },
  31189. "tradeqty": {
  31190. "description": "成交数量",
  31191. "type": "number"
  31192. }
  31193. }
  31194. },
  31195. "models.QhjPickArea": {
  31196. "type": "object",
  31197. "properties": {
  31198. "address": {
  31199. "description": "详细地址",
  31200. "type": "string"
  31201. },
  31202. "cityid": {
  31203. "description": "市",
  31204. "type": "integer"
  31205. },
  31206. "cityname": {
  31207. "description": "城市名称",
  31208. "type": "string"
  31209. },
  31210. "countryid": {
  31211. "description": "国家",
  31212. "type": "integer"
  31213. },
  31214. "countryname": {
  31215. "description": "国家名称",
  31216. "type": "string"
  31217. },
  31218. "districtid": {
  31219. "description": "地区",
  31220. "type": "integer"
  31221. },
  31222. "districtname": {
  31223. "description": "地区名称",
  31224. "type": "string"
  31225. },
  31226. "fromuserid": {
  31227. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  31228. "type": "integer"
  31229. },
  31230. "fromusername": {
  31231. "description": "所属机构名称",
  31232. "type": "string"
  31233. },
  31234. "provinceid": {
  31235. "description": "省",
  31236. "type": "integer"
  31237. },
  31238. "provincename": {
  31239. "description": "省名称",
  31240. "type": "string"
  31241. },
  31242. "suborgtype": {
  31243. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  31244. "type": "integer"
  31245. },
  31246. "userid": {
  31247. "description": "机构用户ID 其他做市关系,都设置为 1",
  31248. "type": "integer"
  31249. },
  31250. "username": {
  31251. "description": "机构用户名称(门店门称)",
  31252. "type": "string"
  31253. }
  31254. }
  31255. },
  31256. "models.QhjPickGoods": {
  31257. "type": "object",
  31258. "properties": {
  31259. "enumdicname": {
  31260. "description": "单位名称(提货商品)",
  31261. "type": "string"
  31262. },
  31263. "goodsid": {
  31264. "description": "商品id",
  31265. "type": "integer"
  31266. },
  31267. "imageaddress": {
  31268. "description": "图片",
  31269. "type": "string"
  31270. },
  31271. "modifierid": {
  31272. "description": "修改人",
  31273. "type": "integer"
  31274. },
  31275. "modifiername": {
  31276. "description": "修改人名称",
  31277. "type": "string"
  31278. },
  31279. "modifysrc": {
  31280. "description": "修改来源 - 1:管理端 2:终端",
  31281. "type": "integer"
  31282. },
  31283. "pickupgoodsagreeunit": {
  31284. "description": "合约乘数",
  31285. "type": "number"
  31286. },
  31287. "pickupgoodsdesc": {
  31288. "description": "描述",
  31289. "type": "string"
  31290. },
  31291. "pickupgoodsid": {
  31292. "description": "提货商品ID",
  31293. "type": "string"
  31294. },
  31295. "pickupgoodsname": {
  31296. "description": "提货商品名称",
  31297. "type": "string"
  31298. },
  31299. "pickupgoodsstatus": {
  31300. "description": "状态 - 1:正常 2:停用 3:注销",
  31301. "type": "integer"
  31302. },
  31303. "pickupgoodsunitid": {
  31304. "description": "单位ID",
  31305. "type": "integer"
  31306. },
  31307. "pickupratio": {
  31308. "description": "提货系数",
  31309. "type": "number"
  31310. },
  31311. "preparedays": {
  31312. "description": "备货期(天)",
  31313. "type": "integer"
  31314. },
  31315. "remark": {
  31316. "description": "备注",
  31317. "type": "string"
  31318. },
  31319. "updatetime": {
  31320. "description": "更新时间",
  31321. "type": "string"
  31322. }
  31323. }
  31324. },
  31325. "models.QhjRSTriggerLog": {
  31326. "type": "object",
  31327. "properties": {
  31328. "accountid": {
  31329. "description": "用户资金账户",
  31330. "type": "integer"
  31331. },
  31332. "accountname": {
  31333. "description": "账号名称(ACCOUNTID对应的名称)",
  31334. "type": "string"
  31335. },
  31336. "currencyid": {
  31337. "description": "币种id",
  31338. "type": "integer"
  31339. },
  31340. "currencyname": {
  31341. "description": "币种名称",
  31342. "type": "string"
  31343. },
  31344. "decimalplace": {
  31345. "description": "商品报价小数位",
  31346. "type": "integer"
  31347. },
  31348. "enumdicname": {
  31349. "description": "单位名称",
  31350. "type": "string"
  31351. },
  31352. "goodscode": {
  31353. "description": "定投商品代码",
  31354. "type": "string"
  31355. },
  31356. "goodsid": {
  31357. "description": "定投商品ID",
  31358. "type": "integer"
  31359. },
  31360. "goodsname": {
  31361. "description": "定投商品名称",
  31362. "type": "string"
  31363. },
  31364. "goodunitid": {
  31365. "description": "定投商品单位id",
  31366. "type": "integer"
  31367. },
  31368. "logid": {
  31369. "description": "LogID(SEQ_QHJ_RSTRIGGERLOG)",
  31370. "type": "string"
  31371. },
  31372. "logincode": {
  31373. "description": "账号(登录代码)",
  31374. "type": "string"
  31375. },
  31376. "qtydecimalplace": {
  31377. "description": "成交量小数位",
  31378. "type": "integer"
  31379. },
  31380. "regularlycycle": {
  31381. "description": "定投频率 - 1:每周 2:每月",
  31382. "type": "integer"
  31383. },
  31384. "regularlycyclevalue": {
  31385. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  31386. "type": "string"
  31387. },
  31388. "regularlymode": {
  31389. "description": "定投方式 - 1:按数量 2:按金额",
  31390. "type": "integer"
  31391. },
  31392. "regularlymodevalue": {
  31393. "description": "定投方式值 - 数量或金额",
  31394. "type": "number"
  31395. },
  31396. "regularlystrategyid": {
  31397. "description": "定投策略ID",
  31398. "type": "integer"
  31399. },
  31400. "retcode": {
  31401. "description": "错误码",
  31402. "type": "string"
  31403. },
  31404. "tradeid": {
  31405. "description": "成交单ID",
  31406. "type": "string"
  31407. },
  31408. "triggeramount": {
  31409. "description": "触发金额",
  31410. "type": "number"
  31411. },
  31412. "triggerqty": {
  31413. "description": "触发数量",
  31414. "type": "number"
  31415. },
  31416. "triggerstatus": {
  31417. "description": "触发状态 - 1:成功 2:失败",
  31418. "type": "integer"
  31419. },
  31420. "triggertime": {
  31421. "description": "触发时间",
  31422. "type": "string"
  31423. },
  31424. "triggertradedate": {
  31425. "description": "触发交易日",
  31426. "type": "string"
  31427. },
  31428. "userid": {
  31429. "description": "所属用户ID",
  31430. "type": "integer"
  31431. },
  31432. "userinfotype": {
  31433. "description": "用户类型 1-个人 2-企业",
  31434. "type": "integer"
  31435. },
  31436. "username": {
  31437. "description": "用户名称(userid对应的名称)",
  31438. "type": "string"
  31439. }
  31440. }
  31441. },
  31442. "models.QhjRStrategy": {
  31443. "type": "object",
  31444. "properties": {
  31445. "accountid": {
  31446. "description": "用户资金账户",
  31447. "type": "integer"
  31448. },
  31449. "accountname": {
  31450. "description": "账号名称(ACCOUNTID对应的名称)",
  31451. "type": "string"
  31452. },
  31453. "currencyid": {
  31454. "description": "币种id",
  31455. "type": "integer"
  31456. },
  31457. "currencyname": {
  31458. "description": "币种名称",
  31459. "type": "string"
  31460. },
  31461. "decimalplace": {
  31462. "description": "商品报价小数位",
  31463. "type": "integer"
  31464. },
  31465. "enumdicname": {
  31466. "description": "单位名称",
  31467. "type": "string"
  31468. },
  31469. "goodscode": {
  31470. "description": "定投商品代码",
  31471. "type": "string"
  31472. },
  31473. "goodsid": {
  31474. "description": "定投商品ID",
  31475. "type": "integer"
  31476. },
  31477. "goodsname": {
  31478. "description": "定投商品名称",
  31479. "type": "string"
  31480. },
  31481. "goodunitid": {
  31482. "description": "定投商品单位id",
  31483. "type": "integer"
  31484. },
  31485. "lasteffecttradedate": {
  31486. "description": "最新生效交易日",
  31487. "type": "string"
  31488. },
  31489. "laststoptradedate": {
  31490. "description": "最新暂停交易日",
  31491. "type": "string"
  31492. },
  31493. "lasttriggertradedate": {
  31494. "description": "最新触发交易日",
  31495. "type": "string"
  31496. },
  31497. "logincode": {
  31498. "description": "账号(登录代码)",
  31499. "type": "string"
  31500. },
  31501. "nexttriggeramount": {
  31502. "description": "下次触发金额",
  31503. "type": "number"
  31504. },
  31505. "nexttriggerdate": {
  31506. "description": "下次触发日期",
  31507. "type": "string"
  31508. },
  31509. "nexttriggerqty": {
  31510. "description": "下次触发数量 [按小数位放大值]",
  31511. "type": "number"
  31512. },
  31513. "qtydecimalplace": {
  31514. "description": "成交量小数位",
  31515. "type": "integer"
  31516. },
  31517. "regularlycycle": {
  31518. "description": "定投频率 - 1:每周 2:每月",
  31519. "type": "integer"
  31520. },
  31521. "regularlycyclevalue": {
  31522. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  31523. "type": "string"
  31524. },
  31525. "regularlymode": {
  31526. "description": "定投方式 - 1:按数量 2:按金额",
  31527. "type": "integer"
  31528. },
  31529. "regularlymodevalue": {
  31530. "description": "定投方式值 - 数量或金额",
  31531. "type": "number"
  31532. },
  31533. "regularlystrategyid": {
  31534. "description": "定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)",
  31535. "type": "integer"
  31536. },
  31537. "regularlystrategystatus": {
  31538. "description": "策略状态 - 1:正常 2:暂停 3:终止",
  31539. "type": "integer"
  31540. },
  31541. "remark": {
  31542. "description": "备注",
  31543. "type": "string"
  31544. },
  31545. "triggersuccesstimes": {
  31546. "description": "累计定投成功次数",
  31547. "type": "string"
  31548. },
  31549. "triggertotalamount": {
  31550. "description": "累计定投金额(成功)",
  31551. "type": "number"
  31552. },
  31553. "triggertotalqty": {
  31554. "description": "累计定投数量(成功) [按小数位放大值]",
  31555. "type": "number"
  31556. },
  31557. "triggertotaltimes": {
  31558. "description": "累计定投总次数",
  31559. "type": "string"
  31560. },
  31561. "updatesrc": {
  31562. "description": "更新来源 - 1:管理端 2:终端",
  31563. "type": "integer"
  31564. },
  31565. "updatetime": {
  31566. "description": "更新时间",
  31567. "type": "string"
  31568. },
  31569. "updatorid": {
  31570. "description": "更新人",
  31571. "type": "string"
  31572. },
  31573. "userid": {
  31574. "description": "所属用户ID",
  31575. "type": "integer"
  31576. },
  31577. "userinfotype": {
  31578. "description": "用户类型 1-个人 2-企业",
  31579. "type": "integer"
  31580. },
  31581. "username": {
  31582. "description": "用户名称(userid对应的名称)",
  31583. "type": "string"
  31584. }
  31585. }
  31586. },
  31587. "models.QhjReckonPriceLog": {
  31588. "type": "object",
  31589. "properties": {
  31590. "decimalplace": {
  31591. "description": "商品报价小数位",
  31592. "type": "integer"
  31593. },
  31594. "goodscode": {
  31595. "description": "商品代码",
  31596. "type": "string"
  31597. },
  31598. "goodsid": {
  31599. "description": "商品ID",
  31600. "type": "integer"
  31601. },
  31602. "goodsname": {
  31603. "description": "商品名称",
  31604. "type": "string"
  31605. },
  31606. "lastreckonprice": {
  31607. "description": "上日结算价",
  31608. "type": "number"
  31609. },
  31610. "nextdnlimitprice": {
  31611. "description": "下个交易日跌停价",
  31612. "type": "number"
  31613. },
  31614. "nexttrade": {
  31615. "description": "下个交易日",
  31616. "type": "string"
  31617. },
  31618. "nextuplimitprice": {
  31619. "description": "下个交易日涨停价",
  31620. "type": "number"
  31621. },
  31622. "reckonprice": {
  31623. "description": "今日结算价(定投价)",
  31624. "type": "number"
  31625. },
  31626. "reckontime": {
  31627. "description": "结算时间",
  31628. "type": "string"
  31629. },
  31630. "totalholderqty": {
  31631. "description": "总持仓数",
  31632. "type": "integer"
  31633. },
  31634. "totalstock": {
  31635. "description": "总库存",
  31636. "type": "integer"
  31637. },
  31638. "tradedate": {
  31639. "description": "交易日",
  31640. "type": "string"
  31641. },
  31642. "updowncount": {
  31643. "description": "连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)",
  31644. "type": "integer"
  31645. },
  31646. "updownflag": {
  31647. "description": "连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停",
  31648. "type": "integer"
  31649. },
  31650. "updownrate": {
  31651. "description": "今日涨跌幅",
  31652. "type": "number"
  31653. },
  31654. "updownrate_2d": {
  31655. "description": "连续两日涨跌幅",
  31656. "type": "number"
  31657. },
  31658. "updownrate_3d": {
  31659. "description": "连续三日涨跌幅",
  31660. "type": "number"
  31661. }
  31662. }
  31663. },
  31664. "models.QhjScoreLog": {
  31665. "type": "object",
  31666. "properties": {
  31667. "accountid": {
  31668. "description": "账户ID",
  31669. "type": "integer"
  31670. },
  31671. "createtime": {
  31672. "description": "创建时间(时间)",
  31673. "type": "string"
  31674. },
  31675. "goodsid": {
  31676. "description": "商品ID",
  31677. "type": "integer"
  31678. },
  31679. "hasuploaded": {
  31680. "description": "是否已同步(千海金) 0:未同步 1;已同步",
  31681. "type": "integer"
  31682. },
  31683. "logid": {
  31684. "description": "流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  31685. "type": "string"
  31686. },
  31687. "marketid": {
  31688. "description": "市场ID",
  31689. "type": "integer"
  31690. },
  31691. "relatedamount": {
  31692. "description": "关联金额",
  31693. "type": "number"
  31694. },
  31695. "relatedorderid": {
  31696. "description": "关联单号(ScoreType=1为Trade_GoodsPickup)",
  31697. "type": "string"
  31698. },
  31699. "scoreconfigvalue1": {
  31700. "description": "积分配置1",
  31701. "type": "integer"
  31702. },
  31703. "scoreconfigvalue2": {
  31704. "description": "积分配置1",
  31705. "type": "integer"
  31706. },
  31707. "scoretype": {
  31708. "description": "积分类型 - 1:提货积分",
  31709. "type": "integer"
  31710. },
  31711. "scorevalue": {
  31712. "description": "积分",
  31713. "type": "number"
  31714. },
  31715. "tradedate": {
  31716. "description": "交易日(yyyyMMdd)",
  31717. "type": "string"
  31718. },
  31719. "uploadedtime": {
  31720. "description": "同步时间",
  31721. "type": "string"
  31722. },
  31723. "userid": {
  31724. "description": "用户ID",
  31725. "type": "integer"
  31726. }
  31727. }
  31728. },
  31729. "models.QhjSiteColumnDetail": {
  31730. "type": "object",
  31731. "properties": {
  31732. "author": {
  31733. "description": "作者",
  31734. "type": "string"
  31735. },
  31736. "brief": {
  31737. "description": "简介",
  31738. "type": "string"
  31739. },
  31740. "columnid": {
  31741. "description": "所属栏目",
  31742. "type": "integer"
  31743. },
  31744. "context": {
  31745. "description": "内容",
  31746. "type": "string"
  31747. },
  31748. "coverimage": {
  31749. "description": "封面图片",
  31750. "type": "string"
  31751. },
  31752. "creaedate": {
  31753. "description": "创建时间",
  31754. "type": "string"
  31755. },
  31756. "creatorid": {
  31757. "description": "创建人",
  31758. "type": "integer"
  31759. },
  31760. "hits": {
  31761. "description": "点击数",
  31762. "type": "integer"
  31763. },
  31764. "id": {
  31765. "description": "ID(SEQ_SITE_COLUMNDETAIL)",
  31766. "type": "integer"
  31767. },
  31768. "isshow": {
  31769. "description": "是否展示 - 0:不展示 1:展示",
  31770. "type": "integer"
  31771. },
  31772. "istop": {
  31773. "description": "是否置顶 - 0:不置 1:置顶",
  31774. "type": "integer"
  31775. },
  31776. "modifierid": {
  31777. "description": "操作人",
  31778. "type": "integer"
  31779. },
  31780. "publishdate": {
  31781. "description": "发布日期",
  31782. "type": "string"
  31783. },
  31784. "status": {
  31785. "description": "状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝",
  31786. "type": "integer"
  31787. },
  31788. "title": {
  31789. "description": "标题",
  31790. "type": "string"
  31791. },
  31792. "updatedate": {
  31793. "description": "修改时间",
  31794. "type": "string"
  31795. },
  31796. "userid": {
  31797. "description": "用户ID(默认为0, 核心为为机构用户ID)",
  31798. "type": "integer"
  31799. },
  31800. "username": {
  31801. "description": "用户名称",
  31802. "type": "string"
  31803. }
  31804. }
  31805. },
  31806. "models.QhjTeamOrder": {
  31807. "type": "object",
  31808. "properties": {
  31809. "accountid": {
  31810. "description": "账户ID[报价币种]",
  31811. "type": "integer"
  31812. },
  31813. "accountname": {
  31814. "description": "账户名称",
  31815. "type": "string"
  31816. },
  31817. "agreeunit": {
  31818. "description": "合约乘数",
  31819. "type": "number"
  31820. },
  31821. "buyorsell": {
  31822. "description": "方向 - 0:买 1:卖",
  31823. "type": "integer"
  31824. },
  31825. "decimalplace": {
  31826. "description": "报价小数位",
  31827. "type": "integer"
  31828. },
  31829. "enumdicname": {
  31830. "description": "单位名称",
  31831. "type": "string"
  31832. },
  31833. "goodscode": {
  31834. "description": "商品代码(内部)",
  31835. "type": "string"
  31836. },
  31837. "goodsid": {
  31838. "description": "商品ID",
  31839. "type": "integer"
  31840. },
  31841. "goodsname": {
  31842. "description": "商品名称",
  31843. "type": "string"
  31844. },
  31845. "goodunitid": {
  31846. "description": "报价单位ID",
  31847. "type": "integer"
  31848. },
  31849. "marketid": {
  31850. "description": "市场ID",
  31851. "type": "integer"
  31852. },
  31853. "marketname": {
  31854. "description": "市场名称",
  31855. "type": "string"
  31856. },
  31857. "qtydecimalplace": {
  31858. "description": "成交量小数位",
  31859. "type": "integer"
  31860. },
  31861. "refereeuserid": {
  31862. "description": "推荐人ID",
  31863. "type": "integer"
  31864. },
  31865. "tradeamount": {
  31866. "description": "成交金额[账户币种,用于所有权]",
  31867. "type": "number"
  31868. },
  31869. "tradedate": {
  31870. "description": "交易日(yyyyMMdd)",
  31871. "type": "string"
  31872. },
  31873. "trademode": {
  31874. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  31875. "type": "integer"
  31876. },
  31877. "tradeprice": {
  31878. "description": "成交价格",
  31879. "type": "number"
  31880. },
  31881. "tradeqty": {
  31882. "description": "成交数量",
  31883. "type": "number"
  31884. },
  31885. "tradetime": {
  31886. "description": "成交时间",
  31887. "type": "string"
  31888. },
  31889. "userid": {
  31890. "description": "用户ID",
  31891. "type": "integer"
  31892. }
  31893. }
  31894. },
  31895. "models.QhjTradeGoodsPickup": {
  31896. "type": "object",
  31897. "properties": {
  31898. "accountid": {
  31899. "description": "账户ID",
  31900. "type": "integer"
  31901. },
  31902. "address": {
  31903. "description": "提货人详细地址",
  31904. "type": "string"
  31905. },
  31906. "amount": {
  31907. "description": "提货金额",
  31908. "type": "number"
  31909. },
  31910. "artradedate": {
  31911. "description": "自动收货交易日(yyyyMMdd)",
  31912. "type": "string"
  31913. },
  31914. "auditer": {
  31915. "description": "审核人",
  31916. "type": "integer"
  31917. },
  31918. "auditsrc": {
  31919. "description": "更新来源 - 1:管理端 2:终端",
  31920. "type": "integer"
  31921. },
  31922. "audittime": {
  31923. "description": "审核时间(发货时间 | 备货完成时间 都是这个字段)",
  31924. "type": "string"
  31925. },
  31926. "audittradedate": {
  31927. "description": "审核交易日(yyyyMMdd)",
  31928. "type": "string"
  31929. },
  31930. "cardnum": {
  31931. "description": "提货人证件号码",
  31932. "type": "string"
  31933. },
  31934. "cardtypeid": {
  31935. "description": "提货人证件类型",
  31936. "type": "integer"
  31937. },
  31938. "checkremark": {
  31939. "description": "审核备注",
  31940. "type": "string"
  31941. },
  31942. "cityid": {
  31943. "description": "市",
  31944. "type": "integer"
  31945. },
  31946. "cityname": {
  31947. "description": "城市名称",
  31948. "type": "string"
  31949. },
  31950. "confirmtime": {
  31951. "description": "取货时间 或 收货时间",
  31952. "type": "string"
  31953. },
  31954. "countryid": {
  31955. "description": "国家",
  31956. "type": "integer"
  31957. },
  31958. "countryname": {
  31959. "description": "国家名称",
  31960. "type": "string"
  31961. },
  31962. "decimalplace": {
  31963. "description": "商品报价小数位",
  31964. "type": "integer"
  31965. },
  31966. "districtid": {
  31967. "description": "地区",
  31968. "type": "integer"
  31969. },
  31970. "districtname": {
  31971. "description": "地区名称",
  31972. "type": "string"
  31973. },
  31974. "enumdicname": {
  31975. "description": "单位名称(提货商品)",
  31976. "type": "string"
  31977. },
  31978. "expresscompany": {
  31979. "description": "物流公司",
  31980. "type": "string"
  31981. },
  31982. "expressnum": {
  31983. "description": "物流单号",
  31984. "type": "string"
  31985. },
  31986. "goodsagreeunit": {
  31987. "description": "交易商品乘数",
  31988. "type": "number"
  31989. },
  31990. "goodscode": {
  31991. "description": "商品代码",
  31992. "type": "string"
  31993. },
  31994. "goodsid": {
  31995. "description": "商品ID",
  31996. "type": "integer"
  31997. },
  31998. "goodsname": {
  31999. "description": "商品名称",
  32000. "type": "string"
  32001. },
  32002. "goodsqty": {
  32003. "description": "交易商品手数(69模式按成交量小数位放大取整)",
  32004. "type": "number"
  32005. },
  32006. "handlestatus": {
  32007. "description": "处理状态",
  32008. "type": "integer"
  32009. },
  32010. "logincode": {
  32011. "description": "账号(登录代码, 有可能为空)",
  32012. "type": "string"
  32013. },
  32014. "marketid": {
  32015. "description": "市场ID",
  32016. "type": "integer"
  32017. },
  32018. "phonenum": {
  32019. "description": "提货人联系方式",
  32020. "type": "string"
  32021. },
  32022. "pickupgoodsagreeunit": {
  32023. "description": "提货商品合约乘数",
  32024. "type": "number"
  32025. },
  32026. "pickupgoodsid": {
  32027. "description": "提货商品ID",
  32028. "type": "string"
  32029. },
  32030. "pickupgoodsname": {
  32031. "description": "提货商品名称",
  32032. "type": "string"
  32033. },
  32034. "pickupgoodsqty": {
  32035. "description": "提货商品手数(数量)",
  32036. "type": "number"
  32037. },
  32038. "pickupgoodsunitid": {
  32039. "description": "单位ID(提货商品)",
  32040. "type": "integer"
  32041. },
  32042. "pickupratio": {
  32043. "description": "提货系数",
  32044. "type": "number"
  32045. },
  32046. "preparedays": {
  32047. "description": "备货期(天)-提货单明细表",
  32048. "type": "integer"
  32049. },
  32050. "provinceid": {
  32051. "description": "省",
  32052. "type": "integer"
  32053. },
  32054. "provincename": {
  32055. "description": "省名称",
  32056. "type": "string"
  32057. },
  32058. "qty": {
  32059. "description": "交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总",
  32060. "type": "number"
  32061. },
  32062. "qtydecimalplace": {
  32063. "description": "商品数量小数位",
  32064. "type": "integer"
  32065. },
  32066. "recivername": {
  32067. "description": "提货人姓名",
  32068. "type": "string"
  32069. },
  32070. "reqtime": {
  32071. "description": "提货申请时间",
  32072. "type": "string"
  32073. },
  32074. "storeuserid": {
  32075. "description": "门店用户ID (千海金)",
  32076. "type": "integer"
  32077. },
  32078. "storeusername": {
  32079. "description": "门店用户名称",
  32080. "type": "string"
  32081. },
  32082. "takemode": {
  32083. "description": "提货方式 - 2:自提 3:配送(邮寄)",
  32084. "type": "integer"
  32085. },
  32086. "takeorderid": {
  32087. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  32088. "type": "string"
  32089. },
  32090. "takeorderstatus": {
  32091. "description": "提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  32092. "type": "integer"
  32093. },
  32094. "takeremark": {
  32095. "description": "提货备注",
  32096. "type": "string"
  32097. },
  32098. "tradedate": {
  32099. "description": "交易日(yyyyMMdd)",
  32100. "type": "string"
  32101. },
  32102. "updatetime": {
  32103. "description": "更新时间",
  32104. "type": "string"
  32105. },
  32106. "userid": {
  32107. "description": "用户ID",
  32108. "type": "integer"
  32109. },
  32110. "userinfotype": {
  32111. "description": "客户类型 1-个人 2-企业",
  32112. "type": "integer"
  32113. },
  32114. "username": {
  32115. "description": "用户名称",
  32116. "type": "string"
  32117. }
  32118. }
  32119. },
  32120. "models.QhjUserNodeCfgAndStatus": {
  32121. "type": "object",
  32122. "properties": {
  32123. "agreementcontent": {
  32124. "description": "协议内容",
  32125. "type": "string"
  32126. },
  32127. "agreementid": {
  32128. "description": "协议ID",
  32129. "type": "integer"
  32130. },
  32131. "agreementname": {
  32132. "description": "协议名称",
  32133. "type": "string"
  32134. },
  32135. "agreementno": {
  32136. "description": "协议编号",
  32137. "type": "string"
  32138. },
  32139. "agreementtype": {
  32140. "description": "协议类型 - 1:注册 2:登录 3:交易",
  32141. "type": "integer"
  32142. },
  32143. "agreementversion": {
  32144. "description": "协议版本号",
  32145. "type": "integer"
  32146. },
  32147. "configid": {
  32148. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  32149. "type": "integer"
  32150. },
  32151. "createtime": {
  32152. "description": "创建时间",
  32153. "type": "string"
  32154. },
  32155. "goodsid": {
  32156. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  32157. "type": "integer"
  32158. },
  32159. "nodetype": {
  32160. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  32161. "type": "integer"
  32162. },
  32163. "signtimestamp": {
  32164. "description": "签约状态时间戳(最近一次)",
  32165. "type": "string"
  32166. },
  32167. "tradedate": {
  32168. "description": "签约交易日(yyyyMMdd)",
  32169. "type": "string"
  32170. },
  32171. "userid": {
  32172. "description": "客户ID",
  32173. "type": "integer"
  32174. }
  32175. }
  32176. },
  32177. "models.Qhjgoodsex": {
  32178. "type": "object",
  32179. "properties": {
  32180. "canfinance": {
  32181. "description": "是否支持融资 - 0:不支持 1:支持【69:铂金宝】",
  32182. "type": "integer"
  32183. },
  32184. "canregularlybuy": {
  32185. "description": "是否支持定投 - 0:不支持 1:支持【69:铂金宝】",
  32186. "type": "integer"
  32187. },
  32188. "defaulttradeuserid": {
  32189. "description": "默认交易用户ID",
  32190. "type": "integer"
  32191. },
  32192. "deliverygoodsid": {
  32193. "description": "现货品种ID",
  32194. "type": "integer"
  32195. },
  32196. "goodsid": {
  32197. "description": "商品ID(自增ID SEQ_GOODS)",
  32198. "type": "integer"
  32199. },
  32200. "minamount": {
  32201. "description": "最小购买金额",
  32202. "type": "number"
  32203. },
  32204. "regularlybuyminamount": {
  32205. "description": "定投最小金额",
  32206. "type": "number"
  32207. },
  32208. "regularlybuyminqty": {
  32209. "description": "定投最小数量",
  32210. "type": "number"
  32211. },
  32212. "spotgoodsbrandid": {
  32213. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\"",
  32214. "type": "integer"
  32215. },
  32216. "visibilityforenterprise": {
  32217. "description": "企业客户是否可见 - 0:不可见 1:可见",
  32218. "type": "integer"
  32219. },
  32220. "visibilityforpersonal": {
  32221. "description": "个人客户是否可见 - 0:不可见 1:可见",
  32222. "type": "integer"
  32223. },
  32224. "wrstandardid": {
  32225. "description": "现货商品ID",
  32226. "type": "integer"
  32227. }
  32228. }
  32229. },
  32230. "models.QueryErrorInfosRsp": {
  32231. "type": "object",
  32232. "required": [
  32233. "errorid"
  32234. ],
  32235. "properties": {
  32236. "description": {
  32237. "description": "异常描述",
  32238. "type": "string"
  32239. },
  32240. "errorcode": {
  32241. "description": "异常代码",
  32242. "type": "string"
  32243. },
  32244. "errorid": {
  32245. "description": "异常ID",
  32246. "type": "integer"
  32247. },
  32248. "modulecode": {
  32249. "description": "所属模块",
  32250. "type": "string"
  32251. },
  32252. "operatecode": {
  32253. "description": "所属操作",
  32254. "type": "string"
  32255. },
  32256. "rownumber": {
  32257. "description": "行号",
  32258. "type": "string"
  32259. }
  32260. }
  32261. },
  32262. "models.QueryHedgeOrderDetailRsp": {
  32263. "type": "object",
  32264. "properties": {
  32265. "accountid": {
  32266. "description": "账户ID",
  32267. "type": "integer"
  32268. },
  32269. "buyorsell": {
  32270. "description": "买卖 - 0:买 1:卖",
  32271. "type": "integer"
  32272. },
  32273. "cancellogincode": {
  32274. "description": "撤单人",
  32275. "type": "string"
  32276. },
  32277. "channelbuildtype": {
  32278. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  32279. "type": "integer"
  32280. },
  32281. "channelinnerorderstatus": {
  32282. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:部分成交 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  32283. "type": "integer"
  32284. },
  32285. "channeloperatetype": {
  32286. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  32287. "type": "integer"
  32288. },
  32289. "closetype": {
  32290. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  32291. "type": "integer"
  32292. },
  32293. "curexchangerate": {
  32294. "description": "当前汇率",
  32295. "type": "number"
  32296. },
  32297. "decimalplace": {
  32298. "description": "商品报价小数位",
  32299. "type": "integer"
  32300. },
  32301. "exchangefullname": {
  32302. "description": "外部交易所全称",
  32303. "type": "string"
  32304. },
  32305. "goodscode": {
  32306. "description": "商品代码(内部)",
  32307. "type": "string"
  32308. },
  32309. "goodsid": {
  32310. "description": "商品ID",
  32311. "type": "integer"
  32312. },
  32313. "goodsname": {
  32314. "description": "商品名称",
  32315. "type": "string"
  32316. },
  32317. "marketid": {
  32318. "description": "市场ID",
  32319. "type": "integer"
  32320. },
  32321. "openfreezemargin": {
  32322. "description": "冻结保证金(冻结交易金额)",
  32323. "type": "number"
  32324. },
  32325. "orderid": {
  32326. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  32327. "type": "string"
  32328. },
  32329. "orderlogincode": {
  32330. "description": "委托人",
  32331. "type": "string"
  32332. },
  32333. "orderprice": {
  32334. "description": "委托价格(账户)",
  32335. "type": "number"
  32336. },
  32337. "orderqty": {
  32338. "description": "委托数量",
  32339. "type": "integer"
  32340. },
  32341. "ordertime": {
  32342. "description": "委托时间",
  32343. "type": "string"
  32344. },
  32345. "pricemode": {
  32346. "description": "取价方式 - 1:市价 2: 限价",
  32347. "type": "integer"
  32348. },
  32349. "tradedate": {
  32350. "description": "交易日(yyyyMMdd)",
  32351. "type": "string"
  32352. },
  32353. "tradeqty": {
  32354. "description": "成交数量",
  32355. "type": "integer"
  32356. }
  32357. }
  32358. },
  32359. "models.QueryHedgeTradeDetailRsp": {
  32360. "type": "object",
  32361. "properties": {
  32362. "accountid": {
  32363. "description": "账号ID",
  32364. "type": "integer"
  32365. },
  32366. "buyorsell": {
  32367. "description": "方向 - 0:买 1:卖",
  32368. "type": "integer"
  32369. },
  32370. "channelbuildtype": {
  32371. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  32372. "type": "integer"
  32373. },
  32374. "closecharge": {
  32375. "description": "平仓手续费(账户)",
  32376. "type": "number"
  32377. },
  32378. "closecharge2": {
  32379. "description": "平仓手续费(商品)",
  32380. "type": "number"
  32381. },
  32382. "closepl": {
  32383. "description": "平仓盈亏(账户)",
  32384. "type": "number"
  32385. },
  32386. "closepl2": {
  32387. "description": "平仓盈亏(商品)",
  32388. "type": "number"
  32389. },
  32390. "closepl3": {
  32391. "description": "平仓盈亏(账户)(逐笔)",
  32392. "type": "number"
  32393. },
  32394. "closepl4": {
  32395. "description": "平仓盈亏(商品)(逐笔)",
  32396. "type": "number"
  32397. },
  32398. "closetype": {
  32399. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  32400. "type": "integer"
  32401. },
  32402. "curexchangerate": {
  32403. "description": "当前汇率",
  32404. "type": "number"
  32405. },
  32406. "decimalplace": {
  32407. "description": "商品报价小数位",
  32408. "type": "integer"
  32409. },
  32410. "exchangefullname": {
  32411. "description": "外部交易所全称",
  32412. "type": "string"
  32413. },
  32414. "goodscode": {
  32415. "description": "商品代码(内部)",
  32416. "type": "string"
  32417. },
  32418. "goodsid": {
  32419. "description": "商品ID",
  32420. "type": "integer"
  32421. },
  32422. "goodsname": {
  32423. "description": "商品名称",
  32424. "type": "string"
  32425. },
  32426. "marketid": {
  32427. "description": "市场ID",
  32428. "type": "integer"
  32429. },
  32430. "opencharge": {
  32431. "description": "建仓手续费(账户)",
  32432. "type": "number"
  32433. },
  32434. "opencharge2": {
  32435. "description": "建仓手续费(商品)",
  32436. "type": "number"
  32437. },
  32438. "orderid": {
  32439. "description": "委托单号",
  32440. "type": "string"
  32441. },
  32442. "orderlogincode": {
  32443. "description": "委托人",
  32444. "type": "string"
  32445. },
  32446. "tradeamount": {
  32447. "description": "成交金额(账户)",
  32448. "type": "number"
  32449. },
  32450. "tradedate": {
  32451. "description": "交易日(yyyyMMdd)",
  32452. "type": "string"
  32453. },
  32454. "tradeid": {
  32455. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  32456. "type": "string"
  32457. },
  32458. "tradeprice": {
  32459. "description": "成交价格",
  32460. "type": "number"
  32461. },
  32462. "tradeqty": {
  32463. "description": "成交数量",
  32464. "type": "integer"
  32465. },
  32466. "tradetime": {
  32467. "description": "成交时间",
  32468. "type": "string"
  32469. },
  32470. "tradetype": {
  32471. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  32472. "type": "integer"
  32473. }
  32474. }
  32475. },
  32476. "models.QuotePrimaryMenu": {
  32477. "type": "object",
  32478. "properties": {
  32479. "Index": {
  32480. "description": "序号",
  32481. "type": "integer"
  32482. },
  32483. "Key": {
  32484. "description": "键名",
  32485. "type": "string"
  32486. },
  32487. "Name": {
  32488. "description": "菜单名称",
  32489. "type": "string"
  32490. },
  32491. "SubMenus": {
  32492. "description": "子菜单",
  32493. "type": "array",
  32494. "items": {
  32495. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  32496. }
  32497. },
  32498. "SubTitleType": {
  32499. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  32500. "type": "integer"
  32501. },
  32502. "TradeModes": {
  32503. "description": "包含市场交易类型",
  32504. "type": "string"
  32505. }
  32506. }
  32507. },
  32508. "models.QuoteSecondaryMenu": {
  32509. "type": "object",
  32510. "properties": {
  32511. "ExExchangeCode": {
  32512. "description": "外部交易所代码",
  32513. "type": "string"
  32514. },
  32515. "ExExchangeID": {
  32516. "description": "外部交易所ID",
  32517. "type": "integer"
  32518. },
  32519. "GoodsGroupIDs": {
  32520. "description": "商品组ID列表",
  32521. "type": "array",
  32522. "items": {
  32523. "type": "integer"
  32524. }
  32525. },
  32526. "Index": {
  32527. "description": "序号",
  32528. "type": "integer"
  32529. },
  32530. "MarketID": {
  32531. "description": "市场ID",
  32532. "type": "integer"
  32533. },
  32534. "MenuTitle": {
  32535. "description": "菜单标题(市场名称或外部交易所名称)",
  32536. "type": "string"
  32537. },
  32538. "TradeMode": {
  32539. "description": "交易模式",
  32540. "type": "integer"
  32541. }
  32542. }
  32543. },
  32544. "models.RoleMenu": {
  32545. "type": "object",
  32546. "properties": {
  32547. "hasright": {
  32548. "description": "是否有权限 0-没有权限 1-有权限",
  32549. "type": "integer"
  32550. },
  32551. "iconame": {
  32552. "description": "菜单图标",
  32553. "type": "string"
  32554. },
  32555. "menutype": {
  32556. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  32557. "type": "integer"
  32558. },
  32559. "parentcode": {
  32560. "description": "上级资源代码",
  32561. "type": "string"
  32562. },
  32563. "remark": {
  32564. "description": "菜单备注",
  32565. "type": "string"
  32566. },
  32567. "resourcecode": {
  32568. "description": "菜单代码",
  32569. "type": "string"
  32570. },
  32571. "resourcelevel": {
  32572. "description": "级别",
  32573. "type": "integer"
  32574. },
  32575. "resourcename": {
  32576. "description": "菜单名称",
  32577. "type": "string"
  32578. },
  32579. "roleid": {
  32580. "description": "角色id",
  32581. "type": "integer"
  32582. },
  32583. "sort": {
  32584. "description": "排序",
  32585. "type": "integer"
  32586. },
  32587. "subMenu": {
  32588. "description": "子级菜单(结构同上层一样, swag解析不出来)",
  32589. "type": "array",
  32590. "items": {
  32591. "$ref": "#/definitions/models.RoleMenu"
  32592. }
  32593. },
  32594. "url": {
  32595. "description": "URL",
  32596. "type": "string"
  32597. },
  32598. "userid": {
  32599. "description": "用户id",
  32600. "type": "integer"
  32601. }
  32602. }
  32603. },
  32604. "models.SearchGoods": {
  32605. "type": "object",
  32606. "required": [
  32607. "goodscode",
  32608. "goodsid",
  32609. "goodsname",
  32610. "marketid",
  32611. "trademode"
  32612. ],
  32613. "properties": {
  32614. "goodscode": {
  32615. "description": "商品代码(内部)",
  32616. "type": "string"
  32617. },
  32618. "goodsid": {
  32619. "description": "商品ID(自增ID SEQ_GOODS)",
  32620. "type": "integer"
  32621. },
  32622. "goodsname": {
  32623. "description": "商品名称",
  32624. "type": "string"
  32625. },
  32626. "marketid": {
  32627. "description": "所属市场ID",
  32628. "type": "integer"
  32629. },
  32630. "marketname": {
  32631. "description": "市场名称",
  32632. "type": "string"
  32633. },
  32634. "trademode": {
  32635. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  32636. "type": "integer"
  32637. }
  32638. }
  32639. },
  32640. "models.Systemparam": {
  32641. "type": "object",
  32642. "required": [
  32643. "paramcode"
  32644. ],
  32645. "properties": {
  32646. "loginid": {
  32647. "description": "更新用户账号,登录账号",
  32648. "type": "string"
  32649. },
  32650. "modifyflag": {
  32651. "description": "修改标志0 不允许修改 1 允许修改",
  32652. "type": "integer"
  32653. },
  32654. "paramcode": {
  32655. "description": "参数代码",
  32656. "type": "string"
  32657. },
  32658. "paramname": {
  32659. "description": "参数名",
  32660. "type": "string"
  32661. },
  32662. "paramtype": {
  32663. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  32664. "type": "integer"
  32665. },
  32666. "paramvalue": {
  32667. "description": "参数值",
  32668. "type": "string"
  32669. },
  32670. "paramvalue2": {
  32671. "description": "参数值(CLOB)",
  32672. "type": "string"
  32673. },
  32674. "regexpress": {
  32675. "description": "正则表达式",
  32676. "type": "string"
  32677. },
  32678. "remark": {
  32679. "description": "备注",
  32680. "type": "string"
  32681. },
  32682. "serverip": {
  32683. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  32684. "type": "string"
  32685. },
  32686. "showflag": {
  32687. "description": "是否显示0 不显示 1 显示",
  32688. "type": "integer"
  32689. },
  32690. "updatetime": {
  32691. "description": "更新时间",
  32692. "type": "string"
  32693. },
  32694. "userid": {
  32695. "description": "更新用户ID",
  32696. "type": "integer"
  32697. }
  32698. }
  32699. },
  32700. "models.Szdz3convertconfig": {
  32701. "type": "object",
  32702. "required": [
  32703. "converttype",
  32704. "innergoodsid",
  32705. "outergoodscode"
  32706. ],
  32707. "properties": {
  32708. "canin": {
  32709. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  32710. "type": "integer"
  32711. },
  32712. "canout": {
  32713. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  32714. "type": "integer"
  32715. },
  32716. "converttype": {
  32717. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  32718. "type": "integer"
  32719. },
  32720. "createtime": {
  32721. "description": "创建时间",
  32722. "type": "string"
  32723. },
  32724. "creatorid": {
  32725. "description": "创建人",
  32726. "type": "integer"
  32727. },
  32728. "daymaxvalue": {
  32729. "description": "当日最大转入限制",
  32730. "type": "number"
  32731. },
  32732. "freezedays": {
  32733. "description": "冻结天数 [5:花生米转交易]",
  32734. "type": "integer"
  32735. },
  32736. "innergoodsid": {
  32737. "description": "内部商品ID[交易]",
  32738. "type": "integer"
  32739. },
  32740. "inratio": {
  32741. "description": "目标值",
  32742. "type": "integer"
  32743. },
  32744. "modifierid": {
  32745. "description": "修改人",
  32746. "type": "integer"
  32747. },
  32748. "modifytime": {
  32749. "description": "修改时间",
  32750. "type": "string"
  32751. },
  32752. "outergoodscode": {
  32753. "description": "外部商品代码[JD\\PD]",
  32754. "type": "string"
  32755. },
  32756. "outratio": {
  32757. "description": "源值",
  32758. "type": "integer"
  32759. },
  32760. "pddecimalplace": {
  32761. "description": "PD小数位",
  32762. "type": "integer"
  32763. },
  32764. "timemaxvalue": {
  32765. "description": "单次最大转入限制",
  32766. "type": "number"
  32767. },
  32768. "timeminvalue": {
  32769. "description": "单次最小转入限制",
  32770. "type": "number"
  32771. }
  32772. }
  32773. },
  32774. "models.Szdz3searchwhitelist": {
  32775. "type": "object",
  32776. "required": [
  32777. "userid"
  32778. ],
  32779. "properties": {
  32780. "createtime": {
  32781. "description": "创建时间",
  32782. "type": "string"
  32783. },
  32784. "creatorid": {
  32785. "description": "创建人",
  32786. "type": "integer"
  32787. },
  32788. "modifierid": {
  32789. "description": "修改人",
  32790. "type": "integer"
  32791. },
  32792. "modifytime": {
  32793. "description": "修改时间",
  32794. "type": "string"
  32795. },
  32796. "userid": {
  32797. "description": "用户ID",
  32798. "type": "integer"
  32799. }
  32800. }
  32801. },
  32802. "models.TBGoods": {
  32803. "type": "object",
  32804. "properties": {
  32805. "agreeunit": {
  32806. "description": "合约乘数",
  32807. "type": "number"
  32808. },
  32809. "enumdicname": {
  32810. "description": "单位名称",
  32811. "type": "string"
  32812. },
  32813. "goodscode": {
  32814. "description": "商品代码(内部)",
  32815. "type": "string"
  32816. },
  32817. "goodsid": {
  32818. "description": "商品ID(自增ID SEQ_GOODS)",
  32819. "type": "integer"
  32820. },
  32821. "goodsname": {
  32822. "description": "商品名称",
  32823. "type": "string"
  32824. }
  32825. }
  32826. },
  32827. "models.TBGoodsGroup": {
  32828. "type": "object",
  32829. "properties": {
  32830. "GDLST": {
  32831. "description": "商品列表",
  32832. "type": "array",
  32833. "items": {
  32834. "$ref": "#/definitions/models.TBGoods"
  32835. }
  32836. },
  32837. "convertratio": {
  32838. "description": "折算系数",
  32839. "type": "number"
  32840. },
  32841. "enumdicname": {
  32842. "description": "单位名称",
  32843. "type": "string"
  32844. },
  32845. "exexchangecode": {
  32846. "description": "交易所代码",
  32847. "type": "string"
  32848. },
  32849. "exexchangename": {
  32850. "description": "交易所名称",
  32851. "type": "string"
  32852. },
  32853. "goodsgroupid": {
  32854. "description": "商品组ID(自增ID)",
  32855. "type": "integer"
  32856. },
  32857. "goodsgroupname": {
  32858. "description": "商品组名称",
  32859. "type": "string"
  32860. },
  32861. "goodunitid": {
  32862. "description": "报价单位ID",
  32863. "type": "integer"
  32864. }
  32865. }
  32866. },
  32867. "models.TBMiddleGoods": {
  32868. "type": "object",
  32869. "properties": {
  32870. "GPLST": {
  32871. "description": "期货品种列表",
  32872. "type": "array",
  32873. "items": {
  32874. "$ref": "#/definitions/models.TBGoodsGroup"
  32875. }
  32876. },
  32877. "WDLST": {
  32878. "description": "商品信息列表(现货品类)",
  32879. "type": "array",
  32880. "items": {
  32881. "$ref": "#/definitions/models.TBWrstandard"
  32882. }
  32883. },
  32884. "areauserid": {
  32885. "description": "机构用户ID",
  32886. "type": "integer"
  32887. },
  32888. "enumdicname": {
  32889. "description": "单位名称",
  32890. "type": "string"
  32891. },
  32892. "goodsunitid": {
  32893. "description": "套保品种单位id",
  32894. "type": "integer"
  32895. },
  32896. "middlegoodscode": {
  32897. "description": "套保品种代码",
  32898. "type": "string"
  32899. },
  32900. "middlegoodsid": {
  32901. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  32902. "type": "integer"
  32903. },
  32904. "middlegoodsname": {
  32905. "description": "套保品种名称",
  32906. "type": "string"
  32907. },
  32908. "needarbitrageratio": {
  32909. "description": "套利比率",
  32910. "type": "number"
  32911. },
  32912. "needhedgeratio": {
  32913. "description": "套保比率",
  32914. "type": "number"
  32915. }
  32916. }
  32917. },
  32918. "models.TBWrstandard": {
  32919. "type": "object",
  32920. "properties": {
  32921. "convertratio": {
  32922. "description": "折算系数",
  32923. "type": "number"
  32924. },
  32925. "deliverygoodsname": {
  32926. "description": "品种名称",
  32927. "type": "string"
  32928. },
  32929. "enumdicname": {
  32930. "description": "单位名称",
  32931. "type": "string"
  32932. },
  32933. "vatrate": {
  32934. "description": "增值税率",
  32935. "type": "number"
  32936. },
  32937. "wrstandardcode": {
  32938. "description": "现货商品代码",
  32939. "type": "string"
  32940. },
  32941. "wrstandardid": {
  32942. "description": "现货商品ID(SEQ_WRSTANDARD)",
  32943. "type": "integer"
  32944. },
  32945. "wrstandardname": {
  32946. "description": "现货商品名称",
  32947. "type": "string"
  32948. }
  32949. }
  32950. },
  32951. "models.Taaccount": {
  32952. "type": "object",
  32953. "required": [
  32954. "accountid",
  32955. "userid"
  32956. ],
  32957. "properties": {
  32958. "accountflag": {
  32959. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  32960. "type": "integer"
  32961. },
  32962. "accountid": {
  32963. "description": "资金账户ID",
  32964. "type": "integer"
  32965. },
  32966. "accountname": {
  32967. "description": "账户名称",
  32968. "type": "string"
  32969. },
  32970. "balance": {
  32971. "description": "期初余额",
  32972. "type": "number"
  32973. },
  32974. "capitalbalance": {
  32975. "description": "本金余额[外部子账户实际出入金余额]",
  32976. "type": "number"
  32977. },
  32978. "changeflag": {
  32979. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  32980. "type": "integer"
  32981. },
  32982. "changetime": {
  32983. "description": "账户状态变更时间",
  32984. "type": "string"
  32985. },
  32986. "closepl": {
  32987. "description": "今日平仓盈亏",
  32988. "type": "number"
  32989. },
  32990. "creditdecrease": {
  32991. "description": "今日授信减少",
  32992. "type": "number"
  32993. },
  32994. "creditincrease": {
  32995. "description": "今日授信增加",
  32996. "type": "number"
  32997. },
  32998. "curamount": {
  32999. "description": "总市值(从持仓中统计)",
  33000. "type": "number"
  33001. },
  33002. "currencyid": {
  33003. "description": "货币ID",
  33004. "type": "integer"
  33005. },
  33006. "currentbalance": {
  33007. "description": "期末余额",
  33008. "type": "number"
  33009. },
  33010. "freezecharge": {
  33011. "description": "手续费冻结",
  33012. "type": "number"
  33013. },
  33014. "freezemargin": {
  33015. "description": "冻结保证金",
  33016. "type": "number"
  33017. },
  33018. "fromaccountid": {
  33019. "description": "所属上级账户",
  33020. "type": "integer"
  33021. },
  33022. "inamount": {
  33023. "description": "今日入金金额(包括三方入金)",
  33024. "type": "number"
  33025. },
  33026. "ismain": {
  33027. "description": "是否母账号 0:不是母账户 1:是母账户",
  33028. "type": "integer"
  33029. },
  33030. "ismarketaccount": {
  33031. "description": "是否机构接单账号 0:不是 1:是",
  33032. "type": "integer"
  33033. },
  33034. "isreckonaccount": {
  33035. "description": "是否机构分润账号 0:不是 1:是",
  33036. "type": "integer"
  33037. },
  33038. "mortgagecredit": {
  33039. "description": "授信金额",
  33040. "type": "number"
  33041. },
  33042. "orifreezecharge": {
  33043. "description": "期初手续费冻结",
  33044. "type": "number"
  33045. },
  33046. "orifreezemargin": {
  33047. "description": "期初冻结保证金",
  33048. "type": "number"
  33049. },
  33050. "orimortgagecredit": {
  33051. "description": "期初授信金额",
  33052. "type": "number"
  33053. },
  33054. "oriothercredit": {
  33055. "description": "期初其它授信金额",
  33056. "type": "number"
  33057. },
  33058. "oriotherfreezemargin": {
  33059. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  33060. "type": "number"
  33061. },
  33062. "orioutamountfreeze": {
  33063. "description": "期初出金冻结",
  33064. "type": "number"
  33065. },
  33066. "oriusedmargin": {
  33067. "description": "期初占用保证金",
  33068. "type": "number"
  33069. },
  33070. "othercredit": {
  33071. "description": "其它授信金额",
  33072. "type": "number"
  33073. },
  33074. "othercreditdecrease": {
  33075. "description": "今日其它授信减少",
  33076. "type": "number"
  33077. },
  33078. "othercreditincrease": {
  33079. "description": "今日其它授信增加",
  33080. "type": "number"
  33081. },
  33082. "otherfreezemargin": {
  33083. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  33084. "type": "number"
  33085. },
  33086. "otherincome": {
  33087. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  33088. "type": "number"
  33089. },
  33090. "otherpay": {
  33091. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  33092. "type": "number"
  33093. },
  33094. "outamount": {
  33095. "description": "今日出金金额(包括三方出金)",
  33096. "type": "number"
  33097. },
  33098. "outamountfreeze": {
  33099. "description": "出金冻结",
  33100. "type": "number"
  33101. },
  33102. "outthreshold": {
  33103. "description": "出金阈值",
  33104. "type": "number"
  33105. },
  33106. "parentaccountid": {
  33107. "description": "所属根账号",
  33108. "type": "integer"
  33109. },
  33110. "paycharge": {
  33111. "description": "今日手续费支出",
  33112. "type": "number"
  33113. },
  33114. "relatedaccountstatus": {
  33115. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  33116. "type": "integer"
  33117. },
  33118. "relateduserid": {
  33119. "description": "关联用户",
  33120. "type": "integer"
  33121. },
  33122. "remainamount": {
  33123. "description": "融资额(从融资合同中统计)",
  33124. "type": "number"
  33125. },
  33126. "serivcegroup": {
  33127. "description": "服务分组",
  33128. "type": "integer"
  33129. },
  33130. "signstatus": {
  33131. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  33132. "type": "integer"
  33133. },
  33134. "sublevelpath": {
  33135. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  33136. "type": "string"
  33137. },
  33138. "taaccounttype": {
  33139. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  33140. "type": "integer"
  33141. },
  33142. "thirdinamount": {
  33143. "description": "今日三方入金",
  33144. "type": "number"
  33145. },
  33146. "thirdoutamount": {
  33147. "description": "今日三方出金",
  33148. "type": "number"
  33149. },
  33150. "tradestatus": {
  33151. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  33152. "type": "integer"
  33153. },
  33154. "tradestatuschangetime": {
  33155. "description": "激活时间",
  33156. "type": "string"
  33157. },
  33158. "transferamount": {
  33159. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  33160. "type": "number"
  33161. },
  33162. "usedmargin": {
  33163. "description": "占用保证金",
  33164. "type": "number"
  33165. },
  33166. "userid": {
  33167. "description": "用户ID",
  33168. "type": "integer"
  33169. }
  33170. }
  33171. },
  33172. "models.Tablecolumnconfig": {
  33173. "type": "object",
  33174. "required": [
  33175. "autoid"
  33176. ],
  33177. "properties": {
  33178. "aligntype": {
  33179. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  33180. "type": "integer"
  33181. },
  33182. "autoid": {
  33183. "description": "AutoID",
  33184. "type": "integer"
  33185. },
  33186. "columnfield": {
  33187. "description": "列字段",
  33188. "type": "string"
  33189. },
  33190. "columntitle": {
  33191. "description": "列Title",
  33192. "type": "string"
  33193. },
  33194. "columnwidth": {
  33195. "description": "列宽",
  33196. "type": "string"
  33197. },
  33198. "formatterstring": {
  33199. "description": "格式化字符",
  33200. "type": "string"
  33201. },
  33202. "formattertype": {
  33203. "description": "格式化类型",
  33204. "type": "string"
  33205. },
  33206. "groupname": {
  33207. "description": "表头分组名称",
  33208. "type": "string"
  33209. },
  33210. "isshow": {
  33211. "description": "是否显示 - 0:不显示 1:显示",
  33212. "type": "integer"
  33213. },
  33214. "needsummary": {
  33215. "description": "是否需要汇总 - 0:不需要 1:需要",
  33216. "type": "integer"
  33217. },
  33218. "orderindex": {
  33219. "description": "顺序",
  33220. "type": "integer"
  33221. },
  33222. "remark": {
  33223. "description": "备注",
  33224. "type": "string"
  33225. },
  33226. "summarytype": {
  33227. "description": "汇总类型 - 1:加总 2:最后一个",
  33228. "type": "integer"
  33229. },
  33230. "tablekey": {
  33231. "description": "列表Key",
  33232. "type": "string"
  33233. }
  33234. }
  33235. },
  33236. "models.TjmdHolderDetailTradeInfo": {
  33237. "type": "object",
  33238. "properties": {
  33239. "agreeunit": {
  33240. "description": "合约乘数",
  33241. "type": "number"
  33242. },
  33243. "buyaccountid": {
  33244. "description": "买方账户",
  33245. "type": "string"
  33246. },
  33247. "buyusername": {
  33248. "description": "买方",
  33249. "type": "string"
  33250. },
  33251. "delistingdate": {
  33252. "description": "最后结算日",
  33253. "type": "string"
  33254. },
  33255. "expiredate": {
  33256. "description": "到期结算价定价日",
  33257. "type": "string"
  33258. },
  33259. "exprieprice": {
  33260. "description": "到期清算价格",
  33261. "type": "string"
  33262. },
  33263. "goodscode": {
  33264. "description": "商品代码",
  33265. "type": "string"
  33266. },
  33267. "goodsid": {
  33268. "description": "商品ID",
  33269. "type": "integer"
  33270. },
  33271. "goodsname": {
  33272. "description": "商品名称(交易标的)",
  33273. "type": "string"
  33274. },
  33275. "lasttradedate": {
  33276. "description": "最后交易日",
  33277. "type": "string"
  33278. },
  33279. "listingdate": {
  33280. "description": "开始交易日",
  33281. "type": "string"
  33282. },
  33283. "openprice": {
  33284. "description": "成交价",
  33285. "type": "number"
  33286. },
  33287. "openqty": {
  33288. "description": "交易数量",
  33289. "type": "integer"
  33290. },
  33291. "sellaccountid": {
  33292. "description": "卖方账户",
  33293. "type": "string"
  33294. },
  33295. "sellusername": {
  33296. "description": "卖方",
  33297. "type": "string"
  33298. },
  33299. "tradeamount": {
  33300. "description": "初始名义价值",
  33301. "type": "number"
  33302. },
  33303. "tradedate": {
  33304. "description": "成交日期",
  33305. "type": "string"
  33306. },
  33307. "tradeid": {
  33308. "description": "成交编号",
  33309. "type": "string"
  33310. }
  33311. }
  33312. },
  33313. "models.TjmdMarketSection": {
  33314. "type": "object",
  33315. "properties": {
  33316. "marketsectionid": {
  33317. "description": "市场版块ID(SEQ_MARKETSECTION)",
  33318. "type": "integer"
  33319. },
  33320. "marketsectionname": {
  33321. "description": "市场版块名称",
  33322. "type": "string"
  33323. },
  33324. "mlist": {
  33325. "description": "市场列表(板块下面有多少个市场)",
  33326. "type": "array",
  33327. "items": {
  33328. "$ref": "#/definitions/models.TjmdMarketSectionConfig"
  33329. }
  33330. },
  33331. "orderindex": {
  33332. "description": "排序",
  33333. "type": "integer"
  33334. },
  33335. "pictureurl": {
  33336. "description": "图片url, 规格(90*90)",
  33337. "type": "string"
  33338. },
  33339. "remark": {
  33340. "description": "备注",
  33341. "type": "string"
  33342. }
  33343. }
  33344. },
  33345. "models.TjmdMarketSectionConfig": {
  33346. "type": "object",
  33347. "properties": {
  33348. "auctionwrtype": {
  33349. "description": "仓单类型(现货交易) - 1:无仓单 2:有仓单 3;有无仓单均可",
  33350. "type": "integer"
  33351. },
  33352. "canacceptquote": {
  33353. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  33354. "type": "integer"
  33355. },
  33356. "cangoodsexercise": {
  33357. "description": "[期权]是否可现货行权- 0:否 1:是",
  33358. "type": "integer"
  33359. },
  33360. "cangoodsexercisetype": {
  33361. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  33362. "type": "integer"
  33363. },
  33364. "canmanualquotestrike": {
  33365. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  33366. "type": "integer"
  33367. },
  33368. "canmutistage": {
  33369. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  33370. "type": "integer"
  33371. },
  33372. "canpreexercise": {
  33373. "description": "[期权]是否可预申报- 0:否 1:是",
  33374. "type": "integer"
  33375. },
  33376. "clearinterval": {
  33377. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  33378. "type": "integer"
  33379. },
  33380. "contracttmp": {
  33381. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  33382. "type": "string"
  33383. },
  33384. "exchareaid": {
  33385. "description": "所属交易所,可以没有",
  33386. "type": "integer"
  33387. },
  33388. "financemarketid": {
  33389. "description": "融资回购市场ID [仓单贸易]",
  33390. "type": "integer"
  33391. },
  33392. "goodstype": {
  33393. "description": "商品类型 - 1:交易商品 2:仓单商品",
  33394. "type": "integer"
  33395. },
  33396. "hasrebate": {
  33397. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  33398. "type": "integer"
  33399. },
  33400. "hastradecredit": {
  33401. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  33402. "type": "integer"
  33403. },
  33404. "haswr": {
  33405. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  33406. "type": "integer"
  33407. },
  33408. "isdeductmargin": {
  33409. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  33410. "type": "integer"
  33411. },
  33412. "isrecordsource": {
  33413. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  33414. "type": "integer"
  33415. },
  33416. "isreleasemargin": {
  33417. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  33418. "type": "integer"
  33419. },
  33420. "isupdatereckonprice": {
  33421. "description": "输入结算价标识 - 0:系统生成 1:手工输入(自动) 2:手工输入(手动)",
  33422. "type": "integer"
  33423. },
  33424. "listingmode": {
  33425. "description": "挂牌方式 1:一口价 2:浮动价 3:贸易圈 4:协议指定",
  33426. "type": "integer"
  33427. },
  33428. "marginformula": {
  33429. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  33430. "type": "integer"
  33431. },
  33432. "marginformula2": {
  33433. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  33434. "type": "integer"
  33435. },
  33436. "marketid": {
  33437. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  33438. "type": "integer"
  33439. },
  33440. "marketname": {
  33441. "description": "市场名称",
  33442. "type": "string"
  33443. },
  33444. "marketsectionid": {
  33445. "description": "市场版块ID(SEQ_MARKETSECTION)",
  33446. "type": "integer"
  33447. },
  33448. "marketserviceid": {
  33449. "description": "市场服务ID",
  33450. "type": "integer"
  33451. },
  33452. "marketstatus": {
  33453. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  33454. "type": "integer"
  33455. },
  33456. "markettype": {
  33457. "description": "市场类型- 1:非交易服务 2:交易服务",
  33458. "type": "integer"
  33459. },
  33460. "matchermode": {
  33461. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手 - 作废",
  33462. "type": "integer"
  33463. },
  33464. "nowrquotaflag": {
  33465. "description": "是否校验无仓单额度(仓单贸易) 0:否 1:是",
  33466. "type": "integer"
  33467. },
  33468. "openmethod": {
  33469. "description": "开盘模式 - 0 自动 1手动",
  33470. "type": "integer"
  33471. },
  33472. "orderindex": {
  33473. "description": "排序",
  33474. "type": "integer"
  33475. },
  33476. "otcuserid": {
  33477. "description": "场外期权做市商[场外期权]",
  33478. "type": "integer"
  33479. },
  33480. "outersynctime": {
  33481. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  33482. "type": "string"
  33483. },
  33484. "paylaterflag": {
  33485. "description": "是否支持后付 - 0:不支持 1;支持 - [挂牌点选 所有权、预售挂牌支持]",
  33486. "type": "integer"
  33487. },
  33488. "pendingflag": {
  33489. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  33490. "type": "integer"
  33491. },
  33492. "pendingtime": {
  33493. "description": "待开市时间[通道交易-对冲](HH:mm)",
  33494. "type": "string"
  33495. },
  33496. "performancetempid": {
  33497. "description": "履约计划模板ID - 作废",
  33498. "type": "integer"
  33499. },
  33500. "premiumquotemode": {
  33501. "description": "权利金报价方式 - 1:自动 2:手动",
  33502. "type": "integer"
  33503. },
  33504. "rebateratio": {
  33505. "description": "返利比率[竞价式]",
  33506. "type": "number"
  33507. },
  33508. "reckonorder": {
  33509. "description": "结算顺序",
  33510. "type": "integer"
  33511. },
  33512. "reckonpricealgorithm": {
  33513. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  33514. "type": "integer"
  33515. },
  33516. "reckonpriceparam": {
  33517. "description": "结算价参数",
  33518. "type": "integer"
  33519. },
  33520. "reckontime": {
  33521. "description": "结算时间[通道交易-对冲](HH:mm)",
  33522. "type": "string"
  33523. },
  33524. "roleprioritytype": {
  33525. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  33526. "type": "integer"
  33527. },
  33528. "selllistingauditflag": {
  33529. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  33530. "type": "integer"
  33531. },
  33532. "trademarkettype": {
  33533. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  33534. "type": "integer"
  33535. },
  33536. "trademode": {
  33537. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  33538. "type": "integer"
  33539. },
  33540. "tradeproperty": {
  33541. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  33542. "type": "integer"
  33543. },
  33544. "tradetype": {
  33545. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  33546. "type": "integer"
  33547. },
  33548. "updatereckonpriceinterval": {
  33549. "description": "输入结算价时长(分钟) [1:手工输入(自动)]",
  33550. "type": "integer"
  33551. }
  33552. }
  33553. },
  33554. "models.TjmdQuoteGoods": {
  33555. "type": "object",
  33556. "properties": {
  33557. "buyqty": {
  33558. "description": "买量(暂不做, 无值, 保留字段)",
  33559. "type": "number"
  33560. },
  33561. "decimalplace": {
  33562. "description": "报价小数位",
  33563. "type": "integer"
  33564. },
  33565. "goodscode": {
  33566. "description": "合约代码",
  33567. "type": "string"
  33568. },
  33569. "goodsgroupid": {
  33570. "description": "商品组ID(自增ID)",
  33571. "type": "integer"
  33572. },
  33573. "goodsgroupname": {
  33574. "description": "商品组名称",
  33575. "type": "string"
  33576. },
  33577. "goodsid": {
  33578. "description": "合约id",
  33579. "type": "integer"
  33580. },
  33581. "goodsname": {
  33582. "description": "合约名称",
  33583. "type": "string"
  33584. },
  33585. "refgoodscode": {
  33586. "description": "标的合约代码",
  33587. "type": "string"
  33588. },
  33589. "refgoodsid": {
  33590. "description": "标的合约id",
  33591. "type": "integer"
  33592. },
  33593. "refgoodsname": {
  33594. "description": "标的合约名称",
  33595. "type": "string"
  33596. },
  33597. "sellqty": {
  33598. "description": "卖量(暂不做, 无值, 保留字段)",
  33599. "type": "number"
  33600. }
  33601. }
  33602. },
  33603. "models.TjmdTodayAccountMargin": {
  33604. "type": "object",
  33605. "properties": {
  33606. "accountid": {
  33607. "description": "账号ID",
  33608. "type": "integer"
  33609. },
  33610. "goodsid": {
  33611. "description": "商品ID",
  33612. "type": "integer"
  33613. },
  33614. "infoc": {
  33615. "description": "配置参数",
  33616. "$ref": "#/definitions/pb.GoodsMarginCfgStruct"
  33617. },
  33618. "marketid": {
  33619. "description": "市场ID",
  33620. "type": "integer"
  33621. }
  33622. }
  33623. },
  33624. "models.TjmdTradeOrderDetail": {
  33625. "type": "object",
  33626. "properties": {
  33627. "buyorsell": {
  33628. "description": "买卖方向 0-买 1-卖",
  33629. "type": "integer"
  33630. },
  33631. "goodsid": {
  33632. "description": "商品id",
  33633. "type": "integer"
  33634. },
  33635. "marketmaxsub": {
  33636. "description": "市价最大偏移范围 [浮动价 - 点差]",
  33637. "type": "number"
  33638. },
  33639. "orderid": {
  33640. "description": "委托单号",
  33641. "type": "string"
  33642. },
  33643. "orderprice": {
  33644. "description": "委托价格",
  33645. "type": "number"
  33646. },
  33647. "orderqty": {
  33648. "description": "委托数量",
  33649. "type": "integer"
  33650. },
  33651. "pricemode": {
  33652. "description": "取价方式 - 1:市价 2: 限价 3:浮动价",
  33653. "type": "integer"
  33654. },
  33655. "userid": {
  33656. "description": "用户id",
  33657. "type": "integer"
  33658. },
  33659. "username": {
  33660. "description": "用户名称(已脱敏)",
  33661. "type": "string"
  33662. }
  33663. }
  33664. },
  33665. "models.TjmdTransferApply": {
  33666. "type": "object",
  33667. "properties": {
  33668. "applyid": {
  33669. "description": "申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)",
  33670. "type": "integer"
  33671. },
  33672. "applystatus": {
  33673. "description": "状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销",
  33674. "type": "integer"
  33675. },
  33676. "applytime": {
  33677. "description": "申请时间(时间)",
  33678. "type": "string"
  33679. },
  33680. "auditremark": {
  33681. "description": "审核备注(拒绝原因?)",
  33682. "type": "string"
  33683. },
  33684. "begindate": {
  33685. "description": "开始交易日(yyyymmdd)",
  33686. "type": "string"
  33687. },
  33688. "buyorsell": {
  33689. "description": "买卖 - 0:买 1:卖",
  33690. "type": "integer"
  33691. },
  33692. "enddate": {
  33693. "description": "结束交易日(yyyymmdd)",
  33694. "type": "string"
  33695. },
  33696. "goodscode": {
  33697. "description": "商品代码",
  33698. "type": "string"
  33699. },
  33700. "goodsid": {
  33701. "description": "商品ID",
  33702. "type": "integer"
  33703. },
  33704. "goodsname": {
  33705. "description": "商品名称",
  33706. "type": "string"
  33707. },
  33708. "marketid": {
  33709. "description": "市场ID",
  33710. "type": "integer"
  33711. },
  33712. "qty": {
  33713. "description": "转让数量(数量)",
  33714. "type": "number"
  33715. },
  33716. "tradeid": {
  33717. "description": "成交单号(关联持仓)",
  33718. "type": "string"
  33719. },
  33720. "transferamount": {
  33721. "description": "转让总金额(金额)",
  33722. "type": "number"
  33723. },
  33724. "transferprice": {
  33725. "description": "转让价格(协议价格)",
  33726. "type": "number"
  33727. }
  33728. }
  33729. },
  33730. "models.TradeHolderDetail": {
  33731. "type": "object",
  33732. "properties": {
  33733. "accountid": {
  33734. "description": "账号ID",
  33735. "type": "integer"
  33736. },
  33737. "agreeunit": {
  33738. "description": "合约乘数",
  33739. "type": "number"
  33740. },
  33741. "buyorsell": {
  33742. "description": "方向 - 0:买 1:卖",
  33743. "type": "integer"
  33744. },
  33745. "currencyid": {
  33746. "description": "商品币种id",
  33747. "type": "integer"
  33748. },
  33749. "currencyname": {
  33750. "description": "币种名称",
  33751. "type": "string"
  33752. },
  33753. "decimalplace": {
  33754. "description": "商品价格小数位",
  33755. "type": "integer"
  33756. },
  33757. "enumdicname": {
  33758. "description": "商品单位名称",
  33759. "type": "string"
  33760. },
  33761. "expirecycle": {
  33762. "description": "行权周期(天) - 1:滚动行权时填写",
  33763. "type": "integer"
  33764. },
  33765. "expiredate": {
  33766. "description": "行权日(yyyyMMdd) - 到期日",
  33767. "type": "string"
  33768. },
  33769. "expiretype": {
  33770. "description": "行权日类型 - 1:滚动行权 2:固定日行权",
  33771. "type": "integer"
  33772. },
  33773. "freezeqty": {
  33774. "description": "冻结数量",
  33775. "type": "number"
  33776. },
  33777. "goodscode": {
  33778. "description": "商品代码",
  33779. "type": "string"
  33780. },
  33781. "goodsid": {
  33782. "description": "商品ID",
  33783. "type": "integer"
  33784. },
  33785. "goodsname": {
  33786. "description": "商品名称",
  33787. "type": "string"
  33788. },
  33789. "goodunitid": {
  33790. "description": "商品单位id",
  33791. "type": "integer"
  33792. },
  33793. "holderamount": {
  33794. "description": "持仓金额",
  33795. "type": "number"
  33796. },
  33797. "holdercredit": {
  33798. "description": "持仓授信金额",
  33799. "type": "number"
  33800. },
  33801. "holderdays": {
  33802. "description": "剩余冻结天数",
  33803. "type": "integer"
  33804. },
  33805. "holderprice": {
  33806. "description": "持仓价格",
  33807. "type": "number"
  33808. },
  33809. "holderqty": {
  33810. "description": "持仓数量",
  33811. "type": "number"
  33812. },
  33813. "isconfirmexercise": {
  33814. "description": "是否确认行权- 0:否 1:是",
  33815. "type": "integer"
  33816. },
  33817. "ispreexercise": {
  33818. "description": "是否预申报- 0:否 1:是 2:不可行权",
  33819. "type": "integer"
  33820. },
  33821. "marketid": {
  33822. "description": "市场id",
  33823. "type": "integer"
  33824. },
  33825. "marketname": {
  33826. "description": "市场名称",
  33827. "type": "string"
  33828. },
  33829. "openprice": {
  33830. "description": "建仓价格",
  33831. "type": "number"
  33832. },
  33833. "openqty": {
  33834. "description": "建仓数量",
  33835. "type": "number"
  33836. },
  33837. "optiontype": {
  33838. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  33839. "type": "integer"
  33840. },
  33841. "preexerciseprice": {
  33842. "description": "预申报价格",
  33843. "type": "number"
  33844. },
  33845. "premium": {
  33846. "description": "权利金",
  33847. "type": "number"
  33848. },
  33849. "qtydecimalplace": {
  33850. "description": "商品成交量小数位",
  33851. "type": "integer"
  33852. },
  33853. "refgoodscode": {
  33854. "description": "标的合约代码",
  33855. "type": "string"
  33856. },
  33857. "refgoodsid": {
  33858. "description": "标的合约id",
  33859. "type": "integer"
  33860. },
  33861. "releaseamount": {
  33862. "description": "释放持仓金额",
  33863. "type": "number"
  33864. },
  33865. "releaseholdercredit": {
  33866. "description": "释放持仓授信金额",
  33867. "type": "number"
  33868. },
  33869. "taname": {
  33870. "description": "资金账号名称",
  33871. "type": "string"
  33872. },
  33873. "tradeamount": {
  33874. "description": "成交金额",
  33875. "type": "number"
  33876. },
  33877. "tradedate": {
  33878. "description": "交易日(yyyyMMdd)",
  33879. "type": "string"
  33880. },
  33881. "tradeid": {
  33882. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  33883. "type": "string"
  33884. },
  33885. "trademode": {
  33886. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价 46:掉期",
  33887. "type": "integer"
  33888. },
  33889. "tradeproperty": {
  33890. "description": "交易属性",
  33891. "type": "integer"
  33892. },
  33893. "tradetime": {
  33894. "description": "交易时间",
  33895. "type": "string"
  33896. },
  33897. "userid": {
  33898. "description": "用户id",
  33899. "type": "integer"
  33900. },
  33901. "username": {
  33902. "description": "用户名称",
  33903. "type": "string"
  33904. }
  33905. }
  33906. },
  33907. "models.UserCollectConfig": {
  33908. "type": "object",
  33909. "properties": {
  33910. "accountstatus": {
  33911. "description": "账户状态 - 1:正常 2:停用 3:注销",
  33912. "type": "integer"
  33913. },
  33914. "collectaccountname": {
  33915. "description": "收款人账户名称",
  33916. "type": "string"
  33917. },
  33918. "collectaccountno": {
  33919. "description": "收款人账户",
  33920. "type": "string"
  33921. },
  33922. "collectbankname": {
  33923. "description": "收款人开户行",
  33924. "type": "string"
  33925. },
  33926. "collectbranchbankname": {
  33927. "description": "收款人开户支行",
  33928. "type": "string"
  33929. },
  33930. "collectconfigid": {
  33931. "description": "收款账户配置ID(SEQ_USERCOLLECTCONFIG)",
  33932. "type": "string"
  33933. },
  33934. "remark": {
  33935. "description": "备注",
  33936. "type": "string"
  33937. },
  33938. "userid": {
  33939. "description": "收款人用户ID",
  33940. "type": "integer"
  33941. }
  33942. }
  33943. },
  33944. "models.UserReceiveInfo": {
  33945. "type": "object",
  33946. "properties": {
  33947. "address": {
  33948. "description": "提货人详细地址",
  33949. "type": "string"
  33950. },
  33951. "autoid": {
  33952. "description": "AutoID",
  33953. "type": "integer"
  33954. },
  33955. "cardnum": {
  33956. "description": "证件号码(加密存储)",
  33957. "type": "string"
  33958. },
  33959. "cardtypeid": {
  33960. "description": "证件类型",
  33961. "type": "integer"
  33962. },
  33963. "cityid": {
  33964. "description": "市",
  33965. "type": "integer"
  33966. },
  33967. "cityname": {
  33968. "description": "城市名称",
  33969. "type": "string"
  33970. },
  33971. "countryid": {
  33972. "description": "国家",
  33973. "type": "integer"
  33974. },
  33975. "countryname": {
  33976. "description": "国家名称",
  33977. "type": "string"
  33978. },
  33979. "districtid": {
  33980. "description": "地区",
  33981. "type": "integer"
  33982. },
  33983. "districtname": {
  33984. "description": "地区名称",
  33985. "type": "string"
  33986. },
  33987. "hasencrypt": {
  33988. "description": "数据是否已加密 - 0:未加密 1:已加密",
  33989. "type": "integer"
  33990. },
  33991. "isdefault": {
  33992. "description": "是否默认地址 - 0:否 1:是",
  33993. "type": "integer"
  33994. },
  33995. "phonenum": {
  33996. "description": "提货人联系方式(加密存储)",
  33997. "type": "string"
  33998. },
  33999. "provinceid": {
  34000. "description": "省",
  34001. "type": "integer"
  34002. },
  34003. "provincename": {
  34004. "description": "省名称",
  34005. "type": "string"
  34006. },
  34007. "receivername": {
  34008. "description": "提货人姓名",
  34009. "type": "string"
  34010. },
  34011. "takeremark": {
  34012. "description": "提货备注",
  34013. "type": "string"
  34014. },
  34015. "userid": {
  34016. "description": "用户ID",
  34017. "type": "integer"
  34018. }
  34019. }
  34020. },
  34021. "models.Useraccount": {
  34022. "type": "object",
  34023. "required": [
  34024. "userid"
  34025. ],
  34026. "properties": {
  34027. "accountname": {
  34028. "description": "账户名称(机构名称)",
  34029. "type": "string"
  34030. },
  34031. "accountstatus": {
  34032. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  34033. "type": "integer"
  34034. },
  34035. "applysrc": {
  34036. "description": "申请来源 - 1:管理端 2:终端",
  34037. "type": "integer"
  34038. },
  34039. "auditremark": {
  34040. "description": "审核备注",
  34041. "type": "string"
  34042. },
  34043. "auditsrc": {
  34044. "description": "审核来源 - 1:管理端 2:终端",
  34045. "type": "integer"
  34046. },
  34047. "audittime": {
  34048. "description": "审核时间",
  34049. "type": "string"
  34050. },
  34051. "audituserid": {
  34052. "description": "审核人",
  34053. "type": "integer"
  34054. },
  34055. "broker": {
  34056. "description": "所属经纪人ID",
  34057. "type": "integer"
  34058. },
  34059. "canceltime": {
  34060. "description": "销户时间",
  34061. "type": "string"
  34062. },
  34063. "canceluserid": {
  34064. "description": "销户人",
  34065. "type": "integer"
  34066. },
  34067. "canrecommend": {
  34068. "description": "是否可推荐 - 0:不可 1;可",
  34069. "type": "integer"
  34070. },
  34071. "createtime": {
  34072. "description": "创建时间",
  34073. "type": "string"
  34074. },
  34075. "creatorid": {
  34076. "description": "创建人",
  34077. "type": "integer"
  34078. },
  34079. "hasauth": {
  34080. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  34081. "type": "integer"
  34082. },
  34083. "isanonymous": {
  34084. "description": "是否匿名下单 - 0:否 1:是",
  34085. "type": "integer"
  34086. },
  34087. "maxinvestornum": {
  34088. "description": "最大用户数(经纪会员下投资者个数)",
  34089. "type": "integer"
  34090. },
  34091. "memberuserid": {
  34092. "description": "所属会员ID",
  34093. "type": "integer"
  34094. },
  34095. "modifierid": {
  34096. "description": "修改人",
  34097. "type": "integer"
  34098. },
  34099. "modifyremark": {
  34100. "description": "变更备注",
  34101. "type": "string"
  34102. },
  34103. "modifystatus": {
  34104. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  34105. "type": "integer"
  34106. },
  34107. "modifytime": {
  34108. "description": "修改时间",
  34109. "type": "string"
  34110. },
  34111. "parenttopuser": {
  34112. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  34113. "type": "string"
  34114. },
  34115. "parentuserid": {
  34116. "description": "所属机构ID",
  34117. "type": "integer"
  34118. },
  34119. "reckonaccountid": {
  34120. "description": "默认结算资金账号ID(机构分润使用) 作废",
  34121. "type": "integer"
  34122. },
  34123. "refercount": {
  34124. "description": "推荐总人数",
  34125. "type": "integer"
  34126. },
  34127. "refereeuserid": {
  34128. "description": "推荐人ID",
  34129. "type": "integer"
  34130. },
  34131. "refernum": {
  34132. "description": "推荐码",
  34133. "type": "string"
  34134. },
  34135. "rootuserid": {
  34136. "description": "根用户ID",
  34137. "type": "integer"
  34138. },
  34139. "subaccountlevel": {
  34140. "description": "子账户层数",
  34141. "type": "integer"
  34142. },
  34143. "subarealevelpath": {
  34144. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  34145. "type": "string"
  34146. },
  34147. "userid": {
  34148. "description": "用户ID",
  34149. "type": "integer"
  34150. },
  34151. "usertype": {
  34152. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  34153. "type": "integer"
  34154. }
  34155. }
  34156. },
  34157. "models.Userfavoritegoods": {
  34158. "type": "object",
  34159. "required": [
  34160. "goodsid"
  34161. ],
  34162. "properties": {
  34163. "goodsid": {
  34164. "description": "商品ID",
  34165. "type": "integer"
  34166. }
  34167. }
  34168. },
  34169. "models.Userinfo": {
  34170. "type": "object",
  34171. "required": [
  34172. "userid"
  34173. ],
  34174. "properties": {
  34175. "address": {
  34176. "description": "地址",
  34177. "type": "string"
  34178. },
  34179. "attachment1": {
  34180. "description": "附件1",
  34181. "type": "string"
  34182. },
  34183. "attachment2": {
  34184. "description": "附件2",
  34185. "type": "string"
  34186. },
  34187. "bankaccount": {
  34188. "description": "银行帐号 (加密存储)",
  34189. "type": "string"
  34190. },
  34191. "bankaccountname": {
  34192. "description": "收款人名称",
  34193. "type": "string"
  34194. },
  34195. "bankcardfrontphotourl": {
  34196. "description": "银行卡正面照地址",
  34197. "type": "string"
  34198. },
  34199. "bankid": {
  34200. "description": "银行编码",
  34201. "type": "string"
  34202. },
  34203. "bankname": {
  34204. "description": "银行名称",
  34205. "type": "string"
  34206. },
  34207. "biznature": {
  34208. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  34209. "type": "integer"
  34210. },
  34211. "bizscope": {
  34212. "description": "企业经营范围(企业)",
  34213. "type": "string"
  34214. },
  34215. "cardbackphotourl": {
  34216. "description": "证件背面图片地址",
  34217. "type": "string"
  34218. },
  34219. "cardfrontphotourl": {
  34220. "description": "证件正面图片地址",
  34221. "type": "string"
  34222. },
  34223. "cardnum": {
  34224. "description": "证件号码(加密存储)",
  34225. "type": "string"
  34226. },
  34227. "cardtypeid": {
  34228. "description": "证件类型ID",
  34229. "type": "integer"
  34230. },
  34231. "cityid": {
  34232. "description": "市",
  34233. "type": "integer"
  34234. },
  34235. "company": {
  34236. "description": "公司(个人)",
  34237. "type": "string"
  34238. },
  34239. "contactname": {
  34240. "description": "联系人",
  34241. "type": "string"
  34242. },
  34243. "countryid": {
  34244. "description": "国家",
  34245. "type": "integer"
  34246. },
  34247. "createtime": {
  34248. "description": "创建时间",
  34249. "type": "string"
  34250. },
  34251. "creatorid": {
  34252. "description": "创建人",
  34253. "type": "integer"
  34254. },
  34255. "customername": {
  34256. "description": "客户名称(企业名称)",
  34257. "type": "string"
  34258. },
  34259. "districtid": {
  34260. "description": "地区",
  34261. "type": "integer"
  34262. },
  34263. "email": {
  34264. "description": "邮件(加密存储)",
  34265. "type": "string"
  34266. },
  34267. "fax": {
  34268. "description": "传真(加密存储)",
  34269. "type": "string"
  34270. },
  34271. "halfbodyphotourl": {
  34272. "description": "半身照地址",
  34273. "type": "string"
  34274. },
  34275. "hasencrypt": {
  34276. "description": "数据是否已加密 - 0:未加密 1:已加密",
  34277. "type": "integer"
  34278. },
  34279. "headurl": {
  34280. "description": "头像地址",
  34281. "type": "string"
  34282. },
  34283. "legalcardbackphotourl": {
  34284. "description": "法人身份证背面照地址",
  34285. "type": "string"
  34286. },
  34287. "legalcardfrontphotourl": {
  34288. "description": "法人身份证正面照地址",
  34289. "type": "string"
  34290. },
  34291. "legalpersonname": {
  34292. "description": "法人姓名(企业)",
  34293. "type": "string"
  34294. },
  34295. "mobile": {
  34296. "description": "手机号码(加密存储)",
  34297. "type": "string"
  34298. },
  34299. "mobile2": {
  34300. "description": "手机号码[明文-尚志]",
  34301. "type": "string"
  34302. },
  34303. "modifierid": {
  34304. "description": "修改人",
  34305. "type": "integer"
  34306. },
  34307. "modifiertime": {
  34308. "description": "修改时间",
  34309. "type": "string"
  34310. },
  34311. "needinvoice": {
  34312. "description": "是否需要发票 - 0:不需要 1:需要",
  34313. "type": "integer"
  34314. },
  34315. "nickname": {
  34316. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  34317. "type": "string"
  34318. },
  34319. "openmode": {
  34320. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  34321. "type": "integer"
  34322. },
  34323. "otherurl": {
  34324. "description": "其它图片地址[使用分号分隔]",
  34325. "type": "string"
  34326. },
  34327. "postalcode": {
  34328. "description": "邮政编码",
  34329. "type": "string"
  34330. },
  34331. "provinceid": {
  34332. "description": "省",
  34333. "type": "integer"
  34334. },
  34335. "qq": {
  34336. "description": "QQ(加密存储",
  34337. "type": "string"
  34338. },
  34339. "remark": {
  34340. "description": "备注",
  34341. "type": "string"
  34342. },
  34343. "sex": {
  34344. "description": "用户性别 0: 女 1: 男",
  34345. "type": "integer"
  34346. },
  34347. "signpdfurl": {
  34348. "description": "签约pdf文件",
  34349. "type": "string"
  34350. },
  34351. "telphone": {
  34352. "description": "联系电话(加密存储)",
  34353. "type": "string"
  34354. },
  34355. "userid": {
  34356. "description": "用户ID",
  34357. "type": "integer"
  34358. },
  34359. "userinfotype": {
  34360. "description": "用户信息类型 - 1:个人 2:企业",
  34361. "type": "integer"
  34362. },
  34363. "userstatus": {
  34364. "description": "用户状态 - 1:正常 2:注销",
  34365. "type": "integer"
  34366. },
  34367. "usertype": {
  34368. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  34369. "type": "integer"
  34370. },
  34371. "wechat": {
  34372. "description": "微信(加密存储)",
  34373. "type": "string"
  34374. },
  34375. "wskhinfo": {
  34376. "description": "开户申请信息(JSON)",
  34377. "type": "string"
  34378. }
  34379. }
  34380. },
  34381. "models.WRSConverTDetail": {
  34382. "type": "object",
  34383. "properties": {
  34384. "convertratio": {
  34385. "description": "套保系数",
  34386. "type": "number"
  34387. },
  34388. "deliverygoodscode": {
  34389. "description": "现货商品代码",
  34390. "type": "string"
  34391. },
  34392. "deliverygoodsid": {
  34393. "description": "现货品种ID",
  34394. "type": "integer"
  34395. },
  34396. "deliverygoodsname": {
  34397. "description": "现货商品名称",
  34398. "type": "string"
  34399. },
  34400. "enumdicname": {
  34401. "description": "单位名称",
  34402. "type": "string"
  34403. },
  34404. "goodsunitid": {
  34405. "description": "套保品种单位id",
  34406. "type": "integer"
  34407. },
  34408. "middlegoodscode": {
  34409. "description": "套保品种代码",
  34410. "type": "string"
  34411. },
  34412. "middlegoodsid": {
  34413. "description": "套保品种ID",
  34414. "type": "integer"
  34415. },
  34416. "middlegoodsname": {
  34417. "description": "套保品种名称",
  34418. "type": "string"
  34419. },
  34420. "modifytime": {
  34421. "description": "修改时间",
  34422. "type": "string"
  34423. },
  34424. "wrstandardid": {
  34425. "description": "品类ID",
  34426. "type": "integer"
  34427. }
  34428. }
  34429. },
  34430. "models.WRStandardInfo": {
  34431. "type": "object",
  34432. "required": [
  34433. "wrstandardid"
  34434. ],
  34435. "properties": {
  34436. "areauserid": {
  34437. "description": "所属机构",
  34438. "type": "integer"
  34439. },
  34440. "convertfactor": {
  34441. "description": "标仓系数",
  34442. "type": "number"
  34443. },
  34444. "createtime": {
  34445. "description": "创建时间",
  34446. "type": "string"
  34447. },
  34448. "creatorid": {
  34449. "description": "创建人",
  34450. "type": "integer"
  34451. },
  34452. "deliverygoodsid": {
  34453. "description": "品种ID",
  34454. "type": "integer"
  34455. },
  34456. "deliverygoodsname": {
  34457. "description": "交割商品名称",
  34458. "type": "string"
  34459. },
  34460. "factoryitemjson": {
  34461. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  34462. "type": "string"
  34463. },
  34464. "isvalid": {
  34465. "description": "是否有效 - 0:无效 1:有效",
  34466. "type": "integer"
  34467. },
  34468. "minivalue": {
  34469. "description": "最小变动值",
  34470. "type": "integer"
  34471. },
  34472. "minivaluedp": {
  34473. "description": "最小变动值小数位",
  34474. "type": "integer"
  34475. },
  34476. "realminivalue": {
  34477. "description": "实际最小变动值",
  34478. "type": "integer"
  34479. },
  34480. "realminivaluedp": {
  34481. "description": "实际最小变动值小数位",
  34482. "type": "integer"
  34483. },
  34484. "remark": {
  34485. "description": "备注",
  34486. "type": "string"
  34487. },
  34488. "unitid": {
  34489. "description": "单位ID",
  34490. "type": "integer"
  34491. },
  34492. "unitname": {
  34493. "description": "单位",
  34494. "type": "string"
  34495. },
  34496. "updatetime": {
  34497. "description": "更新时间",
  34498. "type": "string"
  34499. },
  34500. "updatorid": {
  34501. "description": "更新人",
  34502. "type": "integer"
  34503. },
  34504. "wrsstatus": {
  34505. "description": "状态 - 作废 - 0:未激活 1:正常",
  34506. "type": "integer"
  34507. },
  34508. "wrstandardcode": {
  34509. "description": "现货品类代码",
  34510. "type": "string"
  34511. },
  34512. "wrstandardid": {
  34513. "description": "现货品类ID(SEQ_WRSTANDARD)",
  34514. "type": "integer"
  34515. },
  34516. "wrstandardname": {
  34517. "description": "现货品类名称",
  34518. "type": "string"
  34519. }
  34520. }
  34521. },
  34522. "models.WRTradeBargainApply": {
  34523. "type": "object",
  34524. "properties": {
  34525. "accountid": {
  34526. "description": "摘牌资金账号",
  34527. "type": "integer"
  34528. },
  34529. "applyprice": {
  34530. "description": "申请价格(议价价格)",
  34531. "type": "string"
  34532. },
  34533. "applyqty": {
  34534. "description": "摘牌数量(议价数量)",
  34535. "type": "number"
  34536. },
  34537. "applyremark": {
  34538. "description": "申请备注",
  34539. "type": "string"
  34540. },
  34541. "applystatus": {
  34542. "description": "申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中",
  34543. "type": "integer"
  34544. },
  34545. "applytime": {
  34546. "description": "申请时间(议价时间)",
  34547. "type": "string"
  34548. },
  34549. "begindate": {
  34550. "description": "开始交易日(yyyymmdd)",
  34551. "type": "string"
  34552. },
  34553. "buyorsell": {
  34554. "description": "买卖(挂牌类型) - 0:买 1:卖",
  34555. "type": "integer"
  34556. },
  34557. "confirmremark": {
  34558. "description": "确认备注",
  34559. "type": "string"
  34560. },
  34561. "confirmtime": {
  34562. "description": "确认时间",
  34563. "type": "string"
  34564. },
  34565. "confirmuserid": {
  34566. "description": "确认人",
  34567. "type": "integer"
  34568. },
  34569. "deliverygoodscode": {
  34570. "description": "品种代码",
  34571. "type": "string"
  34572. },
  34573. "deliverygoodsid": {
  34574. "description": "品种ID",
  34575. "type": "integer"
  34576. },
  34577. "deliverygoodsname": {
  34578. "description": "品种名称",
  34579. "type": "string"
  34580. },
  34581. "deliverymonth": {
  34582. "description": "交收月",
  34583. "type": "string"
  34584. },
  34585. "enddate": {
  34586. "description": "结束交易日(yyyymmdd)",
  34587. "type": "string"
  34588. },
  34589. "enumdicname": {
  34590. "description": "单位名称",
  34591. "type": "string"
  34592. },
  34593. "fixedprice": {
  34594. "description": "挂牌价格",
  34595. "type": "number"
  34596. },
  34597. "handlestatus": {
  34598. "description": "处理状态",
  34599. "type": "integer"
  34600. },
  34601. "marginvalue": {
  34602. "description": "履约保证金比例",
  34603. "type": "number"
  34604. },
  34605. "marketid": {
  34606. "description": "市场ID",
  34607. "type": "integer"
  34608. },
  34609. "matchaccountid": {
  34610. "description": "挂牌方资金账号",
  34611. "type": "integer"
  34612. },
  34613. "matchuserid": {
  34614. "description": "挂牌方用户id",
  34615. "type": "integer"
  34616. },
  34617. "matchusername": {
  34618. "description": "挂牌方用户名称(已脱敏)",
  34619. "type": "string"
  34620. },
  34621. "minivalue": {
  34622. "description": "现货商品最小变动值",
  34623. "type": "integer"
  34624. },
  34625. "optioncompare": {
  34626. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  34627. "type": "string"
  34628. },
  34629. "orderqty": {
  34630. "description": "挂牌数量",
  34631. "type": "integer"
  34632. },
  34633. "refprice": {
  34634. "description": "参考价格",
  34635. "type": "string"
  34636. },
  34637. "retcode": {
  34638. "description": "委托返回代码",
  34639. "type": "integer"
  34640. },
  34641. "templatename": {
  34642. "description": "履约方式(履约模板名称)",
  34643. "type": "string"
  34644. },
  34645. "tradedate": {
  34646. "description": "交易日(yyyyMMdd)",
  34647. "type": "string"
  34648. },
  34649. "userid": {
  34650. "description": "摘牌人用户ID(议价人ID)",
  34651. "type": "integer"
  34652. },
  34653. "username": {
  34654. "description": "议价人名字(已脱敏)",
  34655. "type": "string"
  34656. },
  34657. "validtime": {
  34658. "description": "有效期限",
  34659. "type": "string"
  34660. },
  34661. "warehouseid": {
  34662. "description": "仓库ID",
  34663. "type": "integer"
  34664. },
  34665. "warehousename": {
  34666. "description": "仓库名称",
  34667. "type": "string"
  34668. },
  34669. "wrbargainid": {
  34670. "description": "议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)",
  34671. "type": "string"
  34672. },
  34673. "wrfactortypeid": {
  34674. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  34675. "type": "string"
  34676. },
  34677. "wrfactortypename": {
  34678. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  34679. "type": "string"
  34680. },
  34681. "wrstandardcode": {
  34682. "description": "现货商品代码",
  34683. "type": "string"
  34684. },
  34685. "wrstandardid": {
  34686. "description": "现货商品ID",
  34687. "type": "integer"
  34688. },
  34689. "wrstandardname": {
  34690. "description": "商品名称",
  34691. "type": "string"
  34692. },
  34693. "wrtradeorderid": {
  34694. "description": "关联委托单ID",
  34695. "type": "string"
  34696. },
  34697. "wrtypename": {
  34698. "description": "商品",
  34699. "type": "string"
  34700. }
  34701. }
  34702. },
  34703. "models.Warehouseinfo": {
  34704. "type": "object",
  34705. "required": [
  34706. "autoid",
  34707. "warehousecode"
  34708. ],
  34709. "properties": {
  34710. "address": {
  34711. "description": "详细地址",
  34712. "type": "string"
  34713. },
  34714. "areauserid": {
  34715. "description": "所属机构",
  34716. "type": "integer"
  34717. },
  34718. "autoid": {
  34719. "description": "自增ID",
  34720. "type": "integer"
  34721. },
  34722. "cityid": {
  34723. "description": "市",
  34724. "type": "integer"
  34725. },
  34726. "contactname": {
  34727. "description": "联系人",
  34728. "type": "string"
  34729. },
  34730. "contactnum": {
  34731. "description": "联系电话",
  34732. "type": "string"
  34733. },
  34734. "countryid": {
  34735. "description": "国家",
  34736. "type": "integer"
  34737. },
  34738. "createtime": {
  34739. "description": "创建时间",
  34740. "type": "string"
  34741. },
  34742. "districtid": {
  34743. "description": "区",
  34744. "type": "integer"
  34745. },
  34746. "hasvideo": {
  34747. "description": "是否有视频 - 0:无 1:有",
  34748. "type": "integer"
  34749. },
  34750. "provinceid": {
  34751. "description": "省",
  34752. "type": "integer"
  34753. },
  34754. "remark": {
  34755. "description": "审核备注",
  34756. "type": "string"
  34757. },
  34758. "videourl": {
  34759. "description": "视频地址",
  34760. "type": "string"
  34761. },
  34762. "warehousecode": {
  34763. "description": "仓库代码",
  34764. "type": "string"
  34765. },
  34766. "warehousename": {
  34767. "description": "仓库名称",
  34768. "type": "string"
  34769. },
  34770. "warehousestatus": {
  34771. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  34772. "type": "integer"
  34773. },
  34774. "warehousetype": {
  34775. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  34776. "type": "integer"
  34777. }
  34778. }
  34779. },
  34780. "models.WrAverageTradePrice": {
  34781. "type": "object",
  34782. "properties": {
  34783. "averageprice": {
  34784. "description": "成交均价",
  34785. "type": "number"
  34786. },
  34787. "tradedate": {
  34788. "description": "交易日yyyymm",
  34789. "type": "string"
  34790. }
  34791. }
  34792. },
  34793. "models.WrBrandAndYears": {
  34794. "type": "object",
  34795. "properties": {
  34796. "brandlst": {
  34797. "description": "品牌列表",
  34798. "type": "array",
  34799. "items": {
  34800. "$ref": "#/definitions/models.DgFactoryItem"
  34801. }
  34802. },
  34803. "yearslst": {
  34804. "description": "年份列表",
  34805. "type": "array",
  34806. "items": {
  34807. "$ref": "#/definitions/models.DgFactoryItem"
  34808. }
  34809. }
  34810. }
  34811. },
  34812. "models.WrBsGoodsInfo": {
  34813. "type": "object",
  34814. "properties": {
  34815. "buyorsell": {
  34816. "description": "买卖方向 0-买 1-卖",
  34817. "type": "integer"
  34818. },
  34819. "goodsid": {
  34820. "description": "交易合约ID",
  34821. "type": "integer"
  34822. },
  34823. "lstitem": {
  34824. "description": "商品信息项",
  34825. "type": "array",
  34826. "items": {
  34827. "$ref": "#/definitions/models.WrTypeItem"
  34828. }
  34829. },
  34830. "lststep": {
  34831. "description": "履约规则",
  34832. "type": "array",
  34833. "items": {
  34834. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  34835. }
  34836. }
  34837. }
  34838. },
  34839. "models.WrBuybackDetail": {
  34840. "type": "object",
  34841. "properties": {
  34842. "buybackamount": {
  34843. "description": "回购金额",
  34844. "type": "number"
  34845. },
  34846. "buybackqty": {
  34847. "description": "回购数量",
  34848. "type": "number"
  34849. },
  34850. "buybackreleasemargin": {
  34851. "description": "回购释放保证金",
  34852. "type": "number"
  34853. },
  34854. "buybacktime": {
  34855. "description": "回购时间",
  34856. "type": "string"
  34857. },
  34858. "errordesc": {
  34859. "description": "错误描述",
  34860. "type": "string"
  34861. },
  34862. "handlestatus": {
  34863. "description": "处理 - 1:待处理 2:处理成功 3:处理失败",
  34864. "type": "integer"
  34865. },
  34866. "relatedwrid": {
  34867. "description": "关联仓单ID",
  34868. "type": "integer"
  34869. },
  34870. "scfcontractid": {
  34871. "description": "SCF合同ID",
  34872. "type": "string"
  34873. },
  34874. "scfwrbuybackid": {
  34875. "description": "SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)",
  34876. "type": "integer"
  34877. },
  34878. "tradedate": {
  34879. "description": "交易日(yyyyMMdd)",
  34880. "type": "string"
  34881. }
  34882. }
  34883. },
  34884. "models.WrClientAdSpaceConfig": {
  34885. "type": "object",
  34886. "properties": {
  34887. "adspaceid": {
  34888. "description": "广告位ID",
  34889. "type": "integer"
  34890. },
  34891. "adspacename": {
  34892. "description": "广告位名称",
  34893. "type": "string"
  34894. },
  34895. "adspacetype": {
  34896. "description": "广告位类型 - 1:固定广告位",
  34897. "type": "integer"
  34898. },
  34899. "areauserid": {
  34900. "description": "所属机构ID",
  34901. "type": "integer"
  34902. },
  34903. "createdate": {
  34904. "description": "创建时间",
  34905. "type": "string"
  34906. },
  34907. "imagepath": {
  34908. "description": "图片",
  34909. "type": "string"
  34910. },
  34911. "modifierid": {
  34912. "description": "操作人",
  34913. "type": "integer"
  34914. },
  34915. "recsize": {
  34916. "description": "推荐尺寸",
  34917. "type": "string"
  34918. },
  34919. "title": {
  34920. "description": "标题",
  34921. "type": "string"
  34922. },
  34923. "updatedate": {
  34924. "description": "更新时间",
  34925. "type": "string"
  34926. },
  34927. "urlcontent": {
  34928. "description": "链接(地址\\商品ID\\功能菜单Key\\appid)",
  34929. "type": "string"
  34930. },
  34931. "urltype": {
  34932. "description": "链接类型 - 0:无 1:直接地址 2:商品ID 3:图片详情 4:App功能 5:微信小程序",
  34933. "type": "integer"
  34934. }
  34935. }
  34936. },
  34937. "models.WrDeliveryAvalidHoldLB": {
  34938. "type": "object",
  34939. "properties": {
  34940. "accountid": {
  34941. "description": "资金账号",
  34942. "type": "integer"
  34943. },
  34944. "avalidqty": {
  34945. "description": "数量(可点选数量)",
  34946. "type": "number"
  34947. },
  34948. "deliverygoodsid": {
  34949. "description": "品种id",
  34950. "type": "integer"
  34951. },
  34952. "enumdicname": {
  34953. "description": "单位名称",
  34954. "type": "string"
  34955. },
  34956. "goodsid": {
  34957. "description": "x合约商品id",
  34958. "type": "integer"
  34959. },
  34960. "ladingbillid": {
  34961. "description": "提单id",
  34962. "type": "string"
  34963. },
  34964. "pgoodscode": {
  34965. "description": "p商品代码(点价合约)",
  34966. "type": "string"
  34967. },
  34968. "pgoodsid": {
  34969. "description": "p商品id(点价合约)",
  34970. "type": "integer"
  34971. },
  34972. "pgoodsname": {
  34973. "description": "p商品名称(点价合约)",
  34974. "type": "string"
  34975. },
  34976. "pricemove": {
  34977. "description": "升贴水",
  34978. "type": "number"
  34979. },
  34980. "subnum": {
  34981. "description": "提单子id",
  34982. "type": "integer"
  34983. },
  34984. "userid": {
  34985. "description": "用户id",
  34986. "type": "integer"
  34987. },
  34988. "username": {
  34989. "description": "仓单持有人",
  34990. "type": "string"
  34991. },
  34992. "warehousecode": {
  34993. "description": "仓库代码",
  34994. "type": "string"
  34995. },
  34996. "warehouseid": {
  34997. "description": "仓库id",
  34998. "type": "integer"
  34999. },
  35000. "warehousename": {
  35001. "description": "仓库名称",
  35002. "type": "string"
  35003. },
  35004. "wrfactortypeid": {
  35005. "description": "仓单要素id",
  35006. "type": "string"
  35007. },
  35008. "wrstandardcode": {
  35009. "description": "品代码",
  35010. "type": "string"
  35011. },
  35012. "wrstandardid": {
  35013. "description": "品类d",
  35014. "type": "integer"
  35015. },
  35016. "wrstandardname": {
  35017. "description": "品类名称",
  35018. "type": "string"
  35019. },
  35020. "wrtypename": {
  35021. "description": "商品",
  35022. "type": "string"
  35023. },
  35024. "xgoodscode": {
  35025. "description": "x合约代码",
  35026. "type": "string"
  35027. },
  35028. "xgoodsname": {
  35029. "description": "x合约名称",
  35030. "type": "string"
  35031. }
  35032. }
  35033. },
  35034. "models.WrDeliveryDetail": {
  35035. "type": "object",
  35036. "properties": {
  35037. "accountid": {
  35038. "description": "账号ID",
  35039. "type": "integer"
  35040. },
  35041. "averageprice": {
  35042. "description": "交割均价 = 交割金额 / 交割数量",
  35043. "type": "number"
  35044. },
  35045. "begindate": {
  35046. "description": "开始交易日(yyyymmdd)",
  35047. "type": "string"
  35048. },
  35049. "buyorsell": {
  35050. "description": "方向 - 0:买 1:卖",
  35051. "type": "integer"
  35052. },
  35053. "deliveryamount": {
  35054. "description": "货款金额(X总货款+P总货款)",
  35055. "type": "number"
  35056. },
  35057. "deliveryid": {
  35058. "description": "交割单号(121+Unix秒时间戳(10位)+xxxxxx)",
  35059. "type": "string"
  35060. },
  35061. "deliveryorderid": {
  35062. "description": "申报单号",
  35063. "type": "string"
  35064. },
  35065. "deliverypricemove": {
  35066. "description": "升贴水(升贴水总额)",
  35067. "type": "number"
  35068. },
  35069. "deliveryqty": {
  35070. "description": "交收数量(点选数量)",
  35071. "type": "number"
  35072. },
  35073. "deliverystatus": {
  35074. "description": "状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成",
  35075. "type": "integer"
  35076. },
  35077. "deliverytime": {
  35078. "description": "交割时间",
  35079. "type": "string"
  35080. },
  35081. "deliverytotalamount": {
  35082. "description": "交收金额",
  35083. "type": "number"
  35084. },
  35085. "enddate": {
  35086. "description": "结束交易日(yyyymmdd)",
  35087. "type": "string"
  35088. },
  35089. "enumdicname": {
  35090. "description": "单位名称",
  35091. "type": "string"
  35092. },
  35093. "matchaccountid": {
  35094. "description": "对手账号ID",
  35095. "type": "integer"
  35096. },
  35097. "matchusername": {
  35098. "description": "对手方名称(仓单持有人)",
  35099. "type": "string"
  35100. },
  35101. "p1goodsremainamount": {
  35102. "description": "点价货款 ps:当PPRICEMODE=2时, 界面需显示\"-\"",
  35103. "type": "number"
  35104. },
  35105. "pdeliverycloseqty": {
  35106. "description": "p合约平仓数量",
  35107. "type": "number"
  35108. },
  35109. "pdeliveryprice": {
  35110. "description": "点价价格 ps:当PPRICEMODE=2时, 界面需显示\"-\"",
  35111. "type": "number"
  35112. },
  35113. "pgoodscode": {
  35114. "description": "商品代码",
  35115. "type": "string"
  35116. },
  35117. "pgoodsid": {
  35118. "description": "p点选合约id",
  35119. "type": "integer"
  35120. },
  35121. "pgoodsname": {
  35122. "description": "商品名称",
  35123. "type": "string"
  35124. },
  35125. "ppricemode": {
  35126. "description": "点价价格方式 - 1:商品价 2:固定值",
  35127. "type": "integer"
  35128. },
  35129. "tradedate": {
  35130. "description": "交易日(yyyymmdd)",
  35131. "type": "string"
  35132. },
  35133. "userid": {
  35134. "description": "用户id",
  35135. "type": "integer"
  35136. },
  35137. "username": {
  35138. "description": "用户名称",
  35139. "type": "string"
  35140. },
  35141. "warehousename": {
  35142. "description": "仓库名称",
  35143. "type": "string"
  35144. },
  35145. "wrfactortypeid": {
  35146. "description": "仓单要素类型ID",
  35147. "type": "string"
  35148. },
  35149. "wrtypename": {
  35150. "description": "商品",
  35151. "type": "string"
  35152. },
  35153. "xdeliverycloseqty": {
  35154. "description": "合约数量",
  35155. "type": "number"
  35156. },
  35157. "xgoodsamount": {
  35158. "description": "合约金额 = 货款金额(DELIVERYAMOUNT) - 点价货款(P1GOODSREMAINAMOUNT)",
  35159. "type": "number"
  35160. },
  35161. "xgoodscode": {
  35162. "description": "商品代码",
  35163. "type": "string"
  35164. },
  35165. "xgoodsid": {
  35166. "description": "x交易合约ID",
  35167. "type": "integer"
  35168. },
  35169. "xgoodsname": {
  35170. "description": "商品名称",
  35171. "type": "string"
  35172. }
  35173. }
  35174. },
  35175. "models.WrDeliveryGoodsSection": {
  35176. "type": "object",
  35177. "properties": {
  35178. "dglst": {
  35179. "description": "板块商品列表",
  35180. "type": "array",
  35181. "items": {
  35182. "$ref": "#/definitions/models.WrDeliveryGoodsSectionConfig"
  35183. }
  35184. },
  35185. "imagepath": {
  35186. "description": "图片地址",
  35187. "type": "string"
  35188. },
  35189. "orderindex": {
  35190. "description": "排序",
  35191. "type": "integer"
  35192. },
  35193. "sectionid": {
  35194. "description": "版块ID (SEQ_DELIVERYGOODSSECTION) - 自增100开始, 前面ID预留给SectionType = 1的版块1 - 云融指数",
  35195. "type": "integer"
  35196. },
  35197. "sectionname": {
  35198. "description": "版块名称",
  35199. "type": "string"
  35200. },
  35201. "sectiontype": {
  35202. "description": "版块类型 - 1:指数版块 2:普通版块",
  35203. "type": "integer"
  35204. }
  35205. }
  35206. },
  35207. "models.WrDeliveryGoodsSectionConfig": {
  35208. "type": "object",
  35209. "properties": {
  35210. "deliverygoodscode": {
  35211. "description": "现货商品代码",
  35212. "type": "string"
  35213. },
  35214. "deliverygoodsid": {
  35215. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  35216. "type": "integer"
  35217. },
  35218. "deliverygoodsname": {
  35219. "description": "现货商品名称",
  35220. "type": "string"
  35221. },
  35222. "orderindex": {
  35223. "description": "排序",
  35224. "type": "integer"
  35225. }
  35226. }
  35227. },
  35228. "models.WrDraftUserInfo": {
  35229. "type": "object",
  35230. "properties": {
  35231. "address": {
  35232. "description": "地址",
  35233. "type": "string"
  35234. },
  35235. "attachment1": {
  35236. "description": "附件1",
  35237. "type": "string"
  35238. },
  35239. "attachment2": {
  35240. "description": "附件2",
  35241. "type": "string"
  35242. },
  35243. "attachment3": {
  35244. "description": "附件3",
  35245. "type": "string"
  35246. },
  35247. "attachment4": {
  35248. "description": "附件4",
  35249. "type": "string"
  35250. },
  35251. "attachment5": {
  35252. "description": "附件5",
  35253. "type": "string"
  35254. },
  35255. "bankaccount": {
  35256. "description": "银行帐号 (加密存储)",
  35257. "type": "string"
  35258. },
  35259. "bankaccountname": {
  35260. "description": "收款人名称",
  35261. "type": "string"
  35262. },
  35263. "bankcardfrontphotourl": {
  35264. "description": "银行卡正面照地址",
  35265. "type": "string"
  35266. },
  35267. "bankid": {
  35268. "description": "银行编码",
  35269. "type": "string"
  35270. },
  35271. "bankname": {
  35272. "description": "银行名称",
  35273. "type": "string"
  35274. },
  35275. "birthday": {
  35276. "description": "生日(个人:年月日)",
  35277. "type": "string"
  35278. },
  35279. "biznature": {
  35280. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  35281. "type": "integer"
  35282. },
  35283. "bizscope": {
  35284. "description": "企业经营范围(企业)",
  35285. "type": "string"
  35286. },
  35287. "biztype": {
  35288. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  35289. "type": "integer"
  35290. },
  35291. "cardbackphotourl": {
  35292. "description": "证件背面图片地址",
  35293. "type": "string"
  35294. },
  35295. "cardfrontphotourl": {
  35296. "description": "证件正面图片地址",
  35297. "type": "string"
  35298. },
  35299. "cardnum": {
  35300. "description": "证件号码(加密存储)",
  35301. "type": "string"
  35302. },
  35303. "cardtypeid": {
  35304. "description": "证件类型ID",
  35305. "type": "integer"
  35306. },
  35307. "cityid": {
  35308. "description": "市",
  35309. "type": "integer"
  35310. },
  35311. "company": {
  35312. "description": "公司(个人)",
  35313. "type": "string"
  35314. },
  35315. "contactcardbackphotourl": {
  35316. "description": "联系人证件背面图片地址",
  35317. "type": "string"
  35318. },
  35319. "contactcardfrontphotourl": {
  35320. "description": "联系人证件正面图片地址",
  35321. "type": "string"
  35322. },
  35323. "contactname": {
  35324. "description": "联系人",
  35325. "type": "string"
  35326. },
  35327. "countryid": {
  35328. "description": "国家",
  35329. "type": "integer"
  35330. },
  35331. "createtime": {
  35332. "description": "创建时间",
  35333. "type": "string"
  35334. },
  35335. "creatorid": {
  35336. "description": "创建人",
  35337. "type": "integer"
  35338. },
  35339. "creditquota": {
  35340. "description": "授信额度(金瑞)",
  35341. "type": "number"
  35342. },
  35343. "customername": {
  35344. "description": "客户名称(企业名称)",
  35345. "type": "string"
  35346. },
  35347. "districtid": {
  35348. "description": "地区",
  35349. "type": "integer"
  35350. },
  35351. "email": {
  35352. "description": "邮件(加密存储)",
  35353. "type": "string"
  35354. },
  35355. "fax": {
  35356. "description": "传真(加密存储)",
  35357. "type": "string"
  35358. },
  35359. "halfbodyphotourl": {
  35360. "description": "半身照地址",
  35361. "type": "string"
  35362. },
  35363. "hasencrypt": {
  35364. "description": "数据是否已加密 - 0:未加密 1:已加密",
  35365. "type": "integer"
  35366. },
  35367. "headurl": {
  35368. "description": "头像地址",
  35369. "type": "string"
  35370. },
  35371. "legalcardbackphotourl": {
  35372. "description": "法人身份证背面照地址",
  35373. "type": "string"
  35374. },
  35375. "legalcardfrontphotourl": {
  35376. "description": "法人身份证正面照地址",
  35377. "type": "string"
  35378. },
  35379. "legalpersonname": {
  35380. "description": "法人姓名(企业)",
  35381. "type": "string"
  35382. },
  35383. "mobile": {
  35384. "description": "手机号码(加密存储)",
  35385. "type": "string"
  35386. },
  35387. "mobile2": {
  35388. "description": "手机号码[明文-尚志]",
  35389. "type": "string"
  35390. },
  35391. "modifierid": {
  35392. "description": "修改人",
  35393. "type": "integer"
  35394. },
  35395. "modifiertime": {
  35396. "description": "修改时间",
  35397. "type": "string"
  35398. },
  35399. "needinvoice": {
  35400. "description": "是否需要发票 - 0:不需要 1:需要",
  35401. "type": "integer"
  35402. },
  35403. "nickname": {
  35404. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  35405. "type": "string"
  35406. },
  35407. "openmode": {
  35408. "description": "开户方式 - 1:管理端开户 2\t:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册",
  35409. "type": "integer"
  35410. },
  35411. "otherurl": {
  35412. "description": "其它图片地址[使用分号分隔]",
  35413. "type": "string"
  35414. },
  35415. "postalcode": {
  35416. "description": "邮政编码",
  35417. "type": "string"
  35418. },
  35419. "provinceid": {
  35420. "description": "省",
  35421. "type": "integer"
  35422. },
  35423. "proxystatementurl": {
  35424. "description": "授权委托书",
  35425. "type": "string"
  35426. },
  35427. "qq": {
  35428. "description": "QQ(加密存储",
  35429. "type": "string"
  35430. },
  35431. "remark": {
  35432. "description": "备注",
  35433. "type": "string"
  35434. },
  35435. "sex": {
  35436. "description": "用户性别 0: 女 1: 男",
  35437. "type": "integer"
  35438. },
  35439. "signpdfurl": {
  35440. "description": "签约pdf文件",
  35441. "type": "string"
  35442. },
  35443. "taxpayernum": {
  35444. "description": "纳税人识别号",
  35445. "type": "string"
  35446. },
  35447. "telphone": {
  35448. "description": "联系电话(加密存储)",
  35449. "type": "string"
  35450. },
  35451. "userid": {
  35452. "description": "用户ID",
  35453. "type": "integer"
  35454. },
  35455. "userinfotype": {
  35456. "description": "用户信息类型 - 1:个人 2:企业",
  35457. "type": "integer"
  35458. },
  35459. "userstatus": {
  35460. "description": "用户状态 - 1:正常 2:注销",
  35461. "type": "integer"
  35462. },
  35463. "usertype": {
  35464. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者",
  35465. "type": "integer"
  35466. },
  35467. "wechat": {
  35468. "description": "微信(加密存储)",
  35469. "type": "string"
  35470. },
  35471. "wskhinfo": {
  35472. "description": "开户申请信息(JSON)",
  35473. "type": "string"
  35474. }
  35475. }
  35476. },
  35477. "models.WrFAProductDetail": {
  35478. "type": "object",
  35479. "properties": {
  35480. "accountid": {
  35481. "description": "资金账号",
  35482. "type": "integer"
  35483. },
  35484. "areauserid": {
  35485. "description": "金融机构ID",
  35486. "type": "integer"
  35487. },
  35488. "financingdays": {
  35489. "description": "天数(天)",
  35490. "type": "integer"
  35491. },
  35492. "interestminlen": {
  35493. "description": "最小起息天数",
  35494. "type": "integer"
  35495. },
  35496. "interestrate": {
  35497. "description": "利率",
  35498. "type": "number"
  35499. },
  35500. "interestratemode": {
  35501. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  35502. "type": "integer"
  35503. },
  35504. "interestsettlemode": {
  35505. "description": "结息方式 - 1:按日结息 3:按月结息",
  35506. "type": "integer"
  35507. },
  35508. "interestsettlevalue": {
  35509. "description": "结息方式值",
  35510. "type": "integer"
  35511. },
  35512. "isautoloan": {
  35513. "description": "是否自动放款 0-手动 1-自动 (当为自动放款时,显示\"放款快\")",
  35514. "type": "integer"
  35515. },
  35516. "loantag": {
  35517. "description": "放款标识: \"放款快\" 或者为空",
  35518. "type": "string"
  35519. },
  35520. "marginratio": {
  35521. "description": "保证金比率质押率 - [仓单质押]",
  35522. "type": "number"
  35523. },
  35524. "productdetailid": {
  35525. "description": "产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)",
  35526. "type": "integer"
  35527. },
  35528. "productid": {
  35529. "description": "金融产品ID",
  35530. "type": "integer"
  35531. },
  35532. "productname": {
  35533. "description": "产品名称",
  35534. "type": "string"
  35535. },
  35536. "updatetime": {
  35537. "description": "更新时间",
  35538. "type": "string"
  35539. },
  35540. "username": {
  35541. "description": "融出方",
  35542. "type": "string"
  35543. }
  35544. }
  35545. },
  35546. "models.WrFactorTypeInfo": {
  35547. "type": "object",
  35548. "properties": {
  35549. "deliverygoodscode": {
  35550. "description": "品种代码",
  35551. "type": "string"
  35552. },
  35553. "deliverygoodsname": {
  35554. "description": "品种名称",
  35555. "type": "string"
  35556. },
  35557. "dgfactoryitemid": {
  35558. "description": "选择项id",
  35559. "type": "integer"
  35560. },
  35561. "dgfactoryitemtypeid": {
  35562. "description": "要素选择项ID (1-仓库 2-品牌)",
  35563. "type": "integer"
  35564. },
  35565. "dgfactoryitemvalue": {
  35566. "description": "要素项值",
  35567. "type": "string"
  35568. },
  35569. "itemtypename": {
  35570. "description": "要素项名称",
  35571. "type": "string"
  35572. },
  35573. "optioncompare": {
  35574. "description": "选择比较串",
  35575. "type": "string"
  35576. },
  35577. "warehouseid": {
  35578. "description": "仓库id",
  35579. "type": "integer"
  35580. },
  35581. "wrfactortypeid": {
  35582. "description": "仓单要素ID",
  35583. "type": "string"
  35584. },
  35585. "wrfactortypename": {
  35586. "description": "要素名称",
  35587. "type": "string"
  35588. },
  35589. "wrfactortypename2": {
  35590. "description": "要素名称(不含仓库)",
  35591. "type": "string"
  35592. },
  35593. "wrstandardcode": {
  35594. "description": "品类代码",
  35595. "type": "string"
  35596. },
  35597. "wrstandardid": {
  35598. "description": "品类id",
  35599. "type": "integer"
  35600. },
  35601. "wrstandardname": {
  35602. "description": "品类名称",
  35603. "type": "string"
  35604. }
  35605. }
  35606. },
  35607. "models.WrFilterItem": {
  35608. "type": "object",
  35609. "properties": {
  35610. "itemcode": {
  35611. "description": "代码",
  35612. "type": "string"
  35613. },
  35614. "itemid": {
  35615. "description": "项id",
  35616. "type": "integer"
  35617. },
  35618. "itemname": {
  35619. "description": "名称",
  35620. "type": "string"
  35621. },
  35622. "itemtype": {
  35623. "description": "类型 1-品种 2-品类(商品) 3-仓库",
  35624. "type": "integer"
  35625. }
  35626. }
  35627. },
  35628. "models.WrFinanceBuyApply": {
  35629. "type": "object",
  35630. "properties": {
  35631. "applydate": {
  35632. "description": "申请时间",
  35633. "type": "string"
  35634. },
  35635. "applystatus": {
  35636. "description": "申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败",
  35637. "type": "integer"
  35638. },
  35639. "applyuserid": {
  35640. "description": "申请人",
  35641. "type": "integer"
  35642. },
  35643. "auditdate": {
  35644. "description": "审核时间",
  35645. "type": "string"
  35646. },
  35647. "auditremark": {
  35648. "description": "审核备注",
  35649. "type": "string"
  35650. },
  35651. "audituserid": {
  35652. "description": "审核人",
  35653. "type": "integer"
  35654. },
  35655. "buyaccountid": {
  35656. "description": "买方资金账号",
  35657. "type": "integer"
  35658. },
  35659. "buyorsell": {
  35660. "description": "买卖 - 0:买 1:卖",
  35661. "type": "integer"
  35662. },
  35663. "buyuserid": {
  35664. "description": "买方用户ID",
  35665. "type": "integer"
  35666. },
  35667. "buyusername": {
  35668. "description": "买方名称",
  35669. "type": "string"
  35670. },
  35671. "buywrtradeorderid": {
  35672. "description": "融资方买委托单ID",
  35673. "type": "string"
  35674. },
  35675. "deliverygoodscode": {
  35676. "description": "品种代码",
  35677. "type": "string"
  35678. },
  35679. "deliverygoodsid": {
  35680. "description": "品种ID",
  35681. "type": "integer"
  35682. },
  35683. "deliverygoodsname": {
  35684. "description": "品种名称",
  35685. "type": "string"
  35686. },
  35687. "deliverymonth": {
  35688. "description": "交收月(yyyy-MM) [无仓单HasWR =0]",
  35689. "type": "string"
  35690. },
  35691. "enumdicname": {
  35692. "description": "单位名称",
  35693. "type": "string"
  35694. },
  35695. "financeaccountid": {
  35696. "description": "融资方资金帐户ID",
  35697. "type": "integer"
  35698. },
  35699. "financeapplyid": {
  35700. "description": "融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  35701. "type": "string"
  35702. },
  35703. "financeareauserid": {
  35704. "description": "融资方用户ID",
  35705. "type": "string"
  35706. },
  35707. "financename": {
  35708. "description": "融出方名称",
  35709. "type": "string"
  35710. },
  35711. "financetype": {
  35712. "description": "融资类型 1-融资回购",
  35713. "type": "integer"
  35714. },
  35715. "financingdays": {
  35716. "description": "天数(天)",
  35717. "type": "integer"
  35718. },
  35719. "freezebuymargin": {
  35720. "description": "冻结融资保证金(买方)",
  35721. "type": "number"
  35722. },
  35723. "handleremark": {
  35724. "description": "处理备注",
  35725. "type": "string"
  35726. },
  35727. "handlestatus": {
  35728. "description": "处理状态",
  35729. "type": "integer"
  35730. },
  35731. "interestminlen": {
  35732. "description": "最小起息天数",
  35733. "type": "integer"
  35734. },
  35735. "interestrate": {
  35736. "description": "利率",
  35737. "type": "number"
  35738. },
  35739. "interestratemode": {
  35740. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  35741. "type": "integer"
  35742. },
  35743. "interestsettlemode": {
  35744. "description": "结息方式 - 1:按日结息 3:按月结息",
  35745. "type": "integer"
  35746. },
  35747. "interestsettlevalue": {
  35748. "description": "结息方式值",
  35749. "type": "integer"
  35750. },
  35751. "isautoloan": {
  35752. "description": "是否自动放款 - 0:手动 1:自动",
  35753. "type": "integer"
  35754. },
  35755. "marginratio": {
  35756. "description": "保证金比率质押率 - [仓单质押]",
  35757. "type": "number"
  35758. },
  35759. "marketid": {
  35760. "description": "市场ID",
  35761. "type": "integer"
  35762. },
  35763. "minivalue": {
  35764. "description": "现货商品最小变动值",
  35765. "type": "integer"
  35766. },
  35767. "optioncompare": {
  35768. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  35769. "type": "string"
  35770. },
  35771. "orderqty": {
  35772. "description": "委托数量(商品数量)",
  35773. "type": "number"
  35774. },
  35775. "productdetailid": {
  35776. "description": "产品组合ID",
  35777. "type": "integer"
  35778. },
  35779. "productid": {
  35780. "description": "金融产品ID",
  35781. "type": "integer"
  35782. },
  35783. "productname": {
  35784. "description": "产品名称",
  35785. "type": "string"
  35786. },
  35787. "remark": {
  35788. "description": "备注",
  35789. "type": "string"
  35790. },
  35791. "scfcontractid": {
  35792. "description": "仓单回购合同ID",
  35793. "type": "string"
  35794. },
  35795. "sellaccountid": {
  35796. "description": "卖方资金账号",
  35797. "type": "integer"
  35798. },
  35799. "selluserid": {
  35800. "description": "卖方用户ID",
  35801. "type": "integer"
  35802. },
  35803. "sellwrtradeorderid": {
  35804. "description": "卖方委托单ID",
  35805. "type": "string"
  35806. },
  35807. "tradeamount": {
  35808. "description": "成交金额(借款金额)",
  35809. "type": "number"
  35810. },
  35811. "tradedate": {
  35812. "description": "交易日(yyyyMMdd)",
  35813. "type": "string"
  35814. },
  35815. "tradeprice": {
  35816. "description": "成交价格",
  35817. "type": "number"
  35818. },
  35819. "warehouseid": {
  35820. "description": "仓库ID",
  35821. "type": "integer"
  35822. },
  35823. "warehousename": {
  35824. "description": "仓库名称",
  35825. "type": "string"
  35826. },
  35827. "wrfactortypeid": {
  35828. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  35829. "type": "string"
  35830. },
  35831. "wrfactortypename": {
  35832. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  35833. "type": "string"
  35834. },
  35835. "wrpricetype": {
  35836. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌单]",
  35837. "type": "integer"
  35838. },
  35839. "wrstandardcode": {
  35840. "description": "现货商品代码",
  35841. "type": "string"
  35842. },
  35843. "wrstandardid": {
  35844. "description": "现货商品ID",
  35845. "type": "integer"
  35846. },
  35847. "wrstandardname": {
  35848. "description": "商品名称",
  35849. "type": "string"
  35850. },
  35851. "wrtypename": {
  35852. "description": "商品",
  35853. "type": "string"
  35854. }
  35855. }
  35856. },
  35857. "models.WrFriendApply": {
  35858. "type": "object",
  35859. "properties": {
  35860. "applicantid": {
  35861. "description": "申请人",
  35862. "type": "integer"
  35863. },
  35864. "applyname": {
  35865. "description": "申请人名称",
  35866. "type": "string"
  35867. },
  35868. "applysrc": {
  35869. "description": "申请来源 - 1:管理端 2:终端",
  35870. "type": "integer"
  35871. },
  35872. "applystatus": {
  35873. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  35874. "type": "integer"
  35875. },
  35876. "applytime": {
  35877. "description": "申请时间",
  35878. "type": "string"
  35879. },
  35880. "auditname": {
  35881. "description": "审核人名称",
  35882. "type": "string"
  35883. },
  35884. "auditorid": {
  35885. "description": "审核人",
  35886. "type": "integer"
  35887. },
  35888. "auditremark": {
  35889. "description": "审核备注",
  35890. "type": "string"
  35891. },
  35892. "auditsrc": {
  35893. "description": "审核来源 - 1:管理端 2:终端",
  35894. "type": "integer"
  35895. },
  35896. "audittime": {
  35897. "description": "审核时间",
  35898. "type": "string"
  35899. },
  35900. "friendapplyid": {
  35901. "description": "申请ID(SEQ_FRIENDAPPLY)",
  35902. "type": "string"
  35903. },
  35904. "friendname": {
  35905. "description": "好友名字(已脱敏)",
  35906. "type": "string"
  35907. },
  35908. "frienduserid": {
  35909. "description": "好友用户ID",
  35910. "type": "string"
  35911. },
  35912. "remark": {
  35913. "description": "备注",
  35914. "type": "string"
  35915. },
  35916. "userid": {
  35917. "description": "申请人用户ID",
  35918. "type": "integer"
  35919. }
  35920. }
  35921. },
  35922. "models.WrFtDeliveryGoods": {
  35923. "type": "object",
  35924. "properties": {
  35925. "deliverygoodscode": {
  35926. "description": "品种代码",
  35927. "type": "string"
  35928. },
  35929. "deliverygoodsid": {
  35930. "description": "品种ID",
  35931. "type": "integer"
  35932. },
  35933. "deliverygoodsname": {
  35934. "description": "品种名称",
  35935. "type": "string"
  35936. },
  35937. "wdlst": {
  35938. "description": "商品列表",
  35939. "type": "array",
  35940. "items": {
  35941. "$ref": "#/definitions/models.WrFtWrstandard"
  35942. }
  35943. }
  35944. }
  35945. },
  35946. "models.WrFtWrstandard": {
  35947. "type": "object",
  35948. "properties": {
  35949. "enumdicname": {
  35950. "description": "单位名称",
  35951. "type": "string"
  35952. },
  35953. "minivalue": {
  35954. "description": "最小变动值",
  35955. "type": "integer"
  35956. },
  35957. "wrstandardcode": {
  35958. "description": "现货商品代码",
  35959. "type": "string"
  35960. },
  35961. "wrstandardid": {
  35962. "description": "现货商品ID",
  35963. "type": "integer"
  35964. },
  35965. "wrstandardname": {
  35966. "description": "商品名称",
  35967. "type": "string"
  35968. }
  35969. }
  35970. },
  35971. "models.WrGoodsInfo": {
  35972. "type": "object",
  35973. "properties": {
  35974. "haswr": {
  35975. "description": "0:仓单预售 1:仓单贸易",
  35976. "type": "integer"
  35977. },
  35978. "lstitem": {
  35979. "description": "商品信息项",
  35980. "type": "array",
  35981. "items": {
  35982. "$ref": "#/definitions/models.WrTypeItem"
  35983. }
  35984. },
  35985. "lststep": {
  35986. "description": "履约规则",
  35987. "type": "array",
  35988. "items": {
  35989. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  35990. }
  35991. },
  35992. "marketid": {
  35993. "description": "市场id",
  35994. "type": "integer"
  35995. }
  35996. }
  35997. },
  35998. "models.WrGoodsPerformanceStep": {
  35999. "type": "object",
  36000. "properties": {
  36001. "autoid": {
  36002. "description": "AutoID",
  36003. "type": "integer"
  36004. },
  36005. "isauto": {
  36006. "description": "是否自动 - 0:不自动 1:自动",
  36007. "type": "integer"
  36008. },
  36009. "remark": {
  36010. "description": "备注",
  36011. "type": "string"
  36012. },
  36013. "stepdate": {
  36014. "description": "天数信息(T+N)",
  36015. "type": "string"
  36016. },
  36017. "stepdays": {
  36018. "description": "距离上一步天数",
  36019. "type": "integer"
  36020. },
  36021. "stepindex": {
  36022. "description": "步骤序号",
  36023. "type": "integer"
  36024. },
  36025. "stepinfo": {
  36026. "description": "步骤信息(步骤名称+步骤值)",
  36027. "type": "string"
  36028. },
  36029. "steptypeid": {
  36030. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  36031. "type": "integer"
  36032. },
  36033. "steptypename": {
  36034. "description": "步骤名称",
  36035. "type": "string"
  36036. },
  36037. "stepvalue": {
  36038. "description": "步骤值",
  36039. "type": "number"
  36040. },
  36041. "templateid": {
  36042. "description": "履约计划模板ID",
  36043. "type": "integer"
  36044. }
  36045. }
  36046. },
  36047. "models.WrHoldLB": {
  36048. "type": "object",
  36049. "properties": {
  36050. "accountid": {
  36051. "description": "持有人帐户ID",
  36052. "type": "integer"
  36053. },
  36054. "bannerpicurl": {
  36055. "description": "Banner图",
  36056. "type": "string"
  36057. },
  36058. "createtime": {
  36059. "description": "创建时间(过户时间)",
  36060. "type": "string"
  36061. },
  36062. "deliverygoodscode": {
  36063. "description": "品种代码",
  36064. "type": "string"
  36065. },
  36066. "deliverygoodsid": {
  36067. "description": "品种ID",
  36068. "type": "integer"
  36069. },
  36070. "deliverygoodsname": {
  36071. "description": "品种名称",
  36072. "type": "string"
  36073. },
  36074. "enableqty": {
  36075. "description": "可用数量",
  36076. "type": "number"
  36077. },
  36078. "enumdicname": {
  36079. "description": "单位名称",
  36080. "type": "string"
  36081. },
  36082. "freezerqty": {
  36083. "description": "冻结数量",
  36084. "type": "number"
  36085. },
  36086. "ladingbillid": {
  36087. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  36088. "type": "string"
  36089. },
  36090. "minivalue": {
  36091. "description": "现货商品最小变动值",
  36092. "type": "integer"
  36093. },
  36094. "optioncompare": {
  36095. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  36096. "type": "string"
  36097. },
  36098. "parentsubnum": {
  36099. "description": "拆分父子单号",
  36100. "type": "integer"
  36101. },
  36102. "pledgeqty": {
  36103. "description": "质押数量",
  36104. "type": "number"
  36105. },
  36106. "qty": {
  36107. "description": "数量",
  36108. "type": "number"
  36109. },
  36110. "subnum": {
  36111. "description": "提单子单号",
  36112. "type": "integer"
  36113. },
  36114. "thumurls": {
  36115. "description": "缩略图",
  36116. "type": "string"
  36117. },
  36118. "tradedate": {
  36119. "description": "交易日(yyyyMMdd)",
  36120. "type": "string"
  36121. },
  36122. "userid": {
  36123. "description": "持有人ID",
  36124. "type": "integer"
  36125. },
  36126. "warehouseid": {
  36127. "description": "仓库ID",
  36128. "type": "integer"
  36129. },
  36130. "warehousename": {
  36131. "description": "仓库名称",
  36132. "type": "string"
  36133. },
  36134. "wrfactortypeid": {
  36135. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  36136. "type": "string"
  36137. },
  36138. "wrfactortypename": {
  36139. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  36140. "type": "string"
  36141. },
  36142. "wrholdeno": {
  36143. "description": "仓单编号",
  36144. "type": "string"
  36145. },
  36146. "wrid": {
  36147. "description": "仓单变更ID",
  36148. "type": "string"
  36149. },
  36150. "wrstandardcode": {
  36151. "description": "现货商品代码",
  36152. "type": "string"
  36153. },
  36154. "wrstandardid": {
  36155. "description": "现货商品ID",
  36156. "type": "integer"
  36157. },
  36158. "wrstandardname": {
  36159. "description": "商品名称",
  36160. "type": "string"
  36161. },
  36162. "wrtypename": {
  36163. "description": "商品",
  36164. "type": "string"
  36165. }
  36166. }
  36167. },
  36168. "models.WrMarketTradeConfig": {
  36169. "type": "object",
  36170. "properties": {
  36171. "basisdownratio": {
  36172. "description": "浮动价基差下限比例(仓单贸易)",
  36173. "type": "number"
  36174. },
  36175. "basisupratio": {
  36176. "description": "浮动价基差上限比例(仓单贸易)",
  36177. "type": "number"
  36178. },
  36179. "buychargealgorithm": {
  36180. "description": "买方手续费收取方式 1:比率 2:固定",
  36181. "type": "integer"
  36182. },
  36183. "buychargealgorithm2": {
  36184. "description": "回购买方手续费收取方式 1:比率 2:固定 --77:现货商城",
  36185. "type": "integer"
  36186. },
  36187. "buychargealgorithmvalue": {
  36188. "description": "买方手续费设置值(交易所部分)",
  36189. "type": "number"
  36190. },
  36191. "buychargealgorithmvalue2": {
  36192. "description": "买方手续费设置值(会员部分)",
  36193. "type": "number"
  36194. },
  36195. "buychargealgorithmvalue3": {
  36196. "description": "回购买方手续费设置值(交易所部分) --77:现货商城",
  36197. "type": "number"
  36198. },
  36199. "buychargealgorithmvalue4": {
  36200. "description": "回购买方手续费设置值(会员部分) --77:现货商城",
  36201. "type": "number"
  36202. },
  36203. "buyfirstmarginalgorithm": {
  36204. "description": "买方出价保证金方式 - 1:比率 2:固定 - [竞拍]",
  36205. "type": "integer"
  36206. },
  36207. "buyfirstmarginvalue": {
  36208. "description": "买方出价保证金设置值 - [竞拍]",
  36209. "type": "number"
  36210. },
  36211. "buymarginalgorithm": {
  36212. "description": "买方保证金方式 - 1:比率 2:固定",
  36213. "type": "integer"
  36214. },
  36215. "buymarginvalue": {
  36216. "description": "买方保证金设置值",
  36217. "type": "number"
  36218. },
  36219. "buyreleaseratio": {
  36220. "description": "买方释放比率[2:分步履约]",
  36221. "type": "number"
  36222. },
  36223. "executemode": {
  36224. "description": "执行方式[2:分步履约] - 1:顺序执行 2:交叉执行",
  36225. "type": "integer"
  36226. },
  36227. "executeside": {
  36228. "description": "执行方[2:分步履约] - 1:买方 2:卖方",
  36229. "type": "integer"
  36230. },
  36231. "failedchargealgorithm": {
  36232. "description": "流拍手续费收取方式 1:比率 2:固定",
  36233. "type": "integer"
  36234. },
  36235. "failedchargevalue": {
  36236. "description": "流拍手续费设置值",
  36237. "type": "number"
  36238. },
  36239. "failedchargevalue2": {
  36240. "description": "流拍卖方手续费设置值",
  36241. "type": "number"
  36242. },
  36243. "holddays": {
  36244. "description": "合同期限[2:分步履约]",
  36245. "type": "integer"
  36246. },
  36247. "listingmode": {
  36248. "description": "挂牌方式 - 1:一口价 2:浮动价 3:贸易圈 4:协议指定",
  36249. "type": "integer"
  36250. },
  36251. "marketid": {
  36252. "description": "市场ID-仓单贸易、竞拍、预售",
  36253. "type": "integer"
  36254. },
  36255. "minqty": {
  36256. "description": "最小执行量[2:分步履约]",
  36257. "type": "number"
  36258. },
  36259. "modifierid": {
  36260. "description": "修改人",
  36261. "type": "integer"
  36262. },
  36263. "nowrquotaflag": {
  36264. "description": "是否校验无仓单额度(仓单贸易) - 0:否 1:是",
  36265. "type": "integer"
  36266. },
  36267. "performancetempid": {
  36268. "description": "履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)",
  36269. "type": "integer"
  36270. },
  36271. "performancetempid2": {
  36272. "description": "履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行",
  36273. "type": "integer"
  36274. },
  36275. "performancetempid2s": {
  36276. "description": "履约计划模板IDs(无仓单) - 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行",
  36277. "type": "string"
  36278. },
  36279. "performancetempids": {
  36280. "description": "履约计划模板IDs(有仓单)- 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)",
  36281. "type": "string"
  36282. },
  36283. "performanceway": {
  36284. "description": "交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]",
  36285. "type": "integer"
  36286. },
  36287. "sellchargealgorithm": {
  36288. "description": "卖方手续费收取方式 1:比率 2:固定",
  36289. "type": "integer"
  36290. },
  36291. "sellchargealgorithm2": {
  36292. "description": "回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城",
  36293. "type": "integer"
  36294. },
  36295. "sellchargealgorithmvalue": {
  36296. "description": "卖方手续费设置值(交易所部分)",
  36297. "type": "number"
  36298. },
  36299. "sellchargealgorithmvalue2": {
  36300. "description": "卖方手续费设置值(会员部分)",
  36301. "type": "number"
  36302. },
  36303. "sellchargealgorithmvalue3": {
  36304. "description": "回购卖方手续费设置值(交易所部分) --77:现货商城",
  36305. "type": "number"
  36306. },
  36307. "sellchargealgorithmvalue4": {
  36308. "description": "回购卖方手续费设置值(会员部分) --77:现货商城",
  36309. "type": "number"
  36310. },
  36311. "sellmarginalgorithm": {
  36312. "description": "卖方保证金方式 - 1:比率 2:固定",
  36313. "type": "integer"
  36314. },
  36315. "sellmarginvalue": {
  36316. "description": "卖方保证金设置值",
  36317. "type": "number"
  36318. },
  36319. "sellmarginvalue2": {
  36320. "description": "卖方保证金设置值(无仓单)",
  36321. "type": "number"
  36322. },
  36323. "sellreleaseratio": {
  36324. "description": "卖方释放比率[2:分步履约]",
  36325. "type": "number"
  36326. },
  36327. "updatetime": {
  36328. "description": "更新时间",
  36329. "type": "string"
  36330. }
  36331. }
  36332. },
  36333. "models.WrOrderDetail": {
  36334. "type": "object",
  36335. "properties": {
  36336. "accountid": {
  36337. "description": "交易账号(资金账号)",
  36338. "type": "integer"
  36339. },
  36340. "allfriendsflag": {
  36341. "description": "是否全好友可见 - 0:否 1:是",
  36342. "type": "integer"
  36343. },
  36344. "amount": {
  36345. "description": "挂牌金额 = 委托数量 * 固定价或升贴水",
  36346. "type": "number"
  36347. },
  36348. "bannerpicurl": {
  36349. "description": "Banner图",
  36350. "type": "string"
  36351. },
  36352. "begindate": {
  36353. "description": "开始交易日(yyyymmdd)",
  36354. "type": "string"
  36355. },
  36356. "buyorsell": {
  36357. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  36358. "type": "integer"
  36359. },
  36360. "canbargain": {
  36361. "description": "是否可议价 - 0:不可 1:可",
  36362. "type": "integer"
  36363. },
  36364. "cancelqty": {
  36365. "description": "撤销数量",
  36366. "type": "number"
  36367. },
  36368. "canpart": {
  36369. "description": "是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)",
  36370. "type": "integer"
  36371. },
  36372. "delistminqty": {
  36373. "description": "起摘数量",
  36374. "type": "integer"
  36375. },
  36376. "deliverygoodscode": {
  36377. "description": "品种代码",
  36378. "type": "string"
  36379. },
  36380. "deliverygoodsid": {
  36381. "description": "品种ID",
  36382. "type": "integer"
  36383. },
  36384. "deliverygoodsname": {
  36385. "description": "品种名称",
  36386. "type": "string"
  36387. },
  36388. "deliverymonth": {
  36389. "description": "交收月",
  36390. "type": "string"
  36391. },
  36392. "enddate": {
  36393. "description": "结束交易日(yyyymmdd)",
  36394. "type": "string"
  36395. },
  36396. "enumdicname": {
  36397. "description": "单位名称",
  36398. "type": "string"
  36399. },
  36400. "fixedprice": {
  36401. "description": "固定价格 - [挂牌]",
  36402. "type": "number"
  36403. },
  36404. "freezecharge": {
  36405. "description": "冻结手续费",
  36406. "type": "number"
  36407. },
  36408. "freezemargin": {
  36409. "description": "冻结保证金(保证金)",
  36410. "type": "number"
  36411. },
  36412. "futupricemove": {
  36413. "description": "期货升贴水",
  36414. "type": "number"
  36415. },
  36416. "futushow": {
  36417. "description": "期货合约/升贴水",
  36418. "type": "string"
  36419. },
  36420. "goodscode": {
  36421. "description": "期货合约",
  36422. "type": "string"
  36423. },
  36424. "goodsid": {
  36425. "description": "期货商品id",
  36426. "type": "integer"
  36427. },
  36428. "goodsname": {
  36429. "description": "商品名称",
  36430. "type": "string"
  36431. },
  36432. "haswr": {
  36433. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  36434. "type": "integer"
  36435. },
  36436. "isspecified": {
  36437. "description": "是否指定对手 - 0:不指定 1:指定 - [挂牌]",
  36438. "type": "integer"
  36439. },
  36440. "ladingbillid": {
  36441. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  36442. "type": "string"
  36443. },
  36444. "marginvalue": {
  36445. "description": "保证金设置值(履约保证金)",
  36446. "type": "number"
  36447. },
  36448. "marketid": {
  36449. "description": "市场ID",
  36450. "type": "integer"
  36451. },
  36452. "matchusername": {
  36453. "description": "对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)",
  36454. "type": "string"
  36455. },
  36456. "minivalue": {
  36457. "description": "现货商品最小变动值",
  36458. "type": "integer"
  36459. },
  36460. "optioncompare": {
  36461. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  36462. "type": "string"
  36463. },
  36464. "orderqty": {
  36465. "description": "委托数量",
  36466. "type": "number"
  36467. },
  36468. "ordertime": {
  36469. "description": "委托时间(挂牌时间)",
  36470. "type": "string"
  36471. },
  36472. "performancetemplateid": {
  36473. "description": "履约模板id",
  36474. "type": "integer"
  36475. },
  36476. "pricemove": {
  36477. "description": "升贴水(浮动价时填写) - [挂牌]",
  36478. "type": "number"
  36479. },
  36480. "taname": {
  36481. "description": "交易用户名称(资金账号名称)",
  36482. "type": "string"
  36483. },
  36484. "thumurls": {
  36485. "description": "缩略图",
  36486. "type": "string"
  36487. },
  36488. "tradedate": {
  36489. "description": "交易日(yyyyMMdd)",
  36490. "type": "string"
  36491. },
  36492. "tradeprice": {
  36493. "description": "成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)* 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)",
  36494. "type": "number"
  36495. },
  36496. "tradeqty": {
  36497. "description": "成交数量",
  36498. "type": "number"
  36499. },
  36500. "userid": {
  36501. "description": "用户ID",
  36502. "type": "integer"
  36503. },
  36504. "validtime": {
  36505. "description": "挂牌有效期",
  36506. "type": "string"
  36507. },
  36508. "validtype": {
  36509. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  36510. "type": "integer"
  36511. },
  36512. "warehouseid": {
  36513. "description": "仓库ID",
  36514. "type": "integer"
  36515. },
  36516. "warehousename": {
  36517. "description": "仓库名称",
  36518. "type": "string"
  36519. },
  36520. "wrfactortypeid": {
  36521. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  36522. "type": "string"
  36523. },
  36524. "wrfactortypename": {
  36525. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  36526. "type": "string"
  36527. },
  36528. "wrpricetype": {
  36529. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  36530. "type": "integer"
  36531. },
  36532. "wrstandardcode": {
  36533. "description": "现货商品代码",
  36534. "type": "string"
  36535. },
  36536. "wrstandardid": {
  36537. "description": "现货商品ID",
  36538. "type": "integer"
  36539. },
  36540. "wrstandardname": {
  36541. "description": "商品名称",
  36542. "type": "string"
  36543. },
  36544. "wrtradeorderid": {
  36545. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  36546. "type": "string"
  36547. },
  36548. "wrtradeorderstatus": {
  36549. "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:撤单解冻贷款失败",
  36550. "type": "integer"
  36551. },
  36552. "wrtradetype": {
  36553. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  36554. "type": "integer"
  36555. },
  36556. "wrtypename": {
  36557. "description": "商品",
  36558. "type": "string"
  36559. }
  36560. }
  36561. },
  36562. "models.WrOrderQuote": {
  36563. "type": "object",
  36564. "properties": {
  36565. "bannerpicurl": {
  36566. "description": "Banner图",
  36567. "type": "string"
  36568. },
  36569. "buyprice": {
  36570. "description": "买价",
  36571. "type": "number"
  36572. },
  36573. "buypricemove": {
  36574. "description": "买升贴水(基差)",
  36575. "type": "number"
  36576. },
  36577. "buyqty": {
  36578. "description": "买量",
  36579. "type": "number"
  36580. },
  36581. "deliverygoodscode": {
  36582. "description": "品种代码",
  36583. "type": "string"
  36584. },
  36585. "deliverygoodsid": {
  36586. "description": "品种id",
  36587. "type": "integer"
  36588. },
  36589. "deliverygoodsname": {
  36590. "description": "品种名称",
  36591. "type": "string"
  36592. },
  36593. "deliverymonth": {
  36594. "description": "交收月",
  36595. "type": "string"
  36596. },
  36597. "enumdicname": {
  36598. "description": "单位名称",
  36599. "type": "string"
  36600. },
  36601. "goodscode": {
  36602. "description": "商品合约(浮动价列表才有)",
  36603. "type": "string"
  36604. },
  36605. "goodsid": {
  36606. "description": "商品id(浮动价列表才有)",
  36607. "type": "integer"
  36608. },
  36609. "minivalue": {
  36610. "description": "现货商品最小变动值",
  36611. "type": "integer"
  36612. },
  36613. "pictureurls": {
  36614. "description": "详情图片(逗号分隔)",
  36615. "type": "string"
  36616. },
  36617. "sellprice": {
  36618. "description": "卖价",
  36619. "type": "number"
  36620. },
  36621. "sellpricemove": {
  36622. "description": "卖升贴水(基差)",
  36623. "type": "number"
  36624. },
  36625. "sellqty": {
  36626. "description": "卖量",
  36627. "type": "number"
  36628. },
  36629. "thumurls": {
  36630. "description": "缩略图片(1:1)(逗号分隔)",
  36631. "type": "string"
  36632. },
  36633. "warehousecode": {
  36634. "description": "仓库代码",
  36635. "type": "string"
  36636. },
  36637. "warehouseid": {
  36638. "description": "仓库id",
  36639. "type": "integer"
  36640. },
  36641. "warehousename": {
  36642. "description": "仓库名称",
  36643. "type": "string"
  36644. },
  36645. "wrfactortypeid": {
  36646. "description": "仓单要素id",
  36647. "type": "string"
  36648. },
  36649. "wrfactortypename": {
  36650. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  36651. "type": "string"
  36652. },
  36653. "wrgoodsname": {
  36654. "description": "商品(商品名称+仓库要素名称 拼接)",
  36655. "type": "string"
  36656. },
  36657. "wrstandardcode": {
  36658. "description": "商品代码",
  36659. "type": "string"
  36660. },
  36661. "wrstandardid": {
  36662. "description": "商品id",
  36663. "type": "integer"
  36664. },
  36665. "wrstandardname": {
  36666. "description": "商品名称",
  36667. "type": "string"
  36668. }
  36669. }
  36670. },
  36671. "models.WrOrderQuoteDetail": {
  36672. "type": "object",
  36673. "properties": {
  36674. "buyorsell": {
  36675. "description": "买卖 - 0:买 1:卖",
  36676. "type": "integer"
  36677. },
  36678. "delistminqty": {
  36679. "description": "起摘数量",
  36680. "type": "number"
  36681. },
  36682. "deliverymonth": {
  36683. "description": "交收月",
  36684. "type": "string"
  36685. },
  36686. "enumdicname": {
  36687. "description": "单位名称",
  36688. "type": "string"
  36689. },
  36690. "fixedprice": {
  36691. "description": "买(卖)价",
  36692. "type": "number"
  36693. },
  36694. "marketid": {
  36695. "description": "市场id",
  36696. "type": "integer"
  36697. },
  36698. "minivalue": {
  36699. "description": "现货商品最小变动值",
  36700. "type": "integer"
  36701. },
  36702. "orderqty": {
  36703. "description": "买(卖)量(=委托量-成交量)",
  36704. "type": "number"
  36705. },
  36706. "ordertime": {
  36707. "description": "委托时间",
  36708. "type": "string"
  36709. },
  36710. "pricemove": {
  36711. "description": "买(卖)升贴水- 基差",
  36712. "type": "number"
  36713. },
  36714. "userid": {
  36715. "description": "购买方(销售方)用户ID",
  36716. "type": "integer"
  36717. },
  36718. "username": {
  36719. "description": "购买方(销售方)",
  36720. "type": "string"
  36721. },
  36722. "wrtradeorderid": {
  36723. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  36724. "type": "string"
  36725. }
  36726. }
  36727. },
  36728. "models.WrOutInApply": {
  36729. "type": "object",
  36730. "properties": {
  36731. "applyid": {
  36732. "description": "申请单id",
  36733. "type": "string"
  36734. },
  36735. "applystatus": {
  36736. "description": "申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  36737. "type": "integer"
  36738. },
  36739. "applytime": {
  36740. "description": "申请时间",
  36741. "type": "string"
  36742. },
  36743. "applytype": {
  36744. "description": "申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销",
  36745. "type": "integer"
  36746. },
  36747. "bannerpicurl": {
  36748. "description": "Banner图",
  36749. "type": "string"
  36750. },
  36751. "begindate": {
  36752. "description": "开始交易日(yyyymmdd)",
  36753. "type": "string"
  36754. },
  36755. "deliverygoodscode": {
  36756. "description": "品种代码",
  36757. "type": "string"
  36758. },
  36759. "deliverygoodsid": {
  36760. "description": "品种ID",
  36761. "type": "integer"
  36762. },
  36763. "deliverygoodsname": {
  36764. "description": "品种名称",
  36765. "type": "string"
  36766. },
  36767. "enddate": {
  36768. "description": "结束交易日(yyyymmdd)",
  36769. "type": "string"
  36770. },
  36771. "enumdicname": {
  36772. "description": "单位名称",
  36773. "type": "string"
  36774. },
  36775. "expresscompany": {
  36776. "description": "物流公司",
  36777. "type": "string"
  36778. },
  36779. "expressnum": {
  36780. "description": "物流单号",
  36781. "type": "string"
  36782. },
  36783. "minivalue": {
  36784. "description": "现货商品最小变动值",
  36785. "type": "integer"
  36786. },
  36787. "optioncompare": {
  36788. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  36789. "type": "string"
  36790. },
  36791. "qty": {
  36792. "description": "数量",
  36793. "type": "integer"
  36794. },
  36795. "userid": {
  36796. "description": "用户id",
  36797. "type": "integer"
  36798. },
  36799. "warehouseid": {
  36800. "description": "仓库ID",
  36801. "type": "integer"
  36802. },
  36803. "warehousename": {
  36804. "description": "仓库名称",
  36805. "type": "string"
  36806. },
  36807. "wrfactortypeid": {
  36808. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  36809. "type": "string"
  36810. },
  36811. "wrfactortypename": {
  36812. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  36813. "type": "string"
  36814. },
  36815. "wrstandardcode": {
  36816. "description": "现货商品代码",
  36817. "type": "string"
  36818. },
  36819. "wrstandardid": {
  36820. "description": "现货商品ID",
  36821. "type": "integer"
  36822. },
  36823. "wrstandardname": {
  36824. "description": "商品名称",
  36825. "type": "string"
  36826. },
  36827. "wrtypename": {
  36828. "description": "商品",
  36829. "type": "string"
  36830. }
  36831. }
  36832. },
  36833. "models.WrPerformancePlan": {
  36834. "type": "object",
  36835. "required": [
  36836. "userid"
  36837. ],
  36838. "properties": {
  36839. "activatemonth": {
  36840. "description": "履约激活月 [无仓单的交易收月](yyyy-MM)",
  36841. "type": "string"
  36842. },
  36843. "amount": {
  36844. "description": "履约金额(总金额)",
  36845. "type": "number"
  36846. },
  36847. "begindate": {
  36848. "description": "开始交易日(yyyymmdd)",
  36849. "type": "string"
  36850. },
  36851. "buyaccountid": {
  36852. "description": "买方账号",
  36853. "type": "integer"
  36854. },
  36855. "buyerfreezeamount": {
  36856. "description": "履约冻结(买履约)",
  36857. "type": "number"
  36858. },
  36859. "buyerfreezeamountremain": {
  36860. "description": "履约冻结剩余(买履约)",
  36861. "type": "number"
  36862. },
  36863. "buyorsell": {
  36864. "description": "买卖方向 0-买 1-卖",
  36865. "type": "integer"
  36866. },
  36867. "buypaidamount": {
  36868. "description": "买方已冻/已扣金额 (已付金额)",
  36869. "type": "number"
  36870. },
  36871. "buyusername": {
  36872. "description": "买方名字",
  36873. "type": "string"
  36874. },
  36875. "contractid": {
  36876. "description": "合同ID",
  36877. "type": "integer"
  36878. },
  36879. "createtime": {
  36880. "description": "创建时间",
  36881. "type": "string"
  36882. },
  36883. "creatorid": {
  36884. "description": "创建人",
  36885. "type": "integer"
  36886. },
  36887. "curstepdeadline": {
  36888. "description": "当前步骤到期时间",
  36889. "type": "string"
  36890. },
  36891. "curstepid": {
  36892. "description": "当前步骤ID",
  36893. "type": "string"
  36894. },
  36895. "curstepname": {
  36896. "description": "当前步骤名称",
  36897. "type": "string"
  36898. },
  36899. "deliverygoodscode": {
  36900. "description": "品种代码",
  36901. "type": "string"
  36902. },
  36903. "deliverygoodsid": {
  36904. "description": "品种ID",
  36905. "type": "integer"
  36906. },
  36907. "deliverygoodsname": {
  36908. "description": "品种名称",
  36909. "type": "string"
  36910. },
  36911. "enddate": {
  36912. "description": "结束交易日(yyyymmdd)",
  36913. "type": "string"
  36914. },
  36915. "enumdicname": {
  36916. "description": "单位名称",
  36917. "type": "string"
  36918. },
  36919. "expressfee": {
  36920. "description": "运费",
  36921. "type": "number"
  36922. },
  36923. "expressfeeconfirmed": {
  36924. "description": "是否确认运费 - 0:无 1:买方确认 2:卖方确认",
  36925. "type": "integer"
  36926. },
  36927. "hasovershort": {
  36928. "description": "是否确认溢短 - 0:没有 1:买方确认 2:卖方确认",
  36929. "type": "integer"
  36930. },
  36931. "haswr": {
  36932. "description": "类型 0-仓单预售 1-仓单贸易",
  36933. "type": "integer"
  36934. },
  36935. "marketid": {
  36936. "description": "市场ID",
  36937. "type": "integer"
  36938. },
  36939. "middleaccountid": {
  36940. "description": "中间商资金账号ID",
  36941. "type": "integer"
  36942. },
  36943. "middleuserid": {
  36944. "description": "中间商用户ID",
  36945. "type": "integer"
  36946. },
  36947. "minivalue": {
  36948. "description": "现货商品最小变动值",
  36949. "type": "integer"
  36950. },
  36951. "optioncompare": {
  36952. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  36953. "type": "string"
  36954. },
  36955. "overshortamount": {
  36956. "description": "溢短金额",
  36957. "type": "number"
  36958. },
  36959. "overshortqty": {
  36960. "description": "溢短数量",
  36961. "type": "number"
  36962. },
  36963. "paymenttype": {
  36964. "description": "付款方式 - 1:冻结 2:扣款",
  36965. "type": "integer"
  36966. },
  36967. "performanceplanid": {
  36968. "description": "履约计划ID(130+yyMMddHHmmss+xxxx)",
  36969. "type": "string"
  36970. },
  36971. "performancestatus": {
  36972. "description": "履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭",
  36973. "type": "integer"
  36974. },
  36975. "performancetype": {
  36976. "description": "履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统",
  36977. "type": "integer"
  36978. },
  36979. "qty": {
  36980. "description": "履约数量",
  36981. "type": "number"
  36982. },
  36983. "relatedorderid": {
  36984. "description": "关联单号(履约类型的关联单号)",
  36985. "type": "string"
  36986. },
  36987. "remark": {
  36988. "description": "备注",
  36989. "type": "string"
  36990. },
  36991. "sellaccountid": {
  36992. "description": "卖方账号",
  36993. "type": "integer"
  36994. },
  36995. "sellerfreezeamount": {
  36996. "description": "履约冻结(卖履约)",
  36997. "type": "number"
  36998. },
  36999. "sellerfreezeamountremain": {
  37000. "description": "履约冻结剩余(卖履约)",
  37001. "type": "number"
  37002. },
  37003. "sellreceivedamount": {
  37004. "description": "卖方已收金额",
  37005. "type": "number"
  37006. },
  37007. "sellusername": {
  37008. "description": "卖方名字",
  37009. "type": "string"
  37010. },
  37011. "shipremark": {
  37012. "description": "发货备注[物流单号]",
  37013. "type": "string"
  37014. },
  37015. "starttime": {
  37016. "description": "开始时间",
  37017. "type": "string"
  37018. },
  37019. "steptypeid": {
  37020. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  37021. "type": "integer"
  37022. },
  37023. "typename": {
  37024. "description": "履约类型 名称",
  37025. "type": "string"
  37026. },
  37027. "unpaidamount": {
  37028. "description": "剩余款(待支付金额)",
  37029. "type": "number"
  37030. },
  37031. "userid": {
  37032. "description": "用户id",
  37033. "type": "integer"
  37034. },
  37035. "warehouseid": {
  37036. "description": "仓库ID",
  37037. "type": "integer"
  37038. },
  37039. "warehousename": {
  37040. "description": "仓库名称",
  37041. "type": "string"
  37042. },
  37043. "wrfactortypeid": {
  37044. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  37045. "type": "string"
  37046. },
  37047. "wrfactortypename": {
  37048. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  37049. "type": "string"
  37050. },
  37051. "wrstandardcode": {
  37052. "description": "现货商品代码",
  37053. "type": "string"
  37054. },
  37055. "wrstandardid": {
  37056. "description": "现货商品ID",
  37057. "type": "integer"
  37058. },
  37059. "wrstandardname": {
  37060. "description": "商品名称",
  37061. "type": "string"
  37062. },
  37063. "wrtransferuserid": {
  37064. "description": "仓单受让用户",
  37065. "type": "integer"
  37066. },
  37067. "wrtypename": {
  37068. "description": "商品",
  37069. "type": "string"
  37070. }
  37071. }
  37072. },
  37073. "models.WrPerformancePlanStep": {
  37074. "type": "object",
  37075. "properties": {
  37076. "delaydays": {
  37077. "description": "延期申请天数",
  37078. "type": "integer"
  37079. },
  37080. "deliverygoodscode": {
  37081. "description": "品种代码",
  37082. "type": "string"
  37083. },
  37084. "deliverygoodsid": {
  37085. "description": "品种ID",
  37086. "type": "integer"
  37087. },
  37088. "deliverygoodsname": {
  37089. "description": "品种名称",
  37090. "type": "string"
  37091. },
  37092. "endtime": {
  37093. "description": "结束日期",
  37094. "type": "string"
  37095. },
  37096. "enumdicname": {
  37097. "description": "单位名称",
  37098. "type": "string"
  37099. },
  37100. "executeside": {
  37101. "description": "步骤执行方 - 1:买方 2:卖方",
  37102. "type": "integer"
  37103. },
  37104. "handlestatus": {
  37105. "description": "处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败",
  37106. "type": "integer"
  37107. },
  37108. "isauto": {
  37109. "description": "是否自动 - 0:不自动 1:自动",
  37110. "type": "integer"
  37111. },
  37112. "islastreceivestep": {
  37113. "description": "是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)",
  37114. "type": "integer"
  37115. },
  37116. "minivalue": {
  37117. "description": "现货商品最小变动值",
  37118. "type": "integer"
  37119. },
  37120. "optioncompare": {
  37121. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  37122. "type": "string"
  37123. },
  37124. "overdays": {
  37125. "description": "超期天数 = 当前时间(数据库时间) - 结束日期",
  37126. "type": "integer"
  37127. },
  37128. "performancestepid": {
  37129. "description": "履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)",
  37130. "type": "string"
  37131. },
  37132. "planid": {
  37133. "description": "所属履约计划ID",
  37134. "type": "string"
  37135. },
  37136. "realamount": {
  37137. "description": "实际完成金额",
  37138. "type": "number"
  37139. },
  37140. "relatedorderid": {
  37141. "description": "关联单号",
  37142. "type": "string"
  37143. },
  37144. "remaindays": {
  37145. "description": "剩余天数",
  37146. "type": "integer"
  37147. },
  37148. "remark": {
  37149. "description": "错误备注",
  37150. "type": "string"
  37151. },
  37152. "starttime": {
  37153. "description": "开始日期",
  37154. "type": "string"
  37155. },
  37156. "stepamount": {
  37157. "description": "步骤金额",
  37158. "type": "number"
  37159. },
  37160. "stepdays": {
  37161. "description": "距离上一步天数(分钟)",
  37162. "type": "integer"
  37163. },
  37164. "stepindex": {
  37165. "description": "步骤序号",
  37166. "type": "integer"
  37167. },
  37168. "steplanchtype": {
  37169. "description": "步骤启动类型 - 1:系统自动 2:手动",
  37170. "type": "integer"
  37171. },
  37172. "stepremark": {
  37173. "description": "步骤备注",
  37174. "type": "string"
  37175. },
  37176. "stepstatus": {
  37177. "description": "步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭",
  37178. "type": "integer"
  37179. },
  37180. "steptypeid": {
  37181. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  37182. "type": "integer"
  37183. },
  37184. "steptypename": {
  37185. "description": "步骤名称",
  37186. "type": "string"
  37187. },
  37188. "stepvalue": {
  37189. "description": "步骤值",
  37190. "type": "number"
  37191. },
  37192. "warehouseid": {
  37193. "description": "仓库ID",
  37194. "type": "integer"
  37195. },
  37196. "warehousename": {
  37197. "description": "仓库名称",
  37198. "type": "string"
  37199. },
  37200. "wrfactortypeid": {
  37201. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  37202. "type": "string"
  37203. },
  37204. "wrfactortypename": {
  37205. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  37206. "type": "string"
  37207. },
  37208. "wrstandardcode": {
  37209. "description": "现货商品代码",
  37210. "type": "string"
  37211. },
  37212. "wrstandardid": {
  37213. "description": "现货商品ID",
  37214. "type": "integer"
  37215. },
  37216. "wrstandardname": {
  37217. "description": "商品名称",
  37218. "type": "string"
  37219. },
  37220. "wrtypename": {
  37221. "description": "商品",
  37222. "type": "string"
  37223. }
  37224. }
  37225. },
  37226. "models.WrPerformanceStepType": {
  37227. "type": "object",
  37228. "properties": {
  37229. "canauto": {
  37230. "description": "能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)",
  37231. "type": "integer"
  37232. },
  37233. "steptypeid": {
  37234. "description": "步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移",
  37235. "type": "integer"
  37236. },
  37237. "steptypename": {
  37238. "description": "步骤类型名称",
  37239. "type": "string"
  37240. }
  37241. }
  37242. },
  37243. "models.WrPerformanceTemplateEx": {
  37244. "type": "object",
  37245. "properties": {
  37246. "autoid": {
  37247. "description": "AutoID 模板id",
  37248. "type": "integer"
  37249. },
  37250. "createtime": {
  37251. "description": "创建时间",
  37252. "type": "string"
  37253. },
  37254. "creatorid": {
  37255. "description": "创建人",
  37256. "type": "integer"
  37257. },
  37258. "lstStep": {
  37259. "description": "步骤信息列表",
  37260. "type": "array",
  37261. "items": {
  37262. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  37263. }
  37264. },
  37265. "paymenttype": {
  37266. "description": "支付方式 - 1:冻结 2:扣款",
  37267. "type": "integer"
  37268. },
  37269. "takemode": {
  37270. "description": "提货方式 - 1:无 2:买方自提 3:卖方发货",
  37271. "type": "integer"
  37272. },
  37273. "templatename": {
  37274. "description": "模板名称",
  37275. "type": "string"
  37276. },
  37277. "templatetype": {
  37278. "description": "模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式",
  37279. "type": "integer"
  37280. },
  37281. "userid": {
  37282. "description": "所属用户",
  37283. "type": "integer"
  37284. }
  37285. }
  37286. },
  37287. "models.WrPosition": {
  37288. "type": "object",
  37289. "properties": {
  37290. "accountid": {
  37291. "description": "帐户ID",
  37292. "type": "integer"
  37293. },
  37294. "buyexcuteqty": {
  37295. "description": "采购履约中数量",
  37296. "type": "number"
  37297. },
  37298. "creditcurqty": {
  37299. "description": "授信当前数量(预售仓单:预售当前量)",
  37300. "type": "number"
  37301. },
  37302. "creditenableqty": {
  37303. "description": "授信可用数量(预售仓单: 可用数量)",
  37304. "type": "number"
  37305. },
  37306. "creditfreezeqty": {
  37307. "description": "授信冻结数量(预售仓单: 当前数量)",
  37308. "type": "number"
  37309. },
  37310. "credittotalqty": {
  37311. "description": "授信总数量(预售仓单:预售总量)",
  37312. "type": "number"
  37313. },
  37314. "credittradeqty": {
  37315. "description": "授信成交数量(预售仓单:成交总量)",
  37316. "type": "number"
  37317. },
  37318. "deliverygoodscode": {
  37319. "description": "品种代码",
  37320. "type": "string"
  37321. },
  37322. "deliverygoodsid": {
  37323. "description": "品种ID",
  37324. "type": "integer"
  37325. },
  37326. "deliverygoodsname": {
  37327. "description": "品种名称",
  37328. "type": "string"
  37329. },
  37330. "enalbeqty": {
  37331. "description": "可用数量",
  37332. "type": "number"
  37333. },
  37334. "enumdicname": {
  37335. "description": "单位名称",
  37336. "type": "string"
  37337. },
  37338. "freezeqty": {
  37339. "description": "总冻结数量",
  37340. "type": "number"
  37341. },
  37342. "haswr": {
  37343. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  37344. "type": "integer"
  37345. },
  37346. "minivalue": {
  37347. "description": "现货商品最小变动值",
  37348. "type": "integer"
  37349. },
  37350. "modifytime": {
  37351. "description": "修改时间(过户时间)",
  37352. "type": "string"
  37353. },
  37354. "optioncompare": {
  37355. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  37356. "type": "string"
  37357. },
  37358. "pledgeqty": {
  37359. "description": "质押数量",
  37360. "type": "number"
  37361. },
  37362. "querytype": {
  37363. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总)",
  37364. "type": "integer"
  37365. },
  37366. "sellexcuteqty": {
  37367. "description": "销售履约中数量",
  37368. "type": "number"
  37369. },
  37370. "totalqty": {
  37371. "description": "总数量(库存数量)",
  37372. "type": "number"
  37373. },
  37374. "warehouseid": {
  37375. "description": "仓库ID",
  37376. "type": "integer"
  37377. },
  37378. "warehousename": {
  37379. "description": "仓库名称",
  37380. "type": "string"
  37381. },
  37382. "wrfactortypeid": {
  37383. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  37384. "type": "string"
  37385. },
  37386. "wrfactortypename": {
  37387. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  37388. "type": "string"
  37389. },
  37390. "wrpositionid": {
  37391. "description": "仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)",
  37392. "type": "string"
  37393. },
  37394. "wrpositionno": {
  37395. "description": "仓单编号",
  37396. "type": "string"
  37397. },
  37398. "wrstandardcode": {
  37399. "description": "现货商品代码",
  37400. "type": "string"
  37401. },
  37402. "wrstandardid": {
  37403. "description": "现货商品ID",
  37404. "type": "integer"
  37405. },
  37406. "wrstandardname": {
  37407. "description": "商品名称",
  37408. "type": "string"
  37409. },
  37410. "wrtypename": {
  37411. "description": "商品",
  37412. "type": "string"
  37413. },
  37414. "wruserid": {
  37415. "description": "持有人ID",
  37416. "type": "integer"
  37417. }
  37418. }
  37419. },
  37420. "models.WrPreSaleInfo": {
  37421. "type": "object",
  37422. "properties": {
  37423. "bannerpicurl": {
  37424. "description": "Banner图",
  37425. "type": "string"
  37426. },
  37427. "baseqty": {
  37428. "description": "中签基数",
  37429. "type": "number"
  37430. },
  37431. "createtime": {
  37432. "description": "创建时间",
  37433. "type": "string"
  37434. },
  37435. "deliverygoodsid": {
  37436. "description": "现货品种ID",
  37437. "type": "integer"
  37438. },
  37439. "enddate": {
  37440. "description": "预售结束日期",
  37441. "type": "string"
  37442. },
  37443. "enumdicname": {
  37444. "description": "单位名称",
  37445. "type": "string"
  37446. },
  37447. "lotteryflag": {
  37448. "description": "摇号标识 - 0:未摇号 1:已摇号",
  37449. "type": "integer"
  37450. },
  37451. "lotteryqty": {
  37452. "description": "摇号总量",
  37453. "type": "number"
  37454. },
  37455. "luckyqty": {
  37456. "description": "已中签量",
  37457. "type": "number"
  37458. },
  37459. "marketid": {
  37460. "description": "市场ID",
  37461. "type": "integer"
  37462. },
  37463. "maxbuyqty": {
  37464. "description": "单人最大申购量",
  37465. "type": "number"
  37466. },
  37467. "maxluckyqty": {
  37468. "description": "单人最大中签量",
  37469. "type": "number"
  37470. },
  37471. "pictureurls": {
  37472. "description": "详情图片(逗号分隔)",
  37473. "type": "string"
  37474. },
  37475. "placeqty": {
  37476. "description": "已配售量",
  37477. "type": "number"
  37478. },
  37479. "presaleapplyid": {
  37480. "description": "预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)",
  37481. "type": "string",
  37482. "example": "0"
  37483. },
  37484. "presaleqty": {
  37485. "description": "预售总量",
  37486. "type": "number"
  37487. },
  37488. "presalestatus": {
  37489. "description": "预售状态 - 1:未开始 2:进行中 3:已结束 4:已关闭",
  37490. "type": "integer"
  37491. },
  37492. "sellaccountid": {
  37493. "description": "发行方资金账户ID",
  37494. "type": "integer"
  37495. },
  37496. "selluserid": {
  37497. "description": "发行方用户ID",
  37498. "type": "integer"
  37499. },
  37500. "sellwrtradeorderid": {
  37501. "description": "发行方卖委托单ID",
  37502. "type": "string"
  37503. },
  37504. "startdate": {
  37505. "description": "预售开始日期",
  37506. "type": "string"
  37507. },
  37508. "takestartdate": {
  37509. "description": "提货开始日期",
  37510. "type": "string"
  37511. },
  37512. "thumurls": {
  37513. "description": "缩略图片(1:1)(逗号分隔)",
  37514. "type": "string"
  37515. },
  37516. "tradedate": {
  37517. "description": "交易日",
  37518. "type": "string"
  37519. },
  37520. "unitid": {
  37521. "description": "单位ID",
  37522. "type": "integer"
  37523. },
  37524. "unitprice": {
  37525. "description": "商品单价",
  37526. "type": "number"
  37527. },
  37528. "username": {
  37529. "description": "发行方用户名称",
  37530. "type": "string"
  37531. },
  37532. "warehousecode": {
  37533. "description": "仓库代码(仓库简称)",
  37534. "type": "string"
  37535. },
  37536. "warehouseid": {
  37537. "description": "仓库ID",
  37538. "type": "integer"
  37539. },
  37540. "warehousename": {
  37541. "description": "仓库名称",
  37542. "type": "string"
  37543. },
  37544. "wrfactortypeid": {
  37545. "description": "仓单要素类型ID - 根据现货商品\\仓库生成",
  37546. "type": "string",
  37547. "example": "0"
  37548. },
  37549. "wrstandardid": {
  37550. "description": "现货商品ID",
  37551. "type": "integer"
  37552. },
  37553. "wrstandardname": {
  37554. "description": "现货商品名称",
  37555. "type": "string"
  37556. }
  37557. }
  37558. },
  37559. "models.WrQuoteOrderMyq": {
  37560. "type": "object",
  37561. "properties": {
  37562. "buyorsell": {
  37563. "description": "买卖 - 0:买 1:卖",
  37564. "type": "integer"
  37565. },
  37566. "canbargain": {
  37567. "description": "是否可议价 - 0:不可 1:可",
  37568. "type": "integer"
  37569. },
  37570. "canpart": {
  37571. "description": "是否允许部份摘牌 - 0:不允许 1:允许",
  37572. "type": "integer"
  37573. },
  37574. "delistminqty": {
  37575. "description": "起摘数量",
  37576. "type": "number"
  37577. },
  37578. "deliverygoodscode": {
  37579. "description": "品种代码",
  37580. "type": "string"
  37581. },
  37582. "deliverygoodsid": {
  37583. "description": "品种ID",
  37584. "type": "integer"
  37585. },
  37586. "deliverygoodsname": {
  37587. "description": "品种名称",
  37588. "type": "string"
  37589. },
  37590. "deliverymonth": {
  37591. "description": "交收月",
  37592. "type": "string"
  37593. },
  37594. "enumdicname": {
  37595. "description": "单位名称",
  37596. "type": "string"
  37597. },
  37598. "fixedprice": {
  37599. "description": "买(卖)价",
  37600. "type": "number"
  37601. },
  37602. "goodscode": {
  37603. "description": "商品合约代码",
  37604. "type": "string"
  37605. },
  37606. "marginflag": {
  37607. "description": "挂牌是否指定保证金 - 0:未指定 1:指定",
  37608. "type": "integer"
  37609. },
  37610. "marginvalue": {
  37611. "description": "保证金设置值",
  37612. "type": "number"
  37613. },
  37614. "minivalue": {
  37615. "description": "现货商品最小变动值",
  37616. "type": "integer"
  37617. },
  37618. "orderqty": {
  37619. "description": "买(卖)量(=委托量-成交量)",
  37620. "type": "number"
  37621. },
  37622. "ordertime": {
  37623. "description": "委托时间",
  37624. "type": "string"
  37625. },
  37626. "performancetemplateid": {
  37627. "description": "履约模板id",
  37628. "type": "integer"
  37629. },
  37630. "pricemove": {
  37631. "description": "买(卖)升贴水- 基差",
  37632. "type": "number"
  37633. },
  37634. "templatename": {
  37635. "description": "履约模板名称",
  37636. "type": "string"
  37637. },
  37638. "userid": {
  37639. "description": "购买方(销售方)用户ID",
  37640. "type": "integer"
  37641. },
  37642. "username": {
  37643. "description": "购买方(销售方)",
  37644. "type": "string"
  37645. },
  37646. "validtime": {
  37647. "description": "有效期限",
  37648. "type": "string"
  37649. },
  37650. "validtype": {
  37651. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  37652. "type": "integer"
  37653. },
  37654. "warehousename": {
  37655. "description": "仓库名称",
  37656. "type": "string"
  37657. },
  37658. "wrfactortypeid": {
  37659. "description": "仓单要素id",
  37660. "type": "string"
  37661. },
  37662. "wrstandardcode": {
  37663. "description": "现货商品代码",
  37664. "type": "string"
  37665. },
  37666. "wrstandardid": {
  37667. "description": "现货商品ID",
  37668. "type": "integer"
  37669. },
  37670. "wrstandardname": {
  37671. "description": "商品名称",
  37672. "type": "string"
  37673. },
  37674. "wrtradeorderid": {
  37675. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  37676. "type": "string"
  37677. },
  37678. "wrtypename": {
  37679. "description": "商品",
  37680. "type": "string"
  37681. }
  37682. }
  37683. },
  37684. "models.WrReckonSpotGoodsTradeSum": {
  37685. "type": "object",
  37686. "properties": {
  37687. "begindate": {
  37688. "description": "开始日期(结果含开始日期) yyyymmdd",
  37689. "type": "string"
  37690. },
  37691. "enddate": {
  37692. "description": "结束日期(结果含结束日期) yyyymmdd",
  37693. "type": "string"
  37694. },
  37695. "marketid": {
  37696. "description": "市场ID",
  37697. "type": "integer"
  37698. },
  37699. "price": {
  37700. "description": "价格 = 日成交金额 / 日成交数量",
  37701. "type": "string"
  37702. },
  37703. "reckondate": {
  37704. "description": "日期 格式 yyyymmdd",
  37705. "type": "string"
  37706. },
  37707. "tradeamount": {
  37708. "description": "日成交金额(当日单方向成交金额)",
  37709. "type": "number"
  37710. },
  37711. "tradeqty": {
  37712. "description": "日成交数量(当日单方向成交数量)",
  37713. "type": "number"
  37714. },
  37715. "wrstandardid": {
  37716. "description": "现货商品ID",
  37717. "type": "integer"
  37718. }
  37719. }
  37720. },
  37721. "models.WrScfContract": {
  37722. "type": "object",
  37723. "properties": {
  37724. "borroweruserid": {
  37725. "description": "借款用户ID",
  37726. "type": "integer"
  37727. },
  37728. "buybackwrpositionqty": {
  37729. "description": "已回购仓单头寸数量 - [仓单回购\\仓单质押] -\u003e 已回购数量",
  37730. "type": "number"
  37731. },
  37732. "closeinterest": {
  37733. "description": "已结利息 -\u003e 已结费用",
  37734. "type": "number"
  37735. },
  37736. "currisklevel": {
  37737. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  37738. "type": "integer"
  37739. },
  37740. "deadline": {
  37741. "description": "截止日期(yyyyMMdd) -\u003e 借款到期时间",
  37742. "type": "string"
  37743. },
  37744. "deliverygoodscode": {
  37745. "description": "品种代码",
  37746. "type": "string"
  37747. },
  37748. "deliverygoodsid": {
  37749. "description": "品种ID",
  37750. "type": "integer"
  37751. },
  37752. "deliverygoodsname": {
  37753. "description": "品种名称",
  37754. "type": "string"
  37755. },
  37756. "enumdicname": {
  37757. "description": "单位名称",
  37758. "type": "string"
  37759. },
  37760. "financingdays": {
  37761. "description": "天数(天)",
  37762. "type": "integer"
  37763. },
  37764. "initmargin": {
  37765. "description": "保证金 - [仓单回购]",
  37766. "type": "number"
  37767. },
  37768. "interestamount": {
  37769. "description": "计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \\ 合同剩余金额",
  37770. "type": "number"
  37771. },
  37772. "interestdebt": {
  37773. "description": "利息欠款(记录负数) -\u003e 费用欠款",
  37774. "type": "number"
  37775. },
  37776. "interestminlen": {
  37777. "description": "最小起息天数",
  37778. "type": "integer"
  37779. },
  37780. "interestrate": {
  37781. "description": "利率",
  37782. "type": "number"
  37783. },
  37784. "interestratemode": {
  37785. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  37786. "type": "integer"
  37787. },
  37788. "interestsettlemode": {
  37789. "description": "结息方式 - 1:按日结息 3:按月结息",
  37790. "type": "integer"
  37791. },
  37792. "interestsettlevalue": {
  37793. "description": "结息方式值",
  37794. "type": "integer"
  37795. },
  37796. "isautoloan": {
  37797. "description": "是否自动放款 - 0:手动 1:自动 - [仓单质押]",
  37798. "type": "integer"
  37799. },
  37800. "lastcloseinterestday": {
  37801. "description": "最近结息日(yyyyMMdd)",
  37802. "type": "string"
  37803. },
  37804. "lenderamount": {
  37805. "description": "贷款金额 -\u003e 借款金额",
  37806. "type": "number"
  37807. },
  37808. "lenderuserid": {
  37809. "description": "贷款方用户ID -\u003e 融出方用户ID",
  37810. "type": "integer"
  37811. },
  37812. "lenderusername": {
  37813. "description": "融出方",
  37814. "type": "string"
  37815. },
  37816. "marginratio": {
  37817. "description": "保证金比率质押率 - [仓单质押]",
  37818. "type": "number"
  37819. },
  37820. "marketid": {
  37821. "description": "市场ID - 拆成三个独立模式后,根据市场ID处理",
  37822. "type": "integer"
  37823. },
  37824. "minivalue": {
  37825. "description": "现货商品最小变动值",
  37826. "type": "integer"
  37827. },
  37828. "optioncompare": {
  37829. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  37830. "type": "string"
  37831. },
  37832. "pricemove": {
  37833. "description": "估值升贴水值",
  37834. "type": "number"
  37835. },
  37836. "productdetailid": {
  37837. "description": "产品组合ID",
  37838. "type": "integer"
  37839. },
  37840. "productid": {
  37841. "description": "金融产品ID",
  37842. "type": "integer"
  37843. },
  37844. "productname": {
  37845. "description": "产品名称",
  37846. "type": "string"
  37847. },
  37848. "remainamount": {
  37849. "description": "合同剩余金额 -\u003e 剩余金额",
  37850. "type": "number"
  37851. },
  37852. "remainwrpositionqty": {
  37853. "description": "剩余仓单头寸数量 - [仓单回购\\仓单质押] -\u003e 剩余数量(待回购数量)",
  37854. "type": "number"
  37855. },
  37856. "remark": {
  37857. "description": "备注",
  37858. "type": "string"
  37859. },
  37860. "scfcontractid": {
  37861. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  37862. "type": "string"
  37863. },
  37864. "scfcontractstatus": {
  37865. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  37866. "type": "integer"
  37867. },
  37868. "scfcontracttype": {
  37869. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购",
  37870. "type": "integer"
  37871. },
  37872. "startinterestday": {
  37873. "description": "计息开始日(yyyyMMdd) -\u003e 开始计费日期",
  37874. "type": "string"
  37875. },
  37876. "totalinterest": {
  37877. "description": "已计利息 -\u003e 已计费用",
  37878. "type": "number"
  37879. },
  37880. "unpaidinterest": {
  37881. "description": "未结费用",
  37882. "type": "number"
  37883. },
  37884. "updatetime": {
  37885. "description": "更新时间",
  37886. "type": "string"
  37887. },
  37888. "warehouseid": {
  37889. "description": "仓库ID",
  37890. "type": "integer"
  37891. },
  37892. "warehousename": {
  37893. "description": "仓库名称",
  37894. "type": "string"
  37895. },
  37896. "wrfactortypeid": {
  37897. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  37898. "type": "string"
  37899. },
  37900. "wrfactortypename": {
  37901. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  37902. "type": "string"
  37903. },
  37904. "wrqty": {
  37905. "description": "仓单数量 - [仓单回购\\仓单质押] -\u003e 数量",
  37906. "type": "number"
  37907. },
  37908. "wrstandardcode": {
  37909. "description": "现货商品代码",
  37910. "type": "string"
  37911. },
  37912. "wrstandardid": {
  37913. "description": "现货商品ID",
  37914. "type": "integer"
  37915. },
  37916. "wrstandardname": {
  37917. "description": "商品名称",
  37918. "type": "string"
  37919. },
  37920. "wrtypename": {
  37921. "description": "商品",
  37922. "type": "string"
  37923. }
  37924. }
  37925. },
  37926. "models.WrScfContractInterest": {
  37927. "type": "object",
  37928. "properties": {
  37929. "closeinterest": {
  37930. "description": "已结利息",
  37931. "type": "number"
  37932. },
  37933. "closeintereststatus": {
  37934. "description": "结息状态 - 1:未结 2:已结",
  37935. "type": "integer"
  37936. },
  37937. "closetime": {
  37938. "description": "结息时间",
  37939. "type": "string"
  37940. },
  37941. "closetradedate": {
  37942. "description": "结息交易日",
  37943. "type": "string"
  37944. },
  37945. "creatorid": {
  37946. "description": "操作人ID",
  37947. "type": "integer"
  37948. },
  37949. "dayrate": {
  37950. "description": "日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)",
  37951. "type": "number"
  37952. },
  37953. "interest": {
  37954. "description": "利息",
  37955. "type": "number"
  37956. },
  37957. "interestamount": {
  37958. "description": "计息金额",
  37959. "type": "number"
  37960. },
  37961. "interestday": {
  37962. "description": "计息日(yyyyMMdd)",
  37963. "type": "string"
  37964. },
  37965. "scfcontractid": {
  37966. "description": "SCF合同ID",
  37967. "type": "string"
  37968. },
  37969. "scfcontractinterestid": {
  37970. "description": "SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)",
  37971. "type": "integer"
  37972. },
  37973. "updatetime": {
  37974. "description": "更新时间",
  37975. "type": "string"
  37976. }
  37977. }
  37978. },
  37979. "models.WrSearchUser": {
  37980. "type": "object",
  37981. "required": [
  37982. "username"
  37983. ],
  37984. "properties": {
  37985. "userid": {
  37986. "description": "用户ID",
  37987. "type": "integer"
  37988. },
  37989. "username": {
  37990. "description": "用户名称(已脱敏)",
  37991. "type": "string"
  37992. },
  37993. "username2": {
  37994. "description": "用户名称(未脱敏)",
  37995. "type": "string"
  37996. },
  37997. "usertype": {
  37998. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  37999. "type": "integer"
  38000. }
  38001. }
  38002. },
  38003. "models.WrSiteColumnDetail": {
  38004. "type": "object",
  38005. "properties": {
  38006. "brief": {
  38007. "description": "简介",
  38008. "type": "string"
  38009. },
  38010. "context": {
  38011. "description": "内容",
  38012. "type": "string"
  38013. },
  38014. "coverimage": {
  38015. "description": "封面图片",
  38016. "type": "string"
  38017. },
  38018. "creaedate": {
  38019. "description": "创建时间",
  38020. "type": "string"
  38021. },
  38022. "id": {
  38023. "description": "ID(SEQ_SITE_COLUMNDETAIL)",
  38024. "type": "integer"
  38025. },
  38026. "istop": {
  38027. "description": "是否置顶 - 0:不置 1:置顶",
  38028. "type": "integer"
  38029. },
  38030. "publishdate": {
  38031. "description": "发布日期",
  38032. "type": "string"
  38033. },
  38034. "title": {
  38035. "description": "标题",
  38036. "type": "string"
  38037. },
  38038. "updatedate": {
  38039. "description": "修改时间",
  38040. "type": "string"
  38041. }
  38042. }
  38043. },
  38044. "models.WrSpecialMatchOrder": {
  38045. "type": "object",
  38046. "properties": {
  38047. "amount": {
  38048. "description": "金额 = 数量 * 价格",
  38049. "type": "number"
  38050. },
  38051. "buyorsell": {
  38052. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  38053. "type": "integer"
  38054. },
  38055. "cancelqty": {
  38056. "description": "撤销数量",
  38057. "type": "number"
  38058. },
  38059. "deliverygoodscode": {
  38060. "description": "品种代码",
  38061. "type": "string"
  38062. },
  38063. "deliverygoodsid": {
  38064. "description": "品种ID",
  38065. "type": "integer"
  38066. },
  38067. "deliverygoodsname": {
  38068. "description": "品种名称",
  38069. "type": "string"
  38070. },
  38071. "enumdicname": {
  38072. "description": "单位名称",
  38073. "type": "string"
  38074. },
  38075. "fixedprice": {
  38076. "description": "固定价格(价格)",
  38077. "type": "number"
  38078. },
  38079. "haswr": {
  38080. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  38081. "type": "integer"
  38082. },
  38083. "isspecified": {
  38084. "description": "是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]",
  38085. "type": "integer"
  38086. },
  38087. "marketid": {
  38088. "description": "市场ID",
  38089. "type": "integer"
  38090. },
  38091. "matchuserid": {
  38092. "description": "指定方资金账号(字段名为userid,实际存的是accountid by:邓工)",
  38093. "type": "integer"
  38094. },
  38095. "matchusername": {
  38096. "description": "指定方",
  38097. "type": "string"
  38098. },
  38099. "minivalue": {
  38100. "description": "现货商品最小变动值",
  38101. "type": "integer"
  38102. },
  38103. "optioncompare": {
  38104. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  38105. "type": "string"
  38106. },
  38107. "orderqty": {
  38108. "description": "委托数量",
  38109. "type": "number"
  38110. },
  38111. "ordertime": {
  38112. "description": "委托时间",
  38113. "type": "string"
  38114. },
  38115. "pricemove": {
  38116. "description": "升贴水(浮动价时填写) - [挂牌]",
  38117. "type": "number"
  38118. },
  38119. "tradedate": {
  38120. "description": "交易日(yyyyMMdd)",
  38121. "type": "string"
  38122. },
  38123. "tradeprice": {
  38124. "description": "成交价格",
  38125. "type": "number"
  38126. },
  38127. "tradeqty": {
  38128. "description": "成交数量",
  38129. "type": "number"
  38130. },
  38131. "userid": {
  38132. "description": "用户ID",
  38133. "type": "integer"
  38134. },
  38135. "username": {
  38136. "description": "发起方",
  38137. "type": "string"
  38138. },
  38139. "warehouseid": {
  38140. "description": "仓库ID",
  38141. "type": "integer"
  38142. },
  38143. "warehousename": {
  38144. "description": "仓库名称",
  38145. "type": "string"
  38146. },
  38147. "wrfactortypeid": {
  38148. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  38149. "type": "string"
  38150. },
  38151. "wrfactortypename": {
  38152. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  38153. "type": "string"
  38154. },
  38155. "wrpricetype": {
  38156. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  38157. "type": "integer"
  38158. },
  38159. "wrstandardcode": {
  38160. "description": "现货商品代码",
  38161. "type": "string"
  38162. },
  38163. "wrstandardid": {
  38164. "description": "现货商品ID",
  38165. "type": "integer"
  38166. },
  38167. "wrstandardname": {
  38168. "description": "商品名称",
  38169. "type": "string"
  38170. },
  38171. "wrtradeorderid": {
  38172. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  38173. "type": "string"
  38174. },
  38175. "wrtradeorderstatus": {
  38176. "description": "委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤",
  38177. "type": "integer"
  38178. },
  38179. "wrtradetype": {
  38180. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  38181. "type": "integer"
  38182. },
  38183. "wrtypename": {
  38184. "description": "商品",
  38185. "type": "string"
  38186. }
  38187. }
  38188. },
  38189. "models.WrSpotGroupTradeSum": {
  38190. "type": "object",
  38191. "properties": {
  38192. "deliverygoodscode": {
  38193. "description": "现货品种代码",
  38194. "type": "string"
  38195. },
  38196. "deliverygoodsid": {
  38197. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  38198. "type": "integer"
  38199. },
  38200. "deliverygoodsname": {
  38201. "description": "现货品种名称",
  38202. "type": "string"
  38203. },
  38204. "lastavgprice": {
  38205. "description": "上上个交易日价格(前2天价格)",
  38206. "type": "string"
  38207. },
  38208. "lastreckondate": {
  38209. "description": "上上个交易日(前2天交易日)",
  38210. "type": "string"
  38211. },
  38212. "reckondate": {
  38213. "description": "上个交易日(前1天交易日)",
  38214. "type": "string"
  38215. },
  38216. "todayavgprice": {
  38217. "description": "上个交易日价格(前1天价格)",
  38218. "type": "string"
  38219. },
  38220. "updown": {
  38221. "description": "涨跌",
  38222. "type": "string"
  38223. },
  38224. "updownratio": {
  38225. "description": "涨幅(已格式化, 直接显示即可)",
  38226. "type": "string"
  38227. }
  38228. }
  38229. },
  38230. "models.WrSpotGroupTradeSumDetail": {
  38231. "type": "object",
  38232. "properties": {
  38233. "deliverygoodsid": {
  38234. "description": "现货商品id",
  38235. "type": "integer"
  38236. },
  38237. "price": {
  38238. "description": "价格",
  38239. "type": "number"
  38240. },
  38241. "reckondate": {
  38242. "description": "日期(yyymmdd, 如:20211031)",
  38243. "type": "string"
  38244. }
  38245. }
  38246. },
  38247. "models.WrSpotGroupTradeSumEx": {
  38248. "type": "object",
  38249. "properties": {
  38250. "lst": {
  38251. "description": "指数列表",
  38252. "type": "array",
  38253. "items": {
  38254. "$ref": "#/definitions/models.WrSpotGroupTradeSum"
  38255. }
  38256. },
  38257. "prereckondate": {
  38258. "description": "上上个交易日(yyymmdd)",
  38259. "type": "string"
  38260. },
  38261. "reckondate": {
  38262. "description": "上个交易日(yyyymmdd)",
  38263. "type": "string"
  38264. }
  38265. }
  38266. },
  38267. "models.WrStandardFactoryItem": {
  38268. "type": "object",
  38269. "properties": {
  38270. "dgfactoryitemid": {
  38271. "description": "选择项id",
  38272. "type": "integer"
  38273. },
  38274. "dgfactoryitemvalue": {
  38275. "description": "要素项值",
  38276. "type": "string"
  38277. },
  38278. "warehouseid": {
  38279. "description": "仓库id",
  38280. "type": "integer"
  38281. }
  38282. }
  38283. },
  38284. "models.WrStandardFactoryItemEx": {
  38285. "type": "object",
  38286. "properties": {
  38287. "dgfactoryitemtypeid": {
  38288. "description": "要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)",
  38289. "type": "integer"
  38290. },
  38291. "itemlst": {
  38292. "description": "要素项列表",
  38293. "type": "array",
  38294. "items": {
  38295. "$ref": "#/definitions/models.WrStandardFactoryItem"
  38296. }
  38297. },
  38298. "itemtypename": {
  38299. "description": "要素项类型名称",
  38300. "type": "string"
  38301. },
  38302. "wrstandardid": {
  38303. "description": "品类",
  38304. "type": "integer"
  38305. }
  38306. }
  38307. },
  38308. "models.WrTradeDetail": {
  38309. "type": "object",
  38310. "properties": {
  38311. "accountid": {
  38312. "description": "资金账号",
  38313. "type": "integer"
  38314. },
  38315. "bannerpicurl": {
  38316. "description": "Banner图",
  38317. "type": "string"
  38318. },
  38319. "begindate": {
  38320. "description": "开始交易日(yyyymmdd)",
  38321. "type": "string"
  38322. },
  38323. "buyorsell": {
  38324. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  38325. "type": "integer"
  38326. },
  38327. "chargevalue": {
  38328. "description": "手续费",
  38329. "type": "number"
  38330. },
  38331. "deliverygoodscode": {
  38332. "description": "品种代码",
  38333. "type": "string"
  38334. },
  38335. "deliverygoodsid": {
  38336. "description": "品种ID",
  38337. "type": "integer"
  38338. },
  38339. "deliverygoodsname": {
  38340. "description": "品种名称",
  38341. "type": "string"
  38342. },
  38343. "deliverymonth": {
  38344. "description": "交收月",
  38345. "type": "string"
  38346. },
  38347. "enddate": {
  38348. "description": "结束交易日(yyyymmdd)",
  38349. "type": "string"
  38350. },
  38351. "enumdicname": {
  38352. "description": "单位名称",
  38353. "type": "string"
  38354. },
  38355. "haswr": {
  38356. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  38357. "type": "integer"
  38358. },
  38359. "marketid": {
  38360. "description": "市场ID",
  38361. "type": "integer"
  38362. },
  38363. "matchaccountid": {
  38364. "description": "对手账号",
  38365. "type": "integer"
  38366. },
  38367. "matchusername": {
  38368. "description": "对手方",
  38369. "type": "string"
  38370. },
  38371. "minivalue": {
  38372. "description": "现货商品最小变动值",
  38373. "type": "integer"
  38374. },
  38375. "optioncompare": {
  38376. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  38377. "type": "string"
  38378. },
  38379. "thumurls": {
  38380. "description": "缩略图",
  38381. "type": "string"
  38382. },
  38383. "tradedate": {
  38384. "description": "交易日(yyyyMMdd)",
  38385. "type": "string"
  38386. },
  38387. "tradeprice": {
  38388. "description": "成交价格",
  38389. "type": "number"
  38390. },
  38391. "tradeqty": {
  38392. "description": "成交数量",
  38393. "type": "number"
  38394. },
  38395. "tradetime": {
  38396. "description": "成交时间",
  38397. "type": "string"
  38398. },
  38399. "userid": {
  38400. "description": "用户ID",
  38401. "type": "integer"
  38402. },
  38403. "warehouseid": {
  38404. "description": "仓库ID",
  38405. "type": "integer"
  38406. },
  38407. "warehousename": {
  38408. "description": "仓库名称",
  38409. "type": "string"
  38410. },
  38411. "wrfactortypeid": {
  38412. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  38413. "type": "string"
  38414. },
  38415. "wrfactortypename": {
  38416. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  38417. "type": "string"
  38418. },
  38419. "wrstandardcode": {
  38420. "description": "现货商品代码",
  38421. "type": "string"
  38422. },
  38423. "wrstandardid": {
  38424. "description": "现货商品ID",
  38425. "type": "integer"
  38426. },
  38427. "wrstandardname": {
  38428. "description": "商品名称",
  38429. "type": "string"
  38430. },
  38431. "wrtradedetailid": {
  38432. "description": "仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)",
  38433. "type": "string"
  38434. },
  38435. "wrtradetype": {
  38436. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  38437. "type": "integer"
  38438. },
  38439. "wrtypename": {
  38440. "description": "商品",
  38441. "type": "string"
  38442. }
  38443. }
  38444. },
  38445. "models.WrTradeOrderDetail": {
  38446. "type": "object",
  38447. "properties": {
  38448. "buyorsell": {
  38449. "description": "买卖方向 0-买 1-卖",
  38450. "type": "integer"
  38451. },
  38452. "goodsid": {
  38453. "description": "商品id",
  38454. "type": "integer"
  38455. },
  38456. "orderid": {
  38457. "description": "委托单号",
  38458. "type": "string"
  38459. },
  38460. "orderprice": {
  38461. "description": "委托价格",
  38462. "type": "number"
  38463. },
  38464. "orderqty": {
  38465. "description": "委托数量",
  38466. "type": "integer"
  38467. },
  38468. "userid": {
  38469. "description": "用户id",
  38470. "type": "integer"
  38471. },
  38472. "username": {
  38473. "description": "用户名称(已脱敏)",
  38474. "type": "string"
  38475. }
  38476. }
  38477. },
  38478. "models.WrTypeItem": {
  38479. "type": "object",
  38480. "properties": {
  38481. "name": {
  38482. "description": "名称",
  38483. "type": "string"
  38484. },
  38485. "value": {
  38486. "description": "值",
  38487. "type": "string"
  38488. }
  38489. }
  38490. },
  38491. "models.WrUserFriend": {
  38492. "type": "object",
  38493. "properties": {
  38494. "friendname": {
  38495. "description": "朋友名称(已脱敏)",
  38496. "type": "string"
  38497. },
  38498. "frienduserid": {
  38499. "description": "朋友id",
  38500. "type": "integer"
  38501. },
  38502. "isfriend": {
  38503. "description": "是否好友 0-不是 1-是",
  38504. "type": "integer"
  38505. },
  38506. "userid": {
  38507. "description": "用户id",
  38508. "type": "integer"
  38509. }
  38510. }
  38511. },
  38512. "models.WrUserReceiptInfo": {
  38513. "type": "object",
  38514. "properties": {
  38515. "address": {
  38516. "description": "地址[发票类型:企业]",
  38517. "type": "string"
  38518. },
  38519. "autoid": {
  38520. "description": "AutoID",
  38521. "type": "integer"
  38522. },
  38523. "contactinfo": {
  38524. "description": "联系方式",
  38525. "type": "string"
  38526. },
  38527. "idnum": {
  38528. "description": "身份证号码[发票类型:个人]",
  38529. "type": "string"
  38530. },
  38531. "isdefault": {
  38532. "description": "是否默认地址 - 0:否 1:是",
  38533. "type": "integer"
  38534. },
  38535. "receiptaccount": {
  38536. "description": "发票帐号[发票类型:企业]",
  38537. "type": "string"
  38538. },
  38539. "receiptbank": {
  38540. "description": "发票开户行[发票类型:企业]",
  38541. "type": "string"
  38542. },
  38543. "receipttype": {
  38544. "description": "发票类型 - 1:个人 2:企业",
  38545. "type": "integer"
  38546. },
  38547. "taxpayerid": {
  38548. "description": "纳税人识别号",
  38549. "type": "string"
  38550. },
  38551. "userid": {
  38552. "description": "用户ID",
  38553. "type": "integer"
  38554. },
  38555. "username": {
  38556. "description": "户名(个人姓名或企业名称)",
  38557. "type": "string"
  38558. }
  38559. }
  38560. },
  38561. "models.XHBRAND": {
  38562. "type": "object",
  38563. "properties": {
  38564. "brandid": {
  38565. "description": "品牌id",
  38566. "type": "integer"
  38567. },
  38568. "brandname": {
  38569. "description": "品牌名称",
  38570. "type": "string"
  38571. },
  38572. "isvalid": {
  38573. "description": "是否有效 0-无效 1-有效",
  38574. "type": "integer"
  38575. }
  38576. }
  38577. },
  38578. "models.XHDeliveryGoods": {
  38579. "type": "object",
  38580. "properties": {
  38581. "areauserid": {
  38582. "description": "所属机构",
  38583. "type": "integer"
  38584. },
  38585. "bdlst": {
  38586. "description": "品牌列表",
  38587. "type": "array",
  38588. "items": {
  38589. "$ref": "#/definitions/models.XHBRAND"
  38590. }
  38591. },
  38592. "deliverygoodscode": {
  38593. "description": "现货品种代码",
  38594. "type": "string"
  38595. },
  38596. "deliverygoodsid": {
  38597. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  38598. "type": "integer"
  38599. },
  38600. "deliverygoodsname": {
  38601. "description": "现货品种名称",
  38602. "type": "string"
  38603. },
  38604. "dgstatus": {
  38605. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  38606. "type": "integer"
  38607. },
  38608. "filterSubEmpty": {
  38609. "description": "过滤下级为空的",
  38610. "type": "integer"
  38611. },
  38612. "isvalid": {
  38613. "description": "是否有效 - 0:无效 1:有效",
  38614. "type": "integer"
  38615. },
  38616. "remark": {
  38617. "description": "备注",
  38618. "type": "string"
  38619. },
  38620. "unitid": {
  38621. "description": "单位id(目前看,数据库中是空值)",
  38622. "type": "integer"
  38623. },
  38624. "wdlst": {
  38625. "description": "品类(现货商品)列表",
  38626. "type": "array",
  38627. "items": {
  38628. "$ref": "#/definitions/models.XHWrstandard"
  38629. }
  38630. }
  38631. }
  38632. },
  38633. "models.XHMiddleGoods": {
  38634. "type": "object",
  38635. "properties": {
  38636. "GPLST": {
  38637. "description": "期货品种列表",
  38638. "type": "array",
  38639. "items": {
  38640. "$ref": "#/definitions/models.TBGoodsGroup"
  38641. }
  38642. },
  38643. "convertratio": {
  38644. "description": "拆算系数",
  38645. "type": "number"
  38646. },
  38647. "costratio": {
  38648. "description": "成本权重",
  38649. "type": "number"
  38650. },
  38651. "deliverygoodsid": {
  38652. "description": "现货商品id",
  38653. "type": "integer"
  38654. },
  38655. "enumdicname": {
  38656. "description": "单位名称",
  38657. "type": "string"
  38658. },
  38659. "middlegoodscode": {
  38660. "description": "套保品种代码",
  38661. "type": "string"
  38662. },
  38663. "middlegoodsid": {
  38664. "description": "套保品种id",
  38665. "type": "integer"
  38666. },
  38667. "middlegoodsname": {
  38668. "description": "套保品种名称",
  38669. "type": "string"
  38670. },
  38671. "unitid": {
  38672. "description": "单位id",
  38673. "type": "integer"
  38674. }
  38675. }
  38676. },
  38677. "models.XHWrstandard": {
  38678. "type": "object",
  38679. "properties": {
  38680. "bannerpicurl": {
  38681. "description": "banner图",
  38682. "type": "string"
  38683. },
  38684. "deliverygoodsid": {
  38685. "description": "品种ID",
  38686. "type": "integer"
  38687. },
  38688. "enumdicname": {
  38689. "description": "单位名称",
  38690. "type": "string"
  38691. },
  38692. "mglst": {
  38693. "description": "套保品列表",
  38694. "type": "array",
  38695. "items": {
  38696. "$ref": "#/definitions/models.XHMiddleGoods"
  38697. }
  38698. },
  38699. "pictureurls": {
  38700. "description": "详情图片(逗号分隔)",
  38701. "type": "string"
  38702. },
  38703. "thumurls": {
  38704. "description": "缩略图片(1:1)(逗号分隔)",
  38705. "type": "string"
  38706. },
  38707. "unitid": {
  38708. "description": "单位id",
  38709. "type": "integer"
  38710. },
  38711. "vatrate": {
  38712. "description": "增值税率",
  38713. "type": "number"
  38714. },
  38715. "wrstandardcode": {
  38716. "description": "现货商品代码",
  38717. "type": "string"
  38718. },
  38719. "wrstandardid": {
  38720. "description": "现货商品ID(SEQ_WRSTANDARD)",
  38721. "type": "integer"
  38722. },
  38723. "wrstandardname": {
  38724. "description": "现货商品名称",
  38725. "type": "string"
  38726. }
  38727. }
  38728. },
  38729. "order.QueryHisTradeDetailRsp": {
  38730. "type": "object",
  38731. "required": [
  38732. "accountid",
  38733. "buyorsell",
  38734. "goodsid",
  38735. "histradedate",
  38736. "marketid",
  38737. "memberuserid",
  38738. "orderid",
  38739. "tradeamount",
  38740. "tradedate",
  38741. "tradeid",
  38742. "tradeprice",
  38743. "tradeqty",
  38744. "tradetime"
  38745. ],
  38746. "properties": {
  38747. "accountid": {
  38748. "description": "账户ID[报价币种]",
  38749. "type": "integer"
  38750. },
  38751. "advanceratio": {
  38752. "description": "首付比率",
  38753. "type": "number"
  38754. },
  38755. "buildtype": {
  38756. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  38757. "type": "integer"
  38758. },
  38759. "buyorsell": {
  38760. "description": "方向 - 0:买 1:卖",
  38761. "type": "integer"
  38762. },
  38763. "charge": {
  38764. "description": "手续费",
  38765. "type": "number"
  38766. },
  38767. "closecharge": {
  38768. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  38769. "type": "number"
  38770. },
  38771. "closeexchagechargevalue": {
  38772. "description": "平仓交易所手续费设置值",
  38773. "type": "number"
  38774. },
  38775. "closefeealgorithm": {
  38776. "description": "平仓手续费收取方式 1:比率 2:固定",
  38777. "type": "integer"
  38778. },
  38779. "closememberchargevalue": {
  38780. "description": "平仓会员手续费设置值",
  38781. "type": "number"
  38782. },
  38783. "closepl": {
  38784. "description": "平仓盈亏",
  38785. "type": "number"
  38786. },
  38787. "closepl2": {
  38788. "description": "平仓盈亏[逐笔]",
  38789. "type": "number"
  38790. },
  38791. "closeqty": {
  38792. "description": "平仓数量(先建后平操作 需要记录)",
  38793. "type": "number"
  38794. },
  38795. "creditamount": {
  38796. "description": "授信金额",
  38797. "type": "number"
  38798. },
  38799. "decimalplace": {
  38800. "description": "商品报价小数位",
  38801. "type": "integer"
  38802. },
  38803. "enumdicname": {
  38804. "description": "单位名称",
  38805. "type": "string"
  38806. },
  38807. "gcaccountid": {
  38808. "description": "账户ID[合约币种]",
  38809. "type": "integer"
  38810. },
  38811. "goodscode": {
  38812. "description": "商品代码",
  38813. "type": "string"
  38814. },
  38815. "goodsid": {
  38816. "description": "商品ID",
  38817. "type": "integer"
  38818. },
  38819. "goodsname": {
  38820. "description": "商品名称",
  38821. "type": "string"
  38822. },
  38823. "goodunitid": {
  38824. "description": "商品单位id",
  38825. "type": "integer"
  38826. },
  38827. "histradedate": {
  38828. "description": "历史交易日",
  38829. "type": "string"
  38830. },
  38831. "intclosepl": {
  38832. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  38833. "type": "integer"
  38834. },
  38835. "isconfirmexercise": {
  38836. "description": "是否确认行权- 0:否 1:是",
  38837. "type": "integer"
  38838. },
  38839. "ismain": {
  38840. "description": "是否主单 - 0:不是 1:是",
  38841. "type": "integer"
  38842. },
  38843. "ispreexercise": {
  38844. "description": "是否预申报- 0:否 1:是",
  38845. "type": "integer"
  38846. },
  38847. "isreckoned": {
  38848. "description": "是否结算 - 0:未结算 1:已结算",
  38849. "type": "integer"
  38850. },
  38851. "isvaliddata": {
  38852. "description": "是否有效 - 0:无效 1:有效",
  38853. "type": "integer"
  38854. },
  38855. "listingselecttype": {
  38856. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  38857. "type": "integer"
  38858. },
  38859. "marketid": {
  38860. "description": "市场ID",
  38861. "type": "integer"
  38862. },
  38863. "marketname": {
  38864. "description": "市场名称",
  38865. "type": "string"
  38866. },
  38867. "matchaccountid": {
  38868. "description": "对手账号id",
  38869. "type": "integer"
  38870. },
  38871. "memberuserid": {
  38872. "description": "会员id 个人投资者 需要填写",
  38873. "type": "integer"
  38874. },
  38875. "opencharge": {
  38876. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  38877. "type": "number"
  38878. },
  38879. "openexchagechargevalue": {
  38880. "description": "建仓交易所手续费设置值",
  38881. "type": "number"
  38882. },
  38883. "openfeealgorithm": {
  38884. "description": "建仓手续费收取方式 1:比率 2:固定",
  38885. "type": "integer"
  38886. },
  38887. "openmemberchargevalue": {
  38888. "description": "建仓会员手续费设置值",
  38889. "type": "number"
  38890. },
  38891. "openqty": {
  38892. "description": "开仓数量(先建后平操作 需要记录)",
  38893. "type": "number"
  38894. },
  38895. "optiontype": {
  38896. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  38897. "type": "integer"
  38898. },
  38899. "orderid": {
  38900. "description": "委托单号",
  38901. "type": "string"
  38902. },
  38903. "payamount": {
  38904. "description": "支付金额(付款金额)",
  38905. "type": "number"
  38906. },
  38907. "performanceplanid": {
  38908. "description": "履约计划ID[期权]",
  38909. "type": "integer"
  38910. },
  38911. "performancestatus": {
  38912. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  38913. "type": "integer"
  38914. },
  38915. "preexerciseprice": {
  38916. "description": "预申报价格",
  38917. "type": "number"
  38918. },
  38919. "premium": {
  38920. "description": "权利金 - [持仓单的权利金]",
  38921. "type": "number"
  38922. },
  38923. "qtydecimalplace": {
  38924. "description": "商品报价小数位",
  38925. "type": "integer"
  38926. },
  38927. "recvamount": {
  38928. "description": "到账金额 = 成交金额 - 手续费",
  38929. "type": "number"
  38930. },
  38931. "relatedouttradeid": {
  38932. "description": "关联外部成交单ID",
  38933. "type": "integer"
  38934. },
  38935. "status": {
  38936. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  38937. "type": "integer"
  38938. },
  38939. "totalamount": {
  38940. "description": "订单总额 = 成交金额 + 手续费",
  38941. "type": "number"
  38942. },
  38943. "tradeamount": {
  38944. "description": "成交金额[账户币种,用于所有权]",
  38945. "type": "number"
  38946. },
  38947. "tradedate": {
  38948. "description": "交易日(yyyyMMdd)",
  38949. "type": "string"
  38950. },
  38951. "tradeid": {
  38952. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  38953. "type": "string"
  38954. },
  38955. "trademode": {
  38956. "description": "交易模式",
  38957. "type": "integer"
  38958. },
  38959. "tradeprice": {
  38960. "description": "成交价格",
  38961. "type": "number"
  38962. },
  38963. "tradeproperty": {
  38964. "description": "交易属性",
  38965. "type": "integer"
  38966. },
  38967. "tradeqty": {
  38968. "description": "成交数量",
  38969. "type": "number"
  38970. },
  38971. "tradetime": {
  38972. "description": "成交时间",
  38973. "type": "string"
  38974. },
  38975. "tradetype": {
  38976. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  38977. "type": "integer"
  38978. }
  38979. }
  38980. },
  38981. "order.QueryHisTradeOrderDetailRsp": {
  38982. "type": "object",
  38983. "required": [
  38984. "accountid",
  38985. "buildtype",
  38986. "buyorsell",
  38987. "goodsid",
  38988. "histradedate",
  38989. "marketid",
  38990. "memberuserid",
  38991. "operatetype",
  38992. "orderid",
  38993. "orderqty",
  38994. "ordertime",
  38995. "pricemode",
  38996. "tradedate",
  38997. "validtype"
  38998. ],
  38999. "properties": {
  39000. "accountid": {
  39001. "description": "账户ID[报价币种]",
  39002. "type": "integer"
  39003. },
  39004. "buildtype": {
  39005. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  39006. "type": "integer"
  39007. },
  39008. "buyorsell": {
  39009. "description": "买卖 - 0:买 1:卖",
  39010. "type": "integer"
  39011. },
  39012. "cancelorderid": {
  39013. "description": "撤单单号(撤单时填写)",
  39014. "type": "string"
  39015. },
  39016. "cancelqty": {
  39017. "description": "撤单数量",
  39018. "type": "number"
  39019. },
  39020. "clientordertime": {
  39021. "description": "客户端委托时间",
  39022. "type": "string"
  39023. },
  39024. "clientticket": {
  39025. "description": "客户端流水号",
  39026. "type": "string"
  39027. },
  39028. "clienttype": {
  39029. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  39030. "type": "integer"
  39031. },
  39032. "closeexchagechargevalue": {
  39033. "description": "平仓交易所手续费设置值",
  39034. "type": "number"
  39035. },
  39036. "closefeealgorithm": {
  39037. "description": "平仓手续费收取方式 1:比率 2:固定",
  39038. "type": "integer"
  39039. },
  39040. "closefreezecharge": {
  39041. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  39042. "type": "number"
  39043. },
  39044. "closememberchargevalue": {
  39045. "description": "平仓会员手续费设置值",
  39046. "type": "number"
  39047. },
  39048. "closeqty": {
  39049. "description": "平仓数量(先建后平操作 需要记录)",
  39050. "type": "number"
  39051. },
  39052. "closetradeqty": {
  39053. "description": "平仓成交数量(先建后平操作,需要记录)",
  39054. "type": "number"
  39055. },
  39056. "closeunfreezecharge": {
  39057. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  39058. "type": "number"
  39059. },
  39060. "decimalplace": {
  39061. "description": "商品报价小数位",
  39062. "type": "integer"
  39063. },
  39064. "delistingtype": {
  39065. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  39066. "type": "integer"
  39067. },
  39068. "enumdicname": {
  39069. "description": "单位名称",
  39070. "type": "string"
  39071. },
  39072. "freezecharge": {
  39073. "description": "冻结手续费",
  39074. "type": "number"
  39075. },
  39076. "freezemargin": {
  39077. "description": "冻结保证金(冻结交易金额)",
  39078. "type": "number"
  39079. },
  39080. "gcaccountid": {
  39081. "description": "账户ID[合约币种]",
  39082. "type": "integer"
  39083. },
  39084. "goodscode": {
  39085. "description": "商品代码",
  39086. "type": "string"
  39087. },
  39088. "goodsid": {
  39089. "description": "商品ID",
  39090. "type": "integer"
  39091. },
  39092. "goodsname": {
  39093. "description": "商品名称",
  39094. "type": "string"
  39095. },
  39096. "goodunitid": {
  39097. "description": "商品单位id",
  39098. "type": "integer"
  39099. },
  39100. "histradedate": {
  39101. "description": "历史交易日",
  39102. "type": "string"
  39103. },
  39104. "isconfirmexercise": {
  39105. "description": "是否确认行权- 0:否 1:是",
  39106. "type": "integer"
  39107. },
  39108. "ispreexercise": {
  39109. "description": "是否预申报- 0:否 1:是",
  39110. "type": "integer"
  39111. },
  39112. "isvaliddata": {
  39113. "description": "是否有效 - 0:无效 1:有效",
  39114. "type": "integer"
  39115. },
  39116. "listingselecttype": {
  39117. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  39118. "type": "integer"
  39119. },
  39120. "marginalgorithm": {
  39121. "description": "保证金收取方式 1:比率 2:固定",
  39122. "type": "integer"
  39123. },
  39124. "marginvalue": {
  39125. "description": "即市保证金设置值",
  39126. "type": "number"
  39127. },
  39128. "marketid": {
  39129. "description": "市场ID",
  39130. "type": "integer"
  39131. },
  39132. "marketmaxsub": {
  39133. "description": "市价最大偏移范围",
  39134. "type": "number"
  39135. },
  39136. "marketname": {
  39137. "description": "市场名称",
  39138. "type": "string"
  39139. },
  39140. "memberuserid": {
  39141. "description": "所属会员UserID",
  39142. "type": "integer"
  39143. },
  39144. "openexchagechargevalue": {
  39145. "description": "建仓交易所手续费设置值",
  39146. "type": "number"
  39147. },
  39148. "openfeealgorithm": {
  39149. "description": "建仓手续费收取方式 1:比率 2:固定",
  39150. "type": "integer"
  39151. },
  39152. "openfreezecharge": {
  39153. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  39154. "type": "number"
  39155. },
  39156. "openmemberchargevalue": {
  39157. "description": "建仓会员手续费设置值",
  39158. "type": "number"
  39159. },
  39160. "openqty": {
  39161. "description": "开仓数量(先建后平操作,需要记录)",
  39162. "type": "number"
  39163. },
  39164. "opentradeqty": {
  39165. "description": "开仓成交数量(先建后平操作,需要记录)",
  39166. "type": "number"
  39167. },
  39168. "openunfreezecharge": {
  39169. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  39170. "type": "number"
  39171. },
  39172. "operatetype": {
  39173. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  39174. "type": "integer"
  39175. },
  39176. "operatorid": {
  39177. "description": "登录账号(LoginID)",
  39178. "type": "integer"
  39179. },
  39180. "optiontype": {
  39181. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  39182. "type": "integer"
  39183. },
  39184. "orderid": {
  39185. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  39186. "type": "string"
  39187. },
  39188. "orderprice": {
  39189. "description": "委托价格",
  39190. "type": "number"
  39191. },
  39192. "orderqty": {
  39193. "description": "委托数量",
  39194. "type": "number"
  39195. },
  39196. "ordersrc": {
  39197. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  39198. "type": "integer"
  39199. },
  39200. "orderstatus": {
  39201. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  39202. "type": "integer"
  39203. },
  39204. "ordertime": {
  39205. "description": "委托时间",
  39206. "type": "string"
  39207. },
  39208. "preexerciseprice": {
  39209. "description": "预申报价格",
  39210. "type": "number"
  39211. },
  39212. "premium": {
  39213. "description": "权利金",
  39214. "type": "number"
  39215. },
  39216. "preorderid": {
  39217. "description": "关联预埋单号(止盈止损单时填写)",
  39218. "type": "string"
  39219. },
  39220. "pricemode": {
  39221. "description": "取价方式 - 1:市价 2: 限价",
  39222. "type": "integer"
  39223. },
  39224. "qtydecimalplace": {
  39225. "description": "成交量小数位",
  39226. "type": "integer"
  39227. },
  39228. "quoteid": {
  39229. "description": "报价单ID",
  39230. "type": "integer"
  39231. },
  39232. "relatedid": {
  39233. "description": "关联单号(交割单)",
  39234. "type": "string"
  39235. },
  39236. "retcode": {
  39237. "description": "错误代码",
  39238. "type": "integer"
  39239. },
  39240. "sessionid": {
  39241. "description": "会话ID",
  39242. "type": "integer"
  39243. },
  39244. "tradedate": {
  39245. "description": "交易日(yyyyMMdd)",
  39246. "type": "string"
  39247. },
  39248. "trademode": {
  39249. "description": "交易模式",
  39250. "type": "integer"
  39251. },
  39252. "tradeproperty": {
  39253. "description": "交易属性",
  39254. "type": "integer"
  39255. },
  39256. "tradeqty": {
  39257. "description": "成交数量",
  39258. "type": "number"
  39259. },
  39260. "unfreezecharge": {
  39261. "description": "解冻手续费",
  39262. "type": "number"
  39263. },
  39264. "unfreezemargin": {
  39265. "description": "解冻保证金",
  39266. "type": "number"
  39267. },
  39268. "updatetime": {
  39269. "description": "更新时间",
  39270. "type": "string"
  39271. },
  39272. "uuid": {
  39273. "description": "发起端唯一id",
  39274. "type": "string"
  39275. },
  39276. "validtime": {
  39277. "description": "有效期限",
  39278. "type": "string"
  39279. },
  39280. "validtype": {
  39281. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  39282. "type": "integer"
  39283. },
  39284. "volumetype": {
  39285. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  39286. "type": "integer"
  39287. }
  39288. }
  39289. },
  39290. "order.QueryTradeDetailRsp": {
  39291. "type": "object",
  39292. "required": [
  39293. "accountid",
  39294. "buyorsell",
  39295. "goodsid",
  39296. "marketid",
  39297. "memberuserid",
  39298. "orderid",
  39299. "tradeamount",
  39300. "tradedate",
  39301. "tradeid",
  39302. "tradeprice",
  39303. "tradeqty",
  39304. "tradetime"
  39305. ],
  39306. "properties": {
  39307. "accountid": {
  39308. "description": "账户ID[报价币种]",
  39309. "type": "integer"
  39310. },
  39311. "advanceratio": {
  39312. "description": "首付比率",
  39313. "type": "number"
  39314. },
  39315. "buildtype": {
  39316. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  39317. "type": "integer"
  39318. },
  39319. "buyorsell": {
  39320. "description": "方向 - 0:买 1:卖",
  39321. "type": "integer"
  39322. },
  39323. "charge": {
  39324. "description": "手续费",
  39325. "type": "number"
  39326. },
  39327. "closecharge": {
  39328. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  39329. "type": "number"
  39330. },
  39331. "closeexchagechargevalue": {
  39332. "description": "平仓交易所手续费设置值",
  39333. "type": "number"
  39334. },
  39335. "closefeealgorithm": {
  39336. "description": "平仓手续费收取方式 1:比率 2:固定",
  39337. "type": "integer"
  39338. },
  39339. "closememberchargevalue": {
  39340. "description": "平仓会员手续费设置值",
  39341. "type": "number"
  39342. },
  39343. "closepl": {
  39344. "description": "平仓盈亏",
  39345. "type": "number"
  39346. },
  39347. "closepl2": {
  39348. "description": "平仓盈亏[逐笔]",
  39349. "type": "number"
  39350. },
  39351. "closeqty": {
  39352. "description": "平仓数量(先建后平操作 需要记录)",
  39353. "type": "number"
  39354. },
  39355. "creditamount": {
  39356. "description": "授信金额",
  39357. "type": "number"
  39358. },
  39359. "decimalplace": {
  39360. "description": "商品报价小数位",
  39361. "type": "integer"
  39362. },
  39363. "enumdicname": {
  39364. "description": "单位名称",
  39365. "type": "string"
  39366. },
  39367. "gcaccountid": {
  39368. "description": "账户ID[合约币种]",
  39369. "type": "integer"
  39370. },
  39371. "goodscode": {
  39372. "description": "商品代码",
  39373. "type": "string"
  39374. },
  39375. "goodsid": {
  39376. "description": "商品ID",
  39377. "type": "integer"
  39378. },
  39379. "goodsname": {
  39380. "description": "商品名称",
  39381. "type": "string"
  39382. },
  39383. "goodunitid": {
  39384. "description": "商品单位id",
  39385. "type": "integer"
  39386. },
  39387. "intclosepl": {
  39388. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  39389. "type": "integer"
  39390. },
  39391. "isconfirmexercise": {
  39392. "description": "是否确认行权- 0:否 1:是",
  39393. "type": "integer"
  39394. },
  39395. "ismain": {
  39396. "description": "是否主单 - 0:不是 1:是",
  39397. "type": "integer"
  39398. },
  39399. "ispreexercise": {
  39400. "description": "是否预申报- 0:否 1:是",
  39401. "type": "integer"
  39402. },
  39403. "isreckoned": {
  39404. "description": "是否结算 - 0:未结算 1:已结算",
  39405. "type": "integer"
  39406. },
  39407. "listingselecttype": {
  39408. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  39409. "type": "integer"
  39410. },
  39411. "marketid": {
  39412. "description": "市场ID",
  39413. "type": "integer"
  39414. },
  39415. "marketname": {
  39416. "description": "市场名称",
  39417. "type": "string"
  39418. },
  39419. "matchaccountid": {
  39420. "description": "对手账号id",
  39421. "type": "integer"
  39422. },
  39423. "memberuserid": {
  39424. "description": "会员id 个人投资者 需要填写",
  39425. "type": "integer"
  39426. },
  39427. "opencharge": {
  39428. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  39429. "type": "number"
  39430. },
  39431. "openexchagechargevalue": {
  39432. "description": "建仓交易所手续费设置值",
  39433. "type": "number"
  39434. },
  39435. "openfeealgorithm": {
  39436. "description": "建仓手续费收取方式 1:比率 2:固定",
  39437. "type": "integer"
  39438. },
  39439. "openmemberchargevalue": {
  39440. "description": "建仓会员手续费设置值",
  39441. "type": "number"
  39442. },
  39443. "openqty": {
  39444. "description": "开仓数量(先建后平操作 需要记录)",
  39445. "type": "number"
  39446. },
  39447. "optiontype": {
  39448. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  39449. "type": "integer"
  39450. },
  39451. "orderid": {
  39452. "description": "委托单号",
  39453. "type": "string"
  39454. },
  39455. "payamount": {
  39456. "description": "支付金额(付款金额)",
  39457. "type": "number"
  39458. },
  39459. "performanceplanid": {
  39460. "description": "履约计划ID[期权]",
  39461. "type": "integer"
  39462. },
  39463. "performancestatus": {
  39464. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  39465. "type": "integer"
  39466. },
  39467. "preexerciseprice": {
  39468. "description": "预申报价格",
  39469. "type": "number"
  39470. },
  39471. "premium": {
  39472. "description": "权利金 - [持仓单的权利金]",
  39473. "type": "number"
  39474. },
  39475. "qtydecimalplace": {
  39476. "description": "商品报价小数位",
  39477. "type": "integer"
  39478. },
  39479. "recvamount": {
  39480. "description": "到账金额 = 成交金额 - 手续费",
  39481. "type": "number"
  39482. },
  39483. "relatedouttradeid": {
  39484. "description": "关联外部成交单ID",
  39485. "type": "integer"
  39486. },
  39487. "status": {
  39488. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  39489. "type": "integer"
  39490. },
  39491. "totalamount": {
  39492. "description": "订单总额 = 成交金额 + 手续费",
  39493. "type": "number"
  39494. },
  39495. "tradeamount": {
  39496. "description": "成交金额[账户币种,用于所有权]",
  39497. "type": "number"
  39498. },
  39499. "tradedate": {
  39500. "description": "交易日(yyyyMMdd)",
  39501. "type": "string"
  39502. },
  39503. "tradeid": {
  39504. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  39505. "type": "string"
  39506. },
  39507. "trademode": {
  39508. "description": "交易模式",
  39509. "type": "integer"
  39510. },
  39511. "tradeprice": {
  39512. "description": "成交价格",
  39513. "type": "number"
  39514. },
  39515. "tradeproperty": {
  39516. "description": "交易属性",
  39517. "type": "integer"
  39518. },
  39519. "tradeqty": {
  39520. "description": "成交数量",
  39521. "type": "number"
  39522. },
  39523. "tradetime": {
  39524. "description": "成交时间",
  39525. "type": "string"
  39526. },
  39527. "tradetype": {
  39528. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  39529. "type": "integer"
  39530. }
  39531. }
  39532. },
  39533. "order.QueryTradeOrderDetailRsp": {
  39534. "type": "object",
  39535. "required": [
  39536. "accountid",
  39537. "buildtype",
  39538. "buyorsell",
  39539. "goodsid",
  39540. "marketid",
  39541. "operatetype",
  39542. "orderqty",
  39543. "ordertime",
  39544. "pricemode",
  39545. "tradedate",
  39546. "validtype"
  39547. ],
  39548. "properties": {
  39549. "accountid": {
  39550. "description": "账户ID[报价币种]",
  39551. "type": "integer"
  39552. },
  39553. "buildtype": {
  39554. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  39555. "type": "integer"
  39556. },
  39557. "buyorsell": {
  39558. "description": "买卖 - 0:买 1:卖",
  39559. "type": "integer"
  39560. },
  39561. "cancelorderid": {
  39562. "description": "撤单单号(撤单时填写)",
  39563. "type": "string"
  39564. },
  39565. "cancelqty": {
  39566. "description": "撤单数量",
  39567. "type": "number"
  39568. },
  39569. "clienttype": {
  39570. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  39571. "type": "integer"
  39572. },
  39573. "closefreezecharge": {
  39574. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  39575. "type": "number"
  39576. },
  39577. "closeqty": {
  39578. "description": "平仓数量(先建后平操作 需要记录)",
  39579. "type": "number"
  39580. },
  39581. "closetradeqty": {
  39582. "description": "平仓成交数量(先建后平操作,需要记录)",
  39583. "type": "number"
  39584. },
  39585. "closeunfreezecharge": {
  39586. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  39587. "type": "number"
  39588. },
  39589. "decimalplace": {
  39590. "description": "商品报价小数位",
  39591. "type": "integer"
  39592. },
  39593. "delistingtype": {
  39594. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  39595. "type": "integer"
  39596. },
  39597. "enableqty": {
  39598. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  39599. "type": "number"
  39600. },
  39601. "enumdicname": {
  39602. "description": "单位名称",
  39603. "type": "string"
  39604. },
  39605. "freezecharge": {
  39606. "description": "冻结手续费",
  39607. "type": "number"
  39608. },
  39609. "freezemargin": {
  39610. "description": "冻结保证金(冻结交易金额)",
  39611. "type": "number"
  39612. },
  39613. "goodscode": {
  39614. "description": "商品代码",
  39615. "type": "string"
  39616. },
  39617. "goodsid": {
  39618. "description": "商品ID",
  39619. "type": "integer"
  39620. },
  39621. "goodsname": {
  39622. "description": "商品名称",
  39623. "type": "string"
  39624. },
  39625. "goodunitid": {
  39626. "description": "商品单位id",
  39627. "type": "integer"
  39628. },
  39629. "listingselecttype": {
  39630. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  39631. "type": "integer"
  39632. },
  39633. "marketid": {
  39634. "description": "市场ID",
  39635. "type": "integer"
  39636. },
  39637. "marketname": {
  39638. "description": "市场名称",
  39639. "type": "string"
  39640. },
  39641. "openfreezecharge": {
  39642. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  39643. "type": "number"
  39644. },
  39645. "openqty": {
  39646. "description": "开仓数量(先建后平操作,需要记录)",
  39647. "type": "number"
  39648. },
  39649. "opentradeqty": {
  39650. "description": "开仓成交数量(先建后平操作,需要记录)",
  39651. "type": "number"
  39652. },
  39653. "openunfreezecharge": {
  39654. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  39655. "type": "number"
  39656. },
  39657. "operatetype": {
  39658. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  39659. "type": "integer"
  39660. },
  39661. "operatorid": {
  39662. "description": "登录账号(LoginID)",
  39663. "type": "integer"
  39664. },
  39665. "orderid": {
  39666. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  39667. "type": "string"
  39668. },
  39669. "orderprice": {
  39670. "description": "委托价格",
  39671. "type": "number"
  39672. },
  39673. "orderqty": {
  39674. "description": "委托数量",
  39675. "type": "number"
  39676. },
  39677. "ordersrc": {
  39678. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  39679. "type": "integer"
  39680. },
  39681. "orderstatus": {
  39682. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  39683. "type": "integer"
  39684. },
  39685. "ordertime": {
  39686. "description": "委托时间",
  39687. "type": "string"
  39688. },
  39689. "preorderid": {
  39690. "description": "关联预埋单号(止盈止损单时填写)",
  39691. "type": "string"
  39692. },
  39693. "pricemode": {
  39694. "description": "取价方式 - 1:市价 2: 限价",
  39695. "type": "integer"
  39696. },
  39697. "qtydecimalplace": {
  39698. "description": "商品报价小数位",
  39699. "type": "integer"
  39700. },
  39701. "relatedid": {
  39702. "description": "关联单号(交割单)",
  39703. "type": "string"
  39704. },
  39705. "tradedate": {
  39706. "description": "交易日(yyyyMMdd)",
  39707. "type": "string"
  39708. },
  39709. "trademode": {
  39710. "description": "交易模式",
  39711. "type": "integer"
  39712. },
  39713. "tradeqty": {
  39714. "description": "成交数量",
  39715. "type": "number"
  39716. },
  39717. "unfreezecharge": {
  39718. "description": "解冻手续费",
  39719. "type": "number"
  39720. },
  39721. "unfreezemargin": {
  39722. "description": "解冻保证金",
  39723. "type": "number"
  39724. },
  39725. "validtime": {
  39726. "description": "有效期限",
  39727. "type": "string"
  39728. },
  39729. "validtype": {
  39730. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  39731. "type": "integer"
  39732. },
  39733. "volumetype": {
  39734. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  39735. "type": "integer"
  39736. }
  39737. }
  39738. },
  39739. "order.QueryTradePositionRsp": {
  39740. "type": "object",
  39741. "required": [
  39742. "goodsid"
  39743. ],
  39744. "properties": {
  39745. "accountid": {
  39746. "description": "资金账户",
  39747. "type": "integer"
  39748. },
  39749. "agreeunit": {
  39750. "description": "合约单位",
  39751. "type": "number"
  39752. },
  39753. "averageprice": {
  39754. "description": "持仓均价",
  39755. "type": "number"
  39756. },
  39757. "buyorsell": {
  39758. "description": "方向 - 0:买 1:卖",
  39759. "type": "integer"
  39760. },
  39761. "closetotalqty": {
  39762. "description": "平仓总数量",
  39763. "type": "number"
  39764. },
  39765. "curholderamount": {
  39766. "description": "当前持仓总金额[商品币种]",
  39767. "type": "number"
  39768. },
  39769. "curpositionqty": {
  39770. "description": "当前持仓总数量",
  39771. "type": "number"
  39772. },
  39773. "currencyid": {
  39774. "description": "报价货币ID",
  39775. "type": "integer"
  39776. },
  39777. "curtdposition": {
  39778. "description": "期末今日头寸",
  39779. "type": "number"
  39780. },
  39781. "decimalplace": {
  39782. "description": "报价小数位",
  39783. "type": "integer"
  39784. },
  39785. "enableqty": {
  39786. "description": "可用量",
  39787. "type": "number"
  39788. },
  39789. "fretdposition": {
  39790. "description": "冻结今日头寸",
  39791. "type": "number"
  39792. },
  39793. "frozenqty": {
  39794. "description": "持仓冻结数量",
  39795. "type": "number"
  39796. },
  39797. "goodscode": {
  39798. "description": "商品代码",
  39799. "type": "string"
  39800. },
  39801. "goodsid": {
  39802. "description": "商品Id",
  39803. "type": "integer"
  39804. },
  39805. "goodsname": {
  39806. "description": "商品名称",
  39807. "type": "string"
  39808. },
  39809. "goodunit": {
  39810. "description": "报价单位",
  39811. "type": "string"
  39812. },
  39813. "goodunitid": {
  39814. "description": "报价单位ID",
  39815. "type": "integer"
  39816. },
  39817. "holderamount": {
  39818. "description": "期初持仓总金额[商品币种]",
  39819. "type": "number"
  39820. },
  39821. "lastprice": {
  39822. "description": "最新价",
  39823. "type": "number"
  39824. },
  39825. "marketamount": {
  39826. "description": "市值",
  39827. "type": "number"
  39828. },
  39829. "marketid": {
  39830. "description": "所属市场ID",
  39831. "type": "integer"
  39832. },
  39833. "openreqqty": {
  39834. "description": "开仓申请数量(用于比较最大持仓数量)",
  39835. "type": "number"
  39836. },
  39837. "opentotalqty": {
  39838. "description": "开仓总数量",
  39839. "type": "number"
  39840. },
  39841. "otherfrozenqty": {
  39842. "description": "持仓其他冻结数量(交割冻结)",
  39843. "type": "number"
  39844. },
  39845. "positionpl": {
  39846. "description": "持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  39847. "type": "number"
  39848. },
  39849. "positionplrate": {
  39850. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  39851. "type": "number"
  39852. },
  39853. "positionqty": {
  39854. "description": "期初持仓数量",
  39855. "type": "number"
  39856. },
  39857. "qtydecimalplace": {
  39858. "description": "成交量小数位",
  39859. "type": "integer"
  39860. },
  39861. "refgoodscode": {
  39862. "description": "参考商品代码",
  39863. "type": "string"
  39864. },
  39865. "refgoodsid": {
  39866. "description": "参考商品ID",
  39867. "type": "integer"
  39868. },
  39869. "tnqty": {
  39870. "description": "T+N冻结总量",
  39871. "type": "number"
  39872. },
  39873. "tnusedqty": {
  39874. "description": "T+N使用量(可以使用T+N的冻结数量)",
  39875. "type": "number"
  39876. },
  39877. "trademode": {
  39878. "description": "交易模式",
  39879. "type": "integer"
  39880. },
  39881. "tradeproperty": {
  39882. "description": "交易属性",
  39883. "type": "integer"
  39884. },
  39885. "usedmargin": {
  39886. "description": "占用保证金[商品币种]",
  39887. "type": "number"
  39888. }
  39889. }
  39890. },
  39891. "pb.GoodsMarginCfgStruct": {
  39892. "type": "object",
  39893. "properties": {
  39894. "CustomerTypeID": {
  39895. "description": "投资者客户类型",
  39896. "type": "integer"
  39897. },
  39898. "GoodsID": {
  39899. "description": "商品ID",
  39900. "type": "integer"
  39901. },
  39902. "IsDefault": {
  39903. "description": "是否默认标志位",
  39904. "type": "integer"
  39905. },
  39906. "LockMarginValue": {
  39907. "description": "锁仓保证金",
  39908. "type": "number"
  39909. },
  39910. "MarginAlgorithm": {
  39911. "description": "保证金计算方式",
  39912. "type": "integer"
  39913. },
  39914. "MarketMarginValue": {
  39915. "description": "即市保证金值",
  39916. "type": "number"
  39917. },
  39918. "RealMarginAlgorithm": {
  39919. "description": "实付保证金计算方式",
  39920. "type": "integer"
  39921. },
  39922. "RealMarginValue": {
  39923. "description": "实付比例",
  39924. "type": "number"
  39925. },
  39926. "ReckonMarginValue": {
  39927. "description": "结算保证金值",
  39928. "type": "number"
  39929. }
  39930. }
  39931. },
  39932. "quote.HistoryData": {
  39933. "type": "object",
  39934. "properties": {
  39935. "c": {
  39936. "description": "收盘价",
  39937. "type": "number"
  39938. },
  39939. "f": {
  39940. "description": "是否补充数据",
  39941. "type": "boolean"
  39942. },
  39943. "h": {
  39944. "description": "最高价",
  39945. "type": "number"
  39946. },
  39947. "hv": {
  39948. "description": "持仓量",
  39949. "type": "integer"
  39950. },
  39951. "l": {
  39952. "description": "最低价",
  39953. "type": "number"
  39954. },
  39955. "o": {
  39956. "description": "开盘价",
  39957. "type": "number"
  39958. },
  39959. "s": {
  39960. "description": "结算价,日线周期(包括)以上才有",
  39961. "type": "number"
  39962. },
  39963. "ts": {
  39964. "description": "时间",
  39965. "type": "string"
  39966. },
  39967. "tt": {
  39968. "description": "总金额",
  39969. "type": "number"
  39970. },
  39971. "tv": {
  39972. "description": "总量(成交量)",
  39973. "type": "integer"
  39974. }
  39975. }
  39976. },
  39977. "quote.HistoryTikData": {
  39978. "type": "object",
  39979. "properties": {
  39980. "AV": {
  39981. "description": "卖量",
  39982. "type": "integer"
  39983. },
  39984. "Ask": {
  39985. "description": "卖价",
  39986. "type": "number"
  39987. },
  39988. "BV": {
  39989. "description": "买量",
  39990. "type": "integer"
  39991. },
  39992. "Bid": {
  39993. "description": "买价",
  39994. "type": "number"
  39995. },
  39996. "HI": {
  39997. "description": "单笔持仓",
  39998. "type": "integer"
  39999. },
  40000. "HV": {
  40001. "description": "持仓量",
  40002. "type": "integer"
  40003. },
  40004. "PE": {
  40005. "description": "现价",
  40006. "type": "number"
  40007. },
  40008. "TDR": {
  40009. "description": "交易方向,0:买 1:卖",
  40010. "type": "integer"
  40011. },
  40012. "TK": {
  40013. "description": "交易类型",
  40014. "type": "integer"
  40015. },
  40016. "TS": {
  40017. "description": "行情时间文本",
  40018. "type": "string"
  40019. },
  40020. "TT": {
  40021. "description": "现金额",
  40022. "type": "number"
  40023. },
  40024. "Vol": {
  40025. "description": "现量",
  40026. "type": "integer"
  40027. }
  40028. }
  40029. },
  40030. "quote.QueryQuoteDayRsp": {
  40031. "type": "object",
  40032. "properties": {
  40033. "ask": {
  40034. "description": "卖1",
  40035. "type": "number"
  40036. },
  40037. "ask10": {
  40038. "description": "卖10",
  40039. "type": "number"
  40040. },
  40041. "ask2": {
  40042. "description": "卖2",
  40043. "type": "number"
  40044. },
  40045. "ask3": {
  40046. "description": "卖3",
  40047. "type": "number"
  40048. },
  40049. "ask4": {
  40050. "description": "卖4",
  40051. "type": "number"
  40052. },
  40053. "ask5": {
  40054. "description": "卖5",
  40055. "type": "number"
  40056. },
  40057. "ask6": {
  40058. "description": "卖6",
  40059. "type": "number"
  40060. },
  40061. "ask7": {
  40062. "description": "卖7",
  40063. "type": "number"
  40064. },
  40065. "ask8": {
  40066. "description": "卖8",
  40067. "type": "number"
  40068. },
  40069. "ask9": {
  40070. "description": "卖9",
  40071. "type": "number"
  40072. },
  40073. "askorderid": {
  40074. "description": "卖单号1",
  40075. "type": "integer"
  40076. },
  40077. "askorderid2": {
  40078. "description": "卖单号2",
  40079. "type": "integer"
  40080. },
  40081. "askorderid3": {
  40082. "description": "卖单号3",
  40083. "type": "integer"
  40084. },
  40085. "askorderid4": {
  40086. "description": "卖单号4",
  40087. "type": "integer"
  40088. },
  40089. "askorderid5": {
  40090. "description": "卖单号5",
  40091. "type": "integer"
  40092. },
  40093. "askordervolume": {
  40094. "description": "卖单量1",
  40095. "type": "integer"
  40096. },
  40097. "askordervolume10": {
  40098. "description": "卖单量10",
  40099. "type": "integer"
  40100. },
  40101. "askordervolume2": {
  40102. "description": "卖单量2",
  40103. "type": "integer"
  40104. },
  40105. "askordervolume3": {
  40106. "description": "卖单量3",
  40107. "type": "integer"
  40108. },
  40109. "askordervolume4": {
  40110. "description": "卖单量4",
  40111. "type": "integer"
  40112. },
  40113. "askordervolume5": {
  40114. "description": "卖单量5",
  40115. "type": "integer"
  40116. },
  40117. "askordervolume6": {
  40118. "description": "卖单量6",
  40119. "type": "integer"
  40120. },
  40121. "askordervolume7": {
  40122. "description": "卖单量7",
  40123. "type": "integer"
  40124. },
  40125. "askordervolume8": {
  40126. "description": "卖单量8",
  40127. "type": "integer"
  40128. },
  40129. "askordervolume9": {
  40130. "description": "卖单量9",
  40131. "type": "integer"
  40132. },
  40133. "askqueueinfo": {
  40134. "description": "大利市卖港股用",
  40135. "type": "string"
  40136. },
  40137. "askvolume": {
  40138. "description": "卖量1",
  40139. "type": "integer"
  40140. },
  40141. "askvolume10": {
  40142. "description": "卖量10",
  40143. "type": "integer"
  40144. },
  40145. "askvolume2": {
  40146. "description": "卖量2",
  40147. "type": "integer"
  40148. },
  40149. "askvolume3": {
  40150. "description": "卖量3",
  40151. "type": "integer"
  40152. },
  40153. "askvolume4": {
  40154. "description": "卖量4",
  40155. "type": "integer"
  40156. },
  40157. "askvolume5": {
  40158. "description": "卖量5",
  40159. "type": "integer"
  40160. },
  40161. "askvolume6": {
  40162. "description": "卖量6",
  40163. "type": "integer"
  40164. },
  40165. "askvolume7": {
  40166. "description": "卖量7",
  40167. "type": "integer"
  40168. },
  40169. "askvolume8": {
  40170. "description": "卖量8",
  40171. "type": "integer"
  40172. },
  40173. "askvolume9": {
  40174. "description": "卖量9",
  40175. "type": "integer"
  40176. },
  40177. "averageprice": {
  40178. "description": "均价",
  40179. "type": "number"
  40180. },
  40181. "bid": {
  40182. "description": "买1",
  40183. "type": "number"
  40184. },
  40185. "bid10": {
  40186. "description": "买10",
  40187. "type": "number"
  40188. },
  40189. "bid2": {
  40190. "description": "买2",
  40191. "type": "number"
  40192. },
  40193. "bid3": {
  40194. "description": "买3",
  40195. "type": "number"
  40196. },
  40197. "bid4": {
  40198. "description": "买4",
  40199. "type": "number"
  40200. },
  40201. "bid5": {
  40202. "description": "买5",
  40203. "type": "number"
  40204. },
  40205. "bid6": {
  40206. "description": "买6",
  40207. "type": "number"
  40208. },
  40209. "bid7": {
  40210. "description": "买7",
  40211. "type": "number"
  40212. },
  40213. "bid8": {
  40214. "description": "买8",
  40215. "type": "number"
  40216. },
  40217. "bid9": {
  40218. "description": "买9",
  40219. "type": "number"
  40220. },
  40221. "bidorderid": {
  40222. "description": "买单号1",
  40223. "type": "integer"
  40224. },
  40225. "bidorderid2": {
  40226. "description": "买单号2",
  40227. "type": "integer"
  40228. },
  40229. "bidorderid3": {
  40230. "description": "买单号3",
  40231. "type": "integer"
  40232. },
  40233. "bidorderid4": {
  40234. "description": "买单号4",
  40235. "type": "integer"
  40236. },
  40237. "bidorderid5": {
  40238. "description": "买单号5",
  40239. "type": "integer"
  40240. },
  40241. "bidordervolume": {
  40242. "description": "买单量1",
  40243. "type": "integer"
  40244. },
  40245. "bidordervolume10": {
  40246. "description": "买单量10",
  40247. "type": "integer"
  40248. },
  40249. "bidordervolume2": {
  40250. "description": "买单量2",
  40251. "type": "integer"
  40252. },
  40253. "bidordervolume3": {
  40254. "description": "买单量3",
  40255. "type": "integer"
  40256. },
  40257. "bidordervolume4": {
  40258. "description": "买单量4",
  40259. "type": "integer"
  40260. },
  40261. "bidordervolume5": {
  40262. "description": "买单量5",
  40263. "type": "integer"
  40264. },
  40265. "bidordervolume6": {
  40266. "description": "买单量6",
  40267. "type": "integer"
  40268. },
  40269. "bidordervolume7": {
  40270. "description": "买单量7",
  40271. "type": "integer"
  40272. },
  40273. "bidordervolume8": {
  40274. "description": "买单量8",
  40275. "type": "integer"
  40276. },
  40277. "bidordervolume9": {
  40278. "description": "买单量9",
  40279. "type": "integer"
  40280. },
  40281. "bidqueueinfo": {
  40282. "description": "大利市买港股用",
  40283. "type": "string"
  40284. },
  40285. "bidvolume": {
  40286. "description": "买量1",
  40287. "type": "integer"
  40288. },
  40289. "bidvolume10": {
  40290. "description": "买量10",
  40291. "type": "integer"
  40292. },
  40293. "bidvolume2": {
  40294. "description": "买量2",
  40295. "type": "integer"
  40296. },
  40297. "bidvolume3": {
  40298. "description": "买量3",
  40299. "type": "integer"
  40300. },
  40301. "bidvolume4": {
  40302. "description": "买量4",
  40303. "type": "integer"
  40304. },
  40305. "bidvolume5": {
  40306. "description": "买量5",
  40307. "type": "integer"
  40308. },
  40309. "bidvolume6": {
  40310. "description": "买量6",
  40311. "type": "integer"
  40312. },
  40313. "bidvolume7": {
  40314. "description": "买量7",
  40315. "type": "integer"
  40316. },
  40317. "bidvolume8": {
  40318. "description": "买量8",
  40319. "type": "integer"
  40320. },
  40321. "bidvolume9": {
  40322. "description": "买量9",
  40323. "type": "integer"
  40324. },
  40325. "calloptionpremiums": {
  40326. "description": "认购期权1",
  40327. "type": "integer"
  40328. },
  40329. "calloptionpremiums2": {
  40330. "description": "认购期权2",
  40331. "type": "integer"
  40332. },
  40333. "calloptionpremiums3": {
  40334. "description": "认购期权3",
  40335. "type": "integer"
  40336. },
  40337. "calloptionpremiums4": {
  40338. "description": "认购期权4",
  40339. "type": "integer"
  40340. },
  40341. "calloptionpremiums5": {
  40342. "description": "认购期权5",
  40343. "type": "integer"
  40344. },
  40345. "cleartime": {
  40346. "description": "清盘时间",
  40347. "type": "integer"
  40348. },
  40349. "exchangecode": {
  40350. "description": "交易所代码",
  40351. "type": "integer"
  40352. },
  40353. "exchangedate": {
  40354. "description": "交易日",
  40355. "type": "integer"
  40356. },
  40357. "goodscode": {
  40358. "description": "商品代码",
  40359. "type": "string"
  40360. },
  40361. "grepmarketprice": {
  40362. "description": "暗盘价 港股专用",
  40363. "type": "number"
  40364. },
  40365. "highest": {
  40366. "description": "最高价",
  40367. "type": "number"
  40368. },
  40369. "holdincrement": {
  40370. "description": "单笔持仓",
  40371. "type": "integer"
  40372. },
  40373. "holdvolume": {
  40374. "description": "持仓",
  40375. "type": "integer"
  40376. },
  40377. "iep": {
  40378. "description": "平衡价 港股专用",
  40379. "type": "number"
  40380. },
  40381. "iev": {
  40382. "description": "平衡量 港股专用",
  40383. "type": "number"
  40384. },
  40385. "inventory": {
  40386. "description": "库存",
  40387. "type": "integer"
  40388. },
  40389. "iscleared": {
  40390. "description": "是否清盘标志",
  40391. "type": "integer"
  40392. },
  40393. "issettled": {
  40394. "description": "是否结算标志",
  40395. "type": "integer"
  40396. },
  40397. "last": {
  40398. "description": "最新价",
  40399. "type": "number"
  40400. },
  40401. "lastlot": {
  40402. "description": "最新成交手数",
  40403. "type": "integer"
  40404. },
  40405. "lasttime": {
  40406. "description": "行情时间(只有现价变化行情时间才变化)",
  40407. "type": "string"
  40408. },
  40409. "lastturnover": {
  40410. "description": "最新成交金额",
  40411. "type": "number"
  40412. },
  40413. "lastvolume": {
  40414. "description": "最新成交量",
  40415. "type": "integer"
  40416. },
  40417. "limitdown": {
  40418. "description": "跌停价",
  40419. "type": "number"
  40420. },
  40421. "limitup": {
  40422. "description": "涨停价",
  40423. "type": "number"
  40424. },
  40425. "lowest": {
  40426. "description": "最低价",
  40427. "type": "number"
  40428. },
  40429. "nontotalholdervolume": {
  40430. "description": "非交易持仓量",
  40431. "type": "integer"
  40432. },
  40433. "nontotallot": {
  40434. "description": "非交易总手数",
  40435. "type": "integer"
  40436. },
  40437. "nontotalturnover": {
  40438. "description": "非交易总金额",
  40439. "type": "integer"
  40440. },
  40441. "nontotalvolume": {
  40442. "description": "非交易总量",
  40443. "type": "integer"
  40444. },
  40445. "opened": {
  40446. "description": "开盘价",
  40447. "type": "number"
  40448. },
  40449. "opentime": {
  40450. "description": "开盘时间",
  40451. "type": "string"
  40452. },
  40453. "orderid": {
  40454. "description": "序号",
  40455. "type": "integer"
  40456. },
  40457. "preclose": {
  40458. "description": "昨收",
  40459. "type": "number"
  40460. },
  40461. "preholdvolume": {
  40462. "description": "昨持仓",
  40463. "type": "integer"
  40464. },
  40465. "presettle": {
  40466. "description": "昨结价",
  40467. "type": "number"
  40468. },
  40469. "publictradetype": {
  40470. "description": "公共交易标志类型 港股专用",
  40471. "type": "string"
  40472. },
  40473. "putoptionpremiums": {
  40474. "description": "认沽期权1",
  40475. "type": "integer"
  40476. },
  40477. "putoptionpremiums2": {
  40478. "description": "认沽期权2",
  40479. "type": "integer"
  40480. },
  40481. "putoptionpremiums3": {
  40482. "description": "认沽期权3",
  40483. "type": "integer"
  40484. },
  40485. "putoptionpremiums4": {
  40486. "description": "认沽期权4",
  40487. "type": "integer"
  40488. },
  40489. "putoptionpremiums5": {
  40490. "description": "认沽期权5",
  40491. "type": "integer"
  40492. },
  40493. "settle": {
  40494. "description": "结算价",
  40495. "type": "number"
  40496. },
  40497. "strikeprice": {
  40498. "description": "发行价",
  40499. "type": "number"
  40500. },
  40501. "totalaskvolume": {
  40502. "description": "内盘",
  40503. "type": "integer"
  40504. },
  40505. "totalbidvolume": {
  40506. "description": "外盘",
  40507. "type": "integer"
  40508. },
  40509. "totallot": {
  40510. "description": "总手数",
  40511. "type": "integer"
  40512. },
  40513. "totalturnover": {
  40514. "description": "总金额",
  40515. "type": "number"
  40516. },
  40517. "totalvolume": {
  40518. "description": "总量",
  40519. "type": "integer"
  40520. },
  40521. "utclasttime": {
  40522. "description": "utc的行情时间",
  40523. "type": "string"
  40524. }
  40525. }
  40526. },
  40527. "quote.QueryTSDataRsp": {
  40528. "type": "object",
  40529. "properties": {
  40530. "Count": {
  40531. "description": "交易日应有数据个数",
  40532. "type": "integer"
  40533. },
  40534. "decimalPlace": {
  40535. "description": "小数位",
  40536. "type": "integer"
  40537. },
  40538. "endTime": {
  40539. "description": "结束时间",
  40540. "type": "string"
  40541. },
  40542. "goodsCode": {
  40543. "description": "商品代码",
  40544. "type": "string"
  40545. },
  40546. "historyDatas": {
  40547. "description": "历史数据",
  40548. "type": "array",
  40549. "items": {
  40550. "$ref": "#/definitions/quote.HistoryData"
  40551. }
  40552. },
  40553. "outGoodsCode": {
  40554. "description": "外部商品代码",
  40555. "type": "string"
  40556. },
  40557. "preSettle": {
  40558. "description": "昨结价",
  40559. "type": "number"
  40560. },
  40561. "runSteps": {
  40562. "description": "交易日开休市计划",
  40563. "type": "array",
  40564. "items": {
  40565. "$ref": "#/definitions/quote.TSDataRunStep"
  40566. }
  40567. },
  40568. "startTime": {
  40569. "description": "开始时间",
  40570. "type": "string"
  40571. },
  40572. "tradeDate": {
  40573. "description": "交易日",
  40574. "type": "string"
  40575. }
  40576. }
  40577. },
  40578. "quote.TSDataRunStep": {
  40579. "type": "object",
  40580. "properties": {
  40581. "end": {
  40582. "description": "真实结束时间",
  40583. "type": "string"
  40584. },
  40585. "endflag": {
  40586. "description": "结束日标识 - (-1:上日 0:当日 1:次日 )",
  40587. "type": "integer"
  40588. },
  40589. "endtime": {
  40590. "description": "结束时间(HH:mm)",
  40591. "type": "string"
  40592. },
  40593. "endweekday": {
  40594. "description": "结束周几",
  40595. "type": "integer"
  40596. },
  40597. "groupid": {
  40598. "description": "分组ID",
  40599. "type": "integer"
  40600. },
  40601. "runstep": {
  40602. "description": "运行阶段 - 2:连续交易",
  40603. "type": "integer"
  40604. },
  40605. "sectionid": {
  40606. "description": "从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几",
  40607. "type": "integer"
  40608. },
  40609. "start": {
  40610. "description": "真实开始时间",
  40611. "type": "string"
  40612. },
  40613. "startflag": {
  40614. "description": "开始日标识 - (-1:上日 0:当日 1:次日 )",
  40615. "type": "integer"
  40616. },
  40617. "starttime": {
  40618. "description": "起始时间(HH:mm)",
  40619. "type": "string"
  40620. },
  40621. "startweekday": {
  40622. "description": "起始周几",
  40623. "type": "integer"
  40624. },
  40625. "tradeweekday": {
  40626. "description": "交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六",
  40627. "type": "integer"
  40628. }
  40629. }
  40630. },
  40631. "szdz.QueryConvertLogRsp": {
  40632. "type": "object",
  40633. "required": [
  40634. "logid"
  40635. ],
  40636. "properties": {
  40637. "accountid": {
  40638. "description": "资金账户ID",
  40639. "type": "integer"
  40640. },
  40641. "clientticket": {
  40642. "description": "客户端流水号",
  40643. "type": "string"
  40644. },
  40645. "converttype": {
  40646. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  40647. "type": "integer"
  40648. },
  40649. "createtime": {
  40650. "description": "记账时间",
  40651. "type": "string"
  40652. },
  40653. "daymaxvalue": {
  40654. "description": "配置当日最大转入限制",
  40655. "type": "number"
  40656. },
  40657. "daymaxvalue2": {
  40658. "description": "配置当日最大转入限制(转入)",
  40659. "type": "number"
  40660. },
  40661. "goodscode": {
  40662. "description": "商品代码",
  40663. "type": "string"
  40664. },
  40665. "goodsname": {
  40666. "description": "商品名称",
  40667. "type": "string"
  40668. },
  40669. "handlestatus": {
  40670. "description": "处理状态",
  40671. "type": "integer"
  40672. },
  40673. "innergoodsid": {
  40674. "description": "内部商品ID",
  40675. "type": "integer"
  40676. },
  40677. "inratio": {
  40678. "description": "配置转入比值",
  40679. "type": "integer"
  40680. },
  40681. "invalue": {
  40682. "description": "目标值",
  40683. "type": "number"
  40684. },
  40685. "logid": {
  40686. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  40687. "type": "integer"
  40688. },
  40689. "mobile": {
  40690. "description": "手机号码(加密存储)",
  40691. "type": "string"
  40692. },
  40693. "outergoodscode": {
  40694. "description": "外部商品代码[JD\\PD]",
  40695. "type": "string"
  40696. },
  40697. "outratio": {
  40698. "description": "配置转出比值",
  40699. "type": "integer"
  40700. },
  40701. "outvalue": {
  40702. "description": "源值",
  40703. "type": "number"
  40704. },
  40705. "pddecimalplace": {
  40706. "description": "PD小数位",
  40707. "type": "integer"
  40708. },
  40709. "qty": {
  40710. "description": "数量",
  40711. "type": "string"
  40712. },
  40713. "remark": {
  40714. "description": "备注",
  40715. "type": "string"
  40716. },
  40717. "sessionid": {
  40718. "description": "会话ID",
  40719. "type": "integer"
  40720. },
  40721. "timemaxvalue": {
  40722. "description": "配置单次最大转入限制",
  40723. "type": "number"
  40724. },
  40725. "timemaxvalue2": {
  40726. "description": "配置单次最大转入限制(转入)",
  40727. "type": "number"
  40728. },
  40729. "timeminvalue": {
  40730. "description": "配置单次最小数量限制",
  40731. "type": "number"
  40732. },
  40733. "timeminvalue2": {
  40734. "description": "配置单次最小数量限制(转入)",
  40735. "type": "number"
  40736. },
  40737. "tradedate": {
  40738. "description": "交易日(yyyyMMdd)",
  40739. "type": "string"
  40740. },
  40741. "userid": {
  40742. "description": "用户ID",
  40743. "type": "integer"
  40744. }
  40745. }
  40746. },
  40747. "szdz.QueryGoodsPickupRsp": {
  40748. "type": "object",
  40749. "required": [
  40750. "takeorderid"
  40751. ],
  40752. "properties": {
  40753. "accountid": {
  40754. "description": "账户ID",
  40755. "type": "integer"
  40756. },
  40757. "address": {
  40758. "description": "提货人详细地址",
  40759. "type": "string"
  40760. },
  40761. "auditer": {
  40762. "description": "审核人",
  40763. "type": "integer"
  40764. },
  40765. "audittime": {
  40766. "description": "审核时间",
  40767. "type": "string"
  40768. },
  40769. "cardnum": {
  40770. "description": "提货人证件号码",
  40771. "type": "string"
  40772. },
  40773. "cardtypeid": {
  40774. "description": "提货人证件类型",
  40775. "type": "integer"
  40776. },
  40777. "checkremark": {
  40778. "description": "审核备注",
  40779. "type": "string"
  40780. },
  40781. "goodscode": {
  40782. "description": "商品代码",
  40783. "type": "string"
  40784. },
  40785. "goodsid": {
  40786. "description": "商品ID",
  40787. "type": "integer"
  40788. },
  40789. "goodsname": {
  40790. "description": "商品名称",
  40791. "type": "string"
  40792. },
  40793. "handlestatus": {
  40794. "description": "处理状态",
  40795. "type": "integer"
  40796. },
  40797. "marketid": {
  40798. "description": "市场ID",
  40799. "type": "integer"
  40800. },
  40801. "phonenum": {
  40802. "description": "提货人联系方式",
  40803. "type": "string"
  40804. },
  40805. "qty": {
  40806. "description": "提货数量",
  40807. "type": "number"
  40808. },
  40809. "recivername": {
  40810. "description": "提货人姓名",
  40811. "type": "string"
  40812. },
  40813. "reqtime": {
  40814. "description": "更新时间",
  40815. "type": "string"
  40816. },
  40817. "takemode": {
  40818. "description": "提货方式 - 2:自提 3:配送",
  40819. "type": "integer"
  40820. },
  40821. "takeorderid": {
  40822. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  40823. "type": "string"
  40824. },
  40825. "takeorderstatus": {
  40826. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  40827. "type": "integer"
  40828. },
  40829. "takeremark": {
  40830. "description": "提货备注",
  40831. "type": "string"
  40832. },
  40833. "tradedate": {
  40834. "description": "交易日(yyyyMMdd)",
  40835. "type": "string"
  40836. },
  40837. "userid": {
  40838. "description": "用户ID",
  40839. "type": "integer"
  40840. }
  40841. }
  40842. },
  40843. "szdz.QueryRecieptOrderRsp": {
  40844. "type": "object",
  40845. "required": [
  40846. "ordertime"
  40847. ],
  40848. "properties": {
  40849. "accountName": {
  40850. "description": "所属账号名称(已脱敏)",
  40851. "type": "string"
  40852. },
  40853. "accountid": {
  40854. "description": "资金账号",
  40855. "type": "integer"
  40856. },
  40857. "buyorsell": {
  40858. "description": "方向 - 0:买 1:卖",
  40859. "type": "integer"
  40860. },
  40861. "enableqty": {
  40862. "description": "可摘数量",
  40863. "type": "integer"
  40864. },
  40865. "goodscode": {
  40866. "description": "商品代码",
  40867. "type": "string"
  40868. },
  40869. "goodsid": {
  40870. "description": "商品ID",
  40871. "type": "integer"
  40872. },
  40873. "goodsname": {
  40874. "description": "商品名称",
  40875. "type": "string"
  40876. },
  40877. "orderid": {
  40878. "description": "委托单号",
  40879. "type": "string"
  40880. },
  40881. "orderprice": {
  40882. "description": "委托价格",
  40883. "type": "number"
  40884. },
  40885. "ordertime": {
  40886. "description": "委托时间",
  40887. "type": "string"
  40888. },
  40889. "tradedate": {
  40890. "description": "交易日(yyyyMMdd)",
  40891. "type": "string"
  40892. }
  40893. }
  40894. },
  40895. "szdz.QuerySZDZTradePositionRsp": {
  40896. "type": "object",
  40897. "properties": {
  40898. "accountid": {
  40899. "description": "账号Id",
  40900. "type": "integer"
  40901. },
  40902. "agreeunit": {
  40903. "description": "合约单位",
  40904. "type": "number"
  40905. },
  40906. "averageprice": {
  40907. "description": "持仓均价",
  40908. "type": "number"
  40909. },
  40910. "buyorsell": {
  40911. "description": "方向 - 0:买 1:卖",
  40912. "type": "integer"
  40913. },
  40914. "closetotalqty": {
  40915. "description": "平仓总数量",
  40916. "type": "integer"
  40917. },
  40918. "curholderamount": {
  40919. "description": "当前持仓总金额",
  40920. "type": "number"
  40921. },
  40922. "curpositionqty": {
  40923. "description": "当前持仓总数量",
  40924. "type": "integer"
  40925. },
  40926. "currencyid": {
  40927. "description": "报价货币ID",
  40928. "type": "integer"
  40929. },
  40930. "curtdposition": {
  40931. "description": "期末今日头寸",
  40932. "type": "integer"
  40933. },
  40934. "decimalplace": {
  40935. "description": "报价小数位",
  40936. "type": "integer"
  40937. },
  40938. "enableqty": {
  40939. "description": "可用量",
  40940. "type": "integer"
  40941. },
  40942. "fretdposition": {
  40943. "description": "冻结今日头寸",
  40944. "type": "integer"
  40945. },
  40946. "frozenqty": {
  40947. "description": "持仓冻结数量",
  40948. "type": "integer"
  40949. },
  40950. "goodscode": {
  40951. "description": "商品代码(内部)",
  40952. "type": "string"
  40953. },
  40954. "goodsid": {
  40955. "description": "商品Id",
  40956. "type": "integer"
  40957. },
  40958. "goodsname": {
  40959. "description": "商品名称",
  40960. "type": "string"
  40961. },
  40962. "goodunit": {
  40963. "description": "报价单位",
  40964. "type": "string"
  40965. },
  40966. "goodunitid": {
  40967. "description": "报价单位ID",
  40968. "type": "integer"
  40969. },
  40970. "holderamount": {
  40971. "description": "期初持仓总金额",
  40972. "type": "number"
  40973. },
  40974. "marketid": {
  40975. "description": "市场ID",
  40976. "type": "integer"
  40977. },
  40978. "openreqqty": {
  40979. "description": "开仓申请数量",
  40980. "type": "integer"
  40981. },
  40982. "opentotalqty": {
  40983. "description": "开仓总数量",
  40984. "type": "integer"
  40985. },
  40986. "otherfrozenqty": {
  40987. "description": "持仓其他冻结数量(交割冻结)",
  40988. "type": "integer"
  40989. },
  40990. "positionqty": {
  40991. "description": "期初持仓数量",
  40992. "type": "integer"
  40993. },
  40994. "szdz3freezqty": {
  40995. "description": "尚志大宗转换冻结总数量",
  40996. "type": "integer"
  40997. },
  40998. "tnqty": {
  40999. "description": "T+N冻结总量",
  41000. "type": "integer"
  41001. },
  41002. "tnusedqty": {
  41003. "description": "T+N使用量",
  41004. "type": "integer"
  41005. },
  41006. "trademode": {
  41007. "description": "交易模式",
  41008. "type": "integer"
  41009. },
  41010. "usedmargin": {
  41011. "description": "占用保证金",
  41012. "type": "number"
  41013. }
  41014. }
  41015. },
  41016. "taaccount.QueryAmountLogRsp": {
  41017. "type": "object",
  41018. "required": [
  41019. "accountid",
  41020. "amount",
  41021. "amountadjusttype",
  41022. "autoid",
  41023. "balance",
  41024. "createtime",
  41025. "currentbalance",
  41026. "operatetype"
  41027. ],
  41028. "properties": {
  41029. "OPERATETYPENAME": {
  41030. "description": "资金操作类型名称",
  41031. "type": "string"
  41032. },
  41033. "accountid": {
  41034. "description": "资金账户ID",
  41035. "type": "integer"
  41036. },
  41037. "agoodscode": {
  41038. "description": "竞拍商品代码",
  41039. "type": "string"
  41040. },
  41041. "agoodsname": {
  41042. "description": "竞拍商品名称",
  41043. "type": "string"
  41044. },
  41045. "amount": {
  41046. "description": "资金金额",
  41047. "type": "number"
  41048. },
  41049. "amountadjusttype": {
  41050. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  41051. "type": "integer"
  41052. },
  41053. "autoid": {
  41054. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  41055. "type": "integer"
  41056. },
  41057. "balance": {
  41058. "description": "期初余额",
  41059. "type": "number"
  41060. },
  41061. "businesscode": {
  41062. "description": "业务编号",
  41063. "type": "integer"
  41064. },
  41065. "createtime": {
  41066. "description": "发生时间",
  41067. "type": "string"
  41068. },
  41069. "currencyid": {
  41070. "description": "币种ID",
  41071. "type": "integer"
  41072. },
  41073. "currentbalance": {
  41074. "description": "期末余额(变动后金额)",
  41075. "type": "number"
  41076. },
  41077. "dgoodscode": {
  41078. "description": "交割商品代码",
  41079. "type": "string"
  41080. },
  41081. "dgoodsname": {
  41082. "description": "交割商品名称",
  41083. "type": "string"
  41084. },
  41085. "goodscode": {
  41086. "description": "商品代码",
  41087. "type": "string"
  41088. },
  41089. "goodsid": {
  41090. "description": "商品ID",
  41091. "type": "integer"
  41092. },
  41093. "goodsname": {
  41094. "description": "商品名称",
  41095. "type": "string"
  41096. },
  41097. "marketid": {
  41098. "description": "市场ID",
  41099. "type": "integer"
  41100. },
  41101. "marketname": {
  41102. "description": "市场名称",
  41103. "type": "string"
  41104. },
  41105. "moneyticket": {
  41106. "description": "资金流水号:银行端流水号",
  41107. "type": "integer"
  41108. },
  41109. "operatetype": {
  41110. "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:营销收款",
  41111. "type": "integer"
  41112. },
  41113. "relationorderid": {
  41114. "description": "关联单号",
  41115. "type": "string"
  41116. },
  41117. "remark": {
  41118. "description": "备注",
  41119. "type": "string"
  41120. },
  41121. "trademode": {
  41122. "description": "交易模式",
  41123. "type": "integer"
  41124. }
  41125. }
  41126. },
  41127. "taaccount.QueryHisAmountLogRsp": {
  41128. "type": "object",
  41129. "required": [
  41130. "accountid",
  41131. "amount",
  41132. "amountadjusttype",
  41133. "autoid",
  41134. "balance",
  41135. "createtime",
  41136. "currentbalance",
  41137. "histradedate",
  41138. "operatetype"
  41139. ],
  41140. "properties": {
  41141. "OPERATETYPENAME": {
  41142. "description": "资金操作类型名称",
  41143. "type": "string"
  41144. },
  41145. "accountid": {
  41146. "description": "资金账户ID",
  41147. "type": "integer"
  41148. },
  41149. "agoodscode": {
  41150. "description": "竞拍商品代码",
  41151. "type": "string"
  41152. },
  41153. "agoodsname": {
  41154. "description": "竞拍商品名称",
  41155. "type": "string"
  41156. },
  41157. "amount": {
  41158. "description": "资金金额",
  41159. "type": "number"
  41160. },
  41161. "amountadjusttype": {
  41162. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  41163. "type": "integer"
  41164. },
  41165. "autoid": {
  41166. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  41167. "type": "integer"
  41168. },
  41169. "balance": {
  41170. "description": "期初余额",
  41171. "type": "number"
  41172. },
  41173. "businesscode": {
  41174. "description": "业务编号",
  41175. "type": "integer"
  41176. },
  41177. "createtime": {
  41178. "description": "发生时间",
  41179. "type": "string"
  41180. },
  41181. "currencyid": {
  41182. "description": "币种ID",
  41183. "type": "integer"
  41184. },
  41185. "currentbalance": {
  41186. "description": "期末余额(变动后金额)",
  41187. "type": "number"
  41188. },
  41189. "dgoodscode": {
  41190. "description": "交割商品代码",
  41191. "type": "string"
  41192. },
  41193. "dgoodsname": {
  41194. "description": "交割商品名称",
  41195. "type": "string"
  41196. },
  41197. "goodscode": {
  41198. "description": "商品代码",
  41199. "type": "string"
  41200. },
  41201. "goodsid": {
  41202. "description": "商品ID",
  41203. "type": "integer"
  41204. },
  41205. "goodsname": {
  41206. "description": "商品名称",
  41207. "type": "string"
  41208. },
  41209. "histradedate": {
  41210. "description": "历史交易日",
  41211. "type": "string"
  41212. },
  41213. "isvaliddata": {
  41214. "description": "是否有效 - 0:无效 1:有效",
  41215. "type": "integer"
  41216. },
  41217. "marketid": {
  41218. "description": "市场ID",
  41219. "type": "integer"
  41220. },
  41221. "marketname": {
  41222. "description": "市场名称",
  41223. "type": "string"
  41224. },
  41225. "moneyticket": {
  41226. "description": "资金流水号:银行端流水号",
  41227. "type": "integer"
  41228. },
  41229. "operatetype": {
  41230. "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:营销收款",
  41231. "type": "integer"
  41232. },
  41233. "relationorderid": {
  41234. "description": "关联单号",
  41235. "type": "string"
  41236. },
  41237. "remark": {
  41238. "description": "备注",
  41239. "type": "string"
  41240. },
  41241. "trademode": {
  41242. "description": "交易模式",
  41243. "type": "integer"
  41244. }
  41245. }
  41246. },
  41247. "trade.QueryRecieptOrderRsp": {
  41248. "type": "object",
  41249. "required": [
  41250. "ordertime"
  41251. ],
  41252. "properties": {
  41253. "accountName": {
  41254. "description": "所属账号名称(已脱敏)",
  41255. "type": "string"
  41256. },
  41257. "accountid": {
  41258. "description": "资金账号",
  41259. "type": "integer"
  41260. },
  41261. "buyorsell": {
  41262. "description": "方向 - 0:买 1:卖",
  41263. "type": "integer"
  41264. },
  41265. "enableqty": {
  41266. "description": "可摘数量",
  41267. "type": "integer"
  41268. },
  41269. "goodscode": {
  41270. "description": "商品代码",
  41271. "type": "string"
  41272. },
  41273. "goodsid": {
  41274. "description": "商品ID",
  41275. "type": "integer"
  41276. },
  41277. "goodsname": {
  41278. "description": "商品名称",
  41279. "type": "string"
  41280. },
  41281. "orderid": {
  41282. "description": "委托单号",
  41283. "type": "string"
  41284. },
  41285. "orderprice": {
  41286. "description": "委托价格",
  41287. "type": "number"
  41288. },
  41289. "ordertime": {
  41290. "description": "委托时间",
  41291. "type": "string"
  41292. },
  41293. "tradedate": {
  41294. "description": "交易日(yyyyMMdd)",
  41295. "type": "string"
  41296. }
  41297. }
  41298. },
  41299. "user.LoginQueryRsp": {
  41300. "type": "object",
  41301. "properties": {
  41302. "areaRoles": {
  41303. "description": "所属角色信息",
  41304. "type": "array",
  41305. "items": {
  41306. "$ref": "#/definitions/models.Arearole"
  41307. }
  41308. },
  41309. "externalExchanges": {
  41310. "description": "外部交易所",
  41311. "type": "array",
  41312. "items": {
  41313. "$ref": "#/definitions/models.Externalexchange"
  41314. }
  41315. },
  41316. "goodsgroups": {
  41317. "description": "商品组",
  41318. "type": "array",
  41319. "items": {
  41320. "$ref": "#/definitions/models.Goodsgroup"
  41321. }
  41322. },
  41323. "loginAccount": {
  41324. "description": "登录账号",
  41325. "$ref": "#/definitions/models.Loginaccount"
  41326. },
  41327. "markets": {
  41328. "description": "市场",
  41329. "type": "array",
  41330. "items": {
  41331. "$ref": "#/definitions/models.Market"
  41332. }
  41333. },
  41334. "systemParams": {
  41335. "description": "系统参数",
  41336. "type": "array",
  41337. "items": {
  41338. "$ref": "#/definitions/models.Systemparam"
  41339. }
  41340. },
  41341. "userAccount": {
  41342. "description": "用户账号",
  41343. "$ref": "#/definitions/models.Useraccount"
  41344. },
  41345. "userInfo": {
  41346. "description": "用户信息",
  41347. "$ref": "#/definitions/models.Userinfo"
  41348. },
  41349. "username": {
  41350. "description": "用户姓名",
  41351. "type": "string"
  41352. }
  41353. }
  41354. }
  41355. },
  41356. "securityDefinitions": {
  41357. "ApiKeyAuth": {
  41358. "type": "apiKey",
  41359. "name": "Authorization",
  41360. "in": "header"
  41361. }
  41362. }
  41363. }`
  41364. type swaggerInfo struct {
  41365. Version string
  41366. Host string
  41367. BasePath string
  41368. Schemes []string
  41369. Title string
  41370. Description string
  41371. }
  41372. // SwaggerInfo holds exported Swagger Info so clients can modify it
  41373. var SwaggerInfo = swaggerInfo{
  41374. Version: "1.0",
  41375. Host: "",
  41376. BasePath: "/api",
  41377. Schemes: []string{},
  41378. Title: "MTP2.0 查询服务 API",
  41379. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  41380. }
  41381. type s struct{}
  41382. func (s *s) ReadDoc() string {
  41383. sInfo := SwaggerInfo
  41384. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  41385. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  41386. "marshal": func(v interface{}) string {
  41387. a, _ := json.Marshal(v)
  41388. return string(a)
  41389. },
  41390. "escape": func(v interface{}) string {
  41391. // escape tabs
  41392. str := strings.Replace(v.(string), "\t", "\\t", -1)
  41393. // replace " with \", and if that results in \\", replace that with \\\"
  41394. str = strings.Replace(str, "\"", "\\\"", -1)
  41395. return strings.Replace(str, "\\\\\"", "\\\\\\\"", -1)
  41396. },
  41397. }).Parse(doc)
  41398. if err != nil {
  41399. return doc
  41400. }
  41401. var tpl bytes.Buffer
  41402. if err := t.Execute(&tpl, sInfo); err != nil {
  41403. return doc
  41404. }
  41405. return tpl.String()
  41406. }
  41407. func init() {
  41408. swag.Register("swagger", &s{})
  41409. }