docs.go 1.6 MB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635256362563725638256392564025641256422564325644256452564625647256482564925650256512565225653256542565525656256572565825659256602566125662256632566425665256662566725668256692567025671256722567325674256752567625677256782567925680256812568225683256842568525686256872568825689256902569125692256932569425695256962569725698256992570025701257022570325704257052570625707257082570925710257112571225713257142571525716257172571825719257202572125722257232572425725257262572725728257292573025731257322573325734257352573625737257382573925740257412574225743257442574525746257472574825749257502575125752257532575425755257562575725758257592576025761257622576325764257652576625767257682576925770257712577225773257742577525776257772577825779257802578125782257832578425785257862578725788257892579025791257922579325794257952579625797257982579925800258012580225803258042580525806258072580825809258102581125812258132581425815258162581725818258192582025821258222582325824258252582625827258282582925830258312583225833258342583525836258372583825839258402584125842258432584425845258462584725848258492585025851258522585325854258552585625857258582585925860258612586225863258642586525866258672586825869258702587125872258732587425875258762587725878258792588025881258822588325884258852588625887258882588925890258912589225893258942589525896258972589825899259002590125902259032590425905259062590725908259092591025911259122591325914259152591625917259182591925920259212592225923259242592525926259272592825929259302593125932259332593425935259362593725938259392594025941259422594325944259452594625947259482594925950259512595225953259542595525956259572595825959259602596125962259632596425965259662596725968259692597025971259722597325974259752597625977259782597925980259812598225983259842598525986259872598825989259902599125992259932599425995259962599725998259992600026001260022600326004260052600626007260082600926010260112601226013260142601526016260172601826019260202602126022260232602426025260262602726028260292603026031260322603326034260352603626037260382603926040260412604226043260442604526046260472604826049260502605126052260532605426055260562605726058260592606026061260622606326064260652606626067260682606926070260712607226073260742607526076260772607826079260802608126082260832608426085260862608726088260892609026091260922609326094260952609626097260982609926100261012610226103261042610526106261072610826109261102611126112261132611426115261162611726118261192612026121261222612326124261252612626127261282612926130261312613226133261342613526136261372613826139261402614126142261432614426145261462614726148261492615026151261522615326154261552615626157261582615926160261612616226163261642616526166261672616826169261702617126172261732617426175261762617726178261792618026181261822618326184261852618626187261882618926190261912619226193261942619526196261972619826199262002620126202262032620426205262062620726208262092621026211262122621326214262152621626217262182621926220262212622226223262242622526226262272622826229262302623126232262332623426235262362623726238262392624026241262422624326244262452624626247262482624926250262512625226253262542625526256262572625826259262602626126262262632626426265262662626726268262692627026271262722627326274262752627626277262782627926280262812628226283262842628526286262872628826289262902629126292262932629426295262962629726298262992630026301263022630326304263052630626307263082630926310263112631226313263142631526316263172631826319263202632126322263232632426325263262632726328263292633026331263322633326334263352633626337263382633926340263412634226343263442634526346263472634826349263502635126352263532635426355263562635726358263592636026361263622636326364263652636626367263682636926370263712637226373263742637526376263772637826379263802638126382263832638426385263862638726388263892639026391263922639326394263952639626397263982639926400264012640226403264042640526406264072640826409264102641126412264132641426415264162641726418264192642026421264222642326424264252642626427264282642926430264312643226433264342643526436264372643826439264402644126442264432644426445264462644726448264492645026451264522645326454264552645626457264582645926460264612646226463264642646526466264672646826469264702647126472264732647426475264762647726478264792648026481264822648326484264852648626487264882648926490264912649226493264942649526496264972649826499265002650126502265032650426505265062650726508265092651026511265122651326514265152651626517265182651926520265212652226523265242652526526265272652826529265302653126532265332653426535265362653726538265392654026541265422654326544265452654626547265482654926550265512655226553265542655526556265572655826559265602656126562265632656426565265662656726568265692657026571265722657326574265752657626577265782657926580265812658226583265842658526586265872658826589265902659126592265932659426595265962659726598265992660026601266022660326604266052660626607266082660926610266112661226613266142661526616266172661826619266202662126622266232662426625266262662726628266292663026631266322663326634266352663626637266382663926640266412664226643266442664526646266472664826649266502665126652266532665426655266562665726658266592666026661266622666326664266652666626667266682666926670266712667226673266742667526676266772667826679266802668126682266832668426685266862668726688266892669026691266922669326694266952669626697266982669926700267012670226703267042670526706267072670826709267102671126712267132671426715267162671726718267192672026721267222672326724267252672626727267282672926730267312673226733267342673526736267372673826739267402674126742267432674426745267462674726748267492675026751267522675326754267552675626757267582675926760267612676226763267642676526766267672676826769267702677126772267732677426775267762677726778267792678026781267822678326784267852678626787267882678926790267912679226793267942679526796267972679826799268002680126802268032680426805268062680726808268092681026811268122681326814268152681626817268182681926820268212682226823268242682526826268272682826829268302683126832268332683426835268362683726838268392684026841268422684326844268452684626847268482684926850268512685226853268542685526856268572685826859268602686126862268632686426865268662686726868268692687026871268722687326874268752687626877268782687926880268812688226883268842688526886268872688826889268902689126892268932689426895268962689726898268992690026901269022690326904269052690626907269082690926910269112691226913269142691526916269172691826919269202692126922269232692426925269262692726928269292693026931269322693326934269352693626937269382693926940269412694226943269442694526946269472694826949269502695126952269532695426955269562695726958269592696026961269622696326964269652696626967269682696926970269712697226973269742697526976269772697826979269802698126982269832698426985269862698726988269892699026991269922699326994269952699626997269982699927000270012700227003270042700527006270072700827009270102701127012270132701427015270162701727018270192702027021270222702327024270252702627027270282702927030270312703227033270342703527036270372703827039270402704127042270432704427045270462704727048270492705027051270522705327054270552705627057270582705927060270612706227063270642706527066270672706827069270702707127072270732707427075270762707727078270792708027081270822708327084270852708627087270882708927090270912709227093270942709527096270972709827099271002710127102271032710427105271062710727108271092711027111271122711327114271152711627117271182711927120271212712227123271242712527126271272712827129271302713127132271332713427135271362713727138271392714027141271422714327144271452714627147271482714927150271512715227153271542715527156271572715827159271602716127162271632716427165271662716727168271692717027171271722717327174271752717627177271782717927180271812718227183271842718527186271872718827189271902719127192271932719427195271962719727198271992720027201272022720327204272052720627207272082720927210272112721227213272142721527216272172721827219272202722127222272232722427225272262722727228272292723027231272322723327234272352723627237272382723927240272412724227243272442724527246272472724827249272502725127252272532725427255272562725727258272592726027261272622726327264272652726627267272682726927270272712727227273272742727527276272772727827279272802728127282272832728427285272862728727288272892729027291272922729327294272952729627297272982729927300273012730227303273042730527306273072730827309273102731127312273132731427315273162731727318273192732027321273222732327324273252732627327273282732927330273312733227333273342733527336273372733827339273402734127342273432734427345273462734727348273492735027351273522735327354273552735627357273582735927360273612736227363273642736527366273672736827369273702737127372273732737427375273762737727378273792738027381273822738327384273852738627387273882738927390273912739227393273942739527396273972739827399274002740127402274032740427405274062740727408274092741027411274122741327414274152741627417274182741927420274212742227423274242742527426274272742827429274302743127432274332743427435274362743727438274392744027441274422744327444274452744627447274482744927450274512745227453274542745527456274572745827459274602746127462274632746427465274662746727468274692747027471274722747327474274752747627477274782747927480274812748227483274842748527486274872748827489274902749127492274932749427495274962749727498274992750027501275022750327504275052750627507275082750927510275112751227513275142751527516275172751827519275202752127522275232752427525275262752727528275292753027531275322753327534275352753627537275382753927540275412754227543275442754527546275472754827549275502755127552275532755427555275562755727558275592756027561275622756327564275652756627567275682756927570275712757227573275742757527576275772757827579275802758127582275832758427585275862758727588275892759027591275922759327594275952759627597275982759927600276012760227603276042760527606276072760827609276102761127612276132761427615276162761727618276192762027621276222762327624276252762627627276282762927630276312763227633276342763527636276372763827639276402764127642276432764427645276462764727648276492765027651276522765327654276552765627657276582765927660276612766227663276642766527666276672766827669276702767127672276732767427675276762767727678276792768027681276822768327684276852768627687276882768927690276912769227693276942769527696276972769827699277002770127702277032770427705277062770727708277092771027711277122771327714277152771627717277182771927720277212772227723277242772527726277272772827729277302773127732277332773427735277362773727738277392774027741277422774327744277452774627747277482774927750277512775227753277542775527756277572775827759277602776127762277632776427765277662776727768277692777027771277722777327774277752777627777277782777927780277812778227783277842778527786277872778827789277902779127792277932779427795277962779727798277992780027801278022780327804278052780627807278082780927810278112781227813278142781527816278172781827819278202782127822278232782427825278262782727828278292783027831278322783327834278352783627837278382783927840278412784227843278442784527846278472784827849278502785127852278532785427855278562785727858278592786027861278622786327864278652786627867278682786927870278712787227873278742787527876278772787827879278802788127882278832788427885278862788727888278892789027891278922789327894278952789627897278982789927900279012790227903279042790527906279072790827909279102791127912279132791427915279162791727918279192792027921279222792327924279252792627927279282792927930279312793227933279342793527936279372793827939279402794127942279432794427945279462794727948279492795027951279522795327954279552795627957279582795927960279612796227963279642796527966279672796827969279702797127972279732797427975279762797727978279792798027981279822798327984279852798627987279882798927990279912799227993279942799527996279972799827999280002800128002280032800428005280062800728008280092801028011280122801328014280152801628017280182801928020280212802228023280242802528026280272802828029280302803128032280332803428035280362803728038280392804028041280422804328044280452804628047280482804928050280512805228053280542805528056280572805828059280602806128062280632806428065280662806728068280692807028071280722807328074280752807628077280782807928080280812808228083280842808528086280872808828089280902809128092280932809428095280962809728098280992810028101281022810328104281052810628107281082810928110281112811228113281142811528116281172811828119281202812128122281232812428125281262812728128281292813028131281322813328134281352813628137281382813928140281412814228143281442814528146281472814828149281502815128152281532815428155281562815728158281592816028161281622816328164281652816628167281682816928170281712817228173281742817528176281772817828179281802818128182281832818428185281862818728188281892819028191281922819328194281952819628197281982819928200282012820228203282042820528206282072820828209282102821128212282132821428215282162821728218282192822028221282222822328224282252822628227282282822928230282312823228233282342823528236282372823828239282402824128242282432824428245282462824728248282492825028251282522825328254282552825628257282582825928260282612826228263282642826528266282672826828269282702827128272282732827428275282762827728278282792828028281282822828328284282852828628287282882828928290282912829228293282942829528296282972829828299283002830128302283032830428305283062830728308283092831028311283122831328314283152831628317283182831928320283212832228323283242832528326283272832828329283302833128332283332833428335283362833728338283392834028341283422834328344283452834628347283482834928350283512835228353283542835528356283572835828359283602836128362283632836428365283662836728368283692837028371283722837328374283752837628377283782837928380283812838228383283842838528386283872838828389283902839128392283932839428395283962839728398283992840028401284022840328404284052840628407284082840928410284112841228413284142841528416284172841828419284202842128422284232842428425284262842728428284292843028431284322843328434284352843628437284382843928440284412844228443284442844528446284472844828449284502845128452284532845428455284562845728458284592846028461284622846328464284652846628467284682846928470284712847228473284742847528476284772847828479284802848128482284832848428485284862848728488284892849028491284922849328494284952849628497284982849928500285012850228503285042850528506285072850828509285102851128512285132851428515285162851728518285192852028521285222852328524285252852628527285282852928530285312853228533285342853528536285372853828539285402854128542285432854428545285462854728548285492855028551285522855328554285552855628557285582855928560285612856228563285642856528566285672856828569285702857128572285732857428575285762857728578285792858028581285822858328584285852858628587285882858928590285912859228593285942859528596285972859828599286002860128602286032860428605286062860728608286092861028611286122861328614286152861628617286182861928620286212862228623286242862528626286272862828629286302863128632286332863428635286362863728638286392864028641286422864328644286452864628647286482864928650286512865228653286542865528656286572865828659286602866128662286632866428665286662866728668286692867028671286722867328674286752867628677286782867928680286812868228683286842868528686286872868828689286902869128692286932869428695286962869728698286992870028701287022870328704287052870628707287082870928710287112871228713287142871528716287172871828719287202872128722287232872428725287262872728728287292873028731287322873328734287352873628737287382873928740287412874228743287442874528746287472874828749287502875128752287532875428755287562875728758287592876028761287622876328764287652876628767287682876928770287712877228773287742877528776287772877828779287802878128782287832878428785287862878728788287892879028791287922879328794287952879628797287982879928800288012880228803288042880528806288072880828809288102881128812288132881428815288162881728818288192882028821288222882328824288252882628827288282882928830288312883228833288342883528836288372883828839288402884128842288432884428845288462884728848288492885028851288522885328854288552885628857288582885928860288612886228863288642886528866288672886828869288702887128872288732887428875288762887728878288792888028881288822888328884288852888628887288882888928890288912889228893288942889528896288972889828899289002890128902289032890428905289062890728908289092891028911289122891328914289152891628917289182891928920289212892228923289242892528926289272892828929289302893128932289332893428935289362893728938289392894028941289422894328944289452894628947289482894928950289512895228953289542895528956289572895828959289602896128962289632896428965289662896728968289692897028971289722897328974289752897628977289782897928980289812898228983289842898528986289872898828989289902899128992289932899428995289962899728998289992900029001290022900329004290052900629007290082900929010290112901229013290142901529016290172901829019290202902129022290232902429025290262902729028290292903029031290322903329034290352903629037290382903929040290412904229043290442904529046290472904829049290502905129052290532905429055290562905729058290592906029061290622906329064290652906629067290682906929070290712907229073290742907529076290772907829079290802908129082290832908429085290862908729088290892909029091290922909329094290952909629097290982909929100291012910229103291042910529106291072910829109291102911129112291132911429115291162911729118291192912029121291222912329124291252912629127291282912929130291312913229133291342913529136291372913829139291402914129142291432914429145291462914729148291492915029151291522915329154291552915629157291582915929160291612916229163291642916529166291672916829169291702917129172291732917429175291762917729178291792918029181291822918329184291852918629187291882918929190291912919229193291942919529196291972919829199292002920129202292032920429205292062920729208292092921029211292122921329214292152921629217292182921929220292212922229223292242922529226292272922829229292302923129232292332923429235292362923729238292392924029241292422924329244292452924629247292482924929250292512925229253292542925529256292572925829259292602926129262292632926429265292662926729268292692927029271292722927329274292752927629277292782927929280292812928229283292842928529286292872928829289292902929129292292932929429295292962929729298292992930029301293022930329304293052930629307293082930929310293112931229313293142931529316293172931829319293202932129322293232932429325293262932729328293292933029331293322933329334293352933629337293382933929340293412934229343293442934529346293472934829349293502935129352293532935429355293562935729358293592936029361293622936329364293652936629367293682936929370293712937229373293742937529376293772937829379293802938129382293832938429385293862938729388293892939029391293922939329394293952939629397293982939929400294012940229403294042940529406294072940829409294102941129412294132941429415294162941729418294192942029421294222942329424294252942629427294282942929430294312943229433294342943529436294372943829439294402944129442294432944429445294462944729448294492945029451294522945329454294552945629457294582945929460294612946229463294642946529466294672946829469294702947129472294732947429475294762947729478294792948029481294822948329484294852948629487294882948929490294912949229493294942949529496294972949829499295002950129502295032950429505295062950729508295092951029511295122951329514295152951629517295182951929520295212952229523295242952529526295272952829529295302953129532295332953429535295362953729538295392954029541295422954329544295452954629547295482954929550295512955229553295542955529556295572955829559295602956129562295632956429565295662956729568295692957029571295722957329574295752957629577295782957929580295812958229583295842958529586295872958829589295902959129592295932959429595295962959729598295992960029601296022960329604296052960629607296082960929610296112961229613296142961529616296172961829619296202962129622296232962429625296262962729628296292963029631296322963329634296352963629637296382963929640296412964229643296442964529646296472964829649296502965129652296532965429655296562965729658296592966029661296622966329664296652966629667296682966929670296712967229673296742967529676296772967829679296802968129682296832968429685296862968729688296892969029691296922969329694296952969629697296982969929700297012970229703297042970529706297072970829709297102971129712297132971429715297162971729718297192972029721297222972329724297252972629727297282972929730297312973229733297342973529736297372973829739297402974129742297432974429745297462974729748297492975029751297522975329754297552975629757297582975929760297612976229763297642976529766297672976829769297702977129772297732977429775297762977729778297792978029781297822978329784297852978629787297882978929790297912979229793297942979529796297972979829799298002980129802298032980429805298062980729808298092981029811298122981329814298152981629817298182981929820298212982229823298242982529826298272982829829298302983129832298332983429835298362983729838298392984029841298422984329844298452984629847298482984929850298512985229853298542985529856298572985829859298602986129862298632986429865298662986729868298692987029871298722987329874298752987629877298782987929880298812988229883298842988529886298872988829889298902989129892298932989429895298962989729898298992990029901299022990329904299052990629907299082990929910299112991229913299142991529916299172991829919299202992129922299232992429925299262992729928299292993029931299322993329934299352993629937299382993929940299412994229943299442994529946299472994829949299502995129952299532995429955299562995729958299592996029961299622996329964299652996629967299682996929970299712997229973299742997529976299772997829979299802998129982299832998429985299862998729988299892999029991299922999329994299952999629997299982999930000300013000230003300043000530006300073000830009300103001130012300133001430015300163001730018300193002030021300223002330024300253002630027300283002930030300313003230033300343003530036300373003830039300403004130042300433004430045300463004730048300493005030051300523005330054300553005630057300583005930060300613006230063300643006530066300673006830069300703007130072300733007430075300763007730078300793008030081300823008330084300853008630087300883008930090300913009230093300943009530096300973009830099301003010130102301033010430105301063010730108301093011030111301123011330114301153011630117301183011930120301213012230123301243012530126301273012830129301303013130132301333013430135301363013730138301393014030141301423014330144301453014630147301483014930150301513015230153301543015530156301573015830159301603016130162301633016430165301663016730168301693017030171301723017330174301753017630177301783017930180301813018230183301843018530186301873018830189301903019130192301933019430195301963019730198301993020030201302023020330204302053020630207302083020930210302113021230213302143021530216302173021830219302203022130222302233022430225302263022730228302293023030231302323023330234302353023630237302383023930240302413024230243302443024530246302473024830249302503025130252302533025430255302563025730258302593026030261302623026330264302653026630267302683026930270302713027230273302743027530276302773027830279302803028130282302833028430285302863028730288302893029030291302923029330294302953029630297302983029930300303013030230303303043030530306303073030830309303103031130312303133031430315303163031730318303193032030321303223032330324303253032630327303283032930330303313033230333303343033530336303373033830339303403034130342303433034430345303463034730348303493035030351303523035330354303553035630357303583035930360303613036230363303643036530366303673036830369303703037130372303733037430375303763037730378303793038030381303823038330384303853038630387303883038930390303913039230393303943039530396303973039830399304003040130402304033040430405304063040730408304093041030411304123041330414304153041630417304183041930420304213042230423304243042530426304273042830429304303043130432304333043430435304363043730438304393044030441304423044330444304453044630447304483044930450304513045230453304543045530456304573045830459304603046130462304633046430465304663046730468304693047030471304723047330474304753047630477304783047930480304813048230483304843048530486304873048830489304903049130492304933049430495304963049730498304993050030501305023050330504305053050630507305083050930510305113051230513305143051530516305173051830519305203052130522305233052430525305263052730528305293053030531305323053330534305353053630537305383053930540305413054230543305443054530546305473054830549305503055130552305533055430555305563055730558305593056030561305623056330564305653056630567305683056930570305713057230573305743057530576305773057830579305803058130582305833058430585305863058730588305893059030591305923059330594305953059630597305983059930600306013060230603306043060530606306073060830609306103061130612306133061430615306163061730618306193062030621306223062330624306253062630627306283062930630306313063230633306343063530636306373063830639306403064130642306433064430645306463064730648306493065030651306523065330654306553065630657306583065930660306613066230663306643066530666306673066830669306703067130672306733067430675306763067730678306793068030681306823068330684306853068630687306883068930690306913069230693306943069530696306973069830699307003070130702307033070430705307063070730708307093071030711307123071330714307153071630717307183071930720307213072230723307243072530726307273072830729307303073130732307333073430735307363073730738307393074030741307423074330744307453074630747307483074930750307513075230753307543075530756307573075830759307603076130762307633076430765307663076730768307693077030771307723077330774307753077630777307783077930780307813078230783307843078530786307873078830789307903079130792307933079430795307963079730798307993080030801308023080330804308053080630807308083080930810308113081230813308143081530816308173081830819308203082130822308233082430825308263082730828308293083030831308323083330834308353083630837308383083930840308413084230843308443084530846308473084830849308503085130852308533085430855308563085730858308593086030861308623086330864308653086630867308683086930870308713087230873308743087530876308773087830879308803088130882308833088430885308863088730888308893089030891308923089330894308953089630897308983089930900309013090230903309043090530906309073090830909309103091130912309133091430915309163091730918309193092030921309223092330924309253092630927309283092930930309313093230933309343093530936309373093830939309403094130942309433094430945309463094730948309493095030951309523095330954309553095630957309583095930960309613096230963309643096530966309673096830969309703097130972309733097430975309763097730978309793098030981309823098330984309853098630987309883098930990309913099230993309943099530996309973099830999310003100131002310033100431005310063100731008310093101031011310123101331014310153101631017310183101931020310213102231023310243102531026310273102831029310303103131032310333103431035310363103731038310393104031041310423104331044310453104631047310483104931050310513105231053310543105531056310573105831059310603106131062310633106431065310663106731068310693107031071310723107331074310753107631077310783107931080310813108231083310843108531086310873108831089310903109131092310933109431095310963109731098310993110031101311023110331104311053110631107311083110931110311113111231113311143111531116311173111831119311203112131122311233112431125311263112731128311293113031131311323113331134311353113631137311383113931140311413114231143311443114531146311473114831149311503115131152311533115431155311563115731158311593116031161311623116331164311653116631167311683116931170311713117231173311743117531176311773117831179311803118131182311833118431185311863118731188311893119031191311923119331194311953119631197311983119931200312013120231203312043120531206312073120831209312103121131212312133121431215312163121731218312193122031221312223122331224312253122631227312283122931230312313123231233312343123531236312373123831239312403124131242312433124431245312463124731248312493125031251312523125331254312553125631257312583125931260312613126231263312643126531266312673126831269312703127131272312733127431275312763127731278312793128031281312823128331284312853128631287312883128931290312913129231293312943129531296312973129831299313003130131302313033130431305313063130731308313093131031311313123131331314313153131631317313183131931320313213132231323313243132531326313273132831329313303133131332313333133431335313363133731338313393134031341313423134331344313453134631347313483134931350313513135231353313543135531356313573135831359313603136131362313633136431365313663136731368313693137031371313723137331374313753137631377313783137931380313813138231383313843138531386313873138831389313903139131392313933139431395313963139731398313993140031401314023140331404314053140631407314083140931410314113141231413314143141531416314173141831419314203142131422314233142431425314263142731428314293143031431314323143331434314353143631437314383143931440314413144231443314443144531446314473144831449314503145131452314533145431455314563145731458314593146031461314623146331464314653146631467314683146931470314713147231473314743147531476314773147831479314803148131482314833148431485314863148731488314893149031491314923149331494314953149631497314983149931500315013150231503315043150531506315073150831509315103151131512315133151431515315163151731518315193152031521315223152331524315253152631527315283152931530315313153231533315343153531536315373153831539315403154131542315433154431545315463154731548315493155031551315523155331554315553155631557315583155931560315613156231563315643156531566315673156831569315703157131572315733157431575315763157731578315793158031581315823158331584315853158631587315883158931590315913159231593315943159531596315973159831599316003160131602316033160431605316063160731608316093161031611316123161331614316153161631617316183161931620316213162231623316243162531626316273162831629316303163131632316333163431635316363163731638316393164031641316423164331644316453164631647316483164931650316513165231653316543165531656316573165831659316603166131662316633166431665316663166731668316693167031671316723167331674316753167631677316783167931680316813168231683316843168531686316873168831689316903169131692316933169431695316963169731698316993170031701317023170331704317053170631707317083170931710317113171231713317143171531716317173171831719317203172131722317233172431725317263172731728317293173031731317323173331734317353173631737317383173931740317413174231743317443174531746317473174831749317503175131752317533175431755317563175731758317593176031761317623176331764317653176631767317683176931770317713177231773317743177531776317773177831779317803178131782317833178431785317863178731788317893179031791317923179331794317953179631797317983179931800318013180231803318043180531806318073180831809318103181131812318133181431815318163181731818318193182031821318223182331824318253182631827318283182931830318313183231833318343183531836318373183831839318403184131842318433184431845318463184731848318493185031851318523185331854318553185631857318583185931860318613186231863318643186531866318673186831869318703187131872318733187431875318763187731878318793188031881318823188331884318853188631887318883188931890318913189231893318943189531896318973189831899319003190131902319033190431905319063190731908319093191031911319123191331914319153191631917319183191931920319213192231923319243192531926319273192831929319303193131932319333193431935319363193731938319393194031941319423194331944319453194631947319483194931950319513195231953319543195531956319573195831959319603196131962319633196431965319663196731968319693197031971319723197331974319753197631977319783197931980319813198231983319843198531986319873198831989319903199131992319933199431995319963199731998319993200032001320023200332004320053200632007320083200932010320113201232013320143201532016320173201832019320203202132022320233202432025320263202732028320293203032031320323203332034320353203632037320383203932040320413204232043320443204532046320473204832049320503205132052320533205432055320563205732058320593206032061320623206332064320653206632067320683206932070320713207232073320743207532076320773207832079320803208132082320833208432085320863208732088320893209032091320923209332094320953209632097320983209932100321013210232103321043210532106321073210832109321103211132112321133211432115321163211732118321193212032121321223212332124321253212632127321283212932130321313213232133321343213532136321373213832139321403214132142321433214432145321463214732148321493215032151321523215332154321553215632157321583215932160321613216232163321643216532166321673216832169321703217132172321733217432175321763217732178321793218032181321823218332184321853218632187321883218932190321913219232193321943219532196321973219832199322003220132202322033220432205322063220732208322093221032211322123221332214322153221632217322183221932220322213222232223322243222532226322273222832229322303223132232322333223432235322363223732238322393224032241322423224332244322453224632247322483224932250322513225232253322543225532256322573225832259322603226132262322633226432265322663226732268322693227032271322723227332274322753227632277322783227932280322813228232283322843228532286322873228832289322903229132292322933229432295322963229732298322993230032301323023230332304323053230632307323083230932310323113231232313323143231532316323173231832319323203232132322323233232432325323263232732328323293233032331323323233332334323353233632337323383233932340323413234232343323443234532346323473234832349323503235132352323533235432355323563235732358323593236032361323623236332364323653236632367323683236932370323713237232373323743237532376323773237832379323803238132382323833238432385323863238732388323893239032391323923239332394323953239632397323983239932400324013240232403324043240532406324073240832409324103241132412324133241432415324163241732418324193242032421324223242332424324253242632427324283242932430324313243232433324343243532436324373243832439324403244132442324433244432445324463244732448324493245032451324523245332454324553245632457324583245932460324613246232463324643246532466324673246832469324703247132472324733247432475324763247732478324793248032481324823248332484324853248632487324883248932490324913249232493324943249532496324973249832499325003250132502325033250432505325063250732508325093251032511325123251332514325153251632517325183251932520325213252232523325243252532526325273252832529325303253132532325333253432535325363253732538325393254032541325423254332544325453254632547325483254932550325513255232553325543255532556325573255832559325603256132562325633256432565325663256732568325693257032571325723257332574325753257632577325783257932580325813258232583325843258532586325873258832589325903259132592325933259432595325963259732598325993260032601326023260332604326053260632607326083260932610326113261232613326143261532616326173261832619326203262132622326233262432625326263262732628326293263032631326323263332634326353263632637326383263932640326413264232643326443264532646326473264832649326503265132652326533265432655326563265732658326593266032661326623266332664326653266632667326683266932670326713267232673326743267532676326773267832679326803268132682326833268432685326863268732688326893269032691326923269332694326953269632697326983269932700327013270232703327043270532706327073270832709327103271132712327133271432715327163271732718327193272032721327223272332724327253272632727327283272932730327313273232733327343273532736327373273832739327403274132742327433274432745327463274732748327493275032751327523275332754327553275632757327583275932760327613276232763327643276532766327673276832769327703277132772327733277432775327763277732778327793278032781327823278332784327853278632787327883278932790327913279232793327943279532796327973279832799328003280132802328033280432805328063280732808328093281032811328123281332814328153281632817328183281932820328213282232823328243282532826328273282832829328303283132832328333283432835328363283732838328393284032841328423284332844328453284632847328483284932850328513285232853328543285532856328573285832859328603286132862328633286432865328663286732868328693287032871328723287332874328753287632877328783287932880328813288232883328843288532886328873288832889328903289132892328933289432895328963289732898328993290032901329023290332904329053290632907329083290932910329113291232913329143291532916329173291832919329203292132922329233292432925329263292732928329293293032931329323293332934329353293632937329383293932940329413294232943329443294532946329473294832949329503295132952329533295432955329563295732958329593296032961329623296332964329653296632967329683296932970329713297232973329743297532976329773297832979329803298132982329833298432985329863298732988329893299032991329923299332994329953299632997329983299933000330013300233003330043300533006330073300833009330103301133012330133301433015330163301733018330193302033021330223302333024330253302633027330283302933030330313303233033330343303533036330373303833039330403304133042330433304433045330463304733048330493305033051330523305333054330553305633057330583305933060330613306233063330643306533066330673306833069330703307133072330733307433075330763307733078330793308033081330823308333084330853308633087330883308933090330913309233093330943309533096330973309833099331003310133102331033310433105331063310733108331093311033111331123311333114331153311633117331183311933120331213312233123331243312533126331273312833129331303313133132331333313433135331363313733138331393314033141331423314333144331453314633147331483314933150331513315233153331543315533156331573315833159331603316133162331633316433165331663316733168331693317033171331723317333174331753317633177331783317933180331813318233183331843318533186331873318833189331903319133192331933319433195331963319733198331993320033201332023320333204332053320633207332083320933210332113321233213332143321533216332173321833219332203322133222332233322433225332263322733228332293323033231332323323333234332353323633237332383323933240332413324233243332443324533246332473324833249332503325133252332533325433255332563325733258332593326033261332623326333264332653326633267332683326933270332713327233273332743327533276332773327833279332803328133282332833328433285332863328733288332893329033291332923329333294332953329633297332983329933300333013330233303333043330533306333073330833309333103331133312333133331433315333163331733318333193332033321333223332333324333253332633327333283332933330333313333233333333343333533336333373333833339333403334133342333433334433345333463334733348333493335033351333523335333354333553335633357333583335933360333613336233363333643336533366333673336833369333703337133372333733337433375333763337733378333793338033381333823338333384333853338633387333883338933390333913339233393333943339533396333973339833399334003340133402334033340433405334063340733408334093341033411334123341333414334153341633417334183341933420334213342233423334243342533426334273342833429334303343133432334333343433435334363343733438334393344033441334423344333444334453344633447334483344933450334513345233453334543345533456334573345833459334603346133462334633346433465334663346733468334693347033471334723347333474334753347633477334783347933480334813348233483334843348533486334873348833489334903349133492334933349433495334963349733498334993350033501335023350333504335053350633507335083350933510335113351233513335143351533516335173351833519335203352133522335233352433525335263352733528335293353033531335323353333534335353353633537335383353933540335413354233543335443354533546335473354833549335503355133552335533355433555335563355733558335593356033561335623356333564335653356633567335683356933570335713357233573335743357533576335773357833579335803358133582335833358433585335863358733588335893359033591335923359333594335953359633597335983359933600336013360233603336043360533606336073360833609336103361133612336133361433615336163361733618336193362033621336223362333624336253362633627336283362933630336313363233633336343363533636336373363833639336403364133642336433364433645336463364733648336493365033651336523365333654336553365633657336583365933660336613366233663336643366533666336673366833669336703367133672336733367433675336763367733678336793368033681336823368333684336853368633687336883368933690336913369233693336943369533696336973369833699337003370133702337033370433705337063370733708337093371033711337123371333714337153371633717337183371933720337213372233723337243372533726337273372833729337303373133732337333373433735337363373733738337393374033741337423374333744337453374633747337483374933750337513375233753337543375533756337573375833759337603376133762337633376433765337663376733768337693377033771337723377333774337753377633777337783377933780337813378233783337843378533786337873378833789337903379133792337933379433795337963379733798337993380033801338023380333804338053380633807338083380933810338113381233813338143381533816338173381833819338203382133822338233382433825338263382733828338293383033831338323383333834338353383633837338383383933840338413384233843338443384533846338473384833849338503385133852338533385433855338563385733858338593386033861338623386333864338653386633867338683386933870338713387233873338743387533876338773387833879338803388133882338833388433885338863388733888338893389033891338923389333894338953389633897338983389933900339013390233903339043390533906339073390833909339103391133912339133391433915339163391733918339193392033921339223392333924339253392633927339283392933930339313393233933339343393533936339373393833939339403394133942339433394433945339463394733948339493395033951339523395333954339553395633957339583395933960339613396233963339643396533966339673396833969339703397133972339733397433975339763397733978339793398033981339823398333984339853398633987339883398933990339913399233993339943399533996339973399833999340003400134002340033400434005340063400734008340093401034011340123401334014340153401634017340183401934020340213402234023340243402534026340273402834029340303403134032340333403434035340363403734038340393404034041340423404334044340453404634047340483404934050340513405234053340543405534056340573405834059340603406134062340633406434065340663406734068340693407034071340723407334074340753407634077340783407934080340813408234083340843408534086340873408834089340903409134092340933409434095340963409734098340993410034101341023410334104341053410634107341083410934110341113411234113341143411534116341173411834119341203412134122341233412434125341263412734128341293413034131341323413334134341353413634137341383413934140341413414234143341443414534146341473414834149341503415134152341533415434155341563415734158341593416034161341623416334164341653416634167341683416934170341713417234173341743417534176341773417834179341803418134182341833418434185341863418734188341893419034191341923419334194341953419634197341983419934200342013420234203342043420534206342073420834209342103421134212342133421434215342163421734218342193422034221342223422334224342253422634227342283422934230342313423234233342343423534236342373423834239342403424134242342433424434245342463424734248342493425034251342523425334254342553425634257342583425934260342613426234263342643426534266342673426834269342703427134272342733427434275342763427734278342793428034281342823428334284342853428634287342883428934290342913429234293342943429534296342973429834299343003430134302343033430434305343063430734308343093431034311343123431334314343153431634317343183431934320343213432234323343243432534326343273432834329343303433134332343333433434335343363433734338343393434034341343423434334344343453434634347343483434934350343513435234353343543435534356343573435834359343603436134362343633436434365343663436734368343693437034371343723437334374343753437634377343783437934380343813438234383343843438534386343873438834389343903439134392343933439434395343963439734398343993440034401344023440334404344053440634407344083440934410344113441234413344143441534416344173441834419344203442134422344233442434425344263442734428344293443034431344323443334434344353443634437344383443934440344413444234443344443444534446344473444834449344503445134452344533445434455344563445734458344593446034461344623446334464344653446634467344683446934470344713447234473344743447534476344773447834479344803448134482344833448434485344863448734488344893449034491344923449334494344953449634497344983449934500345013450234503345043450534506345073450834509345103451134512345133451434515345163451734518345193452034521345223452334524345253452634527345283452934530345313453234533345343453534536345373453834539345403454134542345433454434545345463454734548345493455034551345523455334554345553455634557345583455934560345613456234563345643456534566345673456834569345703457134572345733457434575345763457734578345793458034581345823458334584345853458634587345883458934590345913459234593345943459534596345973459834599346003460134602346033460434605346063460734608346093461034611346123461334614346153461634617346183461934620346213462234623346243462534626346273462834629346303463134632346333463434635346363463734638346393464034641346423464334644346453464634647346483464934650346513465234653346543465534656346573465834659346603466134662346633466434665346663466734668346693467034671346723467334674346753467634677346783467934680346813468234683346843468534686346873468834689346903469134692346933469434695346963469734698346993470034701347023470334704347053470634707347083470934710347113471234713347143471534716347173471834719347203472134722347233472434725347263472734728347293473034731347323473334734347353473634737347383473934740347413474234743347443474534746347473474834749347503475134752347533475434755347563475734758347593476034761347623476334764347653476634767347683476934770347713477234773347743477534776347773477834779347803478134782347833478434785347863478734788347893479034791347923479334794347953479634797347983479934800348013480234803348043480534806348073480834809348103481134812348133481434815348163481734818348193482034821348223482334824348253482634827348283482934830348313483234833348343483534836348373483834839348403484134842348433484434845348463484734848348493485034851348523485334854348553485634857348583485934860348613486234863348643486534866348673486834869348703487134872348733487434875348763487734878348793488034881348823488334884348853488634887348883488934890348913489234893348943489534896348973489834899349003490134902349033490434905349063490734908349093491034911349123491334914349153491634917349183491934920349213492234923349243492534926349273492834929349303493134932349333493434935349363493734938349393494034941349423494334944349453494634947349483494934950349513495234953349543495534956349573495834959349603496134962349633496434965349663496734968349693497034971349723497334974349753497634977349783497934980349813498234983349843498534986349873498834989349903499134992349933499434995349963499734998349993500035001350023500335004350053500635007350083500935010350113501235013350143501535016350173501835019350203502135022350233502435025350263502735028350293503035031350323503335034350353503635037350383503935040350413504235043350443504535046350473504835049350503505135052350533505435055350563505735058350593506035061350623506335064350653506635067350683506935070350713507235073350743507535076350773507835079350803508135082350833508435085350863508735088350893509035091350923509335094350953509635097350983509935100351013510235103351043510535106351073510835109351103511135112351133511435115351163511735118351193512035121351223512335124351253512635127351283512935130351313513235133351343513535136351373513835139351403514135142351433514435145351463514735148351493515035151351523515335154351553515635157351583515935160351613516235163351643516535166351673516835169351703517135172351733517435175351763517735178351793518035181351823518335184351853518635187351883518935190351913519235193351943519535196351973519835199352003520135202352033520435205352063520735208352093521035211352123521335214352153521635217352183521935220352213522235223352243522535226352273522835229352303523135232352333523435235352363523735238352393524035241352423524335244352453524635247352483524935250352513525235253352543525535256352573525835259352603526135262352633526435265352663526735268352693527035271352723527335274352753527635277352783527935280352813528235283352843528535286352873528835289352903529135292352933529435295352963529735298352993530035301353023530335304353053530635307353083530935310353113531235313353143531535316353173531835319353203532135322353233532435325353263532735328353293533035331353323533335334353353533635337353383533935340353413534235343353443534535346353473534835349353503535135352353533535435355353563535735358353593536035361353623536335364353653536635367353683536935370353713537235373353743537535376353773537835379353803538135382353833538435385353863538735388353893539035391353923539335394353953539635397353983539935400354013540235403354043540535406354073540835409354103541135412354133541435415354163541735418354193542035421354223542335424354253542635427354283542935430354313543235433354343543535436354373543835439354403544135442354433544435445354463544735448354493545035451354523545335454354553545635457354583545935460354613546235463354643546535466354673546835469354703547135472354733547435475354763547735478354793548035481354823548335484354853548635487354883548935490354913549235493354943549535496354973549835499355003550135502355033550435505355063550735508355093551035511355123551335514355153551635517355183551935520355213552235523355243552535526355273552835529355303553135532355333553435535355363553735538355393554035541355423554335544355453554635547355483554935550355513555235553355543555535556355573555835559355603556135562355633556435565355663556735568355693557035571355723557335574355753557635577355783557935580355813558235583355843558535586355873558835589355903559135592355933559435595355963559735598355993560035601356023560335604356053560635607356083560935610356113561235613356143561535616356173561835619356203562135622356233562435625356263562735628356293563035631356323563335634356353563635637356383563935640356413564235643356443564535646356473564835649356503565135652356533565435655356563565735658356593566035661356623566335664356653566635667356683566935670356713567235673356743567535676356773567835679356803568135682356833568435685356863568735688356893569035691356923569335694356953569635697356983569935700357013570235703357043570535706357073570835709357103571135712357133571435715357163571735718357193572035721357223572335724357253572635727357283572935730357313573235733357343573535736357373573835739357403574135742357433574435745357463574735748357493575035751357523575335754357553575635757357583575935760357613576235763357643576535766357673576835769357703577135772357733577435775357763577735778357793578035781357823578335784357853578635787357883578935790357913579235793357943579535796357973579835799358003580135802358033580435805358063580735808358093581035811358123581335814358153581635817358183581935820358213582235823358243582535826358273582835829358303583135832358333583435835358363583735838358393584035841358423584335844358453584635847358483584935850358513585235853358543585535856358573585835859358603586135862358633586435865358663586735868358693587035871358723587335874358753587635877358783587935880358813588235883358843588535886358873588835889358903589135892358933589435895358963589735898358993590035901359023590335904359053590635907359083590935910359113591235913359143591535916359173591835919359203592135922359233592435925359263592735928359293593035931359323593335934359353593635937359383593935940359413594235943359443594535946359473594835949359503595135952359533595435955359563595735958359593596035961359623596335964359653596635967359683596935970359713597235973359743597535976359773597835979359803598135982359833598435985359863598735988359893599035991359923599335994359953599635997359983599936000360013600236003360043600536006360073600836009360103601136012360133601436015360163601736018360193602036021360223602336024360253602636027360283602936030360313603236033360343603536036360373603836039360403604136042360433604436045360463604736048360493605036051360523605336054360553605636057360583605936060360613606236063360643606536066360673606836069360703607136072360733607436075360763607736078360793608036081360823608336084360853608636087360883608936090360913609236093360943609536096360973609836099361003610136102361033610436105361063610736108361093611036111361123611336114361153611636117361183611936120361213612236123361243612536126361273612836129361303613136132361333613436135361363613736138361393614036141361423614336144361453614636147361483614936150361513615236153361543615536156361573615836159361603616136162361633616436165361663616736168361693617036171361723617336174361753617636177361783617936180361813618236183361843618536186361873618836189361903619136192361933619436195361963619736198361993620036201362023620336204362053620636207362083620936210362113621236213362143621536216362173621836219362203622136222362233622436225362263622736228362293623036231362323623336234362353623636237362383623936240362413624236243362443624536246362473624836249362503625136252362533625436255362563625736258362593626036261362623626336264362653626636267362683626936270362713627236273362743627536276362773627836279362803628136282362833628436285362863628736288362893629036291362923629336294362953629636297362983629936300363013630236303363043630536306363073630836309363103631136312363133631436315363163631736318363193632036321363223632336324363253632636327363283632936330363313633236333363343633536336363373633836339363403634136342363433634436345363463634736348363493635036351363523635336354363553635636357363583635936360363613636236363363643636536366363673636836369363703637136372363733637436375363763637736378363793638036381363823638336384363853638636387363883638936390363913639236393363943639536396363973639836399364003640136402364033640436405364063640736408364093641036411364123641336414364153641636417364183641936420364213642236423364243642536426364273642836429364303643136432364333643436435364363643736438364393644036441364423644336444364453644636447364483644936450364513645236453364543645536456364573645836459364603646136462364633646436465364663646736468364693647036471364723647336474364753647636477364783647936480364813648236483364843648536486364873648836489364903649136492364933649436495364963649736498364993650036501365023650336504365053650636507365083650936510365113651236513365143651536516365173651836519365203652136522365233652436525365263652736528365293653036531365323653336534365353653636537365383653936540365413654236543365443654536546365473654836549365503655136552365533655436555365563655736558365593656036561365623656336564365653656636567365683656936570365713657236573365743657536576365773657836579365803658136582365833658436585365863658736588365893659036591365923659336594365953659636597365983659936600366013660236603366043660536606366073660836609366103661136612366133661436615366163661736618366193662036621366223662336624366253662636627366283662936630366313663236633366343663536636366373663836639366403664136642366433664436645366463664736648366493665036651366523665336654366553665636657366583665936660366613666236663366643666536666366673666836669366703667136672366733667436675366763667736678366793668036681366823668336684366853668636687366883668936690366913669236693366943669536696366973669836699367003670136702367033670436705367063670736708367093671036711367123671336714367153671636717367183671936720367213672236723367243672536726367273672836729367303673136732367333673436735367363673736738367393674036741367423674336744367453674636747367483674936750367513675236753367543675536756367573675836759367603676136762367633676436765367663676736768367693677036771367723677336774367753677636777367783677936780367813678236783367843678536786367873678836789367903679136792367933679436795367963679736798367993680036801368023680336804368053680636807368083680936810368113681236813368143681536816368173681836819368203682136822368233682436825368263682736828368293683036831368323683336834368353683636837368383683936840368413684236843368443684536846368473684836849368503685136852368533685436855368563685736858368593686036861368623686336864368653686636867368683686936870368713687236873368743687536876368773687836879368803688136882368833688436885368863688736888368893689036891368923689336894368953689636897368983689936900369013690236903369043690536906369073690836909369103691136912369133691436915369163691736918369193692036921369223692336924369253692636927369283692936930369313693236933369343693536936369373693836939369403694136942369433694436945369463694736948369493695036951369523695336954369553695636957369583695936960369613696236963369643696536966369673696836969369703697136972369733697436975369763697736978369793698036981369823698336984369853698636987369883698936990369913699236993369943699536996369973699836999370003700137002370033700437005370063700737008370093701037011370123701337014370153701637017370183701937020370213702237023370243702537026370273702837029370303703137032370333703437035370363703737038370393704037041370423704337044370453704637047370483704937050370513705237053370543705537056370573705837059370603706137062370633706437065370663706737068370693707037071370723707337074370753707637077370783707937080370813708237083370843708537086370873708837089370903709137092370933709437095370963709737098370993710037101371023710337104371053710637107371083710937110371113711237113371143711537116371173711837119371203712137122371233712437125371263712737128371293713037131371323713337134371353713637137371383713937140371413714237143371443714537146371473714837149371503715137152371533715437155371563715737158371593716037161371623716337164371653716637167371683716937170371713717237173371743717537176371773717837179371803718137182371833718437185371863718737188371893719037191371923719337194371953719637197371983719937200372013720237203372043720537206372073720837209372103721137212372133721437215372163721737218372193722037221372223722337224372253722637227372283722937230372313723237233372343723537236372373723837239372403724137242372433724437245372463724737248372493725037251372523725337254372553725637257372583725937260372613726237263372643726537266372673726837269372703727137272372733727437275372763727737278372793728037281372823728337284372853728637287372883728937290372913729237293372943729537296372973729837299373003730137302373033730437305373063730737308373093731037311373123731337314373153731637317373183731937320373213732237323373243732537326373273732837329373303733137332373333733437335373363733737338373393734037341373423734337344373453734637347373483734937350373513735237353373543735537356373573735837359373603736137362373633736437365373663736737368373693737037371373723737337374373753737637377373783737937380373813738237383373843738537386373873738837389373903739137392373933739437395373963739737398373993740037401374023740337404374053740637407374083740937410374113741237413374143741537416374173741837419374203742137422374233742437425374263742737428374293743037431374323743337434374353743637437374383743937440374413744237443374443744537446374473744837449374503745137452374533745437455374563745737458374593746037461374623746337464374653746637467374683746937470374713747237473374743747537476374773747837479374803748137482374833748437485374863748737488374893749037491374923749337494374953749637497374983749937500375013750237503375043750537506375073750837509375103751137512375133751437515375163751737518375193752037521375223752337524375253752637527375283752937530375313753237533375343753537536375373753837539375403754137542375433754437545375463754737548375493755037551375523755337554375553755637557375583755937560375613756237563375643756537566375673756837569375703757137572375733757437575375763757737578375793758037581375823758337584375853758637587375883758937590375913759237593375943759537596375973759837599376003760137602376033760437605376063760737608376093761037611376123761337614376153761637617376183761937620376213762237623376243762537626376273762837629376303763137632376333763437635376363763737638376393764037641376423764337644376453764637647376483764937650376513765237653376543765537656376573765837659376603766137662376633766437665376663766737668376693767037671376723767337674376753767637677376783767937680376813768237683376843768537686376873768837689376903769137692376933769437695376963769737698376993770037701377023770337704377053770637707377083770937710377113771237713377143771537716377173771837719377203772137722377233772437725377263772737728377293773037731377323773337734377353773637737377383773937740377413774237743377443774537746377473774837749377503775137752377533775437755377563775737758377593776037761377623776337764377653776637767377683776937770377713777237773377743777537776377773777837779377803778137782377833778437785377863778737788377893779037791377923779337794377953779637797377983779937800378013780237803378043780537806378073780837809378103781137812378133781437815378163781737818378193782037821378223782337824378253782637827378283782937830378313783237833378343783537836378373783837839378403784137842378433784437845378463784737848378493785037851378523785337854378553785637857378583785937860378613786237863378643786537866378673786837869378703787137872378733787437875378763787737878378793788037881378823788337884378853788637887378883788937890378913789237893378943789537896378973789837899379003790137902379033790437905379063790737908379093791037911379123791337914379153791637917379183791937920379213792237923379243792537926379273792837929379303793137932379333793437935379363793737938379393794037941379423794337944379453794637947379483794937950379513795237953379543795537956379573795837959379603796137962379633796437965379663796737968379693797037971379723797337974379753797637977379783797937980379813798237983379843798537986379873798837989379903799137992379933799437995379963799737998379993800038001380023800338004380053800638007380083800938010380113801238013380143801538016380173801838019380203802138022380233802438025380263802738028380293803038031380323803338034380353803638037380383803938040380413804238043380443804538046380473804838049380503805138052380533805438055380563805738058380593806038061380623806338064380653806638067380683806938070380713807238073380743807538076380773807838079380803808138082380833808438085380863808738088380893809038091380923809338094380953809638097380983809938100381013810238103381043810538106381073810838109381103811138112381133811438115381163811738118381193812038121381223812338124381253812638127381283812938130381313813238133381343813538136381373813838139381403814138142381433814438145381463814738148381493815038151381523815338154381553815638157381583815938160381613816238163381643816538166381673816838169381703817138172381733817438175381763817738178381793818038181381823818338184381853818638187381883818938190381913819238193381943819538196381973819838199382003820138202382033820438205382063820738208382093821038211382123821338214382153821638217382183821938220382213822238223382243822538226382273822838229382303823138232382333823438235382363823738238382393824038241382423824338244382453824638247382483824938250382513825238253382543825538256382573825838259382603826138262382633826438265382663826738268382693827038271382723827338274382753827638277382783827938280382813828238283382843828538286382873828838289382903829138292382933829438295382963829738298382993830038301383023830338304383053830638307383083830938310383113831238313383143831538316383173831838319383203832138322383233832438325383263832738328383293833038331383323833338334383353833638337383383833938340383413834238343383443834538346383473834838349383503835138352383533835438355383563835738358383593836038361383623836338364383653836638367383683836938370383713837238373383743837538376383773837838379383803838138382383833838438385383863838738388383893839038391383923839338394383953839638397383983839938400384013840238403384043840538406384073840838409384103841138412384133841438415384163841738418384193842038421384223842338424384253842638427384283842938430384313843238433384343843538436384373843838439384403844138442384433844438445384463844738448384493845038451384523845338454384553845638457384583845938460384613846238463384643846538466384673846838469384703847138472384733847438475384763847738478384793848038481384823848338484384853848638487384883848938490384913849238493384943849538496384973849838499385003850138502385033850438505385063850738508385093851038511385123851338514385153851638517385183851938520385213852238523385243852538526385273852838529385303853138532385333853438535385363853738538385393854038541385423854338544385453854638547385483854938550385513855238553385543855538556385573855838559385603856138562385633856438565385663856738568385693857038571385723857338574385753857638577385783857938580385813858238583385843858538586385873858838589385903859138592385933859438595385963859738598385993860038601386023860338604386053860638607386083860938610386113861238613386143861538616386173861838619386203862138622386233862438625386263862738628386293863038631386323863338634386353863638637386383863938640386413864238643386443864538646386473864838649386503865138652386533865438655386563865738658386593866038661386623866338664386653866638667386683866938670386713867238673386743867538676386773867838679386803868138682386833868438685386863868738688386893869038691386923869338694386953869638697386983869938700387013870238703387043870538706387073870838709387103871138712387133871438715387163871738718387193872038721387223872338724387253872638727387283872938730387313873238733387343873538736387373873838739387403874138742387433874438745387463874738748387493875038751387523875338754387553875638757387583875938760387613876238763387643876538766387673876838769387703877138772387733877438775387763877738778387793878038781387823878338784387853878638787387883878938790387913879238793387943879538796387973879838799388003880138802388033880438805388063880738808388093881038811388123881338814388153881638817388183881938820388213882238823388243882538826388273882838829388303883138832388333883438835388363883738838388393884038841388423884338844388453884638847388483884938850388513885238853388543885538856388573885838859388603886138862388633886438865388663886738868388693887038871388723887338874388753887638877388783887938880388813888238883388843888538886388873888838889388903889138892388933889438895388963889738898388993890038901389023890338904389053890638907389083890938910389113891238913389143891538916389173891838919389203892138922389233892438925389263892738928389293893038931389323893338934389353893638937389383893938940389413894238943389443894538946389473894838949389503895138952389533895438955389563895738958389593896038961389623896338964389653896638967389683896938970389713897238973389743897538976389773897838979389803898138982389833898438985389863898738988389893899038991389923899338994389953899638997389983899939000390013900239003390043900539006390073900839009390103901139012390133901439015390163901739018390193902039021390223902339024390253902639027390283902939030390313903239033390343903539036390373903839039390403904139042390433904439045390463904739048390493905039051390523905339054390553905639057390583905939060390613906239063390643906539066390673906839069390703907139072390733907439075390763907739078390793908039081390823908339084390853908639087390883908939090390913909239093390943909539096390973909839099391003910139102391033910439105391063910739108391093911039111391123911339114391153911639117391183911939120391213912239123391243912539126391273912839129391303913139132391333913439135391363913739138391393914039141391423914339144391453914639147391483914939150391513915239153391543915539156391573915839159391603916139162391633916439165391663916739168391693917039171391723917339174391753917639177391783917939180391813918239183391843918539186391873918839189391903919139192391933919439195391963919739198391993920039201392023920339204392053920639207392083920939210392113921239213392143921539216392173921839219392203922139222392233922439225392263922739228392293923039231392323923339234392353923639237392383923939240392413924239243392443924539246392473924839249392503925139252392533925439255392563925739258392593926039261392623926339264392653926639267392683926939270392713927239273392743927539276392773927839279392803928139282392833928439285392863928739288392893929039291392923929339294392953929639297392983929939300393013930239303393043930539306393073930839309393103931139312393133931439315393163931739318393193932039321393223932339324393253932639327393283932939330393313933239333393343933539336393373933839339393403934139342393433934439345393463934739348393493935039351393523935339354393553935639357393583935939360393613936239363393643936539366393673936839369393703937139372393733937439375393763937739378393793938039381393823938339384393853938639387393883938939390393913939239393393943939539396393973939839399394003940139402394033940439405394063940739408394093941039411394123941339414394153941639417394183941939420394213942239423394243942539426394273942839429394303943139432394333943439435394363943739438394393944039441394423944339444394453944639447394483944939450394513945239453394543945539456394573945839459394603946139462394633946439465394663946739468394693947039471394723947339474394753947639477394783947939480394813948239483394843948539486394873948839489394903949139492394933949439495394963949739498394993950039501395023950339504395053950639507395083950939510395113951239513395143951539516395173951839519395203952139522395233952439525395263952739528395293953039531395323953339534395353953639537395383953939540395413954239543395443954539546395473954839549395503955139552395533955439555395563955739558395593956039561395623956339564395653956639567395683956939570395713957239573395743957539576395773957839579395803958139582395833958439585395863958739588395893959039591395923959339594395953959639597395983959939600396013960239603396043960539606396073960839609396103961139612396133961439615396163961739618396193962039621396223962339624396253962639627396283962939630396313963239633396343963539636396373963839639396403964139642396433964439645396463964739648396493965039651396523965339654396553965639657396583965939660396613966239663396643966539666396673966839669396703967139672396733967439675396763967739678396793968039681396823968339684396853968639687396883968939690396913969239693396943969539696396973969839699397003970139702397033970439705397063970739708397093971039711397123971339714397153971639717397183971939720397213972239723397243972539726397273972839729397303973139732397333973439735397363973739738397393974039741397423974339744397453974639747397483974939750397513975239753397543975539756397573975839759397603976139762397633976439765397663976739768397693977039771397723977339774397753977639777397783977939780397813978239783397843978539786397873978839789397903979139792397933979439795397963979739798397993980039801398023980339804398053980639807398083980939810398113981239813398143981539816398173981839819398203982139822398233982439825398263982739828398293983039831398323983339834398353983639837398383983939840398413984239843398443984539846398473984839849398503985139852398533985439855398563985739858398593986039861398623986339864398653986639867398683986939870398713987239873398743987539876398773987839879398803988139882398833988439885398863988739888398893989039891398923989339894398953989639897398983989939900399013990239903399043990539906399073990839909399103991139912399133991439915399163991739918399193992039921399223992339924399253992639927399283992939930399313993239933399343993539936399373993839939399403994139942399433994439945399463994739948399493995039951399523995339954399553995639957399583995939960399613996239963399643996539966399673996839969399703997139972399733997439975399763997739978399793998039981399823998339984399853998639987399883998939990399913999239993399943999539996399973999839999400004000140002400034000440005400064000740008400094001040011400124001340014400154001640017400184001940020400214002240023400244002540026400274002840029400304003140032400334003440035400364003740038400394004040041400424004340044400454004640047400484004940050400514005240053400544005540056400574005840059400604006140062400634006440065400664006740068400694007040071400724007340074400754007640077400784007940080400814008240083400844008540086400874008840089400904009140092400934009440095400964009740098400994010040101401024010340104401054010640107401084010940110401114011240113401144011540116401174011840119401204012140122401234012440125401264012740128401294013040131401324013340134401354013640137401384013940140401414014240143401444014540146401474014840149401504015140152401534015440155401564015740158401594016040161401624016340164401654016640167401684016940170401714017240173401744017540176401774017840179401804018140182401834018440185401864018740188401894019040191401924019340194401954019640197401984019940200402014020240203402044020540206402074020840209402104021140212402134021440215402164021740218402194022040221402224022340224402254022640227402284022940230402314023240233402344023540236402374023840239402404024140242402434024440245402464024740248402494025040251402524025340254402554025640257402584025940260402614026240263402644026540266402674026840269402704027140272402734027440275402764027740278402794028040281402824028340284402854028640287402884028940290402914029240293402944029540296402974029840299403004030140302403034030440305403064030740308403094031040311403124031340314403154031640317403184031940320403214032240323403244032540326403274032840329403304033140332403334033440335403364033740338403394034040341403424034340344403454034640347403484034940350403514035240353403544035540356403574035840359403604036140362403634036440365403664036740368403694037040371403724037340374403754037640377403784037940380403814038240383403844038540386403874038840389403904039140392403934039440395403964039740398403994040040401404024040340404404054040640407404084040940410404114041240413404144041540416404174041840419404204042140422404234042440425404264042740428404294043040431404324043340434404354043640437404384043940440404414044240443404444044540446404474044840449404504045140452404534045440455404564045740458404594046040461404624046340464404654046640467404684046940470404714047240473404744047540476404774047840479404804048140482404834048440485404864048740488404894049040491404924049340494404954049640497404984049940500405014050240503405044050540506405074050840509405104051140512405134051440515405164051740518405194052040521405224052340524405254052640527405284052940530405314053240533405344053540536405374053840539405404054140542405434054440545405464054740548405494055040551405524055340554405554055640557405584055940560405614056240563405644056540566405674056840569405704057140572405734057440575405764057740578405794058040581405824058340584405854058640587405884058940590405914059240593405944059540596405974059840599406004060140602406034060440605406064060740608406094061040611406124061340614406154061640617406184061940620406214062240623406244062540626406274062840629406304063140632406334063440635406364063740638406394064040641406424064340644406454064640647406484064940650406514065240653406544065540656406574065840659406604066140662406634066440665406664066740668406694067040671406724067340674406754067640677406784067940680406814068240683406844068540686406874068840689406904069140692406934069440695406964069740698406994070040701407024070340704407054070640707407084070940710407114071240713407144071540716407174071840719407204072140722407234072440725407264072740728407294073040731407324073340734407354073640737407384073940740407414074240743407444074540746407474074840749407504075140752407534075440755407564075740758407594076040761407624076340764407654076640767407684076940770407714077240773407744077540776407774077840779407804078140782407834078440785407864078740788407894079040791407924079340794407954079640797407984079940800408014080240803408044080540806408074080840809408104081140812408134081440815408164081740818408194082040821408224082340824408254082640827408284082940830408314083240833408344083540836408374083840839408404084140842408434084440845408464084740848408494085040851408524085340854408554085640857408584085940860408614086240863408644086540866408674086840869408704087140872408734087440875408764087740878408794088040881408824088340884408854088640887408884088940890408914089240893408944089540896408974089840899409004090140902409034090440905409064090740908409094091040911409124091340914409154091640917409184091940920409214092240923409244092540926409274092840929409304093140932409334093440935409364093740938409394094040941409424094340944409454094640947409484094940950409514095240953409544095540956409574095840959409604096140962409634096440965409664096740968409694097040971409724097340974409754097640977409784097940980409814098240983409844098540986409874098840989409904099140992409934099440995409964099740998409994100041001410024100341004410054100641007410084100941010410114101241013410144101541016410174101841019410204102141022410234102441025410264102741028410294103041031410324103341034410354103641037410384103941040410414104241043410444104541046410474104841049410504105141052410534105441055410564105741058410594106041061410624106341064410654106641067410684106941070410714107241073410744107541076410774107841079410804108141082410834108441085410864108741088410894109041091410924109341094410954109641097410984109941100411014110241103411044110541106411074110841109411104111141112411134111441115411164111741118411194112041121411224112341124411254112641127411284112941130411314113241133411344113541136411374113841139411404114141142411434114441145411464114741148411494115041151411524115341154411554115641157411584115941160411614116241163411644116541166411674116841169411704117141172411734117441175411764117741178411794118041181411824118341184411854118641187411884118941190411914119241193411944119541196411974119841199412004120141202412034120441205412064120741208412094121041211412124121341214412154121641217412184121941220412214122241223412244122541226412274122841229412304123141232412334123441235412364123741238412394124041241412424124341244412454124641247412484124941250412514125241253412544125541256412574125841259412604126141262412634126441265412664126741268412694127041271412724127341274412754127641277412784127941280412814128241283412844128541286412874128841289412904129141292412934129441295412964129741298412994130041301413024130341304413054130641307413084130941310413114131241313413144131541316413174131841319413204132141322413234132441325413264132741328413294133041331413324133341334413354133641337413384133941340413414134241343413444134541346413474134841349413504135141352413534135441355413564135741358413594136041361413624136341364413654136641367413684136941370413714137241373413744137541376413774137841379413804138141382413834138441385413864138741388413894139041391413924139341394413954139641397413984139941400414014140241403414044140541406414074140841409414104141141412414134141441415414164141741418414194142041421414224142341424414254142641427414284142941430414314143241433414344143541436414374143841439414404144141442414434144441445414464144741448414494145041451414524145341454414554145641457414584145941460414614146241463414644146541466414674146841469414704147141472414734147441475414764147741478414794148041481414824148341484414854148641487414884148941490414914149241493414944149541496414974149841499415004150141502415034150441505415064150741508415094151041511415124151341514415154151641517415184151941520415214152241523415244152541526415274152841529415304153141532415334153441535415364153741538415394154041541415424154341544415454154641547415484154941550415514155241553415544155541556415574155841559415604156141562415634156441565415664156741568415694157041571415724157341574415754157641577415784157941580415814158241583415844158541586415874158841589415904159141592415934159441595415964159741598415994160041601416024160341604416054160641607416084160941610416114161241613416144161541616416174161841619416204162141622416234162441625416264162741628416294163041631416324163341634416354163641637416384163941640416414164241643416444164541646416474164841649416504165141652416534165441655416564165741658416594166041661416624166341664416654166641667416684166941670416714167241673416744167541676416774167841679416804168141682416834168441685416864168741688416894169041691416924169341694416954169641697416984169941700417014170241703417044170541706417074170841709417104171141712417134171441715417164171741718417194172041721417224172341724417254172641727417284172941730417314173241733417344173541736417374173841739417404174141742417434174441745417464174741748417494175041751417524175341754417554175641757417584175941760417614176241763417644176541766417674176841769417704177141772417734177441775417764177741778417794178041781417824178341784417854178641787417884178941790417914179241793417944179541796417974179841799418004180141802418034180441805418064180741808418094181041811418124181341814418154181641817418184181941820418214182241823418244182541826418274182841829418304183141832418334183441835418364183741838418394184041841418424184341844418454184641847418484184941850418514185241853418544185541856418574185841859418604186141862418634186441865418664186741868418694187041871418724187341874418754187641877418784187941880418814188241883418844188541886418874188841889418904189141892418934189441895418964189741898418994190041901419024190341904419054190641907419084190941910419114191241913419144191541916419174191841919419204192141922419234192441925419264192741928419294193041931419324193341934419354193641937419384193941940419414194241943419444194541946419474194841949419504195141952419534195441955419564195741958419594196041961419624196341964419654196641967419684196941970419714197241973419744197541976419774197841979419804198141982419834198441985419864198741988419894199041991419924199341994419954199641997419984199942000420014200242003420044200542006420074200842009420104201142012420134201442015420164201742018420194202042021420224202342024420254202642027420284202942030420314203242033420344203542036420374203842039420404204142042420434204442045420464204742048420494205042051420524205342054420554205642057420584205942060420614206242063420644206542066420674206842069420704207142072420734207442075420764207742078420794208042081420824208342084420854208642087420884208942090420914209242093420944209542096420974209842099421004210142102421034210442105421064210742108421094211042111421124211342114421154211642117421184211942120421214212242123421244212542126421274212842129421304213142132421334213442135421364213742138421394214042141421424214342144421454214642147421484214942150421514215242153421544215542156421574215842159421604216142162421634216442165421664216742168421694217042171421724217342174421754217642177421784217942180421814218242183421844218542186421874218842189421904219142192421934219442195421964219742198421994220042201422024220342204422054220642207422084220942210422114221242213422144221542216422174221842219422204222142222422234222442225422264222742228422294223042231422324223342234422354223642237422384223942240422414224242243422444224542246422474224842249422504225142252422534225442255422564225742258422594226042261422624226342264422654226642267422684226942270422714227242273422744227542276422774227842279422804228142282422834228442285422864228742288422894229042291422924229342294422954229642297422984229942300423014230242303423044230542306423074230842309423104231142312423134231442315423164231742318423194232042321423224232342324423254232642327423284232942330423314233242333423344233542336423374233842339423404234142342423434234442345423464234742348423494235042351423524235342354423554235642357423584235942360423614236242363423644236542366423674236842369423704237142372423734237442375423764237742378423794238042381423824238342384423854238642387423884238942390423914239242393423944239542396423974239842399424004240142402424034240442405424064240742408424094241042411424124241342414424154241642417424184241942420424214242242423424244242542426424274242842429424304243142432424334243442435424364243742438424394244042441424424244342444424454244642447424484244942450424514245242453424544245542456424574245842459424604246142462424634246442465424664246742468424694247042471424724247342474424754247642477424784247942480424814248242483424844248542486424874248842489424904249142492424934249442495424964249742498424994250042501425024250342504425054250642507425084250942510425114251242513425144251542516425174251842519425204252142522425234252442525425264252742528425294253042531425324253342534425354253642537425384253942540425414254242543425444254542546425474254842549425504255142552425534255442555425564255742558425594256042561425624256342564425654256642567425684256942570425714257242573425744257542576425774257842579425804258142582425834258442585425864258742588425894259042591425924259342594425954259642597425984259942600426014260242603426044260542606426074260842609426104261142612426134261442615426164261742618426194262042621426224262342624426254262642627426284262942630426314263242633426344263542636426374263842639426404264142642426434264442645426464264742648426494265042651426524265342654426554265642657426584265942660426614266242663426644266542666426674266842669426704267142672426734267442675426764267742678426794268042681426824268342684426854268642687426884268942690426914269242693426944269542696426974269842699427004270142702427034270442705427064270742708427094271042711427124271342714427154271642717427184271942720427214272242723427244272542726427274272842729427304273142732427334273442735427364273742738427394274042741427424274342744427454274642747427484274942750427514275242753427544275542756427574275842759427604276142762427634276442765427664276742768427694277042771427724277342774427754277642777427784277942780427814278242783427844278542786427874278842789427904279142792427934279442795427964279742798427994280042801428024280342804428054280642807428084280942810428114281242813428144281542816428174281842819428204282142822428234282442825428264282742828428294283042831428324283342834428354283642837428384283942840428414284242843428444284542846428474284842849428504285142852428534285442855428564285742858428594286042861428624286342864428654286642867428684286942870428714287242873428744287542876428774287842879428804288142882428834288442885428864288742888428894289042891428924289342894428954289642897428984289942900429014290242903429044290542906429074290842909429104291142912429134291442915429164291742918429194292042921429224292342924429254292642927429284292942930429314293242933429344293542936429374293842939429404294142942429434294442945429464294742948429494295042951429524295342954429554295642957429584295942960429614296242963429644296542966429674296842969429704297142972429734297442975429764297742978429794298042981429824298342984429854298642987429884298942990429914299242993429944299542996429974299842999430004300143002430034300443005430064300743008430094301043011430124301343014430154301643017430184301943020430214302243023430244302543026430274302843029430304303143032430334303443035430364303743038430394304043041430424304343044430454304643047430484304943050430514305243053430544305543056430574305843059430604306143062430634306443065430664306743068430694307043071430724307343074430754307643077430784307943080430814308243083430844308543086430874308843089430904309143092430934309443095430964309743098430994310043101431024310343104431054310643107431084310943110431114311243113431144311543116431174311843119431204312143122431234312443125431264312743128431294313043131431324313343134431354313643137431384313943140431414314243143431444314543146431474314843149431504315143152431534315443155431564315743158431594316043161431624316343164431654316643167431684316943170431714317243173431744317543176431774317843179431804318143182431834318443185431864318743188431894319043191431924319343194431954319643197431984319943200432014320243203432044320543206432074320843209432104321143212432134321443215432164321743218432194322043221432224322343224432254322643227432284322943230432314323243233432344323543236432374323843239432404324143242432434324443245432464324743248432494325043251432524325343254432554325643257432584325943260432614326243263432644326543266432674326843269432704327143272432734327443275432764327743278432794328043281432824328343284432854328643287432884328943290432914329243293432944329543296432974329843299433004330143302433034330443305433064330743308433094331043311433124331343314433154331643317433184331943320433214332243323433244332543326433274332843329433304333143332433334333443335433364333743338433394334043341433424334343344433454334643347433484334943350433514335243353433544335543356433574335843359433604336143362433634336443365433664336743368433694337043371433724337343374433754337643377433784337943380433814338243383433844338543386433874338843389433904339143392433934339443395433964339743398433994340043401434024340343404434054340643407434084340943410434114341243413434144341543416434174341843419434204342143422434234342443425434264342743428434294343043431434324343343434434354343643437434384343943440434414344243443434444344543446434474344843449434504345143452434534345443455434564345743458434594346043461434624346343464434654346643467434684346943470434714347243473434744347543476434774347843479434804348143482434834348443485434864348743488434894349043491434924349343494434954349643497434984349943500435014350243503435044350543506435074350843509435104351143512435134351443515435164351743518435194352043521435224352343524435254352643527435284352943530435314353243533435344353543536435374353843539435404354143542435434354443545435464354743548435494355043551435524355343554435554355643557435584355943560435614356243563435644356543566435674356843569435704357143572435734357443575435764357743578435794358043581435824358343584435854358643587435884358943590435914359243593435944359543596435974359843599436004360143602436034360443605436064360743608436094361043611436124361343614436154361643617436184361943620436214362243623436244362543626436274362843629436304363143632436334363443635436364363743638436394364043641436424364343644436454364643647436484364943650436514365243653436544365543656436574365843659436604366143662436634366443665436664366743668436694367043671436724367343674436754367643677436784367943680436814368243683436844368543686436874368843689436904369143692436934369443695436964369743698436994370043701437024370343704437054370643707437084370943710437114371243713437144371543716437174371843719437204372143722437234372443725437264372743728437294373043731437324373343734437354373643737437384373943740437414374243743437444374543746437474374843749437504375143752437534375443755437564375743758437594376043761437624376343764437654376643767437684376943770437714377243773437744377543776437774377843779437804378143782437834378443785437864378743788437894379043791437924379343794437954379643797437984379943800438014380243803438044380543806438074380843809438104381143812438134381443815438164381743818438194382043821438224382343824438254382643827438284382943830438314383243833438344383543836438374383843839438404384143842438434384443845438464384743848438494385043851438524385343854438554385643857438584385943860438614386243863438644386543866438674386843869438704387143872438734387443875438764387743878438794388043881438824388343884438854388643887438884388943890438914389243893438944389543896438974389843899439004390143902439034390443905439064390743908439094391043911439124391343914439154391643917439184391943920439214392243923439244392543926439274392843929439304393143932439334393443935439364393743938439394394043941439424394343944439454394643947439484394943950439514395243953439544395543956439574395843959439604396143962439634396443965439664396743968439694397043971439724397343974439754397643977439784397943980439814398243983439844398543986439874398843989439904399143992439934399443995439964399743998439994400044001440024400344004440054400644007440084400944010440114401244013440144401544016440174401844019440204402144022440234402444025440264402744028440294403044031440324403344034440354403644037440384403944040440414404244043440444404544046440474404844049440504405144052440534405444055440564405744058440594406044061440624406344064440654406644067440684406944070440714407244073440744407544076440774407844079440804408144082440834408444085440864408744088440894409044091440924409344094440954409644097440984409944100441014410244103441044410544106441074410844109441104411144112441134411444115441164411744118441194412044121441224412344124441254412644127441284412944130441314413244133441344413544136441374413844139441404414144142441434414444145441464414744148441494415044151441524415344154441554415644157441584415944160441614416244163441644416544166441674416844169441704417144172441734417444175441764417744178441794418044181441824418344184441854418644187441884418944190441914419244193441944419544196441974419844199442004420144202442034420444205442064420744208442094421044211442124421344214442154421644217442184421944220442214422244223442244422544226442274422844229442304423144232442334423444235442364423744238442394424044241442424424344244442454424644247442484424944250442514425244253442544425544256442574425844259442604426144262442634426444265442664426744268442694427044271442724427344274442754427644277442784427944280442814428244283442844428544286442874428844289442904429144292442934429444295442964429744298442994430044301443024430344304443054430644307443084430944310443114431244313443144431544316443174431844319443204432144322443234432444325443264432744328443294433044331443324433344334443354433644337443384433944340443414434244343443444434544346443474434844349443504435144352443534435444355443564435744358443594436044361443624436344364443654436644367443684436944370443714437244373443744437544376443774437844379443804438144382443834438444385443864438744388443894439044391443924439344394443954439644397443984439944400444014440244403444044440544406444074440844409444104441144412444134441444415444164441744418444194442044421444224442344424444254442644427444284442944430444314443244433444344443544436444374443844439444404444144442444434444444445444464444744448444494445044451444524445344454444554445644457444584445944460444614446244463444644446544466444674446844469444704447144472444734447444475444764447744478444794448044481444824448344484444854448644487444884448944490444914449244493444944449544496444974449844499445004450144502445034450444505445064450744508445094451044511445124451344514445154451644517445184451944520445214452244523445244452544526445274452844529445304453144532445334453444535445364453744538445394454044541445424454344544445454454644547445484454944550445514455244553445544455544556445574455844559445604456144562445634456444565445664456744568445694457044571445724457344574445754457644577445784457944580445814458244583445844458544586445874458844589445904459144592445934459444595445964459744598445994460044601446024460344604446054460644607446084460944610446114461244613446144461544616446174461844619446204462144622446234462444625446264462744628446294463044631446324463344634446354463644637446384463944640446414464244643446444464544646446474464844649446504465144652446534465444655446564465744658446594466044661446624466344664446654466644667446684466944670446714467244673446744467544676446774467844679446804468144682446834468444685446864468744688446894469044691446924469344694446954469644697446984469944700447014470244703447044470544706447074470844709447104471144712447134471444715447164471744718447194472044721447224472344724447254472644727447284472944730447314473244733447344473544736447374473844739447404474144742447434474444745447464474744748447494475044751447524475344754447554475644757447584475944760447614476244763447644476544766447674476844769447704477144772447734477444775447764477744778447794478044781447824478344784447854478644787447884478944790447914479244793447944479544796447974479844799448004480144802448034480444805448064480744808448094481044811448124481344814448154481644817448184481944820448214482244823448244482544826
  1. // GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
  2. // This file was generated by swaggo/swag
  3. package docs
  4. import (
  5. "bytes"
  6. "encoding/json"
  7. "strings"
  8. "github.com/alecthomas/template"
  9. "github.com/swaggo/swag"
  10. )
  11. var doc = `{
  12. "schemes": {{ marshal .Schemes }},
  13. "swagger": "2.0",
  14. "info": {
  15. "description": "{{.Description}}",
  16. "title": "{{.Title}}",
  17. "termsOfService": "http://www.muchinfo.cn",
  18. "contact": {},
  19. "version": "{{.Version}}"
  20. },
  21. "host": "{{.Host}}",
  22. "basePath": "{{.BasePath}}",
  23. "paths": {
  24. "/CPTrade/QueryCPTradeMyBidInfos": {
  25. "get": {
  26. "security": [
  27. {
  28. "ApiKeyAuth": []
  29. }
  30. ],
  31. "produces": [
  32. "application/json"
  33. ],
  34. "tags": [
  35. "产能预售"
  36. ],
  37. "summary": "查询产能预售我的出价信息",
  38. "parameters": [
  39. {
  40. "type": "integer",
  41. "description": "资金账户",
  42. "name": "accountid",
  43. "in": "query",
  44. "required": true
  45. },
  46. {
  47. "type": "integer",
  48. "description": "预售市场ID",
  49. "name": "marketid",
  50. "in": "query"
  51. },
  52. {
  53. "type": "integer",
  54. "description": "预售商品ID",
  55. "name": "goodsid",
  56. "in": "query"
  57. }
  58. ],
  59. "responses": {
  60. "200": {
  61. "description": "OK",
  62. "schema": {
  63. "$ref": "#/definitions/cptrade.QueryCPTradeMyBidRsp"
  64. }
  65. },
  66. "500": {
  67. "description": "Internal Server Error",
  68. "schema": {
  69. "$ref": "#/definitions/app.Response"
  70. }
  71. }
  72. }
  73. }
  74. },
  75. "/CPTrade/QueryCPTradeOrderDetail": {
  76. "get": {
  77. "security": [
  78. {
  79. "ApiKeyAuth": []
  80. }
  81. ],
  82. "produces": [
  83. "application/json"
  84. ],
  85. "tags": [
  86. "产能预售"
  87. ],
  88. "summary": "查询产能预售委托单信息",
  89. "parameters": [
  90. {
  91. "type": "integer",
  92. "description": "预售商品ID",
  93. "name": "goodsid",
  94. "in": "query"
  95. },
  96. {
  97. "type": "integer",
  98. "description": "预售市场ID",
  99. "name": "marketid",
  100. "in": "query"
  101. },
  102. {
  103. "type": "string",
  104. "description": "预售商品ID列表 - 格式:1,2,3",
  105. "name": "goodsids",
  106. "in": "query"
  107. }
  108. ],
  109. "responses": {
  110. "200": {
  111. "description": "OK",
  112. "schema": {
  113. "$ref": "#/definitions/cptrade.QueryCPTradeOrderDetailRsq"
  114. }
  115. },
  116. "500": {
  117. "description": "Internal Server Error",
  118. "schema": {
  119. "$ref": "#/definitions/app.Response"
  120. }
  121. }
  122. }
  123. }
  124. },
  125. "/CPTrade/QueryMyCPTradeGoods": {
  126. "get": {
  127. "security": [
  128. {
  129. "ApiKeyAuth": []
  130. }
  131. ],
  132. "produces": [
  133. "application/json"
  134. ],
  135. "tags": [
  136. "产能预售"
  137. ],
  138. "summary": "查询我的预售信息",
  139. "parameters": [
  140. {
  141. "type": "integer",
  142. "description": "资金账户",
  143. "name": "accountid",
  144. "in": "query",
  145. "required": true
  146. }
  147. ],
  148. "responses": {
  149. "200": {
  150. "description": "OK",
  151. "schema": {
  152. "$ref": "#/definitions/cptrade.QueryMyCPTradeGoodsRsp"
  153. }
  154. },
  155. "500": {
  156. "description": "Internal Server Error",
  157. "schema": {
  158. "$ref": "#/definitions/app.Response"
  159. }
  160. }
  161. }
  162. }
  163. },
  164. "/CPTrade/QueryPositionCancel": {
  165. "get": {
  166. "security": [
  167. {
  168. "ApiKeyAuth": []
  169. }
  170. ],
  171. "produces": [
  172. "application/json"
  173. ],
  174. "tags": [
  175. "产能预售"
  176. ],
  177. "summary": "查询远期订单注销申请信息",
  178. "parameters": [
  179. {
  180. "type": "integer",
  181. "description": "账户ID",
  182. "name": "userid",
  183. "in": "query",
  184. "required": true
  185. },
  186. {
  187. "type": "integer",
  188. "description": "注销ID",
  189. "name": "cancelid",
  190. "in": "query"
  191. },
  192. {
  193. "type": "integer",
  194. "description": "资金账户ID",
  195. "name": "accountid",
  196. "in": "query"
  197. }
  198. ],
  199. "responses": {
  200. "200": {
  201. "description": "OK",
  202. "schema": {
  203. "$ref": "#/definitions/cptrade.Cptradepositioncancel"
  204. }
  205. },
  206. "500": {
  207. "description": "Internal Server Error",
  208. "schema": {
  209. "$ref": "#/definitions/app.Response"
  210. }
  211. }
  212. }
  213. }
  214. },
  215. "/CPTrade/QueryPreasleApply": {
  216. "get": {
  217. "security": [
  218. {
  219. "ApiKeyAuth": []
  220. }
  221. ],
  222. "produces": [
  223. "application/json"
  224. ],
  225. "tags": [
  226. "产能预售"
  227. ],
  228. "summary": "查询产能预售申请信息",
  229. "parameters": [
  230. {
  231. "type": "integer",
  232. "description": "账户ID",
  233. "name": "userid",
  234. "in": "query",
  235. "required": true
  236. },
  237. {
  238. "type": "integer",
  239. "description": "申请ID",
  240. "name": "applyid",
  241. "in": "query"
  242. },
  243. {
  244. "type": "integer",
  245. "description": "资金账户ID",
  246. "name": "accountid",
  247. "in": "query"
  248. }
  249. ],
  250. "responses": {
  251. "200": {
  252. "description": "OK",
  253. "schema": {
  254. "$ref": "#/definitions/cptrade.Cptradepresaleapply"
  255. }
  256. },
  257. "500": {
  258. "description": "Internal Server Error",
  259. "schema": {
  260. "$ref": "#/definitions/app.Response"
  261. }
  262. }
  263. }
  264. }
  265. },
  266. "/CPTrade/QueryPresaleGoodsEx": {
  267. "get": {
  268. "security": [
  269. {
  270. "ApiKeyAuth": []
  271. }
  272. ],
  273. "produces": [
  274. "application/json"
  275. ],
  276. "tags": [
  277. "产能预售"
  278. ],
  279. "summary": "查询产能预售商品扩展信息",
  280. "parameters": [
  281. {
  282. "type": "integer",
  283. "description": "预售商品ID",
  284. "name": "goodsid",
  285. "in": "query"
  286. },
  287. {
  288. "type": "integer",
  289. "description": "预售市场ID",
  290. "name": "marketid",
  291. "in": "query"
  292. },
  293. {
  294. "type": "integer",
  295. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  296. "name": "presalemode",
  297. "in": "query"
  298. },
  299. {
  300. "type": "string",
  301. "description": "预售商品ID列表 - 格式:1,2,3",
  302. "name": "goodsids",
  303. "in": "query"
  304. },
  305. {
  306. "type": "string",
  307. "description": "预售商品代码",
  308. "name": "goodscode",
  309. "in": "query"
  310. }
  311. ],
  312. "responses": {
  313. "200": {
  314. "description": "OK",
  315. "schema": {
  316. "$ref": "#/definitions/cptrade.QueryPresaleGoodsExRsp"
  317. }
  318. },
  319. "500": {
  320. "description": "Internal Server Error",
  321. "schema": {
  322. "$ref": "#/definitions/app.Response"
  323. }
  324. }
  325. }
  326. }
  327. },
  328. "/CPTrade/QueryUserGoodsData": {
  329. "get": {
  330. "security": [
  331. {
  332. "ApiKeyAuth": []
  333. }
  334. ],
  335. "produces": [
  336. "application/json"
  337. ],
  338. "tags": [
  339. "产能预售"
  340. ],
  341. "summary": "查询远期订单信息",
  342. "parameters": [
  343. {
  344. "type": "integer",
  345. "description": "资金账户ID",
  346. "name": "accountid",
  347. "in": "query",
  348. "required": true
  349. }
  350. ],
  351. "responses": {
  352. "200": {
  353. "description": "OK",
  354. "schema": {
  355. "$ref": "#/definitions/cptrade.Cptradeusergoodsdata"
  356. }
  357. },
  358. "500": {
  359. "description": "Internal Server Error",
  360. "schema": {
  361. "$ref": "#/definitions/app.Response"
  362. }
  363. }
  364. }
  365. }
  366. },
  367. "/Common/GetAllEnums": {
  368. "get": {
  369. "description": "autoid传入后则返回这个ID之后的数据;如不传则返回所有",
  370. "produces": [
  371. "application/json"
  372. ],
  373. "tags": [
  374. "通用服务"
  375. ],
  376. "summary": "获取所有枚举信息",
  377. "parameters": [
  378. {
  379. "type": "integer",
  380. "description": "起始自增ID",
  381. "name": "autoid",
  382. "in": "query"
  383. }
  384. ],
  385. "responses": {
  386. "200": {
  387. "description": "OK",
  388. "schema": {
  389. "$ref": "#/definitions/models.Enumdicitem"
  390. }
  391. },
  392. "500": {
  393. "description": "Internal Server Error",
  394. "schema": {
  395. "$ref": "#/definitions/app.Response"
  396. }
  397. }
  398. }
  399. }
  400. },
  401. "/Common/GetClientMenus": {
  402. "get": {
  403. "security": [
  404. {
  405. "ApiKeyAuth": []
  406. }
  407. ],
  408. "produces": [
  409. "application/json"
  410. ],
  411. "tags": [
  412. "通用服务"
  413. ],
  414. "summary": "获取交易端菜单",
  415. "parameters": [
  416. {
  417. "type": "integer",
  418. "description": "登录账号",
  419. "name": "loginID",
  420. "in": "query",
  421. "required": true
  422. },
  423. {
  424. "type": "integer",
  425. "description": "终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据",
  426. "name": "clientType",
  427. "in": "query"
  428. },
  429. {
  430. "type": "string",
  431. "description": "分支名称,ermcp-风管云平台;pingan-平安期货;trader-交易所;不传默认返回风管云平台",
  432. "name": "name",
  433. "in": "query"
  434. }
  435. ],
  436. "responses": {
  437. "200": {
  438. "description": "OK",
  439. "schema": {
  440. "type": "array",
  441. "items": {
  442. "$ref": "#/definitions/common.ClientMenu"
  443. }
  444. }
  445. },
  446. "500": {
  447. "description": "Internal Server Error",
  448. "schema": {
  449. "$ref": "#/definitions/app.Response"
  450. }
  451. }
  452. }
  453. }
  454. },
  455. "/Common/GetDivisions": {
  456. "get": {
  457. "produces": [
  458. "application/json"
  459. ],
  460. "tags": [
  461. "通用服务"
  462. ],
  463. "summary": "查询区域信息",
  464. "responses": {
  465. "200": {
  466. "description": "OK",
  467. "schema": {
  468. "$ref": "#/definitions/models.Division"
  469. }
  470. },
  471. "500": {
  472. "description": "Internal Server Error",
  473. "schema": {
  474. "$ref": "#/definitions/app.Response"
  475. }
  476. }
  477. }
  478. }
  479. },
  480. "/Common/GetPCWebMenus": {
  481. "get": {
  482. "security": [
  483. {
  484. "ApiKeyAuth": []
  485. }
  486. ],
  487. "produces": [
  488. "application/json"
  489. ],
  490. "tags": [
  491. "通用服务"
  492. ],
  493. "summary": "获取PCWeb交易端菜单",
  494. "parameters": [
  495. {
  496. "type": "integer",
  497. "description": "登录账号",
  498. "name": "loginID",
  499. "in": "query",
  500. "required": true
  501. },
  502. {
  503. "type": "string",
  504. "description": "分支名称,ermcp:风管云平台,不传默认返回ermcp",
  505. "name": "name",
  506. "in": "query"
  507. }
  508. ],
  509. "responses": {
  510. "200": {
  511. "description": "OK",
  512. "schema": {
  513. "type": "array",
  514. "items": {
  515. "$ref": "#/definitions/common.PCWebMenu"
  516. }
  517. }
  518. },
  519. "500": {
  520. "description": "Internal Server Error",
  521. "schema": {
  522. "$ref": "#/definitions/app.Response"
  523. }
  524. }
  525. }
  526. }
  527. },
  528. "/Common/GetServerTime": {
  529. "get": {
  530. "produces": [
  531. "application/json"
  532. ],
  533. "tags": [
  534. "通用服务"
  535. ],
  536. "summary": "获取服务器时间",
  537. "responses": {
  538. "200": {
  539. "description": "OK",
  540. "schema": {
  541. "$ref": "#/definitions/app.Response"
  542. }
  543. },
  544. "500": {
  545. "description": "Internal Server Error",
  546. "schema": {
  547. "$ref": "#/definitions/app.Response"
  548. }
  549. }
  550. }
  551. }
  552. },
  553. "/Common/NoticeReaded": {
  554. "post": {
  555. "security": [
  556. {
  557. "ApiKeyAuth": []
  558. }
  559. ],
  560. "produces": [
  561. "application/json"
  562. ],
  563. "tags": [
  564. "通用服务"
  565. ],
  566. "summary": "通知公告设置已读请求",
  567. "parameters": [
  568. {
  569. "type": "integer",
  570. "description": "登录账号",
  571. "name": "loginID",
  572. "in": "query",
  573. "required": true
  574. },
  575. {
  576. "type": "integer",
  577. "description": "通知公告ID",
  578. "name": "noticeID",
  579. "in": "query",
  580. "required": true
  581. }
  582. ],
  583. "responses": {
  584. "200": {
  585. "description": "OK",
  586. "schema": {
  587. "$ref": "#/definitions/app.Response"
  588. }
  589. },
  590. "500": {
  591. "description": "Internal Server Error",
  592. "schema": {
  593. "$ref": "#/definitions/app.Response"
  594. }
  595. }
  596. }
  597. }
  598. },
  599. "/Common/QueryErrorInfos": {
  600. "get": {
  601. "description": "如果传入rowNumber,则返回此rowNumber后的数据",
  602. "produces": [
  603. "application/json"
  604. ],
  605. "tags": [
  606. "通用服务"
  607. ],
  608. "summary": "获取数据库错误信息",
  609. "parameters": [
  610. {
  611. "type": "string",
  612. "description": "起始行号前索引",
  613. "name": "rowNumber",
  614. "in": "query"
  615. }
  616. ],
  617. "responses": {
  618. "200": {
  619. "description": "OK",
  620. "schema": {
  621. "$ref": "#/definitions/models.QueryErrorInfosRsp"
  622. }
  623. },
  624. "500": {
  625. "description": "Internal Server Error",
  626. "schema": {
  627. "$ref": "#/definitions/app.Response"
  628. }
  629. }
  630. }
  631. }
  632. },
  633. "/Common/QueryImageConfigs": {
  634. "get": {
  635. "produces": [
  636. "application/json"
  637. ],
  638. "tags": [
  639. "通用服务"
  640. ],
  641. "summary": "查询轮播图配置信息",
  642. "parameters": [
  643. {
  644. "type": "integer",
  645. "description": "用户id",
  646. "name": "userId",
  647. "in": "query"
  648. },
  649. {
  650. "type": "integer",
  651. "description": "类型 - 1:App首页轮播 2:我的 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. "/Ermcp8/QueryERMCP2HedgedItemSpotDetail": {
  5585. "get": {
  5586. "security": [
  5587. {
  5588. "ApiKeyAuth": []
  5589. }
  5590. ],
  5591. "produces": [
  5592. "application/json"
  5593. ],
  5594. "tags": [
  5595. "企业风险管理v8"
  5596. ],
  5597. "summary": "现货成交明细查询",
  5598. "parameters": [
  5599. {
  5600. "type": "integer",
  5601. "description": "套期项目ID",
  5602. "name": "hedgeditemid",
  5603. "in": "query",
  5604. "required": true
  5605. }
  5606. ],
  5607. "responses": {
  5608. "200": {
  5609. "description": "OK",
  5610. "schema": {
  5611. "type": "array",
  5612. "items": {
  5613. "$ref": "#/definitions/models.Ermcp2hedgeditemspotDetail"
  5614. }
  5615. }
  5616. },
  5617. "500": {
  5618. "description": "Internal Server Error",
  5619. "schema": {
  5620. "$ref": "#/definitions/app.Response"
  5621. }
  5622. }
  5623. }
  5624. }
  5625. },
  5626. "/Ermcp8/QueryERMCP2HedgedItemspot": {
  5627. "get": {
  5628. "security": [
  5629. {
  5630. "ApiKeyAuth": []
  5631. }
  5632. ],
  5633. "produces": [
  5634. "application/json"
  5635. ],
  5636. "tags": [
  5637. "企业风险管理v8"
  5638. ],
  5639. "summary": "套期计划明细查询",
  5640. "parameters": [
  5641. {
  5642. "type": "integer",
  5643. "description": "套期项目ID",
  5644. "name": "hedgeditemid",
  5645. "in": "query",
  5646. "required": true
  5647. }
  5648. ],
  5649. "responses": {
  5650. "200": {
  5651. "description": "OK",
  5652. "schema": {
  5653. "type": "array",
  5654. "items": {
  5655. "$ref": "#/definitions/models.Ermcp2hedgeditemspot"
  5656. }
  5657. }
  5658. },
  5659. "500": {
  5660. "description": "Internal Server Error",
  5661. "schema": {
  5662. "$ref": "#/definitions/app.Response"
  5663. }
  5664. }
  5665. }
  5666. }
  5667. },
  5668. "/Ermcp8/QueryERMCPJRLinkPos": {
  5669. "get": {
  5670. "security": [
  5671. {
  5672. "ApiKeyAuth": []
  5673. }
  5674. ],
  5675. "produces": [
  5676. "application/json"
  5677. ],
  5678. "tags": [
  5679. "企业风险管理v8"
  5680. ],
  5681. "summary": "期货持仓明细查询",
  5682. "parameters": [
  5683. {
  5684. "type": "integer",
  5685. "description": "套期项目ID",
  5686. "name": "hedgeditemid",
  5687. "in": "query",
  5688. "required": true
  5689. }
  5690. ],
  5691. "responses": {
  5692. "200": {
  5693. "description": "OK",
  5694. "schema": {
  5695. "type": "array",
  5696. "items": {
  5697. "$ref": "#/definitions/models.Ermcpjrlinkpos"
  5698. }
  5699. }
  5700. },
  5701. "500": {
  5702. "description": "Internal Server Error",
  5703. "schema": {
  5704. "$ref": "#/definitions/app.Response"
  5705. }
  5706. }
  5707. }
  5708. }
  5709. },
  5710. "/Ermcp8/QueryERMCPPatradeLinkDetail": {
  5711. "get": {
  5712. "security": [
  5713. {
  5714. "ApiKeyAuth": []
  5715. }
  5716. ],
  5717. "produces": [
  5718. "application/json"
  5719. ],
  5720. "tags": [
  5721. "企业风险管理v8"
  5722. ],
  5723. "summary": "期货成交单明细查询",
  5724. "parameters": [
  5725. {
  5726. "type": "integer",
  5727. "description": "套期项目ID",
  5728. "name": "hedgeditemid",
  5729. "in": "query",
  5730. "required": true
  5731. }
  5732. ],
  5733. "responses": {
  5734. "200": {
  5735. "description": "OK",
  5736. "schema": {
  5737. "type": "array",
  5738. "items": {
  5739. "$ref": "#/definitions/models.Ermcppatradelinkdetail"
  5740. }
  5741. }
  5742. },
  5743. "500": {
  5744. "description": "Internal Server Error",
  5745. "schema": {
  5746. "$ref": "#/definitions/app.Response"
  5747. }
  5748. }
  5749. }
  5750. }
  5751. },
  5752. "/Ermcp8/QueryErmcp2AreaExposure": {
  5753. "get": {
  5754. "security": [
  5755. {
  5756. "ApiKeyAuth": []
  5757. }
  5758. ],
  5759. "produces": [
  5760. "application/json"
  5761. ],
  5762. "tags": [
  5763. "企业风险管理v8"
  5764. ],
  5765. "summary": "企业敞口查询",
  5766. "parameters": [
  5767. {
  5768. "type": "string",
  5769. "description": "用户ID",
  5770. "name": "userid",
  5771. "in": "query",
  5772. "required": true
  5773. }
  5774. ],
  5775. "responses": {
  5776. "200": {
  5777. "description": "OK",
  5778. "schema": {
  5779. "type": "array",
  5780. "items": {
  5781. "$ref": "#/definitions/models.Ermcp2AreaExposure"
  5782. }
  5783. }
  5784. },
  5785. "500": {
  5786. "description": "Internal Server Error",
  5787. "schema": {
  5788. "$ref": "#/definitions/app.Response"
  5789. }
  5790. }
  5791. }
  5792. }
  5793. },
  5794. "/Ermcp8/QueryErmcp2HedgedItem": {
  5795. "get": {
  5796. "security": [
  5797. {
  5798. "ApiKeyAuth": []
  5799. }
  5800. ],
  5801. "description": "已完成项目查询 -\u003e 项目状态 = 3:正常完结 or 5:异常完结",
  5802. "produces": [
  5803. "application/json"
  5804. ],
  5805. "tags": [
  5806. "企业风险管理v8"
  5807. ],
  5808. "summary": "查询被套期项目信息",
  5809. "parameters": [
  5810. {
  5811. "type": "string",
  5812. "description": "用户ID",
  5813. "name": "userid",
  5814. "in": "query",
  5815. "required": true
  5816. },
  5817. {
  5818. "type": "integer",
  5819. "description": "套期类型 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  5820. "name": "hedgedtype",
  5821. "in": "query"
  5822. },
  5823. {
  5824. "type": "integer",
  5825. "description": "项目状态 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  5826. "name": "hedgeditemstatus",
  5827. "in": "query"
  5828. }
  5829. ],
  5830. "responses": {
  5831. "200": {
  5832. "description": "OK",
  5833. "schema": {
  5834. "type": "array",
  5835. "items": {
  5836. "$ref": "#/definitions/models.Ermcp2hedgeditem"
  5837. }
  5838. }
  5839. },
  5840. "500": {
  5841. "description": "Internal Server Error",
  5842. "schema": {
  5843. "$ref": "#/definitions/app.Response"
  5844. }
  5845. }
  5846. }
  5847. }
  5848. },
  5849. "/Ermcp8/QueryErmcp2HedgedItemsDetail": {
  5850. "get": {
  5851. "security": [
  5852. {
  5853. "ApiKeyAuth": []
  5854. }
  5855. ],
  5856. "produces": [
  5857. "application/json"
  5858. ],
  5859. "tags": [
  5860. "企业风险管理v8"
  5861. ],
  5862. "summary": "敞口明细 - 计划变动明细",
  5863. "parameters": [
  5864. {
  5865. "type": "integer",
  5866. "description": "用户ID",
  5867. "name": "userid",
  5868. "in": "query",
  5869. "required": true
  5870. },
  5871. {
  5872. "type": "integer",
  5873. "description": "套保品种ID",
  5874. "name": "middlegoodsid",
  5875. "in": "query",
  5876. "required": true
  5877. }
  5878. ],
  5879. "responses": {
  5880. "200": {
  5881. "description": "OK",
  5882. "schema": {
  5883. "type": "array",
  5884. "items": {
  5885. "$ref": "#/definitions/models.Ermcp2hedgeditemsDetail"
  5886. }
  5887. }
  5888. },
  5889. "500": {
  5890. "description": "Internal Server Error",
  5891. "schema": {
  5892. "$ref": "#/definitions/app.Response"
  5893. }
  5894. }
  5895. }
  5896. }
  5897. },
  5898. "/Ermcp8/QueryErmcp2StockSpotChangeLog": {
  5899. "get": {
  5900. "security": [
  5901. {
  5902. "ApiKeyAuth": []
  5903. }
  5904. ],
  5905. "produces": [
  5906. "application/json"
  5907. ],
  5908. "tags": [
  5909. "企业风险管理v8"
  5910. ],
  5911. "summary": "敞口明细 - 现货变动明细查询",
  5912. "parameters": [
  5913. {
  5914. "type": "integer",
  5915. "description": "用户ID",
  5916. "name": "userid",
  5917. "in": "query",
  5918. "required": true
  5919. },
  5920. {
  5921. "type": "integer",
  5922. "description": "套保品种ID",
  5923. "name": "middlegoodsid",
  5924. "in": "query",
  5925. "required": true
  5926. }
  5927. ],
  5928. "responses": {
  5929. "200": {
  5930. "description": "OK",
  5931. "schema": {
  5932. "type": "array",
  5933. "items": {
  5934. "$ref": "#/definitions/models.Ermcp2stockspotchangelog"
  5935. }
  5936. }
  5937. },
  5938. "500": {
  5939. "description": "Internal Server Error",
  5940. "schema": {
  5941. "$ref": "#/definitions/app.Response"
  5942. }
  5943. }
  5944. }
  5945. }
  5946. },
  5947. "/Ermcp8/QueryErmcp8EnableHedgeditem": {
  5948. "get": {
  5949. "security": [
  5950. {
  5951. "ApiKeyAuth": []
  5952. }
  5953. ],
  5954. "produces": [
  5955. "application/json"
  5956. ],
  5957. "tags": [
  5958. "企业风险管理v8"
  5959. ],
  5960. "summary": "可关联项目查询",
  5961. "parameters": [
  5962. {
  5963. "type": "integer",
  5964. "description": "用户ID",
  5965. "name": "userid",
  5966. "in": "query",
  5967. "required": true
  5968. },
  5969. {
  5970. "type": "integer",
  5971. "description": "现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货",
  5972. "name": "spottype",
  5973. "in": "query",
  5974. "required": true
  5975. }
  5976. ],
  5977. "responses": {
  5978. "200": {
  5979. "description": "OK",
  5980. "schema": {
  5981. "type": "array",
  5982. "items": {
  5983. "$ref": "#/definitions/models.Ermcp8EnableHedgeditem"
  5984. }
  5985. }
  5986. },
  5987. "500": {
  5988. "description": "Internal Server Error",
  5989. "schema": {
  5990. "$ref": "#/definitions/app.Response"
  5991. }
  5992. }
  5993. }
  5994. }
  5995. },
  5996. "/Ermcp8/QueryErmcp8HedgeditemReport": {
  5997. "get": {
  5998. "security": [
  5999. {
  6000. "ApiKeyAuth": []
  6001. }
  6002. ],
  6003. "produces": [
  6004. "application/json"
  6005. ],
  6006. "tags": [
  6007. "企业风险管理v8"
  6008. ],
  6009. "summary": "套期项目报表查询",
  6010. "parameters": [
  6011. {
  6012. "type": "integer",
  6013. "description": "用户ID",
  6014. "name": "userid",
  6015. "in": "query",
  6016. "required": true
  6017. },
  6018. {
  6019. "type": "integer",
  6020. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  6021. "name": "cycletype",
  6022. "in": "query"
  6023. },
  6024. {
  6025. "type": "string",
  6026. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  6027. "name": "cycletime",
  6028. "in": "query",
  6029. "required": true
  6030. },
  6031. {
  6032. "type": "integer",
  6033. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  6034. "name": "hedgedtype",
  6035. "in": "query"
  6036. },
  6037. {
  6038. "type": "integer",
  6039. "description": "项目状态 - 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  6040. "name": "hedgeditemstatus",
  6041. "in": "query"
  6042. },
  6043. {
  6044. "type": "string",
  6045. "description": "项目编号,模糊查询",
  6046. "name": "hedgeditemnum",
  6047. "in": "query"
  6048. },
  6049. {
  6050. "type": "integer",
  6051. "description": "现货商品ID",
  6052. "name": "wrstandardid",
  6053. "in": "query"
  6054. }
  6055. ],
  6056. "responses": {
  6057. "200": {
  6058. "description": "OK",
  6059. "schema": {
  6060. "type": "array",
  6061. "items": {
  6062. "$ref": "#/definitions/models.Ermcp8HedgeditemReport"
  6063. }
  6064. }
  6065. },
  6066. "500": {
  6067. "description": "Internal Server Error",
  6068. "schema": {
  6069. "$ref": "#/definitions/app.Response"
  6070. }
  6071. }
  6072. }
  6073. }
  6074. },
  6075. "/Ermcp8/QueryErmcp8RunningHedgeditem": {
  6076. "get": {
  6077. "security": [
  6078. {
  6079. "ApiKeyAuth": []
  6080. }
  6081. ],
  6082. "produces": [
  6083. "application/json"
  6084. ],
  6085. "tags": [
  6086. "企业风险管理v8"
  6087. ],
  6088. "summary": "查询执行中项目查询信息",
  6089. "parameters": [
  6090. {
  6091. "type": "string",
  6092. "description": "用户ID",
  6093. "name": "userid",
  6094. "in": "query",
  6095. "required": true
  6096. }
  6097. ],
  6098. "responses": {
  6099. "200": {
  6100. "description": "OK",
  6101. "schema": {
  6102. "type": "array",
  6103. "items": {
  6104. "$ref": "#/definitions/models.Ermcp8RunningHedgeditem"
  6105. }
  6106. }
  6107. },
  6108. "500": {
  6109. "description": "Internal Server Error",
  6110. "schema": {
  6111. "$ref": "#/definitions/app.Response"
  6112. }
  6113. }
  6114. }
  6115. }
  6116. },
  6117. "/Ermcp8/QueryInternalEnableTradeDetail": {
  6118. "get": {
  6119. "security": [
  6120. {
  6121. "ApiKeyAuth": []
  6122. }
  6123. ],
  6124. "produces": [
  6125. "application/json"
  6126. ],
  6127. "tags": [
  6128. "企业风险管理v8"
  6129. ],
  6130. "summary": "内部成交单可关联项目查询",
  6131. "parameters": [
  6132. {
  6133. "type": "integer",
  6134. "description": "企业ID",
  6135. "name": "areauserid",
  6136. "in": "query",
  6137. "required": true
  6138. },
  6139. {
  6140. "type": "integer",
  6141. "description": "期货合约ID",
  6142. "name": "goodsid",
  6143. "in": "query",
  6144. "required": true
  6145. }
  6146. ],
  6147. "responses": {
  6148. "200": {
  6149. "description": "OK",
  6150. "schema": {
  6151. "type": "array",
  6152. "items": {
  6153. "$ref": "#/definitions/models.InternalEnableTradeDetail"
  6154. }
  6155. }
  6156. },
  6157. "500": {
  6158. "description": "Internal Server Error",
  6159. "schema": {
  6160. "$ref": "#/definitions/app.Response"
  6161. }
  6162. }
  6163. }
  6164. }
  6165. },
  6166. "/Ermcp8/QueryInternalUncorrelatedTradeDetail": {
  6167. "get": {
  6168. "security": [
  6169. {
  6170. "ApiKeyAuth": []
  6171. }
  6172. ],
  6173. "produces": [
  6174. "application/json"
  6175. ],
  6176. "tags": [
  6177. "企业风险管理v8"
  6178. ],
  6179. "summary": "内部未关联成交单查询",
  6180. "parameters": [
  6181. {
  6182. "type": "integer",
  6183. "description": "用户编号",
  6184. "name": "userid",
  6185. "in": "query",
  6186. "required": true
  6187. },
  6188. {
  6189. "type": "string",
  6190. "description": "起始日期(格式yyyymmdd)",
  6191. "name": "begindate",
  6192. "in": "query"
  6193. },
  6194. {
  6195. "type": "string",
  6196. "description": "终止日期(格式yyyymmdd)",
  6197. "name": "enddate",
  6198. "in": "query"
  6199. },
  6200. {
  6201. "type": "string",
  6202. "description": "合约代码",
  6203. "name": "goodscode",
  6204. "in": "query"
  6205. },
  6206. {
  6207. "type": "string",
  6208. "description": "合约名称",
  6209. "name": "goodsname",
  6210. "in": "query"
  6211. },
  6212. {
  6213. "type": "integer",
  6214. "description": "成交单号",
  6215. "name": "tradeid",
  6216. "in": "query"
  6217. },
  6218. {
  6219. "type": "integer",
  6220. "description": "方向 - 0:买 1:卖",
  6221. "name": "buyorsell",
  6222. "in": "query"
  6223. },
  6224. {
  6225. "type": "string",
  6226. "description": "套期主体",
  6227. "name": "accountname",
  6228. "in": "query"
  6229. }
  6230. ],
  6231. "responses": {
  6232. "200": {
  6233. "description": "OK",
  6234. "schema": {
  6235. "type": "array",
  6236. "items": {
  6237. "$ref": "#/definitions/models.InternalUncorrelatedTradeDetail"
  6238. }
  6239. }
  6240. },
  6241. "500": {
  6242. "description": "Internal Server Error",
  6243. "schema": {
  6244. "$ref": "#/definitions/app.Response"
  6245. }
  6246. }
  6247. }
  6248. }
  6249. },
  6250. "/Ermcp8/QueryPatradeLinkDetail": {
  6251. "get": {
  6252. "security": [
  6253. {
  6254. "ApiKeyAuth": []
  6255. }
  6256. ],
  6257. "produces": [
  6258. "application/json"
  6259. ],
  6260. "tags": [
  6261. "企业风险管理v8"
  6262. ],
  6263. "summary": "敞口明细 - 期货变动明细",
  6264. "parameters": [
  6265. {
  6266. "type": "integer",
  6267. "description": "用户ID",
  6268. "name": "userid",
  6269. "in": "query",
  6270. "required": true
  6271. },
  6272. {
  6273. "type": "integer",
  6274. "description": "套保品种ID",
  6275. "name": "middlegoodsid",
  6276. "in": "query",
  6277. "required": true
  6278. }
  6279. ],
  6280. "responses": {
  6281. "200": {
  6282. "description": "OK",
  6283. "schema": {
  6284. "type": "array",
  6285. "items": {
  6286. "$ref": "#/definitions/models.Patradelinkdetail"
  6287. }
  6288. }
  6289. },
  6290. "500": {
  6291. "description": "Internal Server Error",
  6292. "schema": {
  6293. "$ref": "#/definitions/app.Response"
  6294. }
  6295. }
  6296. }
  6297. }
  6298. },
  6299. "/Ermcp8/QueryUnLinkErmcpHedgePlan": {
  6300. "get": {
  6301. "security": [
  6302. {
  6303. "ApiKeyAuth": []
  6304. }
  6305. ],
  6306. "produces": [
  6307. "application/json"
  6308. ],
  6309. "tags": [
  6310. "企业风险管理v8"
  6311. ],
  6312. "summary": "未关联购销计划",
  6313. "parameters": [
  6314. {
  6315. "type": "integer",
  6316. "description": "企业ID",
  6317. "name": "areauserid",
  6318. "in": "query",
  6319. "required": true
  6320. },
  6321. {
  6322. "type": "integer",
  6323. "description": "计划类型 - 1:采购 -1:销售",
  6324. "name": "contracttype",
  6325. "in": "query"
  6326. },
  6327. {
  6328. "type": "string",
  6329. "description": "计划编号,模糊查询",
  6330. "name": "hedgeplanno",
  6331. "in": "query"
  6332. },
  6333. {
  6334. "type": "string",
  6335. "description": "现货商品,模糊查询",
  6336. "name": "wrstandardname",
  6337. "in": "query"
  6338. }
  6339. ],
  6340. "responses": {
  6341. "200": {
  6342. "description": "OK",
  6343. "schema": {
  6344. "type": "array",
  6345. "items": {
  6346. "$ref": "#/definitions/models.Unlinkermcphedgeplan"
  6347. }
  6348. }
  6349. },
  6350. "500": {
  6351. "description": "Internal Server Error",
  6352. "schema": {
  6353. "$ref": "#/definitions/app.Response"
  6354. }
  6355. }
  6356. }
  6357. }
  6358. },
  6359. "/Ermcp8/QueryUnLinkSpotContract": {
  6360. "get": {
  6361. "security": [
  6362. {
  6363. "ApiKeyAuth": []
  6364. }
  6365. ],
  6366. "produces": [
  6367. "application/json"
  6368. ],
  6369. "tags": [
  6370. "企业风险管理v8"
  6371. ],
  6372. "summary": "未关联合同查询",
  6373. "parameters": [
  6374. {
  6375. "type": "integer",
  6376. "description": "用户ID",
  6377. "name": "userid",
  6378. "in": "query",
  6379. "required": true
  6380. },
  6381. {
  6382. "type": "integer",
  6383. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  6384. "name": "pricetype",
  6385. "in": "query"
  6386. },
  6387. {
  6388. "type": "string",
  6389. "description": "合同编号, 模拟查询",
  6390. "name": "contractno",
  6391. "in": "query"
  6392. },
  6393. {
  6394. "type": "string",
  6395. "description": "对手方, 模拟查询",
  6396. "name": "customername",
  6397. "in": "query"
  6398. },
  6399. {
  6400. "type": "integer",
  6401. "description": "项合同类型 - 1:采购 -1:销售",
  6402. "name": "contracttype",
  6403. "in": "query"
  6404. }
  6405. ],
  6406. "responses": {
  6407. "200": {
  6408. "description": "OK",
  6409. "schema": {
  6410. "type": "array",
  6411. "items": {
  6412. "$ref": "#/definitions/models.ErmcpSpotContractModelEx"
  6413. }
  6414. }
  6415. },
  6416. "500": {
  6417. "description": "Internal Server Error",
  6418. "schema": {
  6419. "$ref": "#/definitions/app.Response"
  6420. }
  6421. }
  6422. }
  6423. }
  6424. },
  6425. "/Erms2/QueryArbitrageStrategy": {
  6426. "get": {
  6427. "security": [
  6428. {
  6429. "ApiKeyAuth": []
  6430. }
  6431. ],
  6432. "produces": [
  6433. "application/json"
  6434. ],
  6435. "tags": [
  6436. "风险管理"
  6437. ],
  6438. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  6439. "parameters": [
  6440. {
  6441. "type": "integer",
  6442. "description": "账户ID",
  6443. "name": "userid",
  6444. "in": "query",
  6445. "required": true
  6446. },
  6447. {
  6448. "type": "string",
  6449. "description": "商品组ID(品种ID)",
  6450. "name": "goodsgroupid",
  6451. "in": "query"
  6452. }
  6453. ],
  6454. "responses": {
  6455. "200": {
  6456. "description": "OK",
  6457. "schema": {
  6458. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  6459. }
  6460. },
  6461. "500": {
  6462. "description": "Internal Server Error",
  6463. "schema": {
  6464. "$ref": "#/definitions/app.Response"
  6465. }
  6466. }
  6467. }
  6468. }
  6469. },
  6470. "/Erms2/QueryInnerTradeDetail": {
  6471. "get": {
  6472. "security": [
  6473. {
  6474. "ApiKeyAuth": []
  6475. }
  6476. ],
  6477. "produces": [
  6478. "application/json"
  6479. ],
  6480. "tags": [
  6481. "风险管理"
  6482. ],
  6483. "summary": "查询内部成交单信息",
  6484. "parameters": [
  6485. {
  6486. "type": "integer",
  6487. "description": "资金账户",
  6488. "name": "accountid",
  6489. "in": "query",
  6490. "required": true
  6491. }
  6492. ],
  6493. "responses": {
  6494. "200": {
  6495. "description": "OK",
  6496. "schema": {
  6497. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  6498. }
  6499. },
  6500. "500": {
  6501. "description": "Internal Server Error",
  6502. "schema": {
  6503. "$ref": "#/definitions/app.Response"
  6504. }
  6505. }
  6506. }
  6507. }
  6508. },
  6509. "/Erms2/QuerySpotContract": {
  6510. "get": {
  6511. "security": [
  6512. {
  6513. "ApiKeyAuth": []
  6514. }
  6515. ],
  6516. "produces": [
  6517. "application/json"
  6518. ],
  6519. "tags": [
  6520. "风险管理"
  6521. ],
  6522. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  6523. "parameters": [
  6524. {
  6525. "type": "integer",
  6526. "description": "策略申请ID",
  6527. "name": "asapplyid",
  6528. "in": "query",
  6529. "required": true
  6530. },
  6531. {
  6532. "type": "integer",
  6533. "description": "现货合同ID",
  6534. "name": "spotcontractid",
  6535. "in": "query"
  6536. }
  6537. ],
  6538. "responses": {
  6539. "200": {
  6540. "description": "OK",
  6541. "schema": {
  6542. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  6543. }
  6544. },
  6545. "500": {
  6546. "description": "Internal Server Error",
  6547. "schema": {
  6548. "$ref": "#/definitions/app.Response"
  6549. }
  6550. }
  6551. }
  6552. }
  6553. },
  6554. "/Erms3/AddErms2ASApply": {
  6555. "post": {
  6556. "security": [
  6557. {
  6558. "ApiKeyAuth": []
  6559. }
  6560. ],
  6561. "produces": [
  6562. "application/json"
  6563. ],
  6564. "tags": [
  6565. "风险管理v3"
  6566. ],
  6567. "summary": "新增期现套利业务申请",
  6568. "parameters": [
  6569. {
  6570. "description": "申请参数",
  6571. "name": "jsonBody",
  6572. "in": "body",
  6573. "required": true,
  6574. "schema": {
  6575. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  6576. }
  6577. }
  6578. ],
  6579. "responses": {
  6580. "200": {
  6581. "description": "OK",
  6582. "schema": {
  6583. "$ref": "#/definitions/app.Response"
  6584. }
  6585. },
  6586. "500": {
  6587. "description": "Internal Server Error",
  6588. "schema": {
  6589. "$ref": "#/definitions/app.Response"
  6590. }
  6591. }
  6592. }
  6593. }
  6594. },
  6595. "/Erms3/AddErms2SpotTradeApply": {
  6596. "post": {
  6597. "security": [
  6598. {
  6599. "ApiKeyAuth": []
  6600. }
  6601. ],
  6602. "produces": [
  6603. "application/json"
  6604. ],
  6605. "tags": [
  6606. "风险管理v3"
  6607. ],
  6608. "summary": "新增现货贸易业务申请",
  6609. "parameters": [
  6610. {
  6611. "description": "申请参数",
  6612. "name": "jsonBody",
  6613. "in": "body",
  6614. "required": true,
  6615. "schema": {
  6616. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  6617. }
  6618. }
  6619. ],
  6620. "responses": {
  6621. "200": {
  6622. "description": "OK",
  6623. "schema": {
  6624. "$ref": "#/definitions/app.Response"
  6625. }
  6626. },
  6627. "500": {
  6628. "description": "Internal Server Error",
  6629. "schema": {
  6630. "$ref": "#/definitions/app.Response"
  6631. }
  6632. }
  6633. }
  6634. }
  6635. },
  6636. "/Erms3/AddSpotContractApply": {
  6637. "post": {
  6638. "security": [
  6639. {
  6640. "ApiKeyAuth": []
  6641. }
  6642. ],
  6643. "produces": [
  6644. "application/json"
  6645. ],
  6646. "tags": [
  6647. "风险管理v3"
  6648. ],
  6649. "summary": "新增现货合同申请",
  6650. "parameters": [
  6651. {
  6652. "description": "申请参数",
  6653. "name": "jsonBody",
  6654. "in": "body",
  6655. "required": true,
  6656. "schema": {
  6657. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  6658. }
  6659. }
  6660. ],
  6661. "responses": {
  6662. "200": {
  6663. "description": "OK",
  6664. "schema": {
  6665. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  6666. }
  6667. },
  6668. "500": {
  6669. "description": "Internal Server Error",
  6670. "schema": {
  6671. "$ref": "#/definitions/app.Response"
  6672. }
  6673. }
  6674. }
  6675. }
  6676. },
  6677. "/Erms3/AddUserInfoApply": {
  6678. "post": {
  6679. "security": [
  6680. {
  6681. "ApiKeyAuth": []
  6682. }
  6683. ],
  6684. "produces": [
  6685. "application/json"
  6686. ],
  6687. "tags": [
  6688. "风险管理v3"
  6689. ],
  6690. "summary": "新增客户申请",
  6691. "parameters": [
  6692. {
  6693. "description": "用户信息",
  6694. "name": "jsonBody",
  6695. "in": "body",
  6696. "required": true,
  6697. "schema": {
  6698. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  6699. }
  6700. }
  6701. ],
  6702. "responses": {
  6703. "200": {
  6704. "description": "OK",
  6705. "schema": {
  6706. "$ref": "#/definitions/app.Response"
  6707. }
  6708. },
  6709. "500": {
  6710. "description": "Internal Server Error",
  6711. "schema": {
  6712. "$ref": "#/definitions/app.Response"
  6713. }
  6714. }
  6715. }
  6716. }
  6717. },
  6718. "/Erms3/DeleteUserInfoApply": {
  6719. "get": {
  6720. "security": [
  6721. {
  6722. "ApiKeyAuth": []
  6723. }
  6724. ],
  6725. "description": "只可删除 UserState = 1 (未提交)状态的申请信息",
  6726. "produces": [
  6727. "application/json"
  6728. ],
  6729. "tags": [
  6730. "风险管理v3"
  6731. ],
  6732. "summary": "删除客户申请",
  6733. "parameters": [
  6734. {
  6735. "type": "integer",
  6736. "description": "用户ID",
  6737. "name": "userID",
  6738. "in": "query",
  6739. "required": true
  6740. }
  6741. ],
  6742. "responses": {
  6743. "200": {
  6744. "description": "OK",
  6745. "schema": {
  6746. "$ref": "#/definitions/app.Response"
  6747. }
  6748. },
  6749. "500": {
  6750. "description": "Internal Server Error",
  6751. "schema": {
  6752. "$ref": "#/definitions/app.Response"
  6753. }
  6754. }
  6755. }
  6756. }
  6757. },
  6758. "/Erms3/ModifyUserInfoApply": {
  6759. "post": {
  6760. "security": [
  6761. {
  6762. "ApiKeyAuth": []
  6763. }
  6764. ],
  6765. "description": "保存草稿(撤回)- { \"userid\": int, \"userstate\": 1 } 提交审核 - { \"userid\": int, \"userstate\": 2 }",
  6766. "produces": [
  6767. "application/json"
  6768. ],
  6769. "tags": [
  6770. "风险管理v3"
  6771. ],
  6772. "summary": "修改客户申请",
  6773. "parameters": [
  6774. {
  6775. "description": "用户信息",
  6776. "name": "jsonBody",
  6777. "in": "body",
  6778. "required": true,
  6779. "schema": {
  6780. "$ref": "#/definitions/erms3.ModifyUserInfoApplyReq"
  6781. }
  6782. }
  6783. ],
  6784. "responses": {
  6785. "200": {
  6786. "description": "OK",
  6787. "schema": {
  6788. "$ref": "#/definitions/app.Response"
  6789. }
  6790. },
  6791. "500": {
  6792. "description": "Internal Server Error",
  6793. "schema": {
  6794. "$ref": "#/definitions/app.Response"
  6795. }
  6796. }
  6797. }
  6798. }
  6799. },
  6800. "/Erms3/QueryBusinessInfo": {
  6801. "get": {
  6802. "security": [
  6803. {
  6804. "ApiKeyAuth": []
  6805. }
  6806. ],
  6807. "produces": [
  6808. "application/json"
  6809. ],
  6810. "tags": [
  6811. "风险管理v3"
  6812. ],
  6813. "summary": "查询业务表单数据",
  6814. "parameters": [
  6815. {
  6816. "type": "string",
  6817. "description": "资金账号ID列表,用逗号分隔",
  6818. "name": "accountids",
  6819. "in": "query",
  6820. "required": true
  6821. },
  6822. {
  6823. "type": "integer",
  6824. "description": "状态,0为未结束 1为已结束",
  6825. "name": "status",
  6826. "in": "query",
  6827. "required": true
  6828. }
  6829. ],
  6830. "responses": {
  6831. "200": {
  6832. "description": "OK",
  6833. "schema": {
  6834. "type": "array",
  6835. "items": {
  6836. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  6837. }
  6838. }
  6839. },
  6840. "500": {
  6841. "description": "Internal Server Error",
  6842. "schema": {
  6843. "$ref": "#/definitions/app.Response"
  6844. }
  6845. }
  6846. }
  6847. }
  6848. },
  6849. "/Erms3/QueryPendingAuditContract": {
  6850. "get": {
  6851. "security": [
  6852. {
  6853. "ApiKeyAuth": []
  6854. }
  6855. ],
  6856. "produces": [
  6857. "application/json"
  6858. ],
  6859. "tags": [
  6860. "风险管理v3"
  6861. ],
  6862. "summary": "查询待审核合同",
  6863. "parameters": [
  6864. {
  6865. "type": "string",
  6866. "description": "资金账号ID列表,逗号隔开",
  6867. "name": "accountids",
  6868. "in": "query",
  6869. "required": true
  6870. },
  6871. {
  6872. "type": "integer",
  6873. "description": "合同类型 1-采购 -1-销售",
  6874. "name": "contracttype",
  6875. "in": "query",
  6876. "required": true
  6877. },
  6878. {
  6879. "type": "integer",
  6880. "description": "合同模式 1-普通 2-回购",
  6881. "name": "contractmode",
  6882. "in": "query",
  6883. "required": true
  6884. }
  6885. ],
  6886. "responses": {
  6887. "200": {
  6888. "description": "OK",
  6889. "schema": {
  6890. "type": "array",
  6891. "items": {
  6892. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  6893. }
  6894. }
  6895. },
  6896. "500": {
  6897. "description": "Internal Server Error",
  6898. "schema": {
  6899. "$ref": "#/definitions/app.Response"
  6900. }
  6901. }
  6902. }
  6903. }
  6904. },
  6905. "/Erms3/QueryPendingBusiness": {
  6906. "get": {
  6907. "security": [
  6908. {
  6909. "ApiKeyAuth": []
  6910. }
  6911. ],
  6912. "produces": [
  6913. "application/json"
  6914. ],
  6915. "tags": [
  6916. "风险管理v3"
  6917. ],
  6918. "summary": "查询待审核基差贸易业务",
  6919. "parameters": [
  6920. {
  6921. "type": "string",
  6922. "description": "资金账号ID列表,逗号隔开",
  6923. "name": "accountids",
  6924. "in": "query",
  6925. "required": true
  6926. }
  6927. ],
  6928. "responses": {
  6929. "200": {
  6930. "description": "OK",
  6931. "schema": {
  6932. "type": "array",
  6933. "items": {
  6934. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  6935. }
  6936. }
  6937. },
  6938. "500": {
  6939. "description": "Internal Server Error",
  6940. "schema": {
  6941. "$ref": "#/definitions/app.Response"
  6942. }
  6943. }
  6944. }
  6945. }
  6946. },
  6947. "/Erms3/QuerySpotContractAppleForm": {
  6948. "get": {
  6949. "security": [
  6950. {
  6951. "ApiKeyAuth": []
  6952. }
  6953. ],
  6954. "produces": [
  6955. "application/json"
  6956. ],
  6957. "tags": [
  6958. "风险管理v3"
  6959. ],
  6960. "summary": "查询合同申请表单数据",
  6961. "parameters": [
  6962. {
  6963. "type": "integer",
  6964. "description": "登录账号",
  6965. "name": "loginID",
  6966. "in": "query",
  6967. "required": true
  6968. }
  6969. ],
  6970. "responses": {
  6971. "200": {
  6972. "description": "OK",
  6973. "schema": {
  6974. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  6975. }
  6976. },
  6977. "500": {
  6978. "description": "Internal Server Error",
  6979. "schema": {
  6980. "$ref": "#/definitions/app.Response"
  6981. }
  6982. }
  6983. }
  6984. }
  6985. },
  6986. "/Erms3/QuerySpotContractDetail": {
  6987. "get": {
  6988. "security": [
  6989. {
  6990. "ApiKeyAuth": []
  6991. }
  6992. ],
  6993. "produces": [
  6994. "application/json"
  6995. ],
  6996. "tags": [
  6997. "风险管理v3"
  6998. ],
  6999. "summary": "查询合同详细信息",
  7000. "parameters": [
  7001. {
  7002. "type": "string",
  7003. "description": "资金账号ID列表,用逗号分隔",
  7004. "name": "accountids",
  7005. "in": "query",
  7006. "required": true
  7007. },
  7008. {
  7009. "type": "integer",
  7010. "description": "合同类型,1为采购合同 -1为销售合同",
  7011. "name": "contracttype",
  7012. "in": "query",
  7013. "required": true
  7014. },
  7015. {
  7016. "type": "integer",
  7017. "description": "合同模式,1为普通合同 2为回购销售合同",
  7018. "name": "contractmode",
  7019. "in": "query",
  7020. "required": true
  7021. },
  7022. {
  7023. "type": "integer",
  7024. "description": "状态,0为履约中 1为已完成",
  7025. "name": "status",
  7026. "in": "query",
  7027. "required": true
  7028. }
  7029. ],
  7030. "responses": {
  7031. "200": {
  7032. "description": "OK",
  7033. "schema": {
  7034. "type": "array",
  7035. "items": {
  7036. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  7037. }
  7038. }
  7039. },
  7040. "500": {
  7041. "description": "Internal Server Error",
  7042. "schema": {
  7043. "$ref": "#/definitions/app.Response"
  7044. }
  7045. }
  7046. }
  7047. }
  7048. },
  7049. "/Erms3/QueryUserInfoApplies": {
  7050. "get": {
  7051. "security": [
  7052. {
  7053. "ApiKeyAuth": []
  7054. }
  7055. ],
  7056. "produces": [
  7057. "application/json"
  7058. ],
  7059. "tags": [
  7060. "风险管理v3"
  7061. ],
  7062. "summary": "客户申请信息查询",
  7063. "parameters": [
  7064. {
  7065. "type": "integer",
  7066. "description": "页码",
  7067. "name": "page",
  7068. "in": "query"
  7069. },
  7070. {
  7071. "type": "integer",
  7072. "description": "每页条数",
  7073. "name": "pagesize",
  7074. "in": "query"
  7075. },
  7076. {
  7077. "type": "string",
  7078. "description": "客户名称,支持模糊查询",
  7079. "name": "userName",
  7080. "in": "query"
  7081. }
  7082. ],
  7083. "responses": {
  7084. "200": {
  7085. "description": "OK",
  7086. "schema": {
  7087. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  7088. }
  7089. },
  7090. "500": {
  7091. "description": "Internal Server Error",
  7092. "schema": {
  7093. "$ref": "#/definitions/app.Response"
  7094. }
  7095. }
  7096. }
  7097. }
  7098. },
  7099. "/Erms3/QueryUserInfos": {
  7100. "get": {
  7101. "security": [
  7102. {
  7103. "ApiKeyAuth": []
  7104. }
  7105. ],
  7106. "produces": [
  7107. "application/json"
  7108. ],
  7109. "tags": [
  7110. "风险管理v3"
  7111. ],
  7112. "summary": "客户信息查询",
  7113. "parameters": [
  7114. {
  7115. "type": "integer",
  7116. "description": "页码",
  7117. "name": "page",
  7118. "in": "query"
  7119. },
  7120. {
  7121. "type": "integer",
  7122. "description": "每页条数",
  7123. "name": "pagesize",
  7124. "in": "query"
  7125. },
  7126. {
  7127. "type": "string",
  7128. "description": "客户名称,支持模糊查询",
  7129. "name": "userName",
  7130. "in": "query"
  7131. }
  7132. ],
  7133. "responses": {
  7134. "200": {
  7135. "description": "OK",
  7136. "schema": {
  7137. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  7138. }
  7139. },
  7140. "500": {
  7141. "description": "Internal Server Error",
  7142. "schema": {
  7143. "$ref": "#/definitions/app.Response"
  7144. }
  7145. }
  7146. }
  7147. }
  7148. },
  7149. "/HSBY/GetHsbyMyCount": {
  7150. "get": {
  7151. "security": [
  7152. {
  7153. "ApiKeyAuth": []
  7154. }
  7155. ],
  7156. "description": "说明: 不包括已完成的数量。",
  7157. "produces": [
  7158. "application/json"
  7159. ],
  7160. "tags": [
  7161. "定制【海商报业】"
  7162. ],
  7163. "summary": "获取我的订单与包裹数量",
  7164. "parameters": [
  7165. {
  7166. "type": "string",
  7167. "description": "资金账户列表,格式:1,2,3",
  7168. "name": "accountIDs",
  7169. "in": "query",
  7170. "required": true
  7171. }
  7172. ],
  7173. "responses": {
  7174. "200": {
  7175. "description": "OK",
  7176. "schema": {
  7177. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  7178. }
  7179. },
  7180. "500": {
  7181. "description": "Internal Server Error",
  7182. "schema": {
  7183. "$ref": "#/definitions/app.Response"
  7184. }
  7185. }
  7186. }
  7187. }
  7188. },
  7189. "/HSBY/QueryClientFixedADConfigs": {
  7190. "get": {
  7191. "security": [
  7192. {
  7193. "ApiKeyAuth": []
  7194. }
  7195. ],
  7196. "produces": [
  7197. "application/json"
  7198. ],
  7199. "tags": [
  7200. "定制【海商报业】"
  7201. ],
  7202. "summary": "获取终端固定广告配置",
  7203. "responses": {
  7204. "200": {
  7205. "description": "OK",
  7206. "schema": {
  7207. "$ref": "#/definitions/models.Clientfixedadconfig"
  7208. }
  7209. },
  7210. "500": {
  7211. "description": "Internal Server Error",
  7212. "schema": {
  7213. "$ref": "#/definitions/app.Response"
  7214. }
  7215. }
  7216. }
  7217. }
  7218. },
  7219. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  7220. "get": {
  7221. "security": [
  7222. {
  7223. "ApiKeyAuth": []
  7224. }
  7225. ],
  7226. "produces": [
  7227. "application/json"
  7228. ],
  7229. "tags": [
  7230. "定制【海商报业】"
  7231. ],
  7232. "summary": "查询\"我的订单 - 已完成\"单据信息",
  7233. "parameters": [
  7234. {
  7235. "type": "integer",
  7236. "description": "页码",
  7237. "name": "page",
  7238. "in": "query"
  7239. },
  7240. {
  7241. "type": "integer",
  7242. "description": "每页条数",
  7243. "name": "pagesize",
  7244. "in": "query"
  7245. },
  7246. {
  7247. "type": "string",
  7248. "description": "资金账户列表,格式:1,2,3",
  7249. "name": "accountIDs",
  7250. "in": "query",
  7251. "required": true
  7252. }
  7253. ],
  7254. "responses": {
  7255. "200": {
  7256. "description": "OK",
  7257. "schema": {
  7258. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  7259. }
  7260. },
  7261. "500": {
  7262. "description": "Internal Server Error",
  7263. "schema": {
  7264. "$ref": "#/definitions/app.Response"
  7265. }
  7266. }
  7267. }
  7268. }
  7269. },
  7270. "/HSBY/QueryHsbyGoodsOrderDetails": {
  7271. "get": {
  7272. "security": [
  7273. {
  7274. "ApiKeyAuth": []
  7275. }
  7276. ],
  7277. "description": "说明:查询结果已按委托价格和委托时间排序",
  7278. "produces": [
  7279. "application/json"
  7280. ],
  7281. "tags": [
  7282. "定制【海商报业】"
  7283. ],
  7284. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  7285. "parameters": [
  7286. {
  7287. "type": "integer",
  7288. "description": "商品ID",
  7289. "name": "goodsID",
  7290. "in": "query",
  7291. "required": true
  7292. },
  7293. {
  7294. "type": "string",
  7295. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  7296. "name": "accountIDs",
  7297. "in": "query"
  7298. },
  7299. {
  7300. "type": "integer",
  7301. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  7302. "name": "buyOrSell",
  7303. "in": "query"
  7304. },
  7305. {
  7306. "type": "number",
  7307. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  7308. "name": "price",
  7309. "in": "query"
  7310. },
  7311. {
  7312. "type": "integer",
  7313. "description": "档位,不传则默认为3档",
  7314. "name": "speed",
  7315. "in": "query"
  7316. }
  7317. ],
  7318. "responses": {
  7319. "200": {
  7320. "description": "OK",
  7321. "schema": {
  7322. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  7323. }
  7324. },
  7325. "500": {
  7326. "description": "Internal Server Error",
  7327. "schema": {
  7328. "$ref": "#/definitions/app.Response"
  7329. }
  7330. }
  7331. }
  7332. }
  7333. },
  7334. "/HSBY/QueryHsbyListingGoodsDetail": {
  7335. "get": {
  7336. "security": [
  7337. {
  7338. "ApiKeyAuth": []
  7339. }
  7340. ],
  7341. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  7342. "produces": [
  7343. "application/json"
  7344. ],
  7345. "tags": [
  7346. "定制【海商报业】"
  7347. ],
  7348. "summary": "查询二级市场(挂牌点选)商品信息详情",
  7349. "parameters": [
  7350. {
  7351. "type": "integer",
  7352. "description": "商品ID",
  7353. "name": "goodsID",
  7354. "in": "query",
  7355. "required": true
  7356. },
  7357. {
  7358. "type": "integer",
  7359. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  7360. "name": "accountID",
  7361. "in": "query"
  7362. }
  7363. ],
  7364. "responses": {
  7365. "200": {
  7366. "description": "OK",
  7367. "schema": {
  7368. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  7369. }
  7370. },
  7371. "500": {
  7372. "description": "Internal Server Error",
  7373. "schema": {
  7374. "$ref": "#/definitions/app.Response"
  7375. }
  7376. }
  7377. }
  7378. }
  7379. },
  7380. "/HSBY/QueryHsbyMarketGoodsDetail": {
  7381. "get": {
  7382. "security": [
  7383. {
  7384. "ApiKeyAuth": []
  7385. }
  7386. ],
  7387. "produces": [
  7388. "application/json"
  7389. ],
  7390. "tags": [
  7391. "定制【海商报业】"
  7392. ],
  7393. "summary": "查询三级市场(商城)商品信息详情",
  7394. "parameters": [
  7395. {
  7396. "type": "integer",
  7397. "description": "委托单号",
  7398. "name": "orderID",
  7399. "in": "query",
  7400. "required": true
  7401. },
  7402. {
  7403. "type": "integer",
  7404. "description": "资金账户,主要用于判断商品最大开仓手数;如未登录可不传。",
  7405. "name": "accountID",
  7406. "in": "query"
  7407. }
  7408. ],
  7409. "responses": {
  7410. "200": {
  7411. "description": "OK",
  7412. "schema": {
  7413. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  7414. }
  7415. },
  7416. "500": {
  7417. "description": "Internal Server Error",
  7418. "schema": {
  7419. "$ref": "#/definitions/app.Response"
  7420. }
  7421. }
  7422. }
  7423. }
  7424. },
  7425. "/HSBY/QueryHsbyMarketGoodses": {
  7426. "get": {
  7427. "security": [
  7428. {
  7429. "ApiKeyAuth": []
  7430. }
  7431. ],
  7432. "produces": [
  7433. "application/json"
  7434. ],
  7435. "tags": [
  7436. "定制【海商报业】"
  7437. ],
  7438. "summary": "查询特卖商品列表(三级商城)",
  7439. "parameters": [
  7440. {
  7441. "type": "integer",
  7442. "description": "页码",
  7443. "name": "page",
  7444. "in": "query"
  7445. },
  7446. {
  7447. "type": "integer",
  7448. "description": "每页条数",
  7449. "name": "pagesize",
  7450. "in": "query"
  7451. },
  7452. {
  7453. "type": "string",
  7454. "description": "市场ID列表,格式:1,2,3",
  7455. "name": "marketIDs",
  7456. "in": "query",
  7457. "required": true
  7458. },
  7459. {
  7460. "type": "integer",
  7461. "description": "资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。",
  7462. "name": "accountID",
  7463. "in": "query",
  7464. "required": true
  7465. },
  7466. {
  7467. "type": "integer",
  7468. "description": "类别ID",
  7469. "name": "categoryID",
  7470. "in": "query"
  7471. },
  7472. {
  7473. "type": "string",
  7474. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  7475. "name": "goodsIDs",
  7476. "in": "query"
  7477. },
  7478. {
  7479. "type": "integer",
  7480. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  7481. "name": "couponTypeID",
  7482. "in": "query"
  7483. }
  7484. ],
  7485. "responses": {
  7486. "200": {
  7487. "description": "OK",
  7488. "schema": {
  7489. "$ref": "#/definitions/models.HsbyMarketGoods"
  7490. }
  7491. },
  7492. "500": {
  7493. "description": "Internal Server Error",
  7494. "schema": {
  7495. "$ref": "#/definitions/app.Response"
  7496. }
  7497. }
  7498. }
  7499. }
  7500. },
  7501. "/HSBY/QueryHsbyMarkets": {
  7502. "get": {
  7503. "security": [
  7504. {
  7505. "ApiKeyAuth": []
  7506. }
  7507. ],
  7508. "produces": [
  7509. "application/json"
  7510. ],
  7511. "tags": [
  7512. "定制【海商报业】"
  7513. ],
  7514. "summary": "查询海商报业相关市场信息",
  7515. "responses": {
  7516. "200": {
  7517. "description": "OK",
  7518. "schema": {
  7519. "$ref": "#/definitions/models.HsbyMarketInfo"
  7520. }
  7521. },
  7522. "500": {
  7523. "description": "Internal Server Error",
  7524. "schema": {
  7525. "$ref": "#/definitions/app.Response"
  7526. }
  7527. }
  7528. }
  7529. }
  7530. },
  7531. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  7532. "get": {
  7533. "security": [
  7534. {
  7535. "ApiKeyAuth": []
  7536. }
  7537. ],
  7538. "description": "说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败",
  7539. "produces": [
  7540. "application/json"
  7541. ],
  7542. "tags": [
  7543. "定制【海商报业】"
  7544. ],
  7545. "summary": "查询“我的订单”信息",
  7546. "parameters": [
  7547. {
  7548. "type": "string",
  7549. "description": "资金账户列表,格式:1,2,3",
  7550. "name": "accountIDs",
  7551. "in": "query",
  7552. "required": true
  7553. }
  7554. ],
  7555. "responses": {
  7556. "200": {
  7557. "description": "OK",
  7558. "schema": {
  7559. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  7560. }
  7561. },
  7562. "500": {
  7563. "description": "Internal Server Error",
  7564. "schema": {
  7565. "$ref": "#/definitions/app.Response"
  7566. }
  7567. }
  7568. }
  7569. }
  7570. },
  7571. "/HSBY/QueryHsbyMyGoods": {
  7572. "get": {
  7573. "security": [
  7574. {
  7575. "ApiKeyAuth": []
  7576. }
  7577. ],
  7578. "description": "说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice",
  7579. "produces": [
  7580. "application/json"
  7581. ],
  7582. "tags": [
  7583. "定制【海商报业】"
  7584. ],
  7585. "summary": "查询“我的商品”信息",
  7586. "parameters": [
  7587. {
  7588. "type": "string",
  7589. "description": "资金账户列表,格式:1,2,3",
  7590. "name": "accountIDs",
  7591. "in": "query",
  7592. "required": true
  7593. }
  7594. ],
  7595. "responses": {
  7596. "200": {
  7597. "description": "OK",
  7598. "schema": {
  7599. "$ref": "#/definitions/models.HsbyMyGoods"
  7600. }
  7601. },
  7602. "500": {
  7603. "description": "Internal Server Error",
  7604. "schema": {
  7605. "$ref": "#/definitions/app.Response"
  7606. }
  7607. }
  7608. }
  7609. }
  7610. },
  7611. "/HSBY/QueryHsbyMyPackages": {
  7612. "get": {
  7613. "security": [
  7614. {
  7615. "ApiKeyAuth": []
  7616. }
  7617. ],
  7618. "produces": [
  7619. "application/json"
  7620. ],
  7621. "tags": [
  7622. "定制【海商报业】"
  7623. ],
  7624. "summary": "查询我的包裹信息",
  7625. "parameters": [
  7626. {
  7627. "type": "string",
  7628. "description": "资金账户列表,格式:1,2,3",
  7629. "name": "accountIDs",
  7630. "in": "query",
  7631. "required": true
  7632. },
  7633. {
  7634. "type": "integer",
  7635. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  7636. "name": "takeOrderStatus",
  7637. "in": "query"
  7638. }
  7639. ],
  7640. "responses": {
  7641. "200": {
  7642. "description": "OK",
  7643. "schema": {
  7644. "$ref": "#/definitions/models.HsbyMyPackage"
  7645. }
  7646. },
  7647. "500": {
  7648. "description": "Internal Server Error",
  7649. "schema": {
  7650. "$ref": "#/definitions/app.Response"
  7651. }
  7652. }
  7653. }
  7654. }
  7655. },
  7656. "/HSBY/QueryHsbyPreGoodsDetail": {
  7657. "get": {
  7658. "security": [
  7659. {
  7660. "ApiKeyAuth": []
  7661. }
  7662. ],
  7663. "produces": [
  7664. "application/json"
  7665. ],
  7666. "tags": [
  7667. "定制【海商报业】"
  7668. ],
  7669. "summary": "查询一级市场(预售)商品信息详情",
  7670. "parameters": [
  7671. {
  7672. "type": "integer",
  7673. "description": "商品ID",
  7674. "name": "goodsID",
  7675. "in": "query",
  7676. "required": true
  7677. },
  7678. {
  7679. "type": "integer",
  7680. "description": "资金账户,主要用于获取预售商品购买上限",
  7681. "name": "accountID",
  7682. "in": "query"
  7683. }
  7684. ],
  7685. "responses": {
  7686. "200": {
  7687. "description": "OK",
  7688. "schema": {
  7689. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  7690. }
  7691. },
  7692. "500": {
  7693. "description": "Internal Server Error",
  7694. "schema": {
  7695. "$ref": "#/definitions/app.Response"
  7696. }
  7697. }
  7698. }
  7699. }
  7700. },
  7701. "/HSBY/QueryHsbyPreGoodses": {
  7702. "get": {
  7703. "security": [
  7704. {
  7705. "ApiKeyAuth": []
  7706. }
  7707. ],
  7708. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  7709. "produces": [
  7710. "application/json"
  7711. ],
  7712. "tags": [
  7713. "定制【海商报业】"
  7714. ],
  7715. "summary": "查询新品上市商品列表(一级市场预售)",
  7716. "parameters": [
  7717. {
  7718. "type": "integer",
  7719. "description": "页码",
  7720. "name": "page",
  7721. "in": "query"
  7722. },
  7723. {
  7724. "type": "integer",
  7725. "description": "每页条数",
  7726. "name": "pagesize",
  7727. "in": "query"
  7728. },
  7729. {
  7730. "type": "string",
  7731. "description": "市场ID列表,格式:1,2,3",
  7732. "name": "marketIDs",
  7733. "in": "query",
  7734. "required": true
  7735. },
  7736. {
  7737. "type": "integer",
  7738. "description": "目的地(省)ID",
  7739. "name": "descProvinceID",
  7740. "in": "query"
  7741. },
  7742. {
  7743. "type": "integer",
  7744. "description": "目的地(市)ID",
  7745. "name": "descCityID",
  7746. "in": "query"
  7747. }
  7748. ],
  7749. "responses": {
  7750. "200": {
  7751. "description": "OK",
  7752. "schema": {
  7753. "$ref": "#/definitions/models.HsbyPreGoods"
  7754. }
  7755. },
  7756. "500": {
  7757. "description": "Internal Server Error",
  7758. "schema": {
  7759. "$ref": "#/definitions/app.Response"
  7760. }
  7761. }
  7762. }
  7763. }
  7764. },
  7765. "/HSBY/QueryHsbySellMyDetails": {
  7766. "get": {
  7767. "security": [
  7768. {
  7769. "ApiKeyAuth": []
  7770. }
  7771. ],
  7772. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  7773. "produces": [
  7774. "application/json"
  7775. ],
  7776. "tags": [
  7777. "定制【海商报业】"
  7778. ],
  7779. "summary": "查询\"我的闲置\"单据信息",
  7780. "parameters": [
  7781. {
  7782. "type": "integer",
  7783. "description": "页码",
  7784. "name": "page",
  7785. "in": "query"
  7786. },
  7787. {
  7788. "type": "integer",
  7789. "description": "每页条数",
  7790. "name": "pagesize",
  7791. "in": "query"
  7792. },
  7793. {
  7794. "type": "string",
  7795. "description": "资金账户列表,格式:1,2,3",
  7796. "name": "accountIDs",
  7797. "in": "query",
  7798. "required": true
  7799. },
  7800. {
  7801. "type": "integer",
  7802. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  7803. "name": "orderType",
  7804. "in": "query"
  7805. }
  7806. ],
  7807. "responses": {
  7808. "200": {
  7809. "description": "OK",
  7810. "schema": {
  7811. "$ref": "#/definitions/models.HsbySellMyDetail"
  7812. }
  7813. },
  7814. "500": {
  7815. "description": "Internal Server Error",
  7816. "schema": {
  7817. "$ref": "#/definitions/app.Response"
  7818. }
  7819. }
  7820. }
  7821. }
  7822. },
  7823. "/HSBY/QueryHsbyTopGoodses": {
  7824. "get": {
  7825. "security": [
  7826. {
  7827. "ApiKeyAuth": []
  7828. }
  7829. ],
  7830. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  7831. "produces": [
  7832. "application/json"
  7833. ],
  7834. "tags": [
  7835. "定制【海商报业】"
  7836. ],
  7837. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  7838. "parameters": [
  7839. {
  7840. "type": "integer",
  7841. "description": "页码",
  7842. "name": "page",
  7843. "in": "query"
  7844. },
  7845. {
  7846. "type": "integer",
  7847. "description": "每页条数",
  7848. "name": "pagesize",
  7849. "in": "query"
  7850. },
  7851. {
  7852. "type": "string",
  7853. "description": "市场ID列表,格式:1,2,3",
  7854. "name": "marketIDs",
  7855. "in": "query",
  7856. "required": true
  7857. },
  7858. {
  7859. "type": "integer",
  7860. "description": "目的地(省)ID",
  7861. "name": "descProvinceID",
  7862. "in": "query"
  7863. },
  7864. {
  7865. "type": "integer",
  7866. "description": "目的地(市)ID",
  7867. "name": "descCityID",
  7868. "in": "query"
  7869. }
  7870. ],
  7871. "responses": {
  7872. "200": {
  7873. "description": "OK",
  7874. "schema": {
  7875. "$ref": "#/definitions/models.HsbyTopGoods"
  7876. }
  7877. },
  7878. "500": {
  7879. "description": "Internal Server Error",
  7880. "schema": {
  7881. "$ref": "#/definitions/app.Response"
  7882. }
  7883. }
  7884. }
  7885. }
  7886. },
  7887. "/HSBY/QueryHsbyVisitorMarketGoodsDetail": {
  7888. "get": {
  7889. "security": [
  7890. {
  7891. "ApiKeyAuth": []
  7892. }
  7893. ],
  7894. "description": "说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。",
  7895. "produces": [
  7896. "application/json"
  7897. ],
  7898. "tags": [
  7899. "定制【海商报业】"
  7900. ],
  7901. "summary": "查询游客三级市场(商城)商品信息详情",
  7902. "parameters": [
  7903. {
  7904. "type": "integer",
  7905. "description": "商品ID",
  7906. "name": "goodsID",
  7907. "in": "query",
  7908. "required": true
  7909. }
  7910. ],
  7911. "responses": {
  7912. "200": {
  7913. "description": "OK",
  7914. "schema": {
  7915. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  7916. }
  7917. },
  7918. "500": {
  7919. "description": "Internal Server Error",
  7920. "schema": {
  7921. "$ref": "#/definitions/app.Response"
  7922. }
  7923. }
  7924. }
  7925. }
  7926. },
  7927. "/HSBY/QueryHsbyVisitorMarketGoodses": {
  7928. "get": {
  7929. "security": [
  7930. {
  7931. "ApiKeyAuth": []
  7932. }
  7933. ],
  7934. "description": "说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。",
  7935. "produces": [
  7936. "application/json"
  7937. ],
  7938. "tags": [
  7939. "定制【海商报业】"
  7940. ],
  7941. "summary": "查询游客特卖商品列表(三级商城)",
  7942. "parameters": [
  7943. {
  7944. "type": "integer",
  7945. "description": "页码",
  7946. "name": "page",
  7947. "in": "query"
  7948. },
  7949. {
  7950. "type": "integer",
  7951. "description": "每页条数",
  7952. "name": "pagesize",
  7953. "in": "query"
  7954. },
  7955. {
  7956. "type": "string",
  7957. "description": "市场ID列表,格式:1,2,3",
  7958. "name": "marketIDs",
  7959. "in": "query",
  7960. "required": true
  7961. },
  7962. {
  7963. "type": "integer",
  7964. "description": "类别ID",
  7965. "name": "categoryID",
  7966. "in": "query"
  7967. },
  7968. {
  7969. "type": "string",
  7970. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  7971. "name": "goodsIDs",
  7972. "in": "query"
  7973. }
  7974. ],
  7975. "responses": {
  7976. "200": {
  7977. "description": "OK",
  7978. "schema": {
  7979. "$ref": "#/definitions/models.HsbyMarketGoods"
  7980. }
  7981. },
  7982. "500": {
  7983. "description": "Internal Server Error",
  7984. "schema": {
  7985. "$ref": "#/definitions/app.Response"
  7986. }
  7987. }
  7988. }
  7989. }
  7990. },
  7991. "/HSBY/QueryMyCollectionOrders": {
  7992. "get": {
  7993. "security": [
  7994. {
  7995. "ApiKeyAuth": []
  7996. }
  7997. ],
  7998. "produces": [
  7999. "application/json"
  8000. ],
  8001. "tags": [
  8002. "定制【海商报业】"
  8003. ],
  8004. "summary": "我的闲置中收款信息查询",
  8005. "parameters": [
  8006. {
  8007. "type": "integer",
  8008. "description": "页码",
  8009. "name": "page",
  8010. "in": "query"
  8011. },
  8012. {
  8013. "type": "integer",
  8014. "description": "每页条数",
  8015. "name": "pagesize",
  8016. "in": "query"
  8017. },
  8018. {
  8019. "type": "string",
  8020. "description": "资金账户,格式:1,2,3",
  8021. "name": "accountIDs",
  8022. "in": "query",
  8023. "required": true
  8024. }
  8025. ],
  8026. "responses": {
  8027. "200": {
  8028. "description": "OK",
  8029. "schema": {
  8030. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  8031. }
  8032. },
  8033. "500": {
  8034. "description": "Internal Server Error",
  8035. "schema": {
  8036. "$ref": "#/definitions/app.Response"
  8037. }
  8038. }
  8039. }
  8040. }
  8041. },
  8042. "/HSBY/QueryMyCouponHolds": {
  8043. "get": {
  8044. "security": [
  8045. {
  8046. "ApiKeyAuth": []
  8047. }
  8048. ],
  8049. "description": "说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。",
  8050. "produces": [
  8051. "application/json"
  8052. ],
  8053. "tags": [
  8054. "定制【海商报业】"
  8055. ],
  8056. "summary": "我的优惠卷持仓查询",
  8057. "parameters": [
  8058. {
  8059. "type": "string",
  8060. "description": "资金账户列表,格式:1,2,3",
  8061. "name": "accountIDs",
  8062. "in": "query",
  8063. "required": true
  8064. },
  8065. {
  8066. "type": "string",
  8067. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  8068. "name": "holdStatus",
  8069. "in": "query"
  8070. }
  8071. ],
  8072. "responses": {
  8073. "200": {
  8074. "description": "OK",
  8075. "schema": {
  8076. "$ref": "#/definitions/models.MyCouponHold"
  8077. }
  8078. },
  8079. "500": {
  8080. "description": "Internal Server Error",
  8081. "schema": {
  8082. "$ref": "#/definitions/app.Response"
  8083. }
  8084. }
  8085. }
  8086. }
  8087. },
  8088. "/HSBY/QueryMyCoupons": {
  8089. "get": {
  8090. "security": [
  8091. {
  8092. "ApiKeyAuth": []
  8093. }
  8094. ],
  8095. "produces": [
  8096. "application/json"
  8097. ],
  8098. "tags": [
  8099. "定制【海商报业】"
  8100. ],
  8101. "summary": "我的优惠卷查询",
  8102. "parameters": [
  8103. {
  8104. "type": "string",
  8105. "description": "资金账户列表,格式:1,2,3",
  8106. "name": "accountIDs",
  8107. "in": "query",
  8108. "required": true
  8109. },
  8110. {
  8111. "type": "integer",
  8112. "description": "商品ID, 一般与sellUserID配套传入",
  8113. "name": "goodsID",
  8114. "in": "query"
  8115. },
  8116. {
  8117. "type": "integer",
  8118. "description": "卖方UserID",
  8119. "name": "sellUserID",
  8120. "in": "query"
  8121. }
  8122. ],
  8123. "responses": {
  8124. "200": {
  8125. "description": "OK",
  8126. "schema": {
  8127. "$ref": "#/definitions/models.MyCoupon"
  8128. }
  8129. },
  8130. "500": {
  8131. "description": "Internal Server Error",
  8132. "schema": {
  8133. "$ref": "#/definitions/app.Response"
  8134. }
  8135. }
  8136. }
  8137. }
  8138. },
  8139. "/HSBY/QueryMyPayOrders": {
  8140. "get": {
  8141. "security": [
  8142. {
  8143. "ApiKeyAuth": []
  8144. }
  8145. ],
  8146. "produces": [
  8147. "application/json"
  8148. ],
  8149. "tags": [
  8150. "定制【海商报业】"
  8151. ],
  8152. "summary": "获取我的订单中待付款信息",
  8153. "parameters": [
  8154. {
  8155. "type": "integer",
  8156. "description": "页码",
  8157. "name": "page",
  8158. "in": "query"
  8159. },
  8160. {
  8161. "type": "integer",
  8162. "description": "每页条数",
  8163. "name": "pagesize",
  8164. "in": "query"
  8165. },
  8166. {
  8167. "type": "string",
  8168. "description": "资金账户列表,格式:1,2,3",
  8169. "name": "accountIDs",
  8170. "in": "query",
  8171. "required": true
  8172. },
  8173. {
  8174. "type": "integer",
  8175. "description": "买方委托单号",
  8176. "name": "buyOrderID",
  8177. "in": "query"
  8178. },
  8179. {
  8180. "type": "integer",
  8181. "description": "卖方委托单号",
  8182. "name": "sellOrderID",
  8183. "in": "query"
  8184. }
  8185. ],
  8186. "responses": {
  8187. "200": {
  8188. "description": "OK",
  8189. "schema": {
  8190. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  8191. }
  8192. },
  8193. "500": {
  8194. "description": "Internal Server Error",
  8195. "schema": {
  8196. "$ref": "#/definitions/app.Response"
  8197. }
  8198. }
  8199. }
  8200. }
  8201. },
  8202. "/HSBY/QueryMyUsedCoupon": {
  8203. "get": {
  8204. "security": [
  8205. {
  8206. "ApiKeyAuth": []
  8207. }
  8208. ],
  8209. "produces": [
  8210. "application/json"
  8211. ],
  8212. "tags": [
  8213. "定制【海商报业】"
  8214. ],
  8215. "summary": "已使用优惠卷查询",
  8216. "parameters": [
  8217. {
  8218. "type": "string",
  8219. "description": "资金账户列表,格式:1,2,3",
  8220. "name": "accountIDs",
  8221. "in": "query",
  8222. "required": true
  8223. }
  8224. ],
  8225. "responses": {
  8226. "200": {
  8227. "description": "OK",
  8228. "schema": {
  8229. "$ref": "#/definitions/models.MyUsedCoupon"
  8230. }
  8231. },
  8232. "500": {
  8233. "description": "Internal Server Error",
  8234. "schema": {
  8235. "$ref": "#/definitions/app.Response"
  8236. }
  8237. }
  8238. }
  8239. }
  8240. },
  8241. "/HSBY/QueryProvincesAndCities": {
  8242. "get": {
  8243. "security": [
  8244. {
  8245. "ApiKeyAuth": []
  8246. }
  8247. ],
  8248. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  8249. "produces": [
  8250. "application/json"
  8251. ],
  8252. "tags": [
  8253. "定制【海商报业】"
  8254. ],
  8255. "summary": "查询省市信息(不包括区)",
  8256. "parameters": [
  8257. {
  8258. "type": "integer",
  8259. "description": "省ID",
  8260. "name": "provinceID",
  8261. "in": "query"
  8262. }
  8263. ],
  8264. "responses": {
  8265. "200": {
  8266. "description": "OK",
  8267. "schema": {
  8268. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  8269. }
  8270. },
  8271. "500": {
  8272. "description": "Internal Server Error",
  8273. "schema": {
  8274. "$ref": "#/definitions/app.Response"
  8275. }
  8276. }
  8277. }
  8278. }
  8279. },
  8280. "/HSBY/SetHsbyMyPackagesStatus": {
  8281. "post": {
  8282. "security": [
  8283. {
  8284. "ApiKeyAuth": []
  8285. }
  8286. ],
  8287. "produces": [
  8288. "application/json"
  8289. ],
  8290. "tags": [
  8291. "定制【海商报业】"
  8292. ],
  8293. "summary": "设置我的包裹已收货状态",
  8294. "parameters": [
  8295. {
  8296. "type": "string",
  8297. "description": "提货单号",
  8298. "name": "takeOrderID",
  8299. "in": "query",
  8300. "required": true
  8301. },
  8302. {
  8303. "type": "integer",
  8304. "description": "资金账号",
  8305. "name": "accountID",
  8306. "in": "query",
  8307. "required": true
  8308. }
  8309. ],
  8310. "responses": {
  8311. "200": {
  8312. "description": "OK",
  8313. "schema": {
  8314. "$ref": "#/definitions/app.Response"
  8315. }
  8316. },
  8317. "500": {
  8318. "description": "Internal Server Error",
  8319. "schema": {
  8320. "$ref": "#/definitions/app.Response"
  8321. }
  8322. }
  8323. }
  8324. }
  8325. },
  8326. "/Market/GetAllExExchanges": {
  8327. "get": {
  8328. "security": [
  8329. {
  8330. "ApiKeyAuth": []
  8331. }
  8332. ],
  8333. "produces": [
  8334. "application/json"
  8335. ],
  8336. "tags": [
  8337. "通用市场"
  8338. ],
  8339. "summary": "获取所有外部交易所信息",
  8340. "responses": {
  8341. "200": {
  8342. "description": "OK",
  8343. "schema": {
  8344. "$ref": "#/definitions/models.Goods"
  8345. }
  8346. },
  8347. "500": {
  8348. "description": "Internal Server Error",
  8349. "schema": {
  8350. "$ref": "#/definitions/app.Response"
  8351. }
  8352. }
  8353. }
  8354. }
  8355. },
  8356. "/Market/QueryGoodsesByLoginID": {
  8357. "get": {
  8358. "security": [
  8359. {
  8360. "ApiKeyAuth": []
  8361. }
  8362. ],
  8363. "produces": [
  8364. "application/json"
  8365. ],
  8366. "tags": [
  8367. "通用市场"
  8368. ],
  8369. "summary": "获取登录账号有权限的商品信息",
  8370. "parameters": [
  8371. {
  8372. "type": "integer",
  8373. "description": "登录账号",
  8374. "name": "loginID",
  8375. "in": "query",
  8376. "required": true
  8377. },
  8378. {
  8379. "type": "string",
  8380. "description": "市场ID列表,格式:1,2,3",
  8381. "name": "marketIDs",
  8382. "in": "query"
  8383. }
  8384. ],
  8385. "responses": {
  8386. "200": {
  8387. "description": "OK",
  8388. "schema": {
  8389. "$ref": "#/definitions/models.Goods"
  8390. }
  8391. },
  8392. "500": {
  8393. "description": "Internal Server Error",
  8394. "schema": {
  8395. "$ref": "#/definitions/app.Response"
  8396. }
  8397. }
  8398. }
  8399. }
  8400. },
  8401. "/Market/QueryMarketRun": {
  8402. "get": {
  8403. "security": [
  8404. {
  8405. "ApiKeyAuth": []
  8406. }
  8407. ],
  8408. "produces": [
  8409. "application/json"
  8410. ],
  8411. "tags": [
  8412. "通用市场"
  8413. ],
  8414. "summary": "查询市场运行信息",
  8415. "parameters": [
  8416. {
  8417. "type": "integer",
  8418. "description": "市场ID,不传返回所有",
  8419. "name": "marketID",
  8420. "in": "query"
  8421. }
  8422. ],
  8423. "responses": {
  8424. "200": {
  8425. "description": "OK",
  8426. "schema": {
  8427. "$ref": "#/definitions/models.Marketrun"
  8428. }
  8429. },
  8430. "500": {
  8431. "description": "Internal Server Error",
  8432. "schema": {
  8433. "$ref": "#/definitions/app.Response"
  8434. }
  8435. }
  8436. }
  8437. }
  8438. },
  8439. "/Market/QueryMarketsByLoginID": {
  8440. "get": {
  8441. "security": [
  8442. {
  8443. "ApiKeyAuth": []
  8444. }
  8445. ],
  8446. "produces": [
  8447. "application/json"
  8448. ],
  8449. "tags": [
  8450. "通用市场"
  8451. ],
  8452. "summary": "获取登录账号有权限的市场信息",
  8453. "parameters": [
  8454. {
  8455. "type": "integer",
  8456. "description": "登录账号",
  8457. "name": "loginID",
  8458. "in": "query",
  8459. "required": true
  8460. }
  8461. ],
  8462. "responses": {
  8463. "200": {
  8464. "description": "OK",
  8465. "schema": {
  8466. "$ref": "#/definitions/models.Market"
  8467. }
  8468. },
  8469. "500": {
  8470. "description": "Internal Server Error",
  8471. "schema": {
  8472. "$ref": "#/definitions/app.Response"
  8473. }
  8474. }
  8475. }
  8476. }
  8477. },
  8478. "/Order/QueryHisTradeDetail": {
  8479. "get": {
  8480. "security": [
  8481. {
  8482. "ApiKeyAuth": []
  8483. }
  8484. ],
  8485. "produces": [
  8486. "application/json"
  8487. ],
  8488. "tags": [
  8489. "通用单据"
  8490. ],
  8491. "summary": "历史成交单查询(合约市场)",
  8492. "parameters": [
  8493. {
  8494. "type": "string",
  8495. "description": "资金账户 - 格式:1,2,3",
  8496. "name": "accountID",
  8497. "in": "query",
  8498. "required": true
  8499. },
  8500. {
  8501. "type": "integer",
  8502. "description": "成交单号",
  8503. "name": "tradeID",
  8504. "in": "query"
  8505. },
  8506. {
  8507. "type": "integer",
  8508. "description": "委托单号",
  8509. "name": "orderID",
  8510. "in": "query"
  8511. },
  8512. {
  8513. "type": "integer",
  8514. "description": "商品ID",
  8515. "name": "goodsID",
  8516. "in": "query"
  8517. },
  8518. {
  8519. "type": "string",
  8520. "description": "交易模式 - 格式:1,2,3",
  8521. "name": "tradeMode",
  8522. "in": "query"
  8523. },
  8524. {
  8525. "type": "integer",
  8526. "description": "委托单据类型",
  8527. "name": "buildType",
  8528. "in": "query"
  8529. },
  8530. {
  8531. "type": "string",
  8532. "description": "成交类别 - 格式:1,2,3",
  8533. "name": "tradeType",
  8534. "in": "query"
  8535. },
  8536. {
  8537. "type": "string",
  8538. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  8539. "name": "startDate",
  8540. "in": "query"
  8541. },
  8542. {
  8543. "type": "string",
  8544. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  8545. "name": "endDate",
  8546. "in": "query"
  8547. }
  8548. ],
  8549. "responses": {
  8550. "200": {
  8551. "description": "OK",
  8552. "schema": {
  8553. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  8554. }
  8555. },
  8556. "500": {
  8557. "description": "Internal Server Error",
  8558. "schema": {
  8559. "$ref": "#/definitions/app.Response"
  8560. }
  8561. }
  8562. }
  8563. }
  8564. },
  8565. "/Order/QueryHisTradeOrderDetail": {
  8566. "get": {
  8567. "security": [
  8568. {
  8569. "ApiKeyAuth": []
  8570. }
  8571. ],
  8572. "produces": [
  8573. "application/json"
  8574. ],
  8575. "tags": [
  8576. "通用单据"
  8577. ],
  8578. "summary": "历史委托单查询请求(合约市场)",
  8579. "parameters": [
  8580. {
  8581. "type": "string",
  8582. "description": "资金账户 - 格式:1,2,3",
  8583. "name": "accountID",
  8584. "in": "query",
  8585. "required": true
  8586. },
  8587. {
  8588. "type": "string",
  8589. "description": "交易模式 - 格式:1,2,3",
  8590. "name": "tradeMode",
  8591. "in": "query"
  8592. },
  8593. {
  8594. "type": "string",
  8595. "description": "委托状态 - 格式:1,2,3",
  8596. "name": "orderStatus",
  8597. "in": "query"
  8598. },
  8599. {
  8600. "type": "integer",
  8601. "description": "委托单号",
  8602. "name": "orderID",
  8603. "in": "query"
  8604. },
  8605. {
  8606. "type": "string",
  8607. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  8608. "name": "startDate",
  8609. "in": "query"
  8610. },
  8611. {
  8612. "type": "string",
  8613. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  8614. "name": "endDate",
  8615. "in": "query"
  8616. }
  8617. ],
  8618. "responses": {
  8619. "200": {
  8620. "description": "OK",
  8621. "schema": {
  8622. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  8623. }
  8624. },
  8625. "500": {
  8626. "description": "Internal Server Error",
  8627. "schema": {
  8628. "$ref": "#/definitions/app.Response"
  8629. }
  8630. }
  8631. }
  8632. }
  8633. },
  8634. "/Order/QueryTradeDetail": {
  8635. "get": {
  8636. "security": [
  8637. {
  8638. "ApiKeyAuth": []
  8639. }
  8640. ],
  8641. "produces": [
  8642. "application/json"
  8643. ],
  8644. "tags": [
  8645. "通用单据"
  8646. ],
  8647. "summary": "成交单查询(合约市场)",
  8648. "parameters": [
  8649. {
  8650. "type": "string",
  8651. "description": "资金账户 - 格式:1,2,3",
  8652. "name": "accountID",
  8653. "in": "query",
  8654. "required": true
  8655. },
  8656. {
  8657. "type": "integer",
  8658. "description": "成交单号",
  8659. "name": "tradeID",
  8660. "in": "query"
  8661. },
  8662. {
  8663. "type": "integer",
  8664. "description": "委托单号",
  8665. "name": "orderID",
  8666. "in": "query"
  8667. },
  8668. {
  8669. "type": "string",
  8670. "description": "交易模式 - 格式:1,2,3",
  8671. "name": "tradeMode",
  8672. "in": "query"
  8673. },
  8674. {
  8675. "type": "integer",
  8676. "description": "委托单据类型",
  8677. "name": "buildType",
  8678. "in": "query"
  8679. },
  8680. {
  8681. "type": "string",
  8682. "description": "成交类别 - 格式:1,2,3",
  8683. "name": "tradeType",
  8684. "in": "query"
  8685. },
  8686. {
  8687. "type": "integer",
  8688. "description": "商品ID",
  8689. "name": "goodsID",
  8690. "in": "query"
  8691. }
  8692. ],
  8693. "responses": {
  8694. "200": {
  8695. "description": "OK",
  8696. "schema": {
  8697. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  8698. }
  8699. },
  8700. "500": {
  8701. "description": "Internal Server Error",
  8702. "schema": {
  8703. "$ref": "#/definitions/app.Response"
  8704. }
  8705. }
  8706. }
  8707. }
  8708. },
  8709. "/Order/QueryTradeHolderDetail": {
  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. },
  8730. {
  8731. "type": "string",
  8732. "description": "资金账号, 格式 1,2,3",
  8733. "name": "accids",
  8734. "in": "query"
  8735. },
  8736. {
  8737. "type": "string",
  8738. "description": "交易模式, 格式 1,2,3",
  8739. "name": "trademodes",
  8740. "in": "query"
  8741. },
  8742. {
  8743. "type": "string",
  8744. "description": "市场id, 格式 1,2,3",
  8745. "name": "marketids",
  8746. "in": "query"
  8747. },
  8748. {
  8749. "type": "integer",
  8750. "description": "商品id",
  8751. "name": "goodsid",
  8752. "in": "query"
  8753. },
  8754. {
  8755. "type": "integer",
  8756. "description": "买卖方向 0-买 1-卖",
  8757. "name": "buyorsell",
  8758. "in": "query"
  8759. }
  8760. ],
  8761. "responses": {
  8762. "200": {
  8763. "description": "OK",
  8764. "schema": {
  8765. "type": "array",
  8766. "items": {
  8767. "$ref": "#/definitions/models.TradeHolderDetail"
  8768. }
  8769. }
  8770. },
  8771. "500": {
  8772. "description": "Internal Server Error",
  8773. "schema": {
  8774. "$ref": "#/definitions/app.Response"
  8775. }
  8776. }
  8777. }
  8778. }
  8779. },
  8780. "/Order/QueryTradeOrderDetail": {
  8781. "get": {
  8782. "security": [
  8783. {
  8784. "ApiKeyAuth": []
  8785. }
  8786. ],
  8787. "produces": [
  8788. "application/json"
  8789. ],
  8790. "tags": [
  8791. "通用单据"
  8792. ],
  8793. "summary": "委托单查询请求(合约市场)",
  8794. "parameters": [
  8795. {
  8796. "type": "string",
  8797. "description": "资金账户 - 格式:1,2,3",
  8798. "name": "accountID",
  8799. "in": "query",
  8800. "required": true
  8801. },
  8802. {
  8803. "type": "string",
  8804. "description": "交易模式 - 格式:1,2,3",
  8805. "name": "tradeMode",
  8806. "in": "query"
  8807. },
  8808. {
  8809. "type": "string",
  8810. "description": "委托状态 - 格式:1,2,3",
  8811. "name": "orderStatus",
  8812. "in": "query"
  8813. },
  8814. {
  8815. "type": "integer",
  8816. "description": "委托单号",
  8817. "name": "orderID",
  8818. "in": "query"
  8819. }
  8820. ],
  8821. "responses": {
  8822. "200": {
  8823. "description": "OK",
  8824. "schema": {
  8825. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  8826. }
  8827. },
  8828. "500": {
  8829. "description": "Internal Server Error",
  8830. "schema": {
  8831. "$ref": "#/definitions/app.Response"
  8832. }
  8833. }
  8834. }
  8835. }
  8836. },
  8837. "/Order/QueryTradePosition": {
  8838. "get": {
  8839. "security": [
  8840. {
  8841. "ApiKeyAuth": []
  8842. }
  8843. ],
  8844. "produces": [
  8845. "application/json"
  8846. ],
  8847. "tags": [
  8848. "通用单据"
  8849. ],
  8850. "summary": "持仓汇总查询(合约市场)",
  8851. "parameters": [
  8852. {
  8853. "type": "string",
  8854. "description": "资金账户 - 格式:1,2,3",
  8855. "name": "accountID",
  8856. "in": "query",
  8857. "required": true
  8858. },
  8859. {
  8860. "type": "string",
  8861. "description": "交易模式 - 格式:1,2,3",
  8862. "name": "tradeMode",
  8863. "in": "query"
  8864. }
  8865. ],
  8866. "responses": {
  8867. "200": {
  8868. "description": "OK",
  8869. "schema": {
  8870. "$ref": "#/definitions/order.QueryTradePositionRsp"
  8871. }
  8872. },
  8873. "500": {
  8874. "description": "Internal Server Error",
  8875. "schema": {
  8876. "$ref": "#/definitions/app.Response"
  8877. }
  8878. }
  8879. }
  8880. }
  8881. },
  8882. "/Qhj/QueryAccountInOutApply": {
  8883. "get": {
  8884. "security": [
  8885. {
  8886. "ApiKeyAuth": []
  8887. }
  8888. ],
  8889. "produces": [
  8890. "application/json"
  8891. ],
  8892. "tags": [
  8893. "大连千海金"
  8894. ],
  8895. "summary": "查询充值提现",
  8896. "parameters": [
  8897. {
  8898. "type": "integer",
  8899. "description": "用户ID",
  8900. "name": "userid",
  8901. "in": "query",
  8902. "required": true
  8903. },
  8904. {
  8905. "type": "string",
  8906. "description": "申请起始日期(格式yyyymmdd)",
  8907. "name": "begindate",
  8908. "in": "query"
  8909. },
  8910. {
  8911. "type": "string",
  8912. "description": "申请截止日期(格式yyyymmdd)",
  8913. "name": "enddate",
  8914. "in": "query"
  8915. },
  8916. {
  8917. "type": "string",
  8918. "description": "模糊搜索名称",
  8919. "name": "likename",
  8920. "in": "query"
  8921. }
  8922. ],
  8923. "responses": {
  8924. "200": {
  8925. "description": "OK",
  8926. "schema": {
  8927. "type": "array",
  8928. "items": {
  8929. "$ref": "#/definitions/models.QhjAccountOutInApply"
  8930. }
  8931. }
  8932. },
  8933. "500": {
  8934. "description": "Internal Server Error",
  8935. "schema": {
  8936. "$ref": "#/definitions/app.Response"
  8937. }
  8938. }
  8939. }
  8940. }
  8941. },
  8942. "/Qhj/QueryAreaFinanceConfig": {
  8943. "get": {
  8944. "security": [
  8945. {
  8946. "ApiKeyAuth": []
  8947. }
  8948. ],
  8949. "produces": [
  8950. "application/json"
  8951. ],
  8952. "tags": [
  8953. "大连千海金"
  8954. ],
  8955. "summary": "查询企业配置表",
  8956. "parameters": [
  8957. {
  8958. "type": "integer",
  8959. "description": "机构用户ID 其他做市关系,都设置为 1",
  8960. "name": "userid",
  8961. "in": "query"
  8962. }
  8963. ],
  8964. "responses": {
  8965. "200": {
  8966. "description": "OK",
  8967. "schema": {
  8968. "type": "array",
  8969. "items": {
  8970. "$ref": "#/definitions/models.QhjAreaFinanceConfig"
  8971. }
  8972. }
  8973. },
  8974. "500": {
  8975. "description": "Internal Server Error",
  8976. "schema": {
  8977. "$ref": "#/definitions/app.Response"
  8978. }
  8979. }
  8980. }
  8981. }
  8982. },
  8983. "/Qhj/QueryBankAccountSign": {
  8984. "get": {
  8985. "security": [
  8986. {
  8987. "ApiKeyAuth": []
  8988. }
  8989. ],
  8990. "produces": [
  8991. "application/json"
  8992. ],
  8993. "tags": [
  8994. "大连千海金"
  8995. ],
  8996. "summary": "查询签约银行信息(提现账户管理)",
  8997. "parameters": [
  8998. {
  8999. "type": "integer",
  9000. "description": "用户ID",
  9001. "name": "userid",
  9002. "in": "query",
  9003. "required": true
  9004. }
  9005. ],
  9006. "responses": {
  9007. "200": {
  9008. "description": "OK",
  9009. "schema": {
  9010. "type": "array",
  9011. "items": {
  9012. "$ref": "#/definitions/models.QhjBankAccountSign"
  9013. }
  9014. }
  9015. },
  9016. "500": {
  9017. "description": "Internal Server Error",
  9018. "schema": {
  9019. "$ref": "#/definitions/app.Response"
  9020. }
  9021. }
  9022. }
  9023. }
  9024. },
  9025. "/Qhj/QueryBankInfo": {
  9026. "get": {
  9027. "security": [
  9028. {
  9029. "ApiKeyAuth": []
  9030. }
  9031. ],
  9032. "produces": [
  9033. "application/json"
  9034. ],
  9035. "tags": [
  9036. "大连千海金"
  9037. ],
  9038. "summary": "查询开户行",
  9039. "responses": {
  9040. "200": {
  9041. "description": "OK",
  9042. "schema": {
  9043. "type": "array",
  9044. "items": {
  9045. "$ref": "#/definitions/models.QhjBankInfo"
  9046. }
  9047. }
  9048. },
  9049. "500": {
  9050. "description": "Internal Server Error",
  9051. "schema": {
  9052. "$ref": "#/definitions/app.Response"
  9053. }
  9054. }
  9055. }
  9056. }
  9057. },
  9058. "/Qhj/QueryBrokerApply": {
  9059. "get": {
  9060. "security": [
  9061. {
  9062. "ApiKeyAuth": []
  9063. }
  9064. ],
  9065. "produces": [
  9066. "application/json"
  9067. ],
  9068. "tags": [
  9069. "大连千海金"
  9070. ],
  9071. "summary": "查询经纪人申请",
  9072. "parameters": [
  9073. {
  9074. "type": "integer",
  9075. "description": "所属机构ID",
  9076. "name": "userid",
  9077. "in": "query"
  9078. },
  9079. {
  9080. "type": "string",
  9081. "description": "状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  9082. "name": "filterstatus",
  9083. "in": "query"
  9084. }
  9085. ],
  9086. "responses": {
  9087. "200": {
  9088. "description": "OK",
  9089. "schema": {
  9090. "type": "array",
  9091. "items": {
  9092. "$ref": "#/definitions/models.QhjBrokerApply"
  9093. }
  9094. }
  9095. },
  9096. "500": {
  9097. "description": "Internal Server Error",
  9098. "schema": {
  9099. "$ref": "#/definitions/app.Response"
  9100. }
  9101. }
  9102. }
  9103. }
  9104. },
  9105. "/Qhj/QueryBrokerApplyEx": {
  9106. "get": {
  9107. "security": [
  9108. {
  9109. "ApiKeyAuth": []
  9110. }
  9111. ],
  9112. "produces": [
  9113. "application/json"
  9114. ],
  9115. "tags": [
  9116. "大连千海金"
  9117. ],
  9118. "summary": "查询经纪人信息和申请记录",
  9119. "parameters": [
  9120. {
  9121. "type": "integer",
  9122. "description": "所属机构ID",
  9123. "name": "userid",
  9124. "in": "query"
  9125. }
  9126. ],
  9127. "responses": {
  9128. "200": {
  9129. "description": "OK",
  9130. "schema": {
  9131. "type": "array",
  9132. "items": {
  9133. "$ref": "#/definitions/models.QhjBrokerApplyEx"
  9134. }
  9135. }
  9136. },
  9137. "500": {
  9138. "description": "Internal Server Error",
  9139. "schema": {
  9140. "$ref": "#/definitions/app.Response"
  9141. }
  9142. }
  9143. }
  9144. }
  9145. },
  9146. "/Qhj/QueryBrokerRewardLog": {
  9147. "get": {
  9148. "security": [
  9149. {
  9150. "ApiKeyAuth": []
  9151. }
  9152. ],
  9153. "produces": [
  9154. "application/json"
  9155. ],
  9156. "tags": [
  9157. "大连千海金"
  9158. ],
  9159. "summary": "查询奖励流水(我的奖励)",
  9160. "parameters": [
  9161. {
  9162. "type": "integer",
  9163. "description": "用户ID",
  9164. "name": "userid",
  9165. "in": "query",
  9166. "required": true
  9167. },
  9168. {
  9169. "type": "string",
  9170. "description": "开始交易日(yyyymmdd)",
  9171. "name": "begindate",
  9172. "in": "query"
  9173. },
  9174. {
  9175. "type": "string",
  9176. "description": "结束交易日(yyyymmdd)",
  9177. "name": "enddate",
  9178. "in": "query"
  9179. }
  9180. ],
  9181. "responses": {
  9182. "200": {
  9183. "description": "OK",
  9184. "schema": {
  9185. "type": "array",
  9186. "items": {
  9187. "$ref": "#/definitions/models.QhjBrokerRewardLog"
  9188. }
  9189. }
  9190. },
  9191. "500": {
  9192. "description": "Internal Server Error",
  9193. "schema": {
  9194. "$ref": "#/definitions/app.Response"
  9195. }
  9196. }
  9197. }
  9198. }
  9199. },
  9200. "/Qhj/QueryContract": {
  9201. "get": {
  9202. "security": [
  9203. {
  9204. "ApiKeyAuth": []
  9205. }
  9206. ],
  9207. "produces": [
  9208. "application/json"
  9209. ],
  9210. "tags": [
  9211. "大连千海金"
  9212. ],
  9213. "summary": "查询融资明细(合同)",
  9214. "parameters": [
  9215. {
  9216. "type": "integer",
  9217. "description": "用户ID",
  9218. "name": "userid",
  9219. "in": "query"
  9220. },
  9221. {
  9222. "type": "integer",
  9223. "description": "scf合同id",
  9224. "name": "scfcontractid",
  9225. "in": "query"
  9226. }
  9227. ],
  9228. "responses": {
  9229. "200": {
  9230. "description": "OK",
  9231. "schema": {
  9232. "type": "array",
  9233. "items": {
  9234. "$ref": "#/definitions/models.QhjContract"
  9235. }
  9236. }
  9237. },
  9238. "500": {
  9239. "description": "Internal Server Error",
  9240. "schema": {
  9241. "$ref": "#/definitions/app.Response"
  9242. }
  9243. }
  9244. }
  9245. }
  9246. },
  9247. "/Qhj/QueryContractLog": {
  9248. "get": {
  9249. "security": [
  9250. {
  9251. "ApiKeyAuth": []
  9252. }
  9253. ],
  9254. "produces": [
  9255. "application/json"
  9256. ],
  9257. "tags": [
  9258. "大连千海金"
  9259. ],
  9260. "summary": "查询融资明细流水(融资明细详情页中的流水)",
  9261. "parameters": [
  9262. {
  9263. "type": "integer",
  9264. "description": "scf合同id",
  9265. "name": "scfcontractid",
  9266. "in": "query",
  9267. "required": true
  9268. },
  9269. {
  9270. "type": "string",
  9271. "description": "资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款",
  9272. "name": "amounttype",
  9273. "in": "query"
  9274. }
  9275. ],
  9276. "responses": {
  9277. "200": {
  9278. "description": "OK",
  9279. "schema": {
  9280. "type": "array",
  9281. "items": {
  9282. "$ref": "#/definitions/models.QhjContractLog"
  9283. }
  9284. }
  9285. },
  9286. "500": {
  9287. "description": "Internal Server Error",
  9288. "schema": {
  9289. "$ref": "#/definitions/app.Response"
  9290. }
  9291. }
  9292. }
  9293. }
  9294. },
  9295. "/Qhj/QueryCusBankSignBank": {
  9296. "get": {
  9297. "security": [
  9298. {
  9299. "ApiKeyAuth": []
  9300. }
  9301. ],
  9302. "produces": [
  9303. "application/json"
  9304. ],
  9305. "tags": [
  9306. "大连千海金"
  9307. ],
  9308. "summary": "查询托管银行",
  9309. "responses": {
  9310. "200": {
  9311. "description": "OK",
  9312. "schema": {
  9313. "type": "array",
  9314. "items": {
  9315. "$ref": "#/definitions/models.QhjCusBankSignBankEx"
  9316. }
  9317. }
  9318. },
  9319. "500": {
  9320. "description": "Internal Server Error",
  9321. "schema": {
  9322. "$ref": "#/definitions/app.Response"
  9323. }
  9324. }
  9325. }
  9326. }
  9327. },
  9328. "/Qhj/QueryCustomerInfo": {
  9329. "get": {
  9330. "security": [
  9331. {
  9332. "ApiKeyAuth": []
  9333. }
  9334. ],
  9335. "produces": [
  9336. "application/json"
  9337. ],
  9338. "tags": [
  9339. "大连千海金"
  9340. ],
  9341. "summary": "查询客户资料",
  9342. "parameters": [
  9343. {
  9344. "type": "integer",
  9345. "description": "用户ID",
  9346. "name": "userid",
  9347. "in": "query",
  9348. "required": true
  9349. },
  9350. {
  9351. "type": "integer",
  9352. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  9353. "name": "querytype",
  9354. "in": "query",
  9355. "required": true
  9356. },
  9357. {
  9358. "type": "integer",
  9359. "description": "客户类型 1-个人 2-企业",
  9360. "name": "userinfotype",
  9361. "in": "query"
  9362. },
  9363. {
  9364. "type": "string",
  9365. "description": "客户名称(模糊匹配)",
  9366. "name": "customername",
  9367. "in": "query"
  9368. },
  9369. {
  9370. "type": "string",
  9371. "description": "昵称(模糊匹配)",
  9372. "name": "nickname",
  9373. "in": "query"
  9374. },
  9375. {
  9376. "type": "integer",
  9377. "description": "是否包含子级 1-包含",
  9378. "name": "includesub",
  9379. "in": "query"
  9380. }
  9381. ],
  9382. "responses": {
  9383. "200": {
  9384. "description": "OK",
  9385. "schema": {
  9386. "type": "array",
  9387. "items": {
  9388. "$ref": "#/definitions/models.QhjCustomer"
  9389. }
  9390. }
  9391. },
  9392. "500": {
  9393. "description": "Internal Server Error",
  9394. "schema": {
  9395. "$ref": "#/definitions/app.Response"
  9396. }
  9397. }
  9398. }
  9399. }
  9400. },
  9401. "/Qhj/QueryGoodsEx": {
  9402. "get": {
  9403. "security": [
  9404. {
  9405. "ApiKeyAuth": []
  9406. }
  9407. ],
  9408. "produces": [
  9409. "application/json"
  9410. ],
  9411. "tags": [
  9412. "大连千海金"
  9413. ],
  9414. "summary": "交易商品扩展表",
  9415. "parameters": [
  9416. {
  9417. "type": "integer",
  9418. "description": "商品id",
  9419. "name": "goodsid",
  9420. "in": "query"
  9421. }
  9422. ],
  9423. "responses": {
  9424. "200": {
  9425. "description": "OK",
  9426. "schema": {
  9427. "type": "array",
  9428. "items": {
  9429. "$ref": "#/definitions/models.Qhjgoodsex"
  9430. }
  9431. }
  9432. },
  9433. "500": {
  9434. "description": "Internal Server Error",
  9435. "schema": {
  9436. "$ref": "#/definitions/app.Response"
  9437. }
  9438. }
  9439. }
  9440. }
  9441. },
  9442. "/Qhj/QueryMyTeam": {
  9443. "get": {
  9444. "security": [
  9445. {
  9446. "ApiKeyAuth": []
  9447. }
  9448. ],
  9449. "produces": [
  9450. "application/json"
  9451. ],
  9452. "tags": [
  9453. "大连千海金"
  9454. ],
  9455. "summary": "查询我的团队",
  9456. "parameters": [
  9457. {
  9458. "type": "integer",
  9459. "description": "用户ID",
  9460. "name": "userid",
  9461. "in": "query",
  9462. "required": true
  9463. }
  9464. ],
  9465. "responses": {
  9466. "200": {
  9467. "description": "OK",
  9468. "schema": {
  9469. "type": "array",
  9470. "items": {
  9471. "$ref": "#/definitions/models.QhjMyTeamEx"
  9472. }
  9473. }
  9474. },
  9475. "500": {
  9476. "description": "Internal Server Error",
  9477. "schema": {
  9478. "$ref": "#/definitions/app.Response"
  9479. }
  9480. }
  9481. }
  9482. }
  9483. },
  9484. "/Qhj/QueryMyTeamOrder": {
  9485. "get": {
  9486. "security": [
  9487. {
  9488. "ApiKeyAuth": []
  9489. }
  9490. ],
  9491. "produces": [
  9492. "application/json"
  9493. ],
  9494. "tags": [
  9495. "大连千海金"
  9496. ],
  9497. "summary": "查询团队订单(我的团队/团队订单)",
  9498. "parameters": [
  9499. {
  9500. "type": "integer",
  9501. "description": "页码",
  9502. "name": "page",
  9503. "in": "query"
  9504. },
  9505. {
  9506. "type": "integer",
  9507. "description": "每页条数",
  9508. "name": "pagesize",
  9509. "in": "query"
  9510. },
  9511. {
  9512. "type": "integer",
  9513. "description": "用户ID",
  9514. "name": "userid",
  9515. "in": "query",
  9516. "required": true
  9517. },
  9518. {
  9519. "type": "integer",
  9520. "description": "交易模式",
  9521. "name": "trademode",
  9522. "in": "query"
  9523. },
  9524. {
  9525. "type": "string",
  9526. "description": "名称(模糊搜索账户)",
  9527. "name": "filtername",
  9528. "in": "query"
  9529. }
  9530. ],
  9531. "responses": {
  9532. "200": {
  9533. "description": "OK",
  9534. "schema": {
  9535. "type": "array",
  9536. "items": {
  9537. "$ref": "#/definitions/models.QhjTeamOrder"
  9538. }
  9539. }
  9540. },
  9541. "500": {
  9542. "description": "Internal Server Error",
  9543. "schema": {
  9544. "$ref": "#/definitions/app.Response"
  9545. }
  9546. }
  9547. }
  9548. }
  9549. },
  9550. "/Qhj/QueryParentAreaList": {
  9551. "get": {
  9552. "security": [
  9553. {
  9554. "ApiKeyAuth": []
  9555. }
  9556. ],
  9557. "produces": [
  9558. "application/json"
  9559. ],
  9560. "tags": [
  9561. "大连千海金"
  9562. ],
  9563. "summary": "查询所属机构列表",
  9564. "parameters": [
  9565. {
  9566. "type": "integer",
  9567. "description": "用户ID",
  9568. "name": "userid",
  9569. "in": "query",
  9570. "required": true
  9571. }
  9572. ],
  9573. "responses": {
  9574. "200": {
  9575. "description": "OK",
  9576. "schema": {
  9577. "type": "array",
  9578. "items": {
  9579. "$ref": "#/definitions/models.QhjParentAreaList"
  9580. }
  9581. }
  9582. },
  9583. "500": {
  9584. "description": "Internal Server Error",
  9585. "schema": {
  9586. "$ref": "#/definitions/app.Response"
  9587. }
  9588. }
  9589. }
  9590. }
  9591. },
  9592. "/Qhj/QueryPayOrder": {
  9593. "get": {
  9594. "security": [
  9595. {
  9596. "ApiKeyAuth": []
  9597. }
  9598. ],
  9599. "produces": [
  9600. "application/json"
  9601. ],
  9602. "tags": [
  9603. "大连千海金"
  9604. ],
  9605. "summary": "查询待付款单据",
  9606. "parameters": [
  9607. {
  9608. "type": "integer",
  9609. "description": "资金账号id",
  9610. "name": "accountid",
  9611. "in": "query",
  9612. "required": true
  9613. },
  9614. {
  9615. "type": "integer",
  9616. "description": "成交单号",
  9617. "name": "tradeid",
  9618. "in": "query"
  9619. },
  9620. {
  9621. "type": "string",
  9622. "description": "付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  9623. "name": "payflag",
  9624. "in": "query"
  9625. }
  9626. ],
  9627. "responses": {
  9628. "200": {
  9629. "description": "OK",
  9630. "schema": {
  9631. "type": "array",
  9632. "items": {
  9633. "$ref": "#/definitions/models.QhjPayOrder"
  9634. }
  9635. }
  9636. },
  9637. "500": {
  9638. "description": "Internal Server Error",
  9639. "schema": {
  9640. "$ref": "#/definitions/app.Response"
  9641. }
  9642. }
  9643. }
  9644. }
  9645. },
  9646. "/Qhj/QueryPickArea": {
  9647. "get": {
  9648. "security": [
  9649. {
  9650. "ApiKeyAuth": []
  9651. }
  9652. ],
  9653. "produces": [
  9654. "application/json"
  9655. ],
  9656. "tags": [
  9657. "大连千海金"
  9658. ],
  9659. "summary": "查询提货门店",
  9660. "parameters": [
  9661. {
  9662. "type": "integer",
  9663. "description": "用户ID",
  9664. "name": "userid",
  9665. "in": "query"
  9666. }
  9667. ],
  9668. "responses": {
  9669. "200": {
  9670. "description": "OK",
  9671. "schema": {
  9672. "type": "array",
  9673. "items": {
  9674. "$ref": "#/definitions/models.QhjPickArea"
  9675. }
  9676. }
  9677. },
  9678. "500": {
  9679. "description": "Internal Server Error",
  9680. "schema": {
  9681. "$ref": "#/definitions/app.Response"
  9682. }
  9683. }
  9684. }
  9685. }
  9686. },
  9687. "/Qhj/QueryPickGoods": {
  9688. "get": {
  9689. "security": [
  9690. {
  9691. "ApiKeyAuth": []
  9692. }
  9693. ],
  9694. "produces": [
  9695. "application/json"
  9696. ],
  9697. "tags": [
  9698. "大连千海金"
  9699. ],
  9700. "summary": "查询提货商品",
  9701. "parameters": [
  9702. {
  9703. "type": "integer",
  9704. "description": "交易商品id",
  9705. "name": "goodsid",
  9706. "in": "query",
  9707. "required": true
  9708. },
  9709. {
  9710. "type": "string",
  9711. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  9712. "name": "status",
  9713. "in": "query"
  9714. }
  9715. ],
  9716. "responses": {
  9717. "200": {
  9718. "description": "OK",
  9719. "schema": {
  9720. "type": "array",
  9721. "items": {
  9722. "$ref": "#/definitions/models.QhjPickGoods"
  9723. }
  9724. }
  9725. },
  9726. "500": {
  9727. "description": "Internal Server Error",
  9728. "schema": {
  9729. "$ref": "#/definitions/app.Response"
  9730. }
  9731. }
  9732. }
  9733. }
  9734. },
  9735. "/Qhj/QueryRSTriggerLog": {
  9736. "get": {
  9737. "security": [
  9738. {
  9739. "ApiKeyAuth": []
  9740. }
  9741. ],
  9742. "produces": [
  9743. "application/json"
  9744. ],
  9745. "tags": [
  9746. "大连千海金"
  9747. ],
  9748. "summary": "查询定投记录(定投管理/详情/定投记录)",
  9749. "parameters": [
  9750. {
  9751. "type": "integer",
  9752. "description": "用户ID",
  9753. "name": "userid",
  9754. "in": "query"
  9755. },
  9756. {
  9757. "type": "integer",
  9758. "description": "定投策略id",
  9759. "name": "regularlystrategyid",
  9760. "in": "query"
  9761. },
  9762. {
  9763. "type": "integer",
  9764. "description": "商品id",
  9765. "name": "goodsid",
  9766. "in": "query"
  9767. },
  9768. {
  9769. "type": "string",
  9770. "description": "开始交易日(yyyymmdd)",
  9771. "name": "begindate",
  9772. "in": "query"
  9773. },
  9774. {
  9775. "type": "string",
  9776. "description": "结束交易日(yyyymmdd)",
  9777. "name": "enddate",
  9778. "in": "query"
  9779. },
  9780. {
  9781. "type": "string",
  9782. "description": "名称(模糊搜索账户)",
  9783. "name": "filtername",
  9784. "in": "query"
  9785. }
  9786. ],
  9787. "responses": {
  9788. "200": {
  9789. "description": "OK",
  9790. "schema": {
  9791. "type": "array",
  9792. "items": {
  9793. "$ref": "#/definitions/models.QhjRSTriggerLog"
  9794. }
  9795. }
  9796. },
  9797. "500": {
  9798. "description": "Internal Server Error",
  9799. "schema": {
  9800. "$ref": "#/definitions/app.Response"
  9801. }
  9802. }
  9803. }
  9804. }
  9805. },
  9806. "/Qhj/QueryRStrategy": {
  9807. "get": {
  9808. "security": [
  9809. {
  9810. "ApiKeyAuth": []
  9811. }
  9812. ],
  9813. "produces": [
  9814. "application/json"
  9815. ],
  9816. "tags": [
  9817. "大连千海金"
  9818. ],
  9819. "summary": "查询定投设置(我的定投/历史定投[状态=已终止])",
  9820. "parameters": [
  9821. {
  9822. "type": "integer",
  9823. "description": "用户ID",
  9824. "name": "userid",
  9825. "in": "query"
  9826. },
  9827. {
  9828. "type": "integer",
  9829. "description": "商品id",
  9830. "name": "goodsid",
  9831. "in": "query"
  9832. },
  9833. {
  9834. "type": "string",
  9835. "description": "策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止",
  9836. "name": "status",
  9837. "in": "query"
  9838. },
  9839. {
  9840. "type": "string",
  9841. "description": "名称(模糊搜索账户)",
  9842. "name": "filtername",
  9843. "in": "query"
  9844. }
  9845. ],
  9846. "responses": {
  9847. "200": {
  9848. "description": "OK",
  9849. "schema": {
  9850. "type": "array",
  9851. "items": {
  9852. "$ref": "#/definitions/models.QhjRStrategy"
  9853. }
  9854. }
  9855. },
  9856. "500": {
  9857. "description": "Internal Server Error",
  9858. "schema": {
  9859. "$ref": "#/definitions/app.Response"
  9860. }
  9861. }
  9862. }
  9863. }
  9864. },
  9865. "/Qhj/QueryReckonPriceLog": {
  9866. "get": {
  9867. "security": [
  9868. {
  9869. "ApiKeyAuth": []
  9870. }
  9871. ],
  9872. "produces": [
  9873. "application/json"
  9874. ],
  9875. "tags": [
  9876. "大连千海金"
  9877. ],
  9878. "summary": "查询定投价(结算价)",
  9879. "parameters": [
  9880. {
  9881. "type": "integer",
  9882. "description": "商品ID",
  9883. "name": "goodsid",
  9884. "in": "query"
  9885. },
  9886. {
  9887. "type": "string",
  9888. "description": "交易日 格式(yyyymmdd)",
  9889. "name": "tradedate",
  9890. "in": "query"
  9891. }
  9892. ],
  9893. "responses": {
  9894. "200": {
  9895. "description": "OK",
  9896. "schema": {
  9897. "type": "array",
  9898. "items": {
  9899. "$ref": "#/definitions/models.QhjReckonPriceLog"
  9900. }
  9901. }
  9902. },
  9903. "500": {
  9904. "description": "Internal Server Error",
  9905. "schema": {
  9906. "$ref": "#/definitions/app.Response"
  9907. }
  9908. }
  9909. }
  9910. }
  9911. },
  9912. "/Qhj/QueryScoreLog": {
  9913. "get": {
  9914. "security": [
  9915. {
  9916. "ApiKeyAuth": []
  9917. }
  9918. ],
  9919. "produces": [
  9920. "application/json"
  9921. ],
  9922. "tags": [
  9923. "大连千海金"
  9924. ],
  9925. "summary": "查询积分流水(我的积分)",
  9926. "parameters": [
  9927. {
  9928. "type": "integer",
  9929. "description": "用户ID",
  9930. "name": "userid",
  9931. "in": "query",
  9932. "required": true
  9933. },
  9934. {
  9935. "type": "string",
  9936. "description": "开始交易日(yyyymmdd)",
  9937. "name": "begindate",
  9938. "in": "query"
  9939. },
  9940. {
  9941. "type": "string",
  9942. "description": "结束交易日(yyyymmdd)",
  9943. "name": "enddate",
  9944. "in": "query"
  9945. },
  9946. {
  9947. "type": "integer",
  9948. "description": "最近多少条",
  9949. "name": "lastnum",
  9950. "in": "query"
  9951. }
  9952. ],
  9953. "responses": {
  9954. "200": {
  9955. "description": "OK",
  9956. "schema": {
  9957. "type": "array",
  9958. "items": {
  9959. "$ref": "#/definitions/models.QhjScoreLog"
  9960. }
  9961. }
  9962. },
  9963. "500": {
  9964. "description": "Internal Server Error",
  9965. "schema": {
  9966. "$ref": "#/definitions/app.Response"
  9967. }
  9968. }
  9969. }
  9970. }
  9971. },
  9972. "/Qhj/QuerySiteColumnDetail": {
  9973. "get": {
  9974. "security": [
  9975. {
  9976. "ApiKeyAuth": []
  9977. }
  9978. ],
  9979. "produces": [
  9980. "application/json"
  9981. ],
  9982. "tags": [
  9983. "大连千海金"
  9984. ],
  9985. "summary": "查询资讯",
  9986. "parameters": [
  9987. {
  9988. "type": "integer",
  9989. "description": "用户ID",
  9990. "name": "userid",
  9991. "in": "query",
  9992. "required": true
  9993. }
  9994. ],
  9995. "responses": {
  9996. "200": {
  9997. "description": "OK",
  9998. "schema": {
  9999. "type": "array",
  10000. "items": {
  10001. "$ref": "#/definitions/models.QhjSiteColumnDetail"
  10002. }
  10003. }
  10004. },
  10005. "500": {
  10006. "description": "Internal Server Error",
  10007. "schema": {
  10008. "$ref": "#/definitions/app.Response"
  10009. }
  10010. }
  10011. }
  10012. }
  10013. },
  10014. "/Qhj/QueryTradeGoodsPickup": {
  10015. "get": {
  10016. "security": [
  10017. {
  10018. "ApiKeyAuth": []
  10019. }
  10020. ],
  10021. "produces": [
  10022. "application/json"
  10023. ],
  10024. "tags": [
  10025. "大连千海金"
  10026. ],
  10027. "summary": "查询提货",
  10028. "parameters": [
  10029. {
  10030. "type": "integer",
  10031. "description": "用户ID",
  10032. "name": "userid",
  10033. "in": "query",
  10034. "required": true
  10035. },
  10036. {
  10037. "type": "integer",
  10038. "description": "提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  10039. "name": "takeorderstatus",
  10040. "in": "query"
  10041. }
  10042. ],
  10043. "responses": {
  10044. "200": {
  10045. "description": "OK",
  10046. "schema": {
  10047. "type": "array",
  10048. "items": {
  10049. "$ref": "#/definitions/models.QhjTradeGoodsPickup"
  10050. }
  10051. }
  10052. },
  10053. "500": {
  10054. "description": "Internal Server Error",
  10055. "schema": {
  10056. "$ref": "#/definitions/app.Response"
  10057. }
  10058. }
  10059. }
  10060. }
  10061. },
  10062. "/Qhj/QueryUserCollectConfig": {
  10063. "get": {
  10064. "security": [
  10065. {
  10066. "ApiKeyAuth": []
  10067. }
  10068. ],
  10069. "produces": [
  10070. "application/json"
  10071. ],
  10072. "tags": [
  10073. "大连千海金"
  10074. ],
  10075. "summary": "查询提现账户设置",
  10076. "parameters": [
  10077. {
  10078. "type": "integer",
  10079. "description": "用户ID",
  10080. "name": "userid",
  10081. "in": "query",
  10082. "required": true
  10083. }
  10084. ],
  10085. "responses": {
  10086. "200": {
  10087. "description": "OK",
  10088. "schema": {
  10089. "type": "array",
  10090. "items": {
  10091. "$ref": "#/definitions/models.UserCollectConfig"
  10092. }
  10093. }
  10094. },
  10095. "500": {
  10096. "description": "Internal Server Error",
  10097. "schema": {
  10098. "$ref": "#/definitions/app.Response"
  10099. }
  10100. }
  10101. }
  10102. }
  10103. },
  10104. "/Qhj/QueryUserReceiveInfo": {
  10105. "get": {
  10106. "security": [
  10107. {
  10108. "ApiKeyAuth": []
  10109. }
  10110. ],
  10111. "produces": [
  10112. "application/json"
  10113. ],
  10114. "tags": [
  10115. "大连千海金"
  10116. ],
  10117. "summary": "查询收货地址信息",
  10118. "parameters": [
  10119. {
  10120. "type": "integer",
  10121. "description": "用户ID",
  10122. "name": "userid",
  10123. "in": "query",
  10124. "required": true
  10125. }
  10126. ],
  10127. "responses": {
  10128. "200": {
  10129. "description": "OK",
  10130. "schema": {
  10131. "type": "array",
  10132. "items": {
  10133. "$ref": "#/definitions/models.UserReceiveInfo"
  10134. }
  10135. }
  10136. },
  10137. "500": {
  10138. "description": "Internal Server Error",
  10139. "schema": {
  10140. "$ref": "#/definitions/app.Response"
  10141. }
  10142. }
  10143. }
  10144. }
  10145. },
  10146. "/QhjMgr/QueryAccountInOutApply": {
  10147. "get": {
  10148. "security": [
  10149. {
  10150. "ApiKeyAuth": []
  10151. }
  10152. ],
  10153. "produces": [
  10154. "application/json"
  10155. ],
  10156. "tags": [
  10157. "大连千海金(PCWeb)"
  10158. ],
  10159. "summary": "查询充值提现",
  10160. "parameters": [
  10161. {
  10162. "type": "integer",
  10163. "description": "查询类型 1-提现(出金) 2-充值(出金)",
  10164. "name": "querytype",
  10165. "in": "query",
  10166. "required": true
  10167. },
  10168. {
  10169. "type": "integer",
  10170. "description": "状态 1-待审核 2-审核通过 3-审核拒绝",
  10171. "name": "applystatus",
  10172. "in": "query"
  10173. },
  10174. {
  10175. "type": "string",
  10176. "description": "申请起始日期(格式yyyymmdd)",
  10177. "name": "begindate",
  10178. "in": "query"
  10179. },
  10180. {
  10181. "type": "string",
  10182. "description": "申请截止日期(格式yyyymmdd)",
  10183. "name": "enddate",
  10184. "in": "query"
  10185. },
  10186. {
  10187. "type": "string",
  10188. "description": "模糊搜索名称",
  10189. "name": "likename",
  10190. "in": "query"
  10191. }
  10192. ],
  10193. "responses": {
  10194. "200": {
  10195. "description": "OK",
  10196. "schema": {
  10197. "type": "array",
  10198. "items": {
  10199. "$ref": "#/definitions/models.QhjMgrAccountOutInApply"
  10200. }
  10201. }
  10202. },
  10203. "500": {
  10204. "description": "Internal Server Error",
  10205. "schema": {
  10206. "$ref": "#/definitions/app.Response"
  10207. }
  10208. }
  10209. }
  10210. }
  10211. },
  10212. "/QhjMgr/QueryBrokerApply": {
  10213. "get": {
  10214. "security": [
  10215. {
  10216. "ApiKeyAuth": []
  10217. }
  10218. ],
  10219. "produces": [
  10220. "application/json"
  10221. ],
  10222. "tags": [
  10223. "大连千海金(PCWeb)"
  10224. ],
  10225. "summary": "查询经纪人申请",
  10226. "parameters": [
  10227. {
  10228. "type": "integer",
  10229. "description": "所属机构ID",
  10230. "name": "userid",
  10231. "in": "query"
  10232. },
  10233. {
  10234. "type": "string",
  10235. "description": "状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  10236. "name": "filterstatus",
  10237. "in": "query"
  10238. },
  10239. {
  10240. "type": "string",
  10241. "description": "名称(模糊匹配)",
  10242. "name": "filtername",
  10243. "in": "query"
  10244. },
  10245. {
  10246. "type": "integer",
  10247. "description": "是否包含子级 1-包含",
  10248. "name": "includesub",
  10249. "in": "query"
  10250. }
  10251. ],
  10252. "responses": {
  10253. "200": {
  10254. "description": "OK",
  10255. "schema": {
  10256. "type": "array",
  10257. "items": {
  10258. "$ref": "#/definitions/models.QhjMgrBrokerApply"
  10259. }
  10260. }
  10261. },
  10262. "500": {
  10263. "description": "Internal Server Error",
  10264. "schema": {
  10265. "$ref": "#/definitions/app.Response"
  10266. }
  10267. }
  10268. }
  10269. }
  10270. },
  10271. "/QhjMgr/QueryBrokerRewardReport": {
  10272. "get": {
  10273. "security": [
  10274. {
  10275. "ApiKeyAuth": []
  10276. }
  10277. ],
  10278. "produces": [
  10279. "application/json"
  10280. ],
  10281. "tags": [
  10282. "大连千海金(PCWeb)"
  10283. ],
  10284. "summary": "查询经纪人奖励报表(废弃)",
  10285. "parameters": [
  10286. {
  10287. "type": "integer",
  10288. "description": "所属机构ID",
  10289. "name": "userid",
  10290. "in": "query",
  10291. "required": true
  10292. },
  10293. {
  10294. "type": "integer",
  10295. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  10296. "name": "cycletype",
  10297. "in": "query",
  10298. "required": true
  10299. },
  10300. {
  10301. "type": "string",
  10302. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】",
  10303. "name": "cycletime",
  10304. "in": "query",
  10305. "required": true
  10306. },
  10307. {
  10308. "type": "string",
  10309. "description": "名称(模糊匹配)",
  10310. "name": "filtername",
  10311. "in": "query"
  10312. },
  10313. {
  10314. "type": "integer",
  10315. "description": "是否包含子级 1-包含",
  10316. "name": "includesub",
  10317. "in": "query"
  10318. }
  10319. ],
  10320. "responses": {
  10321. "200": {
  10322. "description": "OK",
  10323. "schema": {
  10324. "type": "array",
  10325. "items": {
  10326. "$ref": "#/definitions/models.QhjMgrBrokerRewardReport"
  10327. }
  10328. }
  10329. },
  10330. "500": {
  10331. "description": "Internal Server Error",
  10332. "schema": {
  10333. "$ref": "#/definitions/app.Response"
  10334. }
  10335. }
  10336. }
  10337. }
  10338. },
  10339. "/QhjMgr/QueryContract": {
  10340. "get": {
  10341. "security": [
  10342. {
  10343. "ApiKeyAuth": []
  10344. }
  10345. ],
  10346. "produces": [
  10347. "application/json"
  10348. ],
  10349. "tags": [
  10350. "大连千海金(PCWeb)"
  10351. ],
  10352. "summary": "查询融资信息(合同)",
  10353. "parameters": [
  10354. {
  10355. "type": "integer",
  10356. "description": "用户ID",
  10357. "name": "userid",
  10358. "in": "query"
  10359. },
  10360. {
  10361. "type": "integer",
  10362. "description": "商品id",
  10363. "name": "goodsid",
  10364. "in": "query"
  10365. },
  10366. {
  10367. "type": "string",
  10368. "description": "名称(模糊搜索账户)",
  10369. "name": "filtername",
  10370. "in": "query"
  10371. },
  10372. {
  10373. "type": "string",
  10374. "description": "风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款",
  10375. "name": "risklevel",
  10376. "in": "query"
  10377. },
  10378. {
  10379. "type": "string",
  10380. "description": "开始交易日(yyyymmdd)",
  10381. "name": "begindate",
  10382. "in": "query"
  10383. },
  10384. {
  10385. "type": "string",
  10386. "description": "结束交易日(yyyymmdd)",
  10387. "name": "enddate",
  10388. "in": "query"
  10389. }
  10390. ],
  10391. "responses": {
  10392. "200": {
  10393. "description": "OK",
  10394. "schema": {
  10395. "type": "array",
  10396. "items": {
  10397. "$ref": "#/definitions/models.QhjMgrContract"
  10398. }
  10399. }
  10400. },
  10401. "500": {
  10402. "description": "Internal Server Error",
  10403. "schema": {
  10404. "$ref": "#/definitions/app.Response"
  10405. }
  10406. }
  10407. }
  10408. }
  10409. },
  10410. "/QhjMgr/QueryCustomerInfo": {
  10411. "get": {
  10412. "security": [
  10413. {
  10414. "ApiKeyAuth": []
  10415. }
  10416. ],
  10417. "produces": [
  10418. "application/json"
  10419. ],
  10420. "tags": [
  10421. "大连千海金(PCWeb)"
  10422. ],
  10423. "summary": "查询客户资料",
  10424. "parameters": [
  10425. {
  10426. "type": "integer",
  10427. "description": "用户ID",
  10428. "name": "userid",
  10429. "in": "query",
  10430. "required": true
  10431. },
  10432. {
  10433. "type": "integer",
  10434. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  10435. "name": "querytype",
  10436. "in": "query",
  10437. "required": true
  10438. },
  10439. {
  10440. "type": "integer",
  10441. "description": "客户类型 1-个人 2-企业",
  10442. "name": "userinfotype",
  10443. "in": "query"
  10444. },
  10445. {
  10446. "type": "string",
  10447. "description": "客户名称(模糊匹配)",
  10448. "name": "customername",
  10449. "in": "query"
  10450. },
  10451. {
  10452. "type": "string",
  10453. "description": "昵称(模糊匹配)",
  10454. "name": "nickname",
  10455. "in": "query"
  10456. },
  10457. {
  10458. "type": "string",
  10459. "description": "所属客户经理(模糊匹配)",
  10460. "name": "brokername",
  10461. "in": "query"
  10462. },
  10463. {
  10464. "type": "string",
  10465. "description": "生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd, 如0503 -5月3日)",
  10466. "name": "birthday",
  10467. "in": "query"
  10468. },
  10469. {
  10470. "type": "integer",
  10471. "description": "是否包含子级 1-包含",
  10472. "name": "includesub",
  10473. "in": "query"
  10474. }
  10475. ],
  10476. "responses": {
  10477. "200": {
  10478. "description": "OK",
  10479. "schema": {
  10480. "type": "array",
  10481. "items": {
  10482. "$ref": "#/definitions/models.QhjMgrCustomer"
  10483. }
  10484. }
  10485. },
  10486. "500": {
  10487. "description": "Internal Server Error",
  10488. "schema": {
  10489. "$ref": "#/definitions/app.Response"
  10490. }
  10491. }
  10492. }
  10493. }
  10494. },
  10495. "/QhjMgr/QueryPickGoods": {
  10496. "get": {
  10497. "security": [
  10498. {
  10499. "ApiKeyAuth": []
  10500. }
  10501. ],
  10502. "produces": [
  10503. "application/json"
  10504. ],
  10505. "tags": [
  10506. "大连千海金(PCWeb)"
  10507. ],
  10508. "summary": "查询提货商品",
  10509. "parameters": [
  10510. {
  10511. "type": "string",
  10512. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  10513. "name": "status",
  10514. "in": "query"
  10515. }
  10516. ],
  10517. "responses": {
  10518. "200": {
  10519. "description": "OK",
  10520. "schema": {
  10521. "type": "array",
  10522. "items": {
  10523. "$ref": "#/definitions/models.QhjMgrPickGoods"
  10524. }
  10525. }
  10526. },
  10527. "500": {
  10528. "description": "Internal Server Error",
  10529. "schema": {
  10530. "$ref": "#/definitions/app.Response"
  10531. }
  10532. }
  10533. }
  10534. }
  10535. },
  10536. "/QhjMgr/QuerySubArea": {
  10537. "get": {
  10538. "security": [
  10539. {
  10540. "ApiKeyAuth": []
  10541. }
  10542. ],
  10543. "produces": [
  10544. "application/json"
  10545. ],
  10546. "tags": [
  10547. "大连千海金(PCWeb)"
  10548. ],
  10549. "summary": "查询子机构列表",
  10550. "parameters": [
  10551. {
  10552. "type": "integer",
  10553. "description": "用户ID",
  10554. "name": "userid",
  10555. "in": "query",
  10556. "required": true
  10557. }
  10558. ],
  10559. "responses": {
  10560. "200": {
  10561. "description": "OK",
  10562. "schema": {
  10563. "type": "array",
  10564. "items": {
  10565. "$ref": "#/definitions/models.QhjMgrSubArea"
  10566. }
  10567. }
  10568. },
  10569. "500": {
  10570. "description": "Internal Server Error",
  10571. "schema": {
  10572. "$ref": "#/definitions/app.Response"
  10573. }
  10574. }
  10575. }
  10576. }
  10577. },
  10578. "/QhjMgr/QueryTradeDetail": {
  10579. "get": {
  10580. "security": [
  10581. {
  10582. "ApiKeyAuth": []
  10583. }
  10584. ],
  10585. "produces": [
  10586. "application/json"
  10587. ],
  10588. "tags": [
  10589. "大连千海金(PCWeb)"
  10590. ],
  10591. "summary": "查询成交明细",
  10592. "parameters": [
  10593. {
  10594. "type": "integer",
  10595. "description": "用户ID",
  10596. "name": "userid",
  10597. "in": "query",
  10598. "required": true
  10599. },
  10600. {
  10601. "type": "integer",
  10602. "description": "用户类型 1-个人 2-企业",
  10603. "name": "userinfotype",
  10604. "in": "query"
  10605. },
  10606. {
  10607. "type": "integer",
  10608. "description": "交易模式",
  10609. "name": "trademode",
  10610. "in": "query"
  10611. },
  10612. {
  10613. "type": "integer",
  10614. "description": "商品id",
  10615. "name": "goodsid",
  10616. "in": "query"
  10617. },
  10618. {
  10619. "type": "string",
  10620. "description": "名称(模糊搜索账户)",
  10621. "name": "filtername",
  10622. "in": "query"
  10623. },
  10624. {
  10625. "type": "string",
  10626. "description": "开始交易日(yyyymmdd)",
  10627. "name": "begindate",
  10628. "in": "query"
  10629. },
  10630. {
  10631. "type": "string",
  10632. "description": "结束交易日(yyyymmdd)",
  10633. "name": "enddate",
  10634. "in": "query"
  10635. },
  10636. {
  10637. "type": "integer",
  10638. "description": "是否包含子级 1-包含",
  10639. "name": "includesub",
  10640. "in": "query"
  10641. }
  10642. ],
  10643. "responses": {
  10644. "200": {
  10645. "description": "OK",
  10646. "schema": {
  10647. "type": "array",
  10648. "items": {
  10649. "$ref": "#/definitions/models.QhjMgrTradeDetailRsp"
  10650. }
  10651. }
  10652. },
  10653. "500": {
  10654. "description": "Internal Server Error",
  10655. "schema": {
  10656. "$ref": "#/definitions/app.Response"
  10657. }
  10658. }
  10659. }
  10660. }
  10661. },
  10662. "/QhjMgr/QueryTradeOrderDetail": {
  10663. "get": {
  10664. "security": [
  10665. {
  10666. "ApiKeyAuth": []
  10667. }
  10668. ],
  10669. "produces": [
  10670. "application/json"
  10671. ],
  10672. "tags": [
  10673. "大连千海金(PCWeb)"
  10674. ],
  10675. "summary": "查询委托明细",
  10676. "parameters": [
  10677. {
  10678. "type": "integer",
  10679. "description": "用户ID",
  10680. "name": "userid",
  10681. "in": "query",
  10682. "required": true
  10683. },
  10684. {
  10685. "type": "integer",
  10686. "description": "用户类型 1-个人 2-企业",
  10687. "name": "userinfotype",
  10688. "in": "query"
  10689. },
  10690. {
  10691. "type": "integer",
  10692. "description": "交易模式",
  10693. "name": "trademode",
  10694. "in": "query"
  10695. },
  10696. {
  10697. "type": "integer",
  10698. "description": "商品id",
  10699. "name": "goodsid",
  10700. "in": "query"
  10701. },
  10702. {
  10703. "type": "string",
  10704. "description": "名称(模糊搜索账户)",
  10705. "name": "filtername",
  10706. "in": "query"
  10707. },
  10708. {
  10709. "type": "string",
  10710. "description": "开始交易日(yyyymmdd)",
  10711. "name": "begindate",
  10712. "in": "query"
  10713. },
  10714. {
  10715. "type": "string",
  10716. "description": "结束交易日(yyyymmdd)",
  10717. "name": "enddate",
  10718. "in": "query"
  10719. },
  10720. {
  10721. "type": "integer",
  10722. "description": "是否包含子级 1-包含",
  10723. "name": "includesub",
  10724. "in": "query"
  10725. }
  10726. ],
  10727. "responses": {
  10728. "200": {
  10729. "description": "OK",
  10730. "schema": {
  10731. "type": "array",
  10732. "items": {
  10733. "$ref": "#/definitions/models.QhjMgrTradeOrderDetailRsp"
  10734. }
  10735. }
  10736. },
  10737. "500": {
  10738. "description": "Internal Server Error",
  10739. "schema": {
  10740. "$ref": "#/definitions/app.Response"
  10741. }
  10742. }
  10743. }
  10744. }
  10745. },
  10746. "/QhjMgr/QueryTradePayOrder": {
  10747. "get": {
  10748. "security": [
  10749. {
  10750. "ApiKeyAuth": []
  10751. }
  10752. ],
  10753. "produces": [
  10754. "application/json"
  10755. ],
  10756. "tags": [
  10757. "大连千海金(PCWeb)"
  10758. ],
  10759. "summary": "查询待付款单",
  10760. "parameters": [
  10761. {
  10762. "type": "integer",
  10763. "description": "用户ID",
  10764. "name": "userid",
  10765. "in": "query",
  10766. "required": true
  10767. },
  10768. {
  10769. "type": "string",
  10770. "description": "付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  10771. "name": "payflag",
  10772. "in": "query"
  10773. },
  10774. {
  10775. "type": "integer",
  10776. "description": "用户类型 1-个人 2-企业",
  10777. "name": "userinfotype",
  10778. "in": "query"
  10779. },
  10780. {
  10781. "type": "integer",
  10782. "description": "交易模式",
  10783. "name": "trademode",
  10784. "in": "query"
  10785. },
  10786. {
  10787. "type": "integer",
  10788. "description": "商品id",
  10789. "name": "goodsid",
  10790. "in": "query"
  10791. },
  10792. {
  10793. "type": "string",
  10794. "description": "名称(模糊搜索账户)",
  10795. "name": "filtername",
  10796. "in": "query"
  10797. },
  10798. {
  10799. "type": "string",
  10800. "description": "开始交易日(yyyymmdd)",
  10801. "name": "begindate",
  10802. "in": "query"
  10803. },
  10804. {
  10805. "type": "string",
  10806. "description": "结束交易日(yyyymmdd)",
  10807. "name": "enddate",
  10808. "in": "query"
  10809. },
  10810. {
  10811. "type": "integer",
  10812. "description": "是否包含子级 1-包含",
  10813. "name": "includesub",
  10814. "in": "query"
  10815. }
  10816. ],
  10817. "responses": {
  10818. "200": {
  10819. "description": "OK",
  10820. "schema": {
  10821. "type": "array",
  10822. "items": {
  10823. "$ref": "#/definitions/models.QhjMgrTradePayOrder"
  10824. }
  10825. }
  10826. },
  10827. "500": {
  10828. "description": "Internal Server Error",
  10829. "schema": {
  10830. "$ref": "#/definitions/app.Response"
  10831. }
  10832. }
  10833. }
  10834. }
  10835. },
  10836. "/QhjMgr/QueryTradePosition": {
  10837. "get": {
  10838. "security": [
  10839. {
  10840. "ApiKeyAuth": []
  10841. }
  10842. ],
  10843. "produces": [
  10844. "application/json"
  10845. ],
  10846. "tags": [
  10847. "大连千海金(PCWeb)"
  10848. ],
  10849. "summary": "查询持仓汇总",
  10850. "parameters": [
  10851. {
  10852. "type": "integer",
  10853. "description": "用户ID",
  10854. "name": "userid",
  10855. "in": "query",
  10856. "required": true
  10857. },
  10858. {
  10859. "type": "integer",
  10860. "description": "用户类型 1-个人 2-企业",
  10861. "name": "userinfotype",
  10862. "in": "query"
  10863. },
  10864. {
  10865. "type": "integer",
  10866. "description": "交易模式",
  10867. "name": "trademode",
  10868. "in": "query"
  10869. },
  10870. {
  10871. "type": "integer",
  10872. "description": "商品id",
  10873. "name": "goodsid",
  10874. "in": "query"
  10875. },
  10876. {
  10877. "type": "string",
  10878. "description": "名称(模糊搜索账户)",
  10879. "name": "filtername",
  10880. "in": "query"
  10881. },
  10882. {
  10883. "type": "integer",
  10884. "description": "是否包含子级 1-包含",
  10885. "name": "includesub",
  10886. "in": "query"
  10887. }
  10888. ],
  10889. "responses": {
  10890. "200": {
  10891. "description": "OK",
  10892. "schema": {
  10893. "type": "array",
  10894. "items": {
  10895. "$ref": "#/definitions/models.QhjMgrPositionRsp"
  10896. }
  10897. }
  10898. },
  10899. "500": {
  10900. "description": "Internal Server Error",
  10901. "schema": {
  10902. "$ref": "#/definitions/app.Response"
  10903. }
  10904. }
  10905. }
  10906. }
  10907. },
  10908. "/QhjSys/QueryAgreementChangeLog": {
  10909. "get": {
  10910. "security": [
  10911. {
  10912. "ApiKeyAuth": []
  10913. }
  10914. ],
  10915. "produces": [
  10916. "application/json"
  10917. ],
  10918. "tags": [
  10919. "大连千海金(协议和签约信息)"
  10920. ],
  10921. "summary": "查询协议配置变更流水",
  10922. "parameters": [
  10923. {
  10924. "type": "integer",
  10925. "description": "协议ID",
  10926. "name": "agreementid",
  10927. "in": "query"
  10928. },
  10929. {
  10930. "type": "integer",
  10931. "description": "协议版本号",
  10932. "name": "agreementversion",
  10933. "in": "query"
  10934. },
  10935. {
  10936. "type": "integer",
  10937. "description": "协议类型 - 1:注册 2:登录 3:交易",
  10938. "name": "agreementtype",
  10939. "in": "query"
  10940. },
  10941. {
  10942. "type": "string",
  10943. "description": "协议编号(模糊匹配)",
  10944. "name": "agreementno",
  10945. "in": "query"
  10946. },
  10947. {
  10948. "type": "string",
  10949. "description": "协议名称(模糊匹配)",
  10950. "name": "agreementname",
  10951. "in": "query"
  10952. }
  10953. ],
  10954. "responses": {
  10955. "200": {
  10956. "description": "OK",
  10957. "schema": {
  10958. "type": "array",
  10959. "items": {
  10960. "$ref": "#/definitions/models.QhjAgreementChangeLog"
  10961. }
  10962. }
  10963. },
  10964. "500": {
  10965. "description": "Internal Server Error",
  10966. "schema": {
  10967. "$ref": "#/definitions/app.Response"
  10968. }
  10969. }
  10970. }
  10971. }
  10972. },
  10973. "/QhjSys/QueryAgreementConfig": {
  10974. "get": {
  10975. "security": [
  10976. {
  10977. "ApiKeyAuth": []
  10978. }
  10979. ],
  10980. "produces": [
  10981. "application/json"
  10982. ],
  10983. "tags": [
  10984. "大连千海金(协议和签约信息)"
  10985. ],
  10986. "summary": "查询协议配置",
  10987. "parameters": [
  10988. {
  10989. "type": "integer",
  10990. "description": "协议ID",
  10991. "name": "agreementid",
  10992. "in": "query"
  10993. },
  10994. {
  10995. "type": "integer",
  10996. "description": "协议版本号",
  10997. "name": "agreementversion",
  10998. "in": "query"
  10999. },
  11000. {
  11001. "type": "integer",
  11002. "description": "协议类型 - 1:注册 2:登录 3:交易",
  11003. "name": "agreementtype",
  11004. "in": "query"
  11005. },
  11006. {
  11007. "type": "integer",
  11008. "description": "是否有效 - 是否有效 - 1:正常 2:停用 3:注销",
  11009. "name": "isvalid",
  11010. "in": "query"
  11011. },
  11012. {
  11013. "type": "string",
  11014. "description": "协议编号(模糊匹配)",
  11015. "name": "agreementno",
  11016. "in": "query"
  11017. },
  11018. {
  11019. "type": "string",
  11020. "description": "协议名称(模糊匹配)",
  11021. "name": "agreementname",
  11022. "in": "query"
  11023. }
  11024. ],
  11025. "responses": {
  11026. "200": {
  11027. "description": "OK",
  11028. "schema": {
  11029. "type": "array",
  11030. "items": {
  11031. "$ref": "#/definitions/models.QhjAgreementConfig"
  11032. }
  11033. }
  11034. },
  11035. "500": {
  11036. "description": "Internal Server Error",
  11037. "schema": {
  11038. "$ref": "#/definitions/app.Response"
  11039. }
  11040. }
  11041. }
  11042. }
  11043. },
  11044. "/QhjSys/QueryCustomerSignStatus": {
  11045. "get": {
  11046. "security": [
  11047. {
  11048. "ApiKeyAuth": []
  11049. }
  11050. ],
  11051. "produces": [
  11052. "application/json"
  11053. ],
  11054. "tags": [
  11055. "大连千海金(协议和签约信息)"
  11056. ],
  11057. "summary": "查询客户协议签约状态",
  11058. "parameters": [
  11059. {
  11060. "type": "integer",
  11061. "description": "客户ID",
  11062. "name": "userid",
  11063. "in": "query"
  11064. },
  11065. {
  11066. "type": "integer",
  11067. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  11068. "name": "nodetype",
  11069. "in": "query"
  11070. },
  11071. {
  11072. "type": "integer",
  11073. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  11074. "name": "goodsid",
  11075. "in": "query"
  11076. },
  11077. {
  11078. "type": "string",
  11079. "description": "创建交易日(yyyyMMdd)",
  11080. "name": "tradedate",
  11081. "in": "query"
  11082. },
  11083. {
  11084. "type": "string",
  11085. "description": "用户名称(模糊匹配)",
  11086. "name": "username",
  11087. "in": "query"
  11088. }
  11089. ],
  11090. "responses": {
  11091. "200": {
  11092. "description": "OK",
  11093. "schema": {
  11094. "type": "array",
  11095. "items": {
  11096. "$ref": "#/definitions/models.QhjCustomerSignStatus"
  11097. }
  11098. }
  11099. },
  11100. "500": {
  11101. "description": "Internal Server Error",
  11102. "schema": {
  11103. "$ref": "#/definitions/app.Response"
  11104. }
  11105. }
  11106. }
  11107. }
  11108. },
  11109. "/QhjSys/QueryNodeAgreementConfig": {
  11110. "get": {
  11111. "security": [
  11112. {
  11113. "ApiKeyAuth": []
  11114. }
  11115. ],
  11116. "produces": [
  11117. "application/json"
  11118. ],
  11119. "tags": [
  11120. "大连千海金(协议和签约信息)"
  11121. ],
  11122. "summary": "查询协议节点配置",
  11123. "parameters": [
  11124. {
  11125. "type": "integer",
  11126. "description": "配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  11127. "name": "configid",
  11128. "in": "query"
  11129. },
  11130. {
  11131. "type": "integer",
  11132. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  11133. "name": "nodetype",
  11134. "in": "query"
  11135. },
  11136. {
  11137. "type": "integer",
  11138. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  11139. "name": "goodsid",
  11140. "in": "query"
  11141. },
  11142. {
  11143. "type": "integer",
  11144. "description": "协议ID",
  11145. "name": "agreementid",
  11146. "in": "query"
  11147. },
  11148. {
  11149. "type": "integer",
  11150. "description": "协议类型 - 1:注册 2:登录 3:交易",
  11151. "name": "agreementtype",
  11152. "in": "query"
  11153. },
  11154. {
  11155. "type": "integer",
  11156. "description": "协议版本号",
  11157. "name": "agreementversion",
  11158. "in": "query"
  11159. },
  11160. {
  11161. "type": "string",
  11162. "description": "协议编号(模糊匹配)",
  11163. "name": "agreementno",
  11164. "in": "query"
  11165. },
  11166. {
  11167. "type": "string",
  11168. "description": "协议名称(模糊匹配)",
  11169. "name": "agreementname",
  11170. "in": "query"
  11171. }
  11172. ],
  11173. "responses": {
  11174. "200": {
  11175. "description": "OK",
  11176. "schema": {
  11177. "type": "array",
  11178. "items": {
  11179. "$ref": "#/definitions/models.QhjNodeAgreementConfig"
  11180. }
  11181. }
  11182. },
  11183. "500": {
  11184. "description": "Internal Server Error",
  11185. "schema": {
  11186. "$ref": "#/definitions/app.Response"
  11187. }
  11188. }
  11189. }
  11190. }
  11191. },
  11192. "/QhjSys/QueryQhjCustomerSignLog": {
  11193. "get": {
  11194. "security": [
  11195. {
  11196. "ApiKeyAuth": []
  11197. }
  11198. ],
  11199. "produces": [
  11200. "application/json"
  11201. ],
  11202. "tags": [
  11203. "大连千海金(协议和签约信息)"
  11204. ],
  11205. "summary": "查询客户协议签约流水",
  11206. "parameters": [
  11207. {
  11208. "type": "integer",
  11209. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  11210. "name": "logid",
  11211. "in": "query"
  11212. },
  11213. {
  11214. "type": "integer",
  11215. "description": "客户ID",
  11216. "name": "userid",
  11217. "in": "query"
  11218. },
  11219. {
  11220. "type": "integer",
  11221. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  11222. "name": "nodetype",
  11223. "in": "query"
  11224. },
  11225. {
  11226. "type": "integer",
  11227. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  11228. "name": "goodsid",
  11229. "in": "query"
  11230. },
  11231. {
  11232. "type": "integer",
  11233. "description": "协议ID",
  11234. "name": "agreementid",
  11235. "in": "query"
  11236. },
  11237. {
  11238. "type": "string",
  11239. "description": "用户名称(模糊匹配)",
  11240. "name": "username",
  11241. "in": "query"
  11242. },
  11243. {
  11244. "type": "string",
  11245. "description": "协议编号(模糊匹配)",
  11246. "name": "agreementno",
  11247. "in": "query"
  11248. },
  11249. {
  11250. "type": "string",
  11251. "description": "协议名称(模糊匹配)",
  11252. "name": "agreementname",
  11253. "in": "query"
  11254. }
  11255. ],
  11256. "responses": {
  11257. "200": {
  11258. "description": "OK",
  11259. "schema": {
  11260. "type": "array",
  11261. "items": {
  11262. "$ref": "#/definitions/models.QhjCustomerSignLog"
  11263. }
  11264. }
  11265. },
  11266. "500": {
  11267. "description": "Internal Server Error",
  11268. "schema": {
  11269. "$ref": "#/definitions/app.Response"
  11270. }
  11271. }
  11272. }
  11273. }
  11274. },
  11275. "/QhjSys/QueryUserNodeCfgAndStatus": {
  11276. "get": {
  11277. "security": [
  11278. {
  11279. "ApiKeyAuth": []
  11280. }
  11281. ],
  11282. "produces": [
  11283. "application/json"
  11284. ],
  11285. "tags": [
  11286. "大连千海金(协议和签约信息)"
  11287. ],
  11288. "summary": "查询用户协议节点配置和状态",
  11289. "parameters": [
  11290. {
  11291. "type": "integer",
  11292. "description": "客户ID",
  11293. "name": "userid",
  11294. "in": "query"
  11295. },
  11296. {
  11297. "type": "integer",
  11298. "description": "配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  11299. "name": "configid",
  11300. "in": "query"
  11301. },
  11302. {
  11303. "type": "string",
  11304. "description": "环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  11305. "name": "nodetype",
  11306. "in": "query"
  11307. },
  11308. {
  11309. "type": "integer",
  11310. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  11311. "name": "goodsid",
  11312. "in": "query"
  11313. },
  11314. {
  11315. "type": "integer",
  11316. "description": "协议ID",
  11317. "name": "agreementid",
  11318. "in": "query"
  11319. },
  11320. {
  11321. "type": "integer",
  11322. "description": "协议类型 - 1:注册 2:登录 3:交易",
  11323. "name": "agreementtype",
  11324. "in": "query"
  11325. },
  11326. {
  11327. "type": "integer",
  11328. "description": "协议版本号",
  11329. "name": "agreementversion",
  11330. "in": "query"
  11331. },
  11332. {
  11333. "type": "string",
  11334. "description": "协议编号(模糊匹配)",
  11335. "name": "agreementno",
  11336. "in": "query"
  11337. },
  11338. {
  11339. "type": "string",
  11340. "description": "协议名称(模糊匹配)",
  11341. "name": "agreementname",
  11342. "in": "query"
  11343. }
  11344. ],
  11345. "responses": {
  11346. "200": {
  11347. "description": "OK",
  11348. "schema": {
  11349. "type": "array",
  11350. "items": {
  11351. "$ref": "#/definitions/models.QhjUserNodeCfgAndStatus"
  11352. }
  11353. }
  11354. },
  11355. "500": {
  11356. "description": "Internal Server Error",
  11357. "schema": {
  11358. "$ref": "#/definitions/app.Response"
  11359. }
  11360. }
  11361. }
  11362. }
  11363. },
  11364. "/Quote/QueryHistoryDatas": {
  11365. "get": {
  11366. "security": [
  11367. {
  11368. "ApiKeyAuth": []
  11369. }
  11370. ],
  11371. "produces": [
  11372. "application/json"
  11373. ],
  11374. "tags": [
  11375. "行情服务"
  11376. ],
  11377. "summary": "查询行情历史数据",
  11378. "parameters": [
  11379. {
  11380. "type": "integer",
  11381. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线 12:周线 13:月线 14:年线",
  11382. "name": "cycleType",
  11383. "in": "query",
  11384. "required": true
  11385. },
  11386. {
  11387. "type": "string",
  11388. "description": "商品代码",
  11389. "name": "goodsCode",
  11390. "in": "query",
  11391. "required": true
  11392. },
  11393. {
  11394. "type": "string",
  11395. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  11396. "name": "startTime",
  11397. "in": "query"
  11398. },
  11399. {
  11400. "type": "string",
  11401. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  11402. "name": "endTime",
  11403. "in": "query"
  11404. },
  11405. {
  11406. "type": "integer",
  11407. "description": "条数",
  11408. "name": "count",
  11409. "in": "query"
  11410. },
  11411. {
  11412. "type": "boolean",
  11413. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  11414. "name": "isAsc",
  11415. "in": "query"
  11416. }
  11417. ],
  11418. "responses": {
  11419. "200": {
  11420. "description": "OK",
  11421. "schema": {
  11422. "$ref": "#/definitions/quote.HistoryData"
  11423. }
  11424. },
  11425. "500": {
  11426. "description": "Internal Server Error",
  11427. "schema": {
  11428. "$ref": "#/definitions/app.Response"
  11429. }
  11430. }
  11431. }
  11432. }
  11433. },
  11434. "/Quote/QueryHistoryTikDatas": {
  11435. "get": {
  11436. "security": [
  11437. {
  11438. "ApiKeyAuth": []
  11439. }
  11440. ],
  11441. "produces": [
  11442. "application/json"
  11443. ],
  11444. "tags": [
  11445. "行情服务"
  11446. ],
  11447. "summary": "查询行情Tik数据",
  11448. "parameters": [
  11449. {
  11450. "type": "string",
  11451. "description": "商品代码",
  11452. "name": "goodsCode",
  11453. "in": "query",
  11454. "required": true
  11455. },
  11456. {
  11457. "type": "string",
  11458. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  11459. "name": "startTime",
  11460. "in": "query"
  11461. },
  11462. {
  11463. "type": "string",
  11464. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  11465. "name": "endTime",
  11466. "in": "query"
  11467. },
  11468. {
  11469. "type": "integer",
  11470. "description": "条数",
  11471. "name": "count",
  11472. "in": "query"
  11473. },
  11474. {
  11475. "type": "boolean",
  11476. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  11477. "name": "isAsc",
  11478. "in": "query"
  11479. }
  11480. ],
  11481. "responses": {
  11482. "200": {
  11483. "description": "OK",
  11484. "schema": {
  11485. "$ref": "#/definitions/quote.HistoryTikData"
  11486. }
  11487. },
  11488. "500": {
  11489. "description": "Internal Server Error",
  11490. "schema": {
  11491. "$ref": "#/definitions/app.Response"
  11492. }
  11493. }
  11494. }
  11495. }
  11496. },
  11497. "/Quote/QueryQuoteDay": {
  11498. "get": {
  11499. "security": [
  11500. {
  11501. "ApiKeyAuth": []
  11502. }
  11503. ],
  11504. "produces": [
  11505. "application/json"
  11506. ],
  11507. "tags": [
  11508. "行情服务"
  11509. ],
  11510. "summary": "获取商品盘面信息",
  11511. "parameters": [
  11512. {
  11513. "type": "string",
  11514. "description": "此参数不填则查所有;商品代码列表,格式:CU2102,CU2103,AL2107",
  11515. "name": "goodsCodes",
  11516. "in": "query"
  11517. }
  11518. ],
  11519. "responses": {
  11520. "200": {
  11521. "description": "OK",
  11522. "schema": {
  11523. "$ref": "#/definitions/quote.QueryQuoteDayRsp"
  11524. }
  11525. },
  11526. "500": {
  11527. "description": "Internal Server Error",
  11528. "schema": {
  11529. "$ref": "#/definitions/app.Response"
  11530. }
  11531. }
  11532. }
  11533. }
  11534. },
  11535. "/Quote/QueryTSData": {
  11536. "get": {
  11537. "security": [
  11538. {
  11539. "ApiKeyAuth": []
  11540. }
  11541. ],
  11542. "produces": [
  11543. "application/json"
  11544. ],
  11545. "tags": [
  11546. "行情服务"
  11547. ],
  11548. "summary": "分时图数据查询",
  11549. "parameters": [
  11550. {
  11551. "type": "string",
  11552. "description": "商品代码",
  11553. "name": "goodsCode",
  11554. "in": "query",
  11555. "required": true
  11556. }
  11557. ],
  11558. "responses": {
  11559. "200": {
  11560. "description": "OK",
  11561. "schema": {
  11562. "$ref": "#/definitions/quote.QueryTSDataRsp"
  11563. }
  11564. },
  11565. "500": {
  11566. "description": "Internal Server Error",
  11567. "schema": {
  11568. "$ref": "#/definitions/app.Response"
  11569. }
  11570. }
  11571. }
  11572. }
  11573. },
  11574. "/SZDZ/QueryConvertConfig": {
  11575. "get": {
  11576. "security": [
  11577. {
  11578. "ApiKeyAuth": []
  11579. }
  11580. ],
  11581. "produces": [
  11582. "application/json"
  11583. ],
  11584. "tags": [
  11585. "定制【尚志大宗】"
  11586. ],
  11587. "summary": "查询交易系统转换设置",
  11588. "parameters": [
  11589. {
  11590. "type": "integer",
  11591. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  11592. "name": "convertType",
  11593. "in": "query"
  11594. },
  11595. {
  11596. "type": "string",
  11597. "description": "外部商品代码[JD\\PD]",
  11598. "name": "outerGoodsCode",
  11599. "in": "query"
  11600. },
  11601. {
  11602. "type": "string",
  11603. "description": "内部商品ID列表[交易],格式:1,2,3",
  11604. "name": "innerGoodsIDs",
  11605. "in": "query"
  11606. }
  11607. ],
  11608. "responses": {
  11609. "200": {
  11610. "description": "OK",
  11611. "schema": {
  11612. "$ref": "#/definitions/models.Szdz3convertconfig"
  11613. }
  11614. },
  11615. "500": {
  11616. "description": "Internal Server Error",
  11617. "schema": {
  11618. "$ref": "#/definitions/app.Response"
  11619. }
  11620. }
  11621. }
  11622. }
  11623. },
  11624. "/SZDZ/QueryConvertLog": {
  11625. "get": {
  11626. "security": [
  11627. {
  11628. "ApiKeyAuth": []
  11629. }
  11630. ],
  11631. "produces": [
  11632. "application/json"
  11633. ],
  11634. "tags": [
  11635. "定制【尚志大宗】"
  11636. ],
  11637. "summary": "交易系统转换流水查询",
  11638. "parameters": [
  11639. {
  11640. "type": "string",
  11641. "description": "资金账户 - 格式:1,2,3",
  11642. "name": "accountID",
  11643. "in": "query",
  11644. "required": true
  11645. },
  11646. {
  11647. "type": "string",
  11648. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  11649. "name": "startDate",
  11650. "in": "query"
  11651. },
  11652. {
  11653. "type": "string",
  11654. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  11655. "name": "endDate",
  11656. "in": "query"
  11657. }
  11658. ],
  11659. "responses": {
  11660. "200": {
  11661. "description": "OK",
  11662. "schema": {
  11663. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  11664. }
  11665. },
  11666. "500": {
  11667. "description": "Internal Server Error",
  11668. "schema": {
  11669. "$ref": "#/definitions/app.Response"
  11670. }
  11671. }
  11672. }
  11673. }
  11674. },
  11675. "/SZDZ/QueryGoodsPickup": {
  11676. "get": {
  11677. "security": [
  11678. {
  11679. "ApiKeyAuth": []
  11680. }
  11681. ],
  11682. "produces": [
  11683. "application/json"
  11684. ],
  11685. "tags": [
  11686. "定制【尚志大宗】"
  11687. ],
  11688. "summary": "商品提货单查询",
  11689. "parameters": [
  11690. {
  11691. "type": "string",
  11692. "description": "资金账户 - 格式:1,2,3",
  11693. "name": "accountID",
  11694. "in": "query",
  11695. "required": true
  11696. },
  11697. {
  11698. "type": "integer",
  11699. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  11700. "name": "takeOrderStatus",
  11701. "in": "query"
  11702. }
  11703. ],
  11704. "responses": {
  11705. "200": {
  11706. "description": "OK",
  11707. "schema": {
  11708. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  11709. }
  11710. },
  11711. "500": {
  11712. "description": "Internal Server Error",
  11713. "schema": {
  11714. "$ref": "#/definitions/app.Response"
  11715. }
  11716. }
  11717. }
  11718. }
  11719. },
  11720. "/SZDZ/QueryRecieptOrder": {
  11721. "get": {
  11722. "security": [
  11723. {
  11724. "ApiKeyAuth": []
  11725. }
  11726. ],
  11727. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  11728. "produces": [
  11729. "application/json"
  11730. ],
  11731. "tags": [
  11732. "定制【尚志大宗】"
  11733. ],
  11734. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  11735. "parameters": [
  11736. {
  11737. "type": "integer",
  11738. "description": "页码",
  11739. "name": "page",
  11740. "in": "query"
  11741. },
  11742. {
  11743. "type": "integer",
  11744. "description": "每页条数",
  11745. "name": "pagesize",
  11746. "in": "query"
  11747. },
  11748. {
  11749. "type": "integer",
  11750. "description": "商品ID",
  11751. "name": "goodsID",
  11752. "in": "query",
  11753. "required": true
  11754. },
  11755. {
  11756. "type": "string",
  11757. "description": "所属账户名称",
  11758. "name": "accountName",
  11759. "in": "query"
  11760. },
  11761. {
  11762. "type": "integer",
  11763. "description": "市场ID",
  11764. "name": "marketID",
  11765. "in": "query"
  11766. },
  11767. {
  11768. "type": "integer",
  11769. "description": "方向 - 0:买 1:卖",
  11770. "name": "buyorsell",
  11771. "in": "query",
  11772. "required": true
  11773. }
  11774. ],
  11775. "responses": {
  11776. "200": {
  11777. "description": "OK",
  11778. "schema": {
  11779. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  11780. }
  11781. },
  11782. "500": {
  11783. "description": "Internal Server Error",
  11784. "schema": {
  11785. "$ref": "#/definitions/app.Response"
  11786. }
  11787. }
  11788. }
  11789. }
  11790. },
  11791. "/SZDZ/QuerySZDZTradePosition": {
  11792. "get": {
  11793. "security": [
  11794. {
  11795. "ApiKeyAuth": []
  11796. }
  11797. ],
  11798. "produces": [
  11799. "application/json"
  11800. ],
  11801. "tags": [
  11802. "定制【尚志大宗】"
  11803. ],
  11804. "summary": "持仓汇总查询(尚志大宗)",
  11805. "parameters": [
  11806. {
  11807. "type": "integer",
  11808. "description": "资金账户",
  11809. "name": "accountID",
  11810. "in": "query",
  11811. "required": true
  11812. }
  11813. ],
  11814. "responses": {
  11815. "200": {
  11816. "description": "OK",
  11817. "schema": {
  11818. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  11819. }
  11820. },
  11821. "500": {
  11822. "description": "Internal Server Error",
  11823. "schema": {
  11824. "$ref": "#/definitions/app.Response"
  11825. }
  11826. }
  11827. }
  11828. }
  11829. },
  11830. "/SZDZ/SearchWhite": {
  11831. "get": {
  11832. "security": [
  11833. {
  11834. "ApiKeyAuth": []
  11835. }
  11836. ],
  11837. "produces": [
  11838. "application/json"
  11839. ],
  11840. "tags": [
  11841. "定制【尚志大宗】"
  11842. ],
  11843. "summary": "搜索白名单",
  11844. "parameters": [
  11845. {
  11846. "type": "integer",
  11847. "description": "用户ID",
  11848. "name": "userID",
  11849. "in": "query",
  11850. "required": true
  11851. }
  11852. ],
  11853. "responses": {
  11854. "200": {
  11855. "description": "OK",
  11856. "schema": {
  11857. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  11858. }
  11859. },
  11860. "500": {
  11861. "description": "Internal Server Error",
  11862. "schema": {
  11863. "$ref": "#/definitions/app.Response"
  11864. }
  11865. }
  11866. }
  11867. }
  11868. },
  11869. "/Search/SearchGoodses": {
  11870. "get": {
  11871. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  11872. "produces": [
  11873. "application/json"
  11874. ],
  11875. "tags": [
  11876. "检索服务"
  11877. ],
  11878. "summary": "检索商品信息",
  11879. "parameters": [
  11880. {
  11881. "type": "string",
  11882. "description": "检索内容",
  11883. "name": "content",
  11884. "in": "query",
  11885. "required": true
  11886. },
  11887. {
  11888. "type": "string",
  11889. "description": "交易模式,格式:1,2,3",
  11890. "name": "tradeModes",
  11891. "in": "query"
  11892. }
  11893. ],
  11894. "responses": {
  11895. "200": {
  11896. "description": "OK",
  11897. "schema": {
  11898. "$ref": "#/definitions/models.SearchGoods"
  11899. }
  11900. },
  11901. "500": {
  11902. "description": "Internal Server Error",
  11903. "schema": {
  11904. "$ref": "#/definitions/app.Response"
  11905. }
  11906. }
  11907. }
  11908. }
  11909. },
  11910. "/TaAccount/GetTaAccounts": {
  11911. "get": {
  11912. "security": [
  11913. {
  11914. "ApiKeyAuth": []
  11915. }
  11916. ],
  11917. "produces": [
  11918. "application/json"
  11919. ],
  11920. "tags": [
  11921. "资金账户"
  11922. ],
  11923. "summary": "获取资金账户信息",
  11924. "parameters": [
  11925. {
  11926. "type": "integer",
  11927. "description": "登录账户",
  11928. "name": "loginID",
  11929. "in": "query",
  11930. "required": true
  11931. },
  11932. {
  11933. "type": "integer",
  11934. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  11935. "name": "taAccountType",
  11936. "in": "query"
  11937. }
  11938. ],
  11939. "responses": {
  11940. "200": {
  11941. "description": "OK",
  11942. "schema": {
  11943. "$ref": "#/definitions/models.Taaccount"
  11944. }
  11945. },
  11946. "500": {
  11947. "description": "Internal Server Error",
  11948. "schema": {
  11949. "$ref": "#/definitions/app.Response"
  11950. }
  11951. }
  11952. }
  11953. }
  11954. },
  11955. "/TaAccount/QueryAmountLog": {
  11956. "get": {
  11957. "security": [
  11958. {
  11959. "ApiKeyAuth": []
  11960. }
  11961. ],
  11962. "produces": [
  11963. "application/json"
  11964. ],
  11965. "tags": [
  11966. "资金账户"
  11967. ],
  11968. "summary": "资金流水查询(当前)",
  11969. "parameters": [
  11970. {
  11971. "type": "integer",
  11972. "description": "页码",
  11973. "name": "page",
  11974. "in": "query"
  11975. },
  11976. {
  11977. "type": "integer",
  11978. "description": "每页条数",
  11979. "name": "pagesize",
  11980. "in": "query"
  11981. },
  11982. {
  11983. "type": "string",
  11984. "description": "资金账户 - 格式:1,2,3",
  11985. "name": "accountID",
  11986. "in": "query",
  11987. "required": true
  11988. },
  11989. {
  11990. "type": "string",
  11991. "description": "资金操作类型 - 格式:1,2,3",
  11992. "name": "OperateType",
  11993. "in": "query"
  11994. }
  11995. ],
  11996. "responses": {
  11997. "200": {
  11998. "description": "OK",
  11999. "schema": {
  12000. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  12001. }
  12002. },
  12003. "500": {
  12004. "description": "Internal Server Error",
  12005. "schema": {
  12006. "$ref": "#/definitions/app.Response"
  12007. }
  12008. }
  12009. }
  12010. }
  12011. },
  12012. "/TaAccount/QueryHisAmountLog": {
  12013. "get": {
  12014. "security": [
  12015. {
  12016. "ApiKeyAuth": []
  12017. }
  12018. ],
  12019. "produces": [
  12020. "application/json"
  12021. ],
  12022. "tags": [
  12023. "资金账户"
  12024. ],
  12025. "summary": "资金流水查询(历史)",
  12026. "parameters": [
  12027. {
  12028. "type": "integer",
  12029. "description": "页码",
  12030. "name": "page",
  12031. "in": "query"
  12032. },
  12033. {
  12034. "type": "integer",
  12035. "description": "每页条数",
  12036. "name": "pagesize",
  12037. "in": "query"
  12038. },
  12039. {
  12040. "type": "string",
  12041. "description": "资金账户 - 格式:1,2,3",
  12042. "name": "accountID",
  12043. "in": "query",
  12044. "required": true
  12045. },
  12046. {
  12047. "type": "string",
  12048. "description": "资金操作类型 - 格式:1,2,3",
  12049. "name": "OperateType",
  12050. "in": "query"
  12051. },
  12052. {
  12053. "type": "string",
  12054. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  12055. "name": "startDate",
  12056. "in": "query"
  12057. },
  12058. {
  12059. "type": "string",
  12060. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  12061. "name": "endDate",
  12062. "in": "query"
  12063. }
  12064. ],
  12065. "responses": {
  12066. "200": {
  12067. "description": "OK",
  12068. "schema": {
  12069. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  12070. }
  12071. },
  12072. "500": {
  12073. "description": "Internal Server Error",
  12074. "schema": {
  12075. "$ref": "#/definitions/app.Response"
  12076. }
  12077. }
  12078. }
  12079. }
  12080. },
  12081. "/TaAccount/QueryRelatedTaAccount": {
  12082. "get": {
  12083. "security": [
  12084. {
  12085. "ApiKeyAuth": []
  12086. }
  12087. ],
  12088. "produces": [
  12089. "application/json"
  12090. ],
  12091. "tags": [
  12092. "资金账户"
  12093. ],
  12094. "summary": "查询关联资金账户信息",
  12095. "parameters": [
  12096. {
  12097. "type": "integer",
  12098. "description": "关联UserID",
  12099. "name": "relateduserid",
  12100. "in": "query",
  12101. "required": true
  12102. }
  12103. ],
  12104. "responses": {
  12105. "200": {
  12106. "description": "OK",
  12107. "schema": {
  12108. "type": "array",
  12109. "items": {
  12110. "$ref": "#/definitions/models.RelatedTaAccount"
  12111. }
  12112. }
  12113. },
  12114. "500": {
  12115. "description": "Internal Server Error",
  12116. "schema": {
  12117. "$ref": "#/definitions/app.Response"
  12118. }
  12119. }
  12120. }
  12121. }
  12122. },
  12123. "/Tjmd/QueryQuoteGoodsList": {
  12124. "get": {
  12125. "security": [
  12126. {
  12127. "ApiKeyAuth": []
  12128. }
  12129. ],
  12130. "description": "用户类型必传, 查掉期报价列表 marketids=掉期市场id",
  12131. "produces": [
  12132. "application/json"
  12133. ],
  12134. "tags": [
  12135. "天津麦顿"
  12136. ],
  12137. "summary": "查询掉期报价列表",
  12138. "parameters": [
  12139. {
  12140. "type": "integer",
  12141. "description": "用户类型",
  12142. "name": "usertype",
  12143. "in": "query",
  12144. "required": true
  12145. },
  12146. {
  12147. "type": "string",
  12148. "description": "市场id, 格式 1,2,3",
  12149. "name": "marketids",
  12150. "in": "query"
  12151. },
  12152. {
  12153. "type": "integer",
  12154. "description": "商品组id",
  12155. "name": "goodsgroupid",
  12156. "in": "query"
  12157. },
  12158. {
  12159. "type": "integer",
  12160. "description": "商品id",
  12161. "name": "goodsid",
  12162. "in": "query"
  12163. }
  12164. ],
  12165. "responses": {
  12166. "200": {
  12167. "description": "OK",
  12168. "schema": {
  12169. "type": "array",
  12170. "items": {
  12171. "$ref": "#/definitions/models.TjmdQuoteGoods"
  12172. }
  12173. }
  12174. },
  12175. "500": {
  12176. "description": "Internal Server Error",
  12177. "schema": {
  12178. "$ref": "#/definitions/app.Response"
  12179. }
  12180. }
  12181. }
  12182. }
  12183. },
  12184. "/Tjmd/QueryTjmdHolderDetailTradeInfo": {
  12185. "get": {
  12186. "security": [
  12187. {
  12188. "ApiKeyAuth": []
  12189. }
  12190. ],
  12191. "produces": [
  12192. "application/json"
  12193. ],
  12194. "tags": [
  12195. "天津麦顿"
  12196. ],
  12197. "summary": "掉期商品订单详情(交易确认书)",
  12198. "parameters": [
  12199. {
  12200. "type": "string",
  12201. "description": "成交单号",
  12202. "name": "tradeid",
  12203. "in": "query",
  12204. "required": true
  12205. }
  12206. ],
  12207. "responses": {
  12208. "200": {
  12209. "description": "OK",
  12210. "schema": {
  12211. "type": "array",
  12212. "items": {
  12213. "$ref": "#/definitions/models.TjmdHolderDetailTradeInfo"
  12214. }
  12215. }
  12216. },
  12217. "500": {
  12218. "description": "Internal Server Error",
  12219. "schema": {
  12220. "$ref": "#/definitions/app.Response"
  12221. }
  12222. }
  12223. }
  12224. }
  12225. },
  12226. "/Tjmd/QueryTjmdMarketSection": {
  12227. "get": {
  12228. "security": [
  12229. {
  12230. "ApiKeyAuth": []
  12231. }
  12232. ],
  12233. "produces": [
  12234. "application/json"
  12235. ],
  12236. "tags": [
  12237. "天津麦顿"
  12238. ],
  12239. "summary": "查询市场板块",
  12240. "responses": {
  12241. "200": {
  12242. "description": "OK",
  12243. "schema": {
  12244. "type": "array",
  12245. "items": {
  12246. "$ref": "#/definitions/models.TjmdMarketSection"
  12247. }
  12248. }
  12249. },
  12250. "500": {
  12251. "description": "Internal Server Error",
  12252. "schema": {
  12253. "$ref": "#/definitions/app.Response"
  12254. }
  12255. }
  12256. }
  12257. }
  12258. },
  12259. "/Tjmd/QueryTjmdTodayAccountMargin": {
  12260. "get": {
  12261. "security": [
  12262. {
  12263. "ApiKeyAuth": []
  12264. }
  12265. ],
  12266. "produces": [
  12267. "application/json"
  12268. ],
  12269. "tags": [
  12270. "天津麦顿"
  12271. ],
  12272. "summary": "查询今日账户保证金配置",
  12273. "parameters": [
  12274. {
  12275. "type": "string",
  12276. "description": "市场id",
  12277. "name": "marketid",
  12278. "in": "query"
  12279. },
  12280. {
  12281. "type": "string",
  12282. "description": "商品id",
  12283. "name": "goodsid",
  12284. "in": "query"
  12285. },
  12286. {
  12287. "type": "string",
  12288. "description": "资金账号",
  12289. "name": "accountid",
  12290. "in": "query"
  12291. }
  12292. ],
  12293. "responses": {
  12294. "200": {
  12295. "description": "OK",
  12296. "schema": {
  12297. "type": "array",
  12298. "items": {
  12299. "$ref": "#/definitions/models.TjmdTodayAccountMargin"
  12300. }
  12301. }
  12302. },
  12303. "500": {
  12304. "description": "Internal Server Error",
  12305. "schema": {
  12306. "$ref": "#/definitions/app.Response"
  12307. }
  12308. }
  12309. }
  12310. }
  12311. },
  12312. "/Tjmd/QueryTjmdTradeOrderDetail": {
  12313. "get": {
  12314. "security": [
  12315. {
  12316. "ApiKeyAuth": []
  12317. }
  12318. ],
  12319. "description": "用户类型必传, 投资者只能看到自营会员的单, 反之亦然",
  12320. "produces": [
  12321. "application/json"
  12322. ],
  12323. "tags": [
  12324. "天津麦顿"
  12325. ],
  12326. "summary": "查询掉期买卖大厅",
  12327. "parameters": [
  12328. {
  12329. "type": "integer",
  12330. "description": "页码",
  12331. "name": "page",
  12332. "in": "query"
  12333. },
  12334. {
  12335. "type": "integer",
  12336. "description": "每页条数",
  12337. "name": "pagesize",
  12338. "in": "query"
  12339. },
  12340. {
  12341. "type": "integer",
  12342. "description": "用户id",
  12343. "name": "userid",
  12344. "in": "query",
  12345. "required": true
  12346. },
  12347. {
  12348. "type": "integer",
  12349. "description": "用户类型",
  12350. "name": "usertype",
  12351. "in": "query",
  12352. "required": true
  12353. },
  12354. {
  12355. "type": "string",
  12356. "description": "市场id, 格式 1,2,3",
  12357. "name": "marketids",
  12358. "in": "query"
  12359. },
  12360. {
  12361. "type": "integer",
  12362. "description": "商品id",
  12363. "name": "goodsid",
  12364. "in": "query",
  12365. "required": true
  12366. },
  12367. {
  12368. "type": "integer",
  12369. "description": "买卖方向 0-买 1-卖",
  12370. "name": "buyorsell",
  12371. "in": "query",
  12372. "required": true
  12373. }
  12374. ],
  12375. "responses": {
  12376. "200": {
  12377. "description": "OK",
  12378. "schema": {
  12379. "type": "array",
  12380. "items": {
  12381. "$ref": "#/definitions/models.TjmdTradeOrderDetail"
  12382. }
  12383. }
  12384. },
  12385. "500": {
  12386. "description": "Internal Server Error",
  12387. "schema": {
  12388. "$ref": "#/definitions/app.Response"
  12389. }
  12390. }
  12391. }
  12392. }
  12393. },
  12394. "/Tjmd/QueryTjmdTransferApply": {
  12395. "get": {
  12396. "security": [
  12397. {
  12398. "ApiKeyAuth": []
  12399. }
  12400. ],
  12401. "produces": [
  12402. "application/json"
  12403. ],
  12404. "tags": [
  12405. "天津麦顿"
  12406. ],
  12407. "summary": "查询掉期协议单",
  12408. "parameters": [
  12409. {
  12410. "type": "integer",
  12411. "description": "类型 1-我的申请 2-对方申请",
  12412. "name": "applytype",
  12413. "in": "query",
  12414. "required": true
  12415. },
  12416. {
  12417. "type": "string",
  12418. "description": "市场id, 格式 1,2,3",
  12419. "name": "marketids",
  12420. "in": "query"
  12421. },
  12422. {
  12423. "type": "string",
  12424. "description": "资金账号, 格式 25000000001,25000000003",
  12425. "name": "accountids",
  12426. "in": "query"
  12427. },
  12428. {
  12429. "type": "string",
  12430. "description": "开始交易日(yyyymmdd)",
  12431. "name": "begindate",
  12432. "in": "query"
  12433. },
  12434. {
  12435. "type": "string",
  12436. "description": "结束交易日(yyyymmdd)",
  12437. "name": "enddate",
  12438. "in": "query"
  12439. }
  12440. ],
  12441. "responses": {
  12442. "200": {
  12443. "description": "OK",
  12444. "schema": {
  12445. "type": "array",
  12446. "items": {
  12447. "$ref": "#/definitions/models.TjmdTransferApply"
  12448. }
  12449. }
  12450. },
  12451. "500": {
  12452. "description": "Internal Server Error",
  12453. "schema": {
  12454. "$ref": "#/definitions/app.Response"
  12455. }
  12456. }
  12457. }
  12458. }
  12459. },
  12460. "/Trade/QueryRecieptOrder": {
  12461. "get": {
  12462. "security": [
  12463. {
  12464. "ApiKeyAuth": []
  12465. }
  12466. ],
  12467. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  12468. "produces": [
  12469. "application/json"
  12470. ],
  12471. "tags": [
  12472. "通用交易"
  12473. ],
  12474. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  12475. "parameters": [
  12476. {
  12477. "type": "integer",
  12478. "description": "页码",
  12479. "name": "page",
  12480. "in": "query"
  12481. },
  12482. {
  12483. "type": "integer",
  12484. "description": "每页条数",
  12485. "name": "pagesize",
  12486. "in": "query"
  12487. },
  12488. {
  12489. "type": "integer",
  12490. "description": "商品ID",
  12491. "name": "goodsID",
  12492. "in": "query",
  12493. "required": true
  12494. },
  12495. {
  12496. "type": "string",
  12497. "description": "所属账户名称",
  12498. "name": "accountName",
  12499. "in": "query"
  12500. },
  12501. {
  12502. "type": "integer",
  12503. "description": "市场ID",
  12504. "name": "marketID",
  12505. "in": "query"
  12506. },
  12507. {
  12508. "type": "integer",
  12509. "description": "方向 - 0:买 1:卖",
  12510. "name": "buyorsell",
  12511. "in": "query",
  12512. "required": true
  12513. }
  12514. ],
  12515. "responses": {
  12516. "200": {
  12517. "description": "OK",
  12518. "schema": {
  12519. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  12520. }
  12521. },
  12522. "500": {
  12523. "description": "Internal Server Error",
  12524. "schema": {
  12525. "$ref": "#/definitions/app.Response"
  12526. }
  12527. }
  12528. }
  12529. }
  12530. },
  12531. "/User/AddMessageBoard": {
  12532. "post": {
  12533. "security": [
  12534. {
  12535. "ApiKeyAuth": []
  12536. }
  12537. ],
  12538. "produces": [
  12539. "application/json"
  12540. ],
  12541. "tags": [
  12542. "用户信息"
  12543. ],
  12544. "summary": "添加用户留言板信息",
  12545. "parameters": [
  12546. {
  12547. "type": "integer",
  12548. "description": "用户ID",
  12549. "name": "userID",
  12550. "in": "query",
  12551. "required": true
  12552. },
  12553. {
  12554. "type": "string",
  12555. "description": "留言信息",
  12556. "name": "message",
  12557. "in": "query",
  12558. "required": true
  12559. },
  12560. {
  12561. "type": "string",
  12562. "description": "联系电话",
  12563. "name": "contactNum",
  12564. "in": "query",
  12565. "required": true
  12566. }
  12567. ],
  12568. "responses": {
  12569. "200": {
  12570. "description": "OK",
  12571. "schema": {
  12572. "$ref": "#/definitions/app.Response"
  12573. }
  12574. },
  12575. "500": {
  12576. "description": "Internal Server Error",
  12577. "schema": {
  12578. "$ref": "#/definitions/app.Response"
  12579. }
  12580. }
  12581. }
  12582. }
  12583. },
  12584. "/User/AddUserFavoriteGoods": {
  12585. "post": {
  12586. "security": [
  12587. {
  12588. "ApiKeyAuth": []
  12589. }
  12590. ],
  12591. "produces": [
  12592. "application/json"
  12593. ],
  12594. "tags": [
  12595. "用户信息"
  12596. ],
  12597. "summary": "添加用户商品收藏信息",
  12598. "parameters": [
  12599. {
  12600. "type": "integer",
  12601. "description": "用户ID",
  12602. "name": "userID",
  12603. "in": "query",
  12604. "required": true
  12605. },
  12606. {
  12607. "type": "integer",
  12608. "description": "商品ID",
  12609. "name": "goodsID",
  12610. "in": "query",
  12611. "required": true
  12612. }
  12613. ],
  12614. "responses": {
  12615. "200": {
  12616. "description": "OK",
  12617. "schema": {
  12618. "$ref": "#/definitions/app.Response"
  12619. }
  12620. },
  12621. "500": {
  12622. "description": "Internal Server Error",
  12623. "schema": {
  12624. "$ref": "#/definitions/app.Response"
  12625. }
  12626. }
  12627. }
  12628. }
  12629. },
  12630. "/User/GetLoginID": {
  12631. "get": {
  12632. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  12633. "produces": [
  12634. "application/json"
  12635. ],
  12636. "tags": [
  12637. "用户信息"
  12638. ],
  12639. "summary": "获取登录ID",
  12640. "parameters": [
  12641. {
  12642. "type": "string",
  12643. "description": "登录代码",
  12644. "name": "username",
  12645. "in": "query",
  12646. "required": true
  12647. }
  12648. ],
  12649. "responses": {
  12650. "200": {
  12651. "description": "OK",
  12652. "schema": {
  12653. "$ref": "#/definitions/app.Response"
  12654. }
  12655. },
  12656. "500": {
  12657. "description": "Internal Server Error",
  12658. "schema": {
  12659. "$ref": "#/definitions/app.Response"
  12660. }
  12661. }
  12662. }
  12663. }
  12664. },
  12665. "/User/GetUserAccount": {
  12666. "get": {
  12667. "security": [
  12668. {
  12669. "ApiKeyAuth": []
  12670. }
  12671. ],
  12672. "produces": [
  12673. "application/json"
  12674. ],
  12675. "tags": [
  12676. "用户信息"
  12677. ],
  12678. "summary": "获取用户账号信息",
  12679. "parameters": [
  12680. {
  12681. "type": "integer",
  12682. "description": "用户ID",
  12683. "name": "userID",
  12684. "in": "query",
  12685. "required": true
  12686. }
  12687. ],
  12688. "responses": {
  12689. "200": {
  12690. "description": "OK",
  12691. "schema": {
  12692. "$ref": "#/definitions/models.Useraccount"
  12693. }
  12694. },
  12695. "500": {
  12696. "description": "Internal Server Error",
  12697. "schema": {
  12698. "$ref": "#/definitions/app.Response"
  12699. }
  12700. }
  12701. }
  12702. }
  12703. },
  12704. "/User/GetUserAuthStatus": {
  12705. "get": {
  12706. "security": [
  12707. {
  12708. "ApiKeyAuth": []
  12709. }
  12710. ],
  12711. "produces": [
  12712. "application/json"
  12713. ],
  12714. "tags": [
  12715. "用户信息"
  12716. ],
  12717. "summary": "获取用户实名认证状态",
  12718. "parameters": [
  12719. {
  12720. "type": "integer",
  12721. "description": "用户ID",
  12722. "name": "userID",
  12723. "in": "query",
  12724. "required": true
  12725. }
  12726. ],
  12727. "responses": {
  12728. "200": {
  12729. "description": "OK",
  12730. "schema": {
  12731. "$ref": "#/definitions/app.Response"
  12732. }
  12733. },
  12734. "500": {
  12735. "description": "Internal Server Error",
  12736. "schema": {
  12737. "$ref": "#/definitions/app.Response"
  12738. }
  12739. }
  12740. }
  12741. }
  12742. },
  12743. "/User/LoginQuery": {
  12744. "get": {
  12745. "security": [
  12746. {
  12747. "ApiKeyAuth": []
  12748. }
  12749. ],
  12750. "produces": [
  12751. "application/json"
  12752. ],
  12753. "tags": [
  12754. "用户信息"
  12755. ],
  12756. "summary": "账户登录后信息查询",
  12757. "parameters": [
  12758. {
  12759. "type": "integer",
  12760. "description": "登录账号",
  12761. "name": "loginID",
  12762. "in": "query",
  12763. "required": true
  12764. }
  12765. ],
  12766. "responses": {
  12767. "200": {
  12768. "description": "OK",
  12769. "schema": {
  12770. "$ref": "#/definitions/user.LoginQueryRsp"
  12771. }
  12772. },
  12773. "500": {
  12774. "description": "Internal Server Error",
  12775. "schema": {
  12776. "$ref": "#/definitions/app.Response"
  12777. }
  12778. }
  12779. }
  12780. }
  12781. },
  12782. "/User/QueryMessageBoard": {
  12783. "get": {
  12784. "security": [
  12785. {
  12786. "ApiKeyAuth": []
  12787. }
  12788. ],
  12789. "produces": [
  12790. "application/json"
  12791. ],
  12792. "tags": [
  12793. "用户信息"
  12794. ],
  12795. "summary": "获取用户留言板信息",
  12796. "parameters": [
  12797. {
  12798. "type": "integer",
  12799. "description": "用户ID",
  12800. "name": "userID",
  12801. "in": "query",
  12802. "required": true
  12803. }
  12804. ],
  12805. "responses": {
  12806. "200": {
  12807. "description": "OK",
  12808. "schema": {
  12809. "$ref": "#/definitions/models.Messageboard"
  12810. }
  12811. },
  12812. "500": {
  12813. "description": "Internal Server Error",
  12814. "schema": {
  12815. "$ref": "#/definitions/app.Response"
  12816. }
  12817. }
  12818. }
  12819. }
  12820. },
  12821. "/User/QueryUserFavoriteGoodses": {
  12822. "get": {
  12823. "security": [
  12824. {
  12825. "ApiKeyAuth": []
  12826. }
  12827. ],
  12828. "produces": [
  12829. "application/json"
  12830. ],
  12831. "tags": [
  12832. "用户信息"
  12833. ],
  12834. "summary": "获取用户商品收藏信息",
  12835. "parameters": [
  12836. {
  12837. "type": "integer",
  12838. "description": "用户ID",
  12839. "name": "userID",
  12840. "in": "query",
  12841. "required": true
  12842. }
  12843. ],
  12844. "responses": {
  12845. "200": {
  12846. "description": "OK",
  12847. "schema": {
  12848. "$ref": "#/definitions/models.Userfavoritegoods"
  12849. }
  12850. },
  12851. "500": {
  12852. "description": "Internal Server Error",
  12853. "schema": {
  12854. "$ref": "#/definitions/app.Response"
  12855. }
  12856. }
  12857. }
  12858. }
  12859. },
  12860. "/User/QueryUserInfo": {
  12861. "get": {
  12862. "security": [
  12863. {
  12864. "ApiKeyAuth": []
  12865. }
  12866. ],
  12867. "produces": [
  12868. "application/json"
  12869. ],
  12870. "tags": [
  12871. "用户信息"
  12872. ],
  12873. "summary": "获取用户信息",
  12874. "parameters": [
  12875. {
  12876. "type": "integer",
  12877. "description": "用户ID",
  12878. "name": "userID",
  12879. "in": "query",
  12880. "required": true
  12881. },
  12882. {
  12883. "type": "boolean",
  12884. "description": "是否解密",
  12885. "name": "isDecrypt",
  12886. "in": "query"
  12887. }
  12888. ],
  12889. "responses": {
  12890. "200": {
  12891. "description": "OK",
  12892. "schema": {
  12893. "$ref": "#/definitions/models.Userinfo"
  12894. }
  12895. },
  12896. "500": {
  12897. "description": "Internal Server Error",
  12898. "schema": {
  12899. "$ref": "#/definitions/app.Response"
  12900. }
  12901. }
  12902. }
  12903. }
  12904. },
  12905. "/User/QueryUserReferNum": {
  12906. "get": {
  12907. "produces": [
  12908. "application/json"
  12909. ],
  12910. "tags": [
  12911. "用户信息"
  12912. ],
  12913. "summary": "获取用户邀请码",
  12914. "parameters": [
  12915. {
  12916. "type": "integer",
  12917. "description": "用户ID",
  12918. "name": "userID",
  12919. "in": "query",
  12920. "required": true
  12921. }
  12922. ],
  12923. "responses": {
  12924. "200": {
  12925. "description": "OK",
  12926. "schema": {
  12927. "$ref": "#/definitions/app.Response"
  12928. }
  12929. },
  12930. "500": {
  12931. "description": "Internal Server Error",
  12932. "schema": {
  12933. "$ref": "#/definitions/app.Response"
  12934. }
  12935. }
  12936. }
  12937. }
  12938. },
  12939. "/User/RemoveUserFavoriteGoods": {
  12940. "post": {
  12941. "security": [
  12942. {
  12943. "ApiKeyAuth": []
  12944. }
  12945. ],
  12946. "produces": [
  12947. "application/json"
  12948. ],
  12949. "tags": [
  12950. "用户信息"
  12951. ],
  12952. "summary": "移除用户商品收藏信息",
  12953. "parameters": [
  12954. {
  12955. "type": "integer",
  12956. "description": "用户ID",
  12957. "name": "userID",
  12958. "in": "query",
  12959. "required": true
  12960. },
  12961. {
  12962. "type": "integer",
  12963. "description": "商品ID",
  12964. "name": "goodsID",
  12965. "in": "query",
  12966. "required": true
  12967. }
  12968. ],
  12969. "responses": {
  12970. "200": {
  12971. "description": "OK",
  12972. "schema": {
  12973. "$ref": "#/definitions/app.Response"
  12974. }
  12975. },
  12976. "500": {
  12977. "description": "Internal Server Error",
  12978. "schema": {
  12979. "$ref": "#/definitions/app.Response"
  12980. }
  12981. }
  12982. }
  12983. }
  12984. },
  12985. "/User/UpdateUserAccountStatus": {
  12986. "post": {
  12987. "security": [
  12988. {
  12989. "ApiKeyAuth": []
  12990. }
  12991. ],
  12992. "produces": [
  12993. "application/json"
  12994. ],
  12995. "tags": [
  12996. "用户信息"
  12997. ],
  12998. "summary": "更新用户状态",
  12999. "parameters": [
  13000. {
  13001. "type": "integer",
  13002. "description": "用户ID",
  13003. "name": "userID",
  13004. "in": "query",
  13005. "required": true
  13006. },
  13007. {
  13008. "type": "integer",
  13009. "description": "账户状态 - 4:正常 6:注销(停用)",
  13010. "name": "accountStatus",
  13011. "in": "query",
  13012. "required": true
  13013. }
  13014. ],
  13015. "responses": {
  13016. "200": {
  13017. "description": "OK",
  13018. "schema": {
  13019. "$ref": "#/definitions/app.Response"
  13020. }
  13021. },
  13022. "500": {
  13023. "description": "Internal Server Error",
  13024. "schema": {
  13025. "$ref": "#/definitions/app.Response"
  13026. }
  13027. }
  13028. }
  13029. }
  13030. },
  13031. "/WRTrade/GetAllDeliveryGoods": {
  13032. "get": {
  13033. "security": [
  13034. {
  13035. "ApiKeyAuth": []
  13036. }
  13037. ],
  13038. "produces": [
  13039. "application/json"
  13040. ],
  13041. "tags": [
  13042. "仓单贸易",
  13043. "仓单贸易"
  13044. ],
  13045. "summary": "获取带仓单分类的种类信息",
  13046. "responses": {
  13047. "200": {
  13048. "description": "OK",
  13049. "schema": {
  13050. "$ref": "#/definitions/app.Response"
  13051. }
  13052. },
  13053. "500": {
  13054. "description": "Internal Server Error",
  13055. "schema": {
  13056. "$ref": "#/definitions/app.Response"
  13057. }
  13058. }
  13059. }
  13060. }
  13061. },
  13062. "/WrTrade2/InsertXhcpSellBackApply": {
  13063. "post": {
  13064. "security": [
  13065. {
  13066. "ApiKeyAuth": []
  13067. }
  13068. ],
  13069. "produces": [
  13070. "application/json"
  13071. ],
  13072. "tags": [
  13073. "仓单贸易v2"
  13074. ],
  13075. "summary": "新增回收申请(新会陈皮)",
  13076. "parameters": [
  13077. {
  13078. "description": "回收申请",
  13079. "name": "jsonBody",
  13080. "in": "body",
  13081. "required": true,
  13082. "schema": {
  13083. "$ref": "#/definitions/models.XhcpSellBackApplyEx"
  13084. }
  13085. }
  13086. ],
  13087. "responses": {
  13088. "200": {
  13089. "description": "OK",
  13090. "schema": {
  13091. "$ref": "#/definitions/app.Response"
  13092. }
  13093. },
  13094. "500": {
  13095. "description": "Internal Server Error",
  13096. "schema": {
  13097. "$ref": "#/definitions/app.Response"
  13098. }
  13099. }
  13100. }
  13101. }
  13102. },
  13103. "/WrTrade2/QueryDeliveryGoodsSection": {
  13104. "get": {
  13105. "security": [
  13106. {
  13107. "ApiKeyAuth": []
  13108. }
  13109. ],
  13110. "produces": [
  13111. "application/json"
  13112. ],
  13113. "tags": [
  13114. "仓单贸易v2"
  13115. ],
  13116. "summary": "查询板块(分类)",
  13117. "responses": {
  13118. "200": {
  13119. "description": "OK",
  13120. "schema": {
  13121. "type": "array",
  13122. "items": {
  13123. "$ref": "#/definitions/models.WrDeliveryGoodsSection"
  13124. }
  13125. }
  13126. },
  13127. "500": {
  13128. "description": "Internal Server Error",
  13129. "schema": {
  13130. "$ref": "#/definitions/app.Response"
  13131. }
  13132. }
  13133. }
  13134. }
  13135. },
  13136. "/WrTrade2/QueryFaProductDetail": {
  13137. "get": {
  13138. "security": [
  13139. {
  13140. "ApiKeyAuth": []
  13141. }
  13142. ],
  13143. "description": "页面 买卖大厅 -\u003e 选择融资方案",
  13144. "produces": [
  13145. "application/json"
  13146. ],
  13147. "tags": [
  13148. "仓单贸易v2"
  13149. ],
  13150. "summary": "查询融资产品列表",
  13151. "parameters": [
  13152. {
  13153. "type": "integer",
  13154. "description": "仓单要素id",
  13155. "name": "wrfactortypeid",
  13156. "in": "query",
  13157. "required": true
  13158. }
  13159. ],
  13160. "responses": {
  13161. "200": {
  13162. "description": "OK",
  13163. "schema": {
  13164. "type": "array",
  13165. "items": {
  13166. "$ref": "#/definitions/models.WrFAProductDetail"
  13167. }
  13168. }
  13169. },
  13170. "500": {
  13171. "description": "Internal Server Error",
  13172. "schema": {
  13173. "$ref": "#/definitions/app.Response"
  13174. }
  13175. }
  13176. }
  13177. }
  13178. },
  13179. "/WrTrade2/QueryFilterItem": {
  13180. "get": {
  13181. "security": [
  13182. {
  13183. "ApiKeyAuth": []
  13184. }
  13185. ],
  13186. "produces": [
  13187. "application/json"
  13188. ],
  13189. "tags": [
  13190. "仓单贸易v2"
  13191. ],
  13192. "summary": "查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)",
  13193. "parameters": [
  13194. {
  13195. "type": "string",
  13196. "description": "类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库",
  13197. "name": "itype",
  13198. "in": "query",
  13199. "required": true
  13200. }
  13201. ],
  13202. "responses": {
  13203. "200": {
  13204. "description": "OK",
  13205. "schema": {
  13206. "type": "array",
  13207. "items": {
  13208. "$ref": "#/definitions/models.WrFilterItem"
  13209. }
  13210. }
  13211. },
  13212. "500": {
  13213. "description": "Internal Server Error",
  13214. "schema": {
  13215. "$ref": "#/definitions/app.Response"
  13216. }
  13217. }
  13218. }
  13219. }
  13220. },
  13221. "/WrTrade2/QueryFtDeliveryGoods": {
  13222. "get": {
  13223. "security": [
  13224. {
  13225. "ApiKeyAuth": []
  13226. }
  13227. ],
  13228. "produces": [
  13229. "application/json"
  13230. ],
  13231. "tags": [
  13232. "仓单贸易v2"
  13233. ],
  13234. "summary": "查询品种品类筛选框列表",
  13235. "responses": {
  13236. "200": {
  13237. "description": "OK",
  13238. "schema": {
  13239. "type": "array",
  13240. "items": {
  13241. "$ref": "#/definitions/models.WrFtDeliveryGoods"
  13242. }
  13243. }
  13244. },
  13245. "500": {
  13246. "description": "Internal Server Error",
  13247. "schema": {
  13248. "$ref": "#/definitions/app.Response"
  13249. }
  13250. }
  13251. }
  13252. }
  13253. },
  13254. "/WrTrade2/QueryHoldLB": {
  13255. "get": {
  13256. "security": [
  13257. {
  13258. "ApiKeyAuth": []
  13259. }
  13260. ],
  13261. "description": "页面 现货仓单-\u003e现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。",
  13262. "produces": [
  13263. "application/json"
  13264. ],
  13265. "tags": [
  13266. "仓单贸易v2"
  13267. ],
  13268. "summary": "查询仓单持有记录",
  13269. "parameters": [
  13270. {
  13271. "type": "integer",
  13272. "description": "资金账号",
  13273. "name": "accountid",
  13274. "in": "query",
  13275. "required": true
  13276. },
  13277. {
  13278. "type": "integer",
  13279. "description": "仓库id",
  13280. "name": "warehouseid",
  13281. "in": "query"
  13282. },
  13283. {
  13284. "type": "integer",
  13285. "description": "品种id",
  13286. "name": "deliverygoodsid",
  13287. "in": "query"
  13288. },
  13289. {
  13290. "type": "integer",
  13291. "description": "品类id",
  13292. "name": "wrstandardid",
  13293. "in": "query"
  13294. },
  13295. {
  13296. "type": "integer",
  13297. "description": "仓单要素id",
  13298. "name": "wrfactortypeid",
  13299. "in": "query"
  13300. },
  13301. {
  13302. "type": "string",
  13303. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  13304. "name": "dgitemname",
  13305. "in": "query"
  13306. }
  13307. ],
  13308. "responses": {
  13309. "200": {
  13310. "description": "OK",
  13311. "schema": {
  13312. "type": "array",
  13313. "items": {
  13314. "$ref": "#/definitions/models.WrHoldLB"
  13315. }
  13316. }
  13317. },
  13318. "500": {
  13319. "description": "Internal Server Error",
  13320. "schema": {
  13321. "$ref": "#/definitions/app.Response"
  13322. }
  13323. }
  13324. }
  13325. }
  13326. },
  13327. "/WrTrade2/QueryOrderQuote": {
  13328. "get": {
  13329. "security": [
  13330. {
  13331. "ApiKeyAuth": []
  13332. }
  13333. ],
  13334. "description": "仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth 唯一确定1条记录",
  13335. "produces": [
  13336. "application/json"
  13337. ],
  13338. "tags": [
  13339. "仓单贸易v2"
  13340. ],
  13341. "summary": "查询大厅行情列表",
  13342. "parameters": [
  13343. {
  13344. "type": "integer",
  13345. "description": "页码",
  13346. "name": "page",
  13347. "in": "query"
  13348. },
  13349. {
  13350. "type": "integer",
  13351. "description": "每页条数",
  13352. "name": "pagesize",
  13353. "in": "query"
  13354. },
  13355. {
  13356. "type": "integer",
  13357. "description": "仓单贸易市场id",
  13358. "name": "marketid",
  13359. "in": "query"
  13360. },
  13361. {
  13362. "type": "integer",
  13363. "description": "价格方式 - 1:固定价 2-浮动价",
  13364. "name": "wrpricetype",
  13365. "in": "query",
  13366. "required": true
  13367. },
  13368. {
  13369. "type": "integer",
  13370. "description": "0:仓单预售 1:仓单贸易",
  13371. "name": "haswr",
  13372. "in": "query"
  13373. },
  13374. {
  13375. "type": "string",
  13376. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  13377. "name": "dgitemname",
  13378. "in": "query"
  13379. },
  13380. {
  13381. "type": "integer",
  13382. "description": "仓库id(筛选条件)",
  13383. "name": "warehouseid",
  13384. "in": "query"
  13385. },
  13386. {
  13387. "type": "integer",
  13388. "description": "品种id",
  13389. "name": "deliverygoodsid",
  13390. "in": "query"
  13391. },
  13392. {
  13393. "type": "integer",
  13394. "description": "品类id",
  13395. "name": "wrstandardid",
  13396. "in": "query"
  13397. },
  13398. {
  13399. "type": "integer",
  13400. "description": "品牌id(dgfactoryitemid)",
  13401. "name": "brandid",
  13402. "in": "query"
  13403. },
  13404. {
  13405. "type": "integer",
  13406. "description": "年份id(dgfactoryitemid)",
  13407. "name": "yearsid",
  13408. "in": "query"
  13409. },
  13410. {
  13411. "type": "integer",
  13412. "description": "仓单要素id",
  13413. "name": "wrfactortypeid",
  13414. "in": "query"
  13415. },
  13416. {
  13417. "type": "string",
  13418. "description": "交收月(yyyy-mm) 仓单预售填写",
  13419. "name": "deliverymonth",
  13420. "in": "query"
  13421. }
  13422. ],
  13423. "responses": {
  13424. "200": {
  13425. "description": "OK",
  13426. "schema": {
  13427. "type": "array",
  13428. "items": {
  13429. "$ref": "#/definitions/models.WrOrderQuote"
  13430. }
  13431. }
  13432. },
  13433. "500": {
  13434. "description": "Internal Server Error",
  13435. "schema": {
  13436. "$ref": "#/definitions/app.Response"
  13437. }
  13438. }
  13439. }
  13440. }
  13441. },
  13442. "/WrTrade2/QueryOrderQuoteDetail": {
  13443. "get": {
  13444. "security": [
  13445. {
  13446. "ApiKeyAuth": []
  13447. }
  13448. ],
  13449. "produces": [
  13450. "application/json"
  13451. ],
  13452. "tags": [
  13453. "仓单贸易v2"
  13454. ],
  13455. "summary": "查询买卖大厅",
  13456. "parameters": [
  13457. {
  13458. "type": "integer",
  13459. "description": "页码",
  13460. "name": "page",
  13461. "in": "query"
  13462. },
  13463. {
  13464. "type": "integer",
  13465. "description": "每页条数",
  13466. "name": "pagesize",
  13467. "in": "query"
  13468. },
  13469. {
  13470. "type": "integer",
  13471. "description": "仓单贸易市场id",
  13472. "name": "marketid",
  13473. "in": "query"
  13474. },
  13475. {
  13476. "type": "integer",
  13477. "description": "价格方式 - 1:固定价 2-浮动价",
  13478. "name": "wrpricetype",
  13479. "in": "query",
  13480. "required": true
  13481. },
  13482. {
  13483. "type": "integer",
  13484. "description": "0:仓单预售 1:仓单贸易",
  13485. "name": "haswr",
  13486. "in": "query"
  13487. },
  13488. {
  13489. "type": "integer",
  13490. "description": "仓单要素id",
  13491. "name": "wrfactortypeid",
  13492. "in": "query",
  13493. "required": true
  13494. },
  13495. {
  13496. "type": "integer",
  13497. "description": "期货商品id(浮动价方式时填)",
  13498. "name": "goodsid",
  13499. "in": "query"
  13500. },
  13501. {
  13502. "type": "integer",
  13503. "description": "买卖方向 0-买 1-卖",
  13504. "name": "buyorsell",
  13505. "in": "query",
  13506. "required": true
  13507. },
  13508. {
  13509. "type": "string",
  13510. "description": "交收月(yyyy-mm) 查仓单预售的买卖大厅时填写",
  13511. "name": "deliverymonth",
  13512. "in": "query"
  13513. }
  13514. ],
  13515. "responses": {
  13516. "200": {
  13517. "description": "OK",
  13518. "schema": {
  13519. "type": "array",
  13520. "items": {
  13521. "$ref": "#/definitions/models.WrOrderQuoteDetail"
  13522. }
  13523. }
  13524. },
  13525. "500": {
  13526. "description": "Internal Server Error",
  13527. "schema": {
  13528. "$ref": "#/definitions/app.Response"
  13529. }
  13530. }
  13531. }
  13532. }
  13533. },
  13534. "/WrTrade2/QueryOrderQuoteMyq": {
  13535. "get": {
  13536. "security": [
  13537. {
  13538. "ApiKeyAuth": []
  13539. }
  13540. ],
  13541. "produces": [
  13542. "application/json"
  13543. ],
  13544. "tags": [
  13545. "仓单贸易v2"
  13546. ],
  13547. "summary": "查询贸易圈挂牌大厅",
  13548. "parameters": [
  13549. {
  13550. "type": "integer",
  13551. "description": "页码",
  13552. "name": "page",
  13553. "in": "query"
  13554. },
  13555. {
  13556. "type": "integer",
  13557. "description": "每页条数",
  13558. "name": "pagesize",
  13559. "in": "query"
  13560. },
  13561. {
  13562. "type": "integer",
  13563. "description": "用户id",
  13564. "name": "userid",
  13565. "in": "query",
  13566. "required": true
  13567. },
  13568. {
  13569. "type": "integer",
  13570. "description": "仓单贸易市场id",
  13571. "name": "marketid",
  13572. "in": "query"
  13573. },
  13574. {
  13575. "type": "integer",
  13576. "description": "0:仓单预售 1:仓单贸易",
  13577. "name": "haswr",
  13578. "in": "query"
  13579. },
  13580. {
  13581. "type": "integer",
  13582. "description": "买卖方向 0-买 1-卖",
  13583. "name": "buyorsell",
  13584. "in": "query",
  13585. "required": true
  13586. },
  13587. {
  13588. "type": "integer",
  13589. "description": "品种id",
  13590. "name": "deliverygoodsid",
  13591. "in": "query"
  13592. },
  13593. {
  13594. "type": "integer",
  13595. "description": "品类id",
  13596. "name": "wrstandardid",
  13597. "in": "query"
  13598. },
  13599. {
  13600. "type": "string",
  13601. "description": "交收月(yyyy-mm) 仓单预售填写",
  13602. "name": "deliverymonth",
  13603. "in": "query"
  13604. },
  13605. {
  13606. "type": "string",
  13607. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  13608. "name": "dgitemname",
  13609. "in": "query"
  13610. }
  13611. ],
  13612. "responses": {
  13613. "200": {
  13614. "description": "OK",
  13615. "schema": {
  13616. "type": "array",
  13617. "items": {
  13618. "$ref": "#/definitions/models.WrQuoteOrderMyq"
  13619. }
  13620. }
  13621. },
  13622. "500": {
  13623. "description": "Internal Server Error",
  13624. "schema": {
  13625. "$ref": "#/definitions/app.Response"
  13626. }
  13627. }
  13628. }
  13629. }
  13630. },
  13631. "/WrTrade2/QueryPerformancePlan": {
  13632. "get": {
  13633. "security": [
  13634. {
  13635. "ApiKeyAuth": []
  13636. }
  13637. ],
  13638. "produces": [
  13639. "application/json"
  13640. ],
  13641. "tags": [
  13642. "仓单贸易v2"
  13643. ],
  13644. "summary": "查询履约信息",
  13645. "parameters": [
  13646. {
  13647. "type": "integer",
  13648. "description": "用户id",
  13649. "name": "userid",
  13650. "in": "query",
  13651. "required": true
  13652. },
  13653. {
  13654. "type": "integer",
  13655. "description": "买卖方向 0-买 1-卖",
  13656. "name": "buyorsell",
  13657. "in": "query",
  13658. "required": true
  13659. },
  13660. {
  13661. "type": "string",
  13662. "description": "履约状态(可多个,逗号隔开) 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭",
  13663. "name": "status",
  13664. "in": "query"
  13665. },
  13666. {
  13667. "type": "string",
  13668. "description": "开始交易日(yyyymmdd)",
  13669. "name": "begindate",
  13670. "in": "query"
  13671. },
  13672. {
  13673. "type": "string",
  13674. "description": "结束交易日(yyyymmdd)",
  13675. "name": "enddate",
  13676. "in": "query"
  13677. }
  13678. ],
  13679. "responses": {
  13680. "200": {
  13681. "description": "OK",
  13682. "schema": {
  13683. "type": "array",
  13684. "items": {
  13685. "$ref": "#/definitions/models.WrPerformancePlan"
  13686. }
  13687. }
  13688. },
  13689. "500": {
  13690. "description": "Internal Server Error",
  13691. "schema": {
  13692. "$ref": "#/definitions/app.Response"
  13693. }
  13694. }
  13695. }
  13696. }
  13697. },
  13698. "/WrTrade2/QueryPermancePlanTmp": {
  13699. "get": {
  13700. "security": [
  13701. {
  13702. "ApiKeyAuth": []
  13703. }
  13704. ],
  13705. "description": "返回指定用户的模板和公共模板(用户id为空)\n注意:天津麦顿客户 填写marketid参数,其它参数不用填;其它客户不用填marketid字段",
  13706. "produces": [
  13707. "application/json"
  13708. ],
  13709. "tags": [
  13710. "仓单贸易v2"
  13711. ],
  13712. "summary": "查询履约模板",
  13713. "parameters": [
  13714. {
  13715. "type": "integer",
  13716. "description": "用户id",
  13717. "name": "userid",
  13718. "in": "query"
  13719. },
  13720. {
  13721. "type": "string",
  13722. "description": "模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式",
  13723. "name": "tmptype",
  13724. "in": "query"
  13725. },
  13726. {
  13727. "type": "integer",
  13728. "description": "是否包含公共模板(用户id为空的) 1-包含",
  13729. "name": "includepub",
  13730. "in": "query"
  13731. },
  13732. {
  13733. "type": "integer",
  13734. "description": "市场id(天津麦顿指定此参数,其它不用)",
  13735. "name": "marketid",
  13736. "in": "query"
  13737. }
  13738. ],
  13739. "responses": {
  13740. "200": {
  13741. "description": "OK",
  13742. "schema": {
  13743. "type": "array",
  13744. "items": {
  13745. "$ref": "#/definitions/models.WrPerformanceTemplateEx"
  13746. }
  13747. }
  13748. },
  13749. "500": {
  13750. "description": "Internal Server Error",
  13751. "schema": {
  13752. "$ref": "#/definitions/app.Response"
  13753. }
  13754. }
  13755. }
  13756. }
  13757. },
  13758. "/WrTrade2/QuerySiteColumnDetail": {
  13759. "get": {
  13760. "security": [
  13761. {
  13762. "ApiKeyAuth": []
  13763. }
  13764. ],
  13765. "produces": [
  13766. "application/json"
  13767. ],
  13768. "tags": [
  13769. "仓单贸易v2"
  13770. ],
  13771. "summary": "查询资讯",
  13772. "parameters": [
  13773. {
  13774. "type": "integer",
  13775. "description": "页码",
  13776. "name": "page",
  13777. "in": "query"
  13778. },
  13779. {
  13780. "type": "integer",
  13781. "description": "每页条数",
  13782. "name": "pagesize",
  13783. "in": "query"
  13784. },
  13785. {
  13786. "type": "integer",
  13787. "description": "所属栏目id",
  13788. "name": "columnid",
  13789. "in": "query"
  13790. }
  13791. ],
  13792. "responses": {
  13793. "200": {
  13794. "description": "OK",
  13795. "schema": {
  13796. "type": "array",
  13797. "items": {
  13798. "$ref": "#/definitions/models.WrSiteColumnDetail"
  13799. }
  13800. }
  13801. },
  13802. "500": {
  13803. "description": "Internal Server Error",
  13804. "schema": {
  13805. "$ref": "#/definitions/app.Response"
  13806. }
  13807. }
  13808. }
  13809. }
  13810. },
  13811. "/WrTrade2/QuerySpotGroupTradeSum": {
  13812. "get": {
  13813. "security": [
  13814. {
  13815. "ApiKeyAuth": []
  13816. }
  13817. ],
  13818. "produces": [
  13819. "application/json"
  13820. ],
  13821. "tags": [
  13822. "仓单贸易v2"
  13823. ],
  13824. "summary": "查询指数",
  13825. "responses": {
  13826. "200": {
  13827. "description": "OK",
  13828. "schema": {
  13829. "type": "array",
  13830. "items": {
  13831. "$ref": "#/definitions/models.WrSpotGroupTradeSumEx"
  13832. }
  13833. }
  13834. },
  13835. "500": {
  13836. "description": "Internal Server Error",
  13837. "schema": {
  13838. "$ref": "#/definitions/app.Response"
  13839. }
  13840. }
  13841. }
  13842. }
  13843. },
  13844. "/WrTrade2/QuerySpotGroupTradeSumDetail": {
  13845. "get": {
  13846. "security": [
  13847. {
  13848. "ApiKeyAuth": []
  13849. }
  13850. ],
  13851. "description": "查询的结果将会按日期 从小到大 排序",
  13852. "produces": [
  13853. "application/json"
  13854. ],
  13855. "tags": [
  13856. "仓单贸易v2"
  13857. ],
  13858. "summary": "查询指数详细(价格走势图)",
  13859. "parameters": [
  13860. {
  13861. "type": "integer",
  13862. "description": "现货商品id",
  13863. "name": "deliverygoodsid",
  13864. "in": "query",
  13865. "required": true
  13866. },
  13867. {
  13868. "type": "integer",
  13869. "description": "查询最新多少条记录(如不填写此项, 默认查30条)",
  13870. "name": "lastnum",
  13871. "in": "query"
  13872. }
  13873. ],
  13874. "responses": {
  13875. "200": {
  13876. "description": "OK",
  13877. "schema": {
  13878. "type": "array",
  13879. "items": {
  13880. "$ref": "#/definitions/models.WrSpotGroupTradeSumDetail"
  13881. }
  13882. }
  13883. },
  13884. "500": {
  13885. "description": "Internal Server Error",
  13886. "schema": {
  13887. "$ref": "#/definitions/app.Response"
  13888. }
  13889. }
  13890. }
  13891. }
  13892. },
  13893. "/WrTrade2/QueryWrAverageTradePrice": {
  13894. "get": {
  13895. "security": [
  13896. {
  13897. "ApiKeyAuth": []
  13898. }
  13899. ],
  13900. "produces": [
  13901. "application/json"
  13902. ],
  13903. "tags": [
  13904. "仓单贸易v2"
  13905. ],
  13906. "summary": "查询成交价(历史走势)",
  13907. "parameters": [
  13908. {
  13909. "type": "integer",
  13910. "description": "页码",
  13911. "name": "page",
  13912. "in": "query"
  13913. },
  13914. {
  13915. "type": "integer",
  13916. "description": "每页条数",
  13917. "name": "pagesize",
  13918. "in": "query"
  13919. },
  13920. {
  13921. "type": "integer",
  13922. "description": "0:仓单预售 1:仓单贸易",
  13923. "name": "haswr",
  13924. "in": "query",
  13925. "required": true
  13926. },
  13927. {
  13928. "type": "integer",
  13929. "description": "仓单要素id",
  13930. "name": "wrfactortypeid",
  13931. "in": "query",
  13932. "required": true
  13933. }
  13934. ],
  13935. "responses": {
  13936. "200": {
  13937. "description": "OK",
  13938. "schema": {
  13939. "type": "array",
  13940. "items": {
  13941. "$ref": "#/definitions/models.WrAverageTradePrice"
  13942. }
  13943. }
  13944. },
  13945. "500": {
  13946. "description": "Internal Server Error",
  13947. "schema": {
  13948. "$ref": "#/definitions/app.Response"
  13949. }
  13950. }
  13951. }
  13952. }
  13953. },
  13954. "/WrTrade2/QueryWrBrandAndYears": {
  13955. "get": {
  13956. "security": [
  13957. {
  13958. "ApiKeyAuth": []
  13959. }
  13960. ],
  13961. "produces": [
  13962. "application/json"
  13963. ],
  13964. "tags": [
  13965. "仓单贸易v2"
  13966. ],
  13967. "summary": "查询品牌和年份",
  13968. "responses": {
  13969. "200": {
  13970. "description": "OK",
  13971. "schema": {
  13972. "type": "array",
  13973. "items": {
  13974. "$ref": "#/definitions/models.WrBrandAndYears"
  13975. }
  13976. }
  13977. },
  13978. "500": {
  13979. "description": "Internal Server Error",
  13980. "schema": {
  13981. "$ref": "#/definitions/app.Response"
  13982. }
  13983. }
  13984. }
  13985. }
  13986. },
  13987. "/WrTrade2/QueryWrBsGoodsInfo": {
  13988. "get": {
  13989. "security": [
  13990. {
  13991. "ApiKeyAuth": []
  13992. }
  13993. ],
  13994. "description": "合约交易/买卖大厅/详情",
  13995. "produces": [
  13996. "application/json"
  13997. ],
  13998. "tags": [
  13999. "仓单贸易v2"
  14000. ],
  14001. "summary": "查询合约交易买卖大厅详情",
  14002. "parameters": [
  14003. {
  14004. "type": "integer",
  14005. "description": "商品id",
  14006. "name": "goodsid",
  14007. "in": "query",
  14008. "required": true
  14009. }
  14010. ],
  14011. "responses": {
  14012. "200": {
  14013. "description": "OK",
  14014. "schema": {
  14015. "type": "array",
  14016. "items": {
  14017. "$ref": "#/definitions/models.WrBsGoodsInfo"
  14018. }
  14019. }
  14020. },
  14021. "500": {
  14022. "description": "Internal Server Error",
  14023. "schema": {
  14024. "$ref": "#/definitions/app.Response"
  14025. }
  14026. }
  14027. }
  14028. }
  14029. },
  14030. "/WrTrade2/QueryWrBuybackDetail": {
  14031. "get": {
  14032. "security": [
  14033. {
  14034. "ApiKeyAuth": []
  14035. }
  14036. ],
  14037. "produces": [
  14038. "application/json"
  14039. ],
  14040. "tags": [
  14041. "仓单贸易v2"
  14042. ],
  14043. "summary": "查询仓单回购明细",
  14044. "parameters": [
  14045. {
  14046. "type": "integer",
  14047. "description": "融资合同id",
  14048. "name": "scfcontractid",
  14049. "in": "query"
  14050. }
  14051. ],
  14052. "responses": {
  14053. "200": {
  14054. "description": "OK",
  14055. "schema": {
  14056. "type": "array",
  14057. "items": {
  14058. "$ref": "#/definitions/models.WrBuybackDetail"
  14059. }
  14060. }
  14061. },
  14062. "500": {
  14063. "description": "Internal Server Error",
  14064. "schema": {
  14065. "$ref": "#/definitions/app.Response"
  14066. }
  14067. }
  14068. }
  14069. }
  14070. },
  14071. "/WrTrade2/QueryWrClientAdSpaceConfig": {
  14072. "get": {
  14073. "security": [
  14074. {
  14075. "ApiKeyAuth": []
  14076. }
  14077. ],
  14078. "produces": [
  14079. "application/json"
  14080. ],
  14081. "tags": [
  14082. "仓单贸易v2"
  14083. ],
  14084. "summary": "查询固定广告配置",
  14085. "responses": {
  14086. "200": {
  14087. "description": "OK",
  14088. "schema": {
  14089. "type": "array",
  14090. "items": {
  14091. "$ref": "#/definitions/models.WrClientAdSpaceConfig"
  14092. }
  14093. }
  14094. },
  14095. "500": {
  14096. "description": "Internal Server Error",
  14097. "schema": {
  14098. "$ref": "#/definitions/app.Response"
  14099. }
  14100. }
  14101. }
  14102. }
  14103. },
  14104. "/WrTrade2/QueryWrDeliveryAvalidHoldLB": {
  14105. "get": {
  14106. "security": [
  14107. {
  14108. "ApiKeyAuth": []
  14109. }
  14110. ],
  14111. "produces": [
  14112. "application/json"
  14113. ],
  14114. "tags": [
  14115. "仓单贸易v2"
  14116. ],
  14117. "summary": "查询合约交收可点选仓单",
  14118. "parameters": [
  14119. {
  14120. "type": "integer",
  14121. "description": "资金账号",
  14122. "name": "accountid",
  14123. "in": "query",
  14124. "required": true
  14125. },
  14126. {
  14127. "type": "integer",
  14128. "description": "商品id",
  14129. "name": "goodsid",
  14130. "in": "query",
  14131. "required": true
  14132. }
  14133. ],
  14134. "responses": {
  14135. "200": {
  14136. "description": "OK",
  14137. "schema": {
  14138. "type": "array",
  14139. "items": {
  14140. "$ref": "#/definitions/models.WrDeliveryAvalidHoldLB"
  14141. }
  14142. }
  14143. },
  14144. "500": {
  14145. "description": "Internal Server Error",
  14146. "schema": {
  14147. "$ref": "#/definitions/app.Response"
  14148. }
  14149. }
  14150. }
  14151. }
  14152. },
  14153. "/WrTrade2/QueryWrDeliveryDetail": {
  14154. "get": {
  14155. "security": [
  14156. {
  14157. "ApiKeyAuth": []
  14158. }
  14159. ],
  14160. "produces": [
  14161. "application/json"
  14162. ],
  14163. "tags": [
  14164. "仓单贸易v2"
  14165. ],
  14166. "summary": "查询交收",
  14167. "parameters": [
  14168. {
  14169. "type": "integer",
  14170. "description": "用户id",
  14171. "name": "userid",
  14172. "in": "query",
  14173. "required": true
  14174. },
  14175. {
  14176. "type": "integer",
  14177. "description": "资金账号id",
  14178. "name": "accountid",
  14179. "in": "query"
  14180. },
  14181. {
  14182. "type": "string",
  14183. "description": "开始交易日(yyyymmdd)",
  14184. "name": "begindate",
  14185. "in": "query"
  14186. },
  14187. {
  14188. "type": "string",
  14189. "description": "结束交易日(yyyymmdd)",
  14190. "name": "enddate",
  14191. "in": "query"
  14192. }
  14193. ],
  14194. "responses": {
  14195. "200": {
  14196. "description": "OK",
  14197. "schema": {
  14198. "type": "array",
  14199. "items": {
  14200. "$ref": "#/definitions/models.WrDeliveryDetail"
  14201. }
  14202. }
  14203. },
  14204. "500": {
  14205. "description": "Internal Server Error",
  14206. "schema": {
  14207. "$ref": "#/definitions/app.Response"
  14208. }
  14209. }
  14210. }
  14211. }
  14212. },
  14213. "/WrTrade2/QueryWrDraftUserInfo": {
  14214. "get": {
  14215. "security": [
  14216. {
  14217. "ApiKeyAuth": []
  14218. }
  14219. ],
  14220. "produces": [
  14221. "application/json"
  14222. ],
  14223. "tags": [
  14224. "仓单贸易v2"
  14225. ],
  14226. "summary": "查询实名认证信息",
  14227. "parameters": [
  14228. {
  14229. "type": "integer",
  14230. "description": "用户ID",
  14231. "name": "userid",
  14232. "in": "query",
  14233. "required": true
  14234. },
  14235. {
  14236. "type": "integer",
  14237. "description": "用户状态 1:正常 2:注销",
  14238. "name": "userstatus",
  14239. "in": "query"
  14240. }
  14241. ],
  14242. "responses": {
  14243. "200": {
  14244. "description": "OK",
  14245. "schema": {
  14246. "type": "array",
  14247. "items": {
  14248. "$ref": "#/definitions/models.WrDraftUserInfo"
  14249. }
  14250. }
  14251. },
  14252. "500": {
  14253. "description": "Internal Server Error",
  14254. "schema": {
  14255. "$ref": "#/definitions/app.Response"
  14256. }
  14257. }
  14258. }
  14259. }
  14260. },
  14261. "/WrTrade2/QueryWrFactorTypeInfo": {
  14262. "get": {
  14263. "security": [
  14264. {
  14265. "ApiKeyAuth": []
  14266. }
  14267. ],
  14268. "produces": [
  14269. "application/json"
  14270. ],
  14271. "tags": [
  14272. "仓单贸易v2"
  14273. ],
  14274. "summary": "查询仓单要素详细信息",
  14275. "parameters": [
  14276. {
  14277. "type": "integer",
  14278. "description": "仓单要素id",
  14279. "name": "wrfactortypeid",
  14280. "in": "query",
  14281. "required": true
  14282. }
  14283. ],
  14284. "responses": {
  14285. "200": {
  14286. "description": "OK",
  14287. "schema": {
  14288. "type": "array",
  14289. "items": {
  14290. "$ref": "#/definitions/models.WrFactorTypeInfo"
  14291. }
  14292. }
  14293. },
  14294. "500": {
  14295. "description": "Internal Server Error",
  14296. "schema": {
  14297. "$ref": "#/definitions/app.Response"
  14298. }
  14299. }
  14300. }
  14301. }
  14302. },
  14303. "/WrTrade2/QueryWrFactorTypeInfoEx": {
  14304. "get": {
  14305. "security": [
  14306. {
  14307. "ApiKeyAuth": []
  14308. }
  14309. ],
  14310. "produces": [
  14311. "application/json"
  14312. ],
  14313. "tags": [
  14314. "仓单贸易v2"
  14315. ],
  14316. "summary": "查询仓单要素详细信息列表项",
  14317. "parameters": [
  14318. {
  14319. "type": "integer",
  14320. "description": "仓单要素id",
  14321. "name": "wrfactortypeid",
  14322. "in": "query",
  14323. "required": true
  14324. }
  14325. ],
  14326. "responses": {
  14327. "200": {
  14328. "description": "OK",
  14329. "schema": {
  14330. "type": "array",
  14331. "items": {
  14332. "$ref": "#/definitions/models.WrTypeItem"
  14333. }
  14334. }
  14335. },
  14336. "500": {
  14337. "description": "Internal Server Error",
  14338. "schema": {
  14339. "$ref": "#/definitions/app.Response"
  14340. }
  14341. }
  14342. }
  14343. }
  14344. },
  14345. "/WrTrade2/QueryWrFinanceBuyApply": {
  14346. "get": {
  14347. "security": [
  14348. {
  14349. "ApiKeyAuth": []
  14350. }
  14351. ],
  14352. "description": "页面 融资信息+ / 申请单",
  14353. "produces": [
  14354. "application/json"
  14355. ],
  14356. "tags": [
  14357. "仓单贸易v2"
  14358. ],
  14359. "summary": "查询融资购买申请",
  14360. "parameters": [
  14361. {
  14362. "type": "integer",
  14363. "description": "用户id",
  14364. "name": "userid",
  14365. "in": "query",
  14366. "required": true
  14367. }
  14368. ],
  14369. "responses": {
  14370. "200": {
  14371. "description": "OK",
  14372. "schema": {
  14373. "type": "array",
  14374. "items": {
  14375. "$ref": "#/definitions/models.WrFinanceBuyApply"
  14376. }
  14377. }
  14378. },
  14379. "500": {
  14380. "description": "Internal Server Error",
  14381. "schema": {
  14382. "$ref": "#/definitions/app.Response"
  14383. }
  14384. }
  14385. }
  14386. }
  14387. },
  14388. "/WrTrade2/QueryWrFriendApply": {
  14389. "get": {
  14390. "security": [
  14391. {
  14392. "ApiKeyAuth": []
  14393. }
  14394. ],
  14395. "produces": [
  14396. "application/json"
  14397. ],
  14398. "tags": [
  14399. "仓单贸易v2"
  14400. ],
  14401. "summary": "查询好友申请记录",
  14402. "parameters": [
  14403. {
  14404. "type": "integer",
  14405. "description": "用户id",
  14406. "name": "userid",
  14407. "in": "query",
  14408. "required": true
  14409. }
  14410. ],
  14411. "responses": {
  14412. "200": {
  14413. "description": "OK",
  14414. "schema": {
  14415. "type": "array",
  14416. "items": {
  14417. "$ref": "#/definitions/models.WrFriendApply"
  14418. }
  14419. }
  14420. },
  14421. "500": {
  14422. "description": "Internal Server Error",
  14423. "schema": {
  14424. "$ref": "#/definitions/app.Response"
  14425. }
  14426. }
  14427. }
  14428. }
  14429. },
  14430. "/WrTrade2/QueryWrGoodsInfo": {
  14431. "get": {
  14432. "security": [
  14433. {
  14434. "ApiKeyAuth": []
  14435. }
  14436. ],
  14437. "produces": [
  14438. "application/json"
  14439. ],
  14440. "tags": [
  14441. "仓单贸易v2"
  14442. ],
  14443. "summary": "查询仓单商品信息",
  14444. "parameters": [
  14445. {
  14446. "type": "integer",
  14447. "description": "仓单贸易市场id",
  14448. "name": "marketid",
  14449. "in": "query"
  14450. },
  14451. {
  14452. "type": "integer",
  14453. "description": "0:仓单预售 1:仓单贸易",
  14454. "name": "haswr",
  14455. "in": "query",
  14456. "required": true
  14457. },
  14458. {
  14459. "type": "integer",
  14460. "description": "仓单要素id",
  14461. "name": "wrfactortypeid",
  14462. "in": "query",
  14463. "required": true
  14464. },
  14465. {
  14466. "type": "integer",
  14467. "description": "履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)",
  14468. "name": "tmplateid",
  14469. "in": "query"
  14470. }
  14471. ],
  14472. "responses": {
  14473. "200": {
  14474. "description": "OK",
  14475. "schema": {
  14476. "type": "array",
  14477. "items": {
  14478. "$ref": "#/definitions/models.WrGoodsInfo"
  14479. }
  14480. }
  14481. },
  14482. "500": {
  14483. "description": "Internal Server Error",
  14484. "schema": {
  14485. "$ref": "#/definitions/app.Response"
  14486. }
  14487. }
  14488. }
  14489. }
  14490. },
  14491. "/WrTrade2/QueryWrMarketTradeConfig": {
  14492. "get": {
  14493. "security": [
  14494. {
  14495. "ApiKeyAuth": []
  14496. }
  14497. ],
  14498. "produces": [
  14499. "application/json"
  14500. ],
  14501. "tags": [
  14502. "仓单贸易v2"
  14503. ],
  14504. "summary": "查询市场交易参数配置",
  14505. "parameters": [
  14506. {
  14507. "type": "integer",
  14508. "description": "市场id",
  14509. "name": "marketid",
  14510. "in": "query"
  14511. }
  14512. ],
  14513. "responses": {
  14514. "200": {
  14515. "description": "OK",
  14516. "schema": {
  14517. "type": "array",
  14518. "items": {
  14519. "$ref": "#/definitions/models.WrMarketTradeConfig"
  14520. }
  14521. }
  14522. },
  14523. "500": {
  14524. "description": "Internal Server Error",
  14525. "schema": {
  14526. "$ref": "#/definitions/app.Response"
  14527. }
  14528. }
  14529. }
  14530. }
  14531. },
  14532. "/WrTrade2/QueryWrOrderDetail": {
  14533. "get": {
  14534. "security": [
  14535. {
  14536. "ApiKeyAuth": []
  14537. }
  14538. ],
  14539. "description": "页面 现货仓单 | 预售仓单 -\u003e 委托单",
  14540. "produces": [
  14541. "application/json"
  14542. ],
  14543. "tags": [
  14544. "仓单贸易v2"
  14545. ],
  14546. "summary": "查询仓单委托单",
  14547. "parameters": [
  14548. {
  14549. "type": "integer",
  14550. "description": "页码",
  14551. "name": "page",
  14552. "in": "query"
  14553. },
  14554. {
  14555. "type": "integer",
  14556. "description": "每页条数",
  14557. "name": "pagesize",
  14558. "in": "query"
  14559. },
  14560. {
  14561. "type": "integer",
  14562. "description": "用户id",
  14563. "name": "userid",
  14564. "in": "query",
  14565. "required": true
  14566. },
  14567. {
  14568. "type": "integer",
  14569. "description": "仓单贸易市场id",
  14570. "name": "marketid",
  14571. "in": "query"
  14572. },
  14573. {
  14574. "type": "integer",
  14575. "description": "0:仓单预售 1:仓单贸易",
  14576. "name": "haswr",
  14577. "in": "query",
  14578. "required": true
  14579. },
  14580. {
  14581. "type": "integer",
  14582. "description": "是否仅查可撤单据 1:可撤 注:此参数仅对当前记录有效, 且不含47模式市场",
  14583. "name": "bcancel",
  14584. "in": "query"
  14585. },
  14586. {
  14587. "type": "integer",
  14588. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  14589. "name": "wrtradetype",
  14590. "in": "query"
  14591. },
  14592. {
  14593. "type": "string",
  14594. "description": "开始交易日(yyyymmdd)",
  14595. "name": "begindate",
  14596. "in": "query"
  14597. },
  14598. {
  14599. "type": "string",
  14600. "description": "结束交易日(yyyymmdd)",
  14601. "name": "enddate",
  14602. "in": "query"
  14603. }
  14604. ],
  14605. "responses": {
  14606. "200": {
  14607. "description": "OK",
  14608. "schema": {
  14609. "type": "array",
  14610. "items": {
  14611. "$ref": "#/definitions/models.WrOrderDetail"
  14612. }
  14613. }
  14614. },
  14615. "500": {
  14616. "description": "Internal Server Error",
  14617. "schema": {
  14618. "$ref": "#/definitions/app.Response"
  14619. }
  14620. }
  14621. }
  14622. }
  14623. },
  14624. "/WrTrade2/QueryWrOutInApply": {
  14625. "get": {
  14626. "security": [
  14627. {
  14628. "ApiKeyAuth": []
  14629. }
  14630. ],
  14631. "produces": [
  14632. "application/json"
  14633. ],
  14634. "tags": [
  14635. "仓单贸易v2"
  14636. ],
  14637. "summary": "查询提货申请",
  14638. "parameters": [
  14639. {
  14640. "type": "integer",
  14641. "description": "用户id",
  14642. "name": "userid",
  14643. "in": "query",
  14644. "required": true
  14645. },
  14646. {
  14647. "type": "string",
  14648. "description": "开始交易日(yyyymmdd)",
  14649. "name": "begindate",
  14650. "in": "query"
  14651. },
  14652. {
  14653. "type": "string",
  14654. "description": "结束交易日(yyyymmdd)",
  14655. "name": "enddate",
  14656. "in": "query"
  14657. }
  14658. ],
  14659. "responses": {
  14660. "200": {
  14661. "description": "OK",
  14662. "schema": {
  14663. "type": "array",
  14664. "items": {
  14665. "$ref": "#/definitions/models.WrOutInApply"
  14666. }
  14667. }
  14668. },
  14669. "500": {
  14670. "description": "Internal Server Error",
  14671. "schema": {
  14672. "$ref": "#/definitions/app.Response"
  14673. }
  14674. }
  14675. }
  14676. }
  14677. },
  14678. "/WrTrade2/QueryWrPerformancePlanStep": {
  14679. "get": {
  14680. "security": [
  14681. {
  14682. "ApiKeyAuth": []
  14683. }
  14684. ],
  14685. "produces": [
  14686. "application/json"
  14687. ],
  14688. "tags": [
  14689. "仓单贸易v2"
  14690. ],
  14691. "summary": "查询履约信息详情",
  14692. "parameters": [
  14693. {
  14694. "type": "integer",
  14695. "description": "履约计划id(performanceplanid)",
  14696. "name": "planid",
  14697. "in": "query",
  14698. "required": true
  14699. },
  14700. {
  14701. "type": "integer",
  14702. "description": "当前步骤id",
  14703. "name": "curstepid",
  14704. "in": "query"
  14705. }
  14706. ],
  14707. "responses": {
  14708. "200": {
  14709. "description": "OK",
  14710. "schema": {
  14711. "type": "array",
  14712. "items": {
  14713. "$ref": "#/definitions/models.WrPerformancePlanStep"
  14714. }
  14715. }
  14716. },
  14717. "500": {
  14718. "description": "Internal Server Error",
  14719. "schema": {
  14720. "$ref": "#/definitions/app.Response"
  14721. }
  14722. }
  14723. }
  14724. }
  14725. },
  14726. "/WrTrade2/QueryWrPerformanceStepType": {
  14727. "get": {
  14728. "security": [
  14729. {
  14730. "ApiKeyAuth": []
  14731. }
  14732. ],
  14733. "produces": [
  14734. "application/json"
  14735. ],
  14736. "tags": [
  14737. "仓单贸易v2"
  14738. ],
  14739. "summary": "查询履约步骤枚举",
  14740. "responses": {
  14741. "200": {
  14742. "description": "OK",
  14743. "schema": {
  14744. "type": "array",
  14745. "items": {
  14746. "$ref": "#/definitions/models.WrPerformanceStepType"
  14747. }
  14748. }
  14749. },
  14750. "500": {
  14751. "description": "Internal Server Error",
  14752. "schema": {
  14753. "$ref": "#/definitions/app.Response"
  14754. }
  14755. }
  14756. }
  14757. }
  14758. },
  14759. "/WrTrade2/QueryWrPosition": {
  14760. "get": {
  14761. "security": [
  14762. {
  14763. "ApiKeyAuth": []
  14764. }
  14765. ],
  14766. "description": "页面 现货仓单-\u003e现货汇总/库存汇总; 预售仓单-\u003e订单汇总",
  14767. "produces": [
  14768. "application/json"
  14769. ],
  14770. "tags": [
  14771. "仓单贸易v2"
  14772. ],
  14773. "summary": "查询现货(预售)仓单持仓",
  14774. "parameters": [
  14775. {
  14776. "type": "integer",
  14777. "description": "用户id",
  14778. "name": "userid",
  14779. "in": "query",
  14780. "required": true
  14781. },
  14782. {
  14783. "type": "integer",
  14784. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总)",
  14785. "name": "querytype",
  14786. "in": "query",
  14787. "required": true
  14788. },
  14789. {
  14790. "type": "integer",
  14791. "description": "0:仓单预售 1:仓单贸易",
  14792. "name": "haswr",
  14793. "in": "query",
  14794. "required": true
  14795. },
  14796. {
  14797. "type": "string",
  14798. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  14799. "name": "dgitemname",
  14800. "in": "query"
  14801. },
  14802. {
  14803. "type": "integer",
  14804. "description": "仓库id(筛选条件)",
  14805. "name": "warehouseid",
  14806. "in": "query"
  14807. },
  14808. {
  14809. "type": "integer",
  14810. "description": "品种id",
  14811. "name": "deliverygoodsid",
  14812. "in": "query"
  14813. },
  14814. {
  14815. "type": "integer",
  14816. "description": "品类id",
  14817. "name": "wrstandardid",
  14818. "in": "query"
  14819. }
  14820. ],
  14821. "responses": {
  14822. "200": {
  14823. "description": "OK",
  14824. "schema": {
  14825. "type": "array",
  14826. "items": {
  14827. "$ref": "#/definitions/models.WrPosition"
  14828. }
  14829. }
  14830. },
  14831. "500": {
  14832. "description": "Internal Server Error",
  14833. "schema": {
  14834. "$ref": "#/definitions/app.Response"
  14835. }
  14836. }
  14837. }
  14838. }
  14839. },
  14840. "/WrTrade2/QueryWrPreSaleInfo": {
  14841. "get": {
  14842. "security": [
  14843. {
  14844. "ApiKeyAuth": []
  14845. }
  14846. ],
  14847. "produces": [
  14848. "application/json"
  14849. ],
  14850. "tags": [
  14851. "仓单贸易v2"
  14852. ],
  14853. "summary": "查询新品发布",
  14854. "parameters": [
  14855. {
  14856. "type": "integer",
  14857. "description": "市场id",
  14858. "name": "marketid",
  14859. "in": "query"
  14860. },
  14861. {
  14862. "type": "string",
  14863. "description": "预售状态(逗号隔开,如1,2,3) 1:未开始 2:进行中 3:已结束 4:已关闭",
  14864. "name": "presalestatus",
  14865. "in": "query"
  14866. },
  14867. {
  14868. "type": "integer",
  14869. "description": "摇号标识 - 0:未摇号 1:已摇号",
  14870. "name": "lotteryflag",
  14871. "in": "query"
  14872. },
  14873. {
  14874. "type": "integer",
  14875. "description": "最近多少条记录(按创建时间倒序)",
  14876. "name": "lastnum",
  14877. "in": "query"
  14878. }
  14879. ],
  14880. "responses": {
  14881. "200": {
  14882. "description": "OK",
  14883. "schema": {
  14884. "type": "array",
  14885. "items": {
  14886. "$ref": "#/definitions/models.WrPreSaleInfo"
  14887. }
  14888. }
  14889. },
  14890. "500": {
  14891. "description": "Internal Server Error",
  14892. "schema": {
  14893. "$ref": "#/definitions/app.Response"
  14894. }
  14895. }
  14896. }
  14897. }
  14898. },
  14899. "/WrTrade2/QueryWrReckonSpotGoodsTradeSum": {
  14900. "get": {
  14901. "security": [
  14902. {
  14903. "ApiKeyAuth": []
  14904. }
  14905. ],
  14906. "produces": [
  14907. "application/json"
  14908. ],
  14909. "tags": [
  14910. "仓单贸易v2"
  14911. ],
  14912. "summary": "查询价格走势",
  14913. "parameters": [
  14914. {
  14915. "type": "integer",
  14916. "description": "市场id",
  14917. "name": "marketid",
  14918. "in": "query",
  14919. "required": true
  14920. },
  14921. {
  14922. "type": "integer",
  14923. "description": "现货商品id",
  14924. "name": "wrstandardid",
  14925. "in": "query",
  14926. "required": true
  14927. },
  14928. {
  14929. "type": "string",
  14930. "description": "开始交易日(yyyymmdd)",
  14931. "name": "begindate",
  14932. "in": "query"
  14933. },
  14934. {
  14935. "type": "string",
  14936. "description": "结束交易日(yyyymmdd)",
  14937. "name": "enddate",
  14938. "in": "query"
  14939. },
  14940. {
  14941. "type": "integer",
  14942. "description": "最近多少条记录(按交易日倒序)",
  14943. "name": "lastnum",
  14944. "in": "query"
  14945. },
  14946. {
  14947. "type": "boolean",
  14948. "description": "是否今日",
  14949. "name": "istoday",
  14950. "in": "query"
  14951. }
  14952. ],
  14953. "responses": {
  14954. "200": {
  14955. "description": "OK",
  14956. "schema": {
  14957. "type": "array",
  14958. "items": {
  14959. "$ref": "#/definitions/models.WrReckonSpotGoodsTradeSum"
  14960. }
  14961. }
  14962. },
  14963. "500": {
  14964. "description": "Internal Server Error",
  14965. "schema": {
  14966. "$ref": "#/definitions/app.Response"
  14967. }
  14968. }
  14969. }
  14970. }
  14971. },
  14972. "/WrTrade2/QueryWrScfContract": {
  14973. "get": {
  14974. "security": [
  14975. {
  14976. "ApiKeyAuth": []
  14977. }
  14978. ],
  14979. "produces": [
  14980. "application/json"
  14981. ],
  14982. "tags": [
  14983. "仓单贸易v2"
  14984. ],
  14985. "summary": "查询仓单贸易融资合同",
  14986. "parameters": [
  14987. {
  14988. "type": "integer",
  14989. "description": "用户id",
  14990. "name": "userid",
  14991. "in": "query",
  14992. "required": true
  14993. },
  14994. {
  14995. "type": "integer",
  14996. "description": "融资合同id",
  14997. "name": "scfcontractid",
  14998. "in": "query"
  14999. }
  15000. ],
  15001. "responses": {
  15002. "200": {
  15003. "description": "OK",
  15004. "schema": {
  15005. "type": "array",
  15006. "items": {
  15007. "$ref": "#/definitions/models.WrScfContract"
  15008. }
  15009. }
  15010. },
  15011. "500": {
  15012. "description": "Internal Server Error",
  15013. "schema": {
  15014. "$ref": "#/definitions/app.Response"
  15015. }
  15016. }
  15017. }
  15018. }
  15019. },
  15020. "/WrTrade2/QueryWrScfContractInterest": {
  15021. "get": {
  15022. "security": [
  15023. {
  15024. "ApiKeyAuth": []
  15025. }
  15026. ],
  15027. "produces": [
  15028. "application/json"
  15029. ],
  15030. "tags": [
  15031. "仓单贸易v2"
  15032. ],
  15033. "summary": "查询融资合同费用明细",
  15034. "parameters": [
  15035. {
  15036. "type": "integer",
  15037. "description": "融资合同id",
  15038. "name": "scfcontractid",
  15039. "in": "query"
  15040. }
  15041. ],
  15042. "responses": {
  15043. "200": {
  15044. "description": "OK",
  15045. "schema": {
  15046. "type": "array",
  15047. "items": {
  15048. "$ref": "#/definitions/models.WrScfContractInterest"
  15049. }
  15050. }
  15051. },
  15052. "500": {
  15053. "description": "Internal Server Error",
  15054. "schema": {
  15055. "$ref": "#/definitions/app.Response"
  15056. }
  15057. }
  15058. }
  15059. }
  15060. },
  15061. "/WrTrade2/QueryWrSearchUser": {
  15062. "get": {
  15063. "security": [
  15064. {
  15065. "ApiKeyAuth": []
  15066. }
  15067. ],
  15068. "produces": [
  15069. "application/json"
  15070. ],
  15071. "tags": [
  15072. "仓单贸易v2"
  15073. ],
  15074. "summary": "查询用户",
  15075. "parameters": [
  15076. {
  15077. "type": "string",
  15078. "description": "用户名称(模糊匹配)",
  15079. "name": "username",
  15080. "in": "query",
  15081. "required": true
  15082. }
  15083. ],
  15084. "responses": {
  15085. "200": {
  15086. "description": "OK",
  15087. "schema": {
  15088. "type": "array",
  15089. "items": {
  15090. "$ref": "#/definitions/models.WrSearchUser"
  15091. }
  15092. }
  15093. },
  15094. "500": {
  15095. "description": "Internal Server Error",
  15096. "schema": {
  15097. "$ref": "#/definitions/app.Response"
  15098. }
  15099. }
  15100. }
  15101. }
  15102. },
  15103. "/WrTrade2/QueryWrSpecialMatchOrder": {
  15104. "get": {
  15105. "security": [
  15106. {
  15107. "ApiKeyAuth": []
  15108. }
  15109. ],
  15110. "description": "页面 现货仓单 | 预售仓单 -\u003e 指定成交",
  15111. "produces": [
  15112. "application/json"
  15113. ],
  15114. "tags": [
  15115. "仓单贸易v2"
  15116. ],
  15117. "summary": "查询指定成交",
  15118. "parameters": [
  15119. {
  15120. "type": "integer",
  15121. "description": "页码",
  15122. "name": "page",
  15123. "in": "query"
  15124. },
  15125. {
  15126. "type": "integer",
  15127. "description": "每页条数",
  15128. "name": "pagesize",
  15129. "in": "query"
  15130. },
  15131. {
  15132. "type": "integer",
  15133. "description": "用户id",
  15134. "name": "userid",
  15135. "in": "query",
  15136. "required": true
  15137. },
  15138. {
  15139. "type": "integer",
  15140. "description": "仓单贸易市场id",
  15141. "name": "marketid",
  15142. "in": "query"
  15143. },
  15144. {
  15145. "type": "integer",
  15146. "description": "0:仓单预售 1:仓单贸易",
  15147. "name": "haswr",
  15148. "in": "query",
  15149. "required": true
  15150. },
  15151. {
  15152. "type": "integer",
  15153. "description": "1:指定好友(贸易圈) 2:指定对手 - [挂牌]",
  15154. "name": "isspecified",
  15155. "in": "query"
  15156. }
  15157. ],
  15158. "responses": {
  15159. "200": {
  15160. "description": "OK",
  15161. "schema": {
  15162. "type": "array",
  15163. "items": {
  15164. "$ref": "#/definitions/models.WrSpecialMatchOrder"
  15165. }
  15166. }
  15167. },
  15168. "500": {
  15169. "description": "Internal Server Error",
  15170. "schema": {
  15171. "$ref": "#/definitions/app.Response"
  15172. }
  15173. }
  15174. }
  15175. }
  15176. },
  15177. "/WrTrade2/QueryWrStandardFactoryItem": {
  15178. "get": {
  15179. "security": [
  15180. {
  15181. "ApiKeyAuth": []
  15182. }
  15183. ],
  15184. "produces": [
  15185. "application/json"
  15186. ],
  15187. "tags": [
  15188. "仓单贸易v2"
  15189. ],
  15190. "summary": "查询品类要素定义项",
  15191. "parameters": [
  15192. {
  15193. "type": "integer",
  15194. "description": "品类id",
  15195. "name": "wrstandardid",
  15196. "in": "query",
  15197. "required": true
  15198. }
  15199. ],
  15200. "responses": {
  15201. "200": {
  15202. "description": "OK",
  15203. "schema": {
  15204. "type": "array",
  15205. "items": {
  15206. "$ref": "#/definitions/models.WrStandardFactoryItemEx"
  15207. }
  15208. }
  15209. },
  15210. "500": {
  15211. "description": "Internal Server Error",
  15212. "schema": {
  15213. "$ref": "#/definitions/app.Response"
  15214. }
  15215. }
  15216. }
  15217. }
  15218. },
  15219. "/WrTrade2/QueryWrTradeBargainApply": {
  15220. "get": {
  15221. "security": [
  15222. {
  15223. "ApiKeyAuth": []
  15224. }
  15225. ],
  15226. "description": "1.页面 挂单/议价单, 只需传单号就行 \u003cbr\u003e2.页面 议价-\u003e我的议价 参数 userid=登录userid \u003cbr\u003e3.页面 议价-\u003e对方议价 填写matchuserid=登录用户id",
  15227. "produces": [
  15228. "application/json"
  15229. ],
  15230. "tags": [
  15231. "仓单贸易v2"
  15232. ],
  15233. "summary": "查询议价单",
  15234. "parameters": [
  15235. {
  15236. "type": "integer",
  15237. "description": "议价人id(摘牌方)",
  15238. "name": "userid",
  15239. "in": "query"
  15240. },
  15241. {
  15242. "type": "integer",
  15243. "description": "挂牌方id(查对方议价时,填写此项)",
  15244. "name": "matchuserid",
  15245. "in": "query"
  15246. },
  15247. {
  15248. "type": "integer",
  15249. "description": "关联委托单id",
  15250. "name": "wrtradeorderid",
  15251. "in": "query"
  15252. },
  15253. {
  15254. "type": "integer",
  15255. "description": "0:仓单预售 1:仓单贸易",
  15256. "name": "haswr",
  15257. "in": "query",
  15258. "required": true
  15259. },
  15260. {
  15261. "type": "string",
  15262. "description": "开始交易日(yyyymmdd)",
  15263. "name": "begindate",
  15264. "in": "query"
  15265. },
  15266. {
  15267. "type": "string",
  15268. "description": "结束交易日(yyyymmdd)",
  15269. "name": "enddate",
  15270. "in": "query"
  15271. }
  15272. ],
  15273. "responses": {
  15274. "200": {
  15275. "description": "OK",
  15276. "schema": {
  15277. "type": "array",
  15278. "items": {
  15279. "$ref": "#/definitions/models.WRTradeBargainApply"
  15280. }
  15281. }
  15282. },
  15283. "500": {
  15284. "description": "Internal Server Error",
  15285. "schema": {
  15286. "$ref": "#/definitions/app.Response"
  15287. }
  15288. }
  15289. }
  15290. }
  15291. },
  15292. "/WrTrade2/QueryWrTradeDetail": {
  15293. "get": {
  15294. "security": [
  15295. {
  15296. "ApiKeyAuth": []
  15297. }
  15298. ],
  15299. "produces": [
  15300. "application/json"
  15301. ],
  15302. "tags": [
  15303. "仓单贸易v2"
  15304. ],
  15305. "summary": "查询仓单成交明细",
  15306. "parameters": [
  15307. {
  15308. "type": "integer",
  15309. "description": "页码",
  15310. "name": "page",
  15311. "in": "query"
  15312. },
  15313. {
  15314. "type": "integer",
  15315. "description": "每页条数",
  15316. "name": "pagesize",
  15317. "in": "query"
  15318. },
  15319. {
  15320. "type": "integer",
  15321. "description": "用户id",
  15322. "name": "userid",
  15323. "in": "query",
  15324. "required": true
  15325. },
  15326. {
  15327. "type": "integer",
  15328. "description": "仓单贸易市场id",
  15329. "name": "marketid",
  15330. "in": "query"
  15331. },
  15332. {
  15333. "type": "integer",
  15334. "description": "0:仓单预售 1:仓单贸易",
  15335. "name": "haswr",
  15336. "in": "query",
  15337. "required": true
  15338. },
  15339. {
  15340. "type": "string",
  15341. "description": "开始交易日(yyyymmdd)",
  15342. "name": "begindate",
  15343. "in": "query"
  15344. },
  15345. {
  15346. "type": "string",
  15347. "description": "结束交易日(yyyymmdd)",
  15348. "name": "enddate",
  15349. "in": "query"
  15350. }
  15351. ],
  15352. "responses": {
  15353. "200": {
  15354. "description": "OK",
  15355. "schema": {
  15356. "type": "array",
  15357. "items": {
  15358. "$ref": "#/definitions/models.WrTradeDetail"
  15359. }
  15360. }
  15361. },
  15362. "500": {
  15363. "description": "Internal Server Error",
  15364. "schema": {
  15365. "$ref": "#/definitions/app.Response"
  15366. }
  15367. }
  15368. }
  15369. }
  15370. },
  15371. "/WrTrade2/QueryWrTradeOrderDetail": {
  15372. "get": {
  15373. "security": [
  15374. {
  15375. "ApiKeyAuth": []
  15376. }
  15377. ],
  15378. "produces": [
  15379. "application/json"
  15380. ],
  15381. "tags": [
  15382. "仓单贸易v2"
  15383. ],
  15384. "summary": "查询合约交易买卖大厅",
  15385. "parameters": [
  15386. {
  15387. "type": "integer",
  15388. "description": "页码",
  15389. "name": "page",
  15390. "in": "query"
  15391. },
  15392. {
  15393. "type": "integer",
  15394. "description": "每页条数",
  15395. "name": "pagesize",
  15396. "in": "query"
  15397. },
  15398. {
  15399. "type": "integer",
  15400. "description": "商品id",
  15401. "name": "goodsid",
  15402. "in": "query",
  15403. "required": true
  15404. },
  15405. {
  15406. "type": "integer",
  15407. "description": "买卖方向 0-买 1-卖",
  15408. "name": "buyorsell",
  15409. "in": "query",
  15410. "required": true
  15411. }
  15412. ],
  15413. "responses": {
  15414. "200": {
  15415. "description": "OK",
  15416. "schema": {
  15417. "type": "array",
  15418. "items": {
  15419. "$ref": "#/definitions/models.WrTradeOrderDetail"
  15420. }
  15421. }
  15422. },
  15423. "500": {
  15424. "description": "Internal Server Error",
  15425. "schema": {
  15426. "$ref": "#/definitions/app.Response"
  15427. }
  15428. }
  15429. }
  15430. }
  15431. },
  15432. "/WrTrade2/QueryWrTradeQuote": {
  15433. "get": {
  15434. "security": [
  15435. {
  15436. "ApiKeyAuth": []
  15437. }
  15438. ],
  15439. "produces": [
  15440. "application/json"
  15441. ],
  15442. "tags": [
  15443. "仓单贸易v2"
  15444. ],
  15445. "summary": "查询仓单贸易成交行情",
  15446. "parameters": [
  15447. {
  15448. "type": "integer",
  15449. "description": "现货商品id",
  15450. "name": "wrstandardid",
  15451. "in": "query",
  15452. "required": true
  15453. },
  15454. {
  15455. "type": "string",
  15456. "description": "开始日期(yyyymmdd)",
  15457. "name": "begindate",
  15458. "in": "query",
  15459. "required": true
  15460. },
  15461. {
  15462. "type": "string",
  15463. "description": "结束日期(yyyymmdd)",
  15464. "name": "enddate",
  15465. "in": "query",
  15466. "required": true
  15467. },
  15468. {
  15469. "type": "integer",
  15470. "description": "市场id",
  15471. "name": "marketid",
  15472. "in": "query"
  15473. }
  15474. ],
  15475. "responses": {
  15476. "200": {
  15477. "description": "OK",
  15478. "schema": {
  15479. "type": "array",
  15480. "items": {
  15481. "$ref": "#/definitions/models.Wrtradetradequote"
  15482. }
  15483. }
  15484. },
  15485. "500": {
  15486. "description": "Internal Server Error",
  15487. "schema": {
  15488. "$ref": "#/definitions/app.Response"
  15489. }
  15490. }
  15491. }
  15492. }
  15493. },
  15494. "/WrTrade2/QueryWrUserFriend": {
  15495. "get": {
  15496. "security": [
  15497. {
  15498. "ApiKeyAuth": []
  15499. }
  15500. ],
  15501. "produces": [
  15502. "application/json"
  15503. ],
  15504. "tags": [
  15505. "仓单贸易v2"
  15506. ],
  15507. "summary": "查询我的朋友",
  15508. "parameters": [
  15509. {
  15510. "type": "integer",
  15511. "description": "用户id",
  15512. "name": "userid",
  15513. "in": "query",
  15514. "required": true
  15515. },
  15516. {
  15517. "type": "integer",
  15518. "description": "新朋友userid, 如果填写了此项则查找新朋友",
  15519. "name": "newuserid",
  15520. "in": "query"
  15521. }
  15522. ],
  15523. "responses": {
  15524. "200": {
  15525. "description": "OK",
  15526. "schema": {
  15527. "type": "array",
  15528. "items": {
  15529. "$ref": "#/definitions/models.WrUserFriend"
  15530. }
  15531. }
  15532. },
  15533. "500": {
  15534. "description": "Internal Server Error",
  15535. "schema": {
  15536. "$ref": "#/definitions/app.Response"
  15537. }
  15538. }
  15539. }
  15540. }
  15541. },
  15542. "/WrTrade2/QueryWrUserReceiptInfo": {
  15543. "get": {
  15544. "security": [
  15545. {
  15546. "ApiKeyAuth": []
  15547. }
  15548. ],
  15549. "produces": [
  15550. "application/json"
  15551. ],
  15552. "tags": [
  15553. "仓单贸易v2"
  15554. ],
  15555. "summary": "查询发票信息",
  15556. "parameters": [
  15557. {
  15558. "type": "integer",
  15559. "description": "用户id",
  15560. "name": "userid",
  15561. "in": "query"
  15562. },
  15563. {
  15564. "type": "integer",
  15565. "description": "发票类型 - 1:个人 2:企业",
  15566. "name": "receipttype",
  15567. "in": "query"
  15568. }
  15569. ],
  15570. "responses": {
  15571. "200": {
  15572. "description": "OK",
  15573. "schema": {
  15574. "type": "array",
  15575. "items": {
  15576. "$ref": "#/definitions/models.WrUserReceiptInfo"
  15577. }
  15578. }
  15579. },
  15580. "500": {
  15581. "description": "Internal Server Error",
  15582. "schema": {
  15583. "$ref": "#/definitions/app.Response"
  15584. }
  15585. }
  15586. }
  15587. }
  15588. },
  15589. "/WrTrade2/QueryXhcpSellBackApply": {
  15590. "get": {
  15591. "security": [
  15592. {
  15593. "ApiKeyAuth": []
  15594. }
  15595. ],
  15596. "produces": [
  15597. "application/json"
  15598. ],
  15599. "tags": [
  15600. "仓单贸易v2"
  15601. ],
  15602. "summary": "查询我的回收申请(新会陈皮)",
  15603. "parameters": [
  15604. {
  15605. "type": "integer",
  15606. "description": "用户ID",
  15607. "name": "userid",
  15608. "in": "query",
  15609. "required": true
  15610. }
  15611. ],
  15612. "responses": {
  15613. "200": {
  15614. "description": "OK",
  15615. "schema": {
  15616. "type": "array",
  15617. "items": {
  15618. "$ref": "#/definitions/models.Xhcpsellbackapply"
  15619. }
  15620. }
  15621. },
  15622. "500": {
  15623. "description": "Internal Server Error",
  15624. "schema": {
  15625. "$ref": "#/definitions/app.Response"
  15626. }
  15627. }
  15628. }
  15629. }
  15630. },
  15631. "/ZJ/GetBankTip": {
  15632. "get": {
  15633. "produces": [
  15634. "application/json"
  15635. ],
  15636. "tags": [
  15637. "中江"
  15638. ],
  15639. "summary": "获取中江网银端出入金提示信息",
  15640. "responses": {
  15641. "200": {
  15642. "description": "OK",
  15643. "schema": {
  15644. "type": "string"
  15645. }
  15646. },
  15647. "500": {
  15648. "description": "Internal Server Error",
  15649. "schema": {
  15650. "$ref": "#/definitions/app.Response"
  15651. }
  15652. }
  15653. }
  15654. }
  15655. },
  15656. "/ZJ/GetCusBankChannels": {
  15657. "get": {
  15658. "produces": [
  15659. "application/json"
  15660. ],
  15661. "tags": [
  15662. "中江"
  15663. ],
  15664. "summary": "获取中江出入金渠道显示列表",
  15665. "responses": {
  15666. "200": {
  15667. "description": "OK",
  15668. "schema": {
  15669. "type": "array",
  15670. "items": {
  15671. "type": "string"
  15672. }
  15673. }
  15674. },
  15675. "500": {
  15676. "description": "Internal Server Error",
  15677. "schema": {
  15678. "$ref": "#/definitions/app.Response"
  15679. }
  15680. }
  15681. }
  15682. }
  15683. }
  15684. },
  15685. "definitions": {
  15686. "app.Response": {
  15687. "type": "object",
  15688. "properties": {
  15689. "code": {
  15690. "type": "integer"
  15691. },
  15692. "data": {
  15693. "type": "object"
  15694. },
  15695. "msg": {
  15696. "type": "string"
  15697. },
  15698. "page": {
  15699. "description": "页码",
  15700. "type": "integer"
  15701. },
  15702. "pagesize": {
  15703. "description": "每页条数",
  15704. "type": "integer"
  15705. },
  15706. "total": {
  15707. "description": "总条数",
  15708. "type": "integer"
  15709. }
  15710. }
  15711. },
  15712. "common.ClientMenu": {
  15713. "type": "object",
  15714. "properties": {
  15715. "children": {
  15716. "description": "子菜单列表",
  15717. "type": "array",
  15718. "items": {
  15719. "$ref": "#/definitions/common.ClientMenu"
  15720. }
  15721. },
  15722. "code": {
  15723. "description": "ID",
  15724. "type": "string"
  15725. },
  15726. "isshow": {
  15727. "description": "是否显示",
  15728. "type": "boolean"
  15729. },
  15730. "remark": {
  15731. "description": "备注",
  15732. "type": "string"
  15733. },
  15734. "rulekey": {
  15735. "description": "对应权限主键,对应FUNCMENULIST表RESOURCECODE",
  15736. "type": "string"
  15737. },
  15738. "sort": {
  15739. "description": "排序",
  15740. "type": "integer"
  15741. },
  15742. "title": {
  15743. "description": "标题",
  15744. "type": "string"
  15745. },
  15746. "type": {
  15747. "description": "类型,1:菜单 2:按钮",
  15748. "type": "integer"
  15749. },
  15750. "url": {
  15751. "description": "URL",
  15752. "type": "string"
  15753. }
  15754. }
  15755. },
  15756. "common.PCWebMenu": {
  15757. "type": "object",
  15758. "properties": {
  15759. "auth": {
  15760. "description": "页面权限列表",
  15761. "type": "array",
  15762. "items": {
  15763. "$ref": "#/definitions/common.PCWebMenuAuth"
  15764. }
  15765. },
  15766. "children": {
  15767. "description": "子菜单列表",
  15768. "type": "array",
  15769. "items": {
  15770. "$ref": "#/definitions/common.PCWebMenu"
  15771. }
  15772. },
  15773. "code": {
  15774. "description": "ID,新版本中权限KEY也是这个字段",
  15775. "type": "string"
  15776. },
  15777. "component": {
  15778. "description": "路由组件",
  15779. "type": "string"
  15780. },
  15781. "isshow": {
  15782. "description": "是否显示",
  15783. "type": "boolean"
  15784. },
  15785. "path": {
  15786. "description": "路由路径",
  15787. "type": "string"
  15788. },
  15789. "remark": {
  15790. "description": "备注",
  15791. "type": "string"
  15792. },
  15793. "rulekey": {
  15794. "description": "权限主键,非空表示需要判断控制,非空值不可重复",
  15795. "type": "string"
  15796. },
  15797. "sort": {
  15798. "description": "排序",
  15799. "type": "integer"
  15800. },
  15801. "title": {
  15802. "description": "标题",
  15803. "type": "string"
  15804. },
  15805. "url": {
  15806. "description": "URL",
  15807. "type": "string"
  15808. }
  15809. }
  15810. },
  15811. "common.PCWebMenuAuth": {
  15812. "type": "object",
  15813. "properties": {
  15814. "code": {
  15815. "description": "ID,新版本中权限KEY也是这个字段",
  15816. "type": "string"
  15817. },
  15818. "isshow": {
  15819. "description": "是否显示",
  15820. "type": "boolean"
  15821. },
  15822. "label": {
  15823. "description": "标题",
  15824. "type": "string"
  15825. },
  15826. "remark": {
  15827. "description": "备注",
  15828. "type": "string"
  15829. },
  15830. "rulekey": {
  15831. "description": "权限主键,非空表示需要判断控制,非空值不可重复",
  15832. "type": "string"
  15833. }
  15834. }
  15835. },
  15836. "common.QueryImageConfigsRsp": {
  15837. "type": "object",
  15838. "required": [
  15839. "configid"
  15840. ],
  15841. "properties": {
  15842. "areauserid": {
  15843. "description": "所属机构ID",
  15844. "type": "integer"
  15845. },
  15846. "configid": {
  15847. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  15848. "type": "integer"
  15849. },
  15850. "createdate": {
  15851. "description": "创建时间",
  15852. "type": "string"
  15853. },
  15854. "creatorid": {
  15855. "description": "创建人",
  15856. "type": "integer"
  15857. },
  15858. "imagedetailpath": {
  15859. "description": "详情图片 [UrlType = 3时 有且必填,其它类型不需要]",
  15860. "type": "string"
  15861. },
  15862. "imagepath": {
  15863. "description": "图片",
  15864. "type": "string"
  15865. },
  15866. "imagetype": {
  15867. "description": "类型 - 1:首页轮播(移动) 2:我的(移动)",
  15868. "type": "integer"
  15869. },
  15870. "isshow": {
  15871. "description": "是否展示 - 0:不展示 1:展示",
  15872. "type": "integer"
  15873. },
  15874. "marketid": {
  15875. "description": "市场ID",
  15876. "type": "integer"
  15877. },
  15878. "modifierid": {
  15879. "description": "操作人",
  15880. "type": "integer"
  15881. },
  15882. "sort": {
  15883. "description": "排序",
  15884. "type": "integer"
  15885. },
  15886. "title": {
  15887. "description": "标题",
  15888. "type": "string"
  15889. },
  15890. "trademode": {
  15891. "description": "交易模式",
  15892. "type": "integer"
  15893. },
  15894. "updatedate": {
  15895. "description": "修改时间",
  15896. "type": "string"
  15897. },
  15898. "url": {
  15899. "description": "链接(地址或商品ID)",
  15900. "type": "string"
  15901. },
  15902. "urltype": {
  15903. "description": "链接类型 - 1:直接地址 2:商品ID",
  15904. "type": "integer"
  15905. }
  15906. }
  15907. },
  15908. "common.QueryNoticeRsp": {
  15909. "type": "object",
  15910. "required": [
  15911. "autoid"
  15912. ],
  15913. "properties": {
  15914. "auditoruserid": {
  15915. "description": "审核人",
  15916. "type": "integer"
  15917. },
  15918. "auditremark": {
  15919. "description": "审核备注",
  15920. "type": "string"
  15921. },
  15922. "audittime": {
  15923. "description": "审核日期",
  15924. "type": "string"
  15925. },
  15926. "autoid": {
  15927. "description": "自增ID",
  15928. "type": "integer"
  15929. },
  15930. "content": {
  15931. "description": "内容",
  15932. "type": "string"
  15933. },
  15934. "createtime": {
  15935. "description": "创建时间",
  15936. "type": "string"
  15937. },
  15938. "creatorid": {
  15939. "description": "建仓人",
  15940. "type": "integer"
  15941. },
  15942. "endtime": {
  15943. "description": "结束时间",
  15944. "type": "string"
  15945. },
  15946. "istop": {
  15947. "description": "是否置顶 - 0:不置顶 1:置顶",
  15948. "type": "integer"
  15949. },
  15950. "msgiconurl": {
  15951. "description": "消息图标Url",
  15952. "type": "string"
  15953. },
  15954. "msgtype": {
  15955. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  15956. "type": "integer"
  15957. },
  15958. "publisher": {
  15959. "description": "消息发布者",
  15960. "type": "string"
  15961. },
  15962. "readed": {
  15963. "description": "是否已读",
  15964. "type": "boolean"
  15965. },
  15966. "scheduletime": {
  15967. "description": "计划发送时间",
  15968. "type": "string"
  15969. },
  15970. "sendtype": {
  15971. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  15972. "type": "integer"
  15973. },
  15974. "sentstatus": {
  15975. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  15976. "type": "integer"
  15977. },
  15978. "title": {
  15979. "description": "标题",
  15980. "type": "string"
  15981. },
  15982. "userid": {
  15983. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  15984. "type": "integer"
  15985. }
  15986. }
  15987. },
  15988. "common.QueryProvincesAndCitiesRsp": {
  15989. "type": "object",
  15990. "properties": {
  15991. "cities": {
  15992. "description": "市",
  15993. "type": "array",
  15994. "items": {
  15995. "$ref": "#/definitions/models.Division"
  15996. }
  15997. },
  15998. "province": {
  15999. "description": "省",
  16000. "$ref": "#/definitions/models.Division"
  16001. }
  16002. }
  16003. },
  16004. "common.QueryTableDefineRsp": {
  16005. "type": "object",
  16006. "required": [
  16007. "tablekey"
  16008. ],
  16009. "properties": {
  16010. "columns": {
  16011. "description": "列头信息数组",
  16012. "type": "array",
  16013. "items": {
  16014. "$ref": "#/definitions/models.Tablecolumnconfig"
  16015. }
  16016. },
  16017. "remark": {
  16018. "description": "Remark",
  16019. "type": "string"
  16020. },
  16021. "tabelmenu": {
  16022. "description": "列表菜单",
  16023. "type": "string"
  16024. },
  16025. "tablekey": {
  16026. "description": "列表Key",
  16027. "type": "string"
  16028. },
  16029. "tablename": {
  16030. "description": "列表名称",
  16031. "type": "string"
  16032. },
  16033. "tabletype": {
  16034. "description": "列表类型 - 1:管理端 2:终端",
  16035. "type": "integer"
  16036. }
  16037. }
  16038. },
  16039. "common.QueryTraderMenuRsp": {
  16040. "type": "object",
  16041. "properties": {
  16042. "OperationMenu": {
  16043. "description": "功能菜单",
  16044. "type": "array",
  16045. "items": {
  16046. "$ref": "#/definitions/models.OperationPrimaryMenu"
  16047. }
  16048. },
  16049. "QuoteMenu": {
  16050. "description": "报价牌分类菜单",
  16051. "type": "array",
  16052. "items": {
  16053. "$ref": "#/definitions/models.QuotePrimaryMenu"
  16054. }
  16055. }
  16056. }
  16057. },
  16058. "cptrade.Cptradepositioncancel": {
  16059. "type": "object",
  16060. "required": [
  16061. "cancelid"
  16062. ],
  16063. "properties": {
  16064. "accountid": {
  16065. "description": "申请人账户ID",
  16066. "type": "integer"
  16067. },
  16068. "applystatus": {
  16069. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  16070. "type": "integer"
  16071. },
  16072. "applytime": {
  16073. "description": "申请时间",
  16074. "type": "string"
  16075. },
  16076. "cancelid": {
  16077. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  16078. "type": "integer"
  16079. },
  16080. "cancelqty": {
  16081. "description": "注销数量",
  16082. "type": "integer"
  16083. },
  16084. "createtime": {
  16085. "description": "创建时间",
  16086. "type": "string"
  16087. },
  16088. "creatorid": {
  16089. "description": "创建人ID",
  16090. "type": "integer"
  16091. },
  16092. "creatorname": {
  16093. "description": "创建人",
  16094. "type": "string"
  16095. },
  16096. "goodscode": {
  16097. "description": "订单商品代码",
  16098. "type": "string"
  16099. },
  16100. "goodsid": {
  16101. "description": "商品ID",
  16102. "type": "integer"
  16103. },
  16104. "goodsname": {
  16105. "description": "订单商品名称",
  16106. "type": "string"
  16107. },
  16108. "goodunit": {
  16109. "description": "报价单位",
  16110. "type": "string"
  16111. },
  16112. "handlestatus": {
  16113. "description": "处理状态",
  16114. "type": "integer"
  16115. },
  16116. "marketid": {
  16117. "description": "市场ID",
  16118. "type": "integer"
  16119. },
  16120. "marketname": {
  16121. "description": "市场名称",
  16122. "type": "string"
  16123. },
  16124. "tradedate": {
  16125. "description": "交易日(yyyyMMdd)",
  16126. "type": "string"
  16127. },
  16128. "userid": {
  16129. "description": "申请人ID",
  16130. "type": "integer"
  16131. }
  16132. }
  16133. },
  16134. "cptrade.Cptradepresaleapply": {
  16135. "type": "object",
  16136. "required": [
  16137. "applyid"
  16138. ],
  16139. "properties": {
  16140. "accountid": {
  16141. "description": "申请人账户ID",
  16142. "type": "integer"
  16143. },
  16144. "applyid": {
  16145. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  16146. "type": "integer"
  16147. },
  16148. "applyremark": {
  16149. "description": "申请备注",
  16150. "type": "string"
  16151. },
  16152. "applystatus": {
  16153. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  16154. "type": "integer"
  16155. },
  16156. "applytime": {
  16157. "description": "申请时间",
  16158. "type": "string"
  16159. },
  16160. "attachmenturl": {
  16161. "description": "附件地址",
  16162. "type": "string"
  16163. },
  16164. "endtime": {
  16165. "description": "预售结束时间",
  16166. "type": "string"
  16167. },
  16168. "goodscode": {
  16169. "description": "商品代码",
  16170. "type": "string"
  16171. },
  16172. "goodsid": {
  16173. "description": "商品ID",
  16174. "type": "integer"
  16175. },
  16176. "goodsname": {
  16177. "description": "商品名称",
  16178. "type": "string"
  16179. },
  16180. "goodunit": {
  16181. "description": "报价单位",
  16182. "type": "string"
  16183. },
  16184. "handlestatus": {
  16185. "description": "处理状态",
  16186. "type": "integer"
  16187. },
  16188. "marketid": {
  16189. "description": "预售市场ID",
  16190. "type": "integer"
  16191. },
  16192. "marketname": {
  16193. "description": "预售市场名称",
  16194. "type": "string"
  16195. },
  16196. "presaleqty": {
  16197. "description": "预售数量",
  16198. "type": "integer"
  16199. },
  16200. "relatedgoodscode": {
  16201. "description": "关联交易合约代码",
  16202. "type": "string"
  16203. },
  16204. "relatedgoodsid": {
  16205. "description": "关联交易合约ID",
  16206. "type": "integer"
  16207. },
  16208. "relatedgoodsname": {
  16209. "description": "关联交易合约名称",
  16210. "type": "string"
  16211. },
  16212. "starttime": {
  16213. "description": "预售开始时间",
  16214. "type": "string"
  16215. },
  16216. "tradedate": {
  16217. "description": "交易日(yyyyMMdd)",
  16218. "type": "string"
  16219. },
  16220. "trademode": {
  16221. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  16222. "type": "integer"
  16223. },
  16224. "userid": {
  16225. "description": "申请人ID",
  16226. "type": "integer"
  16227. }
  16228. }
  16229. },
  16230. "cptrade.Cptradeusergoodsdata": {
  16231. "type": "object",
  16232. "required": [
  16233. "accountid",
  16234. "goodsid"
  16235. ],
  16236. "properties": {
  16237. "EnabledQty": {
  16238. "description": "可用量",
  16239. "type": "integer"
  16240. },
  16241. "GoodsCode": {
  16242. "description": "订单商品代码",
  16243. "type": "string"
  16244. },
  16245. "GoodsName": {
  16246. "description": "订单商品名称",
  16247. "type": "string"
  16248. },
  16249. "WRStandardCode": {
  16250. "description": "仓单标准代码",
  16251. "type": "string"
  16252. },
  16253. "WRStandardName": {
  16254. "description": "仓单标准名称",
  16255. "type": "string"
  16256. },
  16257. "accountid": {
  16258. "description": "账户ID",
  16259. "type": "integer"
  16260. },
  16261. "cancelqty": {
  16262. "description": "注销量",
  16263. "type": "integer"
  16264. },
  16265. "curpresaleqty": {
  16266. "description": "当前预售量",
  16267. "type": "integer"
  16268. },
  16269. "deliveryqty": {
  16270. "description": "交割量",
  16271. "type": "integer"
  16272. },
  16273. "freezeamount": {
  16274. "description": "冻结金额",
  16275. "type": "number"
  16276. },
  16277. "goodsid": {
  16278. "description": "商品ID",
  16279. "type": "integer"
  16280. },
  16281. "goodunit": {
  16282. "description": "报价单位",
  16283. "type": "string"
  16284. },
  16285. "hasspotfreeze": {
  16286. "description": "是否有现货冻结 - 0:否 1:有",
  16287. "type": "integer"
  16288. },
  16289. "inqty": {
  16290. "description": "转入量(总数量)",
  16291. "type": "integer"
  16292. },
  16293. "marketid": {
  16294. "description": "市场ID",
  16295. "type": "integer"
  16296. },
  16297. "presaledamount": {
  16298. "description": "已预售总金额",
  16299. "type": "integer"
  16300. },
  16301. "presaledqty": {
  16302. "description": "已预售量",
  16303. "type": "integer"
  16304. },
  16305. "userid": {
  16306. "description": "用户ID",
  16307. "type": "integer"
  16308. },
  16309. "wrstandardid": {
  16310. "description": "仓单标准ID",
  16311. "type": "integer"
  16312. }
  16313. }
  16314. },
  16315. "cptrade.QueryCPTradeMyBidRsp": {
  16316. "type": "object",
  16317. "required": [
  16318. "accountid",
  16319. "goodsid",
  16320. "marketid",
  16321. "orderid",
  16322. "orderqty",
  16323. "ordertime",
  16324. "tradeprice",
  16325. "tradeqty"
  16326. ],
  16327. "properties": {
  16328. "accountid": {
  16329. "description": "账户ID[报价币种]",
  16330. "type": "integer"
  16331. },
  16332. "goodsid": {
  16333. "description": "商品ID",
  16334. "type": "integer"
  16335. },
  16336. "goodunit": {
  16337. "description": "报价单位",
  16338. "type": "string"
  16339. },
  16340. "marketid": {
  16341. "description": "市场ID",
  16342. "type": "integer"
  16343. },
  16344. "orderid": {
  16345. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16346. "type": "integer"
  16347. },
  16348. "orderprice": {
  16349. "description": "委托价格",
  16350. "type": "number"
  16351. },
  16352. "orderqty": {
  16353. "description": "委托数量",
  16354. "type": "integer"
  16355. },
  16356. "ordertime": {
  16357. "description": "委托时间",
  16358. "type": "string"
  16359. },
  16360. "ordertotalprice": {
  16361. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  16362. "type": "number"
  16363. },
  16364. "ordertotalweight": {
  16365. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  16366. "type": "integer"
  16367. },
  16368. "totaltotalprice": {
  16369. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  16370. "type": "number"
  16371. },
  16372. "tradeprice": {
  16373. "description": "成交价格",
  16374. "type": "number"
  16375. },
  16376. "tradeqty": {
  16377. "description": "成交数量",
  16378. "type": "integer"
  16379. }
  16380. }
  16381. },
  16382. "cptrade.QueryCPTradeOrderDetailRsq": {
  16383. "type": "object",
  16384. "required": [
  16385. "accountid",
  16386. "buildtype",
  16387. "buyorsell",
  16388. "goodsid",
  16389. "marketid",
  16390. "memberuserid",
  16391. "operatetype",
  16392. "orderqty",
  16393. "ordertime",
  16394. "pricemode",
  16395. "strorderid",
  16396. "tradedate",
  16397. "validtype"
  16398. ],
  16399. "properties": {
  16400. "accountid": {
  16401. "description": "账户ID[报价币种]",
  16402. "type": "integer"
  16403. },
  16404. "buildtype": {
  16405. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  16406. "type": "integer"
  16407. },
  16408. "buyorsell": {
  16409. "description": "买卖 - 0:买 1:卖",
  16410. "type": "integer"
  16411. },
  16412. "cancelorderid": {
  16413. "description": "撤单单号(撤单时填写)",
  16414. "type": "integer"
  16415. },
  16416. "cancelqty": {
  16417. "description": "撤单数量",
  16418. "type": "integer"
  16419. },
  16420. "clientordertime": {
  16421. "description": "客户端委托时间",
  16422. "type": "string"
  16423. },
  16424. "clientticket": {
  16425. "description": "客户端流水号",
  16426. "type": "string"
  16427. },
  16428. "clienttype": {
  16429. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  16430. "type": "integer"
  16431. },
  16432. "closeexchagechargevalue": {
  16433. "description": "平仓交易所手续费设置值",
  16434. "type": "number"
  16435. },
  16436. "closefeealgorithm": {
  16437. "description": "平仓手续费收取方式 1:比率 2:固定",
  16438. "type": "integer"
  16439. },
  16440. "closefreezecharge": {
  16441. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  16442. "type": "number"
  16443. },
  16444. "closememberchargevalue": {
  16445. "description": "平仓会员手续费设置值",
  16446. "type": "number"
  16447. },
  16448. "closeqty": {
  16449. "description": "平仓数量(先建后平操作 需要记录)",
  16450. "type": "integer"
  16451. },
  16452. "closetradeqty": {
  16453. "description": "平仓成交数量(先建后平操作,需要记录)",
  16454. "type": "integer"
  16455. },
  16456. "closeunfreezecharge": {
  16457. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  16458. "type": "number"
  16459. },
  16460. "delistingtype": {
  16461. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  16462. "type": "integer"
  16463. },
  16464. "freezecharge": {
  16465. "description": "冻结手续费",
  16466. "type": "number"
  16467. },
  16468. "freezemargin": {
  16469. "description": "冻结保证金(冻结交易金额)",
  16470. "type": "number"
  16471. },
  16472. "gcaccountid": {
  16473. "description": "账户ID[合约币种]",
  16474. "type": "integer"
  16475. },
  16476. "goodsid": {
  16477. "description": "商品ID",
  16478. "type": "integer"
  16479. },
  16480. "isconfirmexercise": {
  16481. "description": "是否确认行权- 0:否 1:是",
  16482. "type": "integer"
  16483. },
  16484. "ispreexercise": {
  16485. "description": "是否预申报- 0:否 1:是",
  16486. "type": "integer"
  16487. },
  16488. "listingselecttype": {
  16489. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  16490. "type": "integer"
  16491. },
  16492. "marginalgorithm": {
  16493. "description": "保证金收取方式 1:比率 2:固定",
  16494. "type": "integer"
  16495. },
  16496. "marginvalue": {
  16497. "description": "即市保证金设置值",
  16498. "type": "number"
  16499. },
  16500. "marketid": {
  16501. "description": "市场ID",
  16502. "type": "integer"
  16503. },
  16504. "marketmaxsub": {
  16505. "description": "市价最大偏移范围",
  16506. "type": "number"
  16507. },
  16508. "memberuserid": {
  16509. "description": "所属会员UserID",
  16510. "type": "integer"
  16511. },
  16512. "openexchagechargevalue": {
  16513. "description": "建仓交易所手续费设置值",
  16514. "type": "number"
  16515. },
  16516. "openfeealgorithm": {
  16517. "description": "建仓手续费收取方式 1:比率 2:固定",
  16518. "type": "integer"
  16519. },
  16520. "openfreezecharge": {
  16521. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  16522. "type": "number"
  16523. },
  16524. "openmemberchargevalue": {
  16525. "description": "建仓会员手续费设置值",
  16526. "type": "number"
  16527. },
  16528. "openqty": {
  16529. "description": "开仓数量(先建后平操作,需要记录)",
  16530. "type": "integer"
  16531. },
  16532. "opentradeqty": {
  16533. "description": "开仓成交数量(先建后平操作,需要记录)",
  16534. "type": "integer"
  16535. },
  16536. "openunfreezecharge": {
  16537. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  16538. "type": "number"
  16539. },
  16540. "operatetype": {
  16541. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  16542. "type": "integer"
  16543. },
  16544. "operatorid": {
  16545. "description": "登录账号(LoginID)",
  16546. "type": "integer"
  16547. },
  16548. "optiontype": {
  16549. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  16550. "type": "integer"
  16551. },
  16552. "orderprice": {
  16553. "description": "委托价格",
  16554. "type": "number"
  16555. },
  16556. "orderqty": {
  16557. "description": "委托数量",
  16558. "type": "integer"
  16559. },
  16560. "ordersrc": {
  16561. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  16562. "type": "integer"
  16563. },
  16564. "orderstatus": {
  16565. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  16566. "type": "integer"
  16567. },
  16568. "ordertime": {
  16569. "description": "委托时间",
  16570. "type": "string"
  16571. },
  16572. "preexerciseprice": {
  16573. "description": "预申报价格",
  16574. "type": "number"
  16575. },
  16576. "premium": {
  16577. "description": "权利金",
  16578. "type": "number"
  16579. },
  16580. "preorderid": {
  16581. "description": "关联预埋单号(止盈止损单时填写)",
  16582. "type": "integer"
  16583. },
  16584. "pricemode": {
  16585. "description": "取价方式 - 1:市价 2: 限价",
  16586. "type": "integer"
  16587. },
  16588. "quoteid": {
  16589. "description": "报价单ID",
  16590. "type": "integer"
  16591. },
  16592. "relatedid": {
  16593. "description": "关联单号(交割单)",
  16594. "type": "integer"
  16595. },
  16596. "retcode": {
  16597. "description": "错误代码",
  16598. "type": "integer"
  16599. },
  16600. "sessionid": {
  16601. "description": "会话ID",
  16602. "type": "integer"
  16603. },
  16604. "strorderid": {
  16605. "description": "委托单号",
  16606. "type": "string"
  16607. },
  16608. "tradedate": {
  16609. "description": "交易日(yyyyMMdd)",
  16610. "type": "string"
  16611. },
  16612. "tradeproperty": {
  16613. "description": "交易属性",
  16614. "type": "integer"
  16615. },
  16616. "tradeqty": {
  16617. "description": "成交数量",
  16618. "type": "integer"
  16619. },
  16620. "unfreezecharge": {
  16621. "description": "解冻手续费",
  16622. "type": "number"
  16623. },
  16624. "unfreezemargin": {
  16625. "description": "解冻保证金",
  16626. "type": "number"
  16627. },
  16628. "updatetime": {
  16629. "description": "更新时间",
  16630. "type": "string"
  16631. },
  16632. "uuid": {
  16633. "description": "发起端唯一id",
  16634. "type": "string"
  16635. },
  16636. "validtime": {
  16637. "description": "有效期限",
  16638. "type": "string"
  16639. },
  16640. "validtype": {
  16641. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  16642. "type": "integer"
  16643. },
  16644. "volumetype": {
  16645. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  16646. "type": "integer"
  16647. }
  16648. }
  16649. },
  16650. "cptrade.QueryMyCPTradeGoodsRsp": {
  16651. "type": "object",
  16652. "required": [
  16653. "goodscode",
  16654. "goodsid",
  16655. "goodsname",
  16656. "marketid",
  16657. "relatedgoodscode",
  16658. "relatedgoodsname"
  16659. ],
  16660. "properties": {
  16661. "accountid": {
  16662. "description": "卖方账户ID",
  16663. "type": "integer"
  16664. },
  16665. "agreeunit": {
  16666. "description": "合约单位",
  16667. "type": "number"
  16668. },
  16669. "applyid": {
  16670. "description": "关联申请ID",
  16671. "type": "integer"
  16672. },
  16673. "attachmenturl": {
  16674. "description": "附件地址",
  16675. "type": "string"
  16676. },
  16677. "createtime": {
  16678. "description": "创建时间",
  16679. "type": "string"
  16680. },
  16681. "currencyid": {
  16682. "description": "报价货币ID",
  16683. "type": "integer"
  16684. },
  16685. "decimalplace": {
  16686. "description": "报价小数位",
  16687. "type": "integer"
  16688. },
  16689. "endtime": {
  16690. "description": "预售结束时间",
  16691. "type": "string"
  16692. },
  16693. "floorprice": {
  16694. "description": "底价[大宗式竞拍]",
  16695. "type": "number"
  16696. },
  16697. "goodscode": {
  16698. "description": "商品代码(预售)",
  16699. "type": "string"
  16700. },
  16701. "goodsdetail": {
  16702. "description": "详情[大宗]",
  16703. "type": "string"
  16704. },
  16705. "goodsid": {
  16706. "description": "商品ID(自增ID SEQ_GOODS)",
  16707. "type": "integer"
  16708. },
  16709. "goodsname": {
  16710. "description": "商品名称(预售)",
  16711. "type": "string"
  16712. },
  16713. "goodunit": {
  16714. "description": "报价单位",
  16715. "type": "string"
  16716. },
  16717. "goodunitid": {
  16718. "description": "报价单位ID",
  16719. "type": "integer"
  16720. },
  16721. "marketid": {
  16722. "description": "所属市场ID",
  16723. "type": "integer"
  16724. },
  16725. "marketname": {
  16726. "description": "预售市场名称",
  16727. "type": "string"
  16728. },
  16729. "presaledamount": {
  16730. "description": "已预售总金额(预售结束时更新)",
  16731. "type": "number"
  16732. },
  16733. "presaledqty": {
  16734. "description": "已预售量(预售结束时更新)",
  16735. "type": "integer"
  16736. },
  16737. "presalemode": {
  16738. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  16739. "type": "integer"
  16740. },
  16741. "presaleqty": {
  16742. "description": "预售数量",
  16743. "type": "integer"
  16744. },
  16745. "refprice": {
  16746. "description": "参考价格[一口价]",
  16747. "type": "number"
  16748. },
  16749. "relatedgoodscode": {
  16750. "description": "商品代码(订单)",
  16751. "type": "string"
  16752. },
  16753. "relatedgoodsid": {
  16754. "description": "关联交易合约ID",
  16755. "type": "integer"
  16756. },
  16757. "relatedgoodsname": {
  16758. "description": "商品名称(订单)",
  16759. "type": "string"
  16760. },
  16761. "relatedmarketid": {
  16762. "description": "关联交易合约市场ID",
  16763. "type": "integer"
  16764. },
  16765. "sellstatus": {
  16766. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  16767. "type": "integer"
  16768. },
  16769. "startprice": {
  16770. "description": "起拍价[大宗式竞拍]",
  16771. "type": "number"
  16772. },
  16773. "starttime": {
  16774. "description": "预售开始时间",
  16775. "type": "string"
  16776. },
  16777. "tradedate": {
  16778. "description": "交易日(yyyyMMdd)",
  16779. "type": "string"
  16780. },
  16781. "tradeprice": {
  16782. "description": "成交价[大宗]",
  16783. "type": "number"
  16784. },
  16785. "userid": {
  16786. "description": "卖方用户ID",
  16787. "type": "integer"
  16788. }
  16789. }
  16790. },
  16791. "cptrade.QueryPresaleGoodsExRsp": {
  16792. "type": "object",
  16793. "required": [
  16794. "goodsid"
  16795. ],
  16796. "properties": {
  16797. "attachmenturl": {
  16798. "description": "附件地址",
  16799. "type": "string"
  16800. },
  16801. "createtime": {
  16802. "description": "创建时间",
  16803. "type": "string"
  16804. },
  16805. "endtime": {
  16806. "description": "预售结束时间",
  16807. "type": "string"
  16808. },
  16809. "floorprice": {
  16810. "description": "底价[大宗式竞拍]",
  16811. "type": "number"
  16812. },
  16813. "goodsdetail": {
  16814. "description": "详情[大宗]",
  16815. "type": "string"
  16816. },
  16817. "goodsid": {
  16818. "description": "商品ID(预售)",
  16819. "type": "integer"
  16820. },
  16821. "goodunit": {
  16822. "description": "报价单位",
  16823. "type": "string"
  16824. },
  16825. "marketid": {
  16826. "description": "预售市场ID - 根据预售模式选择市场",
  16827. "type": "integer"
  16828. },
  16829. "presaledamount": {
  16830. "description": "已预售总金额(预售结束时更新)",
  16831. "type": "number"
  16832. },
  16833. "presaledqty": {
  16834. "description": "已预售量(预售结束时更新)",
  16835. "type": "integer"
  16836. },
  16837. "presalemode": {
  16838. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  16839. "type": "integer"
  16840. },
  16841. "presaleqty": {
  16842. "description": "预售数量",
  16843. "type": "integer"
  16844. },
  16845. "refprice": {
  16846. "description": "参考价格[一口价]",
  16847. "type": "number"
  16848. },
  16849. "relatedgoodsid": {
  16850. "description": "关联交易合约ID",
  16851. "type": "integer"
  16852. },
  16853. "relatedmarketid": {
  16854. "description": "关联交易合约市场ID",
  16855. "type": "integer"
  16856. },
  16857. "sellstatus": {
  16858. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  16859. "type": "integer"
  16860. },
  16861. "startprice": {
  16862. "description": "起拍价[大宗式竞拍]",
  16863. "type": "number"
  16864. },
  16865. "starttime": {
  16866. "description": "预售开始时间",
  16867. "type": "string"
  16868. },
  16869. "tradedate": {
  16870. "description": "交易日(yyyyMMdd)",
  16871. "type": "string"
  16872. },
  16873. "tradeprice": {
  16874. "description": "成交价[大宗]",
  16875. "type": "number"
  16876. }
  16877. }
  16878. },
  16879. "delivery.QueryDeliveryRelationRsp": {
  16880. "type": "object",
  16881. "required": [
  16882. "begindate",
  16883. "enddate",
  16884. "goodsid",
  16885. "mindeliveryqty",
  16886. "xdeliveryratio"
  16887. ],
  16888. "properties": {
  16889. "begindate": {
  16890. "description": "起始日期(yyyyMMdd)",
  16891. "type": "string"
  16892. },
  16893. "buytemplateid": {
  16894. "description": "买履约计划模板ID",
  16895. "type": "integer"
  16896. },
  16897. "deliverygoodscode": {
  16898. "description": "品种代码",
  16899. "type": "string"
  16900. },
  16901. "deliverygoodsid": {
  16902. "description": "交割商品",
  16903. "type": "integer"
  16904. },
  16905. "deliverygoodsname": {
  16906. "description": "品种名称",
  16907. "type": "string"
  16908. },
  16909. "deliverymode": {
  16910. "description": "交割方式 - 1:点选式 2:申报式",
  16911. "type": "integer"
  16912. },
  16913. "deliverypricerule": {
  16914. "description": "交割价规则- 1:行情价 2:建仓价",
  16915. "type": "integer"
  16916. },
  16917. "deliverytype": {
  16918. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  16919. "type": "integer"
  16920. },
  16921. "enddate": {
  16922. "description": "结束日期(yyyyMMdd)",
  16923. "type": "string"
  16924. },
  16925. "enumdicname": {
  16926. "description": "品类单位名称",
  16927. "type": "string"
  16928. },
  16929. "goodscode": {
  16930. "description": "商品代码",
  16931. "type": "string"
  16932. },
  16933. "goodsid": {
  16934. "description": "交易合约ID",
  16935. "type": "integer"
  16936. },
  16937. "goodsname": {
  16938. "description": "商品名称",
  16939. "type": "string"
  16940. },
  16941. "marketid": {
  16942. "description": "市场ID",
  16943. "type": "integer"
  16944. },
  16945. "mindeliveryqty": {
  16946. "description": "最小交割系数(K)",
  16947. "type": "integer"
  16948. },
  16949. "p2deliveryprice": {
  16950. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  16951. "type": "number"
  16952. },
  16953. "p2deliveryratio": {
  16954. "description": "P2合约系数(p)",
  16955. "type": "integer"
  16956. },
  16957. "p2goodsid": {
  16958. "description": "P2合约ID",
  16959. "type": "integer"
  16960. },
  16961. "p2pricemode": {
  16962. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  16963. "type": "integer"
  16964. },
  16965. "pdeliveryprice": {
  16966. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  16967. "type": "number"
  16968. },
  16969. "pdeliveryratio": {
  16970. "description": "P合约系数(n)",
  16971. "type": "integer"
  16972. },
  16973. "pgoodscode": {
  16974. "description": "p合约代码",
  16975. "type": "string"
  16976. },
  16977. "pgoodsid": {
  16978. "description": "P合约ID",
  16979. "type": "integer"
  16980. },
  16981. "ppricemode": {
  16982. "description": "P合约价格方式 - 1:商品价 2:固定值",
  16983. "type": "integer"
  16984. },
  16985. "rratio": {
  16986. "description": "兑换系数(R)",
  16987. "type": "integer"
  16988. },
  16989. "rratio1": {
  16990. "description": "兑换系数(交易合约)(R1)",
  16991. "type": "integer"
  16992. },
  16993. "rratio2": {
  16994. "description": "兑换系数(仓单标准)(R2)",
  16995. "type": "integer"
  16996. },
  16997. "selltemplateid": {
  16998. "description": "卖履约计划模板ID",
  16999. "type": "integer"
  17000. },
  17001. "wrstandardid": {
  17002. "description": "仓单标准ID",
  17003. "type": "integer"
  17004. },
  17005. "xdeliveryratio": {
  17006. "description": "交易合约系数(m)",
  17007. "type": "integer"
  17008. }
  17009. }
  17010. },
  17011. "ermcp.ExposureDetailRsp": {
  17012. "type": "object",
  17013. "properties": {
  17014. "areauserid": {
  17015. "description": "机构ID",
  17016. "type": "integer"
  17017. },
  17018. "changeQty": {
  17019. "description": "套保变动量",
  17020. "type": "number"
  17021. },
  17022. "contracttype": {
  17023. "description": "现货合同类型 - 1:采购 -1:销售",
  17024. "type": "integer"
  17025. },
  17026. "convertfactor": {
  17027. "description": "标仓系数",
  17028. "type": "number"
  17029. },
  17030. "convertratio": {
  17031. "description": "套保系数",
  17032. "type": "number"
  17033. },
  17034. "createtime": {
  17035. "description": "时间",
  17036. "type": "string"
  17037. },
  17038. "enumdicname": {
  17039. "description": "现货商品单位名称",
  17040. "type": "string"
  17041. },
  17042. "logtype": {
  17043. "description": "类型 - 1:套保计划 2:现货合同",
  17044. "type": "integer"
  17045. },
  17046. "middlegoodsId": {
  17047. "description": "套保商品id",
  17048. "type": "integer"
  17049. },
  17050. "middlegoodscode": {
  17051. "description": "套保商品代码",
  17052. "type": "string"
  17053. },
  17054. "middlegoodsname": {
  17055. "description": "套保商品名称",
  17056. "type": "string"
  17057. },
  17058. "qty": {
  17059. "description": "数量",
  17060. "type": "number"
  17061. },
  17062. "relateNo": {
  17063. "description": "现货合同/套保计划编号",
  17064. "type": "string"
  17065. },
  17066. "wrstandardcode": {
  17067. "description": "现货商品代码",
  17068. "type": "string"
  17069. },
  17070. "wrstandardid": {
  17071. "description": "现货商品ID",
  17072. "type": "integer"
  17073. },
  17074. "wrstandardname": {
  17075. "description": "现货商品名称",
  17076. "type": "string"
  17077. }
  17078. }
  17079. },
  17080. "ermcp.ExposureHedgePosDetailRsp": {
  17081. "type": "object",
  17082. "properties": {
  17083. "buyorsell": {
  17084. "description": "买卖方向 0-买 1-卖",
  17085. "type": "integer"
  17086. },
  17087. "channelbuildtype": {
  17088. "description": "开平方向 1-建仓 2-平仓",
  17089. "type": "integer"
  17090. },
  17091. "goodscode": {
  17092. "description": "商品代码",
  17093. "type": "string"
  17094. },
  17095. "goodsname": {
  17096. "description": "商品名称",
  17097. "type": "string"
  17098. },
  17099. "hedgegoodsid": {
  17100. "description": "商品id",
  17101. "type": "integer"
  17102. },
  17103. "tradeqty": {
  17104. "description": "数量(成交数量)",
  17105. "type": "integer"
  17106. },
  17107. "tradetime": {
  17108. "description": "时间(成交时间)",
  17109. "type": "string"
  17110. }
  17111. }
  17112. },
  17113. "ermcp.ExposureHedgePositionRsp": {
  17114. "type": "object",
  17115. "properties": {
  17116. "accountid": {
  17117. "description": "资金账号[外部母账户]",
  17118. "type": "integer"
  17119. },
  17120. "curbuyposition": {
  17121. "description": "期末买头寸",
  17122. "type": "integer"
  17123. },
  17124. "cursellposition": {
  17125. "description": "期末卖头寸",
  17126. "type": "integer"
  17127. },
  17128. "curtdbuyposition": {
  17129. "description": "期末今日买头寸",
  17130. "type": "integer"
  17131. },
  17132. "curtdsellposition": {
  17133. "description": "期末今日卖头寸",
  17134. "type": "integer"
  17135. },
  17136. "curydbuyposition": {
  17137. "description": "期末上日买头寸",
  17138. "type": "integer"
  17139. },
  17140. "curydsellposition": {
  17141. "description": "期末上日卖头寸",
  17142. "type": "integer"
  17143. },
  17144. "decreaseqty": {
  17145. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  17146. "type": "integer"
  17147. },
  17148. "fretdbuyposition": {
  17149. "description": "冻结今日买头寸",
  17150. "type": "integer"
  17151. },
  17152. "fretdsellposition": {
  17153. "description": "冻结今日卖头寸",
  17154. "type": "integer"
  17155. },
  17156. "freydbuyposition": {
  17157. "description": "冻结上日买头寸",
  17158. "type": "integer"
  17159. },
  17160. "freydsellposition": {
  17161. "description": "冻结上日卖头寸",
  17162. "type": "integer"
  17163. },
  17164. "goodscode": {
  17165. "description": "商品代码",
  17166. "type": "string"
  17167. },
  17168. "goodsid": {
  17169. "description": "商品id",
  17170. "type": "integer"
  17171. },
  17172. "goodsname": {
  17173. "description": "商品名称",
  17174. "type": "string"
  17175. },
  17176. "hedgeaccountcode": {
  17177. "description": "对冲账号",
  17178. "type": "string"
  17179. },
  17180. "hedgegoodsid": {
  17181. "description": "对冲合约ID",
  17182. "type": "integer"
  17183. },
  17184. "increaseqty": {
  17185. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  17186. "type": "integer"
  17187. },
  17188. "marketid": {
  17189. "description": "市场ID",
  17190. "type": "integer"
  17191. },
  17192. "relateduserid": {
  17193. "description": "关联用户id",
  17194. "type": "integer"
  17195. },
  17196. "totalcurqty": {
  17197. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  17198. "type": "integer"
  17199. },
  17200. "totalydqty": {
  17201. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  17202. "type": "integer"
  17203. },
  17204. "tradedate": {
  17205. "description": "交易日(yyyyMMdd)",
  17206. "type": "string"
  17207. },
  17208. "ydbuyposition": {
  17209. "description": "期初买头寸",
  17210. "type": "integer"
  17211. },
  17212. "ydsellposition": {
  17213. "description": "期初卖头寸",
  17214. "type": "integer"
  17215. }
  17216. }
  17217. },
  17218. "ermcp.ExposureSpotDetailRsp": {
  17219. "type": "object",
  17220. "properties": {
  17221. "contracttype": {
  17222. "description": "合同类型 1-采购 -1-销售",
  17223. "type": "integer"
  17224. },
  17225. "createtime": {
  17226. "description": "创建时间",
  17227. "type": "string"
  17228. },
  17229. "enumdicname": {
  17230. "description": "现货商品单位名称",
  17231. "type": "string"
  17232. },
  17233. "logtype": {
  17234. "description": "记录类型 1-套保 2-现货合同",
  17235. "type": "integer"
  17236. },
  17237. "qty": {
  17238. "description": "数量",
  17239. "type": "number"
  17240. },
  17241. "recordname": {
  17242. "description": "类型名称",
  17243. "type": "string"
  17244. },
  17245. "relatedid": {
  17246. "description": "套保计划ID/现货合同ID",
  17247. "type": "string"
  17248. },
  17249. "relatedno": {
  17250. "description": "编号",
  17251. "type": "string"
  17252. },
  17253. "strtime": {
  17254. "description": "时间",
  17255. "type": "string"
  17256. },
  17257. "wrstandardcode": {
  17258. "description": "现货商品代码",
  17259. "type": "string"
  17260. },
  17261. "wrstandardname": {
  17262. "description": "现货商品名称",
  17263. "type": "string"
  17264. }
  17265. }
  17266. },
  17267. "ermcp.ExposureSpotRsp": {
  17268. "type": "object",
  17269. "properties": {
  17270. "areauserid": {
  17271. "description": "所属机构",
  17272. "type": "integer"
  17273. },
  17274. "decreaseqty": {
  17275. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  17276. "type": "number"
  17277. },
  17278. "increaseqty": {
  17279. "description": "增加数量=销售计划数量+采购已定价数量",
  17280. "type": "number"
  17281. },
  17282. "oritoalspotqty": {
  17283. "description": "昨日数量",
  17284. "type": "number"
  17285. },
  17286. "totalspotqty": {
  17287. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  17288. "type": "number"
  17289. },
  17290. "updatetime": {
  17291. "description": "更新时间",
  17292. "type": "string"
  17293. },
  17294. "wrstandardcode": {
  17295. "description": "现货品种代码",
  17296. "type": "string"
  17297. },
  17298. "wrstandardid": {
  17299. "description": "现货商品ID",
  17300. "type": "integer"
  17301. },
  17302. "wrstandardname": {
  17303. "description": "现货品种",
  17304. "type": "string"
  17305. }
  17306. }
  17307. },
  17308. "ermcp.HisExposureRsp": {
  17309. "type": "object",
  17310. "properties": {
  17311. "data": {
  17312. "description": "历史敞口",
  17313. "type": "array",
  17314. "items": {
  17315. "$ref": "#/definitions/models.ErmcpHisExposure"
  17316. }
  17317. },
  17318. "enumdicname": {
  17319. "description": "单位名称",
  17320. "type": "string"
  17321. },
  17322. "middlegoodscode": {
  17323. "description": "套保品种代码",
  17324. "type": "string"
  17325. },
  17326. "middlegoodsid": {
  17327. "description": "套保品种ID",
  17328. "type": "integer"
  17329. },
  17330. "middlegoodsname": {
  17331. "description": "套保品种名称",
  17332. "type": "string"
  17333. }
  17334. }
  17335. },
  17336. "ermcp.PendingAuditCntRsp": {
  17337. "type": "object",
  17338. "properties": {
  17339. "areastockqty": {
  17340. "description": "待审核数量: 库存申请",
  17341. "type": "integer"
  17342. },
  17343. "businessdjqty": {
  17344. "description": "待审核数量: 点价",
  17345. "type": "integer"
  17346. },
  17347. "businessfpqty": {
  17348. "description": "待审核数量: 发票",
  17349. "type": "integer"
  17350. },
  17351. "businessjsqty": {
  17352. "description": "待审核数量: 结算",
  17353. "type": "integer"
  17354. },
  17355. "businesskxqty": {
  17356. "description": "待审核数量: 款项",
  17357. "type": "integer"
  17358. },
  17359. "hedgeplanqty": {
  17360. "description": "待审核数量: 套保计划",
  17361. "type": "integer"
  17362. },
  17363. "spotcontractqty": {
  17364. "description": "待审核数量: 现货合同",
  17365. "type": "integer"
  17366. },
  17367. "userqty": {
  17368. "description": "待审核数量: 用户",
  17369. "type": "integer"
  17370. }
  17371. }
  17372. },
  17373. "ermcp.QryAvalidGPRsp": {
  17374. "type": "object",
  17375. "properties": {
  17376. "goodsgroupid": {
  17377. "description": "期货品种id",
  17378. "type": "integer"
  17379. },
  17380. "goodsgroupname": {
  17381. "description": "期货品种名称",
  17382. "type": "string"
  17383. },
  17384. "goodunitid": {
  17385. "description": "品种单位id",
  17386. "type": "integer"
  17387. },
  17388. "goodunitname": {
  17389. "description": "品种单位名称",
  17390. "type": "string"
  17391. },
  17392. "outergroupcode": {
  17393. "description": "期货品种代码",
  17394. "type": "string"
  17395. }
  17396. }
  17397. },
  17398. "ermcp.QryBusinessDjRsp": {
  17399. "type": "object",
  17400. "properties": {
  17401. "amount": {
  17402. "description": "点价金额=(点价价格+升贴水)*点价数量",
  17403. "type": "number"
  17404. },
  17405. "applyid": {
  17406. "description": "申请人",
  17407. "type": "string"
  17408. },
  17409. "applyname": {
  17410. "description": "申请人名称",
  17411. "type": "string"
  17412. },
  17413. "applystatus": {
  17414. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  17415. "type": "integer"
  17416. },
  17417. "applytime": {
  17418. "description": "申请时间",
  17419. "type": "string"
  17420. },
  17421. "attachurl": {
  17422. "description": "附件",
  17423. "type": "string"
  17424. },
  17425. "auditid": {
  17426. "description": "审核人ID",
  17427. "type": "string"
  17428. },
  17429. "auditname": {
  17430. "description": "审核人名称",
  17431. "type": "string"
  17432. },
  17433. "auditremark": {
  17434. "description": "审核备注",
  17435. "type": "string"
  17436. },
  17437. "audittime": {
  17438. "description": "审核时间",
  17439. "type": "string"
  17440. },
  17441. "buyusername": {
  17442. "description": "采购方名称",
  17443. "type": "string"
  17444. },
  17445. "contractno": {
  17446. "description": "合同编号",
  17447. "type": "string"
  17448. },
  17449. "contractstatus": {
  17450. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  17451. "type": "integer"
  17452. },
  17453. "contracttype": {
  17454. "description": "现货合同类型 - 1:采购 -1:销售",
  17455. "type": "integer"
  17456. },
  17457. "deliverygoodscode": {
  17458. "description": "现货品种代码",
  17459. "type": "string"
  17460. },
  17461. "deliverygoodsid": {
  17462. "description": "现货商品ID",
  17463. "type": "integer"
  17464. },
  17465. "deliverygoodsname": {
  17466. "description": "现货品种名称",
  17467. "type": "string"
  17468. },
  17469. "enumdicname": {
  17470. "description": "单位名称",
  17471. "type": "string"
  17472. },
  17473. "goodscode": {
  17474. "description": "点价合约",
  17475. "type": "string"
  17476. },
  17477. "goodsname": {
  17478. "description": "商品名称",
  17479. "type": "string"
  17480. },
  17481. "operateapplyid": {
  17482. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  17483. "type": "string"
  17484. },
  17485. "operateapplytype": {
  17486. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  17487. "type": "integer"
  17488. },
  17489. "pricedPrice": {
  17490. "description": "点价价格(非必填)",
  17491. "type": "number"
  17492. },
  17493. "pricedQty": {
  17494. "description": "点价数量(非必填)",
  17495. "type": "number"
  17496. },
  17497. "pricemove": {
  17498. "description": "升贴水",
  17499. "type": "number"
  17500. },
  17501. "pricetype": {
  17502. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  17503. "type": "integer"
  17504. },
  17505. "relatedid": {
  17506. "description": "现货合同ID",
  17507. "type": "string"
  17508. },
  17509. "sellusername": {
  17510. "description": "销售方名字",
  17511. "type": "string"
  17512. },
  17513. "userid": {
  17514. "description": "用户ID",
  17515. "type": "integer"
  17516. },
  17517. "wrstandardcode": {
  17518. "description": "品类代码",
  17519. "type": "string"
  17520. },
  17521. "wrstandardid": {
  17522. "description": "品类id",
  17523. "type": "integer"
  17524. },
  17525. "wrstandardname": {
  17526. "description": "品类名称",
  17527. "type": "string"
  17528. }
  17529. }
  17530. },
  17531. "ermcp.QryBussinessFpRsp": {
  17532. "type": "object",
  17533. "properties": {
  17534. "applyid": {
  17535. "description": "申请人",
  17536. "type": "string"
  17537. },
  17538. "applyname": {
  17539. "description": "申请人名称",
  17540. "type": "string"
  17541. },
  17542. "applystatus": {
  17543. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  17544. "type": "integer"
  17545. },
  17546. "applytime": {
  17547. "description": "申请时间",
  17548. "type": "string"
  17549. },
  17550. "attachurl": {
  17551. "description": "附件",
  17552. "type": "string"
  17553. },
  17554. "auditid": {
  17555. "description": "审核人ID",
  17556. "type": "string"
  17557. },
  17558. "auditname": {
  17559. "description": "审核人名称",
  17560. "type": "string"
  17561. },
  17562. "auditremark": {
  17563. "description": "审核备注",
  17564. "type": "string"
  17565. },
  17566. "audittime": {
  17567. "description": "审核时间",
  17568. "type": "string"
  17569. },
  17570. "buyusername": {
  17571. "description": "采购方名称",
  17572. "type": "string"
  17573. },
  17574. "contractno": {
  17575. "description": "合同编号",
  17576. "type": "string"
  17577. },
  17578. "contractstatus": {
  17579. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  17580. "type": "integer"
  17581. },
  17582. "contracttype": {
  17583. "description": "现货合同类型 - 1:采购 -1:销售",
  17584. "type": "integer"
  17585. },
  17586. "deliverygoodscode": {
  17587. "description": "现货品种代码",
  17588. "type": "string"
  17589. },
  17590. "deliverygoodsid": {
  17591. "description": "现货商品ID",
  17592. "type": "integer"
  17593. },
  17594. "deliverygoodsname": {
  17595. "description": "现货品种名称",
  17596. "type": "string"
  17597. },
  17598. "enumdicname": {
  17599. "description": "单位名称",
  17600. "type": "string"
  17601. },
  17602. "goodscode": {
  17603. "description": "点价合约",
  17604. "type": "string"
  17605. },
  17606. "goodsname": {
  17607. "description": "商品名称",
  17608. "type": "string"
  17609. },
  17610. "invoiceamount": {
  17611. "description": "已开收票金额(销售为开票,采购为收票)",
  17612. "type": "number"
  17613. },
  17614. "operateapplyid": {
  17615. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  17616. "type": "string"
  17617. },
  17618. "operateapplytype": {
  17619. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  17620. "type": "integer"
  17621. },
  17622. "pricemove": {
  17623. "description": "升贴水",
  17624. "type": "number"
  17625. },
  17626. "pricetype": {
  17627. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  17628. "type": "integer"
  17629. },
  17630. "relatedid": {
  17631. "description": "现货合同ID",
  17632. "type": "string"
  17633. },
  17634. "sellusername": {
  17635. "description": "销售方名字",
  17636. "type": "string"
  17637. },
  17638. "userid": {
  17639. "description": "用户ID",
  17640. "type": "integer"
  17641. },
  17642. "wrstandardcode": {
  17643. "description": "品类代码",
  17644. "type": "string"
  17645. },
  17646. "wrstandardid": {
  17647. "description": "品类id",
  17648. "type": "integer"
  17649. },
  17650. "wrstandardname": {
  17651. "description": "品类名称",
  17652. "type": "string"
  17653. }
  17654. }
  17655. },
  17656. "ermcp.QryBussinessJsExRsp": {
  17657. "type": "object",
  17658. "properties": {
  17659. "applyid": {
  17660. "description": "申请人",
  17661. "type": "string"
  17662. },
  17663. "applyname": {
  17664. "description": "申请人名称",
  17665. "type": "string"
  17666. },
  17667. "applystatus": {
  17668. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  17669. "type": "integer"
  17670. },
  17671. "applytime": {
  17672. "description": "申请时间",
  17673. "type": "string"
  17674. },
  17675. "attachurl": {
  17676. "description": "附件",
  17677. "type": "string"
  17678. },
  17679. "auditid": {
  17680. "description": "审核人ID",
  17681. "type": "string"
  17682. },
  17683. "auditname": {
  17684. "description": "审核人名称",
  17685. "type": "string"
  17686. },
  17687. "auditremark": {
  17688. "description": "审核备注",
  17689. "type": "string"
  17690. },
  17691. "audittime": {
  17692. "description": "审核时间",
  17693. "type": "string"
  17694. },
  17695. "buyusername": {
  17696. "description": "采购方名称",
  17697. "type": "string"
  17698. },
  17699. "contractno": {
  17700. "description": "合同编号",
  17701. "type": "string"
  17702. },
  17703. "contractstatus": {
  17704. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  17705. "type": "integer"
  17706. },
  17707. "contracttype": {
  17708. "description": "现货合同类型 - 1:采购 -1:销售",
  17709. "type": "integer"
  17710. },
  17711. "deliverygoodscode": {
  17712. "description": "现货品种代码",
  17713. "type": "string"
  17714. },
  17715. "deliverygoodsid": {
  17716. "description": "现货商品ID",
  17717. "type": "integer"
  17718. },
  17719. "deliverygoodsname": {
  17720. "description": "现货品种名称",
  17721. "type": "string"
  17722. },
  17723. "enumdicname": {
  17724. "description": "单位名称",
  17725. "type": "string"
  17726. },
  17727. "goodscode": {
  17728. "description": "点价合约",
  17729. "type": "string"
  17730. },
  17731. "goodsname": {
  17732. "description": "商品名称",
  17733. "type": "string"
  17734. },
  17735. "operateapplyid": {
  17736. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  17737. "type": "string"
  17738. },
  17739. "operateapplytype": {
  17740. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  17741. "type": "integer"
  17742. },
  17743. "pricemove": {
  17744. "description": "升贴水",
  17745. "type": "number"
  17746. },
  17747. "pricetype": {
  17748. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  17749. "type": "integer"
  17750. },
  17751. "reckontype": {
  17752. "description": "结算类型",
  17753. "type": "string"
  17754. },
  17755. "reckonvalue": {
  17756. "description": "值",
  17757. "type": "number"
  17758. },
  17759. "relatedid": {
  17760. "description": "现货合同ID",
  17761. "type": "string"
  17762. },
  17763. "sellusername": {
  17764. "description": "销售方名字",
  17765. "type": "string"
  17766. },
  17767. "userid": {
  17768. "description": "用户ID",
  17769. "type": "integer"
  17770. },
  17771. "wrstandardcode": {
  17772. "description": "品类代码",
  17773. "type": "string"
  17774. },
  17775. "wrstandardid": {
  17776. "description": "品类id",
  17777. "type": "integer"
  17778. },
  17779. "wrstandardname": {
  17780. "description": "品类名称",
  17781. "type": "string"
  17782. }
  17783. }
  17784. },
  17785. "ermcp.QryBussinessJsRsp": {
  17786. "type": "object",
  17787. "properties": {
  17788. "addmargin": {
  17789. "description": "追加保证金(非必填)",
  17790. "type": "number"
  17791. },
  17792. "applyid": {
  17793. "description": "申请人",
  17794. "type": "string"
  17795. },
  17796. "applyname": {
  17797. "description": "申请人名称",
  17798. "type": "string"
  17799. },
  17800. "applystatus": {
  17801. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  17802. "type": "integer"
  17803. },
  17804. "applytime": {
  17805. "description": "申请时间",
  17806. "type": "string"
  17807. },
  17808. "attachurl": {
  17809. "description": "附件",
  17810. "type": "string"
  17811. },
  17812. "auditid": {
  17813. "description": "审核人ID",
  17814. "type": "string"
  17815. },
  17816. "auditname": {
  17817. "description": "审核人名称",
  17818. "type": "string"
  17819. },
  17820. "auditremark": {
  17821. "description": "审核备注",
  17822. "type": "string"
  17823. },
  17824. "audittime": {
  17825. "description": "审核时间",
  17826. "type": "string"
  17827. },
  17828. "buyusername": {
  17829. "description": "采购方名称",
  17830. "type": "string"
  17831. },
  17832. "contractno": {
  17833. "description": "合同编号",
  17834. "type": "string"
  17835. },
  17836. "contractstatus": {
  17837. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  17838. "type": "integer"
  17839. },
  17840. "contracttype": {
  17841. "description": "现货合同类型 - 1:采购 -1:销售",
  17842. "type": "integer"
  17843. },
  17844. "decmargin": {
  17845. "description": "减少保证金(非必填)",
  17846. "type": "number"
  17847. },
  17848. "deliverygoodscode": {
  17849. "description": "现货品种代码",
  17850. "type": "string"
  17851. },
  17852. "deliverygoodsid": {
  17853. "description": "现货商品ID",
  17854. "type": "integer"
  17855. },
  17856. "deliverygoodsname": {
  17857. "description": "现货品种名称",
  17858. "type": "string"
  17859. },
  17860. "enumdicname": {
  17861. "description": "单位名称",
  17862. "type": "string"
  17863. },
  17864. "goodscode": {
  17865. "description": "点价合约",
  17866. "type": "string"
  17867. },
  17868. "goodsname": {
  17869. "description": "商品名称",
  17870. "type": "string"
  17871. },
  17872. "operateapplyid": {
  17873. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  17874. "type": "string"
  17875. },
  17876. "operateapplytype": {
  17877. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  17878. "type": "integer"
  17879. },
  17880. "pricemove": {
  17881. "description": "升贴水",
  17882. "type": "number"
  17883. },
  17884. "pricetype": {
  17885. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  17886. "type": "integer"
  17887. },
  17888. "reckonadjustamount": {
  17889. "description": "结算调整金额(非必填)",
  17890. "type": "number"
  17891. },
  17892. "reckonosamount": {
  17893. "description": "结算溢短金额(非必填)",
  17894. "type": "number"
  17895. },
  17896. "reckonotheramount": {
  17897. "description": "结算其他费用(非必填)",
  17898. "type": "number"
  17899. },
  17900. "reckonrealqty": {
  17901. "description": "结算实际数量(非必填)",
  17902. "type": "number"
  17903. },
  17904. "relatedid": {
  17905. "description": "现货合同ID",
  17906. "type": "string"
  17907. },
  17908. "sellusername": {
  17909. "description": "销售方名字",
  17910. "type": "string"
  17911. },
  17912. "userid": {
  17913. "description": "用户ID",
  17914. "type": "integer"
  17915. },
  17916. "wrstandardcode": {
  17917. "description": "品类代码",
  17918. "type": "string"
  17919. },
  17920. "wrstandardid": {
  17921. "description": "品类id",
  17922. "type": "integer"
  17923. },
  17924. "wrstandardname": {
  17925. "description": "品类名称",
  17926. "type": "string"
  17927. }
  17928. }
  17929. },
  17930. "ermcp.QryBussinessKxRsp": {
  17931. "type": "object",
  17932. "properties": {
  17933. "applyid": {
  17934. "description": "申请人",
  17935. "type": "string"
  17936. },
  17937. "applyname": {
  17938. "description": "申请人名称",
  17939. "type": "string"
  17940. },
  17941. "applystatus": {
  17942. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  17943. "type": "integer"
  17944. },
  17945. "applytime": {
  17946. "description": "申请时间",
  17947. "type": "string"
  17948. },
  17949. "attachurl": {
  17950. "description": "附件",
  17951. "type": "string"
  17952. },
  17953. "auditid": {
  17954. "description": "审核人ID",
  17955. "type": "string"
  17956. },
  17957. "auditname": {
  17958. "description": "审核人名称",
  17959. "type": "string"
  17960. },
  17961. "auditremark": {
  17962. "description": "审核备注",
  17963. "type": "string"
  17964. },
  17965. "audittime": {
  17966. "description": "审核时间",
  17967. "type": "string"
  17968. },
  17969. "buyusername": {
  17970. "description": "采购方名称",
  17971. "type": "string"
  17972. },
  17973. "contractno": {
  17974. "description": "合同编号",
  17975. "type": "string"
  17976. },
  17977. "contractstatus": {
  17978. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  17979. "type": "integer"
  17980. },
  17981. "contracttype": {
  17982. "description": "现货合同类型 - 1:采购 -1:销售",
  17983. "type": "integer"
  17984. },
  17985. "deductamount": {
  17986. "description": "退款(非必填)",
  17987. "type": "number"
  17988. },
  17989. "deliverygoodscode": {
  17990. "description": "现货品种代码",
  17991. "type": "string"
  17992. },
  17993. "deliverygoodsid": {
  17994. "description": "现货商品ID",
  17995. "type": "integer"
  17996. },
  17997. "deliverygoodsname": {
  17998. "description": "现货品种名称",
  17999. "type": "string"
  18000. },
  18001. "enumdicname": {
  18002. "description": "单位名称",
  18003. "type": "string"
  18004. },
  18005. "goodscode": {
  18006. "description": "点价合约",
  18007. "type": "string"
  18008. },
  18009. "goodsname": {
  18010. "description": "商品名称",
  18011. "type": "string"
  18012. },
  18013. "kxtype": {
  18014. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  18015. "type": "integer"
  18016. },
  18017. "operateapplyid": {
  18018. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  18019. "type": "string"
  18020. },
  18021. "operateapplytype": {
  18022. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  18023. "type": "integer"
  18024. },
  18025. "payamount": {
  18026. "description": "收付款(非必填)",
  18027. "type": "number"
  18028. },
  18029. "pricemove": {
  18030. "description": "升贴水",
  18031. "type": "number"
  18032. },
  18033. "pricetype": {
  18034. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  18035. "type": "integer"
  18036. },
  18037. "relatedid": {
  18038. "description": "现货合同ID",
  18039. "type": "string"
  18040. },
  18041. "sellusername": {
  18042. "description": "销售方名字",
  18043. "type": "string"
  18044. },
  18045. "userid": {
  18046. "description": "用户ID",
  18047. "type": "integer"
  18048. },
  18049. "wrstandardcode": {
  18050. "description": "品类代码",
  18051. "type": "string"
  18052. },
  18053. "wrstandardid": {
  18054. "description": "品类id",
  18055. "type": "integer"
  18056. },
  18057. "wrstandardname": {
  18058. "description": "品类名称",
  18059. "type": "string"
  18060. }
  18061. }
  18062. },
  18063. "ermcp.QryGGCovertCfgRsp": {
  18064. "type": "object",
  18065. "properties": {
  18066. "convertratio": {
  18067. "description": "折算系数",
  18068. "type": "number"
  18069. },
  18070. "destgoodsgroupid": {
  18071. "description": "目标品种ID",
  18072. "type": "integer"
  18073. },
  18074. "dstcode": {
  18075. "description": "目录品种代码",
  18076. "type": "string"
  18077. },
  18078. "dstexchangecode": {
  18079. "description": "目标期货交易所",
  18080. "type": "string"
  18081. },
  18082. "dstname": {
  18083. "description": "目标品种名称",
  18084. "type": "string"
  18085. },
  18086. "dstunitid": {
  18087. "description": "目标品种单位ID",
  18088. "type": "integer"
  18089. },
  18090. "dstunitidname": {
  18091. "description": "目标品种单位名称",
  18092. "type": "string"
  18093. },
  18094. "modifytime": {
  18095. "description": "修改时间",
  18096. "type": "string"
  18097. },
  18098. "srccode": {
  18099. "description": "源品种代码",
  18100. "type": "string"
  18101. },
  18102. "srcexchangecode": {
  18103. "description": "源期货交易所",
  18104. "type": "string"
  18105. },
  18106. "srcgoodsgroupid": {
  18107. "description": "源品种ID",
  18108. "type": "integer"
  18109. },
  18110. "srcname": {
  18111. "description": "源品种名称",
  18112. "type": "string"
  18113. },
  18114. "srcunitid": {
  18115. "description": "源品种单位ID",
  18116. "type": "integer"
  18117. },
  18118. "srcunitidname": {
  18119. "description": "源品种单位名称",
  18120. "type": "string"
  18121. }
  18122. }
  18123. },
  18124. "ermcp.QryMGChangeLogRsp": {
  18125. "type": "object",
  18126. "properties": {
  18127. "aftervalue": {
  18128. "description": "变更后",
  18129. "type": "number"
  18130. },
  18131. "applyid": {
  18132. "description": "操作人",
  18133. "type": "integer"
  18134. },
  18135. "applyname": {
  18136. "description": "操作人名称",
  18137. "type": "string"
  18138. },
  18139. "applysrc": {
  18140. "description": "操作来源 - 1:管理端 2:终端",
  18141. "type": "integer"
  18142. },
  18143. "beforevalue": {
  18144. "description": "变更前",
  18145. "type": "number"
  18146. },
  18147. "changelogtype": {
  18148. "description": "变更流水类型 - 1:套保比率变更",
  18149. "type": "integer"
  18150. },
  18151. "handlestatus": {
  18152. "description": "处理状态",
  18153. "type": "integer"
  18154. },
  18155. "logdatetime": {
  18156. "description": "流水日期",
  18157. "type": "string"
  18158. },
  18159. "logid": {
  18160. "description": "流水ID",
  18161. "type": "integer"
  18162. },
  18163. "logremark": {
  18164. "description": "流水备注",
  18165. "type": "string"
  18166. },
  18167. "middlegoodsid": {
  18168. "description": "套保品种ID",
  18169. "type": "integer"
  18170. },
  18171. "tradedate": {
  18172. "description": "交易日(yyyyMMdd)",
  18173. "type": "string"
  18174. },
  18175. "updatetime": {
  18176. "description": "更新时间",
  18177. "type": "string"
  18178. }
  18179. }
  18180. },
  18181. "ermcp.QryMiddleGoodsDetailRsp": {
  18182. "type": "object",
  18183. "properties": {
  18184. "cvList": {
  18185. "description": "期货品种折算列表",
  18186. "type": "array",
  18187. "items": {
  18188. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  18189. }
  18190. },
  18191. "mg": {
  18192. "description": "套保品种基本信息",
  18193. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  18194. },
  18195. "wrcList": {
  18196. "description": "现货品种列表(现货商品折算配置)",
  18197. "type": "array",
  18198. "items": {
  18199. "$ref": "#/definitions/models.WRSConverTDetail"
  18200. }
  18201. }
  18202. }
  18203. },
  18204. "ermcp.QryMiddleGoodsRsp": {
  18205. "type": "object",
  18206. "properties": {
  18207. "areauserid": {
  18208. "description": "机构用户ID",
  18209. "type": "integer"
  18210. },
  18211. "createtime": {
  18212. "description": "修改时间",
  18213. "type": "string"
  18214. },
  18215. "enumdicname": {
  18216. "description": "单位名称",
  18217. "type": "string"
  18218. },
  18219. "evaluateratio": {
  18220. "description": "估价系数",
  18221. "type": "number"
  18222. },
  18223. "goodsgroupid": {
  18224. "description": "关联期货品种ID",
  18225. "type": "integer"
  18226. },
  18227. "goodsunitid": {
  18228. "description": "单位ID",
  18229. "type": "integer"
  18230. },
  18231. "isvalid": {
  18232. "description": "状态 0-无效(停用) 1-有效(正常)",
  18233. "type": "integer"
  18234. },
  18235. "middlegoodscode": {
  18236. "description": "套保品种代码",
  18237. "type": "string"
  18238. },
  18239. "middlegoodsid": {
  18240. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  18241. "type": "integer"
  18242. },
  18243. "middlegoodsname": {
  18244. "description": "套保品种名称",
  18245. "type": "string"
  18246. },
  18247. "modifytime": {
  18248. "description": "修改时间",
  18249. "type": "string"
  18250. },
  18251. "needarbitrageratio": {
  18252. "description": "套利比例",
  18253. "type": "number"
  18254. },
  18255. "needhedgeratio": {
  18256. "description": "套保比率",
  18257. "type": "number"
  18258. },
  18259. "qtydecimalplace": {
  18260. "description": "数量小数位",
  18261. "type": "integer"
  18262. },
  18263. "relatedgoodsid": {
  18264. "description": "关联交易商品ID",
  18265. "type": "integer"
  18266. },
  18267. "relatedgoodstype": {
  18268. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  18269. "type": "integer"
  18270. },
  18271. "remark": {
  18272. "description": "备注",
  18273. "type": "string"
  18274. }
  18275. }
  18276. },
  18277. "ermcp.QryOPLogRsp": {
  18278. "type": "object",
  18279. "properties": {
  18280. "aftervalue": {
  18281. "description": "变更后",
  18282. "type": "number"
  18283. },
  18284. "applyid": {
  18285. "description": "操作人ID",
  18286. "type": "string"
  18287. },
  18288. "applyname": {
  18289. "description": "操作人名称",
  18290. "type": "string"
  18291. },
  18292. "beforevalue": {
  18293. "description": "变更前",
  18294. "type": "number"
  18295. },
  18296. "biztype": {
  18297. "description": "业务类型 - 1:套保计划 2:现货合同",
  18298. "type": "integer"
  18299. },
  18300. "contracttype": {
  18301. "description": "现货合同类型 - 1:采购 -1:销售",
  18302. "type": "integer"
  18303. },
  18304. "logvalue": {
  18305. "description": "数值",
  18306. "type": "number"
  18307. },
  18308. "operatelogtype": {
  18309. "description": "操作流水类型",
  18310. "type": "integer"
  18311. },
  18312. "operatelogtypedesc": {
  18313. "description": "操作流水类型名称",
  18314. "type": "string"
  18315. },
  18316. "relatedid": {
  18317. "description": "现货合同ID\\套保计划",
  18318. "type": "string"
  18319. },
  18320. "updatetime": {
  18321. "description": "更新时间",
  18322. "type": "string"
  18323. }
  18324. }
  18325. },
  18326. "ermcp.QryUserInfoRsp": {
  18327. "type": "object",
  18328. "properties": {
  18329. "address": {
  18330. "description": "通讯地址",
  18331. "type": "string"
  18332. },
  18333. "attachment1": {
  18334. "description": "附件1",
  18335. "type": "string"
  18336. },
  18337. "audittime": {
  18338. "description": "审核时间",
  18339. "type": "string"
  18340. },
  18341. "cardbackphotourl": {
  18342. "description": "证件反面图片地址",
  18343. "type": "string"
  18344. },
  18345. "cardfrontphotourl": {
  18346. "description": "证件正面图片地址",
  18347. "type": "string"
  18348. },
  18349. "cardnum": {
  18350. "description": "证件号码",
  18351. "type": "string"
  18352. },
  18353. "cardtype": {
  18354. "description": "证件类型",
  18355. "type": "integer"
  18356. },
  18357. "cardtypename": {
  18358. "description": "证件类型名称",
  18359. "type": "string"
  18360. },
  18361. "cityid": {
  18362. "description": "市",
  18363. "type": "integer"
  18364. },
  18365. "contactname": {
  18366. "description": "联系人",
  18367. "type": "string"
  18368. },
  18369. "countryid": {
  18370. "description": "国家",
  18371. "type": "integer"
  18372. },
  18373. "createtime": {
  18374. "description": "创建时间",
  18375. "type": "string"
  18376. },
  18377. "customername": {
  18378. "description": "企业名称",
  18379. "type": "string"
  18380. },
  18381. "districtid": {
  18382. "description": "区域",
  18383. "type": "integer"
  18384. },
  18385. "email": {
  18386. "description": "邮件",
  18387. "type": "string"
  18388. },
  18389. "legalpersonname": {
  18390. "description": "法人姓名(企业)",
  18391. "type": "string"
  18392. },
  18393. "memberuserid": {
  18394. "description": "所属机构ID",
  18395. "type": "integer"
  18396. },
  18397. "mobile": {
  18398. "description": "手机号码",
  18399. "type": "string"
  18400. },
  18401. "modifytime": {
  18402. "description": "修改时间",
  18403. "type": "string"
  18404. },
  18405. "nickname": {
  18406. "description": "昵称",
  18407. "type": "string"
  18408. },
  18409. "provinceid": {
  18410. "description": "省",
  18411. "type": "integer"
  18412. },
  18413. "remark": {
  18414. "description": "备注",
  18415. "type": "string"
  18416. },
  18417. "status": {
  18418. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  18419. "type": "integer"
  18420. },
  18421. "statusdesc": {
  18422. "description": "账户状态中文描述",
  18423. "type": "string"
  18424. },
  18425. "taxpayernum": {
  18426. "description": "纳税人识别号",
  18427. "type": "string"
  18428. },
  18429. "telphone": {
  18430. "description": "联系电话",
  18431. "type": "string"
  18432. },
  18433. "userid": {
  18434. "description": "用户ID",
  18435. "type": "integer"
  18436. },
  18437. "userinfotype": {
  18438. "description": "客户类型",
  18439. "type": "string"
  18440. }
  18441. }
  18442. },
  18443. "ermcp.QryWarehouseRsp": {
  18444. "type": "object",
  18445. "properties": {
  18446. "address": {
  18447. "description": "详细地址",
  18448. "type": "string"
  18449. },
  18450. "areauserid": {
  18451. "description": "所属机构",
  18452. "type": "integer"
  18453. },
  18454. "autoid": {
  18455. "description": "自增ID(仓库ID)",
  18456. "type": "integer"
  18457. },
  18458. "cityid": {
  18459. "description": "市",
  18460. "type": "integer"
  18461. },
  18462. "contactname": {
  18463. "description": "联系人",
  18464. "type": "string"
  18465. },
  18466. "contactnum": {
  18467. "description": "联系电话",
  18468. "type": "string"
  18469. },
  18470. "countryid": {
  18471. "description": "国家",
  18472. "type": "integer"
  18473. },
  18474. "createtime": {
  18475. "description": "创建时间",
  18476. "type": "string"
  18477. },
  18478. "districtid": {
  18479. "description": "区",
  18480. "type": "integer"
  18481. },
  18482. "hasvideo": {
  18483. "description": "是否有视频 - 0:无 1:有",
  18484. "type": "integer"
  18485. },
  18486. "provinceid": {
  18487. "description": "省",
  18488. "type": "integer"
  18489. },
  18490. "remark": {
  18491. "description": "审核备注",
  18492. "type": "string"
  18493. },
  18494. "videourl": {
  18495. "description": "视频地址",
  18496. "type": "string"
  18497. },
  18498. "warehousecode": {
  18499. "description": "仓库代码",
  18500. "type": "string"
  18501. },
  18502. "warehousename": {
  18503. "description": "仓库名称",
  18504. "type": "string"
  18505. },
  18506. "warehousestatus": {
  18507. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  18508. "type": "integer"
  18509. },
  18510. "warehousetype": {
  18511. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  18512. "type": "integer"
  18513. }
  18514. }
  18515. },
  18516. "ermcp.QueryErmcpTradePositionRsp": {
  18517. "type": "object",
  18518. "properties": {
  18519. "agreeunit": {
  18520. "description": "合约单位",
  18521. "type": "number"
  18522. },
  18523. "buyorsell": {
  18524. "description": "方向 - 0:买 1:卖",
  18525. "type": "integer"
  18526. },
  18527. "curpositionqty": {
  18528. "description": "持仓(总仓数量, 期末头寸)",
  18529. "type": "integer"
  18530. },
  18531. "curtdposition": {
  18532. "description": "今仓数量(期末今日头寸)",
  18533. "type": "integer"
  18534. },
  18535. "curtdpositionenabled": {
  18536. "description": "今仓可用",
  18537. "type": "integer"
  18538. },
  18539. "decimalplace": {
  18540. "description": "报价小数位",
  18541. "type": "integer"
  18542. },
  18543. "enableqty": {
  18544. "description": "可用(总仓可用)",
  18545. "type": "integer"
  18546. },
  18547. "exexchangename": {
  18548. "description": "外部交易所名称",
  18549. "type": "string"
  18550. },
  18551. "exexehangecode": {
  18552. "description": "外部交易所代码",
  18553. "type": "string"
  18554. },
  18555. "exexehangeid": {
  18556. "description": "外部交易所id",
  18557. "type": "integer"
  18558. },
  18559. "goodscode": {
  18560. "description": "商品代码(内部)",
  18561. "type": "string"
  18562. },
  18563. "goodsid": {
  18564. "description": "商品ID(自增ID SEQ_GOODS)",
  18565. "type": "integer"
  18566. },
  18567. "goodsname": {
  18568. "description": "商品名称",
  18569. "type": "string"
  18570. },
  18571. "last": {
  18572. "description": "现价",
  18573. "type": "number"
  18574. },
  18575. "marketid": {
  18576. "description": "所属市场ID",
  18577. "type": "integer"
  18578. },
  18579. "openaverageprice": {
  18580. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  18581. "type": "number"
  18582. },
  18583. "opencost": {
  18584. "description": "开仓成本",
  18585. "type": "number"
  18586. },
  18587. "openpl": {
  18588. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  18589. "type": "number"
  18590. },
  18591. "outgoodscode": {
  18592. "description": "商品代码(外部)",
  18593. "type": "string"
  18594. },
  18595. "positionaverageprice": {
  18596. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  18597. "type": "number"
  18598. },
  18599. "positioncost": {
  18600. "description": "持仓成本",
  18601. "type": "number"
  18602. },
  18603. "positionpl": {
  18604. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  18605. "type": "number"
  18606. },
  18607. "positionplrate": {
  18608. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  18609. "type": "number"
  18610. },
  18611. "usedmargin": {
  18612. "description": "占用保证金",
  18613. "type": "number"
  18614. }
  18615. }
  18616. },
  18617. "ermcp.RealtimeExposurePositionRsp": {
  18618. "type": "object",
  18619. "properties": {
  18620. "agreeunit": {
  18621. "description": "合约单位",
  18622. "type": "string"
  18623. },
  18624. "areauserid": {
  18625. "description": "所属机构id",
  18626. "type": "integer"
  18627. },
  18628. "convertratio": {
  18629. "description": "期货品种系数(折算系数)",
  18630. "type": "number"
  18631. },
  18632. "curhedgeqty": {
  18633. "description": "期货套期量 = 当前持仓*期货合约单位*期货品种系数",
  18634. "type": "number"
  18635. },
  18636. "curqty": {
  18637. "description": "当前持仓",
  18638. "type": "integer"
  18639. },
  18640. "diffhedgeqty": {
  18641. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  18642. "type": "number"
  18643. },
  18644. "diffqty": {
  18645. "description": "持仓变动量=当前持仓-昨日持仓",
  18646. "type": "integer"
  18647. },
  18648. "goodscode": {
  18649. "description": "商品代码",
  18650. "type": "string"
  18651. },
  18652. "goodsid": {
  18653. "description": "商品id",
  18654. "type": "integer"
  18655. },
  18656. "goodsname": {
  18657. "description": "商品名称",
  18658. "type": "string"
  18659. },
  18660. "hedgeaccountcode": {
  18661. "description": "对冲账号(只有外部账号才有值)",
  18662. "type": "string"
  18663. },
  18664. "middlegoodscode": {
  18665. "description": "套保商品代码",
  18666. "type": "string"
  18667. },
  18668. "middlegoodsid": {
  18669. "description": "套保商品id",
  18670. "type": "integer"
  18671. },
  18672. "middlegoodsname": {
  18673. "description": "套保商品名称",
  18674. "type": "string"
  18675. },
  18676. "ydqty": {
  18677. "description": "昨日持仓",
  18678. "type": "integer"
  18679. }
  18680. }
  18681. },
  18682. "ermcp.RealtimeExposureRsp": {
  18683. "type": "object",
  18684. "properties": {
  18685. "AreaUserID": {
  18686. "description": "所属机构",
  18687. "type": "integer"
  18688. },
  18689. "BuyFutureQty": {
  18690. "description": "买入期货数量",
  18691. "type": "number"
  18692. },
  18693. "BuyPlanQty": {
  18694. "description": "采购计划数量",
  18695. "type": "number"
  18696. },
  18697. "BuyPricedQty": {
  18698. "description": "采购合同已定价数量",
  18699. "type": "number"
  18700. },
  18701. "MiddleGoodsCode": {
  18702. "description": "套保品种代码",
  18703. "type": "string"
  18704. },
  18705. "MiddleGoodsHedgeRatio": {
  18706. "description": "套保比例",
  18707. "type": "number"
  18708. },
  18709. "MiddleGoodsID": {
  18710. "description": "套保品种",
  18711. "type": "integer"
  18712. },
  18713. "MiddleGoodsName": {
  18714. "description": "套保品种名称",
  18715. "type": "string"
  18716. },
  18717. "NeedHedgeExposoure": {
  18718. "description": "应套保敞口(套保敞口)",
  18719. "type": "number"
  18720. },
  18721. "NeedHedgeRatio": {
  18722. "description": "应套保敞口比例",
  18723. "type": "number"
  18724. },
  18725. "OriBuyFutureQty": {
  18726. "description": "期初买入期货数量",
  18727. "type": "number"
  18728. },
  18729. "OriBuyPlanQty": {
  18730. "description": "期初采购计划数量",
  18731. "type": "number"
  18732. },
  18733. "OriBuyPricedQty": {
  18734. "description": "期初采购合同已定价数量",
  18735. "type": "number"
  18736. },
  18737. "OriSellFutureQty": {
  18738. "description": "期初卖出期货数量",
  18739. "type": "number"
  18740. },
  18741. "OriSellPlanQty": {
  18742. "description": "期初销售计划数量",
  18743. "type": "number"
  18744. },
  18745. "OriSellPricedQty": {
  18746. "description": "期初销售合同已定价数量",
  18747. "type": "number"
  18748. },
  18749. "OriTotalSpotQty": {
  18750. "description": "期初现货总量",
  18751. "type": "number"
  18752. },
  18753. "SellFutureQty": {
  18754. "description": "卖出期货数量",
  18755. "type": "number"
  18756. },
  18757. "SellPlanQty": {
  18758. "description": "销售计划数量",
  18759. "type": "number"
  18760. },
  18761. "SellPricedQty": {
  18762. "description": "销售合同已定价数量",
  18763. "type": "number"
  18764. },
  18765. "TotalExposure": {
  18766. "description": "总敞口 平安:净敞口",
  18767. "type": "number"
  18768. },
  18769. "TotalFutureQty": {
  18770. "description": "期货总量 平安:保值净持仓量",
  18771. "type": "number"
  18772. },
  18773. "TotalHedgeRatio": {
  18774. "description": "敞口比例",
  18775. "type": "number"
  18776. },
  18777. "TotalNeedHedgeQty": {
  18778. "description": "应套保总量(现货应套保总量)",
  18779. "type": "number"
  18780. },
  18781. "TotalSpotQty": {
  18782. "description": "现货总量 平安:采销定价净值",
  18783. "type": "number"
  18784. },
  18785. "arbitrageqty": {
  18786. "description": "套利量",
  18787. "type": "number"
  18788. },
  18789. "diffArbitrageQty": {
  18790. "description": "套利变动量",
  18791. "type": "number"
  18792. },
  18793. "diffExposoureQty": {
  18794. "description": "变动量(套保敞口)",
  18795. "type": "number"
  18796. },
  18797. "diffFutuQty": {
  18798. "description": "变动量(期货总量) 平安:保值净持仓量今日变动",
  18799. "type": "number"
  18800. },
  18801. "diffHedgeQty": {
  18802. "description": "套保变动量",
  18803. "type": "number"
  18804. },
  18805. "diffQty": {
  18806. "description": "变动量(总敞口) 平安:净敞口今日变动",
  18807. "type": "number"
  18808. },
  18809. "diffSpotHedgeQty": {
  18810. "description": "变动量(现货应套保总量) 平安:应套保量今日变动",
  18811. "type": "number"
  18812. },
  18813. "diffSpotQty": {
  18814. "description": "变动量(现货总量) = 现货数量 - 期初现货数量 平安:采销定价净值今日变动",
  18815. "type": "number"
  18816. },
  18817. "enumdicname": {
  18818. "description": "单位名称",
  18819. "type": "string"
  18820. },
  18821. "hedgeqty": {
  18822. "description": "套保量",
  18823. "type": "number"
  18824. },
  18825. "needarbitrageqty": {
  18826. "description": "应套利量",
  18827. "type": "number"
  18828. },
  18829. "needarbitrageratio": {
  18830. "description": "套利比例",
  18831. "type": "number"
  18832. },
  18833. "needhedgeqty": {
  18834. "description": "应套保量",
  18835. "type": "number"
  18836. },
  18837. "oriarbitrageqty": {
  18838. "description": "期初套利量",
  18839. "type": "number"
  18840. },
  18841. "orihedgeqty": {
  18842. "description": "期初套保量",
  18843. "type": "number"
  18844. },
  18845. "orineedhedgeexposoure": {
  18846. "description": "期初套保敞口",
  18847. "type": "number"
  18848. },
  18849. "oritotalexposure": {
  18850. "description": "期初总敞口",
  18851. "type": "number"
  18852. },
  18853. "oritotalfutureqty": {
  18854. "description": "期初期货总量",
  18855. "type": "number"
  18856. },
  18857. "oritotalneedhedgeqty": {
  18858. "description": "期初现货应套保量",
  18859. "type": "number"
  18860. }
  18861. }
  18862. },
  18863. "erms2.QueryArbitrageStrategyRsp": {
  18864. "type": "object",
  18865. "required": [
  18866. "asapplyid"
  18867. ],
  18868. "properties": {
  18869. "applybasis": {
  18870. "description": "申请基差",
  18871. "type": "number"
  18872. },
  18873. "asapplyid": {
  18874. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  18875. "type": "string"
  18876. },
  18877. "asname": {
  18878. "description": "策略名称",
  18879. "type": "string"
  18880. },
  18881. "asno": {
  18882. "description": "策略编号",
  18883. "type": "string"
  18884. },
  18885. "basischangepl": {
  18886. "description": "基差变动损益[结算更新]",
  18887. "type": "number"
  18888. },
  18889. "biztype": {
  18890. "description": "业务类型 - 1:正向套利 -1:反向套利",
  18891. "type": "integer"
  18892. },
  18893. "closetradedate": {
  18894. "description": "完结交易日(yyyyMMdd)",
  18895. "type": "string"
  18896. },
  18897. "curbasis": {
  18898. "description": "当前基差[结算更新]",
  18899. "type": "number"
  18900. },
  18901. "deliverygoodsid": {
  18902. "description": "现货品种ID",
  18903. "type": "integer"
  18904. },
  18905. "futureavgprice": {
  18906. "description": "期货建仓均价",
  18907. "type": "number"
  18908. },
  18909. "futurecloseamount": {
  18910. "description": "期货平仓金额",
  18911. "type": "number"
  18912. },
  18913. "futurecloseqty": {
  18914. "description": "期货平仓数量",
  18915. "type": "number"
  18916. },
  18917. "futureopenamount": {
  18918. "description": "期货开仓金额",
  18919. "type": "number"
  18920. },
  18921. "futureopenqty": {
  18922. "description": "期货开仓数量",
  18923. "type": "number"
  18924. },
  18925. "futurepl": {
  18926. "description": "期货总盈亏[结算更新]",
  18927. "type": "number"
  18928. },
  18929. "futureqty": {
  18930. "description": "期货持仓数量",
  18931. "type": "number"
  18932. },
  18933. "futurequote": {
  18934. "description": "期货额度",
  18935. "type": "number"
  18936. },
  18937. "goodsgroupid": {
  18938. "description": "期货品种ID",
  18939. "type": "integer"
  18940. },
  18941. "marketid": {
  18942. "description": "市场ID",
  18943. "type": "integer"
  18944. },
  18945. "netexposure": {
  18946. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  18947. "type": "number"
  18948. },
  18949. "netexposurepl": {
  18950. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  18951. "type": "number"
  18952. },
  18953. "netexposurerate": {
  18954. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  18955. "type": "number"
  18956. },
  18957. "openbasis": {
  18958. "description": "建仓基差",
  18959. "type": "number"
  18960. },
  18961. "pricedspotqty": {
  18962. "description": "已定价现货数量",
  18963. "type": "number"
  18964. },
  18965. "pricedspotqtynotax": {
  18966. "description": "已定价现货不含税数量",
  18967. "type": "number"
  18968. },
  18969. "remark": {
  18970. "description": "备注",
  18971. "type": "string"
  18972. },
  18973. "spotavgprice": {
  18974. "description": "现货均价",
  18975. "type": "number"
  18976. },
  18977. "spotbuyamount": {
  18978. "description": "现货采购金额",
  18979. "type": "number"
  18980. },
  18981. "spotbuyqty": {
  18982. "description": "现货采购数量",
  18983. "type": "number"
  18984. },
  18985. "spotpl": {
  18986. "description": "现货总盈亏[结算更新]",
  18987. "type": "number"
  18988. },
  18989. "spotquota": {
  18990. "description": "现货额度",
  18991. "type": "number"
  18992. },
  18993. "spotsellamount": {
  18994. "description": "现货销售金额",
  18995. "type": "number"
  18996. },
  18997. "spotsellqty": {
  18998. "description": "现货销售数量",
  18999. "type": "number"
  19000. },
  19001. "spotusedquota": {
  19002. "description": "现货占用资金",
  19003. "type": "number"
  19004. },
  19005. "strategystatus": {
  19006. "description": "策略状态 - 0:未结束 1:已结束",
  19007. "type": "integer"
  19008. },
  19009. "totalpl": {
  19010. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  19011. "type": "number"
  19012. },
  19013. "tradedate": {
  19014. "description": "交易日(yyyyMMdd)",
  19015. "type": "string"
  19016. },
  19017. "updatetime": {
  19018. "description": "更新时间",
  19019. "type": "string"
  19020. },
  19021. "usedquota": {
  19022. "description": "已占用资金",
  19023. "type": "number"
  19024. },
  19025. "userid": {
  19026. "description": "所属机构",
  19027. "type": "integer"
  19028. }
  19029. }
  19030. },
  19031. "erms2.QueryInnerTradeDetailRsp": {
  19032. "type": "object",
  19033. "required": [
  19034. "asapplyid",
  19035. "buyorsell",
  19036. "goodscode",
  19037. "goodsgroupid",
  19038. "goodsgroupname",
  19039. "goodsname",
  19040. "tradeid"
  19041. ],
  19042. "properties": {
  19043. "accountid": {
  19044. "description": "账号ID",
  19045. "type": "integer"
  19046. },
  19047. "agreeunit": {
  19048. "description": "合约单位",
  19049. "type": "number"
  19050. },
  19051. "asapplyid": {
  19052. "description": "策略申请ID",
  19053. "type": "integer"
  19054. },
  19055. "asname": {
  19056. "description": "策略名称",
  19057. "type": "string"
  19058. },
  19059. "asno": {
  19060. "description": "策略编号",
  19061. "type": "string"
  19062. },
  19063. "buyorsell": {
  19064. "description": "方向 - 0:买 1:卖",
  19065. "type": "integer"
  19066. },
  19067. "channelbuildtype": {
  19068. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  19069. "type": "integer"
  19070. },
  19071. "closetype": {
  19072. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  19073. "type": "integer"
  19074. },
  19075. "decimalplace": {
  19076. "description": "报价小数位",
  19077. "type": "integer"
  19078. },
  19079. "detailtype": {
  19080. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  19081. "type": "integer"
  19082. },
  19083. "exexchangecode": {
  19084. "description": "外部交易所代码",
  19085. "type": "string"
  19086. },
  19087. "exexchangename": {
  19088. "description": "外部交易所名称",
  19089. "type": "string"
  19090. },
  19091. "goodscode": {
  19092. "description": "商品代码(合约)",
  19093. "type": "string"
  19094. },
  19095. "goodsgroupid": {
  19096. "description": "商品组ID(品种ID)",
  19097. "type": "integer"
  19098. },
  19099. "goodsgroupname": {
  19100. "description": "商品组名称(品种)",
  19101. "type": "string"
  19102. },
  19103. "goodsid": {
  19104. "description": "商品ID",
  19105. "type": "integer"
  19106. },
  19107. "goodsname": {
  19108. "description": "商品名称(合约)",
  19109. "type": "string"
  19110. },
  19111. "goodunit": {
  19112. "description": "报价单位",
  19113. "type": "string"
  19114. },
  19115. "marketid": {
  19116. "description": "市场ID",
  19117. "type": "integer"
  19118. },
  19119. "orderid": {
  19120. "description": "委托单号",
  19121. "type": "string"
  19122. },
  19123. "outgoodscode": {
  19124. "description": "商品代码(外部)",
  19125. "type": "string"
  19126. },
  19127. "relatedouttradeid": {
  19128. "description": "关联外部成交单ID",
  19129. "type": "string"
  19130. },
  19131. "remark": {
  19132. "description": "备注",
  19133. "type": "string"
  19134. },
  19135. "spotcontractid": {
  19136. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  19137. "type": "integer"
  19138. },
  19139. "spotcontractno": {
  19140. "description": "现货合同编号",
  19141. "type": "string"
  19142. },
  19143. "tradeid": {
  19144. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  19145. "type": "string"
  19146. },
  19147. "tradeprice": {
  19148. "description": "成交价格",
  19149. "type": "number"
  19150. },
  19151. "tradeqty": {
  19152. "description": "成交数量",
  19153. "type": "integer"
  19154. },
  19155. "tradetime": {
  19156. "description": "成交时间",
  19157. "type": "string"
  19158. },
  19159. "updatetime": {
  19160. "description": "更新时间",
  19161. "type": "string"
  19162. }
  19163. }
  19164. },
  19165. "erms2.QuerySpotContractRsp": {
  19166. "type": "object",
  19167. "required": [
  19168. "spotcontractid"
  19169. ],
  19170. "properties": {
  19171. "accountid": {
  19172. "description": "资金账户ID",
  19173. "type": "integer"
  19174. },
  19175. "areauserid": {
  19176. "description": "所属机构",
  19177. "type": "integer"
  19178. },
  19179. "closedate": {
  19180. "description": "终止日期",
  19181. "type": "string"
  19182. },
  19183. "closeremark": {
  19184. "description": "结束备注",
  19185. "type": "string"
  19186. },
  19187. "closetradedate": {
  19188. "description": "完结交易日(yyyyMMdd)",
  19189. "type": "string"
  19190. },
  19191. "closetype": {
  19192. "description": "终止类型 - 1:违约 2:提前终止",
  19193. "type": "integer"
  19194. },
  19195. "contractamount": {
  19196. "description": "合同金额",
  19197. "type": "number"
  19198. },
  19199. "contractattachment": {
  19200. "description": "合同附件",
  19201. "type": "string"
  19202. },
  19203. "contractno": {
  19204. "description": "现货合同编号",
  19205. "type": "string"
  19206. },
  19207. "contractqty": {
  19208. "description": "合同数量(数值) (用于计算)",
  19209. "type": "number"
  19210. },
  19211. "contractqtychar": {
  19212. "description": "合同数量\\已订价数量 (用于显示)",
  19213. "type": "string"
  19214. },
  19215. "contractstatus": {
  19216. "description": "合同状态 - 0:未结束 1:已结束",
  19217. "type": "integer"
  19218. },
  19219. "contracttype": {
  19220. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  19221. "type": "integer"
  19222. },
  19223. "customeraccountid": {
  19224. "description": "客户资金账户ID",
  19225. "type": "integer"
  19226. },
  19227. "customeruserid": {
  19228. "description": "客户ID",
  19229. "type": "integer"
  19230. },
  19231. "deliverygoodsdesc": {
  19232. "description": "品种说明",
  19233. "type": "string"
  19234. },
  19235. "deliverygoodsid": {
  19236. "description": "现货品种ID",
  19237. "type": "integer"
  19238. },
  19239. "handlestatus": {
  19240. "description": "处理状态",
  19241. "type": "integer"
  19242. },
  19243. "invoiceatt": {
  19244. "description": "发票附件",
  19245. "type": "string"
  19246. },
  19247. "invoicedatetime": {
  19248. "description": "开收票更新时间",
  19249. "type": "string"
  19250. },
  19251. "invoiceopentime": {
  19252. "description": "开票时间",
  19253. "type": "string"
  19254. },
  19255. "invoiceremark": {
  19256. "description": "发票备注",
  19257. "type": "string"
  19258. },
  19259. "invoicestatus": {
  19260. "description": "开收票状态 - 0:未开票 1:已开票",
  19261. "type": "integer"
  19262. },
  19263. "lastdate": {
  19264. "description": "交货时间",
  19265. "type": "string"
  19266. },
  19267. "marketid": {
  19268. "description": "市场ID",
  19269. "type": "integer"
  19270. },
  19271. "paydatetime": {
  19272. "description": "收付款更新时间",
  19273. "type": "string"
  19274. },
  19275. "payremark": {
  19276. "description": "收付款备注",
  19277. "type": "string"
  19278. },
  19279. "paystatus": {
  19280. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  19281. "type": "integer"
  19282. },
  19283. "positionqty": {
  19284. "description": "头寸数量 - 合同数量去小数部分",
  19285. "type": "integer"
  19286. },
  19287. "producttype": {
  19288. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  19289. "type": "integer"
  19290. },
  19291. "relatedqty": {
  19292. "description": "已关联数量",
  19293. "type": "number"
  19294. },
  19295. "relatedstatus": {
  19296. "description": "关联完结状态 - 0:未结束 1:已结束",
  19297. "type": "integer"
  19298. },
  19299. "remark": {
  19300. "description": "备注",
  19301. "type": "string"
  19302. },
  19303. "signdate": {
  19304. "description": "签订日期",
  19305. "type": "string"
  19306. },
  19307. "spotcontractid": {
  19308. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  19309. "type": "string"
  19310. },
  19311. "spotdatetime": {
  19312. "description": "收发货更新时间",
  19313. "type": "string"
  19314. },
  19315. "spotprice": {
  19316. "description": "价格",
  19317. "type": "number"
  19318. },
  19319. "spotremark": {
  19320. "description": "收发货备注",
  19321. "type": "string"
  19322. },
  19323. "spotstatus": {
  19324. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  19325. "type": "integer"
  19326. },
  19327. "tradedate": {
  19328. "description": "交易日(yyyyMMdd)",
  19329. "type": "string"
  19330. },
  19331. "userid": {
  19332. "description": "业务员用户ID",
  19333. "type": "integer"
  19334. },
  19335. "warehouseid": {
  19336. "description": "仓库ID",
  19337. "type": "integer"
  19338. },
  19339. "wrfactortypeid": {
  19340. "description": "仓单要素类型ID",
  19341. "type": "integer"
  19342. },
  19343. "wrstandardid": {
  19344. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  19345. "type": "integer"
  19346. }
  19347. }
  19348. },
  19349. "erms3.AddErms2ASApplyReq": {
  19350. "type": "object",
  19351. "required": [
  19352. "asapplyid"
  19353. ],
  19354. "properties": {
  19355. "applybasis": {
  19356. "description": "申请基差",
  19357. "type": "number"
  19358. },
  19359. "applystatus": {
  19360. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  19361. "type": "integer"
  19362. },
  19363. "asapplyid": {
  19364. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  19365. "type": "integer"
  19366. },
  19367. "asname": {
  19368. "description": "策略名称",
  19369. "type": "string"
  19370. },
  19371. "asno": {
  19372. "description": "策略编号",
  19373. "type": "string"
  19374. },
  19375. "auditid": {
  19376. "description": "审核人",
  19377. "type": "integer"
  19378. },
  19379. "auditremark": {
  19380. "description": "审核备注",
  19381. "type": "string"
  19382. },
  19383. "audittime": {
  19384. "description": "审核时间",
  19385. "type": "string"
  19386. },
  19387. "biztype": {
  19388. "description": "业务类型 - 1:正向套利 2:反向套利",
  19389. "type": "integer"
  19390. },
  19391. "createtime": {
  19392. "description": "创建时间",
  19393. "type": "string"
  19394. },
  19395. "creatorid": {
  19396. "description": "创建人",
  19397. "type": "integer"
  19398. },
  19399. "deliverygoodsid": {
  19400. "description": "现货品种ID",
  19401. "type": "integer"
  19402. },
  19403. "futurequote": {
  19404. "description": "期货额度",
  19405. "type": "number"
  19406. },
  19407. "goodsgroupid": {
  19408. "description": "期货品种ID",
  19409. "type": "integer"
  19410. },
  19411. "marketid": {
  19412. "description": "市场ID",
  19413. "type": "integer"
  19414. },
  19415. "remark": {
  19416. "description": "备注",
  19417. "type": "string"
  19418. },
  19419. "spotquota": {
  19420. "description": "现货额度",
  19421. "type": "number"
  19422. },
  19423. "tradedate": {
  19424. "description": "交易日(yyyyMMdd)",
  19425. "type": "string"
  19426. },
  19427. "userid": {
  19428. "description": "所属机构",
  19429. "type": "integer"
  19430. }
  19431. }
  19432. },
  19433. "erms3.AddErms2SpotTradeApplyReq": {
  19434. "type": "object",
  19435. "required": [
  19436. "spottradeid"
  19437. ],
  19438. "properties": {
  19439. "applyjsondetail": {
  19440. "description": "申请明细(JSON)",
  19441. "type": "string"
  19442. },
  19443. "applystatus": {
  19444. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  19445. "type": "integer"
  19446. },
  19447. "areauserid": {
  19448. "description": "所属机构",
  19449. "type": "integer"
  19450. },
  19451. "auditid": {
  19452. "description": "审核人",
  19453. "type": "integer"
  19454. },
  19455. "auditremark": {
  19456. "description": "审核备注",
  19457. "type": "string"
  19458. },
  19459. "audittime": {
  19460. "description": "审核时间",
  19461. "type": "string"
  19462. },
  19463. "createtime": {
  19464. "description": "创建时间",
  19465. "type": "string"
  19466. },
  19467. "creatorid": {
  19468. "description": "创建人",
  19469. "type": "integer"
  19470. },
  19471. "deliverygoodsid": {
  19472. "description": "现货品种ID",
  19473. "type": "integer"
  19474. },
  19475. "futureaccountid": {
  19476. "description": "期货资金账户",
  19477. "type": "integer"
  19478. },
  19479. "goodsgroupid": {
  19480. "description": "期货品种",
  19481. "type": "integer"
  19482. },
  19483. "marketid": {
  19484. "description": "市场ID",
  19485. "type": "integer"
  19486. },
  19487. "remark": {
  19488. "description": "备注",
  19489. "type": "string"
  19490. },
  19491. "spotaccountid": {
  19492. "description": "现货资金账户",
  19493. "type": "integer"
  19494. },
  19495. "spottradeid": {
  19496. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  19497. "type": "integer"
  19498. },
  19499. "spottradename": {
  19500. "description": "业务名称",
  19501. "type": "string"
  19502. },
  19503. "spottradeno": {
  19504. "description": "业务编号",
  19505. "type": "string"
  19506. },
  19507. "tradedate": {
  19508. "description": "交易日(yyyyMMdd)",
  19509. "type": "string"
  19510. },
  19511. "wrstandardid": {
  19512. "description": "仓单标准ID",
  19513. "type": "integer"
  19514. }
  19515. }
  19516. },
  19517. "erms3.AddSpotContractApplyReq": {
  19518. "type": "object",
  19519. "required": [
  19520. "accountid",
  19521. "areauserid",
  19522. "contractno",
  19523. "contracttype",
  19524. "customeraccountid",
  19525. "customeruserid",
  19526. "details",
  19527. "orimargin",
  19528. "signdate"
  19529. ],
  19530. "properties": {
  19531. "accountid": {
  19532. "description": "资金账户ID",
  19533. "type": "integer"
  19534. },
  19535. "areauserid": {
  19536. "description": "所属机构",
  19537. "type": "integer"
  19538. },
  19539. "contractattachment": {
  19540. "description": "合同附件",
  19541. "type": "string"
  19542. },
  19543. "contractno": {
  19544. "description": "现货合同编号",
  19545. "type": "string"
  19546. },
  19547. "contracttype": {
  19548. "description": "现货合同类型 - 1:采购 -1:销售",
  19549. "type": "integer"
  19550. },
  19551. "creatorid": {
  19552. "description": "申请人",
  19553. "type": "integer"
  19554. },
  19555. "customeraccountid": {
  19556. "description": "客户资金账户ID",
  19557. "type": "integer"
  19558. },
  19559. "customeruserid": {
  19560. "description": "客户ID",
  19561. "type": "integer"
  19562. },
  19563. "details": {
  19564. "description": "明细",
  19565. "type": "array",
  19566. "items": {
  19567. "$ref": "#/definitions/erms3.SoptContractDetail"
  19568. }
  19569. },
  19570. "orimargin": {
  19571. "description": "初始保证金",
  19572. "type": "number"
  19573. },
  19574. "remark": {
  19575. "description": "备注",
  19576. "type": "string"
  19577. },
  19578. "signdate": {
  19579. "description": "签订日期",
  19580. "type": "string"
  19581. }
  19582. }
  19583. },
  19584. "erms3.AddSpotContractApplyRsp": {
  19585. "type": "object",
  19586. "required": [
  19587. "contractno"
  19588. ],
  19589. "properties": {
  19590. "contractno": {
  19591. "description": "现货合同编号",
  19592. "type": "string"
  19593. },
  19594. "spotcontractid": {
  19595. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  19596. "type": "integer"
  19597. }
  19598. }
  19599. },
  19600. "erms3.AddUserInfoApplyReq": {
  19601. "type": "object",
  19602. "required": [
  19603. "userid"
  19604. ],
  19605. "properties": {
  19606. "accountid": {
  19607. "description": "交易系统帐号Id (加密存储)",
  19608. "type": "integer"
  19609. },
  19610. "areacode": {
  19611. "description": "机构代码",
  19612. "type": "string"
  19613. },
  19614. "areaid": {
  19615. "description": "机构Id",
  19616. "type": "integer"
  19617. },
  19618. "attachment1": {
  19619. "description": "附件1",
  19620. "type": "string"
  19621. },
  19622. "attachment2": {
  19623. "description": "附件2",
  19624. "type": "string"
  19625. },
  19626. "attachment3": {
  19627. "description": "附件3",
  19628. "type": "string"
  19629. },
  19630. "attachment4": {
  19631. "description": "附件4",
  19632. "type": "string"
  19633. },
  19634. "attachment5": {
  19635. "description": "附件5",
  19636. "type": "string"
  19637. },
  19638. "auditedby": {
  19639. "description": "审核人",
  19640. "type": "string"
  19641. },
  19642. "auditime": {
  19643. "description": "审核时间",
  19644. "type": "string"
  19645. },
  19646. "auditsrc": {
  19647. "description": "审核来源 - 1:管理端 2:终端",
  19648. "type": "integer"
  19649. },
  19650. "bankaccount": {
  19651. "description": "银行帐号 (加密存储)",
  19652. "type": "string"
  19653. },
  19654. "bankaccountname": {
  19655. "description": "收款人名称",
  19656. "type": "string"
  19657. },
  19658. "bankcardbackphotourl": {
  19659. "description": "银行卡背面照地址",
  19660. "type": "string"
  19661. },
  19662. "bankcardfrontphotourl": {
  19663. "description": "银行卡正面照地址",
  19664. "type": "string"
  19665. },
  19666. "bankid": {
  19667. "description": "银行编码",
  19668. "type": "string"
  19669. },
  19670. "bankname": {
  19671. "description": "银行名称",
  19672. "type": "string"
  19673. },
  19674. "bankpictureurl": {
  19675. "description": "银行卡正面地址",
  19676. "type": "string"
  19677. },
  19678. "biznature": {
  19679. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  19680. "type": "integer"
  19681. },
  19682. "bizscope": {
  19683. "description": "企业经营范围(企业)",
  19684. "type": "string"
  19685. },
  19686. "biztype": {
  19687. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  19688. "type": "integer"
  19689. },
  19690. "brokerid": {
  19691. "description": "经纪人ID(加密存储)",
  19692. "type": "string"
  19693. },
  19694. "cardaddress": {
  19695. "description": "证件地址 (加密存储)",
  19696. "type": "string"
  19697. },
  19698. "cardbackphotourl": {
  19699. "description": "背面证件照地址",
  19700. "type": "string"
  19701. },
  19702. "cardfrontphotourl": {
  19703. "description": "正面证件照地址",
  19704. "type": "string"
  19705. },
  19706. "cardnum": {
  19707. "description": "证件号码 (加密存储)",
  19708. "type": "string"
  19709. },
  19710. "cardtype": {
  19711. "description": "证件类型",
  19712. "type": "integer"
  19713. },
  19714. "cityid": {
  19715. "description": "市",
  19716. "type": "integer"
  19717. },
  19718. "company": {
  19719. "description": "公司(个人)",
  19720. "type": "string"
  19721. },
  19722. "contactcardbackphotourl": {
  19723. "description": "联系人证件背面图片地址",
  19724. "type": "string"
  19725. },
  19726. "contactcardfrontphotourl": {
  19727. "description": "联系人证件正面图片地址",
  19728. "type": "string"
  19729. },
  19730. "contactname": {
  19731. "description": "联系人",
  19732. "type": "string"
  19733. },
  19734. "countryid": {
  19735. "description": "国家",
  19736. "type": "integer"
  19737. },
  19738. "createtime": {
  19739. "description": "开户申请时间",
  19740. "type": "string"
  19741. },
  19742. "cusbankid": {
  19743. "description": "签约类型",
  19744. "type": "string"
  19745. },
  19746. "cusbankname": {
  19747. "description": "签约类型名称",
  19748. "type": "string"
  19749. },
  19750. "customername": {
  19751. "description": "客户名称(企业名称)",
  19752. "type": "string"
  19753. },
  19754. "districtid": {
  19755. "description": "地区",
  19756. "type": "integer"
  19757. },
  19758. "email": {
  19759. "description": "Email地址(加密存储)",
  19760. "type": "string"
  19761. },
  19762. "halfbodyphotourl": {
  19763. "description": "半身照地址",
  19764. "type": "string"
  19765. },
  19766. "headurl": {
  19767. "description": "头像地址",
  19768. "type": "string"
  19769. },
  19770. "ipaddress": {
  19771. "description": "IP地址",
  19772. "type": "string"
  19773. },
  19774. "isvalidate": {
  19775. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  19776. "type": "string"
  19777. },
  19778. "legalcardbackphotourl": {
  19779. "description": "法人身份证背面照地址",
  19780. "type": "string"
  19781. },
  19782. "legalcardfrontphotourl": {
  19783. "description": "法人身份证正面照地址",
  19784. "type": "string"
  19785. },
  19786. "legalpersonname": {
  19787. "description": "法人姓名(企业)",
  19788. "type": "string"
  19789. },
  19790. "logincode": {
  19791. "description": "登录帐号 (加密存储)",
  19792. "type": "string"
  19793. },
  19794. "memberareaid": {
  19795. "description": "所属会员ID",
  19796. "type": "integer"
  19797. },
  19798. "mobile2": {
  19799. "description": "手机号码[明文-尚志]",
  19800. "type": "string"
  19801. },
  19802. "mobilephone": {
  19803. "description": "手机号码 (加密存储)",
  19804. "type": "string"
  19805. },
  19806. "modifiedby": {
  19807. "description": "修改人帐号",
  19808. "type": "integer"
  19809. },
  19810. "modifiedtime": {
  19811. "description": "修改时间",
  19812. "type": "string"
  19813. },
  19814. "nickname": {
  19815. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  19816. "type": "string"
  19817. },
  19818. "openmode": {
  19819. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  19820. "type": "integer"
  19821. },
  19822. "otherurl": {
  19823. "description": "其它图片地址[使用分号分隔]",
  19824. "type": "string"
  19825. },
  19826. "postalcode": {
  19827. "description": "邮政编码",
  19828. "type": "string"
  19829. },
  19830. "provinceid": {
  19831. "description": "省",
  19832. "type": "integer"
  19833. },
  19834. "proxystatementurl": {
  19835. "description": "授权委托书",
  19836. "type": "string"
  19837. },
  19838. "qq": {
  19839. "description": "QQ(加密存储",
  19840. "type": "string"
  19841. },
  19842. "referral": {
  19843. "description": "推荐人编码",
  19844. "type": "string"
  19845. },
  19846. "remark": {
  19847. "description": "备注",
  19848. "type": "string"
  19849. },
  19850. "removebeforestatus": {
  19851. "description": "REMOVEBEFORESTATUS",
  19852. "type": "integer"
  19853. },
  19854. "sex": {
  19855. "description": "性别 - 0:女 1:男",
  19856. "type": "integer"
  19857. },
  19858. "signedstatus": {
  19859. "description": "账户一号签签约状态",
  19860. "type": "integer"
  19861. },
  19862. "signpdfurl": {
  19863. "description": "签约pdf文件",
  19864. "type": "string"
  19865. },
  19866. "subbranch": {
  19867. "description": "开户支行",
  19868. "type": "string"
  19869. },
  19870. "taxpayernum": {
  19871. "description": "纳税人识别号",
  19872. "type": "string"
  19873. },
  19874. "telphone": {
  19875. "description": "联系电话(加密存储)",
  19876. "type": "string"
  19877. },
  19878. "userid": {
  19879. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  19880. "type": "integer"
  19881. },
  19882. "userinfotype": {
  19883. "description": "用户信息类型 - 1:个人 2:企业",
  19884. "type": "integer"
  19885. },
  19886. "username": {
  19887. "description": "用户姓名",
  19888. "type": "string"
  19889. },
  19890. "userstate": {
  19891. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  19892. "type": "integer"
  19893. },
  19894. "usertype": {
  19895. "description": "用户类型 - 1:投资者 2:机构",
  19896. "type": "integer"
  19897. },
  19898. "videourl": {
  19899. "description": "视频地址",
  19900. "type": "string"
  19901. },
  19902. "wechat": {
  19903. "description": "微信号 (加密存储)",
  19904. "type": "string"
  19905. }
  19906. }
  19907. },
  19908. "erms3.CustomerInfo": {
  19909. "type": "object",
  19910. "required": [
  19911. "userid"
  19912. ],
  19913. "properties": {
  19914. "accountids": {
  19915. "description": "资金账户ID列表",
  19916. "type": "array",
  19917. "items": {
  19918. "type": "integer"
  19919. }
  19920. },
  19921. "customername": {
  19922. "description": "名称(企业名称)",
  19923. "type": "string"
  19924. },
  19925. "mobile": {
  19926. "description": "手机号码",
  19927. "type": "string"
  19928. },
  19929. "userid": {
  19930. "description": "用户ID",
  19931. "type": "integer"
  19932. }
  19933. }
  19934. },
  19935. "erms3.ModifyUserInfoApplyReq": {
  19936. "type": "object",
  19937. "required": [
  19938. "userid"
  19939. ],
  19940. "properties": {
  19941. "accountid": {
  19942. "description": "交易系统帐号Id (加密存储)",
  19943. "type": "integer"
  19944. },
  19945. "areacode": {
  19946. "description": "机构代码",
  19947. "type": "string"
  19948. },
  19949. "areaid": {
  19950. "description": "机构Id",
  19951. "type": "integer"
  19952. },
  19953. "attachment1": {
  19954. "description": "附件1",
  19955. "type": "string"
  19956. },
  19957. "attachment2": {
  19958. "description": "附件2",
  19959. "type": "string"
  19960. },
  19961. "attachment3": {
  19962. "description": "附件3",
  19963. "type": "string"
  19964. },
  19965. "attachment4": {
  19966. "description": "附件4",
  19967. "type": "string"
  19968. },
  19969. "attachment5": {
  19970. "description": "附件5",
  19971. "type": "string"
  19972. },
  19973. "auditedby": {
  19974. "description": "审核人",
  19975. "type": "string"
  19976. },
  19977. "auditime": {
  19978. "description": "审核时间",
  19979. "type": "string"
  19980. },
  19981. "auditsrc": {
  19982. "description": "审核来源 - 1:管理端 2:终端",
  19983. "type": "integer"
  19984. },
  19985. "bankaccount": {
  19986. "description": "银行帐号 (加密存储)",
  19987. "type": "string"
  19988. },
  19989. "bankaccountname": {
  19990. "description": "收款人名称",
  19991. "type": "string"
  19992. },
  19993. "bankcardbackphotourl": {
  19994. "description": "银行卡背面照地址",
  19995. "type": "string"
  19996. },
  19997. "bankcardfrontphotourl": {
  19998. "description": "银行卡正面照地址",
  19999. "type": "string"
  20000. },
  20001. "bankid": {
  20002. "description": "银行编码",
  20003. "type": "string"
  20004. },
  20005. "bankname": {
  20006. "description": "银行名称",
  20007. "type": "string"
  20008. },
  20009. "bankpictureurl": {
  20010. "description": "银行卡正面地址",
  20011. "type": "string"
  20012. },
  20013. "biznature": {
  20014. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  20015. "type": "integer"
  20016. },
  20017. "bizscope": {
  20018. "description": "企业经营范围(企业)",
  20019. "type": "string"
  20020. },
  20021. "biztype": {
  20022. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  20023. "type": "integer"
  20024. },
  20025. "brokerid": {
  20026. "description": "经纪人ID(加密存储)",
  20027. "type": "string"
  20028. },
  20029. "cardaddress": {
  20030. "description": "证件地址 (加密存储)",
  20031. "type": "string"
  20032. },
  20033. "cardbackphotourl": {
  20034. "description": "背面证件照地址",
  20035. "type": "string"
  20036. },
  20037. "cardfrontphotourl": {
  20038. "description": "正面证件照地址",
  20039. "type": "string"
  20040. },
  20041. "cardnum": {
  20042. "description": "证件号码 (加密存储)",
  20043. "type": "string"
  20044. },
  20045. "cardtype": {
  20046. "description": "证件类型",
  20047. "type": "integer"
  20048. },
  20049. "cityid": {
  20050. "description": "市",
  20051. "type": "integer"
  20052. },
  20053. "company": {
  20054. "description": "公司(个人)",
  20055. "type": "string"
  20056. },
  20057. "contactcardbackphotourl": {
  20058. "description": "联系人证件背面图片地址",
  20059. "type": "string"
  20060. },
  20061. "contactcardfrontphotourl": {
  20062. "description": "联系人证件正面图片地址",
  20063. "type": "string"
  20064. },
  20065. "contactname": {
  20066. "description": "联系人",
  20067. "type": "string"
  20068. },
  20069. "countryid": {
  20070. "description": "国家",
  20071. "type": "integer"
  20072. },
  20073. "createtime": {
  20074. "description": "开户申请时间",
  20075. "type": "string"
  20076. },
  20077. "cusbankid": {
  20078. "description": "签约类型",
  20079. "type": "string"
  20080. },
  20081. "cusbankname": {
  20082. "description": "签约类型名称",
  20083. "type": "string"
  20084. },
  20085. "customername": {
  20086. "description": "客户名称(企业名称)",
  20087. "type": "string"
  20088. },
  20089. "districtid": {
  20090. "description": "地区",
  20091. "type": "integer"
  20092. },
  20093. "email": {
  20094. "description": "Email地址(加密存储)",
  20095. "type": "string"
  20096. },
  20097. "halfbodyphotourl": {
  20098. "description": "半身照地址",
  20099. "type": "string"
  20100. },
  20101. "headurl": {
  20102. "description": "头像地址",
  20103. "type": "string"
  20104. },
  20105. "ipaddress": {
  20106. "description": "IP地址",
  20107. "type": "string"
  20108. },
  20109. "isvalidate": {
  20110. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  20111. "type": "string"
  20112. },
  20113. "legalcardbackphotourl": {
  20114. "description": "法人身份证背面照地址",
  20115. "type": "string"
  20116. },
  20117. "legalcardfrontphotourl": {
  20118. "description": "法人身份证正面照地址",
  20119. "type": "string"
  20120. },
  20121. "legalpersonname": {
  20122. "description": "法人姓名(企业)",
  20123. "type": "string"
  20124. },
  20125. "logincode": {
  20126. "description": "登录帐号 (加密存储)",
  20127. "type": "string"
  20128. },
  20129. "memberareaid": {
  20130. "description": "所属会员ID",
  20131. "type": "integer"
  20132. },
  20133. "mobile2": {
  20134. "description": "手机号码[明文-尚志]",
  20135. "type": "string"
  20136. },
  20137. "mobilephone": {
  20138. "description": "手机号码 (加密存储)",
  20139. "type": "string"
  20140. },
  20141. "modifiedby": {
  20142. "description": "修改人帐号",
  20143. "type": "integer"
  20144. },
  20145. "modifiedtime": {
  20146. "description": "修改时间",
  20147. "type": "string"
  20148. },
  20149. "nickname": {
  20150. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  20151. "type": "string"
  20152. },
  20153. "openmode": {
  20154. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  20155. "type": "integer"
  20156. },
  20157. "otherurl": {
  20158. "description": "其它图片地址[使用分号分隔]",
  20159. "type": "string"
  20160. },
  20161. "postalcode": {
  20162. "description": "邮政编码",
  20163. "type": "string"
  20164. },
  20165. "provinceid": {
  20166. "description": "省",
  20167. "type": "integer"
  20168. },
  20169. "proxystatementurl": {
  20170. "description": "授权委托书",
  20171. "type": "string"
  20172. },
  20173. "qq": {
  20174. "description": "QQ(加密存储",
  20175. "type": "string"
  20176. },
  20177. "referral": {
  20178. "description": "推荐人编码",
  20179. "type": "string"
  20180. },
  20181. "remark": {
  20182. "description": "备注",
  20183. "type": "string"
  20184. },
  20185. "removebeforestatus": {
  20186. "description": "REMOVEBEFORESTATUS",
  20187. "type": "integer"
  20188. },
  20189. "sex": {
  20190. "description": "性别 - 0:女 1:男",
  20191. "type": "integer"
  20192. },
  20193. "signedstatus": {
  20194. "description": "账户一号签签约状态",
  20195. "type": "integer"
  20196. },
  20197. "signpdfurl": {
  20198. "description": "签约pdf文件",
  20199. "type": "string"
  20200. },
  20201. "subbranch": {
  20202. "description": "开户支行",
  20203. "type": "string"
  20204. },
  20205. "taxpayernum": {
  20206. "description": "纳税人识别号",
  20207. "type": "string"
  20208. },
  20209. "telphone": {
  20210. "description": "联系电话(加密存储)",
  20211. "type": "string"
  20212. },
  20213. "userid": {
  20214. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  20215. "type": "integer"
  20216. },
  20217. "userinfotype": {
  20218. "description": "用户信息类型 - 1:个人 2:企业",
  20219. "type": "integer"
  20220. },
  20221. "username": {
  20222. "description": "用户姓名",
  20223. "type": "string"
  20224. },
  20225. "userstate": {
  20226. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  20227. "type": "integer"
  20228. },
  20229. "usertype": {
  20230. "description": "用户类型 - 1:投资者 2:机构",
  20231. "type": "integer"
  20232. },
  20233. "videourl": {
  20234. "description": "视频地址",
  20235. "type": "string"
  20236. },
  20237. "wechat": {
  20238. "description": "微信号 (加密存储)",
  20239. "type": "string"
  20240. }
  20241. }
  20242. },
  20243. "erms3.QryAuditContractRsp": {
  20244. "type": "object",
  20245. "required": [
  20246. "matchcustomername",
  20247. "spotcontractid"
  20248. ],
  20249. "properties": {
  20250. "accountid": {
  20251. "description": "交易员ID",
  20252. "type": "string"
  20253. },
  20254. "applystatus": {
  20255. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  20256. "type": "integer"
  20257. },
  20258. "curdeliveryqty": {
  20259. "description": "未交收量",
  20260. "type": "integer"
  20261. },
  20262. "customername": {
  20263. "description": "采购方ID",
  20264. "type": "string"
  20265. },
  20266. "deliverygoodsid": {
  20267. "description": "品种ID",
  20268. "type": "string"
  20269. },
  20270. "deliveryqty": {
  20271. "description": "交收量",
  20272. "type": "integer"
  20273. },
  20274. "enumdicname": {
  20275. "description": "单位名称",
  20276. "type": "string"
  20277. },
  20278. "matchaccountid": {
  20279. "description": "业务员ID",
  20280. "type": "string"
  20281. },
  20282. "matchcustomername": {
  20283. "description": "销售方ID",
  20284. "type": "string"
  20285. },
  20286. "pricedqty": {
  20287. "description": "定价量",
  20288. "type": "number"
  20289. },
  20290. "signdate": {
  20291. "description": "签订日期",
  20292. "type": "string"
  20293. },
  20294. "spotcontractid": {
  20295. "description": "合同ID",
  20296. "type": "string"
  20297. },
  20298. "totaldqty": {
  20299. "description": "合同量",
  20300. "type": "number"
  20301. },
  20302. "unpricedqty": {
  20303. "description": "未定价量",
  20304. "type": "number"
  20305. },
  20306. "wrstandardname": {
  20307. "description": "商品名称",
  20308. "type": "string"
  20309. }
  20310. }
  20311. },
  20312. "erms3.QryPendingBizRsp": {
  20313. "type": "object",
  20314. "properties": {
  20315. "accountid": {
  20316. "description": "现货账户",
  20317. "type": "string"
  20318. },
  20319. "areaname": {
  20320. "description": "所属部门",
  20321. "type": "string"
  20322. },
  20323. "bizid": {
  20324. "description": "业务ID",
  20325. "type": "string"
  20326. },
  20327. "bizname": {
  20328. "description": "业务名称",
  20329. "type": "string"
  20330. },
  20331. "status": {
  20332. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  20333. "type": "integer"
  20334. },
  20335. "type": {
  20336. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  20337. "type": "integer"
  20338. }
  20339. }
  20340. },
  20341. "erms3.QueryBusinessInfoRsp": {
  20342. "type": "object",
  20343. "properties": {
  20344. "businessid": {
  20345. "description": "业务ID.",
  20346. "type": "integer"
  20347. },
  20348. "buyamount": {
  20349. "description": "采购额.",
  20350. "type": "number"
  20351. },
  20352. "buyqty": {
  20353. "description": "采购量.",
  20354. "type": "string"
  20355. },
  20356. "futurepl": {
  20357. "description": "期货盈亏.",
  20358. "type": "number"
  20359. },
  20360. "futureqty": {
  20361. "description": "期货敞口.",
  20362. "type": "string"
  20363. },
  20364. "goodsid": {
  20365. "description": "商品名称/商品代码.",
  20366. "type": "string"
  20367. },
  20368. "hedgingqty": {
  20369. "description": "套保量.",
  20370. "type": "string"
  20371. },
  20372. "sellamount": {
  20373. "description": "销售额.",
  20374. "type": "number"
  20375. },
  20376. "sellqty": {
  20377. "description": "销售量.",
  20378. "type": "string"
  20379. },
  20380. "spotmarketvalue": {
  20381. "description": "现货市值.",
  20382. "type": "number"
  20383. },
  20384. "spotpl": {
  20385. "description": "浮动权益.",
  20386. "type": "number"
  20387. },
  20388. "spotqty": {
  20389. "description": "现货量.",
  20390. "type": "string"
  20391. },
  20392. "statu": {
  20393. "description": "状态,0-未结束 1-已结束.",
  20394. "type": "integer"
  20395. },
  20396. "totalpl": {
  20397. "description": "总盈亏.",
  20398. "type": "number"
  20399. },
  20400. "totalqty": {
  20401. "description": "总敞口.",
  20402. "type": "string"
  20403. },
  20404. "type": {
  20405. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  20406. "type": "integer"
  20407. }
  20408. }
  20409. },
  20410. "erms3.QuerySpotContractAppleFormRsp": {
  20411. "type": "object",
  20412. "properties": {
  20413. "goodses": {
  20414. "description": "合约列表",
  20415. "type": "array",
  20416. "items": {
  20417. "$ref": "#/definitions/models.GoodsIDAndName"
  20418. }
  20419. },
  20420. "oppositeusers": {
  20421. "description": "对方账号列表",
  20422. "type": "array",
  20423. "items": {
  20424. "$ref": "#/definitions/erms3.CustomerInfo"
  20425. }
  20426. },
  20427. "ouruser": {
  20428. "description": "我方账号",
  20429. "$ref": "#/definitions/erms3.CustomerInfo"
  20430. },
  20431. "warehouseinfos": {
  20432. "description": "仓库信息列表",
  20433. "type": "array",
  20434. "items": {
  20435. "$ref": "#/definitions/models.Warehouseinfo"
  20436. }
  20437. },
  20438. "wrstandards": {
  20439. "description": "仓单标准列表",
  20440. "type": "array",
  20441. "items": {
  20442. "$ref": "#/definitions/models.WRStandardInfo"
  20443. }
  20444. }
  20445. }
  20446. },
  20447. "erms3.QuerySpotContractInfoRsp": {
  20448. "type": "object",
  20449. "properties": {
  20450. "accountid": {
  20451. "description": "表示交易员ID.",
  20452. "type": "integer"
  20453. },
  20454. "curdeliveryqty": {
  20455. "description": "表示未交收量.",
  20456. "type": "number"
  20457. },
  20458. "customername": {
  20459. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  20460. "type": "string"
  20461. },
  20462. "deliverygoodsid": {
  20463. "description": "表示品种ID.",
  20464. "type": "string"
  20465. },
  20466. "deliveryqty": {
  20467. "description": "表示交收量.",
  20468. "type": "number"
  20469. },
  20470. "matchaccountid": {
  20471. "description": "表示业务员ID.",
  20472. "type": "integer"
  20473. },
  20474. "matchcustomername": {
  20475. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  20476. "type": "string"
  20477. },
  20478. "priceqty": {
  20479. "description": "表示定价量.",
  20480. "type": "number"
  20481. },
  20482. "relatedbizid": {
  20483. "description": "表示业务ID.",
  20484. "type": "string"
  20485. },
  20486. "signdate": {
  20487. "description": "表示签订日期.",
  20488. "type": "string"
  20489. },
  20490. "spotcontractid": {
  20491. "description": "合同ID",
  20492. "type": "string"
  20493. },
  20494. "status": {
  20495. "description": "表示状态,0-履约中 1-已完成.",
  20496. "type": "integer"
  20497. },
  20498. "totalqty": {
  20499. "description": "表示合同量.",
  20500. "type": "number"
  20501. },
  20502. "unpricedqty": {
  20503. "description": "表示未定价量.",
  20504. "type": "number"
  20505. },
  20506. "wrstandardname": {
  20507. "description": "表示商品ID.",
  20508. "type": "string"
  20509. }
  20510. }
  20511. },
  20512. "erms3.QueryUserInfoAppliesRsp": {
  20513. "type": "object",
  20514. "required": [
  20515. "userid"
  20516. ],
  20517. "properties": {
  20518. "biznature": {
  20519. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  20520. "type": "integer"
  20521. },
  20522. "contactname": {
  20523. "description": "联系人",
  20524. "type": "string"
  20525. },
  20526. "createtime": {
  20527. "description": "开户申请时间",
  20528. "type": "string"
  20529. },
  20530. "userid": {
  20531. "description": "用户ID(自增ID)",
  20532. "type": "integer"
  20533. },
  20534. "userinfotype": {
  20535. "description": "用户信息类型 - 1:个人 2:企业",
  20536. "type": "integer"
  20537. },
  20538. "username": {
  20539. "description": "用户姓名",
  20540. "type": "string"
  20541. },
  20542. "userstate": {
  20543. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  20544. "type": "integer"
  20545. }
  20546. }
  20547. },
  20548. "erms3.QueryUserInfosRsp": {
  20549. "type": "object",
  20550. "required": [
  20551. "userid"
  20552. ],
  20553. "properties": {
  20554. "biznature": {
  20555. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  20556. "type": "integer"
  20557. },
  20558. "contactname": {
  20559. "description": "联系人",
  20560. "type": "string"
  20561. },
  20562. "customername": {
  20563. "description": "客户名称(企业名称)",
  20564. "type": "string"
  20565. },
  20566. "userid": {
  20567. "description": "用户ID",
  20568. "type": "integer"
  20569. },
  20570. "userinfotype": {
  20571. "description": "用户信息类型 - 1:个人 2:企业",
  20572. "type": "integer"
  20573. },
  20574. "userstatus": {
  20575. "description": "用户状态 - 1:正常 2:注销",
  20576. "type": "integer"
  20577. }
  20578. }
  20579. },
  20580. "erms3.SoptContractDetail": {
  20581. "type": "object",
  20582. "required": [
  20583. "deliverygoodsid",
  20584. "producttype",
  20585. "unitname",
  20586. "warehouseid",
  20587. "wrstandardid",
  20588. "wrstandardname"
  20589. ],
  20590. "properties": {
  20591. "deliverygoodsdesc": {
  20592. "description": "现货品种说明",
  20593. "type": "string"
  20594. },
  20595. "deliverygoodsid": {
  20596. "description": "现货品种ID",
  20597. "type": "integer"
  20598. },
  20599. "deliverygoodsname": {
  20600. "description": "现货品种名称",
  20601. "type": "string"
  20602. },
  20603. "pointdesc": {
  20604. "description": "点价描述",
  20605. "type": "string"
  20606. },
  20607. "producttype": {
  20608. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  20609. "type": "integer"
  20610. },
  20611. "producttypename": {
  20612. "description": "产品类型名称",
  20613. "type": "string"
  20614. },
  20615. "spotPointOrderVoList": {
  20616. "description": "点价列表",
  20617. "type": "array",
  20618. "items": {
  20619. "$ref": "#/definitions/erms3.SpotPointOrder"
  20620. }
  20621. },
  20622. "spotPriceOrderList": {
  20623. "description": "定价列表",
  20624. "type": "array",
  20625. "items": {
  20626. "$ref": "#/definitions/erms3.SpotPriceOrder"
  20627. }
  20628. },
  20629. "unitname": {
  20630. "description": "单位名称",
  20631. "type": "string"
  20632. },
  20633. "warehouseid": {
  20634. "description": "仓库ID",
  20635. "type": "integer"
  20636. },
  20637. "warehousename": {
  20638. "description": "仓库名称",
  20639. "type": "string"
  20640. },
  20641. "wrstandardid": {
  20642. "description": "交易标的ID",
  20643. "type": "integer"
  20644. },
  20645. "wrstandardname": {
  20646. "description": "交易标的名称",
  20647. "type": "string"
  20648. }
  20649. }
  20650. },
  20651. "erms3.SpotPointOrder": {
  20652. "type": "object",
  20653. "required": [
  20654. "basic",
  20655. "goodsid",
  20656. "qty"
  20657. ],
  20658. "properties": {
  20659. "basic": {
  20660. "description": "基差",
  20661. "type": "number"
  20662. },
  20663. "deliveryenddate": {
  20664. "description": "交收结束日期",
  20665. "type": "string"
  20666. },
  20667. "deliverystartdate": {
  20668. "description": "交收开始日期",
  20669. "type": "string"
  20670. },
  20671. "enddate": {
  20672. "description": "点价结束日期",
  20673. "type": "string"
  20674. },
  20675. "goodsid": {
  20676. "description": "商品ID",
  20677. "type": "integer"
  20678. },
  20679. "goodsname": {
  20680. "description": "商品名称",
  20681. "type": "string"
  20682. },
  20683. "qty": {
  20684. "description": "数量",
  20685. "type": "number"
  20686. },
  20687. "startdate": {
  20688. "description": "点价开始日期",
  20689. "type": "string"
  20690. }
  20691. }
  20692. },
  20693. "erms3.SpotPriceOrder": {
  20694. "type": "object",
  20695. "required": [
  20696. "amount",
  20697. "price",
  20698. "qty"
  20699. ],
  20700. "properties": {
  20701. "amount": {
  20702. "description": "金额",
  20703. "type": "number"
  20704. },
  20705. "deliveryenddate": {
  20706. "description": "交收结束日期",
  20707. "type": "string"
  20708. },
  20709. "deliverystartdate": {
  20710. "description": "交收开始日期",
  20711. "type": "string"
  20712. },
  20713. "price": {
  20714. "description": "价格",
  20715. "type": "number"
  20716. },
  20717. "qty": {
  20718. "description": "数量",
  20719. "type": "number"
  20720. }
  20721. }
  20722. },
  20723. "hsby.GetHsbyMyCountRsp": {
  20724. "type": "object",
  20725. "properties": {
  20726. "myCouponCount": {
  20727. "description": "我的优惠卷数量",
  20728. "type": "integer"
  20729. },
  20730. "myOrderDetailListingCount": {
  20731. "description": "我的订单求购中数量",
  20732. "type": "integer"
  20733. },
  20734. "myOrderDetailPreCount": {
  20735. "description": "我的订单抢购中数量",
  20736. "type": "integer"
  20737. },
  20738. "myPackageUnReceiveCount": {
  20739. "description": "我的包裹待收货数量",
  20740. "type": "integer"
  20741. },
  20742. "myPackageUnSendCount": {
  20743. "description": "我的包裹待发货数量",
  20744. "type": "integer"
  20745. },
  20746. "myPayOrderCount": {
  20747. "description": "我的订单待付款数量",
  20748. "type": "integer"
  20749. }
  20750. }
  20751. },
  20752. "hsby.QueryProvincesAndCitiesRsp": {
  20753. "type": "object",
  20754. "properties": {
  20755. "cities": {
  20756. "description": "市",
  20757. "type": "array",
  20758. "items": {
  20759. "$ref": "#/definitions/models.Division"
  20760. }
  20761. },
  20762. "province": {
  20763. "description": "省",
  20764. "$ref": "#/definitions/models.Division"
  20765. }
  20766. }
  20767. },
  20768. "models.Arearole": {
  20769. "type": "object",
  20770. "required": [
  20771. "roletype",
  20772. "userid"
  20773. ],
  20774. "properties": {
  20775. "createtime": {
  20776. "description": "创建时间",
  20777. "type": "string"
  20778. },
  20779. "creatorid": {
  20780. "description": "创建人ID",
  20781. "type": "integer"
  20782. },
  20783. "fromuserid": {
  20784. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  20785. "type": "integer"
  20786. },
  20787. "isreturnscore": {
  20788. "description": "是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还",
  20789. "type": "integer"
  20790. },
  20791. "modifierid": {
  20792. "description": "修改人ID",
  20793. "type": "integer"
  20794. },
  20795. "modifytime": {
  20796. "description": "修改时间",
  20797. "type": "string"
  20798. },
  20799. "orgtype": {
  20800. "description": "组织机构类型 1:机构\\分支节点 2:交易员\\叶子节点 3:部门\\分支节点",
  20801. "type": "integer"
  20802. },
  20803. "outuserid": {
  20804. "description": "外部账户[场外期权做市商]",
  20805. "type": "string"
  20806. },
  20807. "parentuserid": {
  20808. "description": "上级组织机构(组织机构)",
  20809. "type": "integer"
  20810. },
  20811. "roletype": {
  20812. "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:门店",
  20813. "type": "integer"
  20814. },
  20815. "rootuserid": {
  20816. "description": "顶级组织机构用户ID(组织机构)",
  20817. "type": "integer"
  20818. },
  20819. "shoppassword": {
  20820. "description": "商城店铺登陆密码(商城店铺角色使用)",
  20821. "type": "string"
  20822. },
  20823. "sublevelpath": {
  20824. "description": "组织机构层级路径(逗号分隔,首尾加逗号)",
  20825. "type": "string"
  20826. },
  20827. "suborgtype": {
  20828. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  20829. "type": "integer"
  20830. },
  20831. "tradeaccountid": {
  20832. "description": "默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount",
  20833. "type": "integer"
  20834. },
  20835. "transurl": {
  20836. "description": "物流地址(物流机构)",
  20837. "type": "string"
  20838. },
  20839. "userid": {
  20840. "description": "机构用户ID其他做市关系,都设置为 1",
  20841. "type": "integer"
  20842. }
  20843. }
  20844. },
  20845. "models.Clientfixedadconfig": {
  20846. "type": "object",
  20847. "required": [
  20848. "adsort",
  20849. "adtype"
  20850. ],
  20851. "properties": {
  20852. "adsort": {
  20853. "description": "排序",
  20854. "type": "integer"
  20855. },
  20856. "adtype": {
  20857. "description": "广告位类型 - 1:新品抢购(HSBY)",
  20858. "type": "integer"
  20859. },
  20860. "areauserid": {
  20861. "description": "所属机构ID",
  20862. "type": "integer"
  20863. },
  20864. "createdate": {
  20865. "description": "创建时间",
  20866. "type": "string"
  20867. },
  20868. "creatorid": {
  20869. "description": "创建人",
  20870. "type": "integer"
  20871. },
  20872. "imagepath": {
  20873. "description": "图片",
  20874. "type": "string"
  20875. },
  20876. "isshow": {
  20877. "description": "是否展示 - 0:不展示 1:展示",
  20878. "type": "integer"
  20879. },
  20880. "modifierid": {
  20881. "description": "操作人",
  20882. "type": "integer"
  20883. },
  20884. "recsize": {
  20885. "description": "推荐尺寸",
  20886. "type": "string"
  20887. },
  20888. "title": {
  20889. "description": "标题",
  20890. "type": "string"
  20891. },
  20892. "updatedate": {
  20893. "description": "更新时间",
  20894. "type": "string"
  20895. },
  20896. "urlcontent": {
  20897. "description": "链接(地址或商品ID)",
  20898. "type": "string"
  20899. },
  20900. "urltype": {
  20901. "description": "链接类型 - 1:直接地址 2:商品ID",
  20902. "type": "integer"
  20903. }
  20904. }
  20905. },
  20906. "models.DgFactoryItem": {
  20907. "type": "object",
  20908. "properties": {
  20909. "dgfactoryitemid": {
  20910. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  20911. "type": "integer"
  20912. },
  20913. "dgfactoryitemtypeid": {
  20914. "description": "要素项类型",
  20915. "type": "integer"
  20916. },
  20917. "dgfactoryitemvalue": {
  20918. "description": "要素项值(类型为仓库时填写仓库名称)",
  20919. "type": "string"
  20920. },
  20921. "orderindex": {
  20922. "description": "顺序",
  20923. "type": "integer"
  20924. }
  20925. }
  20926. },
  20927. "models.Division": {
  20928. "type": "object",
  20929. "required": [
  20930. "autoid",
  20931. "divisioncode"
  20932. ],
  20933. "properties": {
  20934. "autoid": {
  20935. "description": "自增ID",
  20936. "type": "integer"
  20937. },
  20938. "divisioncode": {
  20939. "description": "行政代码",
  20940. "type": "string"
  20941. },
  20942. "divisionlevel": {
  20943. "description": "行政级别",
  20944. "type": "string"
  20945. },
  20946. "divisionname": {
  20947. "description": "行政名称",
  20948. "type": "string"
  20949. },
  20950. "modifierid": {
  20951. "description": "修改人",
  20952. "type": "integer"
  20953. },
  20954. "modifytime": {
  20955. "description": "修改时间",
  20956. "type": "string"
  20957. },
  20958. "parentcode": {
  20959. "description": "上级行政代码",
  20960. "type": "string"
  20961. },
  20962. "pathname": {
  20963. "description": "路径名称",
  20964. "type": "string"
  20965. },
  20966. "postcode": {
  20967. "description": "邮政编码",
  20968. "type": "string"
  20969. },
  20970. "separablename": {
  20971. "description": "可拆分的全称",
  20972. "type": "string"
  20973. },
  20974. "shortcode": {
  20975. "description": "地区简码",
  20976. "type": "string"
  20977. }
  20978. }
  20979. },
  20980. "models.Enumdicitem": {
  20981. "type": "object",
  20982. "required": [
  20983. "autoid",
  20984. "enumdiccode",
  20985. "enumdicid",
  20986. "enumitemname"
  20987. ],
  20988. "properties": {
  20989. "autoid": {
  20990. "description": "自增ID",
  20991. "type": "integer"
  20992. },
  20993. "bankmappedvalue": {
  20994. "description": "银行服务对应值",
  20995. "type": "string"
  20996. },
  20997. "enumdiccode": {
  20998. "description": "所属枚举代码",
  20999. "type": "string"
  21000. },
  21001. "enumdicid": {
  21002. "description": "所属枚举ID",
  21003. "type": "integer"
  21004. },
  21005. "enumdicname": {
  21006. "description": "枚举项名称",
  21007. "type": "string"
  21008. },
  21009. "enumitemname": {
  21010. "description": "枚举项值",
  21011. "type": "integer"
  21012. },
  21013. "enumitemstatus": {
  21014. "description": "枚举项状态 - 1.启用 2.不启用",
  21015. "type": "integer"
  21016. },
  21017. "enumitemvalue": {
  21018. "description": "通用值 - [币种通用简写]",
  21019. "type": "string"
  21020. },
  21021. "param1": {
  21022. "description": "参数1[币种:币种小数位]",
  21023. "type": "string"
  21024. },
  21025. "param2": {
  21026. "description": "参数1[币种:币种显示单位]",
  21027. "type": "string"
  21028. },
  21029. "remark": {
  21030. "description": "备注",
  21031. "type": "string"
  21032. }
  21033. }
  21034. },
  21035. "models.Ermcp2AreaExposure": {
  21036. "type": "object",
  21037. "properties": {
  21038. "areauserid": {
  21039. "description": "所属机构",
  21040. "type": "integer"
  21041. },
  21042. "enumdicname": {
  21043. "description": "单位",
  21044. "type": "string"
  21045. },
  21046. "futureqty": {
  21047. "description": "期货套期量",
  21048. "type": "number"
  21049. },
  21050. "futureqtychange": {
  21051. "description": "期货变动量 = FutureQty - OriFutureQty",
  21052. "type": "number"
  21053. },
  21054. "goodsunitid": {
  21055. "description": "单位ID",
  21056. "type": "integer"
  21057. },
  21058. "hedgedspotexposure": {
  21059. "description": "被套期现货敞口量",
  21060. "type": "number"
  21061. },
  21062. "hedgedspratio": {
  21063. "description": "套期期现比例 = 期货套期量/被套期现货敞口量",
  21064. "type": "number"
  21065. },
  21066. "hedgedtotalexposourechange": {
  21067. "description": "被套期敞口变动量 = HedgedTotalExposure - OriHedgedTotalExposure",
  21068. "type": "number"
  21069. },
  21070. "hedgedtotalexposure": {
  21071. "description": "套期敞口量 = 被套期现货敞口量+期货套期量",
  21072. "type": "number"
  21073. },
  21074. "hedgeplanqty": {
  21075. "description": "套期计划量",
  21076. "type": "number"
  21077. },
  21078. "hedgeplanqtychange": {
  21079. "description": "计划变动量 = HedgePlanQty - OriHedgePlanQty",
  21080. "type": "number"
  21081. },
  21082. "hedgespotqty": {
  21083. "description": "被套期现货量",
  21084. "type": "number"
  21085. },
  21086. "middlegoodsid": {
  21087. "description": "套保品种",
  21088. "type": "integer"
  21089. },
  21090. "middlegoodsname": {
  21091. "description": "套保品种名称",
  21092. "type": "string"
  21093. },
  21094. "orifutureqty": {
  21095. "description": "期初期货套期量",
  21096. "type": "number"
  21097. },
  21098. "orihedgedspotexposure": {
  21099. "description": "期初被套期现货敞口量",
  21100. "type": "number"
  21101. },
  21102. "orihedgedtotalexposure": {
  21103. "description": "期初套期敞口量",
  21104. "type": "number"
  21105. },
  21106. "orihedgeplanqty": {
  21107. "description": "期初套期计划量",
  21108. "type": "number"
  21109. },
  21110. "orihedgespotqty": {
  21111. "description": "期初被套期现货量",
  21112. "type": "number"
  21113. },
  21114. "orispotexposure": {
  21115. "description": "期初现货敞口量",
  21116. "type": "number"
  21117. },
  21118. "orispotqty": {
  21119. "description": "期初现货总量",
  21120. "type": "number"
  21121. },
  21122. "oritotalexposure": {
  21123. "description": "期初总敞口量",
  21124. "type": "number"
  21125. },
  21126. "spotexposure": {
  21127. "description": "现货敞口量",
  21128. "type": "number"
  21129. },
  21130. "spotqty": {
  21131. "description": "现货总量",
  21132. "type": "number"
  21133. },
  21134. "spotqtychange": {
  21135. "description": "现货变动量 = SpotQty - OriSpotQty",
  21136. "type": "number"
  21137. },
  21138. "spratio": {
  21139. "description": "总期现比例 = 期货套期量/现货敞口量",
  21140. "type": "number"
  21141. },
  21142. "totalexposure": {
  21143. "description": "总敞口量 = 现货敞口量 + 期货套期量",
  21144. "type": "number"
  21145. },
  21146. "totalexposurechange": {
  21147. "description": "总敞口变动量 = TotalExposure - OriTotalExposure",
  21148. "type": "number"
  21149. },
  21150. "updatetime": {
  21151. "description": "更新时间 --DATE",
  21152. "type": "string"
  21153. }
  21154. }
  21155. },
  21156. "models.Ermcp2hedgeditem": {
  21157. "type": "object",
  21158. "properties": {
  21159. "accountname": {
  21160. "description": "套期主体",
  21161. "type": "string"
  21162. },
  21163. "applyid": {
  21164. "description": "申请人",
  21165. "type": "integer"
  21166. },
  21167. "applysrc": {
  21168. "description": "申请来源 - 1:管理端 2:终端",
  21169. "type": "integer"
  21170. },
  21171. "areauserid": {
  21172. "description": "企业ID",
  21173. "type": "integer"
  21174. },
  21175. "auditid": {
  21176. "description": "审核人",
  21177. "type": "integer"
  21178. },
  21179. "auditremark": {
  21180. "description": "审核备注",
  21181. "type": "string"
  21182. },
  21183. "auditsrc": {
  21184. "description": "审核来源 - 1:管理端 2:终端",
  21185. "type": "integer"
  21186. },
  21187. "audittime": {
  21188. "description": "审核时间",
  21189. "type": "string"
  21190. },
  21191. "audittradedate": {
  21192. "description": "审核交易日(yyyyMMdd)",
  21193. "type": "string"
  21194. },
  21195. "createtime": {
  21196. "description": "申请时间",
  21197. "type": "string"
  21198. },
  21199. "curprice": {
  21200. "description": "当前市场价",
  21201. "type": "number"
  21202. },
  21203. "curstock": {
  21204. "description": "期末库存量 = 采购总量 - 销售总量",
  21205. "type": "number"
  21206. },
  21207. "deliverygoodsid": {
  21208. "description": "现货品种ID",
  21209. "type": "integer"
  21210. },
  21211. "enddate": {
  21212. "description": "完成日期",
  21213. "type": "string"
  21214. },
  21215. "endtradedate": {
  21216. "description": "完成交易日",
  21217. "type": "string"
  21218. },
  21219. "enumdicname": {
  21220. "description": "单位",
  21221. "type": "string"
  21222. },
  21223. "exeamount": {
  21224. "description": "执行市价总额",
  21225. "type": "number"
  21226. },
  21227. "exeavgprice": {
  21228. "description": "执行市场均价= 执行市价总额 / 执行现货量",
  21229. "type": "number"
  21230. },
  21231. "execontractamount": {
  21232. "description": "执行定价总额",
  21233. "type": "number"
  21234. },
  21235. "exeqty": {
  21236. "description": "执行现货量",
  21237. "type": "number"
  21238. },
  21239. "exerestamount": {
  21240. "description": "执行剩余市价总额【现货贸易】",
  21241. "type": "number"
  21242. },
  21243. "futurefloatpl": {
  21244. "description": "期货浮动损益",
  21245. "type": "number"
  21246. },
  21247. "futurehedgepl": {
  21248. "description": "期货实际损益",
  21249. "type": "number"
  21250. },
  21251. "futurehedgeplchange": {
  21252. "description": "期货实际损益变动",
  21253. "type": "number"
  21254. },
  21255. "futurepl": {
  21256. "description": "期货套期损益",
  21257. "type": "number"
  21258. },
  21259. "futureplchange": {
  21260. "description": "期货套期损益变动",
  21261. "type": "number"
  21262. },
  21263. "hedgeamount": {
  21264. "description": "套期市价总额",
  21265. "type": "number"
  21266. },
  21267. "hedgecontractamount": {
  21268. "description": "套期定价总额 【定价采购合同】【现货贸易】",
  21269. "type": "number"
  21270. },
  21271. "hedgeditemid": {
  21272. "description": "被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)",
  21273. "type": "string"
  21274. },
  21275. "hedgeditemname": {
  21276. "description": "项目名称",
  21277. "type": "string"
  21278. },
  21279. "hedgeditemnum": {
  21280. "description": "项目编号",
  21281. "type": "string"
  21282. },
  21283. "hedgeditemstatus": {
  21284. "description": "项目状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  21285. "type": "integer"
  21286. },
  21287. "hedgedtype": {
  21288. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  21289. "type": "integer"
  21290. },
  21291. "hedgeqty": {
  21292. "description": "套期现货量",
  21293. "type": "number"
  21294. },
  21295. "hedgerate": {
  21296. "description": "套保比率",
  21297. "type": "number"
  21298. },
  21299. "hedgerestamount": {
  21300. "description": "套期剩余市价总额【现货贸易】",
  21301. "type": "number"
  21302. },
  21303. "hedgesumpl": {
  21304. "description": "套期汇总损益 = 期货汇总损益 + 现货汇总损益",
  21305. "type": "number"
  21306. },
  21307. "middlegoodslist": {
  21308. "description": "套期商品列表",
  21309. "type": "array",
  21310. "items": {
  21311. "$ref": "#/definitions/models.Ermcp2himiddlegoods"
  21312. }
  21313. },
  21314. "oriavgprice": {
  21315. "description": "期初市场均价 = 套期市价总额 / 套期现货量",
  21316. "type": "number"
  21317. },
  21318. "orifuturehedgepl": {
  21319. "description": "期初期货实际损益",
  21320. "type": "number"
  21321. },
  21322. "orifuturepl": {
  21323. "description": "期初期货套期损益",
  21324. "type": "number"
  21325. },
  21326. "orispothedgepl": {
  21327. "description": "期初现货实际损益",
  21328. "type": "number"
  21329. },
  21330. "orispotpl": {
  21331. "description": "期初现货套期损益",
  21332. "type": "number"
  21333. },
  21334. "planenddate": {
  21335. "description": "计划结束日期",
  21336. "type": "string"
  21337. },
  21338. "planstartdate": {
  21339. "description": "计划开始日期",
  21340. "type": "string"
  21341. },
  21342. "remark": {
  21343. "description": "备注",
  21344. "type": "string"
  21345. },
  21346. "spotbookamount": {
  21347. "description": "现货账面总额",
  21348. "type": "number"
  21349. },
  21350. "spotfloatpl": {
  21351. "description": "现货浮动损益 =(当前市场价 - 期初市场价)*未执行现货量 * 方向(销售计划 为 -1, 其它为1)",
  21352. "type": "number"
  21353. },
  21354. "spothedgepl": {
  21355. "description": "现货套期损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)",
  21356. "type": "number"
  21357. },
  21358. "spothedgeplchange": {
  21359. "description": "现货实际损益变动",
  21360. "type": "number"
  21361. },
  21362. "spotpl": {
  21363. "description": "现货套期损益 = 现货实际损益 + 现货浮动损益",
  21364. "type": "number"
  21365. },
  21366. "spotplchange": {
  21367. "description": "现货套期损益变动",
  21368. "type": "number"
  21369. },
  21370. "spottradepl": {
  21371. "description": "现货贸易损益【现货贸易】= 执行合同定价总额 - 套期合同定价总额",
  21372. "type": "number"
  21373. },
  21374. "sumobspl": {
  21375. "description": "汇总绝对损益【现货贸易】=现货贸易损益+增值税损益+期货套期损益",
  21376. "type": "number"
  21377. },
  21378. "tradeuserid": {
  21379. "description": "交易用户ID",
  21380. "type": "integer"
  21381. },
  21382. "unexeqty": {
  21383. "description": "未执行现货量 = 套期现货量 - 执行现货量",
  21384. "type": "number"
  21385. },
  21386. "updatetime": {
  21387. "description": "更新时间",
  21388. "type": "string"
  21389. },
  21390. "vatpl": {
  21391. "description": "增值税损益【现货贸易】= 现货贸易损益 * (增值税率 /(1+增值税率))",
  21392. "type": "number"
  21393. },
  21394. "vatrate": {
  21395. "description": "增值税",
  21396. "type": "number"
  21397. },
  21398. "wrstandardid": {
  21399. "description": "现货商品ID",
  21400. "type": "integer"
  21401. },
  21402. "wrstandardname": {
  21403. "description": "商品名称",
  21404. "type": "string"
  21405. }
  21406. }
  21407. },
  21408. "models.Ermcp2hedgeditemsDetail": {
  21409. "type": "object",
  21410. "properties": {
  21411. "accountname": {
  21412. "description": "套期主体",
  21413. "type": "string"
  21414. },
  21415. "areauserid": {
  21416. "description": "企业ID",
  21417. "type": "integer"
  21418. },
  21419. "createtime": {
  21420. "description": "[日期时间]创建时间",
  21421. "type": "string"
  21422. },
  21423. "customeruserid": {
  21424. "description": "对手方 【3:采购合同 4:销售合同】",
  21425. "type": "integer"
  21426. },
  21427. "deliverygoodsid": {
  21428. "description": "现货品种ID",
  21429. "type": "integer"
  21430. },
  21431. "enumdicname": {
  21432. "description": "单位",
  21433. "type": "string"
  21434. },
  21435. "hedgeditemid": {
  21436. "description": "被套期项目ID",
  21437. "type": "string"
  21438. },
  21439. "hedgeditemspotid": {
  21440. "description": "现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)",
  21441. "type": "string"
  21442. },
  21443. "hedgedtype": {
  21444. "description": "套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  21445. "type": "integer"
  21446. },
  21447. "hedgeplanno": {
  21448. "description": "计划编号",
  21449. "type": "string"
  21450. },
  21451. "middlegoodschange": {
  21452. "description": "套期商品变化量 = RELATEDQTY * 折算系数 * (1/(1+增值税))",
  21453. "type": "number"
  21454. },
  21455. "oriavgprice": {
  21456. "description": "期初市场价[当初市场价]",
  21457. "type": "number"
  21458. },
  21459. "relatedamount": {
  21460. "description": "市价总额 = 关联数量 * 期初市场价",
  21461. "type": "number"
  21462. },
  21463. "relatedhedgeplanid": {
  21464. "description": "关联计划ID 【1:采购计划 2:销售计划】",
  21465. "type": "integer"
  21466. },
  21467. "relatedqty": {
  21468. "description": "[期间变化量]关联数量",
  21469. "type": "number"
  21470. },
  21471. "relatedspotcontractid": {
  21472. "description": "关联合同ID 【3:采购合同 4:销售合同】",
  21473. "type": "integer"
  21474. },
  21475. "relatedtype": {
  21476. "description": "关联类型 - 1:套期关联 2:执行关联",
  21477. "type": "integer"
  21478. },
  21479. "spotgoodsbrandid": {
  21480. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\" = 2",
  21481. "type": "integer"
  21482. },
  21483. "spotpricedamount": {
  21484. "description": "定价总额",
  21485. "type": "number"
  21486. },
  21487. "spotpricedavgprice": {
  21488. "description": "现货均价 = 定价总额 / 关联数量",
  21489. "type": "number"
  21490. },
  21491. "spottype": {
  21492. "description": "现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货",
  21493. "type": "integer"
  21494. },
  21495. "tradeuserid": {
  21496. "description": "交易用户ID",
  21497. "type": "integer"
  21498. },
  21499. "unexeqty": {
  21500. "description": "未执行现货量 = 套期现货量 - 执行现货量",
  21501. "type": "number"
  21502. },
  21503. "wrstandardid": {
  21504. "description": "现货商品ID",
  21505. "type": "integer"
  21506. },
  21507. "wrstandardname": {
  21508. "description": "现货商品",
  21509. "type": "string"
  21510. }
  21511. }
  21512. },
  21513. "models.Ermcp2hedgeditemspot": {
  21514. "type": "object",
  21515. "required": [
  21516. "hedgeditemid"
  21517. ],
  21518. "properties": {
  21519. "areauserid": {
  21520. "description": "企业ID",
  21521. "type": "integer"
  21522. },
  21523. "createtime": {
  21524. "description": "创建时间",
  21525. "type": "string"
  21526. },
  21527. "customeruserid": {
  21528. "description": "对手方 【3:采购合同 4:销售合同】",
  21529. "type": "integer"
  21530. },
  21531. "deliverygoodsid": {
  21532. "description": "现货品种ID",
  21533. "type": "integer"
  21534. },
  21535. "enumdicname": {
  21536. "description": "单位",
  21537. "type": "string"
  21538. },
  21539. "hedgeditemid": {
  21540. "description": "被套期项目ID",
  21541. "type": "string"
  21542. },
  21543. "hedgeditemspotid": {
  21544. "description": "现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)",
  21545. "type": "string"
  21546. },
  21547. "hedgedtype": {
  21548. "description": "套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  21549. "type": "integer"
  21550. },
  21551. "hedgeplanno": {
  21552. "description": "计划编号",
  21553. "type": "string"
  21554. },
  21555. "oriavgprice": {
  21556. "description": "期初市场价[当初市场价]",
  21557. "type": "number"
  21558. },
  21559. "relatedamount": {
  21560. "description": "市价总额 = 关联数量 * 期初市场价",
  21561. "type": "number"
  21562. },
  21563. "relatedhedgeplanid": {
  21564. "description": "关联计划ID 【1:采购计划 2:销售计划】",
  21565. "type": "integer"
  21566. },
  21567. "relatedqty": {
  21568. "description": "关联数量[数量]",
  21569. "type": "number"
  21570. },
  21571. "relatedspotcontractid": {
  21572. "description": "关联合同ID 【3:采购合同 4:销售合同】",
  21573. "type": "integer"
  21574. },
  21575. "relatedtype": {
  21576. "description": "关联类型 - 1:套期关联 2:执行关联",
  21577. "type": "integer"
  21578. },
  21579. "spotgoodsbrandid": {
  21580. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\" = 2",
  21581. "type": "integer"
  21582. },
  21583. "spotpricedamount": {
  21584. "description": "定价总额",
  21585. "type": "number"
  21586. },
  21587. "spotpricedavgprice": {
  21588. "description": "现货均价 = 定价总额 / 关联数量",
  21589. "type": "number"
  21590. },
  21591. "spottype": {
  21592. "description": "现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货",
  21593. "type": "integer"
  21594. },
  21595. "tradeuserid": {
  21596. "description": "交易用户ID",
  21597. "type": "integer"
  21598. },
  21599. "wrstandardid": {
  21600. "description": "现货商品ID",
  21601. "type": "integer"
  21602. },
  21603. "wrstandardname": {
  21604. "description": "现货商品",
  21605. "type": "string"
  21606. }
  21607. }
  21608. },
  21609. "models.Ermcp2hedgeditemspotDetail": {
  21610. "type": "object",
  21611. "required": [
  21612. "hedgeditemid"
  21613. ],
  21614. "properties": {
  21615. "accountname": {
  21616. "description": "对手方",
  21617. "type": "string"
  21618. },
  21619. "areauserid": {
  21620. "description": "企业ID",
  21621. "type": "integer"
  21622. },
  21623. "brandname": {
  21624. "description": "品牌",
  21625. "type": "string"
  21626. },
  21627. "contractno": {
  21628. "description": "合同编号",
  21629. "type": "string"
  21630. },
  21631. "createtime": {
  21632. "description": "创建时间",
  21633. "type": "string"
  21634. },
  21635. "customeruserid": {
  21636. "description": "对手方 【3:采购合同 4:销售合同】",
  21637. "type": "integer"
  21638. },
  21639. "deliverygoodsid": {
  21640. "description": "现货品种ID",
  21641. "type": "integer"
  21642. },
  21643. "enumdicname": {
  21644. "description": "单位",
  21645. "type": "string"
  21646. },
  21647. "hedgeditemid": {
  21648. "description": "被套期项目ID",
  21649. "type": "string"
  21650. },
  21651. "hedgeditemspotid": {
  21652. "description": "现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)",
  21653. "type": "string"
  21654. },
  21655. "hedgedtype": {
  21656. "description": "套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  21657. "type": "integer"
  21658. },
  21659. "oriavgprice": {
  21660. "description": "期初市场价[当初市场价]",
  21661. "type": "number"
  21662. },
  21663. "relatedamount": {
  21664. "description": "市价总额 = 关联数量 * 期初市场价",
  21665. "type": "number"
  21666. },
  21667. "relatedhedgeplanid": {
  21668. "description": "关联计划ID 【1:采购计划 2:销售计划】",
  21669. "type": "integer"
  21670. },
  21671. "relatedqty": {
  21672. "description": "关联数量[数量]",
  21673. "type": "number"
  21674. },
  21675. "relatedspotcontractid": {
  21676. "description": "关联合同ID 【3:采购合同 4:销售合同】",
  21677. "type": "integer"
  21678. },
  21679. "relatedtype": {
  21680. "description": "关联类型 - 1:套期关联 2:执行关联",
  21681. "type": "integer"
  21682. },
  21683. "spotgoodsbrandid": {
  21684. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\" = 2",
  21685. "type": "integer"
  21686. },
  21687. "spotpricedamount": {
  21688. "description": "定价总额[金额]",
  21689. "type": "number"
  21690. },
  21691. "spotpricedavgprice": {
  21692. "description": "现货均价 = 定价总额 / 关联数量",
  21693. "type": "number"
  21694. },
  21695. "spottype": {
  21696. "description": "现货类型[合同类型] - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货",
  21697. "type": "integer"
  21698. },
  21699. "tradeuserid": {
  21700. "description": "交易用户ID",
  21701. "type": "integer"
  21702. },
  21703. "wrstandardid": {
  21704. "description": "现货商品ID",
  21705. "type": "integer"
  21706. },
  21707. "wrstandardname": {
  21708. "description": "现货商品",
  21709. "type": "string"
  21710. }
  21711. }
  21712. },
  21713. "models.Ermcp2himiddlegoods": {
  21714. "type": "object",
  21715. "required": [
  21716. "hedgeditemid",
  21717. "middlegoodsid"
  21718. ],
  21719. "properties": {
  21720. "futurehedgeqty": {
  21721. "description": "期货持仓套期量",
  21722. "type": "number"
  21723. },
  21724. "hedgeditemid": {
  21725. "description": "被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)",
  21726. "type": "integer"
  21727. },
  21728. "hiexpsoure": {
  21729. "description": "期现敞口量 = 未执行套期量 + 期货持仓套期量",
  21730. "type": "number"
  21731. },
  21732. "middlegoodscode": {
  21733. "description": "套保商品代码",
  21734. "type": "string"
  21735. },
  21736. "middlegoodsid": {
  21737. "description": "套保品种ID",
  21738. "type": "integer"
  21739. },
  21740. "middlegoodsname": {
  21741. "description": "套保商品名称",
  21742. "type": "string"
  21743. },
  21744. "unexehedgeqty": {
  21745. "description": "未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)",
  21746. "type": "number"
  21747. }
  21748. }
  21749. },
  21750. "models.Ermcp2stockspotchangelog": {
  21751. "type": "object",
  21752. "properties": {
  21753. "accountname": {
  21754. "description": "套期主体",
  21755. "type": "string"
  21756. },
  21757. "aftervalue": {
  21758. "description": "现货量",
  21759. "type": "number"
  21760. },
  21761. "beforevalue": {
  21762. "description": "变更前现货量",
  21763. "type": "number"
  21764. },
  21765. "contractno": {
  21766. "description": "[编号]现货合同编号",
  21767. "type": "string"
  21768. },
  21769. "contracttype": {
  21770. "description": "现货合同类型 - 1:采购 -1:销售",
  21771. "type": "integer"
  21772. },
  21773. "createtime": {
  21774. "description": "创建时间",
  21775. "type": "string"
  21776. },
  21777. "customerusername": {
  21778. "description": "对手方",
  21779. "type": "string"
  21780. },
  21781. "deliverygoodsid": {
  21782. "description": "现货品种ID",
  21783. "type": "integer"
  21784. },
  21785. "exetype": {
  21786. "description": "执行类型 - 1:采购合同 2:销售合同 3:生产入库 4:生产出库",
  21787. "type": "integer"
  21788. },
  21789. "logid": {
  21790. "description": "流水ID(604+Unix秒时间戳(10位)+xxxxxx)",
  21791. "type": "string"
  21792. },
  21793. "logvalue": {
  21794. "description": "[期间变化量]现货量变更值",
  21795. "type": "number"
  21796. },
  21797. "middlegoodschange": {
  21798. "description": "套期商品变化量 = LogValue * 折算系数 * (1/(1+增值税))",
  21799. "type": "number"
  21800. },
  21801. "operatelogtype": {
  21802. "description": "操作流水类型 - 2:点价数量 21:正常完结(合同) 22:异常终止(合同) 24:采购入库 25:销售出库 26:生产入库 27:生产出库",
  21803. "type": "integer"
  21804. },
  21805. "relatedid": {
  21806. "description": "现货合同ID",
  21807. "type": "integer"
  21808. },
  21809. "spotgoodsbrandid": {
  21810. "description": "现货品牌ID",
  21811. "type": "integer"
  21812. },
  21813. "tradedate": {
  21814. "description": "交易日(yyyyMMdd)",
  21815. "type": "string"
  21816. },
  21817. "userid": {
  21818. "description": "机构ID",
  21819. "type": "integer"
  21820. },
  21821. "warehouseinfoid": {
  21822. "description": "仓库ID",
  21823. "type": "integer"
  21824. },
  21825. "wrfactortypeid": {
  21826. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  21827. "type": "integer"
  21828. },
  21829. "wrstandardid": {
  21830. "description": "现货商品ID",
  21831. "type": "integer"
  21832. },
  21833. "wrstandardname": {
  21834. "description": "商品名称",
  21835. "type": "string"
  21836. }
  21837. }
  21838. },
  21839. "models.Ermcp3AreaSpot": {
  21840. "type": "object",
  21841. "properties": {
  21842. "areauserid": {
  21843. "description": "所属机构",
  21844. "type": "integer"
  21845. },
  21846. "convertratio": {
  21847. "description": "套保系数",
  21848. "type": "number"
  21849. },
  21850. "decreaseqty": {
  21851. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  21852. "type": "number"
  21853. },
  21854. "enumdicname": {
  21855. "description": "单位名称",
  21856. "type": "string"
  21857. },
  21858. "increaseqty": {
  21859. "description": "增加数量=销售计划数量+采购已定价数量",
  21860. "type": "number"
  21861. },
  21862. "oritoalspotqty": {
  21863. "description": "昨日数量",
  21864. "type": "number"
  21865. },
  21866. "totalspotqty": {
  21867. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  21868. "type": "number"
  21869. },
  21870. "unitid": {
  21871. "description": "现货商品单位id",
  21872. "type": "integer"
  21873. },
  21874. "updatetime": {
  21875. "description": "更新时间",
  21876. "type": "string"
  21877. },
  21878. "wrstandardcode": {
  21879. "description": "现货商品代码",
  21880. "type": "string"
  21881. },
  21882. "wrstandardid": {
  21883. "description": "现货商品ID(SEQ_WRSTANDARD)",
  21884. "type": "integer"
  21885. },
  21886. "wrstandardname": {
  21887. "description": "现货商品名称",
  21888. "type": "string"
  21889. }
  21890. }
  21891. },
  21892. "models.Ermcp3AreaSpotDetail": {
  21893. "type": "object",
  21894. "properties": {
  21895. "contracttype": {
  21896. "description": "合同类型 1-采购 -1-销售",
  21897. "type": "integer"
  21898. },
  21899. "createtime": {
  21900. "description": "创建时间",
  21901. "type": "string"
  21902. },
  21903. "enumdicname": {
  21904. "description": "现货商品单位名称",
  21905. "type": "string"
  21906. },
  21907. "logtype": {
  21908. "description": "记录类型 1-套保 2-现货合同",
  21909. "type": "integer"
  21910. },
  21911. "qty": {
  21912. "description": "数量",
  21913. "type": "number"
  21914. },
  21915. "recordname": {
  21916. "description": "类型名称",
  21917. "type": "string"
  21918. },
  21919. "relatedid": {
  21920. "description": "套保计划ID/现货合同ID",
  21921. "type": "string"
  21922. },
  21923. "relatedno": {
  21924. "description": "编号",
  21925. "type": "string"
  21926. },
  21927. "strtime": {
  21928. "description": "时间",
  21929. "type": "string"
  21930. },
  21931. "wrstandardcode": {
  21932. "description": "现货商品代码",
  21933. "type": "string"
  21934. },
  21935. "wrstandardid": {
  21936. "description": "现货商品ID(SEQ_WRSTANDARD)",
  21937. "type": "integer"
  21938. },
  21939. "wrstandardname": {
  21940. "description": "现货商品名称",
  21941. "type": "string"
  21942. }
  21943. }
  21944. },
  21945. "models.Ermcp3AreaSpotPLReport": {
  21946. "type": "object",
  21947. "properties": {
  21948. "accountid": {
  21949. "description": "期货账户ID (作废, 默认为0)",
  21950. "type": "integer"
  21951. },
  21952. "accountname": {
  21953. "description": "机构名称",
  21954. "type": "string"
  21955. },
  21956. "actualpl": {
  21957. "description": "现货损益",
  21958. "type": "number"
  21959. },
  21960. "areauserid": {
  21961. "description": "所属机构\\交易用户ID",
  21962. "type": "integer"
  21963. },
  21964. "begindate": {
  21965. "description": "开始交易日",
  21966. "type": "string"
  21967. },
  21968. "biztype": {
  21969. "description": "业务类型 - 1:套保 2:套利",
  21970. "type": "integer"
  21971. },
  21972. "brandname": {
  21973. "description": "品牌名称",
  21974. "type": "string"
  21975. },
  21976. "curamount": {
  21977. "description": "期末额",
  21978. "type": "number"
  21979. },
  21980. "curaverageprice": {
  21981. "description": "期末均价",
  21982. "type": "number"
  21983. },
  21984. "curbuyamount": {
  21985. "description": "期末采购总额",
  21986. "type": "number"
  21987. },
  21988. "curbuyqty": {
  21989. "description": "期末采购总量",
  21990. "type": "number"
  21991. },
  21992. "curmarketvalue": {
  21993. "description": "参考市值(期末市值)",
  21994. "type": "number"
  21995. },
  21996. "curqty": {
  21997. "description": "期末量",
  21998. "type": "number"
  21999. },
  22000. "currencyid": {
  22001. "description": "结算币种ID【原值】",
  22002. "type": "integer"
  22003. },
  22004. "currencyname": {
  22005. "description": "币种名称",
  22006. "type": "string"
  22007. },
  22008. "cursellamount": {
  22009. "description": "期末销售总额",
  22010. "type": "number"
  22011. },
  22012. "cursellqty": {
  22013. "description": "期末销售总量",
  22014. "type": "number"
  22015. },
  22016. "curspotprice": {
  22017. "description": "参考市价(最新价)",
  22018. "type": "number"
  22019. },
  22020. "cycletime": {
  22021. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  22022. "type": "string"
  22023. },
  22024. "cycletype": {
  22025. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  22026. "type": "integer"
  22027. },
  22028. "deliverygoodscode": {
  22029. "description": "现货品种代码",
  22030. "type": "string"
  22031. },
  22032. "deliverygoodsid": {
  22033. "description": "现货品种ID",
  22034. "type": "integer"
  22035. },
  22036. "deliverygoodsname": {
  22037. "description": "现货品种名称",
  22038. "type": "string"
  22039. },
  22040. "enddate": {
  22041. "description": "结束交易日",
  22042. "type": "string"
  22043. },
  22044. "enumdicname": {
  22045. "description": "现货品种单位名称(作废)",
  22046. "type": "string"
  22047. },
  22048. "floatpl": {
  22049. "description": "浮动损益",
  22050. "type": "number"
  22051. },
  22052. "goodsunitid": {
  22053. "description": "现货品种单位id(作废)",
  22054. "type": "integer"
  22055. },
  22056. "oriamount": {
  22057. "description": "期初额",
  22058. "type": "number"
  22059. },
  22060. "oriaverageprice": {
  22061. "description": "期初均价",
  22062. "type": "number"
  22063. },
  22064. "oribuyamount": {
  22065. "description": "期初采购总额",
  22066. "type": "number"
  22067. },
  22068. "oribuyqty": {
  22069. "description": "期初采购总量",
  22070. "type": "number"
  22071. },
  22072. "oriqty": {
  22073. "description": "期初量",
  22074. "type": "number"
  22075. },
  22076. "orisellamount": {
  22077. "description": "期初销售总额",
  22078. "type": "number"
  22079. },
  22080. "orisellqty": {
  22081. "description": "期初销售总量",
  22082. "type": "number"
  22083. },
  22084. "reckondate": {
  22085. "description": "日照时期(yyyyMMdd)",
  22086. "type": "string"
  22087. },
  22088. "spotgoodsbrandid": {
  22089. "description": "现货品牌ID",
  22090. "type": "integer"
  22091. },
  22092. "todaybuyamount": {
  22093. "description": "今日采购额(今采购额)",
  22094. "type": "number"
  22095. },
  22096. "todaybuyaverageprice": {
  22097. "description": "今日采购均价",
  22098. "type": "number"
  22099. },
  22100. "todaybuyqty": {
  22101. "description": "今日采购量(今采购量)",
  22102. "type": "number"
  22103. },
  22104. "todayinqty": {
  22105. "description": "今日入库量(今入库量)",
  22106. "type": "number"
  22107. },
  22108. "todayoutqty": {
  22109. "description": "今日出库量(今出库量)",
  22110. "type": "number"
  22111. },
  22112. "todaysellamount": {
  22113. "description": "今日销售额(今销售额)",
  22114. "type": "number"
  22115. },
  22116. "todaysellaverageprice": {
  22117. "description": "今日销售均价",
  22118. "type": "number"
  22119. },
  22120. "todaysellqty": {
  22121. "description": "今日销售量(今销售量)",
  22122. "type": "number"
  22123. },
  22124. "unitid": {
  22125. "description": "品类单位id",
  22126. "type": "integer"
  22127. },
  22128. "unitidname": {
  22129. "description": "品类单位名称",
  22130. "type": "string"
  22131. },
  22132. "updatetime": {
  22133. "description": "更新时间",
  22134. "type": "string"
  22135. },
  22136. "wrfactortypeid": {
  22137. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  22138. "type": "integer"
  22139. },
  22140. "wrstandardcode": {
  22141. "description": "现货商品(品类)代码",
  22142. "type": "string"
  22143. },
  22144. "wrstandardid": {
  22145. "description": "现货品类ID",
  22146. "type": "integer"
  22147. },
  22148. "wrstandardname": {
  22149. "description": "现货商品(品类)名称",
  22150. "type": "string"
  22151. }
  22152. }
  22153. },
  22154. "models.Ermcp3AreaStock": {
  22155. "type": "object",
  22156. "required": [
  22157. "userid"
  22158. ],
  22159. "properties": {
  22160. "brandname": {
  22161. "description": "品牌名称",
  22162. "type": "string"
  22163. },
  22164. "curstock": {
  22165. "description": "期末库存量(今日量)",
  22166. "type": "number"
  22167. },
  22168. "deliverygoodscode": {
  22169. "description": "现货品种代码",
  22170. "type": "string"
  22171. },
  22172. "deliverygoodsid": {
  22173. "description": "现货品种id",
  22174. "type": "integer"
  22175. },
  22176. "deliverygoodsname": {
  22177. "description": "现货品种名称",
  22178. "type": "string"
  22179. },
  22180. "enumdicname": {
  22181. "description": "单位名称",
  22182. "type": "string"
  22183. },
  22184. "goodsunitid": {
  22185. "description": "现货商品单位id",
  22186. "type": "integer"
  22187. },
  22188. "oristock": {
  22189. "description": "期初库存量(昨日量)",
  22190. "type": "number"
  22191. },
  22192. "spotgoodsbrandid": {
  22193. "description": "现货品牌ID",
  22194. "type": "integer"
  22195. },
  22196. "todaybuyinqty": {
  22197. "description": "今日采购入库量",
  22198. "type": "number"
  22199. },
  22200. "todayproduceinqty": {
  22201. "description": "今日生产入库量",
  22202. "type": "number"
  22203. },
  22204. "todayproduceoutqty": {
  22205. "description": "今日生产出库量",
  22206. "type": "number"
  22207. },
  22208. "todayselloutqty": {
  22209. "description": "今日销售出库量",
  22210. "type": "number"
  22211. },
  22212. "unitid": {
  22213. "description": "单位id",
  22214. "type": "integer"
  22215. },
  22216. "updatetime": {
  22217. "description": "更新时间",
  22218. "type": "string"
  22219. },
  22220. "userid": {
  22221. "description": "机构ID",
  22222. "type": "integer"
  22223. },
  22224. "username": {
  22225. "description": "机构名称",
  22226. "type": "string"
  22227. },
  22228. "warehousecode": {
  22229. "description": "仓库代码",
  22230. "type": "string"
  22231. },
  22232. "warehouseinfoid": {
  22233. "description": "仓库ID",
  22234. "type": "string"
  22235. },
  22236. "warehousename": {
  22237. "description": "仓库名称",
  22238. "type": "string"
  22239. },
  22240. "warehousetype": {
  22241. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  22242. "type": "integer"
  22243. },
  22244. "wrstandardcode": {
  22245. "description": "品类代码",
  22246. "type": "string"
  22247. },
  22248. "wrstandardid": {
  22249. "description": "品类ID",
  22250. "type": "string"
  22251. },
  22252. "wrstandardname": {
  22253. "description": "品类名称",
  22254. "type": "string"
  22255. }
  22256. }
  22257. },
  22258. "models.Ermcp3AreaStockApply": {
  22259. "type": "object",
  22260. "properties": {
  22261. "applyid": {
  22262. "description": "申请人",
  22263. "type": "integer"
  22264. },
  22265. "applyname": {
  22266. "description": "申请人名称",
  22267. "type": "string"
  22268. },
  22269. "applyremark": {
  22270. "description": "申请备注",
  22271. "type": "string"
  22272. },
  22273. "applysrc": {
  22274. "description": "申请来源 - 1:管理端 2:终端",
  22275. "type": "integer"
  22276. },
  22277. "applystatus": {
  22278. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  22279. "type": "integer"
  22280. },
  22281. "applytime": {
  22282. "description": "申请时间",
  22283. "type": "string"
  22284. },
  22285. "auditid": {
  22286. "description": "审核人",
  22287. "type": "integer"
  22288. },
  22289. "auditname": {
  22290. "description": "审核人名称",
  22291. "type": "string"
  22292. },
  22293. "auditremark": {
  22294. "description": "审核备注",
  22295. "type": "string"
  22296. },
  22297. "auditsrc": {
  22298. "description": "审核来源 - 1:管理端 2:终端",
  22299. "type": "integer"
  22300. },
  22301. "audittime": {
  22302. "description": "审核时间",
  22303. "type": "string"
  22304. },
  22305. "audittradedate": {
  22306. "description": "审核交易日(yyyyMMdd)",
  22307. "type": "string"
  22308. },
  22309. "brandname": {
  22310. "description": "品牌名称",
  22311. "type": "string"
  22312. },
  22313. "buynickname": {
  22314. "description": "采购方昵称",
  22315. "type": "string"
  22316. },
  22317. "buyuserid": {
  22318. "description": "采购方userid",
  22319. "type": "integer"
  22320. },
  22321. "buyusername": {
  22322. "description": "采购方名称",
  22323. "type": "string"
  22324. },
  22325. "contractno": {
  22326. "description": "合同编号",
  22327. "type": "string"
  22328. },
  22329. "contractqty": {
  22330. "description": "合同量",
  22331. "type": "number"
  22332. },
  22333. "contracttype": {
  22334. "description": "现货合同类型 - 1:采购 -1:销售",
  22335. "type": "integer"
  22336. },
  22337. "deliverygoodscode": {
  22338. "description": "现货品种代码",
  22339. "type": "string"
  22340. },
  22341. "deliverygoodsid": {
  22342. "description": "现货品种id",
  22343. "type": "integer"
  22344. },
  22345. "deliverygoodsname": {
  22346. "description": "现货品种名称",
  22347. "type": "string"
  22348. },
  22349. "detailjson": {
  22350. "description": "明细数据",
  22351. "type": "string"
  22352. },
  22353. "enumdicname": {
  22354. "description": "现货商品单位名称",
  22355. "type": "string"
  22356. },
  22357. "inoutapplyid": {
  22358. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  22359. "type": "string"
  22360. },
  22361. "inouttype": {
  22362. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  22363. "type": "integer"
  22364. },
  22365. "pricetype": {
  22366. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  22367. "type": "integer"
  22368. },
  22369. "qty": {
  22370. "description": "数量",
  22371. "type": "number"
  22372. },
  22373. "sellnickname": {
  22374. "description": "销售方昵称",
  22375. "type": "string"
  22376. },
  22377. "selluserid": {
  22378. "description": "销售方userid",
  22379. "type": "integer"
  22380. },
  22381. "sellusername": {
  22382. "description": "销售方名称",
  22383. "type": "string"
  22384. },
  22385. "spotcontractid": {
  22386. "description": "关联现货合同ID",
  22387. "type": "string"
  22388. },
  22389. "spotgoodsbrandid": {
  22390. "description": "现货品牌ID",
  22391. "type": "integer"
  22392. },
  22393. "unitid": {
  22394. "description": "单位id",
  22395. "type": "integer"
  22396. },
  22397. "userid": {
  22398. "description": "机构ID",
  22399. "type": "integer"
  22400. },
  22401. "warehousecode": {
  22402. "description": "仓库代码",
  22403. "type": "string"
  22404. },
  22405. "warehouseinfoid": {
  22406. "description": "现货仓库ID",
  22407. "type": "string"
  22408. },
  22409. "warehousename": {
  22410. "description": "仓库名称",
  22411. "type": "string"
  22412. },
  22413. "warehousetype": {
  22414. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  22415. "type": "integer"
  22416. },
  22417. "wrstandardcode": {
  22418. "description": "品类代码",
  22419. "type": "string"
  22420. },
  22421. "wrstandardid": {
  22422. "description": "品类ID",
  22423. "type": "integer"
  22424. },
  22425. "wrstandardname": {
  22426. "description": "品类名称",
  22427. "type": "string"
  22428. }
  22429. }
  22430. },
  22431. "models.Ermcp3AreaStockApplySum": {
  22432. "type": "object",
  22433. "properties": {
  22434. "brandname": {
  22435. "description": "品牌名称",
  22436. "type": "string"
  22437. },
  22438. "inouttype": {
  22439. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  22440. "type": "integer"
  22441. },
  22442. "spotcontractid": {
  22443. "description": "关联现货合同ID",
  22444. "type": "string"
  22445. },
  22446. "spotgoodsbrandid": {
  22447. "description": "品牌id",
  22448. "type": "integer"
  22449. },
  22450. "totalqty": {
  22451. "description": "总数量",
  22452. "type": "number"
  22453. },
  22454. "wrstandardid": {
  22455. "description": "品类id",
  22456. "type": "integer"
  22457. },
  22458. "wrstandardname": {
  22459. "description": "品类名称",
  22460. "type": "string"
  22461. }
  22462. }
  22463. },
  22464. "models.Ermcp3AreaStockReportEx": {
  22465. "type": "object",
  22466. "properties": {
  22467. "begindate": {
  22468. "description": "开始交易日",
  22469. "type": "string"
  22470. },
  22471. "brandname": {
  22472. "description": "品牌名称",
  22473. "type": "string"
  22474. },
  22475. "curstock": {
  22476. "description": "期末库存量",
  22477. "type": "number"
  22478. },
  22479. "cycletime": {
  22480. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  22481. "type": "string"
  22482. },
  22483. "cycletype": {
  22484. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  22485. "type": "integer"
  22486. },
  22487. "deliverygoodscode": {
  22488. "description": "现货品种代码",
  22489. "type": "string"
  22490. },
  22491. "deliverygoodsid": {
  22492. "description": "现货品种id",
  22493. "type": "integer"
  22494. },
  22495. "deliverygoodsname": {
  22496. "description": "现货品种名称",
  22497. "type": "string"
  22498. },
  22499. "diffqty": {
  22500. "description": "库存变化量 = 期末 - 期初",
  22501. "type": "number"
  22502. },
  22503. "enddate": {
  22504. "description": "结束交易日",
  22505. "type": "string"
  22506. },
  22507. "enumdicname": {
  22508. "description": "单位名称",
  22509. "type": "string"
  22510. },
  22511. "goodsunitid": {
  22512. "description": "现货单位id",
  22513. "type": "integer"
  22514. },
  22515. "oristock": {
  22516. "description": "期初库存量",
  22517. "type": "number"
  22518. },
  22519. "reckondate": {
  22520. "description": "日照时期(yyyyMMdd)",
  22521. "type": "string"
  22522. },
  22523. "spotgoodsbrandid": {
  22524. "description": "现货品牌ID",
  22525. "type": "integer"
  22526. },
  22527. "todaybuyinqty": {
  22528. "description": "今采购入库量",
  22529. "type": "number"
  22530. },
  22531. "todayproduceinqty": {
  22532. "description": "今内部入库量",
  22533. "type": "number"
  22534. },
  22535. "todayproduceoutqty": {
  22536. "description": "今内部出库量",
  22537. "type": "number"
  22538. },
  22539. "todayselloutqty": {
  22540. "description": "今销售出库量",
  22541. "type": "number"
  22542. },
  22543. "unbuyinqty": {
  22544. "description": "采购未入库量(数据库未找到相关字段?)",
  22545. "type": "number"
  22546. },
  22547. "unitid": {
  22548. "description": "品类单位id",
  22549. "type": "integer"
  22550. },
  22551. "unselloutqty": {
  22552. "description": "销售未出库量(数据库未找到相关字段?)",
  22553. "type": "number"
  22554. },
  22555. "updatetime": {
  22556. "description": "更新时间",
  22557. "type": "string"
  22558. },
  22559. "userid": {
  22560. "description": "机构ID",
  22561. "type": "integer"
  22562. },
  22563. "username": {
  22564. "description": "机构名称",
  22565. "type": "string"
  22566. },
  22567. "warehousecode": {
  22568. "description": "仓库代码",
  22569. "type": "string"
  22570. },
  22571. "warehouseinfoid": {
  22572. "description": "仓库ID",
  22573. "type": "string"
  22574. },
  22575. "warehousename": {
  22576. "description": "仓库名称",
  22577. "type": "string"
  22578. },
  22579. "warehousetype": {
  22580. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  22581. "type": "integer"
  22582. },
  22583. "wrstandardcode": {
  22584. "description": "品类代码",
  22585. "type": "string"
  22586. },
  22587. "wrstandardid": {
  22588. "description": "品类ID",
  22589. "type": "integer"
  22590. },
  22591. "wrstandardname": {
  22592. "description": "品类名称",
  22593. "type": "string"
  22594. }
  22595. }
  22596. },
  22597. "models.Ermcp3ArealSumPL": {
  22598. "type": "object",
  22599. "properties": {
  22600. "accountname": {
  22601. "description": "机构名称",
  22602. "type": "string"
  22603. },
  22604. "areauserid": {
  22605. "description": "所属机构\\交易用户ID",
  22606. "type": "integer"
  22607. },
  22608. "begindate": {
  22609. "description": "开始交易日",
  22610. "type": "string"
  22611. },
  22612. "currencyid": {
  22613. "description": "结算币种ID",
  22614. "type": "integer"
  22615. },
  22616. "currencyname": {
  22617. "description": "币种名称",
  22618. "type": "string"
  22619. },
  22620. "cycletime": {
  22621. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  22622. "type": "string"
  22623. },
  22624. "cycletype": {
  22625. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  22626. "type": "integer"
  22627. },
  22628. "enddate": {
  22629. "description": "结束交易日",
  22630. "type": "string"
  22631. },
  22632. "enumdicname": {
  22633. "description": "单位名称(套保品种)",
  22634. "type": "string"
  22635. },
  22636. "futureactualpl": {
  22637. "description": "期货损益",
  22638. "type": "number"
  22639. },
  22640. "futurefloatpl": {
  22641. "description": "期货浮动损益",
  22642. "type": "number"
  22643. },
  22644. "futurespotratio": {
  22645. "description": "期现比例 = 期货头寸总量 / 现货头寸总量",
  22646. "type": "number"
  22647. },
  22648. "goodsunitid": {
  22649. "description": "套保品种单位id",
  22650. "type": "integer"
  22651. },
  22652. "hedgeexposurepl": {
  22653. "description": "套保敞口损益",
  22654. "type": "number"
  22655. },
  22656. "middlegoodscode": {
  22657. "description": "套保品种代码",
  22658. "type": "string"
  22659. },
  22660. "middlegoodsid": {
  22661. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  22662. "type": "integer"
  22663. },
  22664. "middlegoodsname": {
  22665. "description": "套保品种名称",
  22666. "type": "string"
  22667. },
  22668. "reckondate": {
  22669. "description": "日照时期(yyyyMMdd)",
  22670. "type": "string"
  22671. },
  22672. "spotactualpl": {
  22673. "description": "现货损益",
  22674. "type": "number"
  22675. },
  22676. "spotfloatpl": {
  22677. "description": "现货浮动损益",
  22678. "type": "number"
  22679. },
  22680. "sumactualpl": {
  22681. "description": "实际损益 = (ActualPL + FutureActualPL)",
  22682. "type": "number"
  22683. },
  22684. "sumpl": {
  22685. "description": "总敞口损益 | 汇总损益",
  22686. "type": "number"
  22687. },
  22688. "totalfutureqty": {
  22689. "description": "期货头寸总量",
  22690. "type": "number"
  22691. },
  22692. "totalneedhedgeqty": {
  22693. "description": "应套保总量",
  22694. "type": "number"
  22695. },
  22696. "totalspotqty": {
  22697. "description": "现货头寸总量",
  22698. "type": "number"
  22699. },
  22700. "updatetime": {
  22701. "description": "更新时间",
  22702. "type": "string"
  22703. }
  22704. }
  22705. },
  22706. "models.Ermcp3Brand": {
  22707. "type": "object",
  22708. "properties": {
  22709. "areauserid": {
  22710. "description": "用户id",
  22711. "type": "integer"
  22712. },
  22713. "brandid": {
  22714. "description": "品牌id",
  22715. "type": "integer"
  22716. },
  22717. "brandname": {
  22718. "description": "品牌名称",
  22719. "type": "string"
  22720. },
  22721. "deliverygoodsid": {
  22722. "description": "品种ID",
  22723. "type": "integer"
  22724. },
  22725. "isvalid": {
  22726. "description": "是否有效",
  22727. "type": "integer"
  22728. }
  22729. }
  22730. },
  22731. "models.Ermcp3Contract": {
  22732. "type": "object",
  22733. "properties": {
  22734. "accountid": {
  22735. "description": "期货账户id",
  22736. "type": "string"
  22737. },
  22738. "amount": {
  22739. "description": "金额 [1:一口价、3:暂定价]",
  22740. "type": "number"
  22741. },
  22742. "attachment": {
  22743. "description": "附件",
  22744. "type": "string"
  22745. },
  22746. "auditremark": {
  22747. "description": "审核意见",
  22748. "type": "string"
  22749. },
  22750. "audittime": {
  22751. "description": "审核时间",
  22752. "type": "string"
  22753. },
  22754. "biztype": {
  22755. "description": "业务类型 1-套保 2-套利",
  22756. "type": "integer"
  22757. },
  22758. "brandname": {
  22759. "description": "品牌名称",
  22760. "type": "string"
  22761. },
  22762. "buynickname": {
  22763. "description": "销售方昵称",
  22764. "type": "string"
  22765. },
  22766. "buyuserid": {
  22767. "description": "采购方ID",
  22768. "type": "integer"
  22769. },
  22770. "buyusername": {
  22771. "description": "采购方名称",
  22772. "type": "string"
  22773. },
  22774. "contracctstatus": {
  22775. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  22776. "type": "integer"
  22777. },
  22778. "contractmargin": {
  22779. "description": "合同保证金",
  22780. "type": "number"
  22781. },
  22782. "contractno": {
  22783. "description": "现货合同编号",
  22784. "type": "string"
  22785. },
  22786. "contracttype": {
  22787. "description": "现货合同类型 - 1:采购 -1:销售",
  22788. "type": "integer"
  22789. },
  22790. "convertfactor": {
  22791. "description": "标仓系数(品类)",
  22792. "type": "number"
  22793. },
  22794. "createtime": {
  22795. "description": "创建时间",
  22796. "type": "string"
  22797. },
  22798. "currencyid": {
  22799. "description": "币种id",
  22800. "type": "integer"
  22801. },
  22802. "currencyname": {
  22803. "description": "币种名称",
  22804. "type": "string"
  22805. },
  22806. "deliveryenddate": {
  22807. "description": "交收期(结束)",
  22808. "type": "string"
  22809. },
  22810. "deliverygoodscode": {
  22811. "description": "现货品种代码",
  22812. "type": "string"
  22813. },
  22814. "deliverygoodsid": {
  22815. "description": "现货品种ID",
  22816. "type": "integer"
  22817. },
  22818. "deliverygoodsname": {
  22819. "description": "现货品种名称",
  22820. "type": "string"
  22821. },
  22822. "deliverystartdate": {
  22823. "description": "交收期(开始)",
  22824. "type": "string"
  22825. },
  22826. "enddate": {
  22827. "description": "点价结束日期 [2:点价 3:暂定价]",
  22828. "type": "string"
  22829. },
  22830. "enumdicname": {
  22831. "description": "单位名称",
  22832. "type": "string"
  22833. },
  22834. "goodscode": {
  22835. "description": "点价合约代码",
  22836. "type": "string"
  22837. },
  22838. "goodsid": {
  22839. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  22840. "type": "integer"
  22841. },
  22842. "goodsname": {
  22843. "description": "点价商品名称",
  22844. "type": "string"
  22845. },
  22846. "margin": {
  22847. "description": "当前保证金",
  22848. "type": "number"
  22849. },
  22850. "meruserid": {
  22851. "description": "跟单员id",
  22852. "type": "integer"
  22853. },
  22854. "meruserlogincode": {
  22855. "description": "跟单员登录代码",
  22856. "type": "string"
  22857. },
  22858. "merusername": {
  22859. "description": "跟单员名称",
  22860. "type": "string"
  22861. },
  22862. "pointdesc": {
  22863. "description": "点价备注",
  22864. "type": "string"
  22865. },
  22866. "price": {
  22867. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  22868. "type": "number"
  22869. },
  22870. "pricemove": {
  22871. "description": "升贴水 [2:点价 3:暂定价]",
  22872. "type": "number"
  22873. },
  22874. "pricetype": {
  22875. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  22876. "type": "integer"
  22877. },
  22878. "producttype": {
  22879. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  22880. "type": "integer"
  22881. },
  22882. "qty": {
  22883. "description": "数量",
  22884. "type": "number"
  22885. },
  22886. "remark": {
  22887. "description": "备注",
  22888. "type": "string"
  22889. },
  22890. "saleuserid": {
  22891. "description": "业务员id",
  22892. "type": "integer"
  22893. },
  22894. "saleuserlogincode": {
  22895. "description": "业务员登录代码",
  22896. "type": "string"
  22897. },
  22898. "saleusername": {
  22899. "description": "业务员名称",
  22900. "type": "string"
  22901. },
  22902. "sellnickname": {
  22903. "description": "采购方昵称",
  22904. "type": "string"
  22905. },
  22906. "selluserid": {
  22907. "description": "销售方ID",
  22908. "type": "integer"
  22909. },
  22910. "sellusername": {
  22911. "description": "销售方名称",
  22912. "type": "string"
  22913. },
  22914. "spotcontractid": {
  22915. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  22916. "type": "string"
  22917. },
  22918. "spotgoodsbrandid": {
  22919. "description": "现货品牌ID(DGFactoryItem表的ID)",
  22920. "type": "integer"
  22921. },
  22922. "spotgoodsdesc": {
  22923. "description": "商品型号",
  22924. "type": "string"
  22925. },
  22926. "startdate": {
  22927. "description": "点价开始日期 [2:点价 3:暂定价]",
  22928. "type": "string"
  22929. },
  22930. "subjectid": {
  22931. "description": "交易主体ID",
  22932. "type": "integer"
  22933. },
  22934. "subjectname": {
  22935. "description": "交易主体名称",
  22936. "type": "string"
  22937. },
  22938. "tradeuserid": {
  22939. "description": "交易员id",
  22940. "type": "integer"
  22941. },
  22942. "tradeuserlogincode": {
  22943. "description": "交易员登录代码",
  22944. "type": "string"
  22945. },
  22946. "tradeusername": {
  22947. "description": "交易员名称",
  22948. "type": "string"
  22949. },
  22950. "unitid": {
  22951. "description": "单位id(取品类上的单位id)",
  22952. "type": "integer"
  22953. },
  22954. "updatetime": {
  22955. "description": "更新时间",
  22956. "type": "string"
  22957. },
  22958. "userid": {
  22959. "description": "所属机构ID",
  22960. "type": "integer"
  22961. },
  22962. "vatrate": {
  22963. "description": "增值税率",
  22964. "type": "number"
  22965. },
  22966. "wrstandardcode": {
  22967. "description": "品类代码",
  22968. "type": "string"
  22969. },
  22970. "wrstandardid": {
  22971. "description": "品类ID",
  22972. "type": "integer"
  22973. },
  22974. "wrstandardname": {
  22975. "description": "品类名称",
  22976. "type": "string"
  22977. }
  22978. }
  22979. },
  22980. "models.Ermcp3ContractMiddleGoodsCfg": {
  22981. "type": "object",
  22982. "properties": {
  22983. "agreeunit": {
  22984. "description": "合约乘数",
  22985. "type": "number"
  22986. },
  22987. "convertratio": {
  22988. "description": "期货品种系数",
  22989. "type": "number"
  22990. },
  22991. "covertqty": {
  22992. "description": "折算手数 =【待点价量 / (合约乘数*期货品种系数) 】",
  22993. "type": "integer"
  22994. },
  22995. "middlegoodsid": {
  22996. "description": "套保品种ID",
  22997. "type": "integer"
  22998. },
  22999. "middlegoodspricedqty3": {
  23000. "description": "已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率",
  23001. "type": "string",
  23002. "example": "0"
  23003. },
  23004. "pendingpricedqty": {
  23005. "description": "待点价量",
  23006. "type": "string",
  23007. "example": "0"
  23008. },
  23009. "relatedmiddlegoodsqty": {
  23010. "description": "已关联量(套保品种-期货)",
  23011. "type": "string",
  23012. "example": "0"
  23013. },
  23014. "spotcontractid": {
  23015. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  23016. "type": "string"
  23017. }
  23018. }
  23019. },
  23020. "models.Ermcp3ExposureContractDetail": {
  23021. "type": "object",
  23022. "properties": {
  23023. "biztype": {
  23024. "description": "业务类型 1-套保 2-套利",
  23025. "type": "integer"
  23026. },
  23027. "brandname": {
  23028. "description": "品牌名称",
  23029. "type": "string"
  23030. },
  23031. "buyuserid": {
  23032. "description": "采购方id",
  23033. "type": "integer"
  23034. },
  23035. "buyusername": {
  23036. "description": "采购方名称",
  23037. "type": "string"
  23038. },
  23039. "contractno": {
  23040. "description": "合同编号",
  23041. "type": "string"
  23042. },
  23043. "contracttype": {
  23044. "description": "现货合同类型 - 1:采购 -1:销售",
  23045. "type": "integer"
  23046. },
  23047. "convertfactor": {
  23048. "description": "标仓系数",
  23049. "type": "number"
  23050. },
  23051. "convertratio": {
  23052. "description": "折算系数(套保品种)",
  23053. "type": "number"
  23054. },
  23055. "curqty": {
  23056. "description": "今定价量",
  23057. "type": "number"
  23058. },
  23059. "deliverygoodscode": {
  23060. "description": "现货品种代码",
  23061. "type": "string"
  23062. },
  23063. "deliverygoodsid": {
  23064. "description": "现货品种id",
  23065. "type": "integer"
  23066. },
  23067. "deliverygoodsname": {
  23068. "description": "现货品种名称",
  23069. "type": "string"
  23070. },
  23071. "diffhedgeqty": {
  23072. "description": "套保变动量",
  23073. "type": "number"
  23074. },
  23075. "diffneedhedgeqty": {
  23076. "description": "应套保变动量",
  23077. "type": "number"
  23078. },
  23079. "diffqty": {
  23080. "description": "套保品种今变动量",
  23081. "type": "number"
  23082. },
  23083. "enumdicname": {
  23084. "description": "单位名称",
  23085. "type": "string"
  23086. },
  23087. "mgunitname": {
  23088. "description": "套保品种单位名称",
  23089. "type": "string"
  23090. },
  23091. "middlegoodscode": {
  23092. "description": "套保品种代码",
  23093. "type": "string"
  23094. },
  23095. "middlegoodsid": {
  23096. "description": "套保品种id",
  23097. "type": "integer"
  23098. },
  23099. "middlegoodsname": {
  23100. "description": "套保品种名称",
  23101. "type": "string"
  23102. },
  23103. "needarbitrageratio": {
  23104. "description": "应套利比例",
  23105. "type": "number"
  23106. },
  23107. "needhedgeratio": {
  23108. "description": "应套保比例",
  23109. "type": "number"
  23110. },
  23111. "pricedqty": {
  23112. "description": "已定价量",
  23113. "type": "number"
  23114. },
  23115. "qty": {
  23116. "description": "合同量",
  23117. "type": "number"
  23118. },
  23119. "reckondate": {
  23120. "description": "交易日(reckondate)",
  23121. "type": "string"
  23122. },
  23123. "selluserid": {
  23124. "description": "销售方id",
  23125. "type": "integer"
  23126. },
  23127. "sellusername": {
  23128. "description": "销售方名称",
  23129. "type": "string"
  23130. },
  23131. "spotcontractid": {
  23132. "description": "合同id",
  23133. "type": "string"
  23134. },
  23135. "todaypricedqty": {
  23136. "description": "今定价量",
  23137. "type": "number"
  23138. },
  23139. "tradedate": {
  23140. "description": "交易日",
  23141. "type": "string"
  23142. },
  23143. "unitid": {
  23144. "description": "品类单位id",
  23145. "type": "integer"
  23146. },
  23147. "userid": {
  23148. "description": "机构id",
  23149. "type": "integer"
  23150. },
  23151. "username": {
  23152. "description": "交易用户",
  23153. "type": "string"
  23154. },
  23155. "wrstandardcode": {
  23156. "description": "现货商品代码",
  23157. "type": "string"
  23158. },
  23159. "wrstandardid": {
  23160. "description": "现货商品id",
  23161. "type": "integer"
  23162. },
  23163. "wrstandardname": {
  23164. "description": "现货商品名称",
  23165. "type": "string"
  23166. }
  23167. }
  23168. },
  23169. "models.Ermcp3ExposureDetail": {
  23170. "type": "object",
  23171. "properties": {
  23172. "areauserid": {
  23173. "description": "机构ID",
  23174. "type": "integer"
  23175. },
  23176. "changeQty": {
  23177. "description": "套保变动量",
  23178. "type": "number"
  23179. },
  23180. "contracttype": {
  23181. "description": "现货合同类型 - 1:采购 -1:销售",
  23182. "type": "integer"
  23183. },
  23184. "convertfactor": {
  23185. "description": "标仓系数",
  23186. "type": "number"
  23187. },
  23188. "convertratio": {
  23189. "description": "折算系数",
  23190. "type": "number"
  23191. },
  23192. "createtime": {
  23193. "description": "时间",
  23194. "type": "string"
  23195. },
  23196. "enumdicname": {
  23197. "description": "现货商品单位名称",
  23198. "type": "string"
  23199. },
  23200. "logtype": {
  23201. "description": "类型 - 1:套保计划 2:现货合同",
  23202. "type": "integer"
  23203. },
  23204. "mgunitid": {
  23205. "description": "套保品种单位id",
  23206. "type": "integer"
  23207. },
  23208. "mgunitidname": {
  23209. "description": "套保品种单位名称",
  23210. "type": "string"
  23211. },
  23212. "middlegoodsId": {
  23213. "description": "套保商品id",
  23214. "type": "integer"
  23215. },
  23216. "middlegoodscode": {
  23217. "description": "套保商品代码",
  23218. "type": "string"
  23219. },
  23220. "middlegoodsname": {
  23221. "description": "套保商品名称",
  23222. "type": "string"
  23223. },
  23224. "qty": {
  23225. "description": "数量",
  23226. "type": "number"
  23227. },
  23228. "relateNo": {
  23229. "description": "现货合同/套保计划编号",
  23230. "type": "string"
  23231. },
  23232. "unitid": {
  23233. "description": "现货商品单位id",
  23234. "type": "integer"
  23235. },
  23236. "wrstandardcode": {
  23237. "description": "现货商品代码",
  23238. "type": "string"
  23239. },
  23240. "wrstandardid": {
  23241. "description": "现货商品ID(SEQ_WRSTANDARD)",
  23242. "type": "integer"
  23243. },
  23244. "wrstandardname": {
  23245. "description": "现货商品名称",
  23246. "type": "string"
  23247. }
  23248. }
  23249. },
  23250. "models.Ermcp3ExposureFutuDetail": {
  23251. "type": "object",
  23252. "properties": {
  23253. "accountid": {
  23254. "description": "交易账户id",
  23255. "type": "integer"
  23256. },
  23257. "accountname": {
  23258. "description": "交易账户",
  23259. "type": "string"
  23260. },
  23261. "begindate": {
  23262. "description": "开始交易日",
  23263. "type": "string"
  23264. },
  23265. "buyorsell": {
  23266. "description": "方向 0-买 1-卖",
  23267. "type": "integer"
  23268. },
  23269. "diffmgqty": {
  23270. "description": "套保品种今变化量",
  23271. "type": "number"
  23272. },
  23273. "diffneedqty": {
  23274. "description": "应套保总量变化量",
  23275. "type": "number"
  23276. },
  23277. "difftradeqty": {
  23278. "description": "交易品种今变化量",
  23279. "type": "number"
  23280. },
  23281. "enddate": {
  23282. "description": "结束交易日",
  23283. "type": "string"
  23284. },
  23285. "enumdicname": {
  23286. "description": "单位名称",
  23287. "type": "string"
  23288. },
  23289. "goodscode": {
  23290. "description": "商品代码",
  23291. "type": "string"
  23292. },
  23293. "goodsid": {
  23294. "description": "商品id",
  23295. "type": "integer"
  23296. },
  23297. "goodsname": {
  23298. "description": "商品名称",
  23299. "type": "string"
  23300. },
  23301. "holdqty": {
  23302. "description": "期末持仓量",
  23303. "type": "number"
  23304. },
  23305. "middlegoodscode": {
  23306. "description": "套保商品代码",
  23307. "type": "string"
  23308. },
  23309. "middlegoodsid": {
  23310. "description": "套保商品id",
  23311. "type": "integer"
  23312. },
  23313. "middlegoodsname": {
  23314. "description": "套保商品名称",
  23315. "type": "string"
  23316. },
  23317. "oriholdqty": {
  23318. "description": "期初持仓量",
  23319. "type": "number"
  23320. },
  23321. "reckondate": {
  23322. "description": "交易日(RECKONDATE)",
  23323. "type": "string"
  23324. },
  23325. "todaycloseqty": {
  23326. "description": "今平仓量",
  23327. "type": "number"
  23328. },
  23329. "todayopenqty": {
  23330. "description": "今开仓量",
  23331. "type": "number"
  23332. },
  23333. "tradedate": {
  23334. "description": "交易日(RECKONDATE)",
  23335. "type": "string"
  23336. },
  23337. "username": {
  23338. "description": "用户名称(交易用户)",
  23339. "type": "string"
  23340. }
  23341. }
  23342. },
  23343. "models.Ermcp3ExposureHedgeplanDetail": {
  23344. "type": "object",
  23345. "properties": {
  23346. "biztype": {
  23347. "description": "业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利",
  23348. "type": "integer"
  23349. },
  23350. "changqty": {
  23351. "description": "应套保总量变化量",
  23352. "type": "number"
  23353. },
  23354. "contracttype": {
  23355. "description": "计划类型 - 1:采购 -1:销售",
  23356. "type": "integer"
  23357. },
  23358. "convertratio": {
  23359. "description": "折算系数(套保品种)",
  23360. "type": "number"
  23361. },
  23362. "deliverygoodscode": {
  23363. "description": "现货商品代码",
  23364. "type": "string"
  23365. },
  23366. "deliverygoodsid": {
  23367. "description": "现货商品id",
  23368. "type": "integer"
  23369. },
  23370. "deliverygoodsname": {
  23371. "description": "现货商吕名称",
  23372. "type": "string"
  23373. },
  23374. "dgunitid": {
  23375. "description": "现货商品单位id",
  23376. "type": "integer"
  23377. },
  23378. "dgunitidname": {
  23379. "description": "单位名称(现货商品)",
  23380. "type": "string"
  23381. },
  23382. "diffqty": {
  23383. "description": "套保品种今变动量",
  23384. "type": "number"
  23385. },
  23386. "enumdicname": {
  23387. "description": "单位名称(品类)",
  23388. "type": "string"
  23389. },
  23390. "hedgeplanid": {
  23391. "description": "套保计划id",
  23392. "type": "string"
  23393. },
  23394. "hedgeplanno": {
  23395. "description": "套保计划名称",
  23396. "type": "string"
  23397. },
  23398. "hedgeplanstatus": {
  23399. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  23400. "type": "integer"
  23401. },
  23402. "mgunitidname": {
  23403. "description": "单位名称(套保商品)",
  23404. "type": "string"
  23405. },
  23406. "middlegoodscode": {
  23407. "description": "套保品种代码",
  23408. "type": "string"
  23409. },
  23410. "middlegoodsid": {
  23411. "description": "套保品种id",
  23412. "type": "integer"
  23413. },
  23414. "middlegoodsname": {
  23415. "description": "套保品种名称",
  23416. "type": "string"
  23417. },
  23418. "needarbitrageratio": {
  23419. "description": "应套利比例",
  23420. "type": "number"
  23421. },
  23422. "needhedgeratio": {
  23423. "description": "应套保比例",
  23424. "type": "number"
  23425. },
  23426. "pricedqty": {
  23427. "description": "已定价量",
  23428. "type": "number"
  23429. },
  23430. "qty": {
  23431. "description": "合同量",
  23432. "type": "number"
  23433. },
  23434. "reckondate": {
  23435. "description": "交易日(reckondate)",
  23436. "type": "string"
  23437. },
  23438. "tradedate": {
  23439. "description": "交易日(登记日)",
  23440. "type": "string"
  23441. },
  23442. "unitid": {
  23443. "description": "品类单位id",
  23444. "type": "integer"
  23445. },
  23446. "userid": {
  23447. "description": "机构id",
  23448. "type": "integer"
  23449. },
  23450. "wrstandardcode": {
  23451. "description": "品类代码",
  23452. "type": "string"
  23453. },
  23454. "wrstandardid": {
  23455. "description": "品类id",
  23456. "type": "integer"
  23457. },
  23458. "wrstandardname": {
  23459. "description": "品类名称",
  23460. "type": "string"
  23461. }
  23462. }
  23463. },
  23464. "models.Ermcp3ExposureParamChLog": {
  23465. "type": "object",
  23466. "properties": {
  23467. "accountid": {
  23468. "description": "期货账户ID (作废, 默认为0)",
  23469. "type": "integer"
  23470. },
  23471. "aftervalue": {
  23472. "description": "应套保\\套利量变更后(调整后应套保总量)",
  23473. "type": "number"
  23474. },
  23475. "areauserid": {
  23476. "description": "所属机构\\交易用户ID",
  23477. "type": "integer"
  23478. },
  23479. "beforevalue": {
  23480. "description": "应套保\\套利量变更前(调整前应套保总量)",
  23481. "type": "number"
  23482. },
  23483. "begindate": {
  23484. "description": "开始交易日",
  23485. "type": "string"
  23486. },
  23487. "changelogtype": {
  23488. "description": "变更流水类型 - 1:套保比率变更 2:套利比率变更",
  23489. "type": "integer"
  23490. },
  23491. "curvalue": {
  23492. "description": "当前套保\\套利量(套保总量|套利总量)",
  23493. "type": "number"
  23494. },
  23495. "diffvalue": {
  23496. "description": "应套保总量变化量",
  23497. "type": "number"
  23498. },
  23499. "enddate": {
  23500. "description": "结束交易日",
  23501. "type": "string"
  23502. },
  23503. "logdatetime": {
  23504. "description": "流水日期",
  23505. "type": "string"
  23506. },
  23507. "logid": {
  23508. "description": "流水ID(609+Unix秒时间戳(10位)+xxxxxx)",
  23509. "type": "string"
  23510. },
  23511. "middlegoodscode": {
  23512. "description": "套保品种代码",
  23513. "type": "string"
  23514. },
  23515. "middlegoodsid": {
  23516. "description": "套保品种",
  23517. "type": "integer"
  23518. },
  23519. "middlegoodsname": {
  23520. "description": "套保品种名称",
  23521. "type": "string"
  23522. },
  23523. "paramaftervalue": {
  23524. "description": "参数变更后(调整后参数值)",
  23525. "type": "number"
  23526. },
  23527. "parambeforevalue": {
  23528. "description": "参数变更前(调整前参数值)",
  23529. "type": "number"
  23530. },
  23531. "reckondate": {
  23532. "description": "交易日(reckondate)",
  23533. "type": "string"
  23534. },
  23535. "tradedate": {
  23536. "description": "交易日(yyyyMMdd)",
  23537. "type": "string"
  23538. }
  23539. }
  23540. },
  23541. "models.Ermcp3ExpourseReport": {
  23542. "type": "object",
  23543. "properties": {
  23544. "accountid": {
  23545. "description": "期货账户ID (作废, 默认为0)",
  23546. "type": "integer"
  23547. },
  23548. "accountname": {
  23549. "description": "机构名称",
  23550. "type": "string"
  23551. },
  23552. "arbitrageqty": {
  23553. "description": "套利量",
  23554. "type": "number"
  23555. },
  23556. "areauserid": {
  23557. "description": "所属机构\\交易用户ID",
  23558. "type": "integer"
  23559. },
  23560. "begindate": {
  23561. "description": "开始交易日",
  23562. "type": "string"
  23563. },
  23564. "buyfutureqty": {
  23565. "description": "买入期货数量",
  23566. "type": "number"
  23567. },
  23568. "buyplanqty": {
  23569. "description": "采购计划数量",
  23570. "type": "number"
  23571. },
  23572. "buypricedqty": {
  23573. "description": "采购合同已定价数量",
  23574. "type": "number"
  23575. },
  23576. "cycletime": {
  23577. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  23578. "type": "string"
  23579. },
  23580. "cycletype": {
  23581. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  23582. "type": "integer"
  23583. },
  23584. "diffexposure": {
  23585. "description": "变动量(套保敞口)",
  23586. "type": "number"
  23587. },
  23588. "difffutuqty": {
  23589. "description": "变动量(期货)",
  23590. "type": "number"
  23591. },
  23592. "diffhedgeqty": {
  23593. "description": "变动量(现货应套保总量)",
  23594. "type": "number"
  23595. },
  23596. "diffmgqtya": {
  23597. "description": "套保变动量",
  23598. "type": "number"
  23599. },
  23600. "diffmgqtyb": {
  23601. "description": "套利变动量",
  23602. "type": "number"
  23603. },
  23604. "diffneedqty": {
  23605. "description": "应套变动量 = 应套保量 - 期初应套保量 + 应套利量 - 期初应套利量",
  23606. "type": "number"
  23607. },
  23608. "diffqty": {
  23609. "description": "变动量(总敞口)",
  23610. "type": "number"
  23611. },
  23612. "diffspotqty": {
  23613. "description": "变动量(现货) | 除税变动量",
  23614. "type": "number"
  23615. },
  23616. "enddate": {
  23617. "description": "结束交易日",
  23618. "type": "string"
  23619. },
  23620. "enumdicname": {
  23621. "description": "单位名称",
  23622. "type": "string"
  23623. },
  23624. "hedgeqty": {
  23625. "description": "套保量",
  23626. "type": "number"
  23627. },
  23628. "mgneedhedgeratio": {
  23629. "description": "套保比例(套保品的)",
  23630. "type": "number"
  23631. },
  23632. "middlegoodsid": {
  23633. "description": "套保品种ID",
  23634. "type": "integer"
  23635. },
  23636. "middlegoodsname": {
  23637. "description": "套保商品名称",
  23638. "type": "string"
  23639. },
  23640. "middlgoodscode": {
  23641. "description": "套保商品代码",
  23642. "type": "string"
  23643. },
  23644. "needarbitrageqty": {
  23645. "description": "应套利量",
  23646. "type": "number"
  23647. },
  23648. "needarbitrageratio": {
  23649. "description": "套利比例(套保品的)",
  23650. "type": "number"
  23651. },
  23652. "needhedgeexposoure": {
  23653. "description": "应套保敞口(套保敞口)",
  23654. "type": "number"
  23655. },
  23656. "needhedgeqty": {
  23657. "description": "应套保量",
  23658. "type": "number"
  23659. },
  23660. "needhedgeratio": {
  23661. "description": "应套保敞口比例",
  23662. "type": "number"
  23663. },
  23664. "needqty": {
  23665. "description": "应套总量 = 应套保量 + 应套利量",
  23666. "type": "number"
  23667. },
  23668. "oriarbitrageqty": {
  23669. "description": "期初套利量",
  23670. "type": "number"
  23671. },
  23672. "oribuyfutureqty": {
  23673. "description": "期初买入期货数量",
  23674. "type": "number"
  23675. },
  23676. "oribuyplanqty": {
  23677. "description": "期初采购计划数量",
  23678. "type": "number"
  23679. },
  23680. "oribuypricedqty": {
  23681. "description": "期初采购合同已定价数量",
  23682. "type": "number"
  23683. },
  23684. "orihedgeqty": {
  23685. "description": "期初套保量",
  23686. "type": "number"
  23687. },
  23688. "orineedarbitrageqty": {
  23689. "description": "期初应套利量",
  23690. "type": "number"
  23691. },
  23692. "orineedhedgeexposoure": {
  23693. "description": "期初应套保敞口",
  23694. "type": "number"
  23695. },
  23696. "orineedhedgeqty": {
  23697. "description": "期初应套保量",
  23698. "type": "number"
  23699. },
  23700. "orisellfutureqty": {
  23701. "description": "期初卖出期货数量",
  23702. "type": "number"
  23703. },
  23704. "orisellplanqty": {
  23705. "description": "期初销售计划数量",
  23706. "type": "number"
  23707. },
  23708. "orisellpricedqty": {
  23709. "description": "期初销售合同已定价数量",
  23710. "type": "number"
  23711. },
  23712. "oritotalexposure": {
  23713. "description": "期初实时总敞口",
  23714. "type": "number"
  23715. },
  23716. "oritotalfutureqty": {
  23717. "description": "期初期货头寸总量",
  23718. "type": "number"
  23719. },
  23720. "oritotalneedhedgeqty": {
  23721. "description": "期初应套保总量",
  23722. "type": "number"
  23723. },
  23724. "oritotalspotqty": {
  23725. "description": "期初现货头寸总量",
  23726. "type": "number"
  23727. },
  23728. "reckondate": {
  23729. "description": "日照时期(yyyyMMdd)",
  23730. "type": "string"
  23731. },
  23732. "sellfutureqty": {
  23733. "description": "卖出期货数量",
  23734. "type": "number"
  23735. },
  23736. "sellplanqty": {
  23737. "description": "销售计划数量",
  23738. "type": "number"
  23739. },
  23740. "sellpricedqty": {
  23741. "description": "销售合同已定价数量",
  23742. "type": "number"
  23743. },
  23744. "totalexposure": {
  23745. "description": "实时总敞口(总敞口)",
  23746. "type": "number"
  23747. },
  23748. "totalfutureqty": {
  23749. "description": "期货头寸总量(期货总量)",
  23750. "type": "number"
  23751. },
  23752. "totalhedgeratio": {
  23753. "description": "敞口比例",
  23754. "type": "number"
  23755. },
  23756. "totalneedhedgeqty": {
  23757. "description": "应套保总量(现货应套保总量)",
  23758. "type": "number"
  23759. },
  23760. "totalspotqty": {
  23761. "description": "现货头寸总量 | 除税总量",
  23762. "type": "number"
  23763. },
  23764. "unitid": {
  23765. "description": "单位id",
  23766. "type": "integer"
  23767. },
  23768. "updatetime": {
  23769. "description": "更新时间",
  23770. "type": "string"
  23771. }
  23772. }
  23773. },
  23774. "models.Ermcp3FinanceReport": {
  23775. "type": "object",
  23776. "properties": {
  23777. "accountname": {
  23778. "description": "机构名称",
  23779. "type": "string"
  23780. },
  23781. "areauserid": {
  23782. "description": "所属机构\\交易用户ID",
  23783. "type": "integer"
  23784. },
  23785. "begindate": {
  23786. "description": "开始交易日",
  23787. "type": "string"
  23788. },
  23789. "biztype": {
  23790. "description": "业务类型 - 1:套保 2:套利",
  23791. "type": "integer"
  23792. },
  23793. "brandname": {
  23794. "description": "品牌名称",
  23795. "type": "string"
  23796. },
  23797. "buypreinvoicedamount": {
  23798. "description": "采购预收票额(预收票额)",
  23799. "type": "number"
  23800. },
  23801. "buyprepaidamount": {
  23802. "description": "采购预付款额(预付货款额)",
  23803. "type": "number"
  23804. },
  23805. "buytodayinvoiceamount": {
  23806. "description": "采购今收票额(今收票额)",
  23807. "type": "number"
  23808. },
  23809. "buytodayrefundamount": {
  23810. "description": "采购今收退款额(今收退款额)",
  23811. "type": "number"
  23812. },
  23813. "buytodaysettleamount": {
  23814. "description": "采购今付款额(今付货款额)",
  23815. "type": "number"
  23816. },
  23817. "buyuninvoicedamount": {
  23818. "description": "采购应收票额(应收票额)",
  23819. "type": "number"
  23820. },
  23821. "buyunpaidamount": {
  23822. "description": "采购应付款额(应付货款额)",
  23823. "type": "number"
  23824. },
  23825. "currencyid": {
  23826. "description": "结算币种ID",
  23827. "type": "integer"
  23828. },
  23829. "currencyname": {
  23830. "description": "币种名称",
  23831. "type": "string"
  23832. },
  23833. "cycletime": {
  23834. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  23835. "type": "string"
  23836. },
  23837. "cycletype": {
  23838. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  23839. "type": "integer"
  23840. },
  23841. "deliverygoodscode": {
  23842. "description": "现货品种代码",
  23843. "type": "string"
  23844. },
  23845. "deliverygoodsid": {
  23846. "description": "现货品种ID",
  23847. "type": "integer"
  23848. },
  23849. "deliverygoodsname": {
  23850. "description": "现货品种名称",
  23851. "type": "string"
  23852. },
  23853. "enddate": {
  23854. "description": "结束交易日",
  23855. "type": "string"
  23856. },
  23857. "reckondate": {
  23858. "description": "日照时期(yyyyMMdd)",
  23859. "type": "string"
  23860. },
  23861. "sellpreinvoicedamount": {
  23862. "description": "销售预开票额(预开票额)",
  23863. "type": "number"
  23864. },
  23865. "sellprepaidamount": {
  23866. "description": "销售预收款额(预收货款额)",
  23867. "type": "number"
  23868. },
  23869. "selltodayinvoiceamount": {
  23870. "description": "销售今开票额(今开票额)",
  23871. "type": "number"
  23872. },
  23873. "selltodayrefundamount": {
  23874. "description": "销售今付退款额(今付退款额)",
  23875. "type": "number"
  23876. },
  23877. "selltodaysettleamount": {
  23878. "description": "销售今收款额(今收货款额)",
  23879. "type": "number"
  23880. },
  23881. "selluninvoicedamount": {
  23882. "description": "销售应开票额(应开票额)",
  23883. "type": "number"
  23884. },
  23885. "sellunpaidamount": {
  23886. "description": "销售应收款额(应收货款额)",
  23887. "type": "number"
  23888. },
  23889. "spotgoodsbrandid": {
  23890. "description": "现货品牌ID",
  23891. "type": "integer"
  23892. },
  23893. "todaypaysum": {
  23894. "description": "今付款合计",
  23895. "type": "number"
  23896. },
  23897. "todayreceivesum": {
  23898. "description": "今收款合计",
  23899. "type": "number"
  23900. },
  23901. "updatetime": {
  23902. "description": "更新时间",
  23903. "type": "string"
  23904. },
  23905. "wrfactortypeid": {
  23906. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  23907. "type": "integer"
  23908. },
  23909. "wrstandardcode": {
  23910. "description": "品类代码",
  23911. "type": "string"
  23912. },
  23913. "wrstandardid": {
  23914. "description": "现货商品ID",
  23915. "type": "integer"
  23916. },
  23917. "wrstandardname": {
  23918. "description": "品类名称",
  23919. "type": "string"
  23920. }
  23921. }
  23922. },
  23923. "models.Ermcp3GoodsGroup": {
  23924. "type": "object",
  23925. "required": [
  23926. "areauserid"
  23927. ],
  23928. "properties": {
  23929. "agreeunit": {
  23930. "description": "合约单位",
  23931. "type": "number"
  23932. },
  23933. "areauserid": {
  23934. "description": "所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)",
  23935. "type": "integer"
  23936. },
  23937. "canshort": {
  23938. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  23939. "type": "integer"
  23940. },
  23941. "closepricemode": {
  23942. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  23943. "type": "integer"
  23944. },
  23945. "createtime": {
  23946. "description": "创建时间",
  23947. "type": "string"
  23948. },
  23949. "creatorid": {
  23950. "description": "创建人",
  23951. "type": "integer"
  23952. },
  23953. "currencyid": {
  23954. "description": "报价货币ID",
  23955. "type": "integer"
  23956. },
  23957. "decimalplace": {
  23958. "description": "报价小数位",
  23959. "type": "integer"
  23960. },
  23961. "enumdicname": {
  23962. "description": "单位名称",
  23963. "type": "string"
  23964. },
  23965. "exchangefullname": {
  23966. "description": "交易所全称",
  23967. "type": "string"
  23968. },
  23969. "excludecfg": {
  23970. "description": "排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除",
  23971. "type": "integer"
  23972. },
  23973. "exexchangecode": {
  23974. "description": "交易所代码",
  23975. "type": "string"
  23976. },
  23977. "exexchangeid": {
  23978. "description": "外部交易所ID[通道交易]",
  23979. "type": "integer"
  23980. },
  23981. "exexchangename": {
  23982. "description": "交易所名称",
  23983. "type": "string"
  23984. },
  23985. "goodsgroupid": {
  23986. "description": "商品组ID(自增ID)",
  23987. "type": "integer"
  23988. },
  23989. "goodsgroupname": {
  23990. "description": "商品组名称",
  23991. "type": "string"
  23992. },
  23993. "goodsgroupstatus": {
  23994. "description": "商品组状态 - 1:正常 2:注销",
  23995. "type": "integer"
  23996. },
  23997. "goodunitid": {
  23998. "description": "报价单位ID",
  23999. "type": "integer"
  24000. },
  24001. "groupcategroyid": {
  24002. "description": "品种分类ID",
  24003. "type": "integer"
  24004. },
  24005. "innerdealmode": {
  24006. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  24007. "type": "integer"
  24008. },
  24009. "marketid": {
  24010. "description": "所属市场ID",
  24011. "type": "integer"
  24012. },
  24013. "modifierid": {
  24014. "description": "修改人",
  24015. "type": "integer"
  24016. },
  24017. "modifytime": {
  24018. "description": "修改时间",
  24019. "type": "string"
  24020. },
  24021. "outerdealmode": {
  24022. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  24023. "type": "integer"
  24024. },
  24025. "outergroupcode": {
  24026. "description": "外部商品组代码[通道交易]",
  24027. "type": "string"
  24028. },
  24029. "quoteminunit": {
  24030. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  24031. "type": "integer"
  24032. },
  24033. "quotesourcegroupid": {
  24034. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  24035. "type": "integer"
  24036. },
  24037. "syncgoodsqty": {
  24038. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  24039. "type": "integer"
  24040. }
  24041. }
  24042. },
  24043. "models.Ermcp3HPMiddleGoods": {
  24044. "type": "object",
  24045. "properties": {
  24046. "biztype": {
  24047. "description": "业务类型 1:套保 2:套利",
  24048. "type": "integer"
  24049. },
  24050. "contracttype": {
  24051. "description": "合同类型 1:采购 -1:销售",
  24052. "type": "integer"
  24053. },
  24054. "convertratio": {
  24055. "description": "折算系数",
  24056. "type": "number"
  24057. },
  24058. "customername": {
  24059. "description": "对手手名称",
  24060. "type": "string"
  24061. },
  24062. "customeruserid": {
  24063. "description": "对手id",
  24064. "type": "integer"
  24065. },
  24066. "enumdicname": {
  24067. "description": "现货单位名称",
  24068. "type": "string"
  24069. },
  24070. "hedgeplanid": {
  24071. "description": "计划id",
  24072. "type": "string"
  24073. },
  24074. "hedgeplanno": {
  24075. "description": "计划编号",
  24076. "type": "string"
  24077. },
  24078. "middlegoodsid": {
  24079. "description": "套保品种ID",
  24080. "type": "integer"
  24081. },
  24082. "middlegoodsplanqty3": {
  24083. "description": "应套保计划量",
  24084. "type": "number"
  24085. },
  24086. "needhedgeratio": {
  24087. "description": "套保比例",
  24088. "type": "number"
  24089. },
  24090. "pricedqty": {
  24091. "description": "已定价量",
  24092. "type": "number"
  24093. },
  24094. "relatedmiddlegoodsqty": {
  24095. "description": "已关联量(套保品种)(期货)",
  24096. "type": "number"
  24097. },
  24098. "unitid": {
  24099. "description": "现货单位id",
  24100. "type": "integer"
  24101. },
  24102. "userid": {
  24103. "description": "用户id",
  24104. "type": "integer"
  24105. },
  24106. "vatrate": {
  24107. "description": "增值税率",
  24108. "type": "number"
  24109. },
  24110. "wrstandardcode": {
  24111. "description": "现货商品代码",
  24112. "type": "string"
  24113. },
  24114. "wrstandardid": {
  24115. "description": "现货商品id",
  24116. "type": "integer"
  24117. },
  24118. "wrstandardname": {
  24119. "description": "现货商品名称",
  24120. "type": "string"
  24121. }
  24122. }
  24123. },
  24124. "models.Ermcp3HedgePlan": {
  24125. "type": "object",
  24126. "properties": {
  24127. "accountid": {
  24128. "description": "资金账号",
  24129. "type": "integer"
  24130. },
  24131. "areauserid": {
  24132. "description": "用户ID",
  24133. "type": "integer"
  24134. },
  24135. "auditid": {
  24136. "description": "审核id",
  24137. "type": "integer"
  24138. },
  24139. "auditname": {
  24140. "description": "审核人名称",
  24141. "type": "string"
  24142. },
  24143. "auditremark": {
  24144. "description": "审核备注",
  24145. "type": "string"
  24146. },
  24147. "auditsrc": {
  24148. "description": "审核来源 1-管理端 2-终端",
  24149. "type": "integer"
  24150. },
  24151. "audittime": {
  24152. "description": "审核时间",
  24153. "type": "string"
  24154. },
  24155. "contracttype": {
  24156. "description": "计划类型 - 1:采购 -1:销售",
  24157. "type": "integer"
  24158. },
  24159. "convertfactor": {
  24160. "description": "标仓系数",
  24161. "type": "number"
  24162. },
  24163. "createtime": {
  24164. "description": "创建时间",
  24165. "type": "string"
  24166. },
  24167. "currencyid": {
  24168. "description": "币种id",
  24169. "type": "integer"
  24170. },
  24171. "currencyname": {
  24172. "description": "币种名称",
  24173. "type": "string"
  24174. },
  24175. "deliverygoodscode": {
  24176. "description": "现货品种代码",
  24177. "type": "string"
  24178. },
  24179. "deliverygoodsid": {
  24180. "description": "现货品种ID",
  24181. "type": "integer"
  24182. },
  24183. "deliverygoodsname": {
  24184. "description": "现货品种名称",
  24185. "type": "string"
  24186. },
  24187. "enumdicname": {
  24188. "description": "单位名称(现货商品)",
  24189. "type": "string"
  24190. },
  24191. "hedgeplanid": {
  24192. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  24193. "type": "string"
  24194. },
  24195. "hedgeplanno": {
  24196. "description": "套保计划编号(名称)",
  24197. "type": "string"
  24198. },
  24199. "hedgeplanstatus": {
  24200. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  24201. "type": "integer"
  24202. },
  24203. "planqty": {
  24204. "description": "计划数量",
  24205. "type": "number"
  24206. },
  24207. "plantime": {
  24208. "description": "计划时间",
  24209. "type": "string"
  24210. },
  24211. "producttype": {
  24212. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  24213. "type": "integer"
  24214. },
  24215. "remark": {
  24216. "description": "备注",
  24217. "type": "string"
  24218. },
  24219. "spotgoodsdesc": {
  24220. "description": "商品型号",
  24221. "type": "string"
  24222. },
  24223. "taaccountname": {
  24224. "description": "资金账号名称",
  24225. "type": "string"
  24226. },
  24227. "tradeuserid": {
  24228. "description": "交易用户id",
  24229. "type": "integer"
  24230. },
  24231. "tradeusername": {
  24232. "description": "交易用户名称",
  24233. "type": "string"
  24234. },
  24235. "unitid": {
  24236. "description": "单位id(现货商品)",
  24237. "type": "integer"
  24238. },
  24239. "updatetime": {
  24240. "description": "更新时间",
  24241. "type": "string"
  24242. },
  24243. "vatrate": {
  24244. "description": "增值税率",
  24245. "type": "number"
  24246. },
  24247. "wrstandardcode": {
  24248. "description": "品类代码",
  24249. "type": "string"
  24250. },
  24251. "wrstandardid": {
  24252. "description": "品类id",
  24253. "type": "integer"
  24254. },
  24255. "wrstandardname": {
  24256. "description": "品类名称",
  24257. "type": "string"
  24258. },
  24259. "wrunitid": {
  24260. "description": "品类单位id",
  24261. "type": "integer"
  24262. },
  24263. "wrunitidame": {
  24264. "description": "品类单位名称",
  24265. "type": "string"
  24266. }
  24267. }
  24268. },
  24269. "models.Ermcp3InnerTradeLink": {
  24270. "type": "object",
  24271. "properties": {
  24272. "accountid": {
  24273. "description": "期货账号代码 | 资金账号ID",
  24274. "type": "integer"
  24275. },
  24276. "buyorsell": {
  24277. "description": "方向 - 0:买 1:卖",
  24278. "type": "integer"
  24279. },
  24280. "channelbuildtype": {
  24281. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  24282. "type": "integer"
  24283. },
  24284. "currencyid": {
  24285. "description": "币种id",
  24286. "type": "integer"
  24287. },
  24288. "currencyname": {
  24289. "description": "结算币种 名称",
  24290. "type": "string"
  24291. },
  24292. "goodscode": {
  24293. "description": "商品代码",
  24294. "type": "string"
  24295. },
  24296. "goodsid": {
  24297. "description": "商品ID",
  24298. "type": "integer"
  24299. },
  24300. "goodsname": {
  24301. "description": "商品名称",
  24302. "type": "string"
  24303. },
  24304. "outtradeid": {
  24305. "description": "外部成交单号",
  24306. "type": "string"
  24307. },
  24308. "taname": {
  24309. "description": "期货账户名称",
  24310. "type": "string"
  24311. },
  24312. "tradeid": {
  24313. "description": "期货单号 | 内部成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  24314. "type": "string"
  24315. },
  24316. "tradeprice": {
  24317. "description": "成交价格",
  24318. "type": "number"
  24319. },
  24320. "tradeqty": {
  24321. "description": "期货成交数量",
  24322. "type": "integer"
  24323. },
  24324. "tradetime": {
  24325. "description": "关联时间 | 成交时间 ps:因为数据库表里没有关联时间, 所以取外部成交单的成交时间",
  24326. "type": "string"
  24327. },
  24328. "username": {
  24329. "description": "用户名称",
  24330. "type": "string"
  24331. }
  24332. }
  24333. },
  24334. "models.Ermcp3OutTradeLink": {
  24335. "type": "object",
  24336. "properties": {
  24337. "buyorsell": {
  24338. "description": "买卖方向 - 0:买 1:卖",
  24339. "type": "integer"
  24340. },
  24341. "channelbuildtype": {
  24342. "description": "开平标志- 0:无 1:建仓 2:平仓",
  24343. "type": "integer"
  24344. },
  24345. "currencyname": {
  24346. "description": "币种名称",
  24347. "type": "string"
  24348. },
  24349. "exexchangecode": {
  24350. "description": "交易所代码",
  24351. "type": "string"
  24352. },
  24353. "exexchangename": {
  24354. "description": "交易所名称",
  24355. "type": "string"
  24356. },
  24357. "goodscode": {
  24358. "description": "合约代码",
  24359. "type": "string"
  24360. },
  24361. "goodsid": {
  24362. "description": "合约id",
  24363. "type": "integer"
  24364. },
  24365. "goodsname": {
  24366. "description": "合约名称",
  24367. "type": "string"
  24368. },
  24369. "hasinnerorder": {
  24370. "description": "是否有内部单关联 - 0:无 1:有",
  24371. "type": "integer"
  24372. },
  24373. "hedgeaccountcode": {
  24374. "description": "外部账号 | 对冲账号",
  24375. "type": "string"
  24376. },
  24377. "outtradeid": {
  24378. "description": "外部订单号 | 外部成交单ID(114+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  24379. "type": "string"
  24380. },
  24381. "tradeprice": {
  24382. "description": "成交价格",
  24383. "type": "number"
  24384. },
  24385. "tradeqty": {
  24386. "description": "成交数量",
  24387. "type": "integer"
  24388. },
  24389. "tradetime": {
  24390. "description": "成交时间",
  24391. "type": "string"
  24392. }
  24393. }
  24394. },
  24395. "models.Ermcp3PaAreaAuditCfg": {
  24396. "type": "object",
  24397. "properties": {
  24398. "areauserid": {
  24399. "description": "用户ID",
  24400. "type": "integer"
  24401. },
  24402. "buyinauditflag": {
  24403. "description": "采购入库是否需要审核 - 0:不需审核 1:需要审核",
  24404. "type": "integer"
  24405. },
  24406. "costratioauditflag": {
  24407. "description": "现货商品成本权重修改是否需要审核 - 0:不需审核 1:需要审核",
  24408. "type": "integer"
  24409. },
  24410. "customerauditflag": {
  24411. "description": "客户资料是否需要审核 - 0:不需审核 1:需要审核",
  24412. "type": "integer"
  24413. },
  24414. "deliveryauditflag": {
  24415. "description": "交收是否需要审核 - 0:不需审核 1:需要审核",
  24416. "type": "integer"
  24417. },
  24418. "invoiceauditflag": {
  24419. "description": "发票是否需要审核 - 0:不需审核 1:需要审核",
  24420. "type": "integer"
  24421. },
  24422. "mgneedhedgeratioauditflag": {
  24423. "description": "套保品种套保比例修改是否需要审 - 0:不需审核 1:需要审核",
  24424. "type": "integer"
  24425. },
  24426. "moneyauditflag": {
  24427. "description": "款项是否需要审核 - 0:不需审核 1:需要审核",
  24428. "type": "integer"
  24429. },
  24430. "operatorid": {
  24431. "description": "操作人",
  24432. "type": "integer"
  24433. },
  24434. "operatorsrc": {
  24435. "description": "操作来源 - 1:管理端 2:终端",
  24436. "type": "integer"
  24437. },
  24438. "pointpriceauditflag": {
  24439. "description": "点价是否需要审核 - 0:不需审核 1:需要审核",
  24440. "type": "integer"
  24441. },
  24442. "produceinauditflag": {
  24443. "description": "生产入库是否需要审核 - 0:不需审核 1:需要审核",
  24444. "type": "integer"
  24445. },
  24446. "produceoutauditflag": {
  24447. "description": "生产出库是否需要审核 - 0:不需审核 1:需要审核",
  24448. "type": "integer"
  24449. },
  24450. "selloutauditflag": {
  24451. "description": "销售出库是否需要审核 - 0:不需审核 1:需要审核",
  24452. "type": "integer"
  24453. },
  24454. "sgconvertratioauditflag": {
  24455. "description": "现货商品折算系数修改是否需要审核 - 0:不需审核 1:需要审核",
  24456. "type": "integer"
  24457. },
  24458. "sgvtaratioauditflag": {
  24459. "description": "现货商品增值税税率修改是否需要审核 - 0:不需审核 1:需要审核",
  24460. "type": "integer"
  24461. },
  24462. "spotcontractauditflag": {
  24463. "description": "现货合同是否需要审核 - 0:不需审核 1:需要审核",
  24464. "type": "integer"
  24465. },
  24466. "updatetime": {
  24467. "description": "更新时间",
  24468. "type": "string"
  24469. }
  24470. }
  24471. },
  24472. "models.Ermcp3PaAreaSubject": {
  24473. "type": "object",
  24474. "properties": {
  24475. "areauserid": {
  24476. "description": "所属机构",
  24477. "type": "integer"
  24478. },
  24479. "canmodify": {
  24480. "description": "是否可修改 - 0:否 1:是",
  24481. "type": "integer"
  24482. },
  24483. "createtime": {
  24484. "description": "创建时间",
  24485. "type": "string"
  24486. },
  24487. "creatorid": {
  24488. "description": "创建人ID",
  24489. "type": "string"
  24490. },
  24491. "creatorsrc": {
  24492. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  24493. "type": "integer"
  24494. },
  24495. "modifierid": {
  24496. "description": "修改人",
  24497. "type": "string"
  24498. },
  24499. "modifiersrc": {
  24500. "description": "修改人来源 - 1:管理端 2:终端",
  24501. "type": "integer"
  24502. },
  24503. "modifytime": {
  24504. "description": "修改时间",
  24505. "type": "string"
  24506. },
  24507. "parentsubjectid": {
  24508. "description": "上级主体ID",
  24509. "type": "string"
  24510. },
  24511. "remark": {
  24512. "description": "备注",
  24513. "type": "string"
  24514. },
  24515. "subjectid": {
  24516. "description": "主体ID(SEQ_ERMCP_PA_AREASUBJECT)",
  24517. "type": "integer"
  24518. },
  24519. "subjectname": {
  24520. "description": "主体名称",
  24521. "type": "string"
  24522. },
  24523. "subjectstatus": {
  24524. "description": "主体状态 - 1:正常 2: 停用",
  24525. "type": "integer"
  24526. },
  24527. "subjecttype": {
  24528. "description": "主体类型 - 1:交易主体 2:业务部门",
  24529. "type": "integer"
  24530. }
  24531. }
  24532. },
  24533. "models.Ermcp3PaTradeLink": {
  24534. "type": "object",
  24535. "properties": {
  24536. "accountid": {
  24537. "description": "期货账户代码 | 账号ID",
  24538. "type": "integer"
  24539. },
  24540. "agreeunit": {
  24541. "description": "合约乘数",
  24542. "type": "number"
  24543. },
  24544. "buyorsell": {
  24545. "description": "方向 - 0:买 1:卖",
  24546. "type": "integer"
  24547. },
  24548. "channelbuildtype": {
  24549. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  24550. "type": "integer"
  24551. },
  24552. "charge": {
  24553. "description": "手续费",
  24554. "type": "number"
  24555. },
  24556. "closepl": {
  24557. "description": "平仓盈亏",
  24558. "type": "number"
  24559. },
  24560. "closetype": {
  24561. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  24562. "type": "integer"
  24563. },
  24564. "convertratio": {
  24565. "description": "折算系数",
  24566. "type": "number"
  24567. },
  24568. "enumdicname": {
  24569. "description": "单位名称",
  24570. "type": "string"
  24571. },
  24572. "executeprice": {
  24573. "description": "执行价 [期权]",
  24574. "type": "integer"
  24575. },
  24576. "goodscode": {
  24577. "description": "合约代码",
  24578. "type": "string"
  24579. },
  24580. "goodsgroupid": {
  24581. "description": "对冲品种ID[期货合约商品组ID]",
  24582. "type": "integer"
  24583. },
  24584. "goodsid": {
  24585. "description": "商品ID",
  24586. "type": "integer"
  24587. },
  24588. "goodsname": {
  24589. "description": "合约名称",
  24590. "type": "string"
  24591. },
  24592. "goodunitid": {
  24593. "description": "单位id",
  24594. "type": "integer"
  24595. },
  24596. "hedgeflag": {
  24597. "description": "投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)",
  24598. "type": "integer"
  24599. },
  24600. "marketid": {
  24601. "description": "市场ID",
  24602. "type": "integer"
  24603. },
  24604. "middlegoodsid": {
  24605. "description": "套保品种ID",
  24606. "type": "integer"
  24607. },
  24608. "middlegoodsqty": {
  24609. "description": "套保品种数量 = TradeQty * AgreeUnit * ConvertRatio",
  24610. "type": "number"
  24611. },
  24612. "optioncode": {
  24613. "description": "期权代码 [期权]",
  24614. "type": "string"
  24615. },
  24616. "ordertype": {
  24617. "description": "单据类型 - 1:期货单 2:看涨期权单 3:看跌期权单",
  24618. "type": "integer"
  24619. },
  24620. "ordertypename": {
  24621. "description": "订单类型",
  24622. "type": "string"
  24623. },
  24624. "parentaccountid": {
  24625. "description": "所属母账户",
  24626. "type": "integer"
  24627. },
  24628. "premium": {
  24629. "description": "权利金 [期权]",
  24630. "type": "number"
  24631. },
  24632. "relatedlot": {
  24633. "description": "已关联数量(已关联数量手) | db:关联手数",
  24634. "type": "number"
  24635. },
  24636. "relatedouttradeid": {
  24637. "description": "关联外部成交单ID",
  24638. "type": "string"
  24639. },
  24640. "relatedqty": {
  24641. "description": "关联数量",
  24642. "type": "number"
  24643. },
  24644. "spotcontractid": {
  24645. "description": "现货合同ID [4:套期保值\\10\\11]",
  24646. "type": "string"
  24647. },
  24648. "taname": {
  24649. "description": "期货账户名称",
  24650. "type": "string"
  24651. },
  24652. "tradeamount": {
  24653. "description": "成交金额(账户)",
  24654. "type": "number"
  24655. },
  24656. "tradedate": {
  24657. "description": "交易日(yyyyMMdd)",
  24658. "type": "string"
  24659. },
  24660. "tradeid": {
  24661. "description": "期货单号 | db:成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  24662. "type": "string"
  24663. },
  24664. "tradelot": {
  24665. "description": "成交数量(期货数量) ps:这是手数,转换为具体多少吨要乘以AGREEUNIT | db:成交手数",
  24666. "type": "integer"
  24667. },
  24668. "tradeprice": {
  24669. "description": "成交价格",
  24670. "type": "number"
  24671. },
  24672. "tradetime": {
  24673. "description": "时间 | db:成交时间",
  24674. "type": "string"
  24675. },
  24676. "tradetype": {
  24677. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  24678. "type": "integer"
  24679. },
  24680. "userid": {
  24681. "description": "所属机构 - 所属母账户的UserID",
  24682. "type": "string"
  24683. },
  24684. "username": {
  24685. "description": "用户名称",
  24686. "type": "string"
  24687. }
  24688. }
  24689. },
  24690. "models.Ermcp3ParamChangeApp": {
  24691. "type": "object",
  24692. "properties": {
  24693. "aftervalue": {
  24694. "description": "变更后",
  24695. "type": "number"
  24696. },
  24697. "applicationid": {
  24698. "description": "申请ID(619+Unix秒时间戳(10位)+xxxxxx)",
  24699. "type": "string"
  24700. },
  24701. "applyid": {
  24702. "description": "申请人",
  24703. "type": "string"
  24704. },
  24705. "applyname": {
  24706. "description": "申请人名称(代码)",
  24707. "type": "string"
  24708. },
  24709. "applyremark": {
  24710. "description": "申请备注",
  24711. "type": "string"
  24712. },
  24713. "applysrc": {
  24714. "description": "申请来源 - 1:管理端 2:终端",
  24715. "type": "integer"
  24716. },
  24717. "applystatus": {
  24718. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  24719. "type": "integer"
  24720. },
  24721. "applytime": {
  24722. "description": "申请时间",
  24723. "type": "string"
  24724. },
  24725. "areauserid": {
  24726. "description": "所属机构用户ID",
  24727. "type": "integer"
  24728. },
  24729. "auditid": {
  24730. "description": "审核人",
  24731. "type": "string"
  24732. },
  24733. "auditname": {
  24734. "description": "审核人名称(代码)",
  24735. "type": "string"
  24736. },
  24737. "auditremark": {
  24738. "description": "审核备注",
  24739. "type": "string"
  24740. },
  24741. "auditsrc": {
  24742. "description": "审核来源 - 1:管理端 2:终端",
  24743. "type": "integer"
  24744. },
  24745. "audittime": {
  24746. "description": "审核时间",
  24747. "type": "string"
  24748. },
  24749. "audittradedate": {
  24750. "description": "审核交易日(yyyyMMdd)",
  24751. "type": "string"
  24752. },
  24753. "beforevalue": {
  24754. "description": "变更前",
  24755. "type": "number"
  24756. },
  24757. "deliverygoodscode": {
  24758. "description": "品种代码",
  24759. "type": "string"
  24760. },
  24761. "deliverygoodsid": {
  24762. "description": "品种id",
  24763. "type": "integer"
  24764. },
  24765. "deliverygoodsname": {
  24766. "description": "品种名称",
  24767. "type": "string"
  24768. },
  24769. "middlegoodscode": {
  24770. "description": "套保品种代码",
  24771. "type": "string"
  24772. },
  24773. "middlegoodsid": {
  24774. "description": "套保品种ID [ParamChangeType = 2,3,4]",
  24775. "type": "integer"
  24776. },
  24777. "middlegoodsname": {
  24778. "description": "套保品种名称",
  24779. "type": "string"
  24780. },
  24781. "operatetype": {
  24782. "description": "操作类型 - 1:新增 2:修改",
  24783. "type": "integer"
  24784. },
  24785. "paramchangetype": {
  24786. "description": "参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)",
  24787. "type": "integer"
  24788. },
  24789. "wrstandardcode": {
  24790. "description": "现货商品代码",
  24791. "type": "string"
  24792. },
  24793. "wrstandardid": {
  24794. "description": "现货商品ID [ParamChangeType = 1,2,3]",
  24795. "type": "integer"
  24796. },
  24797. "wrstandardname": {
  24798. "description": "现货商品名称",
  24799. "type": "string"
  24800. }
  24801. }
  24802. },
  24803. "models.Ermcp3RootUserAccount": {
  24804. "type": "object",
  24805. "properties": {
  24806. "accountname": {
  24807. "description": "账户名称(机构名称)",
  24808. "type": "string"
  24809. },
  24810. "accountstatus": {
  24811. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  24812. "type": "integer"
  24813. },
  24814. "applysrc": {
  24815. "description": "申请来源 - 1:管理端 2:终端",
  24816. "type": "integer"
  24817. },
  24818. "auditremark": {
  24819. "description": "审核备注",
  24820. "type": "string"
  24821. },
  24822. "auditsrc": {
  24823. "description": "审核来源 - 1:管理端 2:终端",
  24824. "type": "integer"
  24825. },
  24826. "audittime": {
  24827. "description": "审核时间",
  24828. "type": "string"
  24829. },
  24830. "audituserid": {
  24831. "description": "审核人",
  24832. "type": "integer"
  24833. },
  24834. "broker": {
  24835. "description": "所属经纪人ID",
  24836. "type": "integer"
  24837. },
  24838. "canceltime": {
  24839. "description": "销户时间",
  24840. "type": "string"
  24841. },
  24842. "canceluserid": {
  24843. "description": "销户人",
  24844. "type": "integer"
  24845. },
  24846. "canrecommend": {
  24847. "description": "是否可推荐 - 0:不可 1;可",
  24848. "type": "integer"
  24849. },
  24850. "createtime": {
  24851. "description": "创建时间",
  24852. "type": "string"
  24853. },
  24854. "creatorid": {
  24855. "description": "创建人",
  24856. "type": "integer"
  24857. },
  24858. "hasauth": {
  24859. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  24860. "type": "integer"
  24861. },
  24862. "isanonymous": {
  24863. "description": "是否匿名下单 - 0:否 1:是",
  24864. "type": "integer"
  24865. },
  24866. "maxinvestornum": {
  24867. "description": "最大用户数(经纪会员下投资者个数)",
  24868. "type": "integer"
  24869. },
  24870. "memberuserid": {
  24871. "description": "所属会员ID",
  24872. "type": "integer"
  24873. },
  24874. "modifierid": {
  24875. "description": "修改人",
  24876. "type": "integer"
  24877. },
  24878. "modifyremark": {
  24879. "description": "变更备注",
  24880. "type": "string"
  24881. },
  24882. "modifystatus": {
  24883. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  24884. "type": "integer"
  24885. },
  24886. "modifytime": {
  24887. "description": "修改时间",
  24888. "type": "string"
  24889. },
  24890. "nickname": {
  24891. "description": "昵称",
  24892. "type": "string"
  24893. },
  24894. "parenttopuser": {
  24895. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  24896. "type": "string"
  24897. },
  24898. "parentuserid": {
  24899. "description": "所属机构ID",
  24900. "type": "integer"
  24901. },
  24902. "reckonaccountid": {
  24903. "description": "默认结算资金账号ID(机构分润使用) 作废",
  24904. "type": "integer"
  24905. },
  24906. "refercount": {
  24907. "description": "推荐总人数",
  24908. "type": "integer"
  24909. },
  24910. "refereeuserid": {
  24911. "description": "推荐人ID",
  24912. "type": "integer"
  24913. },
  24914. "refernum": {
  24915. "description": "推荐码",
  24916. "type": "string"
  24917. },
  24918. "rootuserid": {
  24919. "description": "根用户ID",
  24920. "type": "integer"
  24921. },
  24922. "subaccountlevel": {
  24923. "description": "子账户层数",
  24924. "type": "integer"
  24925. },
  24926. "subarealevelpath": {
  24927. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  24928. "type": "string"
  24929. },
  24930. "userid": {
  24931. "description": "用户ID",
  24932. "type": "integer"
  24933. },
  24934. "usertype": {
  24935. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  24936. "type": "integer"
  24937. }
  24938. }
  24939. },
  24940. "models.Ermcp3SCMiddleGoods": {
  24941. "type": "object",
  24942. "properties": {
  24943. "biztype": {
  24944. "description": "业务类型 1:套保 2:套利",
  24945. "type": "integer"
  24946. },
  24947. "contractno": {
  24948. "description": "合同编号",
  24949. "type": "string"
  24950. },
  24951. "contracttype": {
  24952. "description": "合同类型 1:采购 -1:销售",
  24953. "type": "integer"
  24954. },
  24955. "convertratio": {
  24956. "description": "折算系数",
  24957. "type": "number"
  24958. },
  24959. "customername": {
  24960. "description": "对手手名称",
  24961. "type": "string"
  24962. },
  24963. "customeruserid": {
  24964. "description": "对手id",
  24965. "type": "integer"
  24966. },
  24967. "deliverygoodscode": {
  24968. "description": "现货品种代码",
  24969. "type": "string"
  24970. },
  24971. "deliverygoodsid": {
  24972. "description": "现货品种ID",
  24973. "type": "integer"
  24974. },
  24975. "deliverygoodsname": {
  24976. "description": "现货品种名称",
  24977. "type": "string"
  24978. },
  24979. "enumdicname": {
  24980. "description": "现货单位名称",
  24981. "type": "string"
  24982. },
  24983. "middlegoodsid": {
  24984. "description": "套保品种ID",
  24985. "type": "integer"
  24986. },
  24987. "middlegoodspricedqty3": {
  24988. "description": "应套保数量 = MiddleGoodsPricedQty2 * 套保比率",
  24989. "type": "number"
  24990. },
  24991. "needhedgeratio": {
  24992. "description": "套保比例",
  24993. "type": "number"
  24994. },
  24995. "pricedqty": {
  24996. "description": "已定价量",
  24997. "type": "number"
  24998. },
  24999. "relatedmiddlegoodsqty": {
  25000. "description": "已关联量(套保品种)(期货)",
  25001. "type": "number"
  25002. },
  25003. "spotcontractid": {
  25004. "description": "合同编号",
  25005. "type": "string"
  25006. },
  25007. "unitid": {
  25008. "description": "现货单位id",
  25009. "type": "integer"
  25010. },
  25011. "userid": {
  25012. "description": "用户id",
  25013. "type": "integer"
  25014. },
  25015. "vatrate": {
  25016. "description": "增值税率",
  25017. "type": "number"
  25018. },
  25019. "wrstandardcode": {
  25020. "description": "现货商品代码",
  25021. "type": "string"
  25022. },
  25023. "wrstandardid": {
  25024. "description": "现货商品id",
  25025. "type": "integer"
  25026. },
  25027. "wrstandardname": {
  25028. "description": "现货商品名称",
  25029. "type": "string"
  25030. }
  25031. }
  25032. },
  25033. "models.Ermcp3SCMiddleGoodsReport": {
  25034. "type": "object",
  25035. "properties": {
  25036. "begindate": {
  25037. "description": "开始交易日",
  25038. "type": "string"
  25039. },
  25040. "contractno": {
  25041. "description": "合同编号",
  25042. "type": "string"
  25043. },
  25044. "contracttype": {
  25045. "description": "合同类型 1:采购 -1:销售",
  25046. "type": "integer"
  25047. },
  25048. "convertratio": {
  25049. "description": "折算系数",
  25050. "type": "number"
  25051. },
  25052. "cycletime": {
  25053. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  25054. "type": "string"
  25055. },
  25056. "cycletype": {
  25057. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  25058. "type": "integer"
  25059. },
  25060. "deliverygoodscode": {
  25061. "description": "品种代码",
  25062. "type": "string"
  25063. },
  25064. "deliverygoodsid": {
  25065. "description": "现货品种ID",
  25066. "type": "integer"
  25067. },
  25068. "deliverygoodsname": {
  25069. "description": "品种名称",
  25070. "type": "string"
  25071. },
  25072. "diffprice": {
  25073. "description": "现期价格差 = 今日点价登记均价(基价) - 今日期货成交均价",
  25074. "type": "number"
  25075. },
  25076. "diffqty": {
  25077. "description": "期现数量差 = 套保计划量 - 今日期货关联成交量",
  25078. "type": "number"
  25079. },
  25080. "enddate": {
  25081. "description": "结束交易日",
  25082. "type": "string"
  25083. },
  25084. "hedgeplanqty": {
  25085. "description": "套保计划量 = TodayPricedQty * 折算系数 * (1/(1+增值税率)) * 套保比例",
  25086. "type": "number"
  25087. },
  25088. "matchname": {
  25089. "description": "交易对手方(个人:用户名称 企业:简称)",
  25090. "type": "string"
  25091. },
  25092. "matchnickname": {
  25093. "description": "交易对手方昵称",
  25094. "type": "string"
  25095. },
  25096. "middlegoodscode": {
  25097. "description": "套保品种代码",
  25098. "type": "string"
  25099. },
  25100. "middlegoodsid": {
  25101. "description": "套保品种ID",
  25102. "type": "integer"
  25103. },
  25104. "middlegoodsname": {
  25105. "description": "套保品种名称",
  25106. "type": "string"
  25107. },
  25108. "middlegoodspricedqty": {
  25109. "description": "已定价量(套保品种 - 税前) = PricedQty * 折算系数",
  25110. "type": "number"
  25111. },
  25112. "middlegoodspricedqty2": {
  25113. "description": "已定价量(套保品种- 税后) = MiddleGoodsPricedQty * (1/(1+增值税率))",
  25114. "type": "number"
  25115. },
  25116. "middlegoodspricedqty3": {
  25117. "description": "已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率",
  25118. "type": "number"
  25119. },
  25120. "needhedgeratio": {
  25121. "description": "套保系数",
  25122. "type": "number"
  25123. },
  25124. "pricedamount": {
  25125. "description": "已定价额(现货)",
  25126. "type": "number"
  25127. },
  25128. "pricedamount2": {
  25129. "description": "已定价额(现货-基价额)",
  25130. "type": "number"
  25131. },
  25132. "pricedqty": {
  25133. "description": "已定价量(现货)",
  25134. "type": "number"
  25135. },
  25136. "reckondate": {
  25137. "description": "日照时期(yyyyMMdd)",
  25138. "type": "string"
  25139. },
  25140. "relatedmiddlegoodsamount": {
  25141. "description": "已关联额(期货)",
  25142. "type": "number"
  25143. },
  25144. "relatedmiddlegoodsqty": {
  25145. "description": "已关联量(套保品种)(期货)",
  25146. "type": "number"
  25147. },
  25148. "spotcontractid": {
  25149. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  25150. "type": "string"
  25151. },
  25152. "todayavgfutuprice": {
  25153. "description": "今日期货成交均价 = TodayRelatedMiddleGoodsAmount /todayrelatedfutureqty",
  25154. "type": "number"
  25155. },
  25156. "todayavgprice": {
  25157. "description": "今日定价均价 = TodayPricedAmount / TodayPricedQty",
  25158. "type": "number"
  25159. },
  25160. "todayavgprice2": {
  25161. "description": "今日点价登记均价(基价) = TodayPricedAmount2 / TodayPricedQty",
  25162. "type": "number"
  25163. },
  25164. "todaypricedamount": {
  25165. "description": "今日定价额(现货)",
  25166. "type": "number"
  25167. },
  25168. "todaypricedamount2": {
  25169. "description": "今日定价额(现货-基价额)",
  25170. "type": "number"
  25171. },
  25172. "todaypricedqty": {
  25173. "description": "今日定价量(现货)",
  25174. "type": "number"
  25175. },
  25176. "todayrelatedfutureqty": {
  25177. "description": "今日关联量(期货)",
  25178. "type": "number"
  25179. },
  25180. "todayrelatedmiddlegoodsamount": {
  25181. "description": "今日关联额(期货)",
  25182. "type": "number"
  25183. },
  25184. "todayrelatedmiddlegoodsqty": {
  25185. "description": "今日关联量(套保品-期货)",
  25186. "type": "number"
  25187. },
  25188. "updatetime": {
  25189. "description": "更新时间",
  25190. "type": "string"
  25191. },
  25192. "userid": {
  25193. "description": "合同所属用户id",
  25194. "type": "integer"
  25195. },
  25196. "vatrate": {
  25197. "description": "增值税率",
  25198. "type": "number"
  25199. },
  25200. "wrstandardcode": {
  25201. "description": "商品(品类) 代码",
  25202. "type": "string"
  25203. },
  25204. "wrstandardid": {
  25205. "description": "现货商品ID",
  25206. "type": "integer"
  25207. },
  25208. "wrstandardname": {
  25209. "description": "商品(品类) 名称",
  25210. "type": "string"
  25211. }
  25212. }
  25213. },
  25214. "models.Ermcp3SellBuyContract": {
  25215. "type": "object",
  25216. "properties": {
  25217. "accountid": {
  25218. "description": "期货账户id",
  25219. "type": "string"
  25220. },
  25221. "accountname": {
  25222. "description": "账户名称",
  25223. "type": "string"
  25224. },
  25225. "attachment": {
  25226. "description": "附件",
  25227. "type": "string"
  25228. },
  25229. "audittime": {
  25230. "description": "审核时间",
  25231. "type": "string"
  25232. },
  25233. "bizsubjectid": {
  25234. "description": "归属业务部门ID - SubjectID",
  25235. "type": "integer"
  25236. },
  25237. "biztype": {
  25238. "description": "业务类型 1-套保 2-套利",
  25239. "type": "integer"
  25240. },
  25241. "brandname": {
  25242. "description": "品牌名称",
  25243. "type": "string"
  25244. },
  25245. "contracctstatus": {
  25246. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  25247. "type": "integer"
  25248. },
  25249. "contractmargin": {
  25250. "description": "合同保证金",
  25251. "type": "number"
  25252. },
  25253. "contractno": {
  25254. "description": "合同编号",
  25255. "type": "string"
  25256. },
  25257. "contracttype": {
  25258. "description": "合同类型 1-采购, -1-销售",
  25259. "type": "integer"
  25260. },
  25261. "convertfactor": {
  25262. "description": "标仓系数(品类)",
  25263. "type": "number"
  25264. },
  25265. "createtime": {
  25266. "description": "创建时间",
  25267. "type": "string"
  25268. },
  25269. "currencyid": {
  25270. "description": "币种id",
  25271. "type": "integer"
  25272. },
  25273. "currencyname": {
  25274. "description": "币种名称",
  25275. "type": "string"
  25276. },
  25277. "daikaiamount": {
  25278. "description": "应收(开)票额 | 未收票额",
  25279. "type": "number"
  25280. },
  25281. "deliveryenddate": {
  25282. "description": "交割结束日",
  25283. "type": "string"
  25284. },
  25285. "deliverygoodscode": {
  25286. "description": "现货品种代码",
  25287. "type": "string"
  25288. },
  25289. "deliverygoodsid": {
  25290. "description": "现货商品ID",
  25291. "type": "integer"
  25292. },
  25293. "deliverygoodsname": {
  25294. "description": "现货品种名称",
  25295. "type": "string"
  25296. },
  25297. "deliverystartdate": {
  25298. "description": "交割开始日",
  25299. "type": "string"
  25300. },
  25301. "enddate": {
  25302. "description": "点价结束日",
  25303. "type": "string"
  25304. },
  25305. "enumdicname": {
  25306. "description": "单位名称",
  25307. "type": "string"
  25308. },
  25309. "goodscode": {
  25310. "description": "点价商品代码",
  25311. "type": "string"
  25312. },
  25313. "goodsgroupid": {
  25314. "description": "点价商品组id",
  25315. "type": "integer"
  25316. },
  25317. "goodsid": {
  25318. "description": "点价商品ID",
  25319. "type": "integer"
  25320. },
  25321. "goodsname": {
  25322. "description": "点价商品名称",
  25323. "type": "string"
  25324. },
  25325. "invoiceamount": {
  25326. "description": "已开票额",
  25327. "type": "number"
  25328. },
  25329. "loanamount": {
  25330. "description": "贷款总额=已定价额+调整金额",
  25331. "type": "number"
  25332. },
  25333. "margin": {
  25334. "description": "保证金",
  25335. "type": "number"
  25336. },
  25337. "meruserid": {
  25338. "description": "跟单员id",
  25339. "type": "integer"
  25340. },
  25341. "meruserlogincode": {
  25342. "description": "跟单员登录代码",
  25343. "type": "string"
  25344. },
  25345. "merusername": {
  25346. "description": "跟单员名称",
  25347. "type": "string"
  25348. },
  25349. "nickname": {
  25350. "description": "账户昵称",
  25351. "type": "string"
  25352. },
  25353. "orireckonrealqty": {
  25354. "description": "应交收量",
  25355. "type": "number"
  25356. },
  25357. "payamount": {
  25358. "description": "已收付额(收款或付款)",
  25359. "type": "number"
  25360. },
  25361. "preinvoiceamount": {
  25362. "description": "预收(开)票额",
  25363. "type": "number"
  25364. },
  25365. "prepayamount": {
  25366. "description": "预收付额",
  25367. "type": "number"
  25368. },
  25369. "price": {
  25370. "description": "价格",
  25371. "type": "number"
  25372. },
  25373. "pricedamount": {
  25374. "description": "已定价额",
  25375. "type": "number"
  25376. },
  25377. "pricedavg": {
  25378. "description": "已点均价",
  25379. "type": "number"
  25380. },
  25381. "pricedqty": {
  25382. "description": "已定价量",
  25383. "type": "number"
  25384. },
  25385. "pricemove": {
  25386. "description": "升贴水",
  25387. "type": "number"
  25388. },
  25389. "pricetype": {
  25390. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  25391. "type": "integer"
  25392. },
  25393. "producttype": {
  25394. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  25395. "type": "integer"
  25396. },
  25397. "qty": {
  25398. "description": "合同量",
  25399. "type": "number"
  25400. },
  25401. "reckonadjustamount": {
  25402. "description": "调整金额",
  25403. "type": "number"
  25404. },
  25405. "reckonedamount": {
  25406. "description": "实际已收付额(已确定额,已收付总额-已退款总额)",
  25407. "type": "number"
  25408. },
  25409. "reckonotheramount": {
  25410. "description": "其它费用",
  25411. "type": "number"
  25412. },
  25413. "reckonrealqty": {
  25414. "description": "已交收量",
  25415. "type": "number"
  25416. },
  25417. "remark": {
  25418. "description": "备注",
  25419. "type": "string"
  25420. },
  25421. "saleuserid": {
  25422. "description": "业务员id",
  25423. "type": "integer"
  25424. },
  25425. "saleuserlogincode": {
  25426. "description": "业务员登录代码",
  25427. "type": "string"
  25428. },
  25429. "saleusername": {
  25430. "description": "业务员名称",
  25431. "type": "string"
  25432. },
  25433. "spotcontractid": {
  25434. "description": "合同ID",
  25435. "type": "string"
  25436. },
  25437. "spotgoodsbrandid": {
  25438. "description": "现货品牌ID(DGFactoryItem表的ID)",
  25439. "type": "integer"
  25440. },
  25441. "spotgoodsdesc": {
  25442. "description": "商品型号(商品规格)",
  25443. "type": "string"
  25444. },
  25445. "startdate": {
  25446. "description": "点价开始日",
  25447. "type": "string"
  25448. },
  25449. "subjectid": {
  25450. "description": "交易主体ID",
  25451. "type": "integer"
  25452. },
  25453. "subjectname": {
  25454. "description": "交易主体名称",
  25455. "type": "string"
  25456. },
  25457. "totalamount": {
  25458. "description": "合计总额",
  25459. "type": "number"
  25460. },
  25461. "tradeuserid": {
  25462. "description": "交易员id",
  25463. "type": "integer"
  25464. },
  25465. "tradeuserlogincode": {
  25466. "description": "交易员登录代码",
  25467. "type": "string"
  25468. },
  25469. "tradeusername": {
  25470. "description": "交易员名称",
  25471. "type": "string"
  25472. },
  25473. "unpayamount": {
  25474. "description": "应收付款额(应支付或应收款) | 未付款额",
  25475. "type": "number"
  25476. },
  25477. "unpricedqty": {
  25478. "description": "未定价量",
  25479. "type": "number"
  25480. },
  25481. "unsureqty": {
  25482. "description": "未确定量 | 未交收量",
  25483. "type": "number"
  25484. },
  25485. "userid": {
  25486. "description": "机构ID",
  25487. "type": "integer"
  25488. },
  25489. "vatrate": {
  25490. "description": "增值税率",
  25491. "type": "number"
  25492. },
  25493. "wrstandardcode": {
  25494. "description": "品类代码",
  25495. "type": "string"
  25496. },
  25497. "wrstandardid": {
  25498. "description": "品类ID",
  25499. "type": "integer"
  25500. },
  25501. "wrstandardname": {
  25502. "description": "品类名称",
  25503. "type": "string"
  25504. }
  25505. }
  25506. },
  25507. "models.Ermcp3SpotGoodsPrice": {
  25508. "type": "object",
  25509. "properties": {
  25510. "areauserid": {
  25511. "description": "所属机构id",
  25512. "type": "integer"
  25513. },
  25514. "brandname": {
  25515. "description": "品牌名称",
  25516. "type": "string"
  25517. },
  25518. "currencyid": {
  25519. "description": "报价货币ID",
  25520. "type": "integer"
  25521. },
  25522. "currencyname": {
  25523. "description": "币种名称",
  25524. "type": "string"
  25525. },
  25526. "deliverygoodscode": {
  25527. "description": "现货商品代码",
  25528. "type": "string"
  25529. },
  25530. "deliverygoodsid": {
  25531. "description": "现货商品id",
  25532. "type": "integer"
  25533. },
  25534. "deliverygoodsname": {
  25535. "description": "现货商品名称",
  25536. "type": "string"
  25537. },
  25538. "enumdicname": {
  25539. "description": "现货商品单位名称",
  25540. "type": "string"
  25541. },
  25542. "gbenumdicname": {
  25543. "description": "品类单位名称",
  25544. "type": "string"
  25545. },
  25546. "gmunitid": {
  25547. "description": "品类单位id",
  25548. "type": "integer"
  25549. },
  25550. "isvalid": {
  25551. "description": "是否有效 - 0:无效 1:有效",
  25552. "type": "integer"
  25553. },
  25554. "operateid": {
  25555. "description": "最后操作人",
  25556. "type": "integer"
  25557. },
  25558. "operatesrc": {
  25559. "description": "最后操作来源 - 1:管理端 2:终端",
  25560. "type": "integer"
  25561. },
  25562. "operatetime": {
  25563. "description": "最后操作时间",
  25564. "type": "string"
  25565. },
  25566. "operatorname": {
  25567. "description": "操作人名称",
  25568. "type": "string"
  25569. },
  25570. "spotgoodsbrandid": {
  25571. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  25572. "type": "integer"
  25573. },
  25574. "spotgoodsprice": {
  25575. "description": "现货价格",
  25576. "type": "number"
  25577. },
  25578. "tradedate": {
  25579. "description": "交易日(yyyyMMdd)",
  25580. "type": "string"
  25581. },
  25582. "unitid": {
  25583. "description": "现货商品单位id",
  25584. "type": "integer"
  25585. },
  25586. "wrstandardcode": {
  25587. "description": "品类代码",
  25588. "type": "string"
  25589. },
  25590. "wrstandardid": {
  25591. "description": "现货品类ID(通用则为0)",
  25592. "type": "integer"
  25593. },
  25594. "wrstandardname": {
  25595. "description": "品类名称",
  25596. "type": "string"
  25597. }
  25598. }
  25599. },
  25600. "models.Ermcp3SpotGoodsPriceLog": {
  25601. "type": "object",
  25602. "properties": {
  25603. "areauserid": {
  25604. "description": "所属机构id",
  25605. "type": "integer"
  25606. },
  25607. "brandname": {
  25608. "description": "品牌名称",
  25609. "type": "string"
  25610. },
  25611. "currencyid": {
  25612. "description": "报价货币ID",
  25613. "type": "integer"
  25614. },
  25615. "deliverygoodscode": {
  25616. "description": "现货商品代码",
  25617. "type": "string"
  25618. },
  25619. "deliverygoodsid": {
  25620. "description": "现货商品id",
  25621. "type": "integer"
  25622. },
  25623. "deliverygoodsname": {
  25624. "description": "现货商品名称",
  25625. "type": "string"
  25626. },
  25627. "enumdicname": {
  25628. "description": "现货商品单位名称",
  25629. "type": "string"
  25630. },
  25631. "gbenumdicname": {
  25632. "description": "品类单位名称",
  25633. "type": "string"
  25634. },
  25635. "gmunitid": {
  25636. "description": "品类单位id",
  25637. "type": "integer"
  25638. },
  25639. "logid": {
  25640. "description": "日志id",
  25641. "type": "integer"
  25642. },
  25643. "operateid": {
  25644. "description": "最后操作人",
  25645. "type": "integer"
  25646. },
  25647. "operatesrc": {
  25648. "description": "最后操作来源 - 1:管理端 2:终端",
  25649. "type": "integer"
  25650. },
  25651. "operatetime": {
  25652. "description": "最后操作时间",
  25653. "type": "string"
  25654. },
  25655. "operatorname": {
  25656. "description": "操作人名称",
  25657. "type": "string"
  25658. },
  25659. "spotgoodsbrandid": {
  25660. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  25661. "type": "integer"
  25662. },
  25663. "spotgoodsprice": {
  25664. "description": "现货价格",
  25665. "type": "number"
  25666. },
  25667. "tradedate": {
  25668. "description": "交易日(yyyyMMdd)",
  25669. "type": "string"
  25670. },
  25671. "unitid": {
  25672. "description": "现货商品单位id",
  25673. "type": "integer"
  25674. },
  25675. "wrstandardcode": {
  25676. "description": "品类代码",
  25677. "type": "string"
  25678. },
  25679. "wrstandardid": {
  25680. "description": "现货品类ID(通用则为0)",
  25681. "type": "integer"
  25682. },
  25683. "wrstandardname": {
  25684. "description": "品类名称",
  25685. "type": "string"
  25686. }
  25687. }
  25688. },
  25689. "models.Ermcp3SubTaaccount": {
  25690. "type": "object",
  25691. "properties": {
  25692. "accountid": {
  25693. "description": "资金账户ID",
  25694. "type": "integer"
  25695. },
  25696. "parentaccountcode": {
  25697. "description": "所属根账号代码(母账号代码)",
  25698. "type": "string"
  25699. },
  25700. "parentaccountid": {
  25701. "description": "所属根账号(母账号)",
  25702. "type": "integer"
  25703. },
  25704. "taname": {
  25705. "description": "资金账号名称",
  25706. "type": "string"
  25707. },
  25708. "tradestatus": {
  25709. "description": "交易状态 - 1:正常 2:受限 3:冻结(停用) 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已删除(注销)",
  25710. "type": "integer"
  25711. },
  25712. "username": {
  25713. "description": "交易用户",
  25714. "type": "string"
  25715. }
  25716. }
  25717. },
  25718. "models.Ermcp3TaFutuReDataReport": {
  25719. "type": "object",
  25720. "properties": {
  25721. "accountid": {
  25722. "description": "交易账户",
  25723. "type": "integer"
  25724. },
  25725. "accountname": {
  25726. "description": "交易账号名称",
  25727. "type": "string"
  25728. },
  25729. "agreeunit": {
  25730. "description": "商品合约单位",
  25731. "type": "number"
  25732. },
  25733. "begindate": {
  25734. "description": "开始交易日",
  25735. "type": "string"
  25736. },
  25737. "buyorsell": {
  25738. "description": "持仓方向",
  25739. "type": "integer"
  25740. },
  25741. "charge": {
  25742. "description": "手续费",
  25743. "type": "number"
  25744. },
  25745. "closeavgprice": {
  25746. "description": "平仓均价",
  25747. "type": "number"
  25748. },
  25749. "closepl": {
  25750. "description": "平仓损益",
  25751. "type": "number"
  25752. },
  25753. "currencyid": {
  25754. "description": "结算币种ID",
  25755. "type": "integer"
  25756. },
  25757. "currencyname": {
  25758. "description": "币种名称",
  25759. "type": "string"
  25760. },
  25761. "cycletime": {
  25762. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  25763. "type": "string"
  25764. },
  25765. "cycletype": {
  25766. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  25767. "type": "integer"
  25768. },
  25769. "enddate": {
  25770. "description": "结束交易日",
  25771. "type": "string"
  25772. },
  25773. "enumdicname": {
  25774. "description": "单位名称",
  25775. "type": "string"
  25776. },
  25777. "floatpl": {
  25778. "description": "浮动损益",
  25779. "type": "number"
  25780. },
  25781. "goodscode": {
  25782. "description": "交易合约代码",
  25783. "type": "string"
  25784. },
  25785. "goodsgroupid": {
  25786. "description": "交易品种",
  25787. "type": "integer"
  25788. },
  25789. "goodsgroupname": {
  25790. "description": "交易品种名称",
  25791. "type": "string"
  25792. },
  25793. "goodsgroupspotqty": {
  25794. "description": "交易品种期末量 (= 期末持仓量 * 合约乘数)",
  25795. "type": "number"
  25796. },
  25797. "goodsid": {
  25798. "description": "交易合约",
  25799. "type": "integer"
  25800. },
  25801. "goodsname": {
  25802. "description": "交易合约名称",
  25803. "type": "string"
  25804. },
  25805. "goodunitid": {
  25806. "description": "交易合约单位id",
  25807. "type": "integer"
  25808. },
  25809. "holdamount": {
  25810. "description": "期末持仓额",
  25811. "type": "number"
  25812. },
  25813. "holdqty": {
  25814. "description": "期末持仓量",
  25815. "type": "number"
  25816. },
  25817. "lastholdamount": {
  25818. "description": "当前持仓额",
  25819. "type": "number"
  25820. },
  25821. "lastprice": {
  25822. "description": "最新价",
  25823. "type": "number"
  25824. },
  25825. "middlegoodsid": {
  25826. "description": "套保品种id",
  25827. "type": "integer"
  25828. },
  25829. "middlegoodsname": {
  25830. "description": "套保商品名称",
  25831. "type": "string"
  25832. },
  25833. "middlegoodsqty": {
  25834. "description": "套保品种期末量 (=交易品种期末量 * 期货品种折算系数)",
  25835. "type": "number"
  25836. },
  25837. "middlgoodscode": {
  25838. "description": "套保商品代码",
  25839. "type": "string"
  25840. },
  25841. "openamount": {
  25842. "description": "期末开仓额",
  25843. "type": "number"
  25844. },
  25845. "openavgprice": {
  25846. "description": "开仓均价",
  25847. "type": "number"
  25848. },
  25849. "oriholdamount": {
  25850. "description": "期初持仓额",
  25851. "type": "number"
  25852. },
  25853. "oriholdqty": {
  25854. "description": "期初持仓量",
  25855. "type": "number"
  25856. },
  25857. "oriopenamount": {
  25858. "description": "期初开仓额",
  25859. "type": "number"
  25860. },
  25861. "outergroupcode": {
  25862. "description": "交易品种代码",
  25863. "type": "string"
  25864. },
  25865. "qtydecimalplace": {
  25866. "description": "成交量小数位",
  25867. "type": "integer"
  25868. },
  25869. "reckondate": {
  25870. "description": "日照时期(yyyyMMdd)",
  25871. "type": "string"
  25872. },
  25873. "reckonholdamount": {
  25874. "description": "结算持仓额",
  25875. "type": "number"
  25876. },
  25877. "reckonpl": {
  25878. "description": "结算损益",
  25879. "type": "number"
  25880. },
  25881. "reckonpl2": {
  25882. "description": "结算逐笔盈亏",
  25883. "type": "number"
  25884. },
  25885. "reckonprice": {
  25886. "description": "结算价",
  25887. "type": "number"
  25888. },
  25889. "relateduserid": {
  25890. "description": "账户关联用户ID",
  25891. "type": "integer"
  25892. },
  25893. "todaycloseamount": {
  25894. "description": "今平仓额",
  25895. "type": "number"
  25896. },
  25897. "todaycloseqty": {
  25898. "description": "今平仓量",
  25899. "type": "number"
  25900. },
  25901. "todaygoodsgroupspotqty": {
  25902. "description": "交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)",
  25903. "type": "number"
  25904. },
  25905. "todaymiddlegoodsqty": {
  25906. "description": "套保品种变化量 (= 交易品种变化量*期货品种折算系数)",
  25907. "type": "number"
  25908. },
  25909. "todayopenamount": {
  25910. "description": "今开仓额",
  25911. "type": "number"
  25912. },
  25913. "todayopenqty": {
  25914. "description": "今开仓量",
  25915. "type": "number"
  25916. },
  25917. "userid": {
  25918. "description": "账户所属用户ID",
  25919. "type": "integer"
  25920. }
  25921. }
  25922. },
  25923. "models.Ermcp3TradeLinkDetail": {
  25924. "type": "object",
  25925. "properties": {
  25926. "accountid": {
  25927. "description": "资金账号",
  25928. "type": "integer"
  25929. },
  25930. "agreeunit": {
  25931. "description": "合约乘数",
  25932. "type": "number"
  25933. },
  25934. "areauserid": {
  25935. "description": "所属机构",
  25936. "type": "string"
  25937. },
  25938. "bizsubjectid": {
  25939. "description": "归属业务部门ID - SubjectID",
  25940. "type": "string"
  25941. },
  25942. "buyorsell": {
  25943. "description": "方向 - 0:买 1:卖",
  25944. "type": "integer"
  25945. },
  25946. "channelbuildtype": {
  25947. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  25948. "type": "integer"
  25949. },
  25950. "contractno": {
  25951. "description": "现货编号 (合同编号)",
  25952. "type": "string"
  25953. },
  25954. "convertratio": {
  25955. "description": "折算系数",
  25956. "type": "number"
  25957. },
  25958. "createtime": {
  25959. "description": "关联时间 | 创建时间",
  25960. "type": "string"
  25961. },
  25962. "creatorid": {
  25963. "description": "创建人ID",
  25964. "type": "string"
  25965. },
  25966. "creatorsrc": {
  25967. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  25968. "type": "integer"
  25969. },
  25970. "enumdicname": {
  25971. "description": "单位名称",
  25972. "type": "string"
  25973. },
  25974. "goodscode": {
  25975. "description": "合约代码",
  25976. "type": "string"
  25977. },
  25978. "goodsgroupid": {
  25979. "description": "对冲品种ID[期货合约商品组ID]",
  25980. "type": "integer"
  25981. },
  25982. "goodsid": {
  25983. "description": "商品ID",
  25984. "type": "integer"
  25985. },
  25986. "goodsname": {
  25987. "description": "合约名称",
  25988. "type": "string"
  25989. },
  25990. "hedgeflag": {
  25991. "description": "业务类型 | 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)",
  25992. "type": "integer"
  25993. },
  25994. "linkdetailid": {
  25995. "description": "关联ID(614+Unix秒时间戳(10位)+xxxxxx)",
  25996. "type": "string"
  25997. },
  25998. "linkstatus": {
  25999. "description": "关联状态 - 1:成功 2:失败 3:解绑",
  26000. "type": "integer"
  26001. },
  26002. "middlegoodscode": {
  26003. "description": "套保品种代码",
  26004. "type": "string"
  26005. },
  26006. "middlegoodsid": {
  26007. "description": "套保品种ID",
  26008. "type": "integer"
  26009. },
  26010. "middlegoodsname": {
  26011. "description": "套保品种名称",
  26012. "type": "string"
  26013. },
  26014. "relatedlot": {
  26015. "description": "关联手数",
  26016. "type": "number"
  26017. },
  26018. "relatedmode": {
  26019. "description": "关联方式 - 1:自动关联 2:手动关联 3:解绑关联",
  26020. "type": "integer"
  26021. },
  26022. "relatedqty": {
  26023. "description": "关联数量 = RelatedLot * AgreeUnit * ConvertRatio",
  26024. "type": "number"
  26025. },
  26026. "retcode": {
  26027. "description": "返回码",
  26028. "type": "integer"
  26029. },
  26030. "saleuserid": {
  26031. "description": "业务员ID",
  26032. "type": "string"
  26033. },
  26034. "spotcontractid": {
  26035. "description": "现货合同\\套保计划ID [4,10,11 - 现货合同ID] [9:套期保值(计划) - 套保计划ID]",
  26036. "type": "string"
  26037. },
  26038. "taname": {
  26039. "description": "期货账户",
  26040. "type": "string"
  26041. },
  26042. "tradedate": {
  26043. "description": "关联交易日(yyyyMMdd)",
  26044. "type": "string"
  26045. },
  26046. "tradeid": {
  26047. "description": "期货订单号 | 内部成交单ID",
  26048. "type": "string"
  26049. },
  26050. "tradelot": {
  26051. "description": "成交数量 | 成交手数",
  26052. "type": "integer"
  26053. },
  26054. "tradeprice": {
  26055. "description": "成交价格",
  26056. "type": "number"
  26057. },
  26058. "tradetime": {
  26059. "description": "期货成交时间",
  26060. "type": "string"
  26061. },
  26062. "tradetradedate": {
  26063. "description": "成交交易日(yyyyMMdd)",
  26064. "type": "string"
  26065. },
  26066. "username": {
  26067. "description": "用户名称",
  26068. "type": "string"
  26069. }
  26070. }
  26071. },
  26072. "models.Ermcp3Wrstandard": {
  26073. "type": "object",
  26074. "properties": {
  26075. "areauserid": {
  26076. "description": "所属机构",
  26077. "type": "integer"
  26078. },
  26079. "cantrade": {
  26080. "description": "是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)",
  26081. "type": "integer"
  26082. },
  26083. "convertfactor": {
  26084. "description": "标仓系数",
  26085. "type": "number"
  26086. },
  26087. "createtime": {
  26088. "description": "创建时间",
  26089. "type": "string"
  26090. },
  26091. "creatorid": {
  26092. "description": "创建人",
  26093. "type": "integer"
  26094. },
  26095. "deliverygoodsid": {
  26096. "description": "现货品种ID",
  26097. "type": "integer"
  26098. },
  26099. "enumdicname": {
  26100. "description": "品类单位名称",
  26101. "type": "string"
  26102. },
  26103. "isvalid": {
  26104. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  26105. "type": "integer"
  26106. },
  26107. "minivalue": {
  26108. "description": "最小变动值",
  26109. "type": "integer"
  26110. },
  26111. "minivaluedp": {
  26112. "description": "最小变动值小数位",
  26113. "type": "integer"
  26114. },
  26115. "realminivalue": {
  26116. "description": "实际最小变动值",
  26117. "type": "integer"
  26118. },
  26119. "realminivaluedp": {
  26120. "description": "实际最小变动值小数位",
  26121. "type": "integer"
  26122. },
  26123. "remark": {
  26124. "description": "备注",
  26125. "type": "string"
  26126. },
  26127. "unitid": {
  26128. "description": "品类单位ID",
  26129. "type": "integer"
  26130. },
  26131. "updatetime": {
  26132. "description": "更新时间",
  26133. "type": "string"
  26134. },
  26135. "wrstandardcode": {
  26136. "description": "品类代码",
  26137. "type": "string"
  26138. },
  26139. "wrstandardid": {
  26140. "description": "品类ID(SEQ_WRSTANDARD)",
  26141. "type": "integer"
  26142. },
  26143. "wrstandardname": {
  26144. "description": "品类名称",
  26145. "type": "string"
  26146. }
  26147. }
  26148. },
  26149. "models.Ermcp8EnableHedgeditem": {
  26150. "type": "object",
  26151. "properties": {
  26152. "accountname": {
  26153. "description": "套期主体",
  26154. "type": "string"
  26155. },
  26156. "hedgeditemid": {
  26157. "description": "被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)",
  26158. "type": "string"
  26159. },
  26160. "hedgeditemname": {
  26161. "description": "项目名称",
  26162. "type": "string"
  26163. },
  26164. "hedgeditemnum": {
  26165. "description": "项目编号",
  26166. "type": "string"
  26167. },
  26168. "hedgedtype": {
  26169. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  26170. "type": "integer"
  26171. },
  26172. "planenddate": {
  26173. "description": "计划结束日期",
  26174. "type": "string"
  26175. },
  26176. "planstartdate": {
  26177. "description": "计划开始日期",
  26178. "type": "string"
  26179. }
  26180. }
  26181. },
  26182. "models.Ermcp8HedgeditemReport": {
  26183. "type": "object",
  26184. "properties": {
  26185. "accountname": {
  26186. "description": "套期主体",
  26187. "type": "string"
  26188. },
  26189. "areauserid": {
  26190. "description": "企业ID",
  26191. "type": "integer"
  26192. },
  26193. "curprice": {
  26194. "description": "[当日现货市场价]当前市场价",
  26195. "type": "number"
  26196. },
  26197. "enumdicname": {
  26198. "description": "单位",
  26199. "type": "string"
  26200. },
  26201. "exeamount": {
  26202. "description": "[执行现货金额]执行市价总额",
  26203. "type": "number"
  26204. },
  26205. "exeavgprice": {
  26206. "description": "[执行价]执行市场均价= 执行市价总额 / 执行现货量",
  26207. "type": "number"
  26208. },
  26209. "exeqty": {
  26210. "description": "[执行数量]执行现货量",
  26211. "type": "number"
  26212. },
  26213. "futurehedgepl": {
  26214. "description": "期货实际损益",
  26215. "type": "number"
  26216. },
  26217. "futurehedgeplchange": {
  26218. "description": "期货实际变动 = 期货实际损益 - 期初期货实际损益",
  26219. "type": "number"
  26220. },
  26221. "futurepl": {
  26222. "description": "期货套期损益",
  26223. "type": "number"
  26224. },
  26225. "futureplchange": {
  26226. "description": "期货套期变动 = 期货套期损益 - 期初期货套期损益",
  26227. "type": "number"
  26228. },
  26229. "hedgeamount": {
  26230. "description": "[套期现货金额]套期市价总额",
  26231. "type": "number"
  26232. },
  26233. "hedgeditemnum": {
  26234. "description": "项目编号,模糊查询",
  26235. "type": "string"
  26236. },
  26237. "hedgeditemstatus": {
  26238. "description": "项目状态 - 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  26239. "type": "integer"
  26240. },
  26241. "hedgedtype": {
  26242. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  26243. "type": "integer"
  26244. },
  26245. "hedgeqty": {
  26246. "description": "[套期数量]套期现货量",
  26247. "type": "number"
  26248. },
  26249. "oriavgprice": {
  26250. "description": "[期初价]期初市场均价 = 套期市价总额 / 套期现货量",
  26251. "type": "number"
  26252. },
  26253. "orifuturehedgepl": {
  26254. "description": "期初期货实际损益",
  26255. "type": "number"
  26256. },
  26257. "orifuturepl": {
  26258. "description": "期初期货套期损益",
  26259. "type": "number"
  26260. },
  26261. "orispothedgepl": {
  26262. "description": "期初现货实际损益",
  26263. "type": "number"
  26264. },
  26265. "orispotpl": {
  26266. "description": "期初现货套期损益",
  26267. "type": "number"
  26268. },
  26269. "planenddate": {
  26270. "description": "计划结束日期",
  26271. "type": "string"
  26272. },
  26273. "planstartdate": {
  26274. "description": "计划开始日期",
  26275. "type": "string"
  26276. },
  26277. "spothedgepl": {
  26278. "description": "现货实际损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)",
  26279. "type": "number"
  26280. },
  26281. "spothedgeplchange": {
  26282. "description": "现货实际变动 = 现货实际损益 - 期初现货实际损益",
  26283. "type": "number"
  26284. },
  26285. "spotpl": {
  26286. "description": "现货套期损益 = 现货实际损益 + 现货浮动损益",
  26287. "type": "number"
  26288. },
  26289. "spotplchange": {
  26290. "description": "现货套期变动 = 现货套期损益 - 期初现货套期损益",
  26291. "type": "number"
  26292. },
  26293. "tradeuserid": {
  26294. "description": "交易用户ID",
  26295. "type": "integer"
  26296. },
  26297. "unexeqty": {
  26298. "description": "未执行现货量 = 套期现货量 - 执行现货量",
  26299. "type": "number"
  26300. },
  26301. "wrstandardcode": {
  26302. "description": "现货品类代码",
  26303. "type": "string"
  26304. },
  26305. "wrstandardid": {
  26306. "description": "现货商品ID",
  26307. "type": "integer"
  26308. },
  26309. "wrstandardname": {
  26310. "description": "[现货商品]现货品类名称",
  26311. "type": "string"
  26312. }
  26313. }
  26314. },
  26315. "models.Ermcp8RunningHedgeditem": {
  26316. "type": "object",
  26317. "properties": {
  26318. "accountname": {
  26319. "description": "套期主体",
  26320. "type": "string"
  26321. },
  26322. "applyid": {
  26323. "description": "申请人",
  26324. "type": "integer"
  26325. },
  26326. "applysrc": {
  26327. "description": "申请来源 - 1:管理端 2:终端",
  26328. "type": "integer"
  26329. },
  26330. "areauserid": {
  26331. "description": "企业ID",
  26332. "type": "integer"
  26333. },
  26334. "auditid": {
  26335. "description": "审核人",
  26336. "type": "integer"
  26337. },
  26338. "auditremark": {
  26339. "description": "审核备注",
  26340. "type": "string"
  26341. },
  26342. "auditsrc": {
  26343. "description": "审核来源 - 1:管理端 2:终端",
  26344. "type": "integer"
  26345. },
  26346. "audittime": {
  26347. "description": "审核时间",
  26348. "type": "string"
  26349. },
  26350. "audittradedate": {
  26351. "description": "审核交易日(yyyyMMdd)",
  26352. "type": "string"
  26353. },
  26354. "createtime": {
  26355. "description": "申请时间",
  26356. "type": "string"
  26357. },
  26358. "curprice": {
  26359. "description": "当前市场价",
  26360. "type": "number"
  26361. },
  26362. "curstock": {
  26363. "description": "期末库存量 = 采购总量 - 销售总量",
  26364. "type": "number"
  26365. },
  26366. "deliverygoodsid": {
  26367. "description": "现货品种ID",
  26368. "type": "integer"
  26369. },
  26370. "enddate": {
  26371. "description": "完成日期",
  26372. "type": "string"
  26373. },
  26374. "endtradedate": {
  26375. "description": "完成交易日",
  26376. "type": "string"
  26377. },
  26378. "enumdicname": {
  26379. "description": "单位",
  26380. "type": "string"
  26381. },
  26382. "exeamount": {
  26383. "description": "执行市价总额",
  26384. "type": "number"
  26385. },
  26386. "exeavgprice": {
  26387. "description": "执行市场均价= 执行市价总额 / 执行现货量",
  26388. "type": "number"
  26389. },
  26390. "execontractamount": {
  26391. "description": "执行定价总额",
  26392. "type": "number"
  26393. },
  26394. "exeqty": {
  26395. "description": "执行现货量",
  26396. "type": "number"
  26397. },
  26398. "exerestamount": {
  26399. "description": "执行剩余市价总额【现货贸易】",
  26400. "type": "number"
  26401. },
  26402. "futurefloatpl": {
  26403. "description": "期货浮动损益",
  26404. "type": "number"
  26405. },
  26406. "futurehedgepl": {
  26407. "description": "期货实际损益",
  26408. "type": "number"
  26409. },
  26410. "futurehedgeplchange": {
  26411. "description": "期货实际损益变动",
  26412. "type": "number"
  26413. },
  26414. "futurepl": {
  26415. "description": "期货套期损益",
  26416. "type": "number"
  26417. },
  26418. "futureplchange": {
  26419. "description": "期货套期损益变动",
  26420. "type": "number"
  26421. },
  26422. "hedgeamount": {
  26423. "description": "套期市价总额",
  26424. "type": "number"
  26425. },
  26426. "hedgecontractamount": {
  26427. "description": "套期定价总额 【定价采购合同】【现货贸易】",
  26428. "type": "number"
  26429. },
  26430. "hedgeditemid": {
  26431. "description": "被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)",
  26432. "type": "string"
  26433. },
  26434. "hedgeditemname": {
  26435. "description": "项目名称",
  26436. "type": "string"
  26437. },
  26438. "hedgeditemnum": {
  26439. "description": "项目编号",
  26440. "type": "string"
  26441. },
  26442. "hedgeditemstatus": {
  26443. "description": "项目状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  26444. "type": "integer"
  26445. },
  26446. "hedgedtype": {
  26447. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  26448. "type": "integer"
  26449. },
  26450. "hedgeqty": {
  26451. "description": "套期现货量",
  26452. "type": "number"
  26453. },
  26454. "hedgerate": {
  26455. "description": "套保比率",
  26456. "type": "number"
  26457. },
  26458. "hedgerestamount": {
  26459. "description": "套期剩余市价总额【现货贸易】",
  26460. "type": "number"
  26461. },
  26462. "hedgesumpl": {
  26463. "description": "套期汇总损益 = 期货汇总损益 + 现货汇总损益",
  26464. "type": "number"
  26465. },
  26466. "middlegoodslist": {
  26467. "description": "套期商品列表",
  26468. "type": "array",
  26469. "items": {
  26470. "$ref": "#/definitions/models.Ermcp2himiddlegoods"
  26471. }
  26472. },
  26473. "oriavgprice": {
  26474. "description": "期初市场均价 = 套期市价总额 / 套期现货量",
  26475. "type": "number"
  26476. },
  26477. "orifuturehedgepl": {
  26478. "description": "期初期货实际损益",
  26479. "type": "number"
  26480. },
  26481. "orifuturepl": {
  26482. "description": "期初期货套期损益",
  26483. "type": "number"
  26484. },
  26485. "orispothedgepl": {
  26486. "description": "期初现货实际损益",
  26487. "type": "number"
  26488. },
  26489. "orispotpl": {
  26490. "description": "期初现货套期损益",
  26491. "type": "number"
  26492. },
  26493. "planenddate": {
  26494. "description": "计划结束日期",
  26495. "type": "string"
  26496. },
  26497. "planstartdate": {
  26498. "description": "计划开始日期",
  26499. "type": "string"
  26500. },
  26501. "remark": {
  26502. "description": "备注",
  26503. "type": "string"
  26504. },
  26505. "spotbookamount": {
  26506. "description": "现货账面总额",
  26507. "type": "number"
  26508. },
  26509. "spotfloatpl": {
  26510. "description": "现货浮动损益 =(当前市场价 - 期初市场价)*未执行现货量 * 方向(销售计划 为 -1, 其它为1)",
  26511. "type": "number"
  26512. },
  26513. "spothedgepl": {
  26514. "description": "现货套期损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)",
  26515. "type": "number"
  26516. },
  26517. "spothedgeplchange": {
  26518. "description": "现货实际损益变动",
  26519. "type": "number"
  26520. },
  26521. "spotpl": {
  26522. "description": "现货套期损益 = 现货实际损益 + 现货浮动损益",
  26523. "type": "number"
  26524. },
  26525. "spotplchange": {
  26526. "description": "现货套期损益变动",
  26527. "type": "number"
  26528. },
  26529. "spottradepl": {
  26530. "description": "现货贸易损益【现货贸易】= 执行合同定价总额 - 套期合同定价总额",
  26531. "type": "number"
  26532. },
  26533. "sumobspl": {
  26534. "description": "汇总绝对损益【现货贸易】=现货贸易损益+增值税损益+期货套期损益",
  26535. "type": "number"
  26536. },
  26537. "tradeuserid": {
  26538. "description": "交易用户ID",
  26539. "type": "integer"
  26540. },
  26541. "unexeqty": {
  26542. "description": "未执行现货量 = 套期现货量 - 执行现货量",
  26543. "type": "number"
  26544. },
  26545. "updatetime": {
  26546. "description": "更新时间",
  26547. "type": "string"
  26548. },
  26549. "vatpl": {
  26550. "description": "增值税损益【现货贸易】= 现货贸易损益 * (增值税率 /(1+增值税率))",
  26551. "type": "number"
  26552. },
  26553. "vatrate": {
  26554. "description": "增值税",
  26555. "type": "number"
  26556. },
  26557. "wrstandardid": {
  26558. "description": "现货商品ID",
  26559. "type": "integer"
  26560. },
  26561. "wrstandardname": {
  26562. "description": "商品名称",
  26563. "type": "string"
  26564. }
  26565. }
  26566. },
  26567. "models.ErmcpBizGroupEx": {
  26568. "type": "object",
  26569. "properties": {
  26570. "acclist": {
  26571. "description": "账号列表",
  26572. "type": "array",
  26573. "items": {
  26574. "$ref": "#/definitions/models.ErmcpBizGroupTaAccount"
  26575. }
  26576. },
  26577. "bizgroupid": {
  26578. "description": "业务分组id",
  26579. "type": "integer"
  26580. },
  26581. "biztype": {
  26582. "description": "业务类型 1-套保 2-套利",
  26583. "type": "integer"
  26584. },
  26585. "wrlist": {
  26586. "description": "现货商品表",
  26587. "type": "array",
  26588. "items": {
  26589. "$ref": "#/definitions/models.ErmcpBizGroupSpotGoods"
  26590. }
  26591. }
  26592. }
  26593. },
  26594. "models.ErmcpBizGroupSpotGoods": {
  26595. "type": "object",
  26596. "properties": {
  26597. "areauserid": {
  26598. "description": "所属机构id",
  26599. "type": "integer"
  26600. },
  26601. "bizgroupid": {
  26602. "description": "分组id",
  26603. "type": "integer"
  26604. },
  26605. "biztype": {
  26606. "description": "业务类型 1-套保 2-套利",
  26607. "type": "integer"
  26608. },
  26609. "deliverygoodscode": {
  26610. "description": "现货商品代码",
  26611. "type": "string"
  26612. },
  26613. "deliverygoodsid": {
  26614. "description": "现货商品id",
  26615. "type": "integer"
  26616. },
  26617. "deliverygoodsname": {
  26618. "description": "现货商品名称",
  26619. "type": "string"
  26620. },
  26621. "unitid": {
  26622. "description": "现货商品单位id",
  26623. "type": "integer"
  26624. }
  26625. }
  26626. },
  26627. "models.ErmcpBizGroupTaAccount": {
  26628. "type": "object",
  26629. "properties": {
  26630. "accountid": {
  26631. "description": "账号id",
  26632. "type": "integer"
  26633. },
  26634. "accountname": {
  26635. "description": "账号名称",
  26636. "type": "string"
  26637. },
  26638. "areauserid": {
  26639. "description": "所属机构id",
  26640. "type": "integer"
  26641. },
  26642. "bizgroupid": {
  26643. "description": "业务分组id",
  26644. "type": "integer"
  26645. },
  26646. "ismain": {
  26647. "description": "是否主账号 1-是 0-否",
  26648. "type": "integer"
  26649. }
  26650. }
  26651. },
  26652. "models.ErmcpDGFactoryItem": {
  26653. "type": "object",
  26654. "properties": {
  26655. "areauserid": {
  26656. "description": "用户id",
  26657. "type": "integer"
  26658. },
  26659. "deliverygoodsid": {
  26660. "description": "现货品种ID",
  26661. "type": "integer"
  26662. },
  26663. "dgfactoryitemid": {
  26664. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  26665. "type": "integer"
  26666. },
  26667. "dgfactoryitemtypeid": {
  26668. "description": "要素项类型",
  26669. "type": "integer"
  26670. },
  26671. "dgfactoryitemvalue": {
  26672. "description": "要素项值(类型为仓库时填写仓库名称)",
  26673. "type": "string"
  26674. },
  26675. "isvalid": {
  26676. "description": "是否有效 - 0:无效 1:有效",
  26677. "type": "integer"
  26678. },
  26679. "orderindex": {
  26680. "description": "顺序",
  26681. "type": "integer"
  26682. },
  26683. "warehouseid": {
  26684. "description": "仓库ID(类型为仓库时填写)",
  26685. "type": "integer"
  26686. }
  26687. }
  26688. },
  26689. "models.ErmcpDeliveryGoods": {
  26690. "type": "object",
  26691. "properties": {
  26692. "agreeunit": {
  26693. "description": "合约单位[散货时默认为1, 整装时默认为标准数量]",
  26694. "type": "integer"
  26695. },
  26696. "areauserid": {
  26697. "description": "所属机构",
  26698. "type": "integer"
  26699. },
  26700. "auditflag": {
  26701. "description": "交割是否需要审核 - 0:不需要 1:需要审核 默认为0",
  26702. "type": "integer"
  26703. },
  26704. "categoryid": {
  26705. "description": "类别ID(SEQ_WRCATEGORY)",
  26706. "type": "integer"
  26707. },
  26708. "deliverygoodscode": {
  26709. "description": "现货品种代码",
  26710. "type": "string"
  26711. },
  26712. "deliverygoodsid": {
  26713. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  26714. "type": "integer"
  26715. },
  26716. "deliverygoodsname": {
  26717. "description": "现货品种名称",
  26718. "type": "string"
  26719. },
  26720. "deliverygoodstype": {
  26721. "description": "现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细",
  26722. "type": "integer"
  26723. },
  26724. "dgstatus": {
  26725. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  26726. "type": "integer"
  26727. },
  26728. "enumdicname": {
  26729. "description": "现货品种单位名称",
  26730. "type": "string"
  26731. },
  26732. "goodsunitid": {
  26733. "description": "现货品种单位ID",
  26734. "type": "integer"
  26735. },
  26736. "isvalid": {
  26737. "description": "是否有效 - 0:无效 1:有效",
  26738. "type": "integer"
  26739. },
  26740. "qtydecimalplace": {
  26741. "description": "成交量小数位",
  26742. "type": "integer"
  26743. },
  26744. "remark": {
  26745. "description": "备注",
  26746. "type": "string"
  26747. },
  26748. "standardqty": {
  26749. "description": "标准数量(库位数量) [标准品特有]",
  26750. "type": "integer"
  26751. },
  26752. "standardqtyrange": {
  26753. "description": "标准数量偏差范围 [标准品特有]",
  26754. "type": "integer"
  26755. }
  26756. }
  26757. },
  26758. "models.ErmcpFuturesCompany": {
  26759. "type": "object",
  26760. "properties": {
  26761. "brokerid": {
  26762. "description": "经纪公司代码",
  26763. "type": "string"
  26764. },
  26765. "channeladdress": {
  26766. "description": "对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001",
  26767. "type": "string"
  26768. },
  26769. "channelid": {
  26770. "description": "对冲渠道ID",
  26771. "type": "string"
  26772. },
  26773. "createtime": {
  26774. "description": "创建时间",
  26775. "type": "string"
  26776. },
  26777. "creatorid": {
  26778. "description": "创建人",
  26779. "type": "string"
  26780. },
  26781. "fcid": {
  26782. "description": "期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)",
  26783. "type": "integer"
  26784. },
  26785. "fcname": {
  26786. "description": "期货公司名称",
  26787. "type": "string"
  26788. },
  26789. "isvalid": {
  26790. "description": "是否有效 - 0:无效 1:有效",
  26791. "type": "integer"
  26792. },
  26793. "mhpaddress": {
  26794. "description": "MHP服务地址(IP:Port)",
  26795. "type": "string"
  26796. },
  26797. "riskrulegroupid": {
  26798. "description": "风控规则组ID",
  26799. "type": "string"
  26800. },
  26801. "tradefeetmpid": {
  26802. "description": "手续费模板ID[TradeConfigTmpType为2]",
  26803. "type": "string"
  26804. },
  26805. "trademargintmpid": {
  26806. "description": "保证金模板ID [TradeConfigTmpType为1]",
  26807. "type": "string"
  26808. },
  26809. "traderatetmpid": {
  26810. "description": "汇率模板ID[TradeConfigTmpType为3]",
  26811. "type": "string"
  26812. },
  26813. "updatetime": {
  26814. "description": "更新时间",
  26815. "type": "string"
  26816. },
  26817. "updatorid": {
  26818. "description": "更新人",
  26819. "type": "string"
  26820. }
  26821. }
  26822. },
  26823. "models.ErmcpGGConvertCfg": {
  26824. "type": "object",
  26825. "properties": {
  26826. "convertratio": {
  26827. "description": "折算系数",
  26828. "type": "number"
  26829. },
  26830. "destgoodsgroupid": {
  26831. "description": "目标品种ID",
  26832. "type": "integer"
  26833. },
  26834. "dstcode": {
  26835. "description": "目录品种代码",
  26836. "type": "string"
  26837. },
  26838. "dstexchangecode": {
  26839. "description": "目标期货交易所",
  26840. "type": "string"
  26841. },
  26842. "dstname": {
  26843. "description": "目标品种名称",
  26844. "type": "string"
  26845. },
  26846. "dstunitid": {
  26847. "description": "目标品种单位ID",
  26848. "type": "integer"
  26849. },
  26850. "dstunitidname": {
  26851. "description": "目标品种单位名称",
  26852. "type": "string"
  26853. },
  26854. "modifytime": {
  26855. "description": "修改时间",
  26856. "type": "string"
  26857. },
  26858. "srccode": {
  26859. "description": "源品种代码",
  26860. "type": "string"
  26861. },
  26862. "srcexchangecode": {
  26863. "description": "源期货交易所",
  26864. "type": "string"
  26865. },
  26866. "srcgoodsgroupid": {
  26867. "description": "源品种ID",
  26868. "type": "integer"
  26869. },
  26870. "srcname": {
  26871. "description": "源品种名称",
  26872. "type": "string"
  26873. },
  26874. "srcunitid": {
  26875. "description": "源品种单位ID",
  26876. "type": "integer"
  26877. },
  26878. "srcunitidname": {
  26879. "description": "源品种单位名称",
  26880. "type": "string"
  26881. }
  26882. }
  26883. },
  26884. "models.ErmcpGoods": {
  26885. "type": "object",
  26886. "required": [
  26887. "goodscode",
  26888. "goodsid",
  26889. "goodsname",
  26890. "marketid"
  26891. ],
  26892. "properties": {
  26893. "agreeunit": {
  26894. "description": "合约单位",
  26895. "type": "number"
  26896. },
  26897. "areauserid": {
  26898. "description": "所属机构",
  26899. "type": "integer"
  26900. },
  26901. "auditaccountid": {
  26902. "description": "审核操作员账号",
  26903. "type": "integer"
  26904. },
  26905. "audittime": {
  26906. "description": "审核时间",
  26907. "type": "string"
  26908. },
  26909. "cancelaccountid": {
  26910. "description": "注销操作员账号",
  26911. "type": "integer"
  26912. },
  26913. "canceltime": {
  26914. "description": "注销时间",
  26915. "type": "string"
  26916. },
  26917. "closepricemode": {
  26918. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  26919. "type": "integer"
  26920. },
  26921. "closepriceparam": {
  26922. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  26923. "type": "number"
  26924. },
  26925. "createtime": {
  26926. "description": "创建时间",
  26927. "type": "string"
  26928. },
  26929. "creatorid": {
  26930. "description": "创建人",
  26931. "type": "integer"
  26932. },
  26933. "currencyid": {
  26934. "description": "报价货币ID",
  26935. "type": "integer"
  26936. },
  26937. "cutmode": {
  26938. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  26939. "type": "integer"
  26940. },
  26941. "decimalplace": {
  26942. "description": "报价小数位",
  26943. "type": "integer"
  26944. },
  26945. "delistingdate": {
  26946. "description": "商品退市时间(状态:退市) -- 已作废",
  26947. "type": "string"
  26948. },
  26949. "delistingmode": {
  26950. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  26951. "type": "integer"
  26952. },
  26953. "deliveryflag": {
  26954. "description": "交割标志 - 0:不可交割 1:可交割",
  26955. "type": "integer"
  26956. },
  26957. "enumdicname": {
  26958. "description": "单位名称",
  26959. "type": "string"
  26960. },
  26961. "forceclosemode": {
  26962. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  26963. "type": "integer"
  26964. },
  26965. "forceclosevalue": {
  26966. "description": "定期强平参数 [收益权]",
  26967. "type": "integer"
  26968. },
  26969. "goodscode": {
  26970. "description": "商品代码(内部)",
  26971. "type": "string"
  26972. },
  26973. "goodscurrencyid": {
  26974. "description": "合约货币ID",
  26975. "type": "integer"
  26976. },
  26977. "goodsgroupid": {
  26978. "description": "所属商品组ID",
  26979. "type": "integer"
  26980. },
  26981. "goodsid": {
  26982. "description": "商品ID(自增ID SEQ_GOODS)",
  26983. "type": "integer"
  26984. },
  26985. "goodsname": {
  26986. "description": "商品名称",
  26987. "type": "string"
  26988. },
  26989. "goodsquotetype": {
  26990. "description": "合约报价类型: 1-直接报价 2-间接报价",
  26991. "type": "integer"
  26992. },
  26993. "goodsstatus": {
  26994. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  26995. "type": "integer"
  26996. },
  26997. "goodstradetype": {
  26998. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  26999. "type": "integer"
  27000. },
  27001. "goodunitid": {
  27002. "description": "报价单位ID",
  27003. "type": "integer"
  27004. },
  27005. "hasquoter": {
  27006. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  27007. "type": "integer"
  27008. },
  27009. "hqprotecttime": {
  27010. "description": "行情保护时间(秒)",
  27011. "type": "integer"
  27012. },
  27013. "innerdealmode": {
  27014. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  27015. "type": "integer"
  27016. },
  27017. "isbuylimited": {
  27018. "description": "是否限制建仓量 - 0:不限制 1:限制",
  27019. "type": "integer"
  27020. },
  27021. "isvisible": {
  27022. "description": "游客是否可见 - 0:不可见 1:可见",
  27023. "type": "integer"
  27024. },
  27025. "lasttradedate": {
  27026. "description": "最后交易日期(状态:待退市)",
  27027. "type": "string"
  27028. },
  27029. "listingdate": {
  27030. "description": "交易开始日期",
  27031. "type": "string"
  27032. },
  27033. "marketid": {
  27034. "description": "所属市场ID",
  27035. "type": "integer"
  27036. },
  27037. "modifierid": {
  27038. "description": "修改人",
  27039. "type": "integer"
  27040. },
  27041. "modifystatus": {
  27042. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  27043. "type": "integer"
  27044. },
  27045. "modifytime": {
  27046. "description": "修改时间",
  27047. "type": "string"
  27048. },
  27049. "outerdealmode": {
  27050. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  27051. "type": "integer"
  27052. },
  27053. "outgoodscode": {
  27054. "description": "商品代码(外部)",
  27055. "type": "string"
  27056. },
  27057. "pictureurl": {
  27058. "description": "商品图片",
  27059. "type": "string"
  27060. },
  27061. "qtydecimalplace": {
  27062. "description": "成交量小数位",
  27063. "type": "integer"
  27064. },
  27065. "quotegear": {
  27066. "description": "行情档位(1-10)",
  27067. "type": "integer"
  27068. },
  27069. "quoteminunit": {
  27070. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  27071. "type": "integer"
  27072. },
  27073. "quoteshowtype": {
  27074. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  27075. "type": "integer"
  27076. },
  27077. "quoteshowtypeinterval": {
  27078. "description": "行情报价间隔时间(秒)(成交价时为0)",
  27079. "type": "integer"
  27080. },
  27081. "relatedgoodsid": {
  27082. "description": "关联参考商品ID",
  27083. "type": "integer"
  27084. },
  27085. "remark": {
  27086. "description": "备注",
  27087. "type": "string"
  27088. },
  27089. "trademode": {
  27090. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  27091. "type": "integer"
  27092. }
  27093. }
  27094. },
  27095. "models.ErmcpGoodsBrand": {
  27096. "type": "object",
  27097. "properties": {
  27098. "areauserid": {
  27099. "description": "所属机构",
  27100. "type": "integer"
  27101. },
  27102. "brandid": {
  27103. "description": "BrandID(SEQ_SPOTGOODSBRAND)",
  27104. "type": "integer"
  27105. },
  27106. "brandname": {
  27107. "description": "品牌名称",
  27108. "type": "string"
  27109. },
  27110. "createtime": {
  27111. "description": "创建时间",
  27112. "type": "string"
  27113. },
  27114. "creatorid": {
  27115. "description": "创建人",
  27116. "type": "integer"
  27117. },
  27118. "creatorsrc": {
  27119. "description": "创建人来源 - 1:管理端 2:终端",
  27120. "type": "integer"
  27121. },
  27122. "deliverygoodsid": {
  27123. "description": "现货品种ID",
  27124. "type": "integer"
  27125. },
  27126. "isvalid": {
  27127. "description": "是否有效 - 0:无效 1:有效",
  27128. "type": "integer"
  27129. },
  27130. "updatetime": {
  27131. "description": "更新时间",
  27132. "type": "string"
  27133. },
  27134. "updatorid": {
  27135. "description": "更新人",
  27136. "type": "integer"
  27137. },
  27138. "updatorsrc": {
  27139. "description": "更新人来源 - 1:管理端 2:终端",
  27140. "type": "integer"
  27141. },
  27142. "wrstandardid": {
  27143. "description": "现货商品ID",
  27144. "type": "integer"
  27145. }
  27146. }
  27147. },
  27148. "models.ErmcpGoodsModel": {
  27149. "type": "object",
  27150. "properties": {
  27151. "areauserid": {
  27152. "description": "所属机构",
  27153. "type": "integer"
  27154. },
  27155. "convertfactor": {
  27156. "description": "标仓系数",
  27157. "type": "number"
  27158. },
  27159. "createtime": {
  27160. "description": "创建时间",
  27161. "type": "string"
  27162. },
  27163. "creatorid": {
  27164. "description": "创建人",
  27165. "type": "integer"
  27166. },
  27167. "creatorsrc": {
  27168. "description": "创建人来源 - 1:管理端 2:终端",
  27169. "type": "integer"
  27170. },
  27171. "deliverygoodsid": {
  27172. "description": "现货品种ID",
  27173. "type": "integer"
  27174. },
  27175. "isvalid": {
  27176. "description": "是否有效 - 0:无效 1:有效",
  27177. "type": "integer"
  27178. },
  27179. "modelid": {
  27180. "description": "ModelID(SEQ_SPOTGOODSMODEL)",
  27181. "type": "integer"
  27182. },
  27183. "modelname": {
  27184. "description": "型号名称",
  27185. "type": "string"
  27186. },
  27187. "updatetime": {
  27188. "description": "更新时间",
  27189. "type": "string"
  27190. },
  27191. "updatorid": {
  27192. "description": "更新人",
  27193. "type": "integer"
  27194. },
  27195. "updatorsrc": {
  27196. "description": "更新人来源 - 1:管理端 2:终端",
  27197. "type": "integer"
  27198. },
  27199. "wrstandardid": {
  27200. "description": "现货商品ID",
  27201. "type": "integer"
  27202. }
  27203. }
  27204. },
  27205. "models.ErmcpHisExposure": {
  27206. "type": "object",
  27207. "properties": {
  27208. "needhedgeexposoure": {
  27209. "description": "应套保敞口",
  27210. "type": "number"
  27211. },
  27212. "reckondate": {
  27213. "description": "日照时期(yyyyMMdd)",
  27214. "type": "string"
  27215. },
  27216. "totalexposure": {
  27217. "description": "总敞口",
  27218. "type": "number"
  27219. }
  27220. }
  27221. },
  27222. "models.ErmcpLoginTaAccount": {
  27223. "type": "object",
  27224. "properties": {
  27225. "accountid": {
  27226. "description": "账号id",
  27227. "type": "integer"
  27228. },
  27229. "accountname": {
  27230. "description": "账号名称",
  27231. "type": "string"
  27232. }
  27233. }
  27234. },
  27235. "models.ErmcpLoginUser": {
  27236. "type": "object",
  27237. "properties": {
  27238. "acclist": {
  27239. "description": "关联资金账号",
  27240. "type": "array",
  27241. "items": {
  27242. "$ref": "#/definitions/models.ErmcpLoginTaAccount"
  27243. }
  27244. },
  27245. "accountname": {
  27246. "description": "用户名称",
  27247. "type": "string"
  27248. },
  27249. "clientroleid": {
  27250. "description": "角色id(usertype=2)",
  27251. "type": "integer"
  27252. },
  27253. "createtime": {
  27254. "description": "创建时间",
  27255. "type": "string"
  27256. },
  27257. "logincode": {
  27258. "description": "登录代码",
  27259. "type": "string"
  27260. },
  27261. "loginid": {
  27262. "description": "登录id(LOGINID)",
  27263. "type": "integer"
  27264. },
  27265. "loginname": {
  27266. "description": "登录名称(loginaccount表中的accountname字段)",
  27267. "type": "string"
  27268. },
  27269. "loginstatus": {
  27270. "description": "登录账户状态 - 1:正常 2:冻结 3:无效",
  27271. "type": "integer"
  27272. },
  27273. "memberuserid": {
  27274. "description": "所属会员id",
  27275. "type": "integer"
  27276. },
  27277. "mobile": {
  27278. "description": "手机号",
  27279. "type": "string"
  27280. },
  27281. "modifytime": {
  27282. "description": "修改时间",
  27283. "type": "string"
  27284. },
  27285. "password": {
  27286. "description": "密码(不可解密)",
  27287. "type": "string"
  27288. },
  27289. "rolename": {
  27290. "description": "角色名称",
  27291. "type": "string"
  27292. },
  27293. "rolestatus": {
  27294. "description": "角色状态 1-启用 2-停用",
  27295. "type": "integer"
  27296. },
  27297. "roletype": {
  27298. "description": "角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员",
  27299. "type": "string"
  27300. },
  27301. "userid": {
  27302. "description": "用户id",
  27303. "type": "integer"
  27304. },
  27305. "usertype": {
  27306. "description": "用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  27307. "type": "integer"
  27308. }
  27309. }
  27310. },
  27311. "models.ErmcpLoginUserEx": {
  27312. "type": "object",
  27313. "properties": {
  27314. "accountstatus": {
  27315. "description": "账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  27316. "type": "integer"
  27317. },
  27318. "mobile": {
  27319. "description": "手机号",
  27320. "type": "string"
  27321. },
  27322. "querytype": {
  27323. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  27324. "type": "integer"
  27325. },
  27326. "roleid": {
  27327. "description": "角色id(交易账户-\u003e用户id)",
  27328. "type": "integer"
  27329. },
  27330. "rolename": {
  27331. "description": "角色名称(交易账户-\u003e用户名称)",
  27332. "type": "string"
  27333. },
  27334. "userlist": {
  27335. "description": "用户列表",
  27336. "type": "array",
  27337. "items": {
  27338. "$ref": "#/definitions/models.ErmcpLoginUser"
  27339. }
  27340. },
  27341. "usertype": {
  27342. "description": "用户类型 2-机构 7-企业成员(云平台)",
  27343. "type": "integer"
  27344. }
  27345. }
  27346. },
  27347. "models.ErmcpMiddleGoodsModel": {
  27348. "type": "object",
  27349. "properties": {
  27350. "areauserid": {
  27351. "description": "机构用户ID",
  27352. "type": "integer"
  27353. },
  27354. "createtime": {
  27355. "description": "修改时间",
  27356. "type": "string"
  27357. },
  27358. "enumdicname": {
  27359. "description": "单位名称",
  27360. "type": "string"
  27361. },
  27362. "evaluateratio": {
  27363. "description": "估价系数",
  27364. "type": "number"
  27365. },
  27366. "goodsgroupid": {
  27367. "description": "关联期货品种ID",
  27368. "type": "integer"
  27369. },
  27370. "goodsunitid": {
  27371. "description": "单位ID",
  27372. "type": "integer"
  27373. },
  27374. "isvalid": {
  27375. "description": "状态 0-无效(停用) 1-有效(正常)",
  27376. "type": "integer"
  27377. },
  27378. "middlegoodscode": {
  27379. "description": "套保品种代码",
  27380. "type": "string"
  27381. },
  27382. "middlegoodsid": {
  27383. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  27384. "type": "integer"
  27385. },
  27386. "middlegoodsname": {
  27387. "description": "套保品种名称",
  27388. "type": "string"
  27389. },
  27390. "modifytime": {
  27391. "description": "修改时间",
  27392. "type": "string"
  27393. },
  27394. "needarbitrageratio": {
  27395. "description": "套利比例",
  27396. "type": "number"
  27397. },
  27398. "needhedgeratio": {
  27399. "description": "套保比率",
  27400. "type": "number"
  27401. },
  27402. "qtydecimalplace": {
  27403. "description": "数量小数位",
  27404. "type": "integer"
  27405. },
  27406. "relatedgoodsid": {
  27407. "description": "关联交易商品ID",
  27408. "type": "integer"
  27409. },
  27410. "relatedgoodstype": {
  27411. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  27412. "type": "integer"
  27413. },
  27414. "remark": {
  27415. "description": "备注",
  27416. "type": "string"
  27417. }
  27418. }
  27419. },
  27420. "models.ErmcpMiddlegoodsRelateGoods": {
  27421. "type": "object",
  27422. "properties": {
  27423. "agreeunit": {
  27424. "description": "合约乘数",
  27425. "type": "number"
  27426. },
  27427. "convertratio": {
  27428. "description": "折算系数",
  27429. "type": "number"
  27430. },
  27431. "enumdicname": {
  27432. "description": "单位名称(交易商品)",
  27433. "type": "string"
  27434. },
  27435. "goodscode": {
  27436. "description": "交易商品代码",
  27437. "type": "string"
  27438. },
  27439. "goodsgroupid": {
  27440. "description": "交易品种id",
  27441. "type": "integer"
  27442. },
  27443. "goodsid": {
  27444. "description": "商品Id",
  27445. "type": "integer"
  27446. },
  27447. "goodsname": {
  27448. "description": "交易商品名称",
  27449. "type": "string"
  27450. },
  27451. "goodunitid": {
  27452. "description": "交易商品单位id",
  27453. "type": "integer"
  27454. },
  27455. "middlegoodsid": {
  27456. "description": "套保商品id",
  27457. "type": "integer"
  27458. },
  27459. "middlegoodsname": {
  27460. "description": "套保商品名称",
  27461. "type": "string"
  27462. },
  27463. "middlegoodsswcode": {
  27464. "description": "套保商品代码",
  27465. "type": "string"
  27466. },
  27467. "needarbitrageratio": {
  27468. "description": "应套利比例",
  27469. "type": "number"
  27470. },
  27471. "needhedgeratio": {
  27472. "description": "应套保比例",
  27473. "type": "number"
  27474. }
  27475. }
  27476. },
  27477. "models.ErmcpRole": {
  27478. "type": "object",
  27479. "properties": {
  27480. "areauserid": {
  27481. "description": "所属机构",
  27482. "type": "integer"
  27483. },
  27484. "autoid": {
  27485. "description": "角色ID(自增ID)",
  27486. "type": "integer"
  27487. },
  27488. "modifierid": {
  27489. "description": "修改人(创建人)",
  27490. "type": "integer"
  27491. },
  27492. "modifiername": {
  27493. "description": "修改人名称",
  27494. "type": "string"
  27495. },
  27496. "modifytime": {
  27497. "description": "修改时间(创建时间)",
  27498. "type": "string"
  27499. },
  27500. "rolename": {
  27501. "description": "角色名称",
  27502. "type": "string"
  27503. },
  27504. "rolestatus": {
  27505. "description": "角色状态 - 1:启用 2:停用",
  27506. "type": "integer"
  27507. },
  27508. "roletype": {
  27509. "description": "角色类型 - 1- 管理端 2- 交易端",
  27510. "type": "integer"
  27511. }
  27512. }
  27513. },
  27514. "models.ErmcpRoleMenu": {
  27515. "type": "object",
  27516. "properties": {
  27517. "iconame": {
  27518. "description": "菜单图标",
  27519. "type": "string"
  27520. },
  27521. "ishadrole": {
  27522. "description": "是否有权限",
  27523. "type": "boolean"
  27524. },
  27525. "menutype": {
  27526. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 5:PCWEB(v6)",
  27527. "type": "integer"
  27528. },
  27529. "parentcode": {
  27530. "description": "上级资源代码",
  27531. "type": "string"
  27532. },
  27533. "remark": {
  27534. "description": "菜单备注",
  27535. "type": "string"
  27536. },
  27537. "resourcecode": {
  27538. "description": "菜单代码",
  27539. "type": "string"
  27540. },
  27541. "resourcelevel": {
  27542. "description": "级别",
  27543. "type": "integer"
  27544. },
  27545. "resourcename": {
  27546. "description": "菜单名称",
  27547. "type": "string"
  27548. },
  27549. "roleid": {
  27550. "description": "角色id",
  27551. "type": "integer"
  27552. },
  27553. "sort": {
  27554. "description": "排序",
  27555. "type": "integer"
  27556. },
  27557. "url": {
  27558. "description": "URL",
  27559. "type": "string"
  27560. },
  27561. "userid": {
  27562. "description": "用户id",
  27563. "type": "integer"
  27564. }
  27565. }
  27566. },
  27567. "models.ErmcpRoleMenuEx": {
  27568. "type": "object",
  27569. "properties": {
  27570. "menu": {
  27571. "description": "父级菜单",
  27572. "$ref": "#/definitions/models.ErmcpRoleMenu"
  27573. },
  27574. "subMenu": {
  27575. "description": "子级菜单",
  27576. "type": "array",
  27577. "items": {
  27578. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  27579. }
  27580. }
  27581. }
  27582. },
  27583. "models.ErmcpSpotContractModelEx": {
  27584. "type": "object",
  27585. "properties": {
  27586. "accountname": {
  27587. "description": "套期主体",
  27588. "type": "string"
  27589. },
  27590. "amount": {
  27591. "description": "金额 [1:一口价、3:暂定价]",
  27592. "type": "number"
  27593. },
  27594. "attachment": {
  27595. "description": "附件",
  27596. "type": "string"
  27597. },
  27598. "auditremark": {
  27599. "description": "审核意见",
  27600. "type": "string"
  27601. },
  27602. "audittime": {
  27603. "description": "审核时间",
  27604. "type": "string"
  27605. },
  27606. "avgprice": {
  27607. "description": "定价均价 = 已定价金额 / 已定价量",
  27608. "type": "number"
  27609. },
  27610. "brandname": {
  27611. "description": "品牌名称",
  27612. "type": "string"
  27613. },
  27614. "buyuserid": {
  27615. "description": "采购方ID",
  27616. "type": "integer"
  27617. },
  27618. "buyusername": {
  27619. "description": "采购方名称",
  27620. "type": "string"
  27621. },
  27622. "contracctstatus": {
  27623. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  27624. "type": "integer"
  27625. },
  27626. "contractmargin": {
  27627. "description": "合同保证金",
  27628. "type": "number"
  27629. },
  27630. "contractno": {
  27631. "description": "[合同编号]现货合同编号",
  27632. "type": "string"
  27633. },
  27634. "contracttype": {
  27635. "description": "[合同类型]现货合同类型 - 1:采购 -1:销售",
  27636. "type": "integer"
  27637. },
  27638. "convertfactor": {
  27639. "description": "标仓系数",
  27640. "type": "number"
  27641. },
  27642. "createtime": {
  27643. "description": "创建时间",
  27644. "type": "string"
  27645. },
  27646. "customername": {
  27647. "description": "对手方",
  27648. "type": "string"
  27649. },
  27650. "customeruserid": {
  27651. "description": "客户ID",
  27652. "type": "integer"
  27653. },
  27654. "deliveryenddate": {
  27655. "description": "交收期(结束)",
  27656. "type": "string"
  27657. },
  27658. "deliverygoodscode": {
  27659. "description": "现货品种代码",
  27660. "type": "string"
  27661. },
  27662. "deliverygoodsid": {
  27663. "description": "现货品种ID",
  27664. "type": "integer"
  27665. },
  27666. "deliverygoodsname": {
  27667. "description": "现货品种名称",
  27668. "type": "string"
  27669. },
  27670. "deliverystartdate": {
  27671. "description": "交收期(开始)",
  27672. "type": "string"
  27673. },
  27674. "enddate": {
  27675. "description": "点价结束日期 [2:点价 3:暂定价]",
  27676. "type": "string"
  27677. },
  27678. "enumdicname": {
  27679. "description": "单位名称",
  27680. "type": "string"
  27681. },
  27682. "goodscode": {
  27683. "description": "点价合约代码",
  27684. "type": "string"
  27685. },
  27686. "goodsid": {
  27687. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  27688. "type": "integer"
  27689. },
  27690. "goodsname": {
  27691. "description": "点价商品名称",
  27692. "type": "string"
  27693. },
  27694. "isrelated": {
  27695. "description": "是否已关联计划项目 - 0:否 1:是",
  27696. "type": "integer"
  27697. },
  27698. "isrelated2": {
  27699. "description": "是否已关联现货项目 - 0:否 1:是",
  27700. "type": "integer"
  27701. },
  27702. "margin": {
  27703. "description": "当前保证金",
  27704. "type": "number"
  27705. },
  27706. "modelname": {
  27707. "description": "型号名称",
  27708. "type": "string"
  27709. },
  27710. "price": {
  27711. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  27712. "type": "number"
  27713. },
  27714. "pricedamount": {
  27715. "description": "已定价金额 = (点价价格+升贴水) * 数量",
  27716. "type": "number"
  27717. },
  27718. "pricedqty": {
  27719. "description": "已定价量",
  27720. "type": "number"
  27721. },
  27722. "pricemove": {
  27723. "description": "升贴水 [2:点价 3:暂定价]",
  27724. "type": "number"
  27725. },
  27726. "pricetype": {
  27727. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  27728. "type": "integer"
  27729. },
  27730. "producttype": {
  27731. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  27732. "type": "integer"
  27733. },
  27734. "qty": {
  27735. "description": "[合同数量]数量",
  27736. "type": "number"
  27737. },
  27738. "remark": {
  27739. "description": "备注",
  27740. "type": "string"
  27741. },
  27742. "selluserid": {
  27743. "description": "销售方ID",
  27744. "type": "integer"
  27745. },
  27746. "sellusername": {
  27747. "description": "销售方名称",
  27748. "type": "string"
  27749. },
  27750. "spotamount": {
  27751. "description": "合同现货金额 [不含升贴水]",
  27752. "type": "number"
  27753. },
  27754. "spotavgprice": {
  27755. "description": "现货均价 = 合同现货金额 / 已定价量",
  27756. "type": "number"
  27757. },
  27758. "spotcontractid": {
  27759. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  27760. "type": "string"
  27761. },
  27762. "spotgoodsbrandid": {
  27763. "description": "现货品牌ID",
  27764. "type": "integer"
  27765. },
  27766. "spotgoodsdesc": {
  27767. "description": "商品型号",
  27768. "type": "string"
  27769. },
  27770. "spotgoodsmodelid": {
  27771. "description": "现货型号ID",
  27772. "type": "integer"
  27773. },
  27774. "startdate": {
  27775. "description": "点价开始日期 [2:点价 3:暂定价]",
  27776. "type": "string"
  27777. },
  27778. "tradeuserid": {
  27779. "description": "交易用户ID",
  27780. "type": "integer"
  27781. },
  27782. "unpricedqty": {
  27783. "description": "未定价量 = 合同数量 - 已定价量",
  27784. "type": "number"
  27785. },
  27786. "updatetime": {
  27787. "description": "更新时间",
  27788. "type": "string"
  27789. },
  27790. "userid": {
  27791. "description": "机构ID",
  27792. "type": "integer"
  27793. },
  27794. "wrstandardcode": {
  27795. "description": "现货商品代码",
  27796. "type": "string"
  27797. },
  27798. "wrstandardid": {
  27799. "description": "现货商品ID",
  27800. "type": "integer"
  27801. },
  27802. "wrstandardname": {
  27803. "description": "[现货商品]现货商品名称",
  27804. "type": "string"
  27805. }
  27806. }
  27807. },
  27808. "models.ErmcpTaAccount": {
  27809. "type": "object",
  27810. "properties": {
  27811. "accountid": {
  27812. "description": "账户id",
  27813. "type": "integer"
  27814. },
  27815. "accountname": {
  27816. "description": "账户名称",
  27817. "type": "string"
  27818. },
  27819. "currencyid": {
  27820. "description": "币种id",
  27821. "type": "integer"
  27822. },
  27823. "hedgeaccountcode": {
  27824. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  27825. "type": "string"
  27826. },
  27827. "ismain": {
  27828. "description": "是否主账户 0-否 1-是",
  27829. "type": "integer"
  27830. },
  27831. "parentaccountid": {
  27832. "description": "父账户id",
  27833. "type": "integer"
  27834. },
  27835. "relateduserid": {
  27836. "description": "关联userid",
  27837. "type": "integer"
  27838. },
  27839. "tradefeetmpid": {
  27840. "description": "手续费模板id",
  27841. "type": "integer"
  27842. },
  27843. "tradefeetmpname": {
  27844. "description": "手续费模板名称",
  27845. "type": "string"
  27846. },
  27847. "trademargintmpid": {
  27848. "description": "保证金模板id",
  27849. "type": "integer"
  27850. },
  27851. "trademargintmpname": {
  27852. "description": "保证金模板名称",
  27853. "type": "string"
  27854. },
  27855. "traderatetmpid": {
  27856. "description": "汇率模板id",
  27857. "type": "integer"
  27858. },
  27859. "traderatetmpname": {
  27860. "description": "汇率模板名称",
  27861. "type": "string"
  27862. },
  27863. "tradestatus": {
  27864. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  27865. "type": "integer"
  27866. },
  27867. "userid": {
  27868. "description": "用户id",
  27869. "type": "integer"
  27870. }
  27871. }
  27872. },
  27873. "models.ErmcpTaAccountEx": {
  27874. "type": "object",
  27875. "properties": {
  27876. "mainAcc": {
  27877. "description": "主账号",
  27878. "$ref": "#/definitions/models.ErmcpTaAccountM"
  27879. },
  27880. "subacclist": {
  27881. "description": "子账号列表",
  27882. "type": "array",
  27883. "items": {
  27884. "$ref": "#/definitions/models.ErmcpTaAccount"
  27885. }
  27886. }
  27887. }
  27888. },
  27889. "models.ErmcpTaAccountInfo": {
  27890. "type": "object",
  27891. "properties": {
  27892. "accountid": {
  27893. "description": "资金账户ID",
  27894. "type": "integer"
  27895. },
  27896. "accountname": {
  27897. "description": "账户名称",
  27898. "type": "string"
  27899. },
  27900. "balance": {
  27901. "description": "期初余额",
  27902. "type": "number"
  27903. },
  27904. "capitalbalance": {
  27905. "description": "本金余额[外部子账户实际出入金余额]",
  27906. "type": "number"
  27907. },
  27908. "closepl": {
  27909. "description": "今日平仓盈亏",
  27910. "type": "number"
  27911. },
  27912. "creditdecrease": {
  27913. "description": "今日授信减少",
  27914. "type": "number"
  27915. },
  27916. "creditincrease": {
  27917. "description": "今日授信增加",
  27918. "type": "number"
  27919. },
  27920. "curdebt": {
  27921. "description": "期末欠款",
  27922. "type": "number"
  27923. },
  27924. "currencyid": {
  27925. "description": "货币ID",
  27926. "type": "integer"
  27927. },
  27928. "currentbalance": {
  27929. "description": "期末余额",
  27930. "type": "number"
  27931. },
  27932. "freezecharge": {
  27933. "description": "手续费冻结",
  27934. "type": "number"
  27935. },
  27936. "freezemargin": {
  27937. "description": "冻结保证金",
  27938. "type": "number"
  27939. },
  27940. "fromaccountid": {
  27941. "description": "所属上级账户",
  27942. "type": "integer"
  27943. },
  27944. "inamount": {
  27945. "description": "今日入金金额(包括三方入金)",
  27946. "type": "number"
  27947. },
  27948. "ismain": {
  27949. "description": "是否母账号 0:不是母账户 1:是母账户",
  27950. "type": "integer"
  27951. },
  27952. "mortgagecredit": {
  27953. "description": "授信金额",
  27954. "type": "number"
  27955. },
  27956. "oridebt": {
  27957. "description": "期初欠款",
  27958. "type": "number"
  27959. },
  27960. "orifreezecharge": {
  27961. "description": "期初手续费冻结",
  27962. "type": "number"
  27963. },
  27964. "orifreezemargin": {
  27965. "description": "期初冻结保证金",
  27966. "type": "number"
  27967. },
  27968. "orimortgagecredit": {
  27969. "description": "期初授信金额",
  27970. "type": "number"
  27971. },
  27972. "oriothercredit": {
  27973. "description": "期初其它授信金额",
  27974. "type": "number"
  27975. },
  27976. "oriotherfreezemargin": {
  27977. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  27978. "type": "number"
  27979. },
  27980. "orioutamountfreeze": {
  27981. "description": "期初出金冻结",
  27982. "type": "number"
  27983. },
  27984. "oriusedmargin": {
  27985. "description": "期初占用保证金",
  27986. "type": "number"
  27987. },
  27988. "othercredit": {
  27989. "description": "其它授信金额",
  27990. "type": "number"
  27991. },
  27992. "othercreditdecrease": {
  27993. "description": "今日其它授信减少",
  27994. "type": "number"
  27995. },
  27996. "othercreditincrease": {
  27997. "description": "今日其它授信增加",
  27998. "type": "number"
  27999. },
  28000. "otherfreezemargin": {
  28001. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  28002. "type": "number"
  28003. },
  28004. "outamount": {
  28005. "description": "今日出金金额(包括三方出金)",
  28006. "type": "number"
  28007. },
  28008. "outamountfreeze": {
  28009. "description": "出金冻结",
  28010. "type": "number"
  28011. },
  28012. "outthreshold": {
  28013. "description": "出金阈值",
  28014. "type": "number"
  28015. },
  28016. "parentaccountid": {
  28017. "description": "所属根账号",
  28018. "type": "integer"
  28019. },
  28020. "paycharge": {
  28021. "description": "今日手续费支出",
  28022. "type": "number"
  28023. },
  28024. "relateduserid": {
  28025. "description": "关联用户",
  28026. "type": "integer"
  28027. },
  28028. "signstatus": {
  28029. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  28030. "type": "integer"
  28031. },
  28032. "sublevelpath": {
  28033. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  28034. "type": "string"
  28035. },
  28036. "taaccounttype": {
  28037. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  28038. "type": "integer"
  28039. },
  28040. "thirdinamount": {
  28041. "description": "今日三方入金",
  28042. "type": "number"
  28043. },
  28044. "thirdoutamount": {
  28045. "description": "今日三方出金",
  28046. "type": "number"
  28047. },
  28048. "tradestatus": {
  28049. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  28050. "type": "integer"
  28051. },
  28052. "transferamount": {
  28053. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  28054. "type": "number"
  28055. },
  28056. "usedmargin": {
  28057. "description": "占用保证金",
  28058. "type": "number"
  28059. },
  28060. "userid": {
  28061. "description": "用户ID",
  28062. "type": "integer"
  28063. }
  28064. }
  28065. },
  28066. "models.ErmcpTaAccountM": {
  28067. "type": "object",
  28068. "properties": {
  28069. "accountid": {
  28070. "description": "账户id",
  28071. "type": "integer"
  28072. },
  28073. "accountname": {
  28074. "description": "账户名称",
  28075. "type": "string"
  28076. },
  28077. "currencyid": {
  28078. "description": "币种id",
  28079. "type": "integer"
  28080. },
  28081. "fcid": {
  28082. "description": "期货公司id",
  28083. "type": "integer"
  28084. },
  28085. "fcname": {
  28086. "description": "期货公司代码",
  28087. "type": "string"
  28088. },
  28089. "hedgeaccountcode": {
  28090. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  28091. "type": "string"
  28092. },
  28093. "ismain": {
  28094. "description": "是否主账户 0-否 1-是",
  28095. "type": "integer"
  28096. },
  28097. "parentaccountid": {
  28098. "description": "父账户id",
  28099. "type": "integer"
  28100. },
  28101. "relateduserid": {
  28102. "description": "关联userid",
  28103. "type": "integer"
  28104. },
  28105. "tradefeetmpid": {
  28106. "description": "手续费模板id",
  28107. "type": "integer"
  28108. },
  28109. "tradefeetmpname": {
  28110. "description": "手续费模板名称",
  28111. "type": "string"
  28112. },
  28113. "trademargintmpid": {
  28114. "description": "保证金模板id",
  28115. "type": "integer"
  28116. },
  28117. "trademargintmpname": {
  28118. "description": "保证金模板名称",
  28119. "type": "string"
  28120. },
  28121. "traderatetmpid": {
  28122. "description": "汇率模板id",
  28123. "type": "integer"
  28124. },
  28125. "traderatetmpname": {
  28126. "description": "汇率模板名称",
  28127. "type": "string"
  28128. },
  28129. "tradestatus": {
  28130. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  28131. "type": "integer"
  28132. },
  28133. "userid": {
  28134. "description": "用户id",
  28135. "type": "integer"
  28136. }
  28137. }
  28138. },
  28139. "models.ErmcpTradeConfigTMP": {
  28140. "type": "object",
  28141. "properties": {
  28142. "areauserid": {
  28143. "description": "所属机构",
  28144. "type": "integer"
  28145. },
  28146. "basiccurrencyid": {
  28147. "description": "基本币种ID[汇率] - 目标币种",
  28148. "type": "integer"
  28149. },
  28150. "mainaccountid": {
  28151. "description": "主账户ID",
  28152. "type": "integer"
  28153. },
  28154. "modifierid": {
  28155. "description": "修改人",
  28156. "type": "integer"
  28157. },
  28158. "remark": {
  28159. "description": "备注",
  28160. "type": "string"
  28161. },
  28162. "tradeconfigtmpid": {
  28163. "description": "交易配置模板ID(SEQ_TRADECONFIGTMP)",
  28164. "type": "integer"
  28165. },
  28166. "tradeconfigtmpname": {
  28167. "description": "交易配置模板名称",
  28168. "type": "string"
  28169. },
  28170. "tradeconfigtmptype": {
  28171. "description": "交易配置模板类型 - 1:保证金 2:手续费 3:汇率",
  28172. "type": "integer"
  28173. },
  28174. "updatetime": {
  28175. "description": "更新时间",
  28176. "type": "string"
  28177. }
  28178. }
  28179. },
  28180. "models.Ermcpjrlinkpos": {
  28181. "type": "object",
  28182. "required": [
  28183. "spotcontractid"
  28184. ],
  28185. "properties": {
  28186. "areauserid": {
  28187. "description": "所属企业",
  28188. "type": "integer"
  28189. },
  28190. "averageprice": {
  28191. "description": "持仓均价 (TotalBuyHoldAmount - TotalSellHoldAmount) / NetQty",
  28192. "type": "number"
  28193. },
  28194. "closepl": {
  28195. "description": "总平仓盈亏 [期货损益]",
  28196. "type": "number"
  28197. },
  28198. "executeprice": {
  28199. "description": "执行价 - 1:期货单 为 0",
  28200. "type": "integer"
  28201. },
  28202. "futurehedgeqty": {
  28203. "description": "期货套期量",
  28204. "type": "number"
  28205. },
  28206. "goodsid": {
  28207. "description": "期货合约",
  28208. "type": "integer"
  28209. },
  28210. "middlegoodscode": {
  28211. "description": "套保商品代码",
  28212. "type": "string"
  28213. },
  28214. "middlegoodsname": {
  28215. "description": "套保商品名称",
  28216. "type": "string"
  28217. },
  28218. "netqty": {
  28219. "description": "净头寸",
  28220. "type": "number"
  28221. },
  28222. "optioncode": {
  28223. "description": "期权代码",
  28224. "type": "string"
  28225. },
  28226. "ordertype": {
  28227. "description": "单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单",
  28228. "type": "integer"
  28229. },
  28230. "reckonpl": {
  28231. "description": "总盈亏(平仓盈亏 + 结算盈亏 - 手续费)",
  28232. "type": "number"
  28233. },
  28234. "spotcontractid": {
  28235. "description": "现货ID [套期项目ID - 金瑞:合同\\虚拟合同ID",
  28236. "type": "string"
  28237. },
  28238. "todayfutureclosepl": {
  28239. "description": "今日平仓盈亏",
  28240. "type": "number"
  28241. },
  28242. "totalbuyamount": {
  28243. "description": "买金额 [期货]",
  28244. "type": "number"
  28245. },
  28246. "totalbuyholdamount": {
  28247. "description": "买持仓总金额[期货]",
  28248. "type": "number"
  28249. },
  28250. "totalbuyqty": {
  28251. "description": "买数量",
  28252. "type": "number"
  28253. },
  28254. "totalcharge": {
  28255. "description": "手续费",
  28256. "type": "number"
  28257. },
  28258. "totalpremium": {
  28259. "description": "权利金 [期权]",
  28260. "type": "number"
  28261. },
  28262. "totalsellamount": {
  28263. "description": "卖金额 [期货]",
  28264. "type": "number"
  28265. },
  28266. "totalsellholdamount": {
  28267. "description": "卖持仓总金额[期货]",
  28268. "type": "number"
  28269. },
  28270. "totalsellqty": {
  28271. "description": "卖数量",
  28272. "type": "number"
  28273. },
  28274. "updatetime": {
  28275. "description": "更新时间",
  28276. "type": "string"
  28277. }
  28278. }
  28279. },
  28280. "models.Ermcppatradelinkdetail": {
  28281. "type": "object",
  28282. "required": [
  28283. "hedgeditemid"
  28284. ],
  28285. "properties": {
  28286. "agreeunit": {
  28287. "description": "合约乘数",
  28288. "type": "number"
  28289. },
  28290. "amount": {
  28291. "description": "金额 = RelatedLot * TradePrice * AgreeUnit",
  28292. "type": "number"
  28293. },
  28294. "areauserid": {
  28295. "description": "所属机构",
  28296. "type": "integer"
  28297. },
  28298. "bizsubjectid": {
  28299. "description": "归属业务部门ID - SubjectID",
  28300. "type": "integer"
  28301. },
  28302. "buyorsell": {
  28303. "description": "方向 - 0:买 1:卖",
  28304. "type": "integer"
  28305. },
  28306. "convertratio": {
  28307. "description": "品种系数",
  28308. "type": "number"
  28309. },
  28310. "createtime": {
  28311. "description": "创建时间",
  28312. "type": "string"
  28313. },
  28314. "creatorid": {
  28315. "description": "创建人ID",
  28316. "type": "integer"
  28317. },
  28318. "creatorsrc": {
  28319. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  28320. "type": "integer"
  28321. },
  28322. "goodsgroupid": {
  28323. "description": "对冲品种ID[期货合约商品组ID]",
  28324. "type": "integer"
  28325. },
  28326. "goodsid": {
  28327. "description": "商品ID",
  28328. "type": "integer"
  28329. },
  28330. "hedgeditemid": {
  28331. "description": "现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]",
  28332. "type": "integer"
  28333. },
  28334. "hedgeflag": {
  28335. "description": "投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目",
  28336. "type": "integer"
  28337. },
  28338. "linkdetailid": {
  28339. "description": "期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)",
  28340. "type": "string"
  28341. },
  28342. "linkstatus": {
  28343. "description": "关联状态 - 1:成功 2:失败 3:解绑",
  28344. "type": "integer"
  28345. },
  28346. "middlegoodsid": {
  28347. "description": "套保品种ID",
  28348. "type": "integer"
  28349. },
  28350. "name": {
  28351. "description": "账户名/子账户",
  28352. "type": "string"
  28353. },
  28354. "optioncode": {
  28355. "description": "[期货合约]期权代码 [期权]",
  28356. "type": "string"
  28357. },
  28358. "ordertype": {
  28359. "description": "单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单",
  28360. "type": "integer"
  28361. },
  28362. "relatedlot": {
  28363. "description": "[数量]关联手数",
  28364. "type": "number"
  28365. },
  28366. "relatedmode": {
  28367. "description": "关联方式 - 1:自动关联 2:手动关联 3:解绑关联",
  28368. "type": "integer"
  28369. },
  28370. "relatedqty": {
  28371. "description": "关联数量 = RelatedLot * AgreeUnit * ConvertRatio",
  28372. "type": "number"
  28373. },
  28374. "retcode": {
  28375. "description": "返回码",
  28376. "type": "integer"
  28377. },
  28378. "saleuserid": {
  28379. "description": "业务员ID",
  28380. "type": "integer"
  28381. },
  28382. "tradedate": {
  28383. "description": "关联交易日(yyyyMMdd)",
  28384. "type": "string"
  28385. },
  28386. "tradeid": {
  28387. "description": "[成交单号]内部成交单ID",
  28388. "type": "string"
  28389. },
  28390. "tradelot": {
  28391. "description": "成交手数",
  28392. "type": "integer"
  28393. },
  28394. "tradeprice": {
  28395. "description": "[价格]成交价格",
  28396. "type": "number"
  28397. },
  28398. "tradetime": {
  28399. "description": "日期时间",
  28400. "type": "string"
  28401. },
  28402. "tradetradedate": {
  28403. "description": "成交交易日(yyyyMMdd)",
  28404. "type": "string"
  28405. }
  28406. }
  28407. },
  28408. "models.Externalexchange": {
  28409. "type": "object",
  28410. "required": [
  28411. "autoid"
  28412. ],
  28413. "properties": {
  28414. "autoid": {
  28415. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  28416. "type": "integer"
  28417. },
  28418. "exchangefullname": {
  28419. "description": "外部交易所全称",
  28420. "type": "string"
  28421. },
  28422. "exexchangecode": {
  28423. "description": "外部交易所代码",
  28424. "type": "string"
  28425. },
  28426. "exexchangename": {
  28427. "description": "外部交易所名称(简称)",
  28428. "type": "string"
  28429. },
  28430. "ismarketprice": {
  28431. "description": "是否支持市价 - 0:不支持 1:支持",
  28432. "type": "integer"
  28433. },
  28434. "quotegear": {
  28435. "description": "行情档位(1-10)",
  28436. "type": "integer"
  28437. },
  28438. "showbrokerflag": {
  28439. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  28440. "type": "integer"
  28441. },
  28442. "updatetime": {
  28443. "description": "更新时间",
  28444. "type": "string"
  28445. }
  28446. }
  28447. },
  28448. "models.Funcmenulist": {
  28449. "type": "object",
  28450. "required": [
  28451. "resourcecode"
  28452. ],
  28453. "properties": {
  28454. "iconame": {
  28455. "description": "菜单图标",
  28456. "type": "string"
  28457. },
  28458. "menutype": {
  28459. "description": "菜单类型 1-管理端 2-交易端 3-终端权限",
  28460. "type": "integer"
  28461. },
  28462. "parentcode": {
  28463. "description": "上级资源代码",
  28464. "type": "string"
  28465. },
  28466. "remark": {
  28467. "description": "备注",
  28468. "type": "string"
  28469. },
  28470. "resourcecode": {
  28471. "description": "资源代码",
  28472. "type": "string"
  28473. },
  28474. "resourcelevel": {
  28475. "description": "级别 1-一级 2-二级 3-三级 4-四级",
  28476. "type": "integer"
  28477. },
  28478. "resourcename": {
  28479. "description": "资源名",
  28480. "type": "string"
  28481. },
  28482. "sort": {
  28483. "description": "排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序",
  28484. "type": "integer"
  28485. },
  28486. "url": {
  28487. "description": "URL",
  28488. "type": "string"
  28489. }
  28490. }
  28491. },
  28492. "models.Goods": {
  28493. "type": "object",
  28494. "required": [
  28495. "goodscode",
  28496. "goodsid",
  28497. "goodsname",
  28498. "marketid"
  28499. ],
  28500. "properties": {
  28501. "agreeunit": {
  28502. "description": "合约单位",
  28503. "type": "number"
  28504. },
  28505. "areauserid": {
  28506. "description": "所属机构",
  28507. "type": "integer"
  28508. },
  28509. "auditaccountid": {
  28510. "description": "审核操作员账号",
  28511. "type": "integer"
  28512. },
  28513. "audittime": {
  28514. "description": "审核时间",
  28515. "type": "string"
  28516. },
  28517. "cancelaccountid": {
  28518. "description": "注销操作员账号",
  28519. "type": "integer"
  28520. },
  28521. "canceltime": {
  28522. "description": "注销时间",
  28523. "type": "string"
  28524. },
  28525. "closepricemode": {
  28526. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  28527. "type": "integer"
  28528. },
  28529. "closepriceparam": {
  28530. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  28531. "type": "number"
  28532. },
  28533. "createtime": {
  28534. "description": "创建时间",
  28535. "type": "string"
  28536. },
  28537. "creatorid": {
  28538. "description": "创建人",
  28539. "type": "integer"
  28540. },
  28541. "currencyid": {
  28542. "description": "报价货币ID",
  28543. "type": "integer"
  28544. },
  28545. "cutmode": {
  28546. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  28547. "type": "integer"
  28548. },
  28549. "decimalplace": {
  28550. "description": "报价小数位",
  28551. "type": "integer"
  28552. },
  28553. "delistingdate": {
  28554. "description": "商品退市时间(状态:退市) -- 已作废",
  28555. "type": "string"
  28556. },
  28557. "delistingmode": {
  28558. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  28559. "type": "integer"
  28560. },
  28561. "deliveryflag": {
  28562. "description": "交割标志 - 0:不可交割 1:可交割",
  28563. "type": "integer"
  28564. },
  28565. "forceclosemode": {
  28566. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  28567. "type": "integer"
  28568. },
  28569. "forceclosevalue": {
  28570. "description": "定期强平参数 [收益权]",
  28571. "type": "integer"
  28572. },
  28573. "goodscode": {
  28574. "description": "商品代码(内部)",
  28575. "type": "string"
  28576. },
  28577. "goodscurrencyid": {
  28578. "description": "合约货币ID",
  28579. "type": "integer"
  28580. },
  28581. "goodsgroupid": {
  28582. "description": "所属商品组ID",
  28583. "type": "integer"
  28584. },
  28585. "goodsid": {
  28586. "description": "商品ID(自增ID SEQ_GOODS)",
  28587. "type": "integer"
  28588. },
  28589. "goodsname": {
  28590. "description": "商品名称",
  28591. "type": "string"
  28592. },
  28593. "goodsquotetype": {
  28594. "description": "合约报价类型: 1-直接报价 2-间接报价",
  28595. "type": "integer"
  28596. },
  28597. "goodsstatus": {
  28598. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  28599. "type": "integer"
  28600. },
  28601. "goodstradetype": {
  28602. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  28603. "type": "integer"
  28604. },
  28605. "goodunitid": {
  28606. "description": "报价单位ID",
  28607. "type": "integer"
  28608. },
  28609. "hasquoter": {
  28610. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  28611. "type": "integer"
  28612. },
  28613. "hqprotecttime": {
  28614. "description": "行情保护时间(秒)",
  28615. "type": "integer"
  28616. },
  28617. "innerdealmode": {
  28618. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  28619. "type": "integer"
  28620. },
  28621. "isbuylimited": {
  28622. "description": "是否限制建仓量 - 0:不限制 1:限制",
  28623. "type": "integer"
  28624. },
  28625. "isvisible": {
  28626. "description": "游客是否可见 - 0:不可见 1:可见",
  28627. "type": "integer"
  28628. },
  28629. "lasttradedate": {
  28630. "description": "最后交易日期(状态:待退市)",
  28631. "type": "string"
  28632. },
  28633. "listingdate": {
  28634. "description": "交易开始日期",
  28635. "type": "string"
  28636. },
  28637. "marketid": {
  28638. "description": "所属市场ID",
  28639. "type": "integer"
  28640. },
  28641. "modifierid": {
  28642. "description": "修改人",
  28643. "type": "integer"
  28644. },
  28645. "modifystatus": {
  28646. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  28647. "type": "integer"
  28648. },
  28649. "modifytime": {
  28650. "description": "修改时间",
  28651. "type": "string"
  28652. },
  28653. "outerdealmode": {
  28654. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  28655. "type": "integer"
  28656. },
  28657. "outgoodscode": {
  28658. "description": "商品代码(外部)",
  28659. "type": "string"
  28660. },
  28661. "pictureurl": {
  28662. "description": "商品图片",
  28663. "type": "string"
  28664. },
  28665. "qtydecimalplace": {
  28666. "description": "成交量小数位",
  28667. "type": "integer"
  28668. },
  28669. "quotegear": {
  28670. "description": "行情档位(1-10)",
  28671. "type": "integer"
  28672. },
  28673. "quoteminunit": {
  28674. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  28675. "type": "integer"
  28676. },
  28677. "quoteshowtype": {
  28678. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  28679. "type": "integer"
  28680. },
  28681. "quoteshowtypeinterval": {
  28682. "description": "行情报价间隔时间(秒)(成交价时为0)",
  28683. "type": "integer"
  28684. },
  28685. "remark": {
  28686. "description": "备注",
  28687. "type": "string"
  28688. }
  28689. }
  28690. },
  28691. "models.GoodsIDAndName": {
  28692. "type": "object",
  28693. "required": [
  28694. "goodscode",
  28695. "goodsid",
  28696. "goodsname",
  28697. "marketid"
  28698. ],
  28699. "properties": {
  28700. "goodscode": {
  28701. "description": "商品代码(内部)",
  28702. "type": "string"
  28703. },
  28704. "goodsid": {
  28705. "description": "商品ID(自增ID SEQ_GOODS)",
  28706. "type": "integer"
  28707. },
  28708. "goodsname": {
  28709. "description": "商品名称",
  28710. "type": "string"
  28711. },
  28712. "marketid": {
  28713. "description": "所属市场ID",
  28714. "type": "integer"
  28715. }
  28716. }
  28717. },
  28718. "models.Goodsgroup": {
  28719. "type": "object",
  28720. "required": [
  28721. "goodsgroupid",
  28722. "goodsgroupname",
  28723. "goodsgroupstatus",
  28724. "marketid"
  28725. ],
  28726. "properties": {
  28727. "agreeunit": {
  28728. "description": "合约单位",
  28729. "type": "number"
  28730. },
  28731. "canshort": {
  28732. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  28733. "type": "integer"
  28734. },
  28735. "closepricemode": {
  28736. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  28737. "type": "integer"
  28738. },
  28739. "closepriceparam": {
  28740. "description": "强平最新价浮动比例 - 方式为2时使用",
  28741. "type": "number"
  28742. },
  28743. "createtime": {
  28744. "description": "创建时间",
  28745. "type": "string"
  28746. },
  28747. "creatorid": {
  28748. "description": "创建人",
  28749. "type": "integer"
  28750. },
  28751. "currencyid": {
  28752. "description": "报价货币ID",
  28753. "type": "integer"
  28754. },
  28755. "decimalplace": {
  28756. "description": "报价小数位",
  28757. "type": "integer"
  28758. },
  28759. "exercisetype": {
  28760. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  28761. "type": "integer"
  28762. },
  28763. "exexchangeid": {
  28764. "description": "外部交易所ID[通道交易]",
  28765. "type": "integer"
  28766. },
  28767. "goodsgroupid": {
  28768. "description": "商品组ID(自增ID)",
  28769. "type": "integer"
  28770. },
  28771. "goodsgroupname": {
  28772. "description": "商品组名称",
  28773. "type": "string"
  28774. },
  28775. "goodsgroupstatus": {
  28776. "description": "商品组状态 - 1:正常 2:注销",
  28777. "type": "integer"
  28778. },
  28779. "goodunitid": {
  28780. "description": "报价单位ID",
  28781. "type": "integer"
  28782. },
  28783. "innerdealmode": {
  28784. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  28785. "type": "integer"
  28786. },
  28787. "isbuylimited": {
  28788. "description": "是否限制建仓量 - 0:不限制 1:限制",
  28789. "type": "integer"
  28790. },
  28791. "marketid": {
  28792. "description": "所属市场ID",
  28793. "type": "integer"
  28794. },
  28795. "modifierid": {
  28796. "description": "修改人",
  28797. "type": "integer"
  28798. },
  28799. "modifytime": {
  28800. "description": "修改时间",
  28801. "type": "string"
  28802. },
  28803. "outerdealmode": {
  28804. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  28805. "type": "integer"
  28806. },
  28807. "outergroupcode": {
  28808. "description": "外部商品组代码[通道交易]",
  28809. "type": "string"
  28810. },
  28811. "premiumdecimalplace": {
  28812. "description": "权利金小数位[场外期权]",
  28813. "type": "integer"
  28814. },
  28815. "premiumspreadalgorithm": {
  28816. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  28817. "type": "integer"
  28818. },
  28819. "premiumspreadvalue": {
  28820. "description": "权利金点差值[场外期权]",
  28821. "type": "number"
  28822. },
  28823. "qtydecimalplace": {
  28824. "description": "成交量小数位",
  28825. "type": "integer"
  28826. },
  28827. "quotegear": {
  28828. "description": "行情档位(1-10)",
  28829. "type": "integer"
  28830. },
  28831. "quoteminunit": {
  28832. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  28833. "type": "integer"
  28834. },
  28835. "quoterid": {
  28836. "description": "报价商ID[场外期权]",
  28837. "type": "integer"
  28838. },
  28839. "quotesourcegroupid": {
  28840. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  28841. "type": "integer"
  28842. },
  28843. "syncgoodsqty": {
  28844. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  28845. "type": "integer"
  28846. }
  28847. }
  28848. },
  28849. "models.Goodssortbypreposition": {
  28850. "type": "object",
  28851. "required": [
  28852. "goodscode",
  28853. "tradedate"
  28854. ],
  28855. "properties": {
  28856. "goodscode": {
  28857. "description": "合约代码 - 易盛接口:合约代码=品种代码+合约代码",
  28858. "type": "string"
  28859. },
  28860. "goodsgroupcode": {
  28861. "description": "品种代码",
  28862. "type": "string"
  28863. },
  28864. "prepositionqty": {
  28865. "description": "昨持仓量",
  28866. "type": "integer"
  28867. },
  28868. "sortindex": {
  28869. "description": "排序",
  28870. "type": "integer"
  28871. },
  28872. "tradedate": {
  28873. "description": "交易日",
  28874. "type": "string"
  28875. },
  28876. "updatetime": {
  28877. "description": "更新时间",
  28878. "type": "string"
  28879. }
  28880. }
  28881. },
  28882. "models.Hedgeinnerholderdetail": {
  28883. "type": "object",
  28884. "required": [
  28885. "buyorsell",
  28886. "tradeid"
  28887. ],
  28888. "properties": {
  28889. "accountid": {
  28890. "description": "账号ID",
  28891. "type": "integer"
  28892. },
  28893. "buyorsell": {
  28894. "description": "方向 - 0:买 1:卖",
  28895. "type": "integer"
  28896. },
  28897. "freezeqty": {
  28898. "description": "冻结数量 - 按单平使用",
  28899. "type": "integer"
  28900. },
  28901. "goodsid": {
  28902. "description": "商品ID",
  28903. "type": "integer"
  28904. },
  28905. "holderamount": {
  28906. "description": "持仓金额 [商品币种]",
  28907. "type": "number"
  28908. },
  28909. "holderdays": {
  28910. "description": "剩余冻结天数",
  28911. "type": "integer"
  28912. },
  28913. "holderprice": {
  28914. "description": "持仓价格",
  28915. "type": "number"
  28916. },
  28917. "holderqty": {
  28918. "description": "持仓数量",
  28919. "type": "integer"
  28920. },
  28921. "marketid": {
  28922. "description": "市场ID",
  28923. "type": "integer"
  28924. },
  28925. "openprice": {
  28926. "description": "建仓价格",
  28927. "type": "number"
  28928. },
  28929. "openqty": {
  28930. "description": "建仓数量",
  28931. "type": "integer"
  28932. },
  28933. "parentaccountid": {
  28934. "description": "所属母账户",
  28935. "type": "integer"
  28936. },
  28937. "releaseamount": {
  28938. "description": "释放持仓金额[商品币种]",
  28939. "type": "number"
  28940. },
  28941. "tradeamount": {
  28942. "description": "成交金额[账户]",
  28943. "type": "number"
  28944. },
  28945. "tradedate": {
  28946. "description": "交易日(yyyyMMdd)",
  28947. "type": "string"
  28948. },
  28949. "tradeid": {
  28950. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  28951. "type": "string"
  28952. },
  28953. "tradetime": {
  28954. "description": "交易时间",
  28955. "type": "string"
  28956. }
  28957. }
  28958. },
  28959. "models.Hedgemarketopenlog": {
  28960. "type": "object",
  28961. "required": [
  28962. "accountid"
  28963. ],
  28964. "properties": {
  28965. "accountid": {
  28966. "description": "资金账号[外部母账户]",
  28967. "type": "integer"
  28968. },
  28969. "fcname": {
  28970. "description": "期货公司名称",
  28971. "type": "string"
  28972. },
  28973. "handlestatus": {
  28974. "description": "处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp",
  28975. "type": "integer"
  28976. },
  28977. "marketid": {
  28978. "description": "市场ID",
  28979. "type": "integer"
  28980. },
  28981. "status": {
  28982. "description": "状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败",
  28983. "type": "integer"
  28984. },
  28985. "tradedate": {
  28986. "description": "交易日(yyyyMMdd)",
  28987. "type": "string"
  28988. },
  28989. "updatetime": {
  28990. "description": "更新时间",
  28991. "type": "string"
  28992. }
  28993. }
  28994. },
  28995. "models.HsbyBuyMyPayOrder": {
  28996. "type": "object",
  28997. "required": [
  28998. "goodscode",
  28999. "goodsname",
  29000. "tradeid",
  29001. "trademode"
  29002. ],
  29003. "properties": {
  29004. "agreeunit": {
  29005. "description": "合约单位",
  29006. "type": "number"
  29007. },
  29008. "buyaccountid": {
  29009. "description": "买方账号ID[报价币种]",
  29010. "type": "integer"
  29011. },
  29012. "buyorderid": {
  29013. "description": "买方委托单号",
  29014. "type": "string"
  29015. },
  29016. "createtime": {
  29017. "description": "创建时间",
  29018. "type": "string"
  29019. },
  29020. "currencysign": {
  29021. "description": "货币符号",
  29022. "type": "string"
  29023. },
  29024. "decimalplace": {
  29025. "description": "报价小数位",
  29026. "type": "integer"
  29027. },
  29028. "goodscode": {
  29029. "description": "商品代码(内部)",
  29030. "type": "string"
  29031. },
  29032. "goodsid": {
  29033. "description": "商品ID",
  29034. "type": "integer"
  29035. },
  29036. "goodsname": {
  29037. "description": "商品名称",
  29038. "type": "string"
  29039. },
  29040. "marketid": {
  29041. "description": "市场ID",
  29042. "type": "integer"
  29043. },
  29044. "offamount": {
  29045. "description": "优惠金额",
  29046. "type": "number"
  29047. },
  29048. "originalamount": {
  29049. "description": "原金额 = TradeAmount + TradeCharge + OffAmount",
  29050. "type": "number"
  29051. },
  29052. "payamount": {
  29053. "description": "支付金额 = TradeAmount + TradeCharge",
  29054. "type": "number"
  29055. },
  29056. "payflag": {
  29057. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  29058. "type": "integer"
  29059. },
  29060. "paylimitedtime": {
  29061. "description": "支付期限",
  29062. "type": "string"
  29063. },
  29064. "paytime": {
  29065. "description": "付款时间",
  29066. "type": "string"
  29067. },
  29068. "picurls1": {
  29069. "description": "预售商品介绍图片[多张用逗号分隔]",
  29070. "type": "string"
  29071. },
  29072. "picurls2": {
  29073. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  29074. "type": "string"
  29075. },
  29076. "sellaccountid": {
  29077. "description": "卖方账号ID[报价币种]",
  29078. "type": "integer"
  29079. },
  29080. "sellorderid": {
  29081. "description": "卖方委托单号",
  29082. "type": "string"
  29083. },
  29084. "tradeamount": {
  29085. "description": "成交金额",
  29086. "type": "number"
  29087. },
  29088. "tradecharge": {
  29089. "description": "成交手续费(买方)",
  29090. "type": "number"
  29091. },
  29092. "tradedate": {
  29093. "description": "交易日(yyyyMMdd)",
  29094. "type": "string"
  29095. },
  29096. "tradeid": {
  29097. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  29098. "type": "string"
  29099. },
  29100. "trademode": {
  29101. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  29102. "type": "integer"
  29103. },
  29104. "tradeprice": {
  29105. "description": "成交价格",
  29106. "type": "number"
  29107. },
  29108. "tradeqty": {
  29109. "description": "成交数量",
  29110. "type": "integer"
  29111. },
  29112. "vendorname1": {
  29113. "description": "预售商品供应商名称",
  29114. "type": "string"
  29115. },
  29116. "vendorname2": {
  29117. "description": "挂牌商品供应商名称",
  29118. "type": "string"
  29119. }
  29120. }
  29121. },
  29122. "models.HsbyBuyMyTradeDetail": {
  29123. "type": "object",
  29124. "required": [
  29125. "accountid",
  29126. "buyorsell",
  29127. "goodscode",
  29128. "goodsid",
  29129. "goodsname",
  29130. "marketid",
  29131. "orderid",
  29132. "qty",
  29133. "time",
  29134. "trademode"
  29135. ],
  29136. "properties": {
  29137. "accountid": {
  29138. "description": "账户ID[报价币种]",
  29139. "type": "integer"
  29140. },
  29141. "agreeunit": {
  29142. "description": "合约单位",
  29143. "type": "number"
  29144. },
  29145. "amount": {
  29146. "description": "金额 = 价格 * 数量 * 合约单位",
  29147. "type": "number"
  29148. },
  29149. "buyorsell": {
  29150. "description": "买卖 - 0:买 1:卖",
  29151. "type": "integer"
  29152. },
  29153. "currencysign": {
  29154. "description": "货币符号",
  29155. "type": "string"
  29156. },
  29157. "decimalplace": {
  29158. "description": "报价小数位",
  29159. "type": "integer"
  29160. },
  29161. "goodscode": {
  29162. "description": "商品代码(内部)",
  29163. "type": "string"
  29164. },
  29165. "goodsid": {
  29166. "description": "商品ID",
  29167. "type": "integer"
  29168. },
  29169. "goodsname": {
  29170. "description": "商品名称",
  29171. "type": "string"
  29172. },
  29173. "marketid": {
  29174. "description": "市场ID",
  29175. "type": "integer"
  29176. },
  29177. "orderamount": {
  29178. "description": "委托金额",
  29179. "type": "number"
  29180. },
  29181. "orderid": {
  29182. "description": "单号(成交单号)",
  29183. "type": "string"
  29184. },
  29185. "picurls1": {
  29186. "description": "预售商品介绍图片[多张用逗号分隔]",
  29187. "type": "string"
  29188. },
  29189. "picurls2": {
  29190. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  29191. "type": "string"
  29192. },
  29193. "price": {
  29194. "description": "价格",
  29195. "type": "number"
  29196. },
  29197. "qty": {
  29198. "description": "数量",
  29199. "type": "integer"
  29200. },
  29201. "time": {
  29202. "description": "时间",
  29203. "type": "string"
  29204. },
  29205. "trademode": {
  29206. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  29207. "type": "integer"
  29208. },
  29209. "vendorname1": {
  29210. "description": "预售商品供应商名称",
  29211. "type": "string"
  29212. },
  29213. "vendorname2": {
  29214. "description": "挂牌商品供应商名称",
  29215. "type": "string"
  29216. }
  29217. }
  29218. },
  29219. "models.HsbyGoodsOrderDetail": {
  29220. "type": "object",
  29221. "required": [
  29222. "buyorsell",
  29223. "orderid",
  29224. "ordertime"
  29225. ],
  29226. "properties": {
  29227. "buyorsell": {
  29228. "description": "买卖 - 0:买 1:卖",
  29229. "type": "integer"
  29230. },
  29231. "currencysign": {
  29232. "description": "货币符号",
  29233. "type": "string"
  29234. },
  29235. "customername": {
  29236. "description": "客户名称(企业名称),已脱敏",
  29237. "type": "string"
  29238. },
  29239. "enableqty": {
  29240. "description": "可用数量",
  29241. "type": "integer"
  29242. },
  29243. "goodunit": {
  29244. "description": "报价单位",
  29245. "type": "string"
  29246. },
  29247. "orderid": {
  29248. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  29249. "type": "string"
  29250. },
  29251. "orderprice": {
  29252. "description": "委托价格",
  29253. "type": "number"
  29254. },
  29255. "ordertime": {
  29256. "description": "委托时间",
  29257. "type": "string"
  29258. }
  29259. }
  29260. },
  29261. "models.HsbyListingGoodsDetail": {
  29262. "type": "object",
  29263. "required": [
  29264. "goodscode",
  29265. "goodsid",
  29266. "goodsname",
  29267. "marketid",
  29268. "trademode"
  29269. ],
  29270. "properties": {
  29271. "agreeunit": {
  29272. "description": "合约单位",
  29273. "type": "number"
  29274. },
  29275. "buymaxqty": {
  29276. "description": "购买上限 [71] - 0为不限",
  29277. "type": "integer"
  29278. },
  29279. "currency": {
  29280. "description": "货币",
  29281. "type": "string"
  29282. },
  29283. "currencysign": {
  29284. "description": "货币符号",
  29285. "type": "string"
  29286. },
  29287. "decimalplace": {
  29288. "description": "报价小数位",
  29289. "type": "integer"
  29290. },
  29291. "desccityid": {
  29292. "description": "目的地(市)ID",
  29293. "type": "integer"
  29294. },
  29295. "descprovinceid": {
  29296. "description": "目的地(省)ID",
  29297. "type": "integer"
  29298. },
  29299. "goodscode": {
  29300. "description": "商品代码(内部)",
  29301. "type": "string"
  29302. },
  29303. "goodsdesc": {
  29304. "description": "商品详情",
  29305. "type": "string"
  29306. },
  29307. "goodsid": {
  29308. "description": "商品ID(自增ID SEQ_GOODS)",
  29309. "type": "integer"
  29310. },
  29311. "goodsname": {
  29312. "description": "商品名称",
  29313. "type": "string"
  29314. },
  29315. "goodsprice": {
  29316. "description": "商品价格",
  29317. "type": "number"
  29318. },
  29319. "hotindex": {
  29320. "description": "景点热度",
  29321. "type": "integer"
  29322. },
  29323. "last": {
  29324. "description": "现价",
  29325. "type": "number"
  29326. },
  29327. "limitdown": {
  29328. "description": "跌停价",
  29329. "type": "number"
  29330. },
  29331. "limitup": {
  29332. "description": "涨停价",
  29333. "type": "number"
  29334. },
  29335. "lotsize": {
  29336. "description": "手数最小变动单位",
  29337. "type": "integer"
  29338. },
  29339. "marketid": {
  29340. "description": "所属市场ID",
  29341. "type": "integer"
  29342. },
  29343. "picurls": {
  29344. "description": "介绍图片[多张用逗号分隔]",
  29345. "type": "string"
  29346. },
  29347. "quoteminunit": {
  29348. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  29349. "type": "integer"
  29350. },
  29351. "stepvalue": {
  29352. "description": "价格最小变动单位",
  29353. "type": "number"
  29354. },
  29355. "trademode": {
  29356. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  29357. "type": "integer"
  29358. },
  29359. "vendorattr": {
  29360. "description": "供应商附件(多张,逗号分隔)",
  29361. "type": "string"
  29362. },
  29363. "vendorname": {
  29364. "description": "供应商名称",
  29365. "type": "string"
  29366. },
  29367. "vendorphone": {
  29368. "description": "供应商客服电话",
  29369. "type": "string"
  29370. },
  29371. "videourls": {
  29372. "description": "介绍视频[多张用逗号分隔]",
  29373. "type": "string"
  29374. }
  29375. }
  29376. },
  29377. "models.HsbyMarketGoods": {
  29378. "type": "object",
  29379. "required": [
  29380. "accountid",
  29381. "buyorsell",
  29382. "goodscode",
  29383. "goodsid",
  29384. "goodsname",
  29385. "marketid",
  29386. "orderid",
  29387. "trademode"
  29388. ],
  29389. "properties": {
  29390. "accountid": {
  29391. "description": "账户ID[报价币种]",
  29392. "type": "integer"
  29393. },
  29394. "agreeunit": {
  29395. "description": "合约单位",
  29396. "type": "number"
  29397. },
  29398. "buyorsell": {
  29399. "description": "买卖 - 0:买 1:卖",
  29400. "type": "integer"
  29401. },
  29402. "categoryid": {
  29403. "description": "类别ID(WRCATEGORY)",
  29404. "type": "integer"
  29405. },
  29406. "currency": {
  29407. "description": "货币",
  29408. "type": "string"
  29409. },
  29410. "currencysign": {
  29411. "description": "货币符号",
  29412. "type": "string"
  29413. },
  29414. "customername": {
  29415. "description": "卖家名称",
  29416. "type": "string"
  29417. },
  29418. "decimalplace": {
  29419. "description": "报价小数位",
  29420. "type": "integer"
  29421. },
  29422. "goodscode": {
  29423. "description": "商品代码(内部)",
  29424. "type": "string"
  29425. },
  29426. "goodsid": {
  29427. "description": "商品ID",
  29428. "type": "integer"
  29429. },
  29430. "goodsname": {
  29431. "description": "商品名称",
  29432. "type": "string"
  29433. },
  29434. "goodsprice": {
  29435. "description": "商品价格",
  29436. "type": "number"
  29437. },
  29438. "hascoupon": {
  29439. "description": "是否可用优惠卷",
  29440. "type": "boolean"
  29441. },
  29442. "hotindex": {
  29443. "description": "景点热度",
  29444. "type": "integer"
  29445. },
  29446. "marketid": {
  29447. "description": "市场ID",
  29448. "type": "integer"
  29449. },
  29450. "orderid": {
  29451. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  29452. "type": "string"
  29453. },
  29454. "orderprice": {
  29455. "description": "委托价格",
  29456. "type": "number"
  29457. },
  29458. "orderstatus": {
  29459. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  29460. "type": "integer"
  29461. },
  29462. "picurls": {
  29463. "description": "介绍图片[多张用逗号分隔]",
  29464. "type": "string"
  29465. },
  29466. "quoteminunit": {
  29467. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  29468. "type": "integer"
  29469. },
  29470. "sellUserID": {
  29471. "description": "卖方UserID",
  29472. "type": "integer"
  29473. },
  29474. "trademode": {
  29475. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  29476. "type": "integer"
  29477. },
  29478. "videourls": {
  29479. "description": "介绍视频[多张用逗号分隔]",
  29480. "type": "string"
  29481. }
  29482. }
  29483. },
  29484. "models.HsbyMarketGoodsDetail": {
  29485. "type": "object",
  29486. "required": [
  29487. "accountid",
  29488. "buyorsell",
  29489. "goodscode",
  29490. "goodsid",
  29491. "goodsname",
  29492. "marketid",
  29493. "orderid",
  29494. "orderqty",
  29495. "trademode"
  29496. ],
  29497. "properties": {
  29498. "accountid": {
  29499. "description": "账户ID[报价币种]",
  29500. "type": "integer"
  29501. },
  29502. "agreeunit": {
  29503. "description": "合约单位",
  29504. "type": "number"
  29505. },
  29506. "buymaxqty": {
  29507. "description": "购买上限 [71] - 0为不限",
  29508. "type": "integer"
  29509. },
  29510. "buyorsell": {
  29511. "description": "买卖 - 0:买 1:卖",
  29512. "type": "integer"
  29513. },
  29514. "cancelqty": {
  29515. "description": "撤单数量",
  29516. "type": "integer"
  29517. },
  29518. "categoryid": {
  29519. "description": "类别ID(WRCATEGORY)",
  29520. "type": "integer"
  29521. },
  29522. "currency": {
  29523. "description": "货币",
  29524. "type": "string"
  29525. },
  29526. "currencysign": {
  29527. "description": "货币符号",
  29528. "type": "string"
  29529. },
  29530. "customername": {
  29531. "description": "卖家名称",
  29532. "type": "string"
  29533. },
  29534. "decimalplace": {
  29535. "description": "报价小数位",
  29536. "type": "integer"
  29537. },
  29538. "goodscode": {
  29539. "description": "商品代码(内部)",
  29540. "type": "string"
  29541. },
  29542. "goodsdesc": {
  29543. "description": "商品详情",
  29544. "type": "string"
  29545. },
  29546. "goodsid": {
  29547. "description": "商品ID",
  29548. "type": "integer"
  29549. },
  29550. "goodsname": {
  29551. "description": "商品名称",
  29552. "type": "string"
  29553. },
  29554. "goodsprice": {
  29555. "description": "商品价格",
  29556. "type": "number"
  29557. },
  29558. "hotindex": {
  29559. "description": "景点热度",
  29560. "type": "integer"
  29561. },
  29562. "lotsize": {
  29563. "description": "手数最小变动单位",
  29564. "type": "integer"
  29565. },
  29566. "marketid": {
  29567. "description": "市场ID",
  29568. "type": "integer"
  29569. },
  29570. "orderid": {
  29571. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  29572. "type": "string"
  29573. },
  29574. "orderprice": {
  29575. "description": "委托价格",
  29576. "type": "number"
  29577. },
  29578. "orderqty": {
  29579. "description": "委托数量",
  29580. "type": "integer"
  29581. },
  29582. "orderstatus": {
  29583. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  29584. "type": "integer"
  29585. },
  29586. "picurls": {
  29587. "description": "介绍图片[多张用逗号分隔]",
  29588. "type": "string"
  29589. },
  29590. "quoteminunit": {
  29591. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  29592. "type": "integer"
  29593. },
  29594. "sellUserID": {
  29595. "description": "卖方UserID",
  29596. "type": "integer"
  29597. },
  29598. "trademode": {
  29599. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  29600. "type": "integer"
  29601. },
  29602. "tradeqty": {
  29603. "description": "成交数量",
  29604. "type": "integer"
  29605. },
  29606. "vendorattr": {
  29607. "description": "供应商附件(多张,逗号分隔)",
  29608. "type": "string"
  29609. },
  29610. "vendorname": {
  29611. "description": "供应商名称",
  29612. "type": "string"
  29613. },
  29614. "vendorphone": {
  29615. "description": "供应商客服电话",
  29616. "type": "string"
  29617. },
  29618. "videourls": {
  29619. "description": "介绍视频[多张用逗号分隔]",
  29620. "type": "string"
  29621. }
  29622. }
  29623. },
  29624. "models.HsbyMarketInfo": {
  29625. "type": "object",
  29626. "required": [
  29627. "marketid",
  29628. "marketstatus",
  29629. "trademode"
  29630. ],
  29631. "properties": {
  29632. "marketid": {
  29633. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  29634. "type": "integer"
  29635. },
  29636. "marketname": {
  29637. "description": "市场名称",
  29638. "type": "string"
  29639. },
  29640. "marketstatus": {
  29641. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  29642. "type": "integer"
  29643. },
  29644. "trademode": {
  29645. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  29646. "type": "integer"
  29647. }
  29648. }
  29649. },
  29650. "models.HsbyMyGoods": {
  29651. "type": "object",
  29652. "required": [
  29653. "accountid",
  29654. "goodscode",
  29655. "goodsid",
  29656. "goodsname",
  29657. "marketid",
  29658. "trademode"
  29659. ],
  29660. "properties": {
  29661. "accountid": {
  29662. "description": "账号Id",
  29663. "type": "integer"
  29664. },
  29665. "agreeunit": {
  29666. "description": "合约单位",
  29667. "type": "number"
  29668. },
  29669. "buyaverageprice": {
  29670. "description": "持仓均价",
  29671. "type": "number"
  29672. },
  29673. "buycurholderamount": {
  29674. "description": "买当前持仓总金额[商品币种]",
  29675. "type": "number"
  29676. },
  29677. "buycurpositionqty": {
  29678. "description": "买当前持仓总数量",
  29679. "type": "integer"
  29680. },
  29681. "buymaxqty": {
  29682. "description": "购买上限 [71] - 0为不限",
  29683. "type": "integer"
  29684. },
  29685. "currencysign": {
  29686. "description": "货币符号",
  29687. "type": "string"
  29688. },
  29689. "decimalplace": {
  29690. "description": "报价小数位",
  29691. "type": "integer"
  29692. },
  29693. "enableqty": {
  29694. "description": "可用数量",
  29695. "type": "integer"
  29696. },
  29697. "goodscode": {
  29698. "description": "商品代码(内部)",
  29699. "type": "string"
  29700. },
  29701. "goodsid": {
  29702. "description": "商品Id",
  29703. "type": "integer"
  29704. },
  29705. "goodsname": {
  29706. "description": "商品名称",
  29707. "type": "string"
  29708. },
  29709. "goodsprice": {
  29710. "description": "商品价格",
  29711. "type": "number"
  29712. },
  29713. "goodsstatus": {
  29714. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  29715. "type": "integer"
  29716. },
  29717. "last": {
  29718. "description": "现价(仅使用于挂牌点选)",
  29719. "type": "number"
  29720. },
  29721. "limitdown": {
  29722. "description": "跌停价(仅使用于挂牌点选)",
  29723. "type": "number"
  29724. },
  29725. "limitup": {
  29726. "description": "涨停价(仅使用于挂牌点选)",
  29727. "type": "number"
  29728. },
  29729. "lotsize": {
  29730. "description": "手数最小变动单位",
  29731. "type": "integer"
  29732. },
  29733. "marketid": {
  29734. "description": "所属市场ID",
  29735. "type": "integer"
  29736. },
  29737. "picurls": {
  29738. "description": "介绍图片[多张用逗号分隔]",
  29739. "type": "string"
  29740. },
  29741. "quoteminunit": {
  29742. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  29743. "type": "integer"
  29744. },
  29745. "stepvalue": {
  29746. "description": "价格最小变动单位",
  29747. "type": "number"
  29748. },
  29749. "trademode": {
  29750. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  29751. "type": "integer"
  29752. }
  29753. }
  29754. },
  29755. "models.HsbyMyPackage": {
  29756. "type": "object",
  29757. "required": [
  29758. "goodscode",
  29759. "goodsname",
  29760. "takeorderid",
  29761. "trademode"
  29762. ],
  29763. "properties": {
  29764. "accountid": {
  29765. "description": "账户ID",
  29766. "type": "integer"
  29767. },
  29768. "address": {
  29769. "description": "提货人详细地址",
  29770. "type": "string"
  29771. },
  29772. "agreeunit": {
  29773. "description": "合约单位",
  29774. "type": "number"
  29775. },
  29776. "amount": {
  29777. "description": "提货金额",
  29778. "type": "number"
  29779. },
  29780. "auditer": {
  29781. "description": "审核人",
  29782. "type": "integer"
  29783. },
  29784. "audittime": {
  29785. "description": "审核时间",
  29786. "type": "string"
  29787. },
  29788. "averageprice": {
  29789. "description": "均价",
  29790. "type": "number"
  29791. },
  29792. "cardnum": {
  29793. "description": "提货人证件号码",
  29794. "type": "string"
  29795. },
  29796. "cardtypeid": {
  29797. "description": "提货人证件类型",
  29798. "type": "integer"
  29799. },
  29800. "checkremark": {
  29801. "description": "审核备注",
  29802. "type": "string"
  29803. },
  29804. "currencysign": {
  29805. "description": "货币符号",
  29806. "type": "string"
  29807. },
  29808. "decimalplace": {
  29809. "description": "报价小数位",
  29810. "type": "integer"
  29811. },
  29812. "goodscode": {
  29813. "description": "商品代码(内部)",
  29814. "type": "string"
  29815. },
  29816. "goodsid": {
  29817. "description": "商品ID",
  29818. "type": "integer"
  29819. },
  29820. "goodsname": {
  29821. "description": "商品名称",
  29822. "type": "string"
  29823. },
  29824. "handlestatus": {
  29825. "description": "处理状态",
  29826. "type": "integer"
  29827. },
  29828. "marketid": {
  29829. "description": "市场ID",
  29830. "type": "integer"
  29831. },
  29832. "phonenum": {
  29833. "description": "提货人联系方式",
  29834. "type": "string"
  29835. },
  29836. "picurls": {
  29837. "description": "介绍图片[多张用逗号分隔]",
  29838. "type": "string"
  29839. },
  29840. "qty": {
  29841. "description": "提货数量",
  29842. "type": "number"
  29843. },
  29844. "recivername": {
  29845. "description": "提货人姓名",
  29846. "type": "string"
  29847. },
  29848. "reqtime": {
  29849. "description": "更新时间",
  29850. "type": "string"
  29851. },
  29852. "takemode": {
  29853. "description": "提货方式 - 2:自提 3:配送",
  29854. "type": "integer"
  29855. },
  29856. "takeorderid": {
  29857. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  29858. "type": "string"
  29859. },
  29860. "takeorderstatus": {
  29861. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  29862. "type": "integer"
  29863. },
  29864. "takeremark": {
  29865. "description": "提货备注",
  29866. "type": "string"
  29867. },
  29868. "tradedate": {
  29869. "description": "交易日(yyyyMMdd)",
  29870. "type": "string"
  29871. },
  29872. "trademode": {
  29873. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  29874. "type": "integer"
  29875. },
  29876. "userid": {
  29877. "description": "用户ID",
  29878. "type": "integer"
  29879. },
  29880. "vendorname": {
  29881. "description": "供应商名称",
  29882. "type": "string"
  29883. }
  29884. }
  29885. },
  29886. "models.HsbyPreGoods": {
  29887. "type": "object",
  29888. "required": [
  29889. "goodscode",
  29890. "goodsid",
  29891. "goodsname",
  29892. "marketid",
  29893. "trademode"
  29894. ],
  29895. "properties": {
  29896. "agreeunit": {
  29897. "description": "合约单位",
  29898. "type": "number"
  29899. },
  29900. "currency": {
  29901. "description": "货币",
  29902. "type": "string"
  29903. },
  29904. "currencysign": {
  29905. "description": "货币符号",
  29906. "type": "string"
  29907. },
  29908. "decimalplace": {
  29909. "description": "报价小数位",
  29910. "type": "integer"
  29911. },
  29912. "desccityid": {
  29913. "description": "目的地(市)",
  29914. "type": "integer"
  29915. },
  29916. "descprovinceid": {
  29917. "description": "目的地(省)",
  29918. "type": "integer"
  29919. },
  29920. "enableqty": {
  29921. "description": "剩余数量",
  29922. "type": "integer"
  29923. },
  29924. "goodscode": {
  29925. "description": "商品代码(内部)",
  29926. "type": "string"
  29927. },
  29928. "goodsid": {
  29929. "description": "商品ID(自增ID SEQ_GOODS)",
  29930. "type": "integer"
  29931. },
  29932. "goodsname": {
  29933. "description": "商品名称",
  29934. "type": "string"
  29935. },
  29936. "goodsstatus": {
  29937. "description": "商品状态- 2:未上市 3:上市",
  29938. "type": "integer"
  29939. },
  29940. "lasttradedate": {
  29941. "description": "最后交易日期(状态:待退市)",
  29942. "type": "string"
  29943. },
  29944. "listingdate": {
  29945. "description": "交易开始日期",
  29946. "type": "string"
  29947. },
  29948. "marketid": {
  29949. "description": "所属市场ID",
  29950. "type": "integer"
  29951. },
  29952. "picurls": {
  29953. "description": "介绍图片[多张用逗号分隔]",
  29954. "type": "string"
  29955. },
  29956. "presaledqty": {
  29957. "description": "已预售量(预售结束时更新)",
  29958. "type": "integer"
  29959. },
  29960. "presaleqty": {
  29961. "description": "预售数量",
  29962. "type": "integer"
  29963. },
  29964. "quoteminunit": {
  29965. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  29966. "type": "integer"
  29967. },
  29968. "refprice": {
  29969. "description": "参考价格[一口价]",
  29970. "type": "number"
  29971. },
  29972. "relatedgoodsid": {
  29973. "description": "关联交易合约ID",
  29974. "type": "integer"
  29975. },
  29976. "trademode": {
  29977. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  29978. "type": "integer"
  29979. },
  29980. "videourls": {
  29981. "description": "介绍视频[多张用逗号分隔]",
  29982. "type": "string"
  29983. }
  29984. }
  29985. },
  29986. "models.HsbyPreGoodsDetail": {
  29987. "type": "object",
  29988. "required": [
  29989. "goodscode",
  29990. "goodsid",
  29991. "goodsname",
  29992. "marketid",
  29993. "trademode"
  29994. ],
  29995. "properties": {
  29996. "agreeunit": {
  29997. "description": "合约单位",
  29998. "type": "number"
  29999. },
  30000. "buymaxqty": {
  30001. "description": "购买上限 [71] - 0为不限",
  30002. "type": "integer"
  30003. },
  30004. "currency": {
  30005. "description": "货币",
  30006. "type": "string"
  30007. },
  30008. "currencysign": {
  30009. "description": "货币符号",
  30010. "type": "string"
  30011. },
  30012. "customername": {
  30013. "description": "发行单位",
  30014. "type": "string"
  30015. },
  30016. "decimalplace": {
  30017. "description": "报价小数位",
  30018. "type": "integer"
  30019. },
  30020. "desccityid": {
  30021. "description": "目的地(市)ID",
  30022. "type": "integer"
  30023. },
  30024. "descprovinceid": {
  30025. "description": "目的地(省)ID",
  30026. "type": "integer"
  30027. },
  30028. "enableqty": {
  30029. "description": "剩余数量",
  30030. "type": "integer"
  30031. },
  30032. "goodscode": {
  30033. "description": "商品代码(内部)",
  30034. "type": "string"
  30035. },
  30036. "goodsdesc": {
  30037. "description": "商品详情",
  30038. "type": "string"
  30039. },
  30040. "goodsid": {
  30041. "description": "商品ID(自增ID SEQ_GOODS)",
  30042. "type": "integer"
  30043. },
  30044. "goodsname": {
  30045. "description": "商品名称",
  30046. "type": "string"
  30047. },
  30048. "goodsstatus": {
  30049. "description": "商品状态- 2:未上市 3:上市",
  30050. "type": "integer"
  30051. },
  30052. "goodunit": {
  30053. "description": "报价单位",
  30054. "type": "string"
  30055. },
  30056. "lasttradedate": {
  30057. "description": "最后交易日期(状态:待退市)",
  30058. "type": "string"
  30059. },
  30060. "listingdate": {
  30061. "description": "交易开始日期",
  30062. "type": "string"
  30063. },
  30064. "lotsize": {
  30065. "description": "手数最小变动单位",
  30066. "type": "integer"
  30067. },
  30068. "marketid": {
  30069. "description": "所属市场ID",
  30070. "type": "integer"
  30071. },
  30072. "picurls": {
  30073. "description": "介绍图片[多张用逗号分隔]",
  30074. "type": "string"
  30075. },
  30076. "presaledqty": {
  30077. "description": "已预售量(预售结束时更新)",
  30078. "type": "integer"
  30079. },
  30080. "presaleqty": {
  30081. "description": "预售数量",
  30082. "type": "integer"
  30083. },
  30084. "quoteminunit": {
  30085. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  30086. "type": "integer"
  30087. },
  30088. "refprice": {
  30089. "description": "参考价格[一口价]",
  30090. "type": "number"
  30091. },
  30092. "relatedgoodsid": {
  30093. "description": "关联交易合约ID",
  30094. "type": "integer"
  30095. },
  30096. "stepvalue": {
  30097. "description": "价格最小变动单位",
  30098. "type": "number"
  30099. },
  30100. "trademode": {
  30101. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  30102. "type": "integer"
  30103. },
  30104. "vendorattr": {
  30105. "description": "供应商附件(多张,逗号分隔)",
  30106. "type": "string"
  30107. },
  30108. "vendorname": {
  30109. "description": "供应商名称",
  30110. "type": "string"
  30111. },
  30112. "vendorphone": {
  30113. "description": "供应商客服电话",
  30114. "type": "string"
  30115. },
  30116. "videourls": {
  30117. "description": "介绍视频[多张用逗号分隔]",
  30118. "type": "string"
  30119. }
  30120. }
  30121. },
  30122. "models.HsbySellCollectionOrder": {
  30123. "type": "object",
  30124. "required": [
  30125. "goodscode",
  30126. "goodsname",
  30127. "tradeid",
  30128. "trademode"
  30129. ],
  30130. "properties": {
  30131. "agreeunit": {
  30132. "description": "合约单位",
  30133. "type": "number"
  30134. },
  30135. "buyaccountid": {
  30136. "description": "买方账号ID[报价币种]",
  30137. "type": "integer"
  30138. },
  30139. "buyorderid": {
  30140. "description": "买方委托单号",
  30141. "type": "string"
  30142. },
  30143. "createtime": {
  30144. "description": "创建时间",
  30145. "type": "string"
  30146. },
  30147. "currencysign": {
  30148. "description": "货币符号",
  30149. "type": "string"
  30150. },
  30151. "decimalplace": {
  30152. "description": "报价小数位",
  30153. "type": "integer"
  30154. },
  30155. "goodscode": {
  30156. "description": "商品代码(内部)",
  30157. "type": "string"
  30158. },
  30159. "goodsid": {
  30160. "description": "商品ID",
  30161. "type": "integer"
  30162. },
  30163. "goodsname": {
  30164. "description": "商品名称",
  30165. "type": "string"
  30166. },
  30167. "marketid": {
  30168. "description": "市场ID",
  30169. "type": "integer"
  30170. },
  30171. "offamount": {
  30172. "description": "优惠金额",
  30173. "type": "number"
  30174. },
  30175. "payamount": {
  30176. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  30177. "type": "number"
  30178. },
  30179. "payflag": {
  30180. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  30181. "type": "integer"
  30182. },
  30183. "paylimitedtime": {
  30184. "description": "支付期限",
  30185. "type": "string"
  30186. },
  30187. "paytime": {
  30188. "description": "付款时间",
  30189. "type": "string"
  30190. },
  30191. "picurls": {
  30192. "description": "商品介绍图片[多张用逗号分隔]",
  30193. "type": "string"
  30194. },
  30195. "sellaccountid": {
  30196. "description": "卖方账号ID[报价币种]",
  30197. "type": "integer"
  30198. },
  30199. "sellorderid": {
  30200. "description": "卖方委托单号",
  30201. "type": "string"
  30202. },
  30203. "tradeamount": {
  30204. "description": "成交金额",
  30205. "type": "number"
  30206. },
  30207. "tradecharge": {
  30208. "description": "成交手续费(买方)",
  30209. "type": "number"
  30210. },
  30211. "tradedate": {
  30212. "description": "交易日(yyyyMMdd)",
  30213. "type": "string"
  30214. },
  30215. "tradeid": {
  30216. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  30217. "type": "string"
  30218. },
  30219. "trademode": {
  30220. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  30221. "type": "integer"
  30222. },
  30223. "tradeprice": {
  30224. "description": "成交价格",
  30225. "type": "number"
  30226. },
  30227. "tradeqty": {
  30228. "description": "成交数量",
  30229. "type": "integer"
  30230. }
  30231. }
  30232. },
  30233. "models.HsbySellMyDetail": {
  30234. "type": "object",
  30235. "required": [
  30236. "accountid",
  30237. "buyorsell",
  30238. "goodscode",
  30239. "goodsid",
  30240. "goodsname",
  30241. "marketid",
  30242. "orderid",
  30243. "time",
  30244. "trademode"
  30245. ],
  30246. "properties": {
  30247. "accountid": {
  30248. "description": "账户ID[报价币种]",
  30249. "type": "integer"
  30250. },
  30251. "agreeunit": {
  30252. "description": "合约单位",
  30253. "type": "number"
  30254. },
  30255. "buyorsell": {
  30256. "description": "买卖 - 0:买 1:卖",
  30257. "type": "integer"
  30258. },
  30259. "currencysign": {
  30260. "description": "货币符号",
  30261. "type": "string"
  30262. },
  30263. "decimalplace": {
  30264. "description": "报价小数位",
  30265. "type": "integer"
  30266. },
  30267. "goodscode": {
  30268. "description": "商品代码(内部)",
  30269. "type": "string"
  30270. },
  30271. "goodsid": {
  30272. "description": "商品ID",
  30273. "type": "integer"
  30274. },
  30275. "goodsname": {
  30276. "description": "商品名称",
  30277. "type": "string"
  30278. },
  30279. "marketid": {
  30280. "description": "市场ID",
  30281. "type": "integer"
  30282. },
  30283. "orderid": {
  30284. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  30285. "type": "string"
  30286. },
  30287. "ordertype": {
  30288. "description": "单据类型:0 - 发布中, 1 - 已完成",
  30289. "type": "integer"
  30290. },
  30291. "picurls": {
  30292. "description": "介绍图片[多张用逗号分隔]",
  30293. "type": "string"
  30294. },
  30295. "price": {
  30296. "description": "价格",
  30297. "type": "number"
  30298. },
  30299. "qty": {
  30300. "description": "数量",
  30301. "type": "integer"
  30302. },
  30303. "time": {
  30304. "description": "时间",
  30305. "type": "string"
  30306. },
  30307. "trademode": {
  30308. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  30309. "type": "integer"
  30310. },
  30311. "vendorname": {
  30312. "description": "供应商名称",
  30313. "type": "string"
  30314. }
  30315. }
  30316. },
  30317. "models.HsbyTopGoods": {
  30318. "type": "object",
  30319. "required": [
  30320. "goodscode",
  30321. "goodsid",
  30322. "goodsname",
  30323. "marketid",
  30324. "trademode"
  30325. ],
  30326. "properties": {
  30327. "agreeunit": {
  30328. "description": "合约单位",
  30329. "type": "number"
  30330. },
  30331. "currency": {
  30332. "description": "货币",
  30333. "type": "string"
  30334. },
  30335. "currencysign": {
  30336. "description": "货币符号",
  30337. "type": "string"
  30338. },
  30339. "decimalplace": {
  30340. "description": "报价小数位",
  30341. "type": "integer"
  30342. },
  30343. "desccityid": {
  30344. "description": "目的地(市)",
  30345. "type": "integer"
  30346. },
  30347. "descprovinceid": {
  30348. "description": "目的地(省)",
  30349. "type": "integer"
  30350. },
  30351. "goodscode": {
  30352. "description": "商品代码(内部)",
  30353. "type": "string"
  30354. },
  30355. "goodsid": {
  30356. "description": "商品ID(自增ID SEQ_GOODS)",
  30357. "type": "integer"
  30358. },
  30359. "goodsname": {
  30360. "description": "商品名称",
  30361. "type": "string"
  30362. },
  30363. "hotindex": {
  30364. "description": "景点热度",
  30365. "type": "integer"
  30366. },
  30367. "last": {
  30368. "description": "现价",
  30369. "type": "number"
  30370. },
  30371. "marketid": {
  30372. "description": "所属市场ID",
  30373. "type": "integer"
  30374. },
  30375. "picurls": {
  30376. "description": "介绍图片[多张用逗号分隔]",
  30377. "type": "string"
  30378. },
  30379. "quoteminunit": {
  30380. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  30381. "type": "integer"
  30382. },
  30383. "trademode": {
  30384. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  30385. "type": "integer"
  30386. },
  30387. "videourls": {
  30388. "description": "介绍视频[多张用逗号分隔]",
  30389. "type": "string"
  30390. }
  30391. }
  30392. },
  30393. "models.HybsMyBuyOrderDetail": {
  30394. "type": "object",
  30395. "required": [
  30396. "accountid",
  30397. "buyorsell",
  30398. "goodscode",
  30399. "goodsid",
  30400. "goodsname",
  30401. "marketid",
  30402. "orderid",
  30403. "orderqty",
  30404. "ordertime",
  30405. "trademode"
  30406. ],
  30407. "properties": {
  30408. "accountid": {
  30409. "description": "账户ID[报价币种]",
  30410. "type": "integer"
  30411. },
  30412. "agreeunit": {
  30413. "description": "合约单位",
  30414. "type": "number"
  30415. },
  30416. "buyorsell": {
  30417. "description": "买卖 - 0:买 1:卖",
  30418. "type": "integer"
  30419. },
  30420. "cancelqty": {
  30421. "description": "撤单数量",
  30422. "type": "integer"
  30423. },
  30424. "currencysign": {
  30425. "description": "货币符号",
  30426. "type": "string"
  30427. },
  30428. "decimalplace": {
  30429. "description": "报价小数位",
  30430. "type": "integer"
  30431. },
  30432. "goodscode": {
  30433. "description": "商品代码(内部)",
  30434. "type": "string"
  30435. },
  30436. "goodsid": {
  30437. "description": "商品ID",
  30438. "type": "integer"
  30439. },
  30440. "goodsname": {
  30441. "description": "商品名称",
  30442. "type": "string"
  30443. },
  30444. "listingselecttype": {
  30445. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  30446. "type": "integer"
  30447. },
  30448. "marketid": {
  30449. "description": "市场ID",
  30450. "type": "integer"
  30451. },
  30452. "mybuystatus": {
  30453. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  30454. "type": "integer"
  30455. },
  30456. "orderamount": {
  30457. "description": "委托金额",
  30458. "type": "number"
  30459. },
  30460. "orderid": {
  30461. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  30462. "type": "string"
  30463. },
  30464. "orderprice": {
  30465. "description": "委托价格",
  30466. "type": "number"
  30467. },
  30468. "orderqty": {
  30469. "description": "委托数量",
  30470. "type": "integer"
  30471. },
  30472. "orderstatus": {
  30473. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  30474. "type": "integer"
  30475. },
  30476. "ordertime": {
  30477. "description": "委托时间",
  30478. "type": "string"
  30479. },
  30480. "picurls1": {
  30481. "description": "预售商品介绍图片[多张用逗号分隔]",
  30482. "type": "string"
  30483. },
  30484. "picurls2": {
  30485. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  30486. "type": "string"
  30487. },
  30488. "trademode": {
  30489. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  30490. "type": "integer"
  30491. },
  30492. "tradeqty": {
  30493. "description": "成交数量",
  30494. "type": "integer"
  30495. },
  30496. "vendorname1": {
  30497. "description": "预售商品供应商名称",
  30498. "type": "string"
  30499. },
  30500. "vendorname2": {
  30501. "description": "挂牌商品供应商名称",
  30502. "type": "string"
  30503. }
  30504. }
  30505. },
  30506. "models.InternalEnableTradeDetail": {
  30507. "type": "object",
  30508. "required": [
  30509. "areauserid",
  30510. "goodsid"
  30511. ],
  30512. "properties": {
  30513. "agreeunit": {
  30514. "description": "合约乘数",
  30515. "type": "number"
  30516. },
  30517. "areauserid": {
  30518. "description": "企业ID",
  30519. "type": "integer"
  30520. },
  30521. "convertratio": {
  30522. "description": "品种系数",
  30523. "type": "number"
  30524. },
  30525. "deliverygoodscode": {
  30526. "description": "现货品种代码",
  30527. "type": "string"
  30528. },
  30529. "deliverygoodsid": {
  30530. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  30531. "type": "integer"
  30532. },
  30533. "deliverygoodsname": {
  30534. "description": "现货品种名称",
  30535. "type": "string"
  30536. },
  30537. "futurehedgeqty": {
  30538. "description": "[已关联数量]期货持仓套期量",
  30539. "type": "number"
  30540. },
  30541. "goodsid": {
  30542. "description": "期货合约ID",
  30543. "type": "integer"
  30544. },
  30545. "hedgeditemid": {
  30546. "description": "被套期项目ID",
  30547. "type": "string"
  30548. },
  30549. "hedgeditemnum": {
  30550. "description": "项目编号",
  30551. "type": "string"
  30552. },
  30553. "unexehedgeqty": {
  30554. "description": "未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)",
  30555. "type": "number"
  30556. },
  30557. "unexespotqty": {
  30558. "description": "未执行现货量",
  30559. "type": "number"
  30560. },
  30561. "wrstandardcode": {
  30562. "description": "现货品类代码",
  30563. "type": "string"
  30564. },
  30565. "wrstandardid": {
  30566. "description": "现货品类ID(SEQ_WRSTANDARD)",
  30567. "type": "integer"
  30568. },
  30569. "wrstandardname": {
  30570. "description": "现货品类名称",
  30571. "type": "string"
  30572. }
  30573. }
  30574. },
  30575. "models.InternalUncorrelatedTradeDetail": {
  30576. "type": "object",
  30577. "properties": {
  30578. "accountid": {
  30579. "description": "账号ID",
  30580. "type": "integer"
  30581. },
  30582. "accountname": {
  30583. "description": "套期主体",
  30584. "type": "string"
  30585. },
  30586. "agreeunit": {
  30587. "description": "合约乘数",
  30588. "type": "number"
  30589. },
  30590. "areauserid": {
  30591. "description": "所属机构",
  30592. "type": "integer"
  30593. },
  30594. "bizsubjectid": {
  30595. "description": "归属业务部门ID - SubjectID",
  30596. "type": "integer"
  30597. },
  30598. "buyorsell": {
  30599. "description": "方向 - 0:买 1:卖",
  30600. "type": "integer"
  30601. },
  30602. "channelbuildtype": {
  30603. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  30604. "type": "integer"
  30605. },
  30606. "convertratio": {
  30607. "description": "品种系数",
  30608. "type": "number"
  30609. },
  30610. "createtime": {
  30611. "description": "创建时间",
  30612. "type": "string"
  30613. },
  30614. "creatorid": {
  30615. "description": "创建人ID",
  30616. "type": "integer"
  30617. },
  30618. "creatorsrc": {
  30619. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  30620. "type": "integer"
  30621. },
  30622. "enableqty": {
  30623. "description": "项目可关联手数 = 成交手数 - 关联数量",
  30624. "type": "number"
  30625. },
  30626. "enumdicname": {
  30627. "description": "单位",
  30628. "type": "string"
  30629. },
  30630. "goodscode": {
  30631. "description": "合约代码",
  30632. "type": "string"
  30633. },
  30634. "goodsgroupid": {
  30635. "description": "对冲品种ID[期货合约商品组ID]",
  30636. "type": "integer"
  30637. },
  30638. "goodsid": {
  30639. "description": "商品ID",
  30640. "type": "integer"
  30641. },
  30642. "goodsname": {
  30643. "description": "合约名称",
  30644. "type": "string"
  30645. },
  30646. "hedgeditemid": {
  30647. "description": "现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]",
  30648. "type": "integer"
  30649. },
  30650. "hedgeflag": {
  30651. "description": "投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目",
  30652. "type": "integer"
  30653. },
  30654. "linkdetailid": {
  30655. "description": "期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)",
  30656. "type": "string"
  30657. },
  30658. "linkstatus": {
  30659. "description": "关联状态 - 1:成功 2:失败 3:解绑",
  30660. "type": "integer"
  30661. },
  30662. "middlegoodsid": {
  30663. "description": "套保品种ID",
  30664. "type": "integer"
  30665. },
  30666. "middlegoodsqty": {
  30667. "description": "套保品种数量 = TradeQty * AgreeUnit * ConvertRatio",
  30668. "type": "number"
  30669. },
  30670. "relatedlot": {
  30671. "description": "[数量]关联手数",
  30672. "type": "number"
  30673. },
  30674. "relatedmode": {
  30675. "description": "关联方式 - 1:自动关联 2:手动关联 3:解绑关联",
  30676. "type": "integer"
  30677. },
  30678. "relatedqty": {
  30679. "description": "[套期商品数量]关联数量 = RelatedLot * AgreeUnit * ConvertRatio",
  30680. "type": "number"
  30681. },
  30682. "retcode": {
  30683. "description": "返回码",
  30684. "type": "integer"
  30685. },
  30686. "saleuserid": {
  30687. "description": "业务员ID",
  30688. "type": "integer"
  30689. },
  30690. "tradedate": {
  30691. "description": "关联交易日(yyyyMMdd)",
  30692. "type": "string"
  30693. },
  30694. "tradeid": {
  30695. "description": "成交单号",
  30696. "type": "string"
  30697. },
  30698. "tradelot": {
  30699. "description": "成交手数",
  30700. "type": "integer"
  30701. },
  30702. "tradeprice": {
  30703. "description": "成交价",
  30704. "type": "number"
  30705. },
  30706. "tradetime": {
  30707. "description": "成交时间",
  30708. "type": "string"
  30709. },
  30710. "tradetradedate": {
  30711. "description": "成交交易日(yyyyMMdd)",
  30712. "type": "string"
  30713. }
  30714. }
  30715. },
  30716. "models.Loginaccount": {
  30717. "type": "object",
  30718. "required": [
  30719. "loginid"
  30720. ],
  30721. "properties": {
  30722. "accountname": {
  30723. "description": "账户名称",
  30724. "type": "string"
  30725. },
  30726. "canoutin": {
  30727. "description": "是否可出入金 - 0:不可 1:可",
  30728. "type": "integer"
  30729. },
  30730. "clientroleid": {
  30731. "description": "终端角色ID",
  30732. "type": "integer"
  30733. },
  30734. "haslogined": {
  30735. "description": "是否已登录 - 0:未登录 1:已登录",
  30736. "type": "integer"
  30737. },
  30738. "hasupdatedpwd": {
  30739. "description": "是否已更改密码 - 0:未修改 1:已修改",
  30740. "type": "integer"
  30741. },
  30742. "lastloginip": {
  30743. "description": "最新登录地址",
  30744. "type": "string"
  30745. },
  30746. "lastloginmode": {
  30747. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  30748. "type": "integer"
  30749. },
  30750. "lastloginremark": {
  30751. "description": "最新登录描述",
  30752. "type": "string"
  30753. },
  30754. "lastlogintime": {
  30755. "description": "最新登录时间",
  30756. "type": "string"
  30757. },
  30758. "logincode": {
  30759. "description": "登录代码",
  30760. "type": "string"
  30761. },
  30762. "loginfailnum": {
  30763. "description": "连续登录失败次数(登录成功时清零)",
  30764. "type": "integer"
  30765. },
  30766. "loginid": {
  30767. "description": "登陆账号",
  30768. "type": "integer"
  30769. },
  30770. "loginport": {
  30771. "description": "最新登录端口",
  30772. "type": "integer"
  30773. },
  30774. "loginstatus": {
  30775. "description": "登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)",
  30776. "type": "integer"
  30777. },
  30778. "loginusertype": {
  30779. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  30780. "type": "integer"
  30781. },
  30782. "mobile": {
  30783. "description": "手机号码(加密存储)",
  30784. "type": "string"
  30785. },
  30786. "modifierid": {
  30787. "description": "修改人",
  30788. "type": "integer"
  30789. },
  30790. "modifysrc": {
  30791. "description": "审核来源 - 1:管理端 2:终端",
  30792. "type": "integer"
  30793. },
  30794. "modifytime": {
  30795. "description": "修改时间",
  30796. "type": "string"
  30797. },
  30798. "password": {
  30799. "description": "登陆密码",
  30800. "type": "string"
  30801. },
  30802. "pwdwrongcount": {
  30803. "description": "密码错误次数",
  30804. "type": "integer"
  30805. },
  30806. "relateduserid": {
  30807. "description": "关联用户ID(机构)",
  30808. "type": "integer"
  30809. },
  30810. "taaccountrighttype": {
  30811. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  30812. "type": "integer"
  30813. },
  30814. "unfreezetime": {
  30815. "description": "账户解冻时间",
  30816. "type": "string"
  30817. },
  30818. "userid": {
  30819. "description": "用户ID",
  30820. "type": "integer"
  30821. }
  30822. }
  30823. },
  30824. "models.MainAccountInfo": {
  30825. "type": "object",
  30826. "properties": {
  30827. "accountid": {
  30828. "description": "账号id",
  30829. "type": "integer"
  30830. },
  30831. "accountname": {
  30832. "description": "账号名称(taaccount表中的名称)",
  30833. "type": "string"
  30834. },
  30835. "appid": {
  30836. "description": "AppID",
  30837. "type": "string"
  30838. },
  30839. "authcode": {
  30840. "description": "授权码",
  30841. "type": "string"
  30842. },
  30843. "brokerid": {
  30844. "description": "经纪商id",
  30845. "type": "string"
  30846. },
  30847. "fcid": {
  30848. "description": "期货公司id",
  30849. "type": "integer"
  30850. },
  30851. "fcname": {
  30852. "description": "期货公司代码",
  30853. "type": "string"
  30854. },
  30855. "hedgeaccountcode": {
  30856. "description": "外部账号代码(主账号登录代码)",
  30857. "type": "string"
  30858. },
  30859. "hedgeaccountpwd": {
  30860. "description": "密码",
  30861. "type": "string"
  30862. },
  30863. "ismain": {
  30864. "description": "是否主账号",
  30865. "type": "integer"
  30866. },
  30867. "relateduserid": {
  30868. "description": "关联用户id",
  30869. "type": "integer"
  30870. },
  30871. "userid": {
  30872. "description": "关联用户id",
  30873. "type": "integer"
  30874. }
  30875. }
  30876. },
  30877. "models.Market": {
  30878. "type": "object",
  30879. "required": [
  30880. "marketid",
  30881. "marketstatus",
  30882. "openmethod",
  30883. "reckonpricealgorithm",
  30884. "trademode",
  30885. "tradeproperty"
  30886. ],
  30887. "properties": {
  30888. "auctionwrtype": {
  30889. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  30890. "type": "integer"
  30891. },
  30892. "canacceptquote": {
  30893. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  30894. "type": "integer"
  30895. },
  30896. "cangoodsexercise": {
  30897. "description": "[期权]是否可现货行权- 0:否 1:是",
  30898. "type": "integer"
  30899. },
  30900. "cangoodsexercisetype": {
  30901. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  30902. "type": "integer"
  30903. },
  30904. "canmanualquotestrike": {
  30905. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  30906. "type": "integer"
  30907. },
  30908. "canmutistage": {
  30909. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  30910. "type": "integer"
  30911. },
  30912. "canpreexercise": {
  30913. "description": "[期权]是否可预申报- 0:否 1:是",
  30914. "type": "integer"
  30915. },
  30916. "clearinterval": {
  30917. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  30918. "type": "integer"
  30919. },
  30920. "contracttmp": {
  30921. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  30922. "type": "string"
  30923. },
  30924. "exchareaid": {
  30925. "description": "所属交易所,可以没有",
  30926. "type": "integer"
  30927. },
  30928. "goodstype": {
  30929. "description": "商品类型 - 1:交易商品 2:仓单商品",
  30930. "type": "integer"
  30931. },
  30932. "hasrebate": {
  30933. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  30934. "type": "integer"
  30935. },
  30936. "hastradecredit": {
  30937. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  30938. "type": "integer"
  30939. },
  30940. "haswr": {
  30941. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  30942. "type": "integer"
  30943. },
  30944. "isdeductmargin": {
  30945. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  30946. "type": "integer"
  30947. },
  30948. "isrecordsource": {
  30949. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  30950. "type": "integer"
  30951. },
  30952. "isreleasemargin": {
  30953. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  30954. "type": "integer"
  30955. },
  30956. "marginformula": {
  30957. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  30958. "type": "integer"
  30959. },
  30960. "marginformula2": {
  30961. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  30962. "type": "integer"
  30963. },
  30964. "marketid": {
  30965. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  30966. "type": "integer"
  30967. },
  30968. "marketname": {
  30969. "description": "市场名称",
  30970. "type": "string"
  30971. },
  30972. "marketserviceid": {
  30973. "description": "市场服务ID",
  30974. "type": "integer"
  30975. },
  30976. "marketstatus": {
  30977. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  30978. "type": "integer"
  30979. },
  30980. "markettype": {
  30981. "description": "市场类型- 1:非交易服务 2:交易服务",
  30982. "type": "integer"
  30983. },
  30984. "matchermode": {
  30985. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  30986. "type": "integer"
  30987. },
  30988. "openmethod": {
  30989. "description": "开盘模式 - 0 自动 1手动",
  30990. "type": "integer"
  30991. },
  30992. "otcuserid": {
  30993. "description": "场外期权做市商[场外期权]",
  30994. "type": "integer"
  30995. },
  30996. "outersynctime": {
  30997. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  30998. "type": "string"
  30999. },
  31000. "pendingflag": {
  31001. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  31002. "type": "integer"
  31003. },
  31004. "pendingtime": {
  31005. "description": "待开市时间[通道交易-对冲](HH:mm)",
  31006. "type": "string"
  31007. },
  31008. "performancetempid": {
  31009. "description": "履约计划模板ID - 作废",
  31010. "type": "integer"
  31011. },
  31012. "premiumquotemode": {
  31013. "description": "权利金报价方式 - 1:自动 2:手动",
  31014. "type": "integer"
  31015. },
  31016. "rebateratio": {
  31017. "description": "返利比率[竞价式]",
  31018. "type": "number"
  31019. },
  31020. "reckonorder": {
  31021. "description": "结算顺序",
  31022. "type": "integer"
  31023. },
  31024. "reckonpricealgorithm": {
  31025. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  31026. "type": "integer"
  31027. },
  31028. "reckonpriceparam": {
  31029. "description": "结算价参数",
  31030. "type": "integer"
  31031. },
  31032. "reckontime": {
  31033. "description": "结算时间[通道交易-对冲](HH:mm)",
  31034. "type": "string"
  31035. },
  31036. "roleprioritytype": {
  31037. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  31038. "type": "integer"
  31039. },
  31040. "selllistingauditflag": {
  31041. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  31042. "type": "integer"
  31043. },
  31044. "trademarkettype": {
  31045. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  31046. "type": "integer"
  31047. },
  31048. "trademode": {
  31049. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  31050. "type": "integer"
  31051. },
  31052. "tradeproperty": {
  31053. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  31054. "type": "integer"
  31055. },
  31056. "tradetype": {
  31057. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  31058. "type": "integer"
  31059. }
  31060. }
  31061. },
  31062. "models.Marketrun": {
  31063. "type": "object",
  31064. "required": [
  31065. "marketid",
  31066. "nexttradedate",
  31067. "reckonflag",
  31068. "runstatus",
  31069. "tradedate",
  31070. "tradedate2"
  31071. ],
  31072. "properties": {
  31073. "afternexttradedate": {
  31074. "description": "下下交易日",
  31075. "type": "string"
  31076. },
  31077. "clearquoteflag": {
  31078. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  31079. "type": "integer"
  31080. },
  31081. "lastreckondate": {
  31082. "description": "最新交易日(结算成功)",
  31083. "type": "string"
  31084. },
  31085. "machinedate": {
  31086. "description": "机器时间",
  31087. "type": "string"
  31088. },
  31089. "manualflag": {
  31090. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  31091. "type": "integer"
  31092. },
  31093. "marketid": {
  31094. "description": "市场ID",
  31095. "type": "integer"
  31096. },
  31097. "nexttradedate": {
  31098. "description": "下一交易日",
  31099. "type": "string"
  31100. },
  31101. "pretradedate": {
  31102. "description": "上一交易日",
  31103. "type": "string"
  31104. },
  31105. "reckonflag": {
  31106. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  31107. "type": "integer"
  31108. },
  31109. "runstatus": {
  31110. "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.今日免清算",
  31111. "type": "integer"
  31112. },
  31113. "sectionid": {
  31114. "description": "时间段号[多时段时用]",
  31115. "type": "integer"
  31116. },
  31117. "tradedate": {
  31118. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  31119. "type": "string"
  31120. },
  31121. "tradedate2": {
  31122. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  31123. "type": "string"
  31124. },
  31125. "updatetime": {
  31126. "description": "更新时间",
  31127. "type": "string"
  31128. }
  31129. }
  31130. },
  31131. "models.Messageboard": {
  31132. "type": "object",
  31133. "required": [
  31134. "messageboardid"
  31135. ],
  31136. "properties": {
  31137. "contactnum": {
  31138. "description": "联系电话",
  31139. "type": "string"
  31140. },
  31141. "createtime": {
  31142. "description": "创建时间",
  31143. "type": "string"
  31144. },
  31145. "message": {
  31146. "description": "留言信息",
  31147. "type": "string"
  31148. },
  31149. "messageboardid": {
  31150. "description": "留言簿ID(SEQ_MessageBoard)",
  31151. "type": "integer"
  31152. },
  31153. "userid": {
  31154. "description": "用户ID",
  31155. "type": "integer"
  31156. }
  31157. }
  31158. },
  31159. "models.MyCoupon": {
  31160. "type": "object",
  31161. "required": [
  31162. "accountid",
  31163. "coupontypeid"
  31164. ],
  31165. "properties": {
  31166. "accountid": {
  31167. "description": "资金账户ID",
  31168. "type": "integer"
  31169. },
  31170. "areauserid": {
  31171. "description": "所属机构",
  31172. "type": "integer"
  31173. },
  31174. "conditionvalue": {
  31175. "description": "条件阈值(可为0)",
  31176. "type": "number"
  31177. },
  31178. "couponcategroy": {
  31179. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  31180. "type": "integer"
  31181. },
  31182. "couponname": {
  31183. "description": "优惠券名称",
  31184. "type": "string"
  31185. },
  31186. "coupontypeid": {
  31187. "description": "优惠券类型ID",
  31188. "type": "string"
  31189. },
  31190. "couponvalue": {
  31191. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  31192. "type": "number"
  31193. },
  31194. "curfreezeqty": {
  31195. "description": "期末冻结数量",
  31196. "type": "integer"
  31197. },
  31198. "curqty": {
  31199. "description": "期末数量",
  31200. "type": "integer"
  31201. },
  31202. "isgeneral": {
  31203. "description": "是否通用券 - 0:否 1:是",
  31204. "type": "integer"
  31205. },
  31206. "isunusable": {
  31207. "description": "是否不可用",
  31208. "type": "boolean"
  31209. },
  31210. "limitedflag": {
  31211. "description": "是否指定商品 - 0:不限 1:限制",
  31212. "type": "integer"
  31213. },
  31214. "limitedgoodsids": {
  31215. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  31216. "type": "string"
  31217. },
  31218. "orifreezeqty": {
  31219. "description": "期初冻结数量",
  31220. "type": "integer"
  31221. },
  31222. "oriqty": {
  31223. "description": "期初数量",
  31224. "type": "integer"
  31225. },
  31226. "reasontype": {
  31227. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  31228. "type": "integer"
  31229. },
  31230. "todaydecrease": {
  31231. "description": "今日减少",
  31232. "type": "integer"
  31233. },
  31234. "todayincrease": {
  31235. "description": "今日增加",
  31236. "type": "integer"
  31237. },
  31238. "userid": {
  31239. "description": "用户ID",
  31240. "type": "integer"
  31241. },
  31242. "userscope": {
  31243. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  31244. "type": "string"
  31245. }
  31246. }
  31247. },
  31248. "models.MyCouponHold": {
  31249. "type": "object",
  31250. "required": [
  31251. "couponholdid"
  31252. ],
  31253. "properties": {
  31254. "accountid": {
  31255. "description": "资金账户ID",
  31256. "type": "integer"
  31257. },
  31258. "conditionvalue": {
  31259. "description": "条件阈值(可为0)",
  31260. "type": "number"
  31261. },
  31262. "couponcategroy": {
  31263. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  31264. "type": "integer"
  31265. },
  31266. "couponholdid": {
  31267. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  31268. "type": "string"
  31269. },
  31270. "couponname": {
  31271. "description": "优惠券名称",
  31272. "type": "string"
  31273. },
  31274. "coupontypeid": {
  31275. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  31276. "type": "string"
  31277. },
  31278. "couponvalue": {
  31279. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  31280. "type": "number"
  31281. },
  31282. "createtime": {
  31283. "description": "创建时间",
  31284. "type": "string"
  31285. },
  31286. "enddate": {
  31287. "description": "结束日期",
  31288. "type": "string"
  31289. },
  31290. "giveapplyid": {
  31291. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  31292. "type": "integer"
  31293. },
  31294. "holdstatus": {
  31295. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  31296. "type": "integer"
  31297. },
  31298. "isgeneral": {
  31299. "description": "是否通用券 - 0:否 1:是",
  31300. "type": "integer"
  31301. },
  31302. "limitedflag": {
  31303. "description": "是否指定商品 - 0:不限 1:限制",
  31304. "type": "integer"
  31305. },
  31306. "limitedgoodsids": {
  31307. "description": "指定商品IDs[逗号分隔]",
  31308. "type": "string"
  31309. },
  31310. "qty": {
  31311. "description": "数量(按1平铺)",
  31312. "type": "integer"
  31313. },
  31314. "startdate": {
  31315. "description": "开始日期",
  31316. "type": "string"
  31317. },
  31318. "userid": {
  31319. "description": "用户ID",
  31320. "type": "integer"
  31321. },
  31322. "userscope": {
  31323. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  31324. "type": "string"
  31325. }
  31326. }
  31327. },
  31328. "models.MyUsedCoupon": {
  31329. "type": "object",
  31330. "required": [
  31331. "coupontypeid",
  31332. "orderid"
  31333. ],
  31334. "properties": {
  31335. "accountid": {
  31336. "description": "资金账户ID(买方)",
  31337. "type": "integer"
  31338. },
  31339. "conditionvalue": {
  31340. "description": "条件阈值(可为0)",
  31341. "type": "number"
  31342. },
  31343. "couponcategroy": {
  31344. "description": "种类 - 1:现金券 2:折扣券",
  31345. "type": "integer"
  31346. },
  31347. "couponname": {
  31348. "description": "优惠券名称",
  31349. "type": "string"
  31350. },
  31351. "coupontypeid": {
  31352. "description": "优惠券类型ID(买方)",
  31353. "type": "string"
  31354. },
  31355. "couponvalue": {
  31356. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  31357. "type": "number"
  31358. },
  31359. "createtime": {
  31360. "description": "创建时间",
  31361. "type": "string"
  31362. },
  31363. "goodsid": {
  31364. "description": "商品ID",
  31365. "type": "integer"
  31366. },
  31367. "handlestatus": {
  31368. "description": "处理状态",
  31369. "type": "integer"
  31370. },
  31371. "marketid": {
  31372. "description": "市场ID",
  31373. "type": "integer"
  31374. },
  31375. "offamount": {
  31376. "description": "优惠金额",
  31377. "type": "number"
  31378. },
  31379. "orderid": {
  31380. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  31381. "type": "string"
  31382. },
  31383. "sellaccountid": {
  31384. "description": "资金账户ID(卖方)",
  31385. "type": "integer"
  31386. },
  31387. "tradeamount": {
  31388. "description": "成交金额",
  31389. "type": "number"
  31390. },
  31391. "tradeid": {
  31392. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  31393. "type": "string"
  31394. },
  31395. "usedqty": {
  31396. "description": "使用数量",
  31397. "type": "integer"
  31398. }
  31399. }
  31400. },
  31401. "models.OperationPrimaryMenu": {
  31402. "type": "object",
  31403. "properties": {
  31404. "Children": {
  31405. "description": "二级功能菜单",
  31406. "type": "array",
  31407. "items": {
  31408. "$ref": "#/definitions/models.OperationSecondaryMenu"
  31409. }
  31410. },
  31411. "Key": {
  31412. "description": "菜单KEY",
  31413. "type": "string"
  31414. },
  31415. "Label": {
  31416. "description": "菜单标题",
  31417. "type": "string"
  31418. }
  31419. }
  31420. },
  31421. "models.OperationSecondaryMenu": {
  31422. "type": "object",
  31423. "properties": {
  31424. "Key": {
  31425. "description": "菜单KEY",
  31426. "type": "string"
  31427. },
  31428. "Label": {
  31429. "description": "菜单标题",
  31430. "type": "string"
  31431. },
  31432. "TabList": {
  31433. "description": "三级功能菜单",
  31434. "type": "array",
  31435. "items": {
  31436. "$ref": "#/definitions/models.OperationTabMenu"
  31437. }
  31438. }
  31439. }
  31440. },
  31441. "models.OperationTabMenu": {
  31442. "type": "object",
  31443. "properties": {
  31444. "Key": {
  31445. "description": "菜单KEY",
  31446. "type": "string"
  31447. },
  31448. "Label": {
  31449. "description": "菜单标题",
  31450. "type": "string"
  31451. }
  31452. }
  31453. },
  31454. "models.Patradelinkdetail": {
  31455. "type": "object",
  31456. "properties": {
  31457. "accountname": {
  31458. "description": "套期主体",
  31459. "type": "string"
  31460. },
  31461. "agreeunit": {
  31462. "description": "合约乘数",
  31463. "type": "number"
  31464. },
  31465. "amount": {
  31466. "description": "金额 = RelatedLot * TradePrice * AgreeUnit",
  31467. "type": "number"
  31468. },
  31469. "areauserid": {
  31470. "description": "所属机构",
  31471. "type": "integer"
  31472. },
  31473. "bizsubjectid": {
  31474. "description": "归属业务部门ID - SubjectID",
  31475. "type": "integer"
  31476. },
  31477. "buyorsell": {
  31478. "description": "方向 - 0:买 1:卖",
  31479. "type": "integer"
  31480. },
  31481. "convertratio": {
  31482. "description": "品种系数",
  31483. "type": "number"
  31484. },
  31485. "convertratiochange": {
  31486. "description": "套期商品变化量 = RelatedLot * AgreeUnit * ConvertRatio",
  31487. "type": "number"
  31488. },
  31489. "createtime": {
  31490. "description": "[日期时间]创建时间",
  31491. "type": "string"
  31492. },
  31493. "creatorid": {
  31494. "description": "创建人ID",
  31495. "type": "integer"
  31496. },
  31497. "creatorsrc": {
  31498. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  31499. "type": "integer"
  31500. },
  31501. "goodscode": {
  31502. "description": "商品代码(内部)",
  31503. "type": "string"
  31504. },
  31505. "goodsgroupid": {
  31506. "description": "对冲品种ID[期货合约商品组ID]",
  31507. "type": "integer"
  31508. },
  31509. "goodsid": {
  31510. "description": "商品ID",
  31511. "type": "integer"
  31512. },
  31513. "hedgeditemid": {
  31514. "description": "现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]",
  31515. "type": "integer"
  31516. },
  31517. "hedgeflag": {
  31518. "description": "投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目",
  31519. "type": "integer"
  31520. },
  31521. "linkdetailid": {
  31522. "description": "期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)",
  31523. "type": "string"
  31524. },
  31525. "linkstatus": {
  31526. "description": "关联状态 - 1:成功 2:失败 3:解绑",
  31527. "type": "integer"
  31528. },
  31529. "middlegoodsid": {
  31530. "description": "套保品种ID",
  31531. "type": "integer"
  31532. },
  31533. "name": {
  31534. "description": "账户名/子账户",
  31535. "type": "string"
  31536. },
  31537. "optioncode": {
  31538. "description": "[期货合约]期权代码 [期权]",
  31539. "type": "string"
  31540. },
  31541. "ordertype": {
  31542. "description": "单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单",
  31543. "type": "integer"
  31544. },
  31545. "relatedlot": {
  31546. "description": "[数量]关联手数",
  31547. "type": "number"
  31548. },
  31549. "relatedmode": {
  31550. "description": "关联方式 - 1:自动关联 2:手动关联 3:解绑关联",
  31551. "type": "integer"
  31552. },
  31553. "relatedqty": {
  31554. "description": "关联数量 = RelatedLot * AgreeUnit * ConvertRatio",
  31555. "type": "number"
  31556. },
  31557. "retcode": {
  31558. "description": "返回码",
  31559. "type": "integer"
  31560. },
  31561. "saleuserid": {
  31562. "description": "业务员ID",
  31563. "type": "integer"
  31564. },
  31565. "tradedate": {
  31566. "description": "关联交易日(yyyyMMdd)",
  31567. "type": "string"
  31568. },
  31569. "tradeid": {
  31570. "description": "[成交单号]内部成交单ID",
  31571. "type": "string"
  31572. },
  31573. "tradelot": {
  31574. "description": "成交手数",
  31575. "type": "integer"
  31576. },
  31577. "tradeprice": {
  31578. "description": "[价格]成交价格",
  31579. "type": "number"
  31580. },
  31581. "tradetradedate": {
  31582. "description": "成交交易日(yyyyMMdd)",
  31583. "type": "string"
  31584. }
  31585. }
  31586. },
  31587. "models.QhjAccountOutInApply": {
  31588. "type": "object",
  31589. "properties": {
  31590. "accountcode": {
  31591. "description": "资金账号",
  31592. "type": "string"
  31593. },
  31594. "accountname": {
  31595. "description": "用户名称(名称)",
  31596. "type": "string"
  31597. },
  31598. "accountpwd": {
  31599. "description": "资金密码",
  31600. "type": "string"
  31601. },
  31602. "accountticket": {
  31603. "description": "最新账户服务流水号",
  31604. "type": "string"
  31605. },
  31606. "amount": {
  31607. "description": "金额",
  31608. "type": "number"
  31609. },
  31610. "applyremark": {
  31611. "description": "申请备注",
  31612. "type": "string"
  31613. },
  31614. "applystatus": {
  31615. "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: 复审通过,账户冻结金额检查中;",
  31616. "type": "integer"
  31617. },
  31618. "auditid": {
  31619. "description": "审核人",
  31620. "type": "integer"
  31621. },
  31622. "audittime": {
  31623. "description": "审核时间",
  31624. "type": "string"
  31625. },
  31626. "bank_apply_ticket": {
  31627. "description": "银行申请流水",
  31628. "type": "string"
  31629. },
  31630. "bankaccountname": {
  31631. "description": "银行账户名",
  31632. "type": "string"
  31633. },
  31634. "bankaccountno": {
  31635. "description": "银行卡号",
  31636. "type": "string"
  31637. },
  31638. "bankid": {
  31639. "description": "银行编号",
  31640. "type": "string"
  31641. },
  31642. "bankticket": {
  31643. "description": "银行流水",
  31644. "type": "string"
  31645. },
  31646. "branchbankid": {
  31647. "description": "银行支行号",
  31648. "type": "string"
  31649. },
  31650. "branchbankname": {
  31651. "description": "银行支行名称",
  31652. "type": "string"
  31653. },
  31654. "capamountout": {
  31655. "description": "出金(劣后本金) - 外部子账户",
  31656. "type": "number"
  31657. },
  31658. "certificatephotourl": {
  31659. "description": "凭证地址",
  31660. "type": "string"
  31661. },
  31662. "charge": {
  31663. "description": "手续费",
  31664. "type": "number"
  31665. },
  31666. "checkerrorflag": {
  31667. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  31668. "type": "integer"
  31669. },
  31670. "currency": {
  31671. "description": "币种",
  31672. "type": "string"
  31673. },
  31674. "cusbankid": {
  31675. "description": "托管银行编号",
  31676. "type": "string"
  31677. },
  31678. "exchticket": {
  31679. "description": "银行服务流水号",
  31680. "type": "string"
  31681. },
  31682. "executetype": {
  31683. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  31684. "type": "integer"
  31685. },
  31686. "extendinfo": {
  31687. "description": "扩展信息",
  31688. "type": "string"
  31689. },
  31690. "extoperateid": {
  31691. "description": "交易服务流水号",
  31692. "type": "integer"
  31693. },
  31694. "infamount": {
  31695. "description": "劣后金额(自有)",
  31696. "type": "number"
  31697. },
  31698. "logincode": {
  31699. "description": "登录账号(账号)",
  31700. "type": "string"
  31701. },
  31702. "netaddr": {
  31703. "description": "调转网址",
  31704. "type": "string"
  31705. },
  31706. "priamount": {
  31707. "description": "优先金额(授信)",
  31708. "type": "number"
  31709. },
  31710. "reauditid": {
  31711. "description": "复审人",
  31712. "type": "integer"
  31713. },
  31714. "reauditremark": {
  31715. "description": "复审备注",
  31716. "type": "string"
  31717. },
  31718. "reaudittime": {
  31719. "description": "复审时间",
  31720. "type": "string"
  31721. },
  31722. "relatedorderid": {
  31723. "description": "三方关联ID",
  31724. "type": "string"
  31725. },
  31726. "remark": {
  31727. "description": "备注",
  31728. "type": "string"
  31729. },
  31730. "remark2": {
  31731. "description": "备注(失败原因)",
  31732. "type": "string"
  31733. },
  31734. "soucreamount": {
  31735. "description": "原始出入金金额",
  31736. "type": "number"
  31737. },
  31738. "soucrecurrencyid": {
  31739. "description": "原始出入金币种",
  31740. "type": "integer"
  31741. },
  31742. "tradedate": {
  31743. "description": "交易日(yyyyMMdd)",
  31744. "type": "string"
  31745. },
  31746. "updatetime": {
  31747. "description": "更新时间(申请时间)",
  31748. "type": "string"
  31749. },
  31750. "userid": {
  31751. "description": "用户id",
  31752. "type": "integer"
  31753. },
  31754. "userinfotype": {
  31755. "description": "账户类型 1-个人 2-企业",
  31756. "type": "integer"
  31757. }
  31758. }
  31759. },
  31760. "models.QhjAgreementChangeLog": {
  31761. "type": "object",
  31762. "properties": {
  31763. "agreementcontent": {
  31764. "description": "协议内容",
  31765. "type": "string"
  31766. },
  31767. "agreementfrequency": {
  31768. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  31769. "type": "integer"
  31770. },
  31771. "agreementid": {
  31772. "description": "协议ID",
  31773. "type": "integer"
  31774. },
  31775. "agreementname": {
  31776. "description": "协议名称",
  31777. "type": "string"
  31778. },
  31779. "agreementno": {
  31780. "description": "协议编号",
  31781. "type": "string"
  31782. },
  31783. "agreementtype": {
  31784. "description": "协议类型 - 1:注册 2:登录 3:交易",
  31785. "type": "integer"
  31786. },
  31787. "agreementversion": {
  31788. "description": "协议版本号",
  31789. "type": "integer"
  31790. },
  31791. "logid": {
  31792. "description": "流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)",
  31793. "type": "integer"
  31794. },
  31795. "reviserid": {
  31796. "description": "修改人",
  31797. "type": "integer"
  31798. },
  31799. "revisersrc": {
  31800. "description": "修改来源 - 1:管理端 2:终端",
  31801. "type": "integer"
  31802. },
  31803. "updatetime": {
  31804. "description": "更新时间",
  31805. "type": "string"
  31806. }
  31807. }
  31808. },
  31809. "models.QhjAgreementConfig": {
  31810. "type": "object",
  31811. "properties": {
  31812. "agreementcontent": {
  31813. "description": "协议内容",
  31814. "type": "string"
  31815. },
  31816. "agreementfrequency": {
  31817. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  31818. "type": "integer"
  31819. },
  31820. "agreementid": {
  31821. "description": "协议ID(SEQ_QHJ_AGREEMENTCONFIG)",
  31822. "type": "integer"
  31823. },
  31824. "agreementname": {
  31825. "description": "协议名称",
  31826. "type": "string"
  31827. },
  31828. "agreementno": {
  31829. "description": "协议编号",
  31830. "type": "string"
  31831. },
  31832. "agreementtype": {
  31833. "description": "协议类型 - 1:注册 2:登录 3:交易",
  31834. "type": "integer"
  31835. },
  31836. "agreementversion": {
  31837. "description": "协议版本号(从1开始每次修改加1)",
  31838. "type": "integer"
  31839. },
  31840. "createtime": {
  31841. "description": "创建时间",
  31842. "type": "string"
  31843. },
  31844. "creatorid": {
  31845. "description": "创建人",
  31846. "type": "integer"
  31847. },
  31848. "creatorsrc": {
  31849. "description": "创建来源 - 1:管理端 2:终端",
  31850. "type": "integer"
  31851. },
  31852. "isvalid": {
  31853. "description": "是否有效 - 是否有效 - 1:正常 2:停用 3:注销",
  31854. "type": "integer"
  31855. },
  31856. "reviserid": {
  31857. "description": "修改人",
  31858. "type": "integer"
  31859. },
  31860. "revisersrc": {
  31861. "description": "修改来源 - 1:管理端 2:终端",
  31862. "type": "integer"
  31863. },
  31864. "updatetime": {
  31865. "description": "更新时间",
  31866. "type": "string"
  31867. }
  31868. }
  31869. },
  31870. "models.QhjAreaFinanceConfig": {
  31871. "type": "object",
  31872. "properties": {
  31873. "additionalratio": {
  31874. "description": "追加款比例",
  31875. "type": "number"
  31876. },
  31877. "advanceratio": {
  31878. "description": "预付款比例",
  31879. "type": "number"
  31880. },
  31881. "alarmratio": {
  31882. "description": "告警比例",
  31883. "type": "number"
  31884. },
  31885. "consumptiondirectreward": {
  31886. "description": "消费直推奖励值",
  31887. "type": "number"
  31888. },
  31889. "consumptionenabled": {
  31890. "description": "是否启用消费奖励 - 0:不启用 1:启用",
  31891. "type": "integer"
  31892. },
  31893. "consumptionindirectreward": {
  31894. "description": "消费间推奖励值",
  31895. "type": "number"
  31896. },
  31897. "consumptionmodel": {
  31898. "description": "消费奖励方式 - 1:比率 2:固定",
  31899. "type": "integer"
  31900. },
  31901. "customerservicenum": {
  31902. "description": "客服电话",
  31903. "type": "string"
  31904. },
  31905. "dayinterestrate": {
  31906. "description": "日利率",
  31907. "type": "number"
  31908. },
  31909. "disableconsumptiontips": {
  31910. "description": "关闭消费奖励提示",
  31911. "type": "string"
  31912. },
  31913. "modifierid": {
  31914. "description": "修改人ID",
  31915. "type": "integer"
  31916. },
  31917. "modifysrc": {
  31918. "description": "审核来源 - 1:管理端 2:终端",
  31919. "type": "integer"
  31920. },
  31921. "modifytime": {
  31922. "description": "修改时间",
  31923. "type": "string"
  31924. },
  31925. "promotionvalue": {
  31926. "description": "推广奖励值(固定)",
  31927. "type": "number"
  31928. },
  31929. "scoreconfigvalue1": {
  31930. "description": "提货积分配置1",
  31931. "type": "integer"
  31932. },
  31933. "scoreconfigvalue2": {
  31934. "description": "提货积分配置2",
  31935. "type": "integer"
  31936. },
  31937. "userid": {
  31938. "description": "机构用户ID其他做市关系,都设置为 1",
  31939. "type": "integer"
  31940. },
  31941. "username": {
  31942. "description": "用户名称",
  31943. "type": "string"
  31944. }
  31945. }
  31946. },
  31947. "models.QhjBankAccountSign": {
  31948. "type": "object",
  31949. "properties": {
  31950. "accountcode": {
  31951. "description": "资金账号",
  31952. "type": "string"
  31953. },
  31954. "accountname": {
  31955. "description": "资金账号对应的账号名(UserName)",
  31956. "type": "string"
  31957. },
  31958. "accountname2": {
  31959. "description": "资金账号对应的账号名(UserName) - 密文",
  31960. "type": "string"
  31961. },
  31962. "accounttype": {
  31963. "description": "账户类型(UserType)",
  31964. "type": "integer"
  31965. },
  31966. "applicationtime": {
  31967. "description": "最后一次更新的时间",
  31968. "type": "string"
  31969. },
  31970. "applyexchticket": {
  31971. "description": "申请流水",
  31972. "type": "string"
  31973. },
  31974. "auditid": {
  31975. "description": "审核人",
  31976. "type": "integer"
  31977. },
  31978. "audittime": {
  31979. "description": "审核时间",
  31980. "type": "string"
  31981. },
  31982. "bankaccountname": {
  31983. "description": "签约银行卡账号名",
  31984. "type": "string"
  31985. },
  31986. "bankaccountname2": {
  31987. "description": "签约银行卡账号名 - 密文",
  31988. "type": "string"
  31989. },
  31990. "bankaccountno": {
  31991. "description": "银行卡号",
  31992. "type": "string"
  31993. },
  31994. "bankaccountno2": {
  31995. "description": "银行卡号 - 密文",
  31996. "type": "string"
  31997. },
  31998. "bankaccounttype": {
  31999. "description": "银行账户类型 - 1-对私; 2-对公",
  32000. "type": "integer"
  32001. },
  32002. "bankcardtype": {
  32003. "description": "银行卡类型",
  32004. "type": "integer"
  32005. },
  32006. "bankchildaccount": {
  32007. "description": "银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)",
  32008. "type": "string"
  32009. },
  32010. "bankcity": {
  32011. "description": "开户行城市",
  32012. "type": "string"
  32013. },
  32014. "bankid": {
  32015. "description": "签约银行ID",
  32016. "type": "string"
  32017. },
  32018. "bankname": {
  32019. "description": "签约银行名称",
  32020. "type": "string"
  32021. },
  32022. "bankprovince": {
  32023. "description": "开户行省份",
  32024. "type": "string"
  32025. },
  32026. "branchbankid": {
  32027. "description": "签约银行支行号",
  32028. "type": "string"
  32029. },
  32030. "branchbankname": {
  32031. "description": "签约银行支行名称",
  32032. "type": "string"
  32033. },
  32034. "cardno": {
  32035. "description": "证件号码",
  32036. "type": "string"
  32037. },
  32038. "cardno2": {
  32039. "description": "证件号码 - 密文",
  32040. "type": "string"
  32041. },
  32042. "cardtype": {
  32043. "description": "证件类型",
  32044. "type": "string"
  32045. },
  32046. "currency": {
  32047. "description": "币种",
  32048. "type": "string"
  32049. },
  32050. "cusbankid": {
  32051. "description": "托管银行编号",
  32052. "type": "string"
  32053. },
  32054. "direct": {
  32055. "description": "方向(可以判断那方先发起的签约)",
  32056. "type": "integer"
  32057. },
  32058. "exchticket": {
  32059. "description": "最后一次签约成功的流水号",
  32060. "type": "string"
  32061. },
  32062. "extendinfo": {
  32063. "description": "扩展信息(JSON字符串)",
  32064. "type": "string"
  32065. },
  32066. "mobilephone": {
  32067. "description": "手机号",
  32068. "type": "string"
  32069. },
  32070. "mobilephone2": {
  32071. "description": "手机号 - 密文",
  32072. "type": "string"
  32073. },
  32074. "netaddr": {
  32075. "description": "调转网址",
  32076. "type": "string"
  32077. },
  32078. "relateduserid": {
  32079. "description": "关联使用者userid",
  32080. "type": "integer"
  32081. },
  32082. "signstatus": {
  32083. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中 10:审核拒绝 11:换签待审核",
  32084. "type": "integer"
  32085. },
  32086. "updatetime": {
  32087. "description": "更新时间(签解约更新时间)",
  32088. "type": "string"
  32089. }
  32090. }
  32091. },
  32092. "models.QhjBankInfo": {
  32093. "type": "object",
  32094. "properties": {
  32095. "bankid": {
  32096. "description": "银行ID",
  32097. "type": "string"
  32098. },
  32099. "bankname": {
  32100. "description": "银行名称",
  32101. "type": "string"
  32102. },
  32103. "clearbankno": {
  32104. "description": "清算系统银行编号",
  32105. "type": "string"
  32106. },
  32107. "orderindex": {
  32108. "description": "排序顺序",
  32109. "type": "integer"
  32110. },
  32111. "status": {
  32112. "description": "状态 - 0:正常 1:注销",
  32113. "type": "integer"
  32114. }
  32115. }
  32116. },
  32117. "models.QhjBrokerApply": {
  32118. "type": "object",
  32119. "properties": {
  32120. "applicantid": {
  32121. "description": "申请人",
  32122. "type": "integer"
  32123. },
  32124. "applysrc": {
  32125. "description": "申请来源 - 1:管理端 2:终端",
  32126. "type": "integer"
  32127. },
  32128. "applystatus": {
  32129. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  32130. "type": "integer"
  32131. },
  32132. "applytime": {
  32133. "description": "申请时间",
  32134. "type": "string"
  32135. },
  32136. "auditorid": {
  32137. "description": "审核人",
  32138. "type": "integer"
  32139. },
  32140. "auditremark": {
  32141. "description": "审核备注",
  32142. "type": "string"
  32143. },
  32144. "auditsrc": {
  32145. "description": "审核来源 - 1:管理端 2:终端",
  32146. "type": "integer"
  32147. },
  32148. "audittime": {
  32149. "description": "审核时间",
  32150. "type": "string"
  32151. },
  32152. "audittradedate": {
  32153. "description": "审核交易日(yyyyMMdd)",
  32154. "type": "string"
  32155. },
  32156. "brokerapplyid": {
  32157. "description": "申请ID(SEQ_BROKERAPPLY)",
  32158. "type": "integer"
  32159. },
  32160. "cardbackphotourl": {
  32161. "description": "证件背面图片地址",
  32162. "type": "string"
  32163. },
  32164. "cardfrontphotourl": {
  32165. "description": "证件正面图片地址",
  32166. "type": "string"
  32167. },
  32168. "cardnum": {
  32169. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  32170. "type": "string"
  32171. },
  32172. "customername": {
  32173. "description": "姓名",
  32174. "type": "string"
  32175. },
  32176. "logincode": {
  32177. "description": "登录代码",
  32178. "type": "string"
  32179. },
  32180. "mobile": {
  32181. "description": "手机号码",
  32182. "type": "string"
  32183. },
  32184. "parentuserid": {
  32185. "description": "所属机构id",
  32186. "type": "integer"
  32187. },
  32188. "parentusername": {
  32189. "description": "所属机构名称",
  32190. "type": "string"
  32191. },
  32192. "refereeuserid": {
  32193. "description": "推荐人id(经纪人)",
  32194. "type": "integer"
  32195. },
  32196. "refernum": {
  32197. "description": "推荐码",
  32198. "type": "string"
  32199. },
  32200. "remark": {
  32201. "description": "备注",
  32202. "type": "string"
  32203. },
  32204. "subarealevelpath": {
  32205. "description": "层级路径",
  32206. "type": "string"
  32207. },
  32208. "tradedate": {
  32209. "description": "交易日(yyyyMMdd)",
  32210. "type": "string"
  32211. },
  32212. "userid": {
  32213. "description": "申请人用户ID",
  32214. "type": "integer"
  32215. },
  32216. "userinfotype": {
  32217. "description": "用户类型 1-个人 2-企业",
  32218. "type": "integer"
  32219. },
  32220. "username": {
  32221. "description": "用户名称",
  32222. "type": "string"
  32223. }
  32224. }
  32225. },
  32226. "models.QhjBrokerApplyEx": {
  32227. "type": "object",
  32228. "properties": {
  32229. "applylist": {
  32230. "description": "经纪人申请记录(只返回最新一条)",
  32231. "type": "array",
  32232. "items": {
  32233. "$ref": "#/definitions/models.QhjBrokerApply"
  32234. }
  32235. },
  32236. "canrecommend": {
  32237. "description": "是否经纪人 0-不是 1-是",
  32238. "type": "integer"
  32239. },
  32240. "refernum": {
  32241. "description": "推荐码",
  32242. "type": "string"
  32243. },
  32244. "userid": {
  32245. "description": "用户id",
  32246. "type": "integer"
  32247. },
  32248. "userinfotype": {
  32249. "description": "用户类型 1-个人 2-企业",
  32250. "type": "integer"
  32251. }
  32252. }
  32253. },
  32254. "models.QhjBrokerRewardLog": {
  32255. "type": "object",
  32256. "properties": {
  32257. "accountid": {
  32258. "description": "资金账号ID",
  32259. "type": "integer"
  32260. },
  32261. "createtime": {
  32262. "description": "创建时间(时间)",
  32263. "type": "string"
  32264. },
  32265. "handlestatus": {
  32266. "description": "处理状态",
  32267. "type": "integer"
  32268. },
  32269. "logid": {
  32270. "description": "奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  32271. "type": "string"
  32272. },
  32273. "marketid": {
  32274. "description": "市场ID",
  32275. "type": "integer"
  32276. },
  32277. "mmaccountid": {
  32278. "description": "做市商资金账号ID",
  32279. "type": "string"
  32280. },
  32281. "mmuserid": {
  32282. "description": "做市商用户ID",
  32283. "type": "string"
  32284. },
  32285. "rewardamount": {
  32286. "description": "奖励金额",
  32287. "type": "number"
  32288. },
  32289. "rewardmodel": {
  32290. "description": "消费奖励方式 - 1:比率 2:固定",
  32291. "type": "integer"
  32292. },
  32293. "rewardtype": {
  32294. "description": "奖励类型 - 1:推广 2:消费1级 3:消费2级",
  32295. "type": "integer"
  32296. },
  32297. "rewardvalue": {
  32298. "description": "配置奖励值",
  32299. "type": "number"
  32300. },
  32301. "srcamount": {
  32302. "description": "成交金额 [消费奖励] (金额)",
  32303. "type": "number"
  32304. },
  32305. "srcgoodsid": {
  32306. "description": "来源商品ID [消费奖励]",
  32307. "type": "string"
  32308. },
  32309. "srctime": {
  32310. "description": "来源时间 (成交时间) [消费奖励]",
  32311. "type": "string"
  32312. },
  32313. "srctradeid": {
  32314. "description": "来源成交单ID [消费奖励] - 排除提货成交",
  32315. "type": "string"
  32316. },
  32317. "srcuserid": {
  32318. "description": "来源用户ID(推广账户)",
  32319. "type": "string"
  32320. },
  32321. "srcusername": {
  32322. "description": "推广账户名称",
  32323. "type": "string"
  32324. },
  32325. "tradedate": {
  32326. "description": "交易日(yyyyMMdd)",
  32327. "type": "string"
  32328. },
  32329. "userid": {
  32330. "description": "经纪人用户ID",
  32331. "type": "integer"
  32332. }
  32333. }
  32334. },
  32335. "models.QhjContract": {
  32336. "type": "object",
  32337. "properties": {
  32338. "contractconfirmtime": {
  32339. "description": "合同确认时间(时间)",
  32340. "type": "string"
  32341. },
  32342. "currisklevel": {
  32343. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  32344. "type": "integer"
  32345. },
  32346. "decimalplace": {
  32347. "description": "商品报价小数位",
  32348. "type": "integer"
  32349. },
  32350. "enumdicname": {
  32351. "description": "单位名称",
  32352. "type": "string"
  32353. },
  32354. "goodscode": {
  32355. "description": "商品代码",
  32356. "type": "string"
  32357. },
  32358. "goodsid": {
  32359. "description": "商品ID [5:融资单]",
  32360. "type": "integer"
  32361. },
  32362. "goodsname": {
  32363. "description": "商品名称",
  32364. "type": "string"
  32365. },
  32366. "goodunitid": {
  32367. "description": "商品单位id",
  32368. "type": "integer"
  32369. },
  32370. "initmargin": {
  32371. "description": "初始保证金(首付款)",
  32372. "type": "number"
  32373. },
  32374. "lenderamount": {
  32375. "description": "贷款金额(总额|订单总额)",
  32376. "type": "number"
  32377. },
  32378. "marginratio": {
  32379. "description": "保证金比率(首付比例)",
  32380. "type": "number"
  32381. },
  32382. "payamount": {
  32383. "description": "已付(已付货款)",
  32384. "type": "number"
  32385. },
  32386. "reckonrecovermargin": {
  32387. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  32388. "type": "number"
  32389. },
  32390. "recoveredmargin": {
  32391. "description": "已追缴保证金",
  32392. "type": "number"
  32393. },
  32394. "remainamount": {
  32395. "description": "合同剩余金额(融资额)",
  32396. "type": "number"
  32397. },
  32398. "scfcontractid": {
  32399. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  32400. "type": "string"
  32401. },
  32402. "scfcontractstatus": {
  32403. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  32404. "type": "integer"
  32405. },
  32406. "scfcontracttype": {
  32407. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  32408. "type": "integer"
  32409. },
  32410. "totalinterest": {
  32411. "description": "已计总利息(利息)",
  32412. "type": "number"
  32413. },
  32414. "tradeprice": {
  32415. "description": "成交价格(成本价格)",
  32416. "type": "number"
  32417. },
  32418. "userid": {
  32419. "description": "用户ID",
  32420. "type": "integer"
  32421. },
  32422. "username": {
  32423. "description": "用户名称",
  32424. "type": "string"
  32425. },
  32426. "wrqty": {
  32427. "description": "仓单数量(数量)",
  32428. "type": "number"
  32429. }
  32430. }
  32431. },
  32432. "models.QhjContractLog": {
  32433. "type": "object",
  32434. "properties": {
  32435. "amount": {
  32436. "description": "支付金额",
  32437. "type": "number"
  32438. },
  32439. "amounttype": {
  32440. "description": "资金类型 - 1:首付款 2:尾款 3:利息 4:追加款",
  32441. "type": "integer"
  32442. },
  32443. "logid": {
  32444. "description": "LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  32445. "type": "string"
  32446. },
  32447. "remainamount": {
  32448. "description": "剩余货款",
  32449. "type": "number"
  32450. },
  32451. "scfcontractid": {
  32452. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  32453. "type": "integer"
  32454. },
  32455. "updatetime": {
  32456. "description": "更新时间",
  32457. "type": "string"
  32458. }
  32459. }
  32460. },
  32461. "models.QhjCusBankSignBankEx": {
  32462. "type": "object",
  32463. "properties": {
  32464. "banklst": {
  32465. "description": "银行列表",
  32466. "type": "array",
  32467. "items": {
  32468. "$ref": "#/definitions/models.QhjBankInfo"
  32469. }
  32470. },
  32471. "canallot": {
  32472. "description": "是否支持跨行调拨 - 0:不支持 1:支持",
  32473. "type": "integer"
  32474. },
  32475. "canallotquery": {
  32476. "description": "是否支持跨行调拨查询 - 0:不支持 1:支持",
  32477. "type": "integer"
  32478. },
  32479. "canbindcard": {
  32480. "description": "是否可绑卡与解卡 - 0:不可 1:可以",
  32481. "type": "integer"
  32482. },
  32483. "caninamount": {
  32484. "description": "是否可入金 - 0:不可 1:可以",
  32485. "type": "integer"
  32486. },
  32487. "caninamount2": {
  32488. "description": "是否可入金(网银端) - 0:不可 1:可以",
  32489. "type": "integer"
  32490. },
  32491. "canmodifybankcard": {
  32492. "description": "是否可修改银行卡号 - 0:不可 1:可以",
  32493. "type": "integer"
  32494. },
  32495. "canmodifyphone": {
  32496. "description": "是否可修改手机号 - 0:不可 1:可以",
  32497. "type": "integer"
  32498. },
  32499. "canmodifysigninfo": {
  32500. "description": "是否可修改签约信息 - 0:不可 1:可以",
  32501. "type": "integer"
  32502. },
  32503. "canoutamount": {
  32504. "description": "是否可出金 - 0:不可 1:可以",
  32505. "type": "integer"
  32506. },
  32507. "canoutamount2": {
  32508. "description": "是否可出金(网银端) - 0:不可 1:可以",
  32509. "type": "integer"
  32510. },
  32511. "canrelease": {
  32512. "description": "是否可解约 - 0:不可 1:可以",
  32513. "type": "integer"
  32514. },
  32515. "canrelease2": {
  32516. "description": "是否可解约(网银端) - 0:不可 1:可以",
  32517. "type": "integer"
  32518. },
  32519. "cansign": {
  32520. "description": "是否可签约 - 0:不可 1:可以",
  32521. "type": "integer"
  32522. },
  32523. "cansign2": {
  32524. "description": "是否可签约(网银端) - 0:不可 1:可以",
  32525. "type": "integer"
  32526. },
  32527. "currency": {
  32528. "description": "币种",
  32529. "type": "string"
  32530. },
  32531. "cusbankid": {
  32532. "description": "托管银行编号(对应清算中心TRAN_NO)",
  32533. "type": "string"
  32534. },
  32535. "cusbankname": {
  32536. "description": "银行业务名称",
  32537. "type": "string"
  32538. },
  32539. "cusbankshortname": {
  32540. "description": "银行业务简称",
  32541. "type": "string"
  32542. },
  32543. "exchbankid": {
  32544. "description": "交易所开户银行ID",
  32545. "type": "string"
  32546. },
  32547. "exchpaybankaccname": {
  32548. "description": "交易所支出结算账户户名",
  32549. "type": "string"
  32550. },
  32551. "exchpaybankaccno": {
  32552. "description": "交易所支出结算账户",
  32553. "type": "string"
  32554. },
  32555. "isneedcheck": {
  32556. "description": "是否需要对账 - 0:需要 1:不需要 [不需要界面配置]",
  32557. "type": "integer"
  32558. },
  32559. "isneedclear": {
  32560. "description": "是否需要清算 - 0:不需要 1:需要",
  32561. "type": "integer"
  32562. },
  32563. "lastcheckstatus": {
  32564. "description": "最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败",
  32565. "type": "integer"
  32566. },
  32567. "lastchecktime": {
  32568. "description": "最后对账时间",
  32569. "type": "string"
  32570. },
  32571. "lastclearstatus": {
  32572. "description": "最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功",
  32573. "type": "integer"
  32574. },
  32575. "lastcleartime": {
  32576. "description": "最后清算时间",
  32577. "type": "string"
  32578. },
  32579. "lastsignintime": {
  32580. "description": "最后签到时间",
  32581. "type": "string"
  32582. },
  32583. "lastsignouttime": {
  32584. "description": "最后签退时间",
  32585. "type": "string"
  32586. },
  32587. "riskinfo": {
  32588. "description": "签约风险提示书",
  32589. "type": "string"
  32590. },
  32591. "signstatus": {
  32592. "description": "当前签到/签退状态 - 1:签到 2:签退",
  32593. "type": "integer"
  32594. },
  32595. "tradedate": {
  32596. "description": "交易日(yyyyMMdd)",
  32597. "type": "string"
  32598. },
  32599. "updatetime": {
  32600. "description": "当前签到/签退更新时间",
  32601. "type": "string"
  32602. }
  32603. }
  32604. },
  32605. "models.QhjCustomer": {
  32606. "type": "object",
  32607. "properties": {
  32608. "address": {
  32609. "description": "通讯地址",
  32610. "type": "string"
  32611. },
  32612. "attachment1": {
  32613. "description": "附件1",
  32614. "type": "string"
  32615. },
  32616. "attachment2": {
  32617. "description": "附件2",
  32618. "type": "string"
  32619. },
  32620. "audittime": {
  32621. "description": "审核时间",
  32622. "type": "string"
  32623. },
  32624. "cardbackphotourl": {
  32625. "description": "证件反面图片地址",
  32626. "type": "string"
  32627. },
  32628. "cardfrontphotourl": {
  32629. "description": "证件正面图片地址",
  32630. "type": "string"
  32631. },
  32632. "cardnum": {
  32633. "description": "证件号码",
  32634. "type": "string"
  32635. },
  32636. "cardtype": {
  32637. "description": "证件类型",
  32638. "type": "integer"
  32639. },
  32640. "cardtypename": {
  32641. "description": "证件类型名称",
  32642. "type": "string"
  32643. },
  32644. "cityid": {
  32645. "description": "市",
  32646. "type": "integer"
  32647. },
  32648. "cityname": {
  32649. "description": "城市名称",
  32650. "type": "string"
  32651. },
  32652. "contactname": {
  32653. "description": "联系人",
  32654. "type": "string"
  32655. },
  32656. "countryid": {
  32657. "description": "国家",
  32658. "type": "integer"
  32659. },
  32660. "countryname": {
  32661. "description": "国家名称",
  32662. "type": "string"
  32663. },
  32664. "createtime": {
  32665. "description": "创建时间",
  32666. "type": "string"
  32667. },
  32668. "customername": {
  32669. "description": "客户名称",
  32670. "type": "string"
  32671. },
  32672. "districtid": {
  32673. "description": "区域",
  32674. "type": "integer"
  32675. },
  32676. "districtname": {
  32677. "description": "地区名称",
  32678. "type": "string"
  32679. },
  32680. "email": {
  32681. "description": "邮件",
  32682. "type": "string"
  32683. },
  32684. "legalpersonname": {
  32685. "description": "法人姓名(企业)",
  32686. "type": "string"
  32687. },
  32688. "logincode": {
  32689. "description": "登录账号(代码)",
  32690. "type": "string"
  32691. },
  32692. "memberuserid": {
  32693. "description": "所属机构ID(所属会员)",
  32694. "type": "integer"
  32695. },
  32696. "memberusername": {
  32697. "description": "所属会员名称",
  32698. "type": "string"
  32699. },
  32700. "mobile": {
  32701. "description": "手机号码",
  32702. "type": "string"
  32703. },
  32704. "modifytime": {
  32705. "description": "修改时间",
  32706. "type": "string"
  32707. },
  32708. "nickname": {
  32709. "description": "昵称",
  32710. "type": "string"
  32711. },
  32712. "parentuserid": {
  32713. "description": "上级机构(所属机构)",
  32714. "type": "integer"
  32715. },
  32716. "parentusername": {
  32717. "description": "所属机构名称",
  32718. "type": "string"
  32719. },
  32720. "provinceid": {
  32721. "description": "省",
  32722. "type": "integer"
  32723. },
  32724. "provincename": {
  32725. "description": "省名称",
  32726. "type": "string"
  32727. },
  32728. "proxystatementurl": {
  32729. "description": "授权委托书",
  32730. "type": "string"
  32731. },
  32732. "remark": {
  32733. "description": "备注",
  32734. "type": "string"
  32735. },
  32736. "status": {
  32737. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  32738. "type": "integer"
  32739. },
  32740. "statusdesc": {
  32741. "description": "账户状态中文描述",
  32742. "type": "string"
  32743. },
  32744. "taxpayernum": {
  32745. "description": "纳税人识别号",
  32746. "type": "string"
  32747. },
  32748. "telphone": {
  32749. "description": "联系电话",
  32750. "type": "string"
  32751. },
  32752. "userid": {
  32753. "description": "用户ID",
  32754. "type": "integer"
  32755. },
  32756. "userinfotype": {
  32757. "description": "客户类型 1-个人 2-企业",
  32758. "type": "integer"
  32759. },
  32760. "username": {
  32761. "description": "用户名称",
  32762. "type": "string"
  32763. }
  32764. }
  32765. },
  32766. "models.QhjCustomerSignLog": {
  32767. "type": "object",
  32768. "properties": {
  32769. "agreementcontent": {
  32770. "description": "协议内容",
  32771. "type": "string"
  32772. },
  32773. "agreementid": {
  32774. "description": "协议ID",
  32775. "type": "integer"
  32776. },
  32777. "agreementname": {
  32778. "description": "协议名称",
  32779. "type": "string"
  32780. },
  32781. "agreementno": {
  32782. "description": "协议编号",
  32783. "type": "string"
  32784. },
  32785. "agreementtype": {
  32786. "description": "协议类型 - 1:注册 2:登录 3:交易",
  32787. "type": "integer"
  32788. },
  32789. "agreementversion": {
  32790. "description": "协议版本号",
  32791. "type": "integer"
  32792. },
  32793. "createtime": {
  32794. "description": "创建时间",
  32795. "type": "string"
  32796. },
  32797. "goodscode": {
  32798. "description": "商品代码",
  32799. "type": "string"
  32800. },
  32801. "goodsid": {
  32802. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  32803. "type": "integer"
  32804. },
  32805. "goodsname": {
  32806. "description": "商品名称",
  32807. "type": "string"
  32808. },
  32809. "logid": {
  32810. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  32811. "type": "integer"
  32812. },
  32813. "nodetype": {
  32814. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  32815. "type": "integer"
  32816. },
  32817. "signadressurl": {
  32818. "description": "签约文件地址",
  32819. "type": "string"
  32820. },
  32821. "signtimestamp": {
  32822. "description": "签约状态时间戳",
  32823. "type": "string"
  32824. },
  32825. "userid": {
  32826. "description": "客户ID",
  32827. "type": "integer"
  32828. },
  32829. "username": {
  32830. "description": "客户名称",
  32831. "type": "string"
  32832. }
  32833. }
  32834. },
  32835. "models.QhjCustomerSignStatus": {
  32836. "type": "object",
  32837. "properties": {
  32838. "createtime": {
  32839. "description": "创建时间",
  32840. "type": "string"
  32841. },
  32842. "goodscode": {
  32843. "description": "商品代码",
  32844. "type": "string"
  32845. },
  32846. "goodsid": {
  32847. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  32848. "type": "integer"
  32849. },
  32850. "goodsname": {
  32851. "description": "商品名称",
  32852. "type": "string"
  32853. },
  32854. "nodetype": {
  32855. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  32856. "type": "integer"
  32857. },
  32858. "signtimestamp": {
  32859. "description": "签约状态时间戳",
  32860. "type": "string"
  32861. },
  32862. "tradedate": {
  32863. "description": "创建交易日(yyyyMMdd)",
  32864. "type": "string"
  32865. },
  32866. "updatetime": {
  32867. "description": "更新时间",
  32868. "type": "string"
  32869. },
  32870. "userid": {
  32871. "description": "客户ID",
  32872. "type": "integer"
  32873. },
  32874. "username": {
  32875. "description": "客户名称",
  32876. "type": "string"
  32877. }
  32878. }
  32879. },
  32880. "models.QhjMgrAccountOutInApply": {
  32881. "type": "object",
  32882. "properties": {
  32883. "accountcode": {
  32884. "description": "资金账号",
  32885. "type": "string"
  32886. },
  32887. "accountname": {
  32888. "description": "用户名称(名称)",
  32889. "type": "string"
  32890. },
  32891. "accountpwd": {
  32892. "description": "资金密码",
  32893. "type": "string"
  32894. },
  32895. "accountticket": {
  32896. "description": "最新账户服务流水号",
  32897. "type": "string"
  32898. },
  32899. "amount": {
  32900. "description": "金额",
  32901. "type": "number"
  32902. },
  32903. "applyremark": {
  32904. "description": "申请备注",
  32905. "type": "string"
  32906. },
  32907. "applystatus": {
  32908. "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: 复审通过,账户冻结金额检查中;",
  32909. "type": "integer"
  32910. },
  32911. "auditid": {
  32912. "description": "审核人",
  32913. "type": "integer"
  32914. },
  32915. "audittime": {
  32916. "description": "审核时间",
  32917. "type": "string"
  32918. },
  32919. "bank_apply_ticket": {
  32920. "description": "银行申请流水",
  32921. "type": "string"
  32922. },
  32923. "bankaccountname": {
  32924. "description": "银行账户名",
  32925. "type": "string"
  32926. },
  32927. "bankaccountno": {
  32928. "description": "银行卡号",
  32929. "type": "string"
  32930. },
  32931. "bankid": {
  32932. "description": "银行编号",
  32933. "type": "string"
  32934. },
  32935. "bankname": {
  32936. "description": "银行名称",
  32937. "type": "string"
  32938. },
  32939. "bankticket": {
  32940. "description": "银行流水",
  32941. "type": "string"
  32942. },
  32943. "branchbankid": {
  32944. "description": "银行支行号",
  32945. "type": "string"
  32946. },
  32947. "branchbankname": {
  32948. "description": "银行支行名称",
  32949. "type": "string"
  32950. },
  32951. "capamountout": {
  32952. "description": "出金(劣后本金) - 外部子账户",
  32953. "type": "number"
  32954. },
  32955. "certificatephotourl": {
  32956. "description": "凭证地址",
  32957. "type": "string"
  32958. },
  32959. "charge": {
  32960. "description": "手续费",
  32961. "type": "number"
  32962. },
  32963. "checkerrorflag": {
  32964. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  32965. "type": "integer"
  32966. },
  32967. "currency": {
  32968. "description": "币种",
  32969. "type": "string"
  32970. },
  32971. "cusbankid": {
  32972. "description": "托管银行编号",
  32973. "type": "string"
  32974. },
  32975. "exchticket": {
  32976. "description": "银行服务流水号",
  32977. "type": "string"
  32978. },
  32979. "executetype": {
  32980. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  32981. "type": "integer"
  32982. },
  32983. "extendinfo": {
  32984. "description": "扩展信息",
  32985. "type": "string"
  32986. },
  32987. "extoperateid": {
  32988. "description": "交易服务流水号",
  32989. "type": "integer"
  32990. },
  32991. "infamount": {
  32992. "description": "劣后金额(自有)",
  32993. "type": "number"
  32994. },
  32995. "logincode": {
  32996. "description": "登录账号(账号)",
  32997. "type": "string"
  32998. },
  32999. "netaddr": {
  33000. "description": "调转网址",
  33001. "type": "string"
  33002. },
  33003. "priamount": {
  33004. "description": "优先金额(授信)",
  33005. "type": "number"
  33006. },
  33007. "reauditid": {
  33008. "description": "复审人",
  33009. "type": "integer"
  33010. },
  33011. "reauditremark": {
  33012. "description": "复审备注",
  33013. "type": "string"
  33014. },
  33015. "reaudittime": {
  33016. "description": "复审时间",
  33017. "type": "string"
  33018. },
  33019. "relatedorderid": {
  33020. "description": "三方关联ID",
  33021. "type": "string"
  33022. },
  33023. "remark": {
  33024. "description": "备注",
  33025. "type": "string"
  33026. },
  33027. "remark2": {
  33028. "description": "备注(失败原因)",
  33029. "type": "string"
  33030. },
  33031. "soucreamount": {
  33032. "description": "原始出入金金额",
  33033. "type": "number"
  33034. },
  33035. "soucrecurrencyid": {
  33036. "description": "原始出入金币种",
  33037. "type": "integer"
  33038. },
  33039. "tradedate": {
  33040. "description": "交易日(yyyyMMdd)",
  33041. "type": "string"
  33042. },
  33043. "updatetime": {
  33044. "description": "更新时间(申请时间)",
  33045. "type": "string"
  33046. },
  33047. "userid": {
  33048. "description": "用户id",
  33049. "type": "integer"
  33050. },
  33051. "userinfotype": {
  33052. "description": "账户类型 1-个人 2-企业",
  33053. "type": "integer"
  33054. }
  33055. }
  33056. },
  33057. "models.QhjMgrBrokerApply": {
  33058. "type": "object",
  33059. "properties": {
  33060. "applicantid": {
  33061. "description": "申请人",
  33062. "type": "integer"
  33063. },
  33064. "applysrc": {
  33065. "description": "申请来源 - 1:管理端 2:终端",
  33066. "type": "integer"
  33067. },
  33068. "applystatus": {
  33069. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  33070. "type": "integer"
  33071. },
  33072. "applytime": {
  33073. "description": "申请时间",
  33074. "type": "string"
  33075. },
  33076. "auditorid": {
  33077. "description": "审核人",
  33078. "type": "integer"
  33079. },
  33080. "auditremark": {
  33081. "description": "审核备注",
  33082. "type": "string"
  33083. },
  33084. "auditsrc": {
  33085. "description": "审核来源 - 1:管理端 2:终端",
  33086. "type": "integer"
  33087. },
  33088. "audittime": {
  33089. "description": "审核时间",
  33090. "type": "string"
  33091. },
  33092. "audittradedate": {
  33093. "description": "审核交易日(yyyyMMdd)",
  33094. "type": "string"
  33095. },
  33096. "brokerapplyid": {
  33097. "description": "申请ID(SEQ_BROKERAPPLY)",
  33098. "type": "integer"
  33099. },
  33100. "cardbackphotourl": {
  33101. "description": "证件背面图片地址",
  33102. "type": "string"
  33103. },
  33104. "cardfrontphotourl": {
  33105. "description": "证件正面图片地址",
  33106. "type": "string"
  33107. },
  33108. "cardnum": {
  33109. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  33110. "type": "string"
  33111. },
  33112. "customername": {
  33113. "description": "姓名",
  33114. "type": "string"
  33115. },
  33116. "filterstatus": {
  33117. "description": "筛选条件",
  33118. "type": "string"
  33119. },
  33120. "logincode": {
  33121. "description": "登录代码",
  33122. "type": "string"
  33123. },
  33124. "mobile": {
  33125. "description": "手机号码",
  33126. "type": "string"
  33127. },
  33128. "parentuserid": {
  33129. "description": "所属机构id",
  33130. "type": "integer"
  33131. },
  33132. "parentusername": {
  33133. "description": "所属机构名称",
  33134. "type": "string"
  33135. },
  33136. "refereeuserid": {
  33137. "description": "推荐人id(经纪人)",
  33138. "type": "integer"
  33139. },
  33140. "refernum": {
  33141. "description": "推荐码",
  33142. "type": "string"
  33143. },
  33144. "remark": {
  33145. "description": "备注",
  33146. "type": "string"
  33147. },
  33148. "subarealevelpath": {
  33149. "description": "层级路径",
  33150. "type": "string"
  33151. },
  33152. "tradedate": {
  33153. "description": "交易日(yyyyMMdd)",
  33154. "type": "string"
  33155. },
  33156. "userid": {
  33157. "description": "申请人用户ID",
  33158. "type": "integer"
  33159. },
  33160. "userinfotype": {
  33161. "description": "用户类型 1-个人 2-企业",
  33162. "type": "integer"
  33163. },
  33164. "username": {
  33165. "description": "用户名称",
  33166. "type": "string"
  33167. }
  33168. }
  33169. },
  33170. "models.QhjMgrBrokerRewardReport": {
  33171. "type": "object",
  33172. "properties": {
  33173. "createtime": {
  33174. "description": "创建时间(注册时间)",
  33175. "type": "string"
  33176. },
  33177. "cycletime": {
  33178. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】",
  33179. "type": "string"
  33180. },
  33181. "cycletype": {
  33182. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  33183. "type": "integer"
  33184. },
  33185. "directtotalnum": {
  33186. "description": "直推总人数【期末】",
  33187. "type": "integer"
  33188. },
  33189. "indirecttotalnum": {
  33190. "description": "间推总人数【期末】",
  33191. "type": "integer"
  33192. },
  33193. "mobile": {
  33194. "description": "电话号码",
  33195. "type": "string"
  33196. },
  33197. "refereeuserid": {
  33198. "description": "推荐人id(经纪人id)",
  33199. "type": "integer"
  33200. },
  33201. "refereeusername": {
  33202. "description": "推荐人名称(经纪人) 上级经纪人名称",
  33203. "type": "string"
  33204. },
  33205. "refernum": {
  33206. "description": "推荐码",
  33207. "type": "string"
  33208. },
  33209. "subarealevelpath": {
  33210. "description": "用户层级路径",
  33211. "type": "string"
  33212. },
  33213. "todayrewardamount": {
  33214. "description": "奖励总金额【汇总】",
  33215. "type": "number"
  33216. },
  33217. "updatetime": {
  33218. "description": "更新时间",
  33219. "type": "string"
  33220. },
  33221. "userid": {
  33222. "description": "经纪人用户ID",
  33223. "type": "integer"
  33224. },
  33225. "userinfotype": {
  33226. "description": "用户类型 1-个人 2-企业",
  33227. "type": "integer"
  33228. },
  33229. "username": {
  33230. "description": "用户名称",
  33231. "type": "string"
  33232. }
  33233. }
  33234. },
  33235. "models.QhjMgrContract": {
  33236. "type": "object",
  33237. "properties": {
  33238. "contractconfirmtime": {
  33239. "description": "合同确认时间(时间)",
  33240. "type": "string"
  33241. },
  33242. "currisklevel": {
  33243. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  33244. "type": "integer"
  33245. },
  33246. "decimalplace": {
  33247. "description": "商品报价小数位",
  33248. "type": "integer"
  33249. },
  33250. "enumdicname": {
  33251. "description": "单位名称",
  33252. "type": "string"
  33253. },
  33254. "goodscode": {
  33255. "description": "商品代码",
  33256. "type": "string"
  33257. },
  33258. "goodsid": {
  33259. "description": "商品ID [5:融资单]",
  33260. "type": "integer"
  33261. },
  33262. "goodsname": {
  33263. "description": "商品名称",
  33264. "type": "string"
  33265. },
  33266. "goodunitid": {
  33267. "description": "商品单位id",
  33268. "type": "integer"
  33269. },
  33270. "initmargin": {
  33271. "description": "初始保证金(首付款)",
  33272. "type": "number"
  33273. },
  33274. "lenderamount": {
  33275. "description": "贷款金额(总额|订单总额)",
  33276. "type": "number"
  33277. },
  33278. "logincode": {
  33279. "description": "账号(登录代码)",
  33280. "type": "string"
  33281. },
  33282. "marginratio": {
  33283. "description": "保证金比率(首付比例)",
  33284. "type": "number"
  33285. },
  33286. "mobile": {
  33287. "description": "电话号码(用户资料里的电话)",
  33288. "type": "string"
  33289. },
  33290. "payamount": {
  33291. "description": "已付(已付货款)",
  33292. "type": "number"
  33293. },
  33294. "reckonrecovermargin": {
  33295. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  33296. "type": "number"
  33297. },
  33298. "recoveredmargin": {
  33299. "description": "已追缴保证金",
  33300. "type": "number"
  33301. },
  33302. "remainamount": {
  33303. "description": "合同剩余金额(融资额)",
  33304. "type": "number"
  33305. },
  33306. "scfcontractid": {
  33307. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  33308. "type": "string"
  33309. },
  33310. "scfcontractstatus": {
  33311. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  33312. "type": "integer"
  33313. },
  33314. "scfcontracttype": {
  33315. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  33316. "type": "integer"
  33317. },
  33318. "totalinterest": {
  33319. "description": "已计总利息(利息)",
  33320. "type": "number"
  33321. },
  33322. "tradedate": {
  33323. "description": "交易日",
  33324. "type": "string"
  33325. },
  33326. "tradeprice": {
  33327. "description": "成交价格(成本价格)",
  33328. "type": "number"
  33329. },
  33330. "userid": {
  33331. "description": "用户ID",
  33332. "type": "integer"
  33333. },
  33334. "userinfotype": {
  33335. "description": "用户类型 1-个人 2-企业",
  33336. "type": "integer"
  33337. },
  33338. "username": {
  33339. "description": "用户名称",
  33340. "type": "string"
  33341. },
  33342. "wrqty": {
  33343. "description": "仓单数量(数量)",
  33344. "type": "number"
  33345. }
  33346. }
  33347. },
  33348. "models.QhjMgrCustomer": {
  33349. "type": "object",
  33350. "properties": {
  33351. "address": {
  33352. "description": "通讯地址",
  33353. "type": "string"
  33354. },
  33355. "attachment1": {
  33356. "description": "附件1",
  33357. "type": "string"
  33358. },
  33359. "audittime": {
  33360. "description": "审核时间",
  33361. "type": "string"
  33362. },
  33363. "birthday": {
  33364. "description": "生日",
  33365. "type": "string"
  33366. },
  33367. "brokerid": {
  33368. "description": "所属客户经理id",
  33369. "type": "integer"
  33370. },
  33371. "brokername": {
  33372. "description": "所属客户经理名称",
  33373. "type": "string"
  33374. },
  33375. "cardbackphotourl": {
  33376. "description": "证件反面图片地址",
  33377. "type": "string"
  33378. },
  33379. "cardfrontphotourl": {
  33380. "description": "证件正面图片地址",
  33381. "type": "string"
  33382. },
  33383. "cardnum": {
  33384. "description": "证件号码",
  33385. "type": "string"
  33386. },
  33387. "cardtype": {
  33388. "description": "证件类型",
  33389. "type": "integer"
  33390. },
  33391. "cardtypename": {
  33392. "description": "证件类型名称",
  33393. "type": "string"
  33394. },
  33395. "cityid": {
  33396. "description": "市",
  33397. "type": "integer"
  33398. },
  33399. "cityname": {
  33400. "description": "城市名称",
  33401. "type": "string"
  33402. },
  33403. "contactname": {
  33404. "description": "联系人",
  33405. "type": "string"
  33406. },
  33407. "countryid": {
  33408. "description": "国家",
  33409. "type": "integer"
  33410. },
  33411. "countryname": {
  33412. "description": "国家名称",
  33413. "type": "string"
  33414. },
  33415. "createtime": {
  33416. "description": "创建时间",
  33417. "type": "string"
  33418. },
  33419. "customername": {
  33420. "description": "客户名称",
  33421. "type": "string"
  33422. },
  33423. "districtid": {
  33424. "description": "区域",
  33425. "type": "integer"
  33426. },
  33427. "districtname": {
  33428. "description": "地区名称",
  33429. "type": "string"
  33430. },
  33431. "email": {
  33432. "description": "邮件",
  33433. "type": "string"
  33434. },
  33435. "legalpersonname": {
  33436. "description": "法人姓名(企业)",
  33437. "type": "string"
  33438. },
  33439. "logincode": {
  33440. "description": "登录账号(代码)",
  33441. "type": "string"
  33442. },
  33443. "memberuserid": {
  33444. "description": "所属机构ID(所属会员)",
  33445. "type": "integer"
  33446. },
  33447. "memberusername": {
  33448. "description": "所属会员名称",
  33449. "type": "string"
  33450. },
  33451. "mobile": {
  33452. "description": "手机号码",
  33453. "type": "string"
  33454. },
  33455. "modifytime": {
  33456. "description": "修改时间",
  33457. "type": "string"
  33458. },
  33459. "nickname": {
  33460. "description": "昵称",
  33461. "type": "string"
  33462. },
  33463. "parentuserid": {
  33464. "description": "上级机构(所属机构)",
  33465. "type": "integer"
  33466. },
  33467. "parentusername": {
  33468. "description": "所属机构名称",
  33469. "type": "string"
  33470. },
  33471. "provinceid": {
  33472. "description": "省",
  33473. "type": "integer"
  33474. },
  33475. "provincename": {
  33476. "description": "省名称",
  33477. "type": "string"
  33478. },
  33479. "proxystatementurl": {
  33480. "description": "授权委托书",
  33481. "type": "string"
  33482. },
  33483. "querytype": {
  33484. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  33485. "type": "integer"
  33486. },
  33487. "remark": {
  33488. "description": "备注",
  33489. "type": "string"
  33490. },
  33491. "sex": {
  33492. "description": "性别 0-女 1-男",
  33493. "type": "integer"
  33494. },
  33495. "status": {
  33496. "description": "开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过 ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  33497. "type": "integer"
  33498. },
  33499. "statusdesc": {
  33500. "description": "账户状态中文描述",
  33501. "type": "string"
  33502. },
  33503. "taxpayernum": {
  33504. "description": "纳税人识别号",
  33505. "type": "string"
  33506. },
  33507. "telphone": {
  33508. "description": "联系电话",
  33509. "type": "string"
  33510. },
  33511. "userid": {
  33512. "description": "用户ID",
  33513. "type": "integer"
  33514. },
  33515. "userinfotype": {
  33516. "description": "客户类型 1-个人 2-企业",
  33517. "type": "integer"
  33518. },
  33519. "username": {
  33520. "description": "用户名称",
  33521. "type": "string"
  33522. }
  33523. }
  33524. },
  33525. "models.QhjMgrPickGoods": {
  33526. "type": "object",
  33527. "properties": {
  33528. "enumdicname": {
  33529. "description": "单位名称(提货商品)",
  33530. "type": "string"
  33531. },
  33532. "goodsid": {
  33533. "description": "商品id",
  33534. "type": "integer"
  33535. },
  33536. "imageaddress": {
  33537. "description": "图片",
  33538. "type": "string"
  33539. },
  33540. "modifierid": {
  33541. "description": "修改人",
  33542. "type": "integer"
  33543. },
  33544. "modifiername": {
  33545. "description": "修改人名称",
  33546. "type": "string"
  33547. },
  33548. "modifysrc": {
  33549. "description": "修改来源 - 1:管理端 2:终端",
  33550. "type": "integer"
  33551. },
  33552. "pickupgoodsagreeunit": {
  33553. "description": "合约乘数",
  33554. "type": "number"
  33555. },
  33556. "pickupgoodsdesc": {
  33557. "description": "描述",
  33558. "type": "string"
  33559. },
  33560. "pickupgoodsid": {
  33561. "description": "提货商品ID",
  33562. "type": "string"
  33563. },
  33564. "pickupgoodsname": {
  33565. "description": "提货商品名称",
  33566. "type": "string"
  33567. },
  33568. "pickupgoodsstatus": {
  33569. "description": "状态 - 1:正常 2:停用 3:注销",
  33570. "type": "integer"
  33571. },
  33572. "pickupgoodsunitid": {
  33573. "description": "单位ID",
  33574. "type": "integer"
  33575. },
  33576. "pickupratio": {
  33577. "description": "提货系数",
  33578. "type": "number"
  33579. },
  33580. "preparedays": {
  33581. "description": "备货期(天)",
  33582. "type": "integer"
  33583. },
  33584. "remark": {
  33585. "description": "备注",
  33586. "type": "string"
  33587. },
  33588. "updatetime": {
  33589. "description": "更新时间",
  33590. "type": "string"
  33591. }
  33592. }
  33593. },
  33594. "models.QhjMgrPositionRsp": {
  33595. "type": "object",
  33596. "properties": {
  33597. "accountid": {
  33598. "description": "账号Id",
  33599. "type": "integer"
  33600. },
  33601. "accountname": {
  33602. "description": "用户名称",
  33603. "type": "string"
  33604. },
  33605. "agreeunit": {
  33606. "description": "合约乘数",
  33607. "type": "number"
  33608. },
  33609. "averageprice": {
  33610. "description": "均价",
  33611. "type": "number"
  33612. },
  33613. "avialqty": {
  33614. "description": "可用数量",
  33615. "type": "number"
  33616. },
  33617. "decimalplace": {
  33618. "description": "报价小数位",
  33619. "type": "integer"
  33620. },
  33621. "enumdicname": {
  33622. "description": "单位名称(商品)",
  33623. "type": "string"
  33624. },
  33625. "frozenqty": {
  33626. "description": "冻结数量",
  33627. "type": "number"
  33628. },
  33629. "goodscode": {
  33630. "description": "商品代码(内部)",
  33631. "type": "string"
  33632. },
  33633. "goodsid": {
  33634. "description": "商品Id",
  33635. "type": "integer"
  33636. },
  33637. "goodsname": {
  33638. "description": "商品名称",
  33639. "type": "string"
  33640. },
  33641. "goodunitid": {
  33642. "description": "报价单位ID",
  33643. "type": "integer"
  33644. },
  33645. "holderamount": {
  33646. "description": "金额",
  33647. "type": "number"
  33648. },
  33649. "holderqty": {
  33650. "description": "持有数量",
  33651. "type": "number"
  33652. },
  33653. "holdertype": {
  33654. "description": "持仓类别 - 1:单边持仓 2:双边持仓",
  33655. "type": "integer"
  33656. },
  33657. "logincode": {
  33658. "description": "登录代码(账户)",
  33659. "type": "string"
  33660. },
  33661. "marketid": {
  33662. "description": "市场id",
  33663. "type": "integer"
  33664. },
  33665. "qtydecimalplace": {
  33666. "description": "成交量小数位",
  33667. "type": "integer"
  33668. },
  33669. "trademode": {
  33670. "description": "交易模式",
  33671. "type": "integer"
  33672. },
  33673. "userid": {
  33674. "description": "用户id",
  33675. "type": "integer"
  33676. },
  33677. "userinfotype": {
  33678. "description": "账户类型 1-个人 2-企业",
  33679. "type": "integer"
  33680. }
  33681. }
  33682. },
  33683. "models.QhjMgrSubArea": {
  33684. "type": "object",
  33685. "properties": {
  33686. "accountname": {
  33687. "description": "账户名称(机构名称)",
  33688. "type": "string"
  33689. },
  33690. "memberuserid": {
  33691. "description": "所属会员ID",
  33692. "type": "integer"
  33693. },
  33694. "parenttopuser": {
  33695. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  33696. "type": "string"
  33697. },
  33698. "parentuserid": {
  33699. "description": "所属机构ID",
  33700. "type": "integer"
  33701. },
  33702. "rootuserid": {
  33703. "description": "根用户ID",
  33704. "type": "string"
  33705. },
  33706. "subaccountlevel": {
  33707. "description": "子账户层数",
  33708. "type": "integer"
  33709. },
  33710. "subarealevelpath": {
  33711. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  33712. "type": "string"
  33713. },
  33714. "userid": {
  33715. "description": "用户ID",
  33716. "type": "integer"
  33717. },
  33718. "usertype": {
  33719. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  33720. "type": "integer"
  33721. }
  33722. }
  33723. },
  33724. "models.QhjMgrTradeDetailRsp": {
  33725. "type": "object",
  33726. "properties": {
  33727. "accountid": {
  33728. "description": "资金账号",
  33729. "type": "integer"
  33730. },
  33731. "accountname": {
  33732. "description": "用户名称",
  33733. "type": "string"
  33734. },
  33735. "agreeunit": {
  33736. "description": "合约乘数",
  33737. "type": "number"
  33738. },
  33739. "buyorsell": {
  33740. "description": "成交类型(方向) 0:买 1:卖",
  33741. "type": "integer"
  33742. },
  33743. "decimalplace": {
  33744. "description": "报价小数位",
  33745. "type": "integer"
  33746. },
  33747. "enumdicname": {
  33748. "description": "单位名称(商品)",
  33749. "type": "string"
  33750. },
  33751. "goodscode": {
  33752. "description": "商品代码(内部)",
  33753. "type": "string"
  33754. },
  33755. "goodsid": {
  33756. "description": "商品id",
  33757. "type": "integer"
  33758. },
  33759. "goodsname": {
  33760. "description": "商品名称",
  33761. "type": "string"
  33762. },
  33763. "goodunitid": {
  33764. "description": "报价单位ID",
  33765. "type": "integer"
  33766. },
  33767. "logincode": {
  33768. "description": "登录代码(账户)",
  33769. "type": "string"
  33770. },
  33771. "marketid": {
  33772. "description": "市场id",
  33773. "type": "integer"
  33774. },
  33775. "orderid": {
  33776. "description": "关联委托单号",
  33777. "type": "string"
  33778. },
  33779. "qtydecimalplace": {
  33780. "description": "成交量小数位",
  33781. "type": "integer"
  33782. },
  33783. "tradeamount": {
  33784. "description": "金额",
  33785. "type": "number"
  33786. },
  33787. "tradedate": {
  33788. "description": "交易日",
  33789. "type": "string"
  33790. },
  33791. "tradeid": {
  33792. "description": "成交单号",
  33793. "type": "string"
  33794. },
  33795. "trademode": {
  33796. "description": "交易模式",
  33797. "type": "integer"
  33798. },
  33799. "tradeprice": {
  33800. "description": "价格",
  33801. "type": "number"
  33802. },
  33803. "tradeqty": {
  33804. "description": "数量",
  33805. "type": "number"
  33806. },
  33807. "tradetime": {
  33808. "description": "成交时间",
  33809. "type": "string"
  33810. },
  33811. "userid": {
  33812. "description": "用户id",
  33813. "type": "integer"
  33814. },
  33815. "userinfotype": {
  33816. "description": "账户类型 1-个人 2-企业",
  33817. "type": "integer"
  33818. }
  33819. }
  33820. },
  33821. "models.QhjMgrTradeOrderDetailRsp": {
  33822. "type": "object",
  33823. "properties": {
  33824. "accountid": {
  33825. "description": "资金账号",
  33826. "type": "integer"
  33827. },
  33828. "accountname": {
  33829. "description": "用户名称",
  33830. "type": "string"
  33831. },
  33832. "agreeunit": {
  33833. "description": "合约乘数",
  33834. "type": "number"
  33835. },
  33836. "amount": {
  33837. "description": "金额",
  33838. "type": "number"
  33839. },
  33840. "decimalplace": {
  33841. "description": "报价小数位",
  33842. "type": "integer"
  33843. },
  33844. "enumdicname": {
  33845. "description": "单位名称(商品)",
  33846. "type": "string"
  33847. },
  33848. "goodscode": {
  33849. "description": "商品代码(内部)",
  33850. "type": "string"
  33851. },
  33852. "goodsid": {
  33853. "description": "商品id",
  33854. "type": "integer"
  33855. },
  33856. "goodsname": {
  33857. "description": "商品名称",
  33858. "type": "string"
  33859. },
  33860. "goodunitid": {
  33861. "description": "报价单位ID",
  33862. "type": "integer"
  33863. },
  33864. "logincode": {
  33865. "description": "登录代码(账户)",
  33866. "type": "string"
  33867. },
  33868. "marketid": {
  33869. "description": "市场id",
  33870. "type": "integer"
  33871. },
  33872. "orderid": {
  33873. "description": "关联委托单号",
  33874. "type": "string"
  33875. },
  33876. "orderprice": {
  33877. "description": "价格",
  33878. "type": "number"
  33879. },
  33880. "orderqty": {
  33881. "description": "数量",
  33882. "type": "number"
  33883. },
  33884. "orderstatus": {
  33885. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  33886. "type": "integer"
  33887. },
  33888. "ordertime": {
  33889. "description": "委托时间",
  33890. "type": "string"
  33891. },
  33892. "qtydecimalplace": {
  33893. "description": "成交量小数位",
  33894. "type": "integer"
  33895. },
  33896. "tradedate": {
  33897. "description": "交易日",
  33898. "type": "string"
  33899. },
  33900. "trademode": {
  33901. "description": "交易模式",
  33902. "type": "integer"
  33903. },
  33904. "userid": {
  33905. "description": "用户id",
  33906. "type": "integer"
  33907. },
  33908. "userinfotype": {
  33909. "description": "账户类型 1-个人 2-企业",
  33910. "type": "integer"
  33911. }
  33912. }
  33913. },
  33914. "models.QhjMgrTradePayOrder": {
  33915. "type": "object",
  33916. "properties": {
  33917. "accountname": {
  33918. "description": "用户名称",
  33919. "type": "string"
  33920. },
  33921. "advanceratio": {
  33922. "description": "首付比率",
  33923. "type": "number"
  33924. },
  33925. "agreeunit": {
  33926. "description": "合约乘数",
  33927. "type": "number"
  33928. },
  33929. "buyaccountid": {
  33930. "description": "买方账号ID[报价币种]",
  33931. "type": "integer"
  33932. },
  33933. "buyorderid": {
  33934. "description": "买方委托单号(关联单号)",
  33935. "type": "string"
  33936. },
  33937. "createtime": {
  33938. "description": "创建时间",
  33939. "type": "string"
  33940. },
  33941. "decimalplace": {
  33942. "description": "报价小数位",
  33943. "type": "integer"
  33944. },
  33945. "enumdicname": {
  33946. "description": "单位名称(商品)",
  33947. "type": "string"
  33948. },
  33949. "goodscode": {
  33950. "description": "商品代码(内部)",
  33951. "type": "string"
  33952. },
  33953. "goodsid": {
  33954. "description": "商品ID",
  33955. "type": "integer"
  33956. },
  33957. "goodsname": {
  33958. "description": "商品名称",
  33959. "type": "string"
  33960. },
  33961. "goodunitid": {
  33962. "description": "报价单位ID",
  33963. "type": "integer"
  33964. },
  33965. "logincode": {
  33966. "description": "登录代码(账户)",
  33967. "type": "string"
  33968. },
  33969. "marketid": {
  33970. "description": "市场id",
  33971. "type": "integer"
  33972. },
  33973. "offamount": {
  33974. "description": "优惠金额",
  33975. "type": "number"
  33976. },
  33977. "operatetype": {
  33978. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  33979. "type": "integer"
  33980. },
  33981. "payamount": {
  33982. "description": "支付金额(金额)",
  33983. "type": "number"
  33984. },
  33985. "payflag": {
  33986. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  33987. "type": "integer"
  33988. },
  33989. "paylimitedtime": {
  33990. "description": "支付期限",
  33991. "type": "string"
  33992. },
  33993. "paytime": {
  33994. "description": "付款时间",
  33995. "type": "string"
  33996. },
  33997. "qtydecimalplace": {
  33998. "description": "成交量小数位",
  33999. "type": "integer"
  34000. },
  34001. "sellaccountid": {
  34002. "description": "卖方账号ID[报价币种]",
  34003. "type": "integer"
  34004. },
  34005. "sellorderid": {
  34006. "description": "卖方委托单号",
  34007. "type": "string"
  34008. },
  34009. "tradeamount": {
  34010. "description": "成交金额(优惠后金额)",
  34011. "type": "number"
  34012. },
  34013. "tradecharge": {
  34014. "description": "成交手续费(买方)",
  34015. "type": "number"
  34016. },
  34017. "tradedate": {
  34018. "description": "交易日(yyyyMMdd)",
  34019. "type": "string"
  34020. },
  34021. "tradeid": {
  34022. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  34023. "type": "string"
  34024. },
  34025. "trademode": {
  34026. "description": "交易模式",
  34027. "type": "integer"
  34028. },
  34029. "tradeprice": {
  34030. "description": "成交价格(价格)",
  34031. "type": "number"
  34032. },
  34033. "tradeqty": {
  34034. "description": "成交数量(数量)",
  34035. "type": "number"
  34036. },
  34037. "tradetime": {
  34038. "description": "成交时间",
  34039. "type": "string"
  34040. },
  34041. "userid": {
  34042. "description": "用户id",
  34043. "type": "integer"
  34044. },
  34045. "userinfotype": {
  34046. "description": "账户类型 1-个人 2-企业",
  34047. "type": "integer"
  34048. }
  34049. }
  34050. },
  34051. "models.QhjMyTeamEx": {
  34052. "type": "object",
  34053. "properties": {
  34054. "accountname": {
  34055. "description": "用户名称",
  34056. "type": "string"
  34057. },
  34058. "accountstatus": {
  34059. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  34060. "type": "integer"
  34061. },
  34062. "createtime": {
  34063. "description": "创建时间",
  34064. "type": "string"
  34065. },
  34066. "mobile": {
  34067. "description": "手机号码",
  34068. "type": "string"
  34069. },
  34070. "refereeuserid": {
  34071. "description": "推荐人id",
  34072. "type": "integer"
  34073. },
  34074. "refernum": {
  34075. "description": "推荐码",
  34076. "type": "string"
  34077. },
  34078. "subList": {
  34079. "type": "array",
  34080. "items": {
  34081. "$ref": "#/definitions/models.QhjMyTeamEx"
  34082. }
  34083. },
  34084. "userid": {
  34085. "description": "用户id",
  34086. "type": "integer"
  34087. },
  34088. "userinfotype": {
  34089. "description": "用户类型 1-个人 2-企业",
  34090. "type": "integer"
  34091. }
  34092. }
  34093. },
  34094. "models.QhjNodeAgreementConfig": {
  34095. "type": "object",
  34096. "properties": {
  34097. "agreementcontent": {
  34098. "description": "协议内容",
  34099. "type": "string"
  34100. },
  34101. "agreementid": {
  34102. "description": "协议ID",
  34103. "type": "integer"
  34104. },
  34105. "agreementname": {
  34106. "description": "协议名称",
  34107. "type": "string"
  34108. },
  34109. "agreementno": {
  34110. "description": "协议编号",
  34111. "type": "string"
  34112. },
  34113. "agreementtype": {
  34114. "description": "协议类型 - 1:注册 2:登录 3:交易",
  34115. "type": "integer"
  34116. },
  34117. "agreementversion": {
  34118. "description": "协议版本号",
  34119. "type": "integer"
  34120. },
  34121. "configid": {
  34122. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  34123. "type": "integer"
  34124. },
  34125. "createtime": {
  34126. "description": "创建时间",
  34127. "type": "string"
  34128. },
  34129. "goodsid": {
  34130. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  34131. "type": "integer"
  34132. },
  34133. "nodetype": {
  34134. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  34135. "type": "integer"
  34136. }
  34137. }
  34138. },
  34139. "models.QhjParentAreaList": {
  34140. "type": "object",
  34141. "properties": {
  34142. "accountname": {
  34143. "description": "账户名称(机构名称)",
  34144. "type": "string"
  34145. },
  34146. "userid": {
  34147. "description": "用户ID",
  34148. "type": "integer"
  34149. },
  34150. "usertype": {
  34151. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  34152. "type": "integer"
  34153. }
  34154. }
  34155. },
  34156. "models.QhjPayOrder": {
  34157. "type": "object",
  34158. "properties": {
  34159. "advanceratio": {
  34160. "description": "首付比率",
  34161. "type": "number"
  34162. },
  34163. "buyaccountid": {
  34164. "description": "买方账号ID[报价币种]",
  34165. "type": "integer"
  34166. },
  34167. "buyorderid": {
  34168. "description": "买方委托单号",
  34169. "type": "string"
  34170. },
  34171. "createtime": {
  34172. "description": "创建时间",
  34173. "type": "string"
  34174. },
  34175. "decimalplace": {
  34176. "description": "商品报价小数位",
  34177. "type": "integer"
  34178. },
  34179. "enumdicname": {
  34180. "description": "单位名称",
  34181. "type": "string"
  34182. },
  34183. "goodscode": {
  34184. "description": "商品代码",
  34185. "type": "string"
  34186. },
  34187. "goodsid": {
  34188. "description": "商品ID",
  34189. "type": "integer"
  34190. },
  34191. "goodsname": {
  34192. "description": "商品名称",
  34193. "type": "string"
  34194. },
  34195. "goodunitid": {
  34196. "description": "商品单位id",
  34197. "type": "integer"
  34198. },
  34199. "marketid": {
  34200. "description": "市场ID",
  34201. "type": "integer"
  34202. },
  34203. "offamount": {
  34204. "description": "优惠金额",
  34205. "type": "number"
  34206. },
  34207. "operatetype": {
  34208. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  34209. "type": "integer"
  34210. },
  34211. "payamount": {
  34212. "description": "支付金额",
  34213. "type": "number"
  34214. },
  34215. "payflag": {
  34216. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  34217. "type": "integer"
  34218. },
  34219. "paylimitedtime": {
  34220. "description": "支付期限",
  34221. "type": "string"
  34222. },
  34223. "paytime": {
  34224. "description": "付款时间",
  34225. "type": "string"
  34226. },
  34227. "qtydecimalplace": {
  34228. "description": "成交量小数位",
  34229. "type": "integer"
  34230. },
  34231. "sellaccountid": {
  34232. "description": "卖方账号ID[报价币种]",
  34233. "type": "integer"
  34234. },
  34235. "sellorderid": {
  34236. "description": "卖方委托单号",
  34237. "type": "string"
  34238. },
  34239. "tradeamount": {
  34240. "description": "成交金额(优惠后金额)",
  34241. "type": "number"
  34242. },
  34243. "tradecharge": {
  34244. "description": "成交手续费(买方)",
  34245. "type": "number"
  34246. },
  34247. "tradedate": {
  34248. "description": "交易日(yyyyMMdd)",
  34249. "type": "string"
  34250. },
  34251. "tradeid": {
  34252. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  34253. "type": "string"
  34254. },
  34255. "tradeprice": {
  34256. "description": "成交价格",
  34257. "type": "number"
  34258. },
  34259. "tradeqty": {
  34260. "description": "成交数量",
  34261. "type": "number"
  34262. }
  34263. }
  34264. },
  34265. "models.QhjPickArea": {
  34266. "type": "object",
  34267. "properties": {
  34268. "address": {
  34269. "description": "详细地址",
  34270. "type": "string"
  34271. },
  34272. "cityid": {
  34273. "description": "市",
  34274. "type": "integer"
  34275. },
  34276. "cityname": {
  34277. "description": "城市名称",
  34278. "type": "string"
  34279. },
  34280. "countryid": {
  34281. "description": "国家",
  34282. "type": "integer"
  34283. },
  34284. "countryname": {
  34285. "description": "国家名称",
  34286. "type": "string"
  34287. },
  34288. "districtid": {
  34289. "description": "地区",
  34290. "type": "integer"
  34291. },
  34292. "districtname": {
  34293. "description": "地区名称",
  34294. "type": "string"
  34295. },
  34296. "fromuserid": {
  34297. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  34298. "type": "integer"
  34299. },
  34300. "fromusername": {
  34301. "description": "所属机构名称",
  34302. "type": "string"
  34303. },
  34304. "provinceid": {
  34305. "description": "省",
  34306. "type": "integer"
  34307. },
  34308. "provincename": {
  34309. "description": "省名称",
  34310. "type": "string"
  34311. },
  34312. "suborgtype": {
  34313. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  34314. "type": "integer"
  34315. },
  34316. "userid": {
  34317. "description": "机构用户ID 其他做市关系,都设置为 1",
  34318. "type": "integer"
  34319. },
  34320. "username": {
  34321. "description": "机构用户名称(门店门称)",
  34322. "type": "string"
  34323. }
  34324. }
  34325. },
  34326. "models.QhjPickGoods": {
  34327. "type": "object",
  34328. "properties": {
  34329. "enumdicname": {
  34330. "description": "单位名称(提货商品)",
  34331. "type": "string"
  34332. },
  34333. "goodsid": {
  34334. "description": "商品id",
  34335. "type": "integer"
  34336. },
  34337. "imageaddress": {
  34338. "description": "图片",
  34339. "type": "string"
  34340. },
  34341. "modifierid": {
  34342. "description": "修改人",
  34343. "type": "integer"
  34344. },
  34345. "modifiername": {
  34346. "description": "修改人名称",
  34347. "type": "string"
  34348. },
  34349. "modifysrc": {
  34350. "description": "修改来源 - 1:管理端 2:终端",
  34351. "type": "integer"
  34352. },
  34353. "pickupgoodsagreeunit": {
  34354. "description": "合约乘数",
  34355. "type": "number"
  34356. },
  34357. "pickupgoodsdesc": {
  34358. "description": "描述",
  34359. "type": "string"
  34360. },
  34361. "pickupgoodsid": {
  34362. "description": "提货商品ID",
  34363. "type": "string"
  34364. },
  34365. "pickupgoodsname": {
  34366. "description": "提货商品名称",
  34367. "type": "string"
  34368. },
  34369. "pickupgoodsstatus": {
  34370. "description": "状态 - 1:正常 2:停用 3:注销",
  34371. "type": "integer"
  34372. },
  34373. "pickupgoodsunitid": {
  34374. "description": "单位ID",
  34375. "type": "integer"
  34376. },
  34377. "pickupratio": {
  34378. "description": "提货系数",
  34379. "type": "number"
  34380. },
  34381. "preparedays": {
  34382. "description": "备货期(天)",
  34383. "type": "integer"
  34384. },
  34385. "remark": {
  34386. "description": "备注",
  34387. "type": "string"
  34388. },
  34389. "updatetime": {
  34390. "description": "更新时间",
  34391. "type": "string"
  34392. }
  34393. }
  34394. },
  34395. "models.QhjRSTriggerLog": {
  34396. "type": "object",
  34397. "properties": {
  34398. "accountid": {
  34399. "description": "用户资金账户",
  34400. "type": "integer"
  34401. },
  34402. "accountname": {
  34403. "description": "账号名称(ACCOUNTID对应的名称)",
  34404. "type": "string"
  34405. },
  34406. "currencyid": {
  34407. "description": "币种id",
  34408. "type": "integer"
  34409. },
  34410. "currencyname": {
  34411. "description": "币种名称",
  34412. "type": "string"
  34413. },
  34414. "decimalplace": {
  34415. "description": "商品报价小数位",
  34416. "type": "integer"
  34417. },
  34418. "enumdicname": {
  34419. "description": "单位名称",
  34420. "type": "string"
  34421. },
  34422. "goodscode": {
  34423. "description": "定投商品代码",
  34424. "type": "string"
  34425. },
  34426. "goodsid": {
  34427. "description": "定投商品ID",
  34428. "type": "integer"
  34429. },
  34430. "goodsname": {
  34431. "description": "定投商品名称",
  34432. "type": "string"
  34433. },
  34434. "goodunitid": {
  34435. "description": "定投商品单位id",
  34436. "type": "integer"
  34437. },
  34438. "logid": {
  34439. "description": "LogID(SEQ_QHJ_RSTRIGGERLOG)",
  34440. "type": "string"
  34441. },
  34442. "logincode": {
  34443. "description": "账号(登录代码)",
  34444. "type": "string"
  34445. },
  34446. "qtydecimalplace": {
  34447. "description": "成交量小数位",
  34448. "type": "integer"
  34449. },
  34450. "regularlycycle": {
  34451. "description": "定投频率 - 1:每周 2:每月",
  34452. "type": "integer"
  34453. },
  34454. "regularlycyclevalue": {
  34455. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  34456. "type": "string"
  34457. },
  34458. "regularlymode": {
  34459. "description": "定投方式 - 1:按数量 2:按金额",
  34460. "type": "integer"
  34461. },
  34462. "regularlymodevalue": {
  34463. "description": "定投方式值 - 数量或金额",
  34464. "type": "number"
  34465. },
  34466. "regularlystrategyid": {
  34467. "description": "定投策略ID",
  34468. "type": "integer"
  34469. },
  34470. "retcode": {
  34471. "description": "错误码",
  34472. "type": "string"
  34473. },
  34474. "tradeid": {
  34475. "description": "成交单ID",
  34476. "type": "string"
  34477. },
  34478. "triggeramount": {
  34479. "description": "触发金额",
  34480. "type": "number"
  34481. },
  34482. "triggerqty": {
  34483. "description": "触发数量",
  34484. "type": "number"
  34485. },
  34486. "triggerstatus": {
  34487. "description": "触发状态 - 1:成功 2:失败",
  34488. "type": "integer"
  34489. },
  34490. "triggertime": {
  34491. "description": "触发时间",
  34492. "type": "string"
  34493. },
  34494. "triggertradedate": {
  34495. "description": "触发交易日",
  34496. "type": "string"
  34497. },
  34498. "userid": {
  34499. "description": "所属用户ID",
  34500. "type": "integer"
  34501. },
  34502. "userinfotype": {
  34503. "description": "用户类型 1-个人 2-企业",
  34504. "type": "integer"
  34505. },
  34506. "username": {
  34507. "description": "用户名称(userid对应的名称)",
  34508. "type": "string"
  34509. }
  34510. }
  34511. },
  34512. "models.QhjRStrategy": {
  34513. "type": "object",
  34514. "properties": {
  34515. "accountid": {
  34516. "description": "用户资金账户",
  34517. "type": "integer"
  34518. },
  34519. "accountname": {
  34520. "description": "账号名称(ACCOUNTID对应的名称)",
  34521. "type": "string"
  34522. },
  34523. "currencyid": {
  34524. "description": "币种id",
  34525. "type": "integer"
  34526. },
  34527. "currencyname": {
  34528. "description": "币种名称",
  34529. "type": "string"
  34530. },
  34531. "decimalplace": {
  34532. "description": "商品报价小数位",
  34533. "type": "integer"
  34534. },
  34535. "enumdicname": {
  34536. "description": "单位名称",
  34537. "type": "string"
  34538. },
  34539. "goodscode": {
  34540. "description": "定投商品代码",
  34541. "type": "string"
  34542. },
  34543. "goodsid": {
  34544. "description": "定投商品ID",
  34545. "type": "integer"
  34546. },
  34547. "goodsname": {
  34548. "description": "定投商品名称",
  34549. "type": "string"
  34550. },
  34551. "goodunitid": {
  34552. "description": "定投商品单位id",
  34553. "type": "integer"
  34554. },
  34555. "lasteffecttradedate": {
  34556. "description": "最新生效交易日",
  34557. "type": "string"
  34558. },
  34559. "laststoptradedate": {
  34560. "description": "最新暂停交易日",
  34561. "type": "string"
  34562. },
  34563. "lasttriggertradedate": {
  34564. "description": "最新触发交易日",
  34565. "type": "string"
  34566. },
  34567. "logincode": {
  34568. "description": "账号(登录代码)",
  34569. "type": "string"
  34570. },
  34571. "nexttriggeramount": {
  34572. "description": "下次触发金额",
  34573. "type": "number"
  34574. },
  34575. "nexttriggerdate": {
  34576. "description": "下次触发日期",
  34577. "type": "string"
  34578. },
  34579. "nexttriggerqty": {
  34580. "description": "下次触发数量 [按小数位放大值]",
  34581. "type": "number"
  34582. },
  34583. "qtydecimalplace": {
  34584. "description": "成交量小数位",
  34585. "type": "integer"
  34586. },
  34587. "regularlycycle": {
  34588. "description": "定投频率 - 1:每周 2:每月",
  34589. "type": "integer"
  34590. },
  34591. "regularlycyclevalue": {
  34592. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  34593. "type": "string"
  34594. },
  34595. "regularlymode": {
  34596. "description": "定投方式 - 1:按数量 2:按金额",
  34597. "type": "integer"
  34598. },
  34599. "regularlymodevalue": {
  34600. "description": "定投方式值 - 数量或金额",
  34601. "type": "number"
  34602. },
  34603. "regularlystrategyid": {
  34604. "description": "定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)",
  34605. "type": "integer"
  34606. },
  34607. "regularlystrategystatus": {
  34608. "description": "策略状态 - 1:正常 2:暂停 3:终止",
  34609. "type": "integer"
  34610. },
  34611. "remark": {
  34612. "description": "备注",
  34613. "type": "string"
  34614. },
  34615. "triggersuccesstimes": {
  34616. "description": "累计定投成功次数",
  34617. "type": "string"
  34618. },
  34619. "triggertotalamount": {
  34620. "description": "累计定投金额(成功)",
  34621. "type": "number"
  34622. },
  34623. "triggertotalqty": {
  34624. "description": "累计定投数量(成功) [按小数位放大值]",
  34625. "type": "number"
  34626. },
  34627. "triggertotaltimes": {
  34628. "description": "累计定投总次数",
  34629. "type": "string"
  34630. },
  34631. "updatesrc": {
  34632. "description": "更新来源 - 1:管理端 2:终端",
  34633. "type": "integer"
  34634. },
  34635. "updatetime": {
  34636. "description": "更新时间",
  34637. "type": "string"
  34638. },
  34639. "updatorid": {
  34640. "description": "更新人",
  34641. "type": "string"
  34642. },
  34643. "userid": {
  34644. "description": "所属用户ID",
  34645. "type": "integer"
  34646. },
  34647. "userinfotype": {
  34648. "description": "用户类型 1-个人 2-企业",
  34649. "type": "integer"
  34650. },
  34651. "username": {
  34652. "description": "用户名称(userid对应的名称)",
  34653. "type": "string"
  34654. }
  34655. }
  34656. },
  34657. "models.QhjReckonPriceLog": {
  34658. "type": "object",
  34659. "properties": {
  34660. "decimalplace": {
  34661. "description": "商品报价小数位",
  34662. "type": "integer"
  34663. },
  34664. "goodscode": {
  34665. "description": "商品代码",
  34666. "type": "string"
  34667. },
  34668. "goodsid": {
  34669. "description": "商品ID",
  34670. "type": "integer"
  34671. },
  34672. "goodsname": {
  34673. "description": "商品名称",
  34674. "type": "string"
  34675. },
  34676. "lastreckonprice": {
  34677. "description": "上日结算价",
  34678. "type": "number"
  34679. },
  34680. "nextdnlimitprice": {
  34681. "description": "下个交易日跌停价",
  34682. "type": "number"
  34683. },
  34684. "nexttrade": {
  34685. "description": "下个交易日",
  34686. "type": "string"
  34687. },
  34688. "nextuplimitprice": {
  34689. "description": "下个交易日涨停价",
  34690. "type": "number"
  34691. },
  34692. "reckonprice": {
  34693. "description": "今日结算价(定投价)",
  34694. "type": "number"
  34695. },
  34696. "reckontime": {
  34697. "description": "结算时间",
  34698. "type": "string"
  34699. },
  34700. "totalholderqty": {
  34701. "description": "总持仓数",
  34702. "type": "integer"
  34703. },
  34704. "totalstock": {
  34705. "description": "总库存",
  34706. "type": "integer"
  34707. },
  34708. "tradedate": {
  34709. "description": "交易日",
  34710. "type": "string"
  34711. },
  34712. "updowncount": {
  34713. "description": "连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)",
  34714. "type": "integer"
  34715. },
  34716. "updownflag": {
  34717. "description": "连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停",
  34718. "type": "integer"
  34719. },
  34720. "updownrate": {
  34721. "description": "今日涨跌幅",
  34722. "type": "number"
  34723. },
  34724. "updownrate_2d": {
  34725. "description": "连续两日涨跌幅",
  34726. "type": "number"
  34727. },
  34728. "updownrate_3d": {
  34729. "description": "连续三日涨跌幅",
  34730. "type": "number"
  34731. }
  34732. }
  34733. },
  34734. "models.QhjScoreLog": {
  34735. "type": "object",
  34736. "properties": {
  34737. "accountid": {
  34738. "description": "账户ID",
  34739. "type": "integer"
  34740. },
  34741. "createtime": {
  34742. "description": "创建时间(时间)",
  34743. "type": "string"
  34744. },
  34745. "goodsid": {
  34746. "description": "商品ID",
  34747. "type": "integer"
  34748. },
  34749. "hasuploaded": {
  34750. "description": "是否已同步(千海金) 0:未同步 1;已同步",
  34751. "type": "integer"
  34752. },
  34753. "logid": {
  34754. "description": "流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  34755. "type": "string"
  34756. },
  34757. "marketid": {
  34758. "description": "市场ID",
  34759. "type": "integer"
  34760. },
  34761. "relatedamount": {
  34762. "description": "关联金额",
  34763. "type": "number"
  34764. },
  34765. "relatedorderid": {
  34766. "description": "关联单号(ScoreType=1为Trade_GoodsPickup)",
  34767. "type": "string"
  34768. },
  34769. "scoreconfigvalue1": {
  34770. "description": "积分配置1",
  34771. "type": "integer"
  34772. },
  34773. "scoreconfigvalue2": {
  34774. "description": "积分配置1",
  34775. "type": "integer"
  34776. },
  34777. "scoretype": {
  34778. "description": "积分类型 - 1:提货积分",
  34779. "type": "integer"
  34780. },
  34781. "scorevalue": {
  34782. "description": "积分",
  34783. "type": "number"
  34784. },
  34785. "tradedate": {
  34786. "description": "交易日(yyyyMMdd)",
  34787. "type": "string"
  34788. },
  34789. "uploadedtime": {
  34790. "description": "同步时间",
  34791. "type": "string"
  34792. },
  34793. "userid": {
  34794. "description": "用户ID",
  34795. "type": "integer"
  34796. }
  34797. }
  34798. },
  34799. "models.QhjSiteColumnDetail": {
  34800. "type": "object",
  34801. "properties": {
  34802. "author": {
  34803. "description": "作者",
  34804. "type": "string"
  34805. },
  34806. "brief": {
  34807. "description": "简介",
  34808. "type": "string"
  34809. },
  34810. "columnid": {
  34811. "description": "所属栏目",
  34812. "type": "integer"
  34813. },
  34814. "context": {
  34815. "description": "内容",
  34816. "type": "string"
  34817. },
  34818. "coverimage": {
  34819. "description": "封面图片",
  34820. "type": "string"
  34821. },
  34822. "creaedate": {
  34823. "description": "创建时间",
  34824. "type": "string"
  34825. },
  34826. "creatorid": {
  34827. "description": "创建人",
  34828. "type": "integer"
  34829. },
  34830. "hits": {
  34831. "description": "点击数",
  34832. "type": "integer"
  34833. },
  34834. "id": {
  34835. "description": "ID(SEQ_SITE_COLUMNDETAIL)",
  34836. "type": "integer"
  34837. },
  34838. "isshow": {
  34839. "description": "是否展示 - 0:不展示 1:展示",
  34840. "type": "integer"
  34841. },
  34842. "istop": {
  34843. "description": "是否置顶 - 0:不置 1:置顶",
  34844. "type": "integer"
  34845. },
  34846. "modifierid": {
  34847. "description": "操作人",
  34848. "type": "integer"
  34849. },
  34850. "publishdate": {
  34851. "description": "发布日期",
  34852. "type": "string"
  34853. },
  34854. "status": {
  34855. "description": "状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝",
  34856. "type": "integer"
  34857. },
  34858. "title": {
  34859. "description": "标题",
  34860. "type": "string"
  34861. },
  34862. "updatedate": {
  34863. "description": "修改时间",
  34864. "type": "string"
  34865. },
  34866. "userid": {
  34867. "description": "用户ID(默认为0, 核心为为机构用户ID)",
  34868. "type": "integer"
  34869. },
  34870. "username": {
  34871. "description": "用户名称",
  34872. "type": "string"
  34873. }
  34874. }
  34875. },
  34876. "models.QhjTeamOrder": {
  34877. "type": "object",
  34878. "properties": {
  34879. "accountid": {
  34880. "description": "账户ID[报价币种]",
  34881. "type": "integer"
  34882. },
  34883. "accountname": {
  34884. "description": "账户名称",
  34885. "type": "string"
  34886. },
  34887. "agreeunit": {
  34888. "description": "合约乘数",
  34889. "type": "number"
  34890. },
  34891. "buyorsell": {
  34892. "description": "方向 - 0:买 1:卖",
  34893. "type": "integer"
  34894. },
  34895. "decimalplace": {
  34896. "description": "报价小数位",
  34897. "type": "integer"
  34898. },
  34899. "enumdicname": {
  34900. "description": "单位名称",
  34901. "type": "string"
  34902. },
  34903. "goodscode": {
  34904. "description": "商品代码(内部)",
  34905. "type": "string"
  34906. },
  34907. "goodsid": {
  34908. "description": "商品ID",
  34909. "type": "integer"
  34910. },
  34911. "goodsname": {
  34912. "description": "商品名称",
  34913. "type": "string"
  34914. },
  34915. "goodunitid": {
  34916. "description": "报价单位ID",
  34917. "type": "integer"
  34918. },
  34919. "marketid": {
  34920. "description": "市场ID",
  34921. "type": "integer"
  34922. },
  34923. "marketname": {
  34924. "description": "市场名称",
  34925. "type": "string"
  34926. },
  34927. "qtydecimalplace": {
  34928. "description": "成交量小数位",
  34929. "type": "integer"
  34930. },
  34931. "refereeuserid": {
  34932. "description": "推荐人ID",
  34933. "type": "integer"
  34934. },
  34935. "tradeamount": {
  34936. "description": "成交金额[账户币种,用于所有权]",
  34937. "type": "number"
  34938. },
  34939. "tradedate": {
  34940. "description": "交易日(yyyyMMdd)",
  34941. "type": "string"
  34942. },
  34943. "trademode": {
  34944. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  34945. "type": "integer"
  34946. },
  34947. "tradeprice": {
  34948. "description": "成交价格",
  34949. "type": "number"
  34950. },
  34951. "tradeqty": {
  34952. "description": "成交数量",
  34953. "type": "number"
  34954. },
  34955. "tradetime": {
  34956. "description": "成交时间",
  34957. "type": "string"
  34958. },
  34959. "userid": {
  34960. "description": "用户ID",
  34961. "type": "integer"
  34962. }
  34963. }
  34964. },
  34965. "models.QhjTradeGoodsPickup": {
  34966. "type": "object",
  34967. "properties": {
  34968. "accountid": {
  34969. "description": "账户ID",
  34970. "type": "integer"
  34971. },
  34972. "address": {
  34973. "description": "提货人详细地址",
  34974. "type": "string"
  34975. },
  34976. "amount": {
  34977. "description": "提货金额",
  34978. "type": "number"
  34979. },
  34980. "artradedate": {
  34981. "description": "自动收货交易日(yyyyMMdd)",
  34982. "type": "string"
  34983. },
  34984. "auditer": {
  34985. "description": "审核人",
  34986. "type": "integer"
  34987. },
  34988. "auditsrc": {
  34989. "description": "更新来源 - 1:管理端 2:终端",
  34990. "type": "integer"
  34991. },
  34992. "audittime": {
  34993. "description": "审核时间(发货时间 | 备货完成时间 都是这个字段)",
  34994. "type": "string"
  34995. },
  34996. "audittradedate": {
  34997. "description": "审核交易日(yyyyMMdd)",
  34998. "type": "string"
  34999. },
  35000. "cardnum": {
  35001. "description": "提货人证件号码",
  35002. "type": "string"
  35003. },
  35004. "cardtypeid": {
  35005. "description": "提货人证件类型",
  35006. "type": "integer"
  35007. },
  35008. "checkremark": {
  35009. "description": "审核备注",
  35010. "type": "string"
  35011. },
  35012. "cityid": {
  35013. "description": "市",
  35014. "type": "integer"
  35015. },
  35016. "cityname": {
  35017. "description": "城市名称",
  35018. "type": "string"
  35019. },
  35020. "confirmtime": {
  35021. "description": "取货时间 或 收货时间",
  35022. "type": "string"
  35023. },
  35024. "countryid": {
  35025. "description": "国家",
  35026. "type": "integer"
  35027. },
  35028. "countryname": {
  35029. "description": "国家名称",
  35030. "type": "string"
  35031. },
  35032. "decimalplace": {
  35033. "description": "商品报价小数位",
  35034. "type": "integer"
  35035. },
  35036. "districtid": {
  35037. "description": "地区",
  35038. "type": "integer"
  35039. },
  35040. "districtname": {
  35041. "description": "地区名称",
  35042. "type": "string"
  35043. },
  35044. "enumdicname": {
  35045. "description": "单位名称(提货商品)",
  35046. "type": "string"
  35047. },
  35048. "expresscompany": {
  35049. "description": "物流公司",
  35050. "type": "string"
  35051. },
  35052. "expressnum": {
  35053. "description": "物流单号",
  35054. "type": "string"
  35055. },
  35056. "goodsagreeunit": {
  35057. "description": "交易商品乘数",
  35058. "type": "number"
  35059. },
  35060. "goodscode": {
  35061. "description": "商品代码",
  35062. "type": "string"
  35063. },
  35064. "goodsid": {
  35065. "description": "商品ID",
  35066. "type": "integer"
  35067. },
  35068. "goodsname": {
  35069. "description": "商品名称",
  35070. "type": "string"
  35071. },
  35072. "goodsqty": {
  35073. "description": "交易商品手数(69模式按成交量小数位放大取整)",
  35074. "type": "number"
  35075. },
  35076. "handlestatus": {
  35077. "description": "处理状态",
  35078. "type": "integer"
  35079. },
  35080. "logincode": {
  35081. "description": "账号(登录代码, 有可能为空)",
  35082. "type": "string"
  35083. },
  35084. "marketid": {
  35085. "description": "市场ID",
  35086. "type": "integer"
  35087. },
  35088. "phonenum": {
  35089. "description": "提货人联系方式",
  35090. "type": "string"
  35091. },
  35092. "pickupgoodsagreeunit": {
  35093. "description": "提货商品合约乘数",
  35094. "type": "number"
  35095. },
  35096. "pickupgoodsid": {
  35097. "description": "提货商品ID",
  35098. "type": "string"
  35099. },
  35100. "pickupgoodsname": {
  35101. "description": "提货商品名称",
  35102. "type": "string"
  35103. },
  35104. "pickupgoodsqty": {
  35105. "description": "提货商品手数(数量)",
  35106. "type": "number"
  35107. },
  35108. "pickupgoodsunitid": {
  35109. "description": "单位ID(提货商品)",
  35110. "type": "integer"
  35111. },
  35112. "pickupratio": {
  35113. "description": "提货系数",
  35114. "type": "number"
  35115. },
  35116. "preparedays": {
  35117. "description": "备货期(天)-提货单明细表",
  35118. "type": "integer"
  35119. },
  35120. "provinceid": {
  35121. "description": "省",
  35122. "type": "integer"
  35123. },
  35124. "provincename": {
  35125. "description": "省名称",
  35126. "type": "string"
  35127. },
  35128. "qty": {
  35129. "description": "交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总",
  35130. "type": "number"
  35131. },
  35132. "qtydecimalplace": {
  35133. "description": "商品数量小数位",
  35134. "type": "integer"
  35135. },
  35136. "recivername": {
  35137. "description": "提货人姓名",
  35138. "type": "string"
  35139. },
  35140. "reqtime": {
  35141. "description": "提货申请时间",
  35142. "type": "string"
  35143. },
  35144. "storeuserid": {
  35145. "description": "门店用户ID (千海金)",
  35146. "type": "integer"
  35147. },
  35148. "storeusername": {
  35149. "description": "门店用户名称",
  35150. "type": "string"
  35151. },
  35152. "takemode": {
  35153. "description": "提货方式 - 2:自提 3:配送(邮寄)",
  35154. "type": "integer"
  35155. },
  35156. "takeorderid": {
  35157. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  35158. "type": "string"
  35159. },
  35160. "takeorderstatus": {
  35161. "description": "提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  35162. "type": "integer"
  35163. },
  35164. "takeremark": {
  35165. "description": "提货备注",
  35166. "type": "string"
  35167. },
  35168. "tradedate": {
  35169. "description": "交易日(yyyyMMdd)",
  35170. "type": "string"
  35171. },
  35172. "updatetime": {
  35173. "description": "更新时间",
  35174. "type": "string"
  35175. },
  35176. "userid": {
  35177. "description": "用户ID",
  35178. "type": "integer"
  35179. },
  35180. "userinfotype": {
  35181. "description": "客户类型 1-个人 2-企业",
  35182. "type": "integer"
  35183. },
  35184. "username": {
  35185. "description": "用户名称",
  35186. "type": "string"
  35187. }
  35188. }
  35189. },
  35190. "models.QhjUserNodeCfgAndStatus": {
  35191. "type": "object",
  35192. "properties": {
  35193. "agreementcontent": {
  35194. "description": "协议内容",
  35195. "type": "string"
  35196. },
  35197. "agreementid": {
  35198. "description": "协议ID",
  35199. "type": "integer"
  35200. },
  35201. "agreementname": {
  35202. "description": "协议名称",
  35203. "type": "string"
  35204. },
  35205. "agreementno": {
  35206. "description": "协议编号",
  35207. "type": "string"
  35208. },
  35209. "agreementtype": {
  35210. "description": "协议类型 - 1:注册 2:登录 3:交易",
  35211. "type": "integer"
  35212. },
  35213. "agreementversion": {
  35214. "description": "协议版本号",
  35215. "type": "integer"
  35216. },
  35217. "configid": {
  35218. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  35219. "type": "integer"
  35220. },
  35221. "createtime": {
  35222. "description": "创建时间",
  35223. "type": "string"
  35224. },
  35225. "goodsid": {
  35226. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  35227. "type": "integer"
  35228. },
  35229. "nodetype": {
  35230. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  35231. "type": "integer"
  35232. },
  35233. "signtimestamp": {
  35234. "description": "签约状态时间戳(最近一次)",
  35235. "type": "string"
  35236. },
  35237. "tradedate": {
  35238. "description": "签约交易日(yyyyMMdd)",
  35239. "type": "string"
  35240. },
  35241. "userid": {
  35242. "description": "客户ID",
  35243. "type": "integer"
  35244. }
  35245. }
  35246. },
  35247. "models.Qhjgoodsex": {
  35248. "type": "object",
  35249. "properties": {
  35250. "canfinance": {
  35251. "description": "是否支持融资 - 0:不支持 1:支持【69:铂金宝】",
  35252. "type": "integer"
  35253. },
  35254. "canregularlybuy": {
  35255. "description": "是否支持定投 - 0:不支持 1:支持【69:铂金宝】",
  35256. "type": "integer"
  35257. },
  35258. "defaulttradeuserid": {
  35259. "description": "默认交易用户ID",
  35260. "type": "integer"
  35261. },
  35262. "deliverygoodsid": {
  35263. "description": "现货品种ID",
  35264. "type": "integer"
  35265. },
  35266. "goodsid": {
  35267. "description": "商品ID(自增ID SEQ_GOODS)",
  35268. "type": "integer"
  35269. },
  35270. "minamount": {
  35271. "description": "最小购买金额",
  35272. "type": "number"
  35273. },
  35274. "regularlybuyminamount": {
  35275. "description": "定投最小金额",
  35276. "type": "number"
  35277. },
  35278. "regularlybuyminqty": {
  35279. "description": "定投最小数量",
  35280. "type": "number"
  35281. },
  35282. "spotgoodsbrandid": {
  35283. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\"",
  35284. "type": "integer"
  35285. },
  35286. "visibilityforenterprise": {
  35287. "description": "企业客户是否可见 - 0:不可见 1:可见",
  35288. "type": "integer"
  35289. },
  35290. "visibilityforpersonal": {
  35291. "description": "个人客户是否可见 - 0:不可见 1:可见",
  35292. "type": "integer"
  35293. },
  35294. "wrstandardid": {
  35295. "description": "现货商品ID",
  35296. "type": "integer"
  35297. }
  35298. }
  35299. },
  35300. "models.QueryErrorInfosRsp": {
  35301. "type": "object",
  35302. "required": [
  35303. "errorid"
  35304. ],
  35305. "properties": {
  35306. "description": {
  35307. "description": "异常描述",
  35308. "type": "string"
  35309. },
  35310. "errorcode": {
  35311. "description": "异常代码",
  35312. "type": "string"
  35313. },
  35314. "errorid": {
  35315. "description": "异常ID",
  35316. "type": "integer"
  35317. },
  35318. "modulecode": {
  35319. "description": "所属模块",
  35320. "type": "string"
  35321. },
  35322. "operatecode": {
  35323. "description": "所属操作",
  35324. "type": "string"
  35325. },
  35326. "rownumber": {
  35327. "description": "行号",
  35328. "type": "string"
  35329. }
  35330. }
  35331. },
  35332. "models.QueryHedgeOrderDetailRsp": {
  35333. "type": "object",
  35334. "properties": {
  35335. "accountid": {
  35336. "description": "账户ID",
  35337. "type": "integer"
  35338. },
  35339. "buyorsell": {
  35340. "description": "买卖 - 0:买 1:卖",
  35341. "type": "integer"
  35342. },
  35343. "cancellogincode": {
  35344. "description": "撤单人",
  35345. "type": "string"
  35346. },
  35347. "channelbuildtype": {
  35348. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  35349. "type": "integer"
  35350. },
  35351. "channelinnerorderstatus": {
  35352. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:部分成交 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  35353. "type": "integer"
  35354. },
  35355. "channeloperatetype": {
  35356. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  35357. "type": "integer"
  35358. },
  35359. "closetype": {
  35360. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  35361. "type": "integer"
  35362. },
  35363. "curexchangerate": {
  35364. "description": "当前汇率",
  35365. "type": "number"
  35366. },
  35367. "decimalplace": {
  35368. "description": "商品报价小数位",
  35369. "type": "integer"
  35370. },
  35371. "exchangefullname": {
  35372. "description": "外部交易所全称",
  35373. "type": "string"
  35374. },
  35375. "goodscode": {
  35376. "description": "商品代码(内部)",
  35377. "type": "string"
  35378. },
  35379. "goodsid": {
  35380. "description": "商品ID",
  35381. "type": "integer"
  35382. },
  35383. "goodsname": {
  35384. "description": "商品名称",
  35385. "type": "string"
  35386. },
  35387. "marketid": {
  35388. "description": "市场ID",
  35389. "type": "integer"
  35390. },
  35391. "openfreezemargin": {
  35392. "description": "冻结保证金(冻结交易金额)",
  35393. "type": "number"
  35394. },
  35395. "orderid": {
  35396. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  35397. "type": "string"
  35398. },
  35399. "orderlogincode": {
  35400. "description": "委托人",
  35401. "type": "string"
  35402. },
  35403. "orderprice": {
  35404. "description": "委托价格(账户)",
  35405. "type": "number"
  35406. },
  35407. "orderqty": {
  35408. "description": "委托数量",
  35409. "type": "integer"
  35410. },
  35411. "ordertime": {
  35412. "description": "委托时间",
  35413. "type": "string"
  35414. },
  35415. "pricemode": {
  35416. "description": "取价方式 - 1:市价 2: 限价",
  35417. "type": "integer"
  35418. },
  35419. "tradedate": {
  35420. "description": "交易日(yyyyMMdd)",
  35421. "type": "string"
  35422. },
  35423. "tradeqty": {
  35424. "description": "成交数量",
  35425. "type": "integer"
  35426. }
  35427. }
  35428. },
  35429. "models.QueryHedgeTradeDetailRsp": {
  35430. "type": "object",
  35431. "properties": {
  35432. "accountid": {
  35433. "description": "账号ID",
  35434. "type": "integer"
  35435. },
  35436. "buyorsell": {
  35437. "description": "方向 - 0:买 1:卖",
  35438. "type": "integer"
  35439. },
  35440. "channelbuildtype": {
  35441. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  35442. "type": "integer"
  35443. },
  35444. "closecharge": {
  35445. "description": "平仓手续费(账户)",
  35446. "type": "number"
  35447. },
  35448. "closecharge2": {
  35449. "description": "平仓手续费(商品)",
  35450. "type": "number"
  35451. },
  35452. "closepl": {
  35453. "description": "平仓盈亏(账户)",
  35454. "type": "number"
  35455. },
  35456. "closepl2": {
  35457. "description": "平仓盈亏(商品)",
  35458. "type": "number"
  35459. },
  35460. "closepl3": {
  35461. "description": "平仓盈亏(账户)(逐笔)",
  35462. "type": "number"
  35463. },
  35464. "closepl4": {
  35465. "description": "平仓盈亏(商品)(逐笔)",
  35466. "type": "number"
  35467. },
  35468. "closetype": {
  35469. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  35470. "type": "integer"
  35471. },
  35472. "curexchangerate": {
  35473. "description": "当前汇率",
  35474. "type": "number"
  35475. },
  35476. "decimalplace": {
  35477. "description": "商品报价小数位",
  35478. "type": "integer"
  35479. },
  35480. "exchangefullname": {
  35481. "description": "外部交易所全称",
  35482. "type": "string"
  35483. },
  35484. "goodscode": {
  35485. "description": "商品代码(内部)",
  35486. "type": "string"
  35487. },
  35488. "goodsid": {
  35489. "description": "商品ID",
  35490. "type": "integer"
  35491. },
  35492. "goodsname": {
  35493. "description": "商品名称",
  35494. "type": "string"
  35495. },
  35496. "marketid": {
  35497. "description": "市场ID",
  35498. "type": "integer"
  35499. },
  35500. "opencharge": {
  35501. "description": "建仓手续费(账户)",
  35502. "type": "number"
  35503. },
  35504. "opencharge2": {
  35505. "description": "建仓手续费(商品)",
  35506. "type": "number"
  35507. },
  35508. "orderid": {
  35509. "description": "委托单号",
  35510. "type": "string"
  35511. },
  35512. "orderlogincode": {
  35513. "description": "委托人",
  35514. "type": "string"
  35515. },
  35516. "tradeamount": {
  35517. "description": "成交金额(账户)",
  35518. "type": "number"
  35519. },
  35520. "tradedate": {
  35521. "description": "交易日(yyyyMMdd)",
  35522. "type": "string"
  35523. },
  35524. "tradeid": {
  35525. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  35526. "type": "string"
  35527. },
  35528. "tradeprice": {
  35529. "description": "成交价格",
  35530. "type": "number"
  35531. },
  35532. "tradeqty": {
  35533. "description": "成交数量",
  35534. "type": "integer"
  35535. },
  35536. "tradetime": {
  35537. "description": "成交时间",
  35538. "type": "string"
  35539. },
  35540. "tradetype": {
  35541. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  35542. "type": "integer"
  35543. }
  35544. }
  35545. },
  35546. "models.QuotePrimaryMenu": {
  35547. "type": "object",
  35548. "properties": {
  35549. "Index": {
  35550. "description": "序号",
  35551. "type": "integer"
  35552. },
  35553. "Key": {
  35554. "description": "键名",
  35555. "type": "string"
  35556. },
  35557. "Name": {
  35558. "description": "菜单名称",
  35559. "type": "string"
  35560. },
  35561. "SubMenus": {
  35562. "description": "子菜单",
  35563. "type": "array",
  35564. "items": {
  35565. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  35566. }
  35567. },
  35568. "SubTitleType": {
  35569. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  35570. "type": "integer"
  35571. },
  35572. "TradeModes": {
  35573. "description": "包含市场交易类型",
  35574. "type": "string"
  35575. }
  35576. }
  35577. },
  35578. "models.QuoteSecondaryMenu": {
  35579. "type": "object",
  35580. "properties": {
  35581. "ExExchangeCode": {
  35582. "description": "外部交易所代码",
  35583. "type": "string"
  35584. },
  35585. "ExExchangeID": {
  35586. "description": "外部交易所ID",
  35587. "type": "integer"
  35588. },
  35589. "GoodsGroupIDs": {
  35590. "description": "商品组ID列表",
  35591. "type": "array",
  35592. "items": {
  35593. "type": "integer"
  35594. }
  35595. },
  35596. "Index": {
  35597. "description": "序号",
  35598. "type": "integer"
  35599. },
  35600. "MarketID": {
  35601. "description": "市场ID",
  35602. "type": "integer"
  35603. },
  35604. "MenuTitle": {
  35605. "description": "菜单标题(市场名称或外部交易所名称)",
  35606. "type": "string"
  35607. },
  35608. "TradeMode": {
  35609. "description": "交易模式",
  35610. "type": "integer"
  35611. }
  35612. }
  35613. },
  35614. "models.RelatedTaAccount": {
  35615. "type": "object",
  35616. "properties": {
  35617. "accountid": {
  35618. "description": "资金账户ID",
  35619. "type": "integer"
  35620. }
  35621. }
  35622. },
  35623. "models.RoleMenu": {
  35624. "type": "object",
  35625. "properties": {
  35626. "hasright": {
  35627. "description": "是否有权限 0-没有权限 1-有权限",
  35628. "type": "integer"
  35629. },
  35630. "iconame": {
  35631. "description": "菜单图标",
  35632. "type": "string"
  35633. },
  35634. "menutype": {
  35635. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  35636. "type": "integer"
  35637. },
  35638. "parentcode": {
  35639. "description": "上级资源代码",
  35640. "type": "string"
  35641. },
  35642. "remark": {
  35643. "description": "菜单备注",
  35644. "type": "string"
  35645. },
  35646. "resourcecode": {
  35647. "description": "菜单代码",
  35648. "type": "string"
  35649. },
  35650. "resourcelevel": {
  35651. "description": "级别",
  35652. "type": "integer"
  35653. },
  35654. "resourcename": {
  35655. "description": "菜单名称",
  35656. "type": "string"
  35657. },
  35658. "roleid": {
  35659. "description": "角色id",
  35660. "type": "integer"
  35661. },
  35662. "sort": {
  35663. "description": "排序",
  35664. "type": "integer"
  35665. },
  35666. "subMenu": {
  35667. "description": "子级菜单(结构同上层一样, swag解析不出来)",
  35668. "type": "array",
  35669. "items": {
  35670. "$ref": "#/definitions/models.RoleMenu"
  35671. }
  35672. },
  35673. "url": {
  35674. "description": "URL",
  35675. "type": "string"
  35676. },
  35677. "userid": {
  35678. "description": "用户id",
  35679. "type": "integer"
  35680. }
  35681. }
  35682. },
  35683. "models.SearchGoods": {
  35684. "type": "object",
  35685. "required": [
  35686. "goodscode",
  35687. "goodsid",
  35688. "goodsname",
  35689. "marketid",
  35690. "trademode"
  35691. ],
  35692. "properties": {
  35693. "goodscode": {
  35694. "description": "商品代码(内部)",
  35695. "type": "string"
  35696. },
  35697. "goodsid": {
  35698. "description": "商品ID(自增ID SEQ_GOODS)",
  35699. "type": "integer"
  35700. },
  35701. "goodsname": {
  35702. "description": "商品名称",
  35703. "type": "string"
  35704. },
  35705. "marketid": {
  35706. "description": "所属市场ID",
  35707. "type": "integer"
  35708. },
  35709. "marketname": {
  35710. "description": "市场名称",
  35711. "type": "string"
  35712. },
  35713. "trademode": {
  35714. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  35715. "type": "integer"
  35716. }
  35717. }
  35718. },
  35719. "models.Systemparam": {
  35720. "type": "object",
  35721. "required": [
  35722. "paramcode"
  35723. ],
  35724. "properties": {
  35725. "loginid": {
  35726. "description": "更新用户账号,登录账号",
  35727. "type": "string"
  35728. },
  35729. "modifyflag": {
  35730. "description": "修改标志0 不允许修改 1 允许修改",
  35731. "type": "integer"
  35732. },
  35733. "paramcode": {
  35734. "description": "参数代码",
  35735. "type": "string"
  35736. },
  35737. "paramname": {
  35738. "description": "参数名",
  35739. "type": "string"
  35740. },
  35741. "paramtype": {
  35742. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  35743. "type": "integer"
  35744. },
  35745. "paramvalue": {
  35746. "description": "参数值",
  35747. "type": "string"
  35748. },
  35749. "paramvalue2": {
  35750. "description": "参数值(CLOB)",
  35751. "type": "string"
  35752. },
  35753. "regexpress": {
  35754. "description": "正则表达式",
  35755. "type": "string"
  35756. },
  35757. "remark": {
  35758. "description": "备注",
  35759. "type": "string"
  35760. },
  35761. "serverip": {
  35762. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  35763. "type": "string"
  35764. },
  35765. "showflag": {
  35766. "description": "是否显示0 不显示 1 显示",
  35767. "type": "integer"
  35768. },
  35769. "updatetime": {
  35770. "description": "更新时间",
  35771. "type": "string"
  35772. },
  35773. "userid": {
  35774. "description": "更新用户ID",
  35775. "type": "integer"
  35776. }
  35777. }
  35778. },
  35779. "models.Szdz3convertconfig": {
  35780. "type": "object",
  35781. "required": [
  35782. "converttype",
  35783. "innergoodsid",
  35784. "outergoodscode"
  35785. ],
  35786. "properties": {
  35787. "canin": {
  35788. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  35789. "type": "integer"
  35790. },
  35791. "canout": {
  35792. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  35793. "type": "integer"
  35794. },
  35795. "converttype": {
  35796. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  35797. "type": "integer"
  35798. },
  35799. "createtime": {
  35800. "description": "创建时间",
  35801. "type": "string"
  35802. },
  35803. "creatorid": {
  35804. "description": "创建人",
  35805. "type": "integer"
  35806. },
  35807. "daymaxvalue": {
  35808. "description": "当日最大转入限制",
  35809. "type": "number"
  35810. },
  35811. "freezedays": {
  35812. "description": "冻结天数 [5:花生米转交易]",
  35813. "type": "integer"
  35814. },
  35815. "innergoodsid": {
  35816. "description": "内部商品ID[交易]",
  35817. "type": "integer"
  35818. },
  35819. "inratio": {
  35820. "description": "目标值",
  35821. "type": "integer"
  35822. },
  35823. "modifierid": {
  35824. "description": "修改人",
  35825. "type": "integer"
  35826. },
  35827. "modifytime": {
  35828. "description": "修改时间",
  35829. "type": "string"
  35830. },
  35831. "outergoodscode": {
  35832. "description": "外部商品代码[JD\\PD]",
  35833. "type": "string"
  35834. },
  35835. "outratio": {
  35836. "description": "源值",
  35837. "type": "integer"
  35838. },
  35839. "pddecimalplace": {
  35840. "description": "PD小数位",
  35841. "type": "integer"
  35842. },
  35843. "timemaxvalue": {
  35844. "description": "单次最大转入限制",
  35845. "type": "number"
  35846. },
  35847. "timeminvalue": {
  35848. "description": "单次最小转入限制",
  35849. "type": "number"
  35850. }
  35851. }
  35852. },
  35853. "models.Szdz3searchwhitelist": {
  35854. "type": "object",
  35855. "required": [
  35856. "userid"
  35857. ],
  35858. "properties": {
  35859. "createtime": {
  35860. "description": "创建时间",
  35861. "type": "string"
  35862. },
  35863. "creatorid": {
  35864. "description": "创建人",
  35865. "type": "integer"
  35866. },
  35867. "modifierid": {
  35868. "description": "修改人",
  35869. "type": "integer"
  35870. },
  35871. "modifytime": {
  35872. "description": "修改时间",
  35873. "type": "string"
  35874. },
  35875. "userid": {
  35876. "description": "用户ID",
  35877. "type": "integer"
  35878. }
  35879. }
  35880. },
  35881. "models.TBGoods": {
  35882. "type": "object",
  35883. "properties": {
  35884. "agreeunit": {
  35885. "description": "合约乘数",
  35886. "type": "number"
  35887. },
  35888. "enumdicname": {
  35889. "description": "单位名称",
  35890. "type": "string"
  35891. },
  35892. "goodscode": {
  35893. "description": "商品代码(内部)",
  35894. "type": "string"
  35895. },
  35896. "goodsid": {
  35897. "description": "商品ID(自增ID SEQ_GOODS)",
  35898. "type": "integer"
  35899. },
  35900. "goodsname": {
  35901. "description": "商品名称",
  35902. "type": "string"
  35903. }
  35904. }
  35905. },
  35906. "models.TBGoodsGroup": {
  35907. "type": "object",
  35908. "properties": {
  35909. "GDLST": {
  35910. "description": "商品列表",
  35911. "type": "array",
  35912. "items": {
  35913. "$ref": "#/definitions/models.TBGoods"
  35914. }
  35915. },
  35916. "convertratio": {
  35917. "description": "折算系数",
  35918. "type": "number"
  35919. },
  35920. "enumdicname": {
  35921. "description": "单位名称",
  35922. "type": "string"
  35923. },
  35924. "exexchangecode": {
  35925. "description": "交易所代码",
  35926. "type": "string"
  35927. },
  35928. "exexchangename": {
  35929. "description": "交易所名称",
  35930. "type": "string"
  35931. },
  35932. "goodsgroupid": {
  35933. "description": "商品组ID(自增ID)",
  35934. "type": "integer"
  35935. },
  35936. "goodsgroupname": {
  35937. "description": "商品组名称",
  35938. "type": "string"
  35939. },
  35940. "goodunitid": {
  35941. "description": "报价单位ID",
  35942. "type": "integer"
  35943. }
  35944. }
  35945. },
  35946. "models.TBMiddleGoods": {
  35947. "type": "object",
  35948. "properties": {
  35949. "GPLST": {
  35950. "description": "期货品种列表",
  35951. "type": "array",
  35952. "items": {
  35953. "$ref": "#/definitions/models.TBGoodsGroup"
  35954. }
  35955. },
  35956. "WDLST": {
  35957. "description": "商品信息列表(现货品类)",
  35958. "type": "array",
  35959. "items": {
  35960. "$ref": "#/definitions/models.TBWrstandard"
  35961. }
  35962. },
  35963. "areauserid": {
  35964. "description": "机构用户ID",
  35965. "type": "integer"
  35966. },
  35967. "enumdicname": {
  35968. "description": "单位名称",
  35969. "type": "string"
  35970. },
  35971. "goodsunitid": {
  35972. "description": "套保品种单位id",
  35973. "type": "integer"
  35974. },
  35975. "middlegoodscode": {
  35976. "description": "套保品种代码",
  35977. "type": "string"
  35978. },
  35979. "middlegoodsid": {
  35980. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  35981. "type": "integer"
  35982. },
  35983. "middlegoodsname": {
  35984. "description": "套保品种名称",
  35985. "type": "string"
  35986. },
  35987. "needarbitrageratio": {
  35988. "description": "套利比率",
  35989. "type": "number"
  35990. },
  35991. "needhedgeratio": {
  35992. "description": "套保比率",
  35993. "type": "number"
  35994. }
  35995. }
  35996. },
  35997. "models.TBWrstandard": {
  35998. "type": "object",
  35999. "properties": {
  36000. "convertratio": {
  36001. "description": "折算系数",
  36002. "type": "number"
  36003. },
  36004. "deliverygoodsname": {
  36005. "description": "品种名称",
  36006. "type": "string"
  36007. },
  36008. "enumdicname": {
  36009. "description": "单位名称",
  36010. "type": "string"
  36011. },
  36012. "vatrate": {
  36013. "description": "增值税率",
  36014. "type": "number"
  36015. },
  36016. "wrstandardcode": {
  36017. "description": "现货商品代码",
  36018. "type": "string"
  36019. },
  36020. "wrstandardid": {
  36021. "description": "现货商品ID(SEQ_WRSTANDARD)",
  36022. "type": "integer"
  36023. },
  36024. "wrstandardname": {
  36025. "description": "现货商品名称",
  36026. "type": "string"
  36027. }
  36028. }
  36029. },
  36030. "models.Taaccount": {
  36031. "type": "object",
  36032. "required": [
  36033. "accountid",
  36034. "userid"
  36035. ],
  36036. "properties": {
  36037. "accountflag": {
  36038. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  36039. "type": "integer"
  36040. },
  36041. "accountid": {
  36042. "description": "资金账户ID",
  36043. "type": "integer"
  36044. },
  36045. "accountname": {
  36046. "description": "账户名称",
  36047. "type": "string"
  36048. },
  36049. "balance": {
  36050. "description": "期初余额",
  36051. "type": "number"
  36052. },
  36053. "capitalbalance": {
  36054. "description": "本金余额[外部子账户实际出入金余额]",
  36055. "type": "number"
  36056. },
  36057. "changeflag": {
  36058. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  36059. "type": "integer"
  36060. },
  36061. "changetime": {
  36062. "description": "账户状态变更时间",
  36063. "type": "string"
  36064. },
  36065. "closepl": {
  36066. "description": "今日平仓盈亏",
  36067. "type": "number"
  36068. },
  36069. "creditdecrease": {
  36070. "description": "今日授信减少",
  36071. "type": "number"
  36072. },
  36073. "creditincrease": {
  36074. "description": "今日授信增加",
  36075. "type": "number"
  36076. },
  36077. "curamount": {
  36078. "description": "总市值(从持仓中统计)",
  36079. "type": "number"
  36080. },
  36081. "currencyid": {
  36082. "description": "货币ID",
  36083. "type": "integer"
  36084. },
  36085. "currentbalance": {
  36086. "description": "期末余额",
  36087. "type": "number"
  36088. },
  36089. "freezecharge": {
  36090. "description": "手续费冻结",
  36091. "type": "number"
  36092. },
  36093. "freezemargin": {
  36094. "description": "冻结保证金",
  36095. "type": "number"
  36096. },
  36097. "fromaccountid": {
  36098. "description": "所属上级账户",
  36099. "type": "integer"
  36100. },
  36101. "inamount": {
  36102. "description": "今日入金金额(包括三方入金)",
  36103. "type": "number"
  36104. },
  36105. "ismain": {
  36106. "description": "是否母账号 0:不是母账户 1:是母账户",
  36107. "type": "integer"
  36108. },
  36109. "ismarketaccount": {
  36110. "description": "是否机构接单账号 0:不是 1:是",
  36111. "type": "integer"
  36112. },
  36113. "isreckonaccount": {
  36114. "description": "是否机构分润账号 0:不是 1:是",
  36115. "type": "integer"
  36116. },
  36117. "mortgagecredit": {
  36118. "description": "授信金额",
  36119. "type": "number"
  36120. },
  36121. "orifreezecharge": {
  36122. "description": "期初手续费冻结",
  36123. "type": "number"
  36124. },
  36125. "orifreezemargin": {
  36126. "description": "期初冻结保证金",
  36127. "type": "number"
  36128. },
  36129. "orimortgagecredit": {
  36130. "description": "期初授信金额",
  36131. "type": "number"
  36132. },
  36133. "oriothercredit": {
  36134. "description": "期初其它授信金额",
  36135. "type": "number"
  36136. },
  36137. "oriotherfreezemargin": {
  36138. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  36139. "type": "number"
  36140. },
  36141. "orioutamountfreeze": {
  36142. "description": "期初出金冻结",
  36143. "type": "number"
  36144. },
  36145. "oriusedmargin": {
  36146. "description": "期初占用保证金",
  36147. "type": "number"
  36148. },
  36149. "othercredit": {
  36150. "description": "其它授信金额",
  36151. "type": "number"
  36152. },
  36153. "othercreditdecrease": {
  36154. "description": "今日其它授信减少",
  36155. "type": "number"
  36156. },
  36157. "othercreditincrease": {
  36158. "description": "今日其它授信增加",
  36159. "type": "number"
  36160. },
  36161. "otherfreezemargin": {
  36162. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  36163. "type": "number"
  36164. },
  36165. "otherincome": {
  36166. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  36167. "type": "number"
  36168. },
  36169. "otherpay": {
  36170. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  36171. "type": "number"
  36172. },
  36173. "outamount": {
  36174. "description": "今日出金金额(包括三方出金)",
  36175. "type": "number"
  36176. },
  36177. "outamountfreeze": {
  36178. "description": "出金冻结",
  36179. "type": "number"
  36180. },
  36181. "outthreshold": {
  36182. "description": "出金阈值",
  36183. "type": "number"
  36184. },
  36185. "parentaccountid": {
  36186. "description": "所属根账号",
  36187. "type": "integer"
  36188. },
  36189. "paycharge": {
  36190. "description": "今日手续费支出",
  36191. "type": "number"
  36192. },
  36193. "relatedaccountstatus": {
  36194. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  36195. "type": "integer"
  36196. },
  36197. "relateduserid": {
  36198. "description": "关联用户",
  36199. "type": "integer"
  36200. },
  36201. "remainamount": {
  36202. "description": "融资额(从融资合同中统计)",
  36203. "type": "number"
  36204. },
  36205. "serivcegroup": {
  36206. "description": "服务分组",
  36207. "type": "integer"
  36208. },
  36209. "signstatus": {
  36210. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  36211. "type": "integer"
  36212. },
  36213. "sublevelpath": {
  36214. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  36215. "type": "string"
  36216. },
  36217. "taaccounttype": {
  36218. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  36219. "type": "integer"
  36220. },
  36221. "thirdinamount": {
  36222. "description": "今日三方入金",
  36223. "type": "number"
  36224. },
  36225. "thirdoutamount": {
  36226. "description": "今日三方出金",
  36227. "type": "number"
  36228. },
  36229. "tradestatus": {
  36230. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  36231. "type": "integer"
  36232. },
  36233. "tradestatuschangetime": {
  36234. "description": "激活时间",
  36235. "type": "string"
  36236. },
  36237. "transferamount": {
  36238. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  36239. "type": "number"
  36240. },
  36241. "usedmargin": {
  36242. "description": "占用保证金",
  36243. "type": "number"
  36244. },
  36245. "userid": {
  36246. "description": "用户ID",
  36247. "type": "integer"
  36248. }
  36249. }
  36250. },
  36251. "models.Tablecolumnconfig": {
  36252. "type": "object",
  36253. "required": [
  36254. "autoid"
  36255. ],
  36256. "properties": {
  36257. "aligntype": {
  36258. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  36259. "type": "integer"
  36260. },
  36261. "autoid": {
  36262. "description": "AutoID",
  36263. "type": "integer"
  36264. },
  36265. "columnfield": {
  36266. "description": "列字段",
  36267. "type": "string"
  36268. },
  36269. "columntitle": {
  36270. "description": "列Title",
  36271. "type": "string"
  36272. },
  36273. "columnwidth": {
  36274. "description": "列宽",
  36275. "type": "string"
  36276. },
  36277. "formatterstring": {
  36278. "description": "格式化字符",
  36279. "type": "string"
  36280. },
  36281. "formattertype": {
  36282. "description": "格式化类型",
  36283. "type": "string"
  36284. },
  36285. "groupname": {
  36286. "description": "表头分组名称",
  36287. "type": "string"
  36288. },
  36289. "isshow": {
  36290. "description": "是否显示 - 0:不显示 1:显示",
  36291. "type": "integer"
  36292. },
  36293. "needsummary": {
  36294. "description": "是否需要汇总 - 0:不需要 1:需要",
  36295. "type": "integer"
  36296. },
  36297. "orderindex": {
  36298. "description": "顺序",
  36299. "type": "integer"
  36300. },
  36301. "remark": {
  36302. "description": "备注",
  36303. "type": "string"
  36304. },
  36305. "summarytype": {
  36306. "description": "汇总类型 - 1:加总 2:最后一个",
  36307. "type": "integer"
  36308. },
  36309. "tablekey": {
  36310. "description": "列表Key",
  36311. "type": "string"
  36312. }
  36313. }
  36314. },
  36315. "models.TjmdHolderDetailTradeInfo": {
  36316. "type": "object",
  36317. "properties": {
  36318. "agreeunit": {
  36319. "description": "合约乘数",
  36320. "type": "number"
  36321. },
  36322. "buyaccountid": {
  36323. "description": "买方账户",
  36324. "type": "string"
  36325. },
  36326. "buyusername": {
  36327. "description": "买方",
  36328. "type": "string"
  36329. },
  36330. "delistingdate": {
  36331. "description": "最后结算日",
  36332. "type": "string"
  36333. },
  36334. "expiredate": {
  36335. "description": "到期结算价定价日",
  36336. "type": "string"
  36337. },
  36338. "exprieprice": {
  36339. "description": "到期清算价格",
  36340. "type": "string"
  36341. },
  36342. "goodscode": {
  36343. "description": "商品代码",
  36344. "type": "string"
  36345. },
  36346. "goodsid": {
  36347. "description": "商品ID",
  36348. "type": "integer"
  36349. },
  36350. "goodsname": {
  36351. "description": "商品名称(交易标的)",
  36352. "type": "string"
  36353. },
  36354. "lasttradedate": {
  36355. "description": "最后交易日",
  36356. "type": "string"
  36357. },
  36358. "listingdate": {
  36359. "description": "开始交易日",
  36360. "type": "string"
  36361. },
  36362. "openprice": {
  36363. "description": "成交价",
  36364. "type": "number"
  36365. },
  36366. "openqty": {
  36367. "description": "交易数量",
  36368. "type": "integer"
  36369. },
  36370. "sellaccountid": {
  36371. "description": "卖方账户",
  36372. "type": "string"
  36373. },
  36374. "sellusername": {
  36375. "description": "卖方",
  36376. "type": "string"
  36377. },
  36378. "tradeamount": {
  36379. "description": "初始名义价值",
  36380. "type": "number"
  36381. },
  36382. "tradedate": {
  36383. "description": "成交日期",
  36384. "type": "string"
  36385. },
  36386. "tradeid": {
  36387. "description": "成交编号",
  36388. "type": "string"
  36389. }
  36390. }
  36391. },
  36392. "models.TjmdMarketSection": {
  36393. "type": "object",
  36394. "properties": {
  36395. "marketsectionid": {
  36396. "description": "市场版块ID(SEQ_MARKETSECTION)",
  36397. "type": "integer"
  36398. },
  36399. "marketsectionname": {
  36400. "description": "市场版块名称",
  36401. "type": "string"
  36402. },
  36403. "mlist": {
  36404. "description": "市场列表(板块下面有多少个市场)",
  36405. "type": "array",
  36406. "items": {
  36407. "$ref": "#/definitions/models.TjmdMarketSectionConfig"
  36408. }
  36409. },
  36410. "orderindex": {
  36411. "description": "排序",
  36412. "type": "integer"
  36413. },
  36414. "pictureurl": {
  36415. "description": "图片url, 规格(90*90)",
  36416. "type": "string"
  36417. },
  36418. "remark": {
  36419. "description": "备注",
  36420. "type": "string"
  36421. }
  36422. }
  36423. },
  36424. "models.TjmdMarketSectionConfig": {
  36425. "type": "object",
  36426. "properties": {
  36427. "auctionwrtype": {
  36428. "description": "仓单类型(现货交易) - 1:无仓单 2:有仓单 3;有无仓单均可",
  36429. "type": "integer"
  36430. },
  36431. "canacceptquote": {
  36432. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  36433. "type": "integer"
  36434. },
  36435. "cangoodsexercise": {
  36436. "description": "[期权]是否可现货行权- 0:否 1:是",
  36437. "type": "integer"
  36438. },
  36439. "cangoodsexercisetype": {
  36440. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  36441. "type": "integer"
  36442. },
  36443. "canmanualquotestrike": {
  36444. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  36445. "type": "integer"
  36446. },
  36447. "canmutistage": {
  36448. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  36449. "type": "integer"
  36450. },
  36451. "canpreexercise": {
  36452. "description": "[期权]是否可预申报- 0:否 1:是",
  36453. "type": "integer"
  36454. },
  36455. "clearinterval": {
  36456. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  36457. "type": "integer"
  36458. },
  36459. "contracttmp": {
  36460. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  36461. "type": "string"
  36462. },
  36463. "exchareaid": {
  36464. "description": "所属交易所,可以没有",
  36465. "type": "integer"
  36466. },
  36467. "financemarketid": {
  36468. "description": "融资回购市场ID [仓单贸易]",
  36469. "type": "integer"
  36470. },
  36471. "goodstype": {
  36472. "description": "商品类型 - 1:交易商品 2:仓单商品",
  36473. "type": "integer"
  36474. },
  36475. "hasrebate": {
  36476. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  36477. "type": "integer"
  36478. },
  36479. "hastradecredit": {
  36480. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  36481. "type": "integer"
  36482. },
  36483. "haswr": {
  36484. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  36485. "type": "integer"
  36486. },
  36487. "isdeductmargin": {
  36488. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  36489. "type": "integer"
  36490. },
  36491. "isrecordsource": {
  36492. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  36493. "type": "integer"
  36494. },
  36495. "isreleasemargin": {
  36496. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  36497. "type": "integer"
  36498. },
  36499. "isupdatereckonprice": {
  36500. "description": "输入结算价标识 - 0:系统生成 1:手工输入(自动) 2:手工输入(手动)",
  36501. "type": "integer"
  36502. },
  36503. "listingmode": {
  36504. "description": "挂牌方式 1:一口价 2:浮动价 3:贸易圈 4:协议指定",
  36505. "type": "integer"
  36506. },
  36507. "marginformula": {
  36508. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  36509. "type": "integer"
  36510. },
  36511. "marginformula2": {
  36512. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  36513. "type": "integer"
  36514. },
  36515. "marketid": {
  36516. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  36517. "type": "integer"
  36518. },
  36519. "marketname": {
  36520. "description": "市场名称",
  36521. "type": "string"
  36522. },
  36523. "marketsectionid": {
  36524. "description": "市场版块ID(SEQ_MARKETSECTION)",
  36525. "type": "integer"
  36526. },
  36527. "marketserviceid": {
  36528. "description": "市场服务ID",
  36529. "type": "integer"
  36530. },
  36531. "marketstatus": {
  36532. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  36533. "type": "integer"
  36534. },
  36535. "markettype": {
  36536. "description": "市场类型- 1:非交易服务 2:交易服务",
  36537. "type": "integer"
  36538. },
  36539. "matchermode": {
  36540. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手 - 作废",
  36541. "type": "integer"
  36542. },
  36543. "nowrquotaflag": {
  36544. "description": "是否校验无仓单额度(仓单贸易) 0:否 1:是",
  36545. "type": "integer"
  36546. },
  36547. "openmethod": {
  36548. "description": "开盘模式 - 0 自动 1手动",
  36549. "type": "integer"
  36550. },
  36551. "orderindex": {
  36552. "description": "排序",
  36553. "type": "integer"
  36554. },
  36555. "otcuserid": {
  36556. "description": "场外期权做市商[场外期权]",
  36557. "type": "integer"
  36558. },
  36559. "outersynctime": {
  36560. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  36561. "type": "string"
  36562. },
  36563. "paylaterflag": {
  36564. "description": "是否支持后付 - 0:不支持 1;支持 - [挂牌点选 所有权、预售挂牌支持]",
  36565. "type": "integer"
  36566. },
  36567. "pendingflag": {
  36568. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  36569. "type": "integer"
  36570. },
  36571. "pendingtime": {
  36572. "description": "待开市时间[通道交易-对冲](HH:mm)",
  36573. "type": "string"
  36574. },
  36575. "performancetempid": {
  36576. "description": "履约计划模板ID - 作废",
  36577. "type": "integer"
  36578. },
  36579. "premiumquotemode": {
  36580. "description": "权利金报价方式 - 1:自动 2:手动",
  36581. "type": "integer"
  36582. },
  36583. "rebateratio": {
  36584. "description": "返利比率[竞价式]",
  36585. "type": "number"
  36586. },
  36587. "reckonorder": {
  36588. "description": "结算顺序",
  36589. "type": "integer"
  36590. },
  36591. "reckonpricealgorithm": {
  36592. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  36593. "type": "integer"
  36594. },
  36595. "reckonpriceparam": {
  36596. "description": "结算价参数",
  36597. "type": "integer"
  36598. },
  36599. "reckontime": {
  36600. "description": "结算时间[通道交易-对冲](HH:mm)",
  36601. "type": "string"
  36602. },
  36603. "roleprioritytype": {
  36604. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  36605. "type": "integer"
  36606. },
  36607. "selllistingauditflag": {
  36608. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  36609. "type": "integer"
  36610. },
  36611. "trademarkettype": {
  36612. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  36613. "type": "integer"
  36614. },
  36615. "trademode": {
  36616. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  36617. "type": "integer"
  36618. },
  36619. "tradeproperty": {
  36620. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  36621. "type": "integer"
  36622. },
  36623. "tradetype": {
  36624. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  36625. "type": "integer"
  36626. },
  36627. "updatereckonpriceinterval": {
  36628. "description": "输入结算价时长(分钟) [1:手工输入(自动)]",
  36629. "type": "integer"
  36630. }
  36631. }
  36632. },
  36633. "models.TjmdQuoteGoods": {
  36634. "type": "object",
  36635. "properties": {
  36636. "buyqty": {
  36637. "description": "买量(暂不做, 无值, 保留字段)",
  36638. "type": "number"
  36639. },
  36640. "decimalplace": {
  36641. "description": "报价小数位",
  36642. "type": "integer"
  36643. },
  36644. "goodscode": {
  36645. "description": "合约代码",
  36646. "type": "string"
  36647. },
  36648. "goodsgroupid": {
  36649. "description": "商品组ID(自增ID)",
  36650. "type": "integer"
  36651. },
  36652. "goodsgroupname": {
  36653. "description": "商品组名称",
  36654. "type": "string"
  36655. },
  36656. "goodsid": {
  36657. "description": "合约id",
  36658. "type": "integer"
  36659. },
  36660. "goodsname": {
  36661. "description": "合约名称",
  36662. "type": "string"
  36663. },
  36664. "refgoodscode": {
  36665. "description": "标的合约代码",
  36666. "type": "string"
  36667. },
  36668. "refgoodsid": {
  36669. "description": "标的合约id",
  36670. "type": "integer"
  36671. },
  36672. "refgoodsname": {
  36673. "description": "标的合约名称",
  36674. "type": "string"
  36675. },
  36676. "sellqty": {
  36677. "description": "卖量(暂不做, 无值, 保留字段)",
  36678. "type": "number"
  36679. }
  36680. }
  36681. },
  36682. "models.TjmdTodayAccountMargin": {
  36683. "type": "object",
  36684. "properties": {
  36685. "accountid": {
  36686. "description": "账号ID",
  36687. "type": "integer"
  36688. },
  36689. "goodsid": {
  36690. "description": "商品ID",
  36691. "type": "integer"
  36692. },
  36693. "infoc": {
  36694. "description": "配置参数",
  36695. "$ref": "#/definitions/pb.GoodsMarginCfgStruct"
  36696. },
  36697. "marketid": {
  36698. "description": "市场ID",
  36699. "type": "integer"
  36700. }
  36701. }
  36702. },
  36703. "models.TjmdTradeOrderDetail": {
  36704. "type": "object",
  36705. "properties": {
  36706. "buyorsell": {
  36707. "description": "买卖方向 0-买 1-卖",
  36708. "type": "integer"
  36709. },
  36710. "goodsid": {
  36711. "description": "商品id",
  36712. "type": "integer"
  36713. },
  36714. "marketmaxsub": {
  36715. "description": "市价最大偏移范围 [浮动价 - 点差]",
  36716. "type": "number"
  36717. },
  36718. "orderid": {
  36719. "description": "委托单号",
  36720. "type": "string"
  36721. },
  36722. "orderprice": {
  36723. "description": "委托价格",
  36724. "type": "number"
  36725. },
  36726. "orderqty": {
  36727. "description": "委托数量",
  36728. "type": "integer"
  36729. },
  36730. "pricemode": {
  36731. "description": "取价方式 - 1:市价 2: 限价 3:浮动价",
  36732. "type": "integer"
  36733. },
  36734. "userid": {
  36735. "description": "用户id",
  36736. "type": "integer"
  36737. },
  36738. "username": {
  36739. "description": "用户名称(已脱敏)",
  36740. "type": "string"
  36741. }
  36742. }
  36743. },
  36744. "models.TjmdTransferApply": {
  36745. "type": "object",
  36746. "properties": {
  36747. "applyid": {
  36748. "description": "申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)",
  36749. "type": "integer"
  36750. },
  36751. "applystatus": {
  36752. "description": "状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销",
  36753. "type": "integer"
  36754. },
  36755. "applytime": {
  36756. "description": "申请时间(时间)",
  36757. "type": "string"
  36758. },
  36759. "auditremark": {
  36760. "description": "审核备注(拒绝原因?)",
  36761. "type": "string"
  36762. },
  36763. "begindate": {
  36764. "description": "开始交易日(yyyymmdd)",
  36765. "type": "string"
  36766. },
  36767. "buyorsell": {
  36768. "description": "买卖 - 0:买 1:卖",
  36769. "type": "integer"
  36770. },
  36771. "enddate": {
  36772. "description": "结束交易日(yyyymmdd)",
  36773. "type": "string"
  36774. },
  36775. "goodscode": {
  36776. "description": "商品代码",
  36777. "type": "string"
  36778. },
  36779. "goodsid": {
  36780. "description": "商品ID",
  36781. "type": "integer"
  36782. },
  36783. "goodsname": {
  36784. "description": "商品名称",
  36785. "type": "string"
  36786. },
  36787. "marketid": {
  36788. "description": "市场ID",
  36789. "type": "integer"
  36790. },
  36791. "qty": {
  36792. "description": "转让数量(数量)",
  36793. "type": "number"
  36794. },
  36795. "tradeid": {
  36796. "description": "成交单号(关联持仓)",
  36797. "type": "string"
  36798. },
  36799. "transferamount": {
  36800. "description": "转让总金额(金额)",
  36801. "type": "number"
  36802. },
  36803. "transferprice": {
  36804. "description": "转让价格(协议价格)",
  36805. "type": "number"
  36806. }
  36807. }
  36808. },
  36809. "models.TradeHolderDetail": {
  36810. "type": "object",
  36811. "properties": {
  36812. "accountid": {
  36813. "description": "账号ID",
  36814. "type": "integer"
  36815. },
  36816. "agreeunit": {
  36817. "description": "合约乘数",
  36818. "type": "number"
  36819. },
  36820. "buyorsell": {
  36821. "description": "方向 - 0:买 1:卖",
  36822. "type": "integer"
  36823. },
  36824. "currencyid": {
  36825. "description": "商品币种id",
  36826. "type": "integer"
  36827. },
  36828. "currencyname": {
  36829. "description": "币种名称",
  36830. "type": "string"
  36831. },
  36832. "decimalplace": {
  36833. "description": "商品价格小数位",
  36834. "type": "integer"
  36835. },
  36836. "enumdicname": {
  36837. "description": "商品单位名称",
  36838. "type": "string"
  36839. },
  36840. "expirecycle": {
  36841. "description": "行权周期(天) - 1:滚动行权时填写",
  36842. "type": "integer"
  36843. },
  36844. "expiredate": {
  36845. "description": "行权日(yyyyMMdd) - 到期日",
  36846. "type": "string"
  36847. },
  36848. "expiretype": {
  36849. "description": "行权日类型 - 1:滚动行权 2:固定日行权",
  36850. "type": "integer"
  36851. },
  36852. "freezeqty": {
  36853. "description": "冻结数量",
  36854. "type": "number"
  36855. },
  36856. "goodscode": {
  36857. "description": "商品代码",
  36858. "type": "string"
  36859. },
  36860. "goodsid": {
  36861. "description": "商品ID",
  36862. "type": "integer"
  36863. },
  36864. "goodsname": {
  36865. "description": "商品名称",
  36866. "type": "string"
  36867. },
  36868. "goodunitid": {
  36869. "description": "商品单位id",
  36870. "type": "integer"
  36871. },
  36872. "holderamount": {
  36873. "description": "持仓金额",
  36874. "type": "number"
  36875. },
  36876. "holdercredit": {
  36877. "description": "持仓授信金额",
  36878. "type": "number"
  36879. },
  36880. "holderdays": {
  36881. "description": "剩余冻结天数",
  36882. "type": "integer"
  36883. },
  36884. "holderprice": {
  36885. "description": "持仓价格",
  36886. "type": "number"
  36887. },
  36888. "holderqty": {
  36889. "description": "持仓数量",
  36890. "type": "number"
  36891. },
  36892. "isconfirmexercise": {
  36893. "description": "是否确认行权- 0:否 1:是",
  36894. "type": "integer"
  36895. },
  36896. "ispreexercise": {
  36897. "description": "是否预申报- 0:否 1:是 2:不可行权",
  36898. "type": "integer"
  36899. },
  36900. "marketid": {
  36901. "description": "市场id",
  36902. "type": "integer"
  36903. },
  36904. "marketname": {
  36905. "description": "市场名称",
  36906. "type": "string"
  36907. },
  36908. "openprice": {
  36909. "description": "建仓价格",
  36910. "type": "number"
  36911. },
  36912. "openqty": {
  36913. "description": "建仓数量",
  36914. "type": "number"
  36915. },
  36916. "optiontype": {
  36917. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  36918. "type": "integer"
  36919. },
  36920. "preexerciseprice": {
  36921. "description": "预申报价格",
  36922. "type": "number"
  36923. },
  36924. "premium": {
  36925. "description": "权利金",
  36926. "type": "number"
  36927. },
  36928. "qtydecimalplace": {
  36929. "description": "商品成交量小数位",
  36930. "type": "integer"
  36931. },
  36932. "refgoodscode": {
  36933. "description": "标的合约代码",
  36934. "type": "string"
  36935. },
  36936. "refgoodsid": {
  36937. "description": "标的合约id",
  36938. "type": "integer"
  36939. },
  36940. "releaseamount": {
  36941. "description": "释放持仓金额",
  36942. "type": "number"
  36943. },
  36944. "releaseholdercredit": {
  36945. "description": "释放持仓授信金额",
  36946. "type": "number"
  36947. },
  36948. "taname": {
  36949. "description": "资金账号名称",
  36950. "type": "string"
  36951. },
  36952. "tradeamount": {
  36953. "description": "成交金额",
  36954. "type": "number"
  36955. },
  36956. "tradedate": {
  36957. "description": "交易日(yyyyMMdd)",
  36958. "type": "string"
  36959. },
  36960. "tradeid": {
  36961. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  36962. "type": "string"
  36963. },
  36964. "trademode": {
  36965. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价 46:掉期",
  36966. "type": "integer"
  36967. },
  36968. "tradeproperty": {
  36969. "description": "交易属性",
  36970. "type": "integer"
  36971. },
  36972. "tradetime": {
  36973. "description": "交易时间",
  36974. "type": "string"
  36975. },
  36976. "userid": {
  36977. "description": "用户id",
  36978. "type": "integer"
  36979. },
  36980. "username": {
  36981. "description": "用户名称",
  36982. "type": "string"
  36983. }
  36984. }
  36985. },
  36986. "models.Unlinkermcphedgeplan": {
  36987. "type": "object",
  36988. "required": [
  36989. "areauserid"
  36990. ],
  36991. "properties": {
  36992. "accountid": {
  36993. "description": "期货账户ID - 作废",
  36994. "type": "integer"
  36995. },
  36996. "accountname": {
  36997. "description": "交易用户",
  36998. "type": "string"
  36999. },
  37000. "applyid": {
  37001. "description": "申请人",
  37002. "type": "integer"
  37003. },
  37004. "applysrc": {
  37005. "description": "申请来源 - 1:管理端 2:终端",
  37006. "type": "integer"
  37007. },
  37008. "applytime": {
  37009. "description": "申请时间",
  37010. "type": "string"
  37011. },
  37012. "areauserid": {
  37013. "description": "[企业ID]机构ID",
  37014. "type": "integer"
  37015. },
  37016. "auditid": {
  37017. "description": "审核人",
  37018. "type": "integer"
  37019. },
  37020. "auditremark": {
  37021. "description": "审核备注",
  37022. "type": "string"
  37023. },
  37024. "auditsrc": {
  37025. "description": "审核来源 - 1:管理端 2:终端",
  37026. "type": "integer"
  37027. },
  37028. "audittime": {
  37029. "description": "审核时间",
  37030. "type": "string"
  37031. },
  37032. "audittradedate": {
  37033. "description": "审核交易日(yyyyMMdd)",
  37034. "type": "string"
  37035. },
  37036. "biztype": {
  37037. "description": "业务类型 - 1:套保",
  37038. "type": "integer"
  37039. },
  37040. "contracttype": {
  37041. "description": "计划类型 - 1:采购 -1:销售",
  37042. "type": "integer"
  37043. },
  37044. "convertfactor": {
  37045. "description": "标仓系数 - 作废",
  37046. "type": "number"
  37047. },
  37048. "createtime": {
  37049. "description": "创建时间",
  37050. "type": "string"
  37051. },
  37052. "currencyid": {
  37053. "description": "结算币种ID - 作废",
  37054. "type": "integer"
  37055. },
  37056. "deliverygoodsid": {
  37057. "description": "现货品种ID",
  37058. "type": "integer"
  37059. },
  37060. "enumdicname": {
  37061. "description": "结算币种",
  37062. "type": "string"
  37063. },
  37064. "hedgeplanid": {
  37065. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  37066. "type": "string"
  37067. },
  37068. "hedgeplanno": {
  37069. "description": "[计划编号]套保计划编号,模糊查询",
  37070. "type": "string"
  37071. },
  37072. "hedgeplanstatus": {
  37073. "description": "[状态]套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  37074. "type": "integer"
  37075. },
  37076. "isrelated": {
  37077. "description": "是否已关联计划项目 - 0:否 1:是",
  37078. "type": "integer"
  37079. },
  37080. "planqty": {
  37081. "description": "[计划量]计划数量",
  37082. "type": "number"
  37083. },
  37084. "plantime": {
  37085. "description": "计划时间",
  37086. "type": "string"
  37087. },
  37088. "producttype": {
  37089. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  37090. "type": "integer"
  37091. },
  37092. "remark": {
  37093. "description": "备注",
  37094. "type": "string"
  37095. },
  37096. "spotgoodsdesc": {
  37097. "description": "商品型号",
  37098. "type": "string"
  37099. },
  37100. "tradedate": {
  37101. "description": "交易日(yyyyMMdd)",
  37102. "type": "string"
  37103. },
  37104. "tradeuserid": {
  37105. "description": "交易用户ID",
  37106. "type": "integer"
  37107. },
  37108. "updatetime": {
  37109. "description": "更新时间",
  37110. "type": "string"
  37111. },
  37112. "wrstandardid": {
  37113. "description": "现货商品ID",
  37114. "type": "integer"
  37115. },
  37116. "wrstandardname": {
  37117. "description": "现货商品,模糊查询",
  37118. "type": "string"
  37119. }
  37120. }
  37121. },
  37122. "models.UserCollectConfig": {
  37123. "type": "object",
  37124. "properties": {
  37125. "accountstatus": {
  37126. "description": "账户状态 - 1:正常 2:停用 3:注销",
  37127. "type": "integer"
  37128. },
  37129. "collectaccountname": {
  37130. "description": "收款人账户名称",
  37131. "type": "string"
  37132. },
  37133. "collectaccountno": {
  37134. "description": "收款人账户",
  37135. "type": "string"
  37136. },
  37137. "collectbankname": {
  37138. "description": "收款人开户行",
  37139. "type": "string"
  37140. },
  37141. "collectbranchbankname": {
  37142. "description": "收款人开户支行",
  37143. "type": "string"
  37144. },
  37145. "collectconfigid": {
  37146. "description": "收款账户配置ID(SEQ_USERCOLLECTCONFIG)",
  37147. "type": "string"
  37148. },
  37149. "remark": {
  37150. "description": "备注",
  37151. "type": "string"
  37152. },
  37153. "userid": {
  37154. "description": "收款人用户ID",
  37155. "type": "integer"
  37156. }
  37157. }
  37158. },
  37159. "models.UserReceiveInfo": {
  37160. "type": "object",
  37161. "properties": {
  37162. "address": {
  37163. "description": "提货人详细地址",
  37164. "type": "string"
  37165. },
  37166. "autoid": {
  37167. "description": "AutoID",
  37168. "type": "integer"
  37169. },
  37170. "cardnum": {
  37171. "description": "证件号码(加密存储)",
  37172. "type": "string"
  37173. },
  37174. "cardtypeid": {
  37175. "description": "证件类型",
  37176. "type": "integer"
  37177. },
  37178. "cityid": {
  37179. "description": "市",
  37180. "type": "integer"
  37181. },
  37182. "cityname": {
  37183. "description": "城市名称",
  37184. "type": "string"
  37185. },
  37186. "countryid": {
  37187. "description": "国家",
  37188. "type": "integer"
  37189. },
  37190. "countryname": {
  37191. "description": "国家名称",
  37192. "type": "string"
  37193. },
  37194. "districtid": {
  37195. "description": "地区",
  37196. "type": "integer"
  37197. },
  37198. "districtname": {
  37199. "description": "地区名称",
  37200. "type": "string"
  37201. },
  37202. "hasencrypt": {
  37203. "description": "数据是否已加密 - 0:未加密 1:已加密",
  37204. "type": "integer"
  37205. },
  37206. "isdefault": {
  37207. "description": "是否默认地址 - 0:否 1:是",
  37208. "type": "integer"
  37209. },
  37210. "phonenum": {
  37211. "description": "提货人联系方式(加密存储)",
  37212. "type": "string"
  37213. },
  37214. "provinceid": {
  37215. "description": "省",
  37216. "type": "integer"
  37217. },
  37218. "provincename": {
  37219. "description": "省名称",
  37220. "type": "string"
  37221. },
  37222. "receivername": {
  37223. "description": "提货人姓名",
  37224. "type": "string"
  37225. },
  37226. "takeremark": {
  37227. "description": "提货备注",
  37228. "type": "string"
  37229. },
  37230. "userid": {
  37231. "description": "用户ID",
  37232. "type": "integer"
  37233. }
  37234. }
  37235. },
  37236. "models.Useraccount": {
  37237. "type": "object",
  37238. "required": [
  37239. "userid"
  37240. ],
  37241. "properties": {
  37242. "accountname": {
  37243. "description": "账户名称(机构名称)",
  37244. "type": "string"
  37245. },
  37246. "accountstatus": {
  37247. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  37248. "type": "integer"
  37249. },
  37250. "applysrc": {
  37251. "description": "申请来源 - 1:管理端 2:终端",
  37252. "type": "integer"
  37253. },
  37254. "auditremark": {
  37255. "description": "审核备注",
  37256. "type": "string"
  37257. },
  37258. "auditsrc": {
  37259. "description": "审核来源 - 1:管理端 2:终端",
  37260. "type": "integer"
  37261. },
  37262. "audittime": {
  37263. "description": "审核时间",
  37264. "type": "string"
  37265. },
  37266. "audituserid": {
  37267. "description": "审核人",
  37268. "type": "integer"
  37269. },
  37270. "broker": {
  37271. "description": "所属经纪人ID",
  37272. "type": "integer"
  37273. },
  37274. "canceltime": {
  37275. "description": "销户时间",
  37276. "type": "string"
  37277. },
  37278. "canceluserid": {
  37279. "description": "销户人",
  37280. "type": "integer"
  37281. },
  37282. "canrecommend": {
  37283. "description": "是否可推荐 - 0:不可 1;可",
  37284. "type": "integer"
  37285. },
  37286. "createtime": {
  37287. "description": "创建时间",
  37288. "type": "string"
  37289. },
  37290. "creatorid": {
  37291. "description": "创建人",
  37292. "type": "integer"
  37293. },
  37294. "hasauth": {
  37295. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  37296. "type": "integer"
  37297. },
  37298. "isanonymous": {
  37299. "description": "是否匿名下单 - 0:否 1:是",
  37300. "type": "integer"
  37301. },
  37302. "maxinvestornum": {
  37303. "description": "最大用户数(经纪会员下投资者个数)",
  37304. "type": "integer"
  37305. },
  37306. "memberuserid": {
  37307. "description": "所属会员ID",
  37308. "type": "integer"
  37309. },
  37310. "modifierid": {
  37311. "description": "修改人",
  37312. "type": "integer"
  37313. },
  37314. "modifyremark": {
  37315. "description": "变更备注",
  37316. "type": "string"
  37317. },
  37318. "modifystatus": {
  37319. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  37320. "type": "integer"
  37321. },
  37322. "modifytime": {
  37323. "description": "修改时间",
  37324. "type": "string"
  37325. },
  37326. "parenttopuser": {
  37327. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  37328. "type": "string"
  37329. },
  37330. "parentuserid": {
  37331. "description": "所属机构ID",
  37332. "type": "integer"
  37333. },
  37334. "reckonaccountid": {
  37335. "description": "默认结算资金账号ID(机构分润使用) 作废",
  37336. "type": "integer"
  37337. },
  37338. "refercount": {
  37339. "description": "推荐总人数",
  37340. "type": "integer"
  37341. },
  37342. "refereeuserid": {
  37343. "description": "推荐人ID",
  37344. "type": "integer"
  37345. },
  37346. "refernum": {
  37347. "description": "推荐码",
  37348. "type": "string"
  37349. },
  37350. "rootuserid": {
  37351. "description": "根用户ID",
  37352. "type": "integer"
  37353. },
  37354. "subaccountlevel": {
  37355. "description": "子账户层数",
  37356. "type": "integer"
  37357. },
  37358. "subarealevelpath": {
  37359. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  37360. "type": "string"
  37361. },
  37362. "userid": {
  37363. "description": "用户ID",
  37364. "type": "integer"
  37365. },
  37366. "usertype": {
  37367. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  37368. "type": "integer"
  37369. }
  37370. }
  37371. },
  37372. "models.Userfavoritegoods": {
  37373. "type": "object",
  37374. "required": [
  37375. "goodsid"
  37376. ],
  37377. "properties": {
  37378. "goodsid": {
  37379. "description": "商品ID",
  37380. "type": "integer"
  37381. }
  37382. }
  37383. },
  37384. "models.Userinfo": {
  37385. "type": "object",
  37386. "required": [
  37387. "userid"
  37388. ],
  37389. "properties": {
  37390. "address": {
  37391. "description": "地址",
  37392. "type": "string"
  37393. },
  37394. "attachment1": {
  37395. "description": "附件1",
  37396. "type": "string"
  37397. },
  37398. "attachment2": {
  37399. "description": "附件2",
  37400. "type": "string"
  37401. },
  37402. "bankaccount": {
  37403. "description": "银行帐号 (加密存储)",
  37404. "type": "string"
  37405. },
  37406. "bankaccountname": {
  37407. "description": "收款人名称",
  37408. "type": "string"
  37409. },
  37410. "bankcardfrontphotourl": {
  37411. "description": "银行卡正面照地址",
  37412. "type": "string"
  37413. },
  37414. "bankid": {
  37415. "description": "银行编码",
  37416. "type": "string"
  37417. },
  37418. "bankname": {
  37419. "description": "银行名称",
  37420. "type": "string"
  37421. },
  37422. "biznature": {
  37423. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  37424. "type": "integer"
  37425. },
  37426. "bizscope": {
  37427. "description": "企业经营范围(企业)",
  37428. "type": "string"
  37429. },
  37430. "cardbackphotourl": {
  37431. "description": "证件背面图片地址",
  37432. "type": "string"
  37433. },
  37434. "cardfrontphotourl": {
  37435. "description": "证件正面图片地址",
  37436. "type": "string"
  37437. },
  37438. "cardnum": {
  37439. "description": "证件号码(加密存储)",
  37440. "type": "string"
  37441. },
  37442. "cardtypeid": {
  37443. "description": "证件类型ID",
  37444. "type": "integer"
  37445. },
  37446. "cityid": {
  37447. "description": "市",
  37448. "type": "integer"
  37449. },
  37450. "company": {
  37451. "description": "公司(个人)",
  37452. "type": "string"
  37453. },
  37454. "contactname": {
  37455. "description": "联系人",
  37456. "type": "string"
  37457. },
  37458. "countryid": {
  37459. "description": "国家",
  37460. "type": "integer"
  37461. },
  37462. "createtime": {
  37463. "description": "创建时间",
  37464. "type": "string"
  37465. },
  37466. "creatorid": {
  37467. "description": "创建人",
  37468. "type": "integer"
  37469. },
  37470. "customername": {
  37471. "description": "客户名称(企业名称)",
  37472. "type": "string"
  37473. },
  37474. "districtid": {
  37475. "description": "地区",
  37476. "type": "integer"
  37477. },
  37478. "email": {
  37479. "description": "邮件(加密存储)",
  37480. "type": "string"
  37481. },
  37482. "fax": {
  37483. "description": "传真(加密存储)",
  37484. "type": "string"
  37485. },
  37486. "halfbodyphotourl": {
  37487. "description": "半身照地址",
  37488. "type": "string"
  37489. },
  37490. "hasencrypt": {
  37491. "description": "数据是否已加密 - 0:未加密 1:已加密",
  37492. "type": "integer"
  37493. },
  37494. "headurl": {
  37495. "description": "头像地址",
  37496. "type": "string"
  37497. },
  37498. "legalcardbackphotourl": {
  37499. "description": "法人身份证背面照地址",
  37500. "type": "string"
  37501. },
  37502. "legalcardfrontphotourl": {
  37503. "description": "法人身份证正面照地址",
  37504. "type": "string"
  37505. },
  37506. "legalpersonname": {
  37507. "description": "法人姓名(企业)",
  37508. "type": "string"
  37509. },
  37510. "mobile": {
  37511. "description": "手机号码(加密存储)",
  37512. "type": "string"
  37513. },
  37514. "mobile2": {
  37515. "description": "手机号码[明文-尚志]",
  37516. "type": "string"
  37517. },
  37518. "modifierid": {
  37519. "description": "修改人",
  37520. "type": "integer"
  37521. },
  37522. "modifiertime": {
  37523. "description": "修改时间",
  37524. "type": "string"
  37525. },
  37526. "needinvoice": {
  37527. "description": "是否需要发票 - 0:不需要 1:需要",
  37528. "type": "integer"
  37529. },
  37530. "nickname": {
  37531. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  37532. "type": "string"
  37533. },
  37534. "openmode": {
  37535. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  37536. "type": "integer"
  37537. },
  37538. "otherurl": {
  37539. "description": "其它图片地址[使用分号分隔]",
  37540. "type": "string"
  37541. },
  37542. "postalcode": {
  37543. "description": "邮政编码",
  37544. "type": "string"
  37545. },
  37546. "provinceid": {
  37547. "description": "省",
  37548. "type": "integer"
  37549. },
  37550. "qq": {
  37551. "description": "QQ(加密存储",
  37552. "type": "string"
  37553. },
  37554. "remark": {
  37555. "description": "备注",
  37556. "type": "string"
  37557. },
  37558. "sex": {
  37559. "description": "用户性别 0: 女 1: 男",
  37560. "type": "integer"
  37561. },
  37562. "signpdfurl": {
  37563. "description": "签约pdf文件",
  37564. "type": "string"
  37565. },
  37566. "telphone": {
  37567. "description": "联系电话(加密存储)",
  37568. "type": "string"
  37569. },
  37570. "userid": {
  37571. "description": "用户ID",
  37572. "type": "integer"
  37573. },
  37574. "userinfotype": {
  37575. "description": "用户信息类型 - 1:个人 2:企业",
  37576. "type": "integer"
  37577. },
  37578. "userstatus": {
  37579. "description": "用户状态 - 1:正常 2:注销",
  37580. "type": "integer"
  37581. },
  37582. "usertype": {
  37583. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  37584. "type": "integer"
  37585. },
  37586. "wechat": {
  37587. "description": "微信(加密存储)",
  37588. "type": "string"
  37589. },
  37590. "wskhinfo": {
  37591. "description": "开户申请信息(JSON)",
  37592. "type": "string"
  37593. }
  37594. }
  37595. },
  37596. "models.WRSConverTDetail": {
  37597. "type": "object",
  37598. "properties": {
  37599. "convertratio": {
  37600. "description": "套保系数",
  37601. "type": "number"
  37602. },
  37603. "deliverygoodscode": {
  37604. "description": "现货商品代码",
  37605. "type": "string"
  37606. },
  37607. "deliverygoodsid": {
  37608. "description": "现货品种ID",
  37609. "type": "integer"
  37610. },
  37611. "deliverygoodsname": {
  37612. "description": "现货商品名称",
  37613. "type": "string"
  37614. },
  37615. "enumdicname": {
  37616. "description": "单位名称",
  37617. "type": "string"
  37618. },
  37619. "goodsunitid": {
  37620. "description": "套保品种单位id",
  37621. "type": "integer"
  37622. },
  37623. "middlegoodscode": {
  37624. "description": "套保品种代码",
  37625. "type": "string"
  37626. },
  37627. "middlegoodsid": {
  37628. "description": "套保品种ID",
  37629. "type": "integer"
  37630. },
  37631. "middlegoodsname": {
  37632. "description": "套保品种名称",
  37633. "type": "string"
  37634. },
  37635. "modifytime": {
  37636. "description": "修改时间",
  37637. "type": "string"
  37638. },
  37639. "wrstandardid": {
  37640. "description": "品类ID",
  37641. "type": "integer"
  37642. }
  37643. }
  37644. },
  37645. "models.WRStandardInfo": {
  37646. "type": "object",
  37647. "required": [
  37648. "wrstandardid"
  37649. ],
  37650. "properties": {
  37651. "areauserid": {
  37652. "description": "所属机构",
  37653. "type": "integer"
  37654. },
  37655. "convertfactor": {
  37656. "description": "标仓系数",
  37657. "type": "number"
  37658. },
  37659. "createtime": {
  37660. "description": "创建时间",
  37661. "type": "string"
  37662. },
  37663. "creatorid": {
  37664. "description": "创建人",
  37665. "type": "integer"
  37666. },
  37667. "deliverygoodsid": {
  37668. "description": "品种ID",
  37669. "type": "integer"
  37670. },
  37671. "deliverygoodsname": {
  37672. "description": "交割商品名称",
  37673. "type": "string"
  37674. },
  37675. "factoryitemjson": {
  37676. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  37677. "type": "string"
  37678. },
  37679. "isvalid": {
  37680. "description": "是否有效 - 0:无效 1:有效",
  37681. "type": "integer"
  37682. },
  37683. "minivalue": {
  37684. "description": "最小变动值",
  37685. "type": "integer"
  37686. },
  37687. "minivaluedp": {
  37688. "description": "最小变动值小数位",
  37689. "type": "integer"
  37690. },
  37691. "realminivalue": {
  37692. "description": "实际最小变动值",
  37693. "type": "integer"
  37694. },
  37695. "realminivaluedp": {
  37696. "description": "实际最小变动值小数位",
  37697. "type": "integer"
  37698. },
  37699. "remark": {
  37700. "description": "备注",
  37701. "type": "string"
  37702. },
  37703. "unitid": {
  37704. "description": "单位ID",
  37705. "type": "integer"
  37706. },
  37707. "unitname": {
  37708. "description": "单位",
  37709. "type": "string"
  37710. },
  37711. "updatetime": {
  37712. "description": "更新时间",
  37713. "type": "string"
  37714. },
  37715. "updatorid": {
  37716. "description": "更新人",
  37717. "type": "integer"
  37718. },
  37719. "wrsstatus": {
  37720. "description": "状态 - 作废 - 0:未激活 1:正常",
  37721. "type": "integer"
  37722. },
  37723. "wrstandardcode": {
  37724. "description": "现货品类代码",
  37725. "type": "string"
  37726. },
  37727. "wrstandardid": {
  37728. "description": "现货品类ID(SEQ_WRSTANDARD)",
  37729. "type": "integer"
  37730. },
  37731. "wrstandardname": {
  37732. "description": "现货品类名称",
  37733. "type": "string"
  37734. }
  37735. }
  37736. },
  37737. "models.WRTradeBargainApply": {
  37738. "type": "object",
  37739. "properties": {
  37740. "accountid": {
  37741. "description": "摘牌资金账号",
  37742. "type": "integer"
  37743. },
  37744. "applyprice": {
  37745. "description": "申请价格(议价价格)",
  37746. "type": "string"
  37747. },
  37748. "applyqty": {
  37749. "description": "摘牌数量(议价数量)",
  37750. "type": "number"
  37751. },
  37752. "applyremark": {
  37753. "description": "申请备注",
  37754. "type": "string"
  37755. },
  37756. "applystatus": {
  37757. "description": "申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中",
  37758. "type": "integer"
  37759. },
  37760. "applytime": {
  37761. "description": "申请时间(议价时间)",
  37762. "type": "string"
  37763. },
  37764. "begindate": {
  37765. "description": "开始交易日(yyyymmdd)",
  37766. "type": "string"
  37767. },
  37768. "buyorsell": {
  37769. "description": "买卖(挂牌类型) - 0:买 1:卖",
  37770. "type": "integer"
  37771. },
  37772. "confirmremark": {
  37773. "description": "确认备注",
  37774. "type": "string"
  37775. },
  37776. "confirmtime": {
  37777. "description": "确认时间",
  37778. "type": "string"
  37779. },
  37780. "confirmuserid": {
  37781. "description": "确认人",
  37782. "type": "integer"
  37783. },
  37784. "deliverygoodscode": {
  37785. "description": "品种代码",
  37786. "type": "string"
  37787. },
  37788. "deliverygoodsid": {
  37789. "description": "品种ID",
  37790. "type": "integer"
  37791. },
  37792. "deliverygoodsname": {
  37793. "description": "品种名称",
  37794. "type": "string"
  37795. },
  37796. "deliverymonth": {
  37797. "description": "交收月",
  37798. "type": "string"
  37799. },
  37800. "enddate": {
  37801. "description": "结束交易日(yyyymmdd)",
  37802. "type": "string"
  37803. },
  37804. "enumdicname": {
  37805. "description": "单位名称",
  37806. "type": "string"
  37807. },
  37808. "fixedprice": {
  37809. "description": "挂牌价格",
  37810. "type": "number"
  37811. },
  37812. "handlestatus": {
  37813. "description": "处理状态",
  37814. "type": "integer"
  37815. },
  37816. "marginvalue": {
  37817. "description": "履约保证金比例",
  37818. "type": "number"
  37819. },
  37820. "marketid": {
  37821. "description": "市场ID",
  37822. "type": "integer"
  37823. },
  37824. "matchaccountid": {
  37825. "description": "挂牌方资金账号",
  37826. "type": "integer"
  37827. },
  37828. "matchuserid": {
  37829. "description": "挂牌方用户id",
  37830. "type": "integer"
  37831. },
  37832. "matchusername": {
  37833. "description": "挂牌方用户名称(已脱敏)",
  37834. "type": "string"
  37835. },
  37836. "minivalue": {
  37837. "description": "现货商品最小变动值",
  37838. "type": "integer"
  37839. },
  37840. "optioncompare": {
  37841. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  37842. "type": "string"
  37843. },
  37844. "orderqty": {
  37845. "description": "挂牌数量",
  37846. "type": "integer"
  37847. },
  37848. "refprice": {
  37849. "description": "参考价格",
  37850. "type": "string"
  37851. },
  37852. "retcode": {
  37853. "description": "委托返回代码",
  37854. "type": "integer"
  37855. },
  37856. "templatename": {
  37857. "description": "履约方式(履约模板名称)",
  37858. "type": "string"
  37859. },
  37860. "tradedate": {
  37861. "description": "交易日(yyyyMMdd)",
  37862. "type": "string"
  37863. },
  37864. "userid": {
  37865. "description": "摘牌人用户ID(议价人ID)",
  37866. "type": "integer"
  37867. },
  37868. "username": {
  37869. "description": "议价人名字(已脱敏)",
  37870. "type": "string"
  37871. },
  37872. "validtime": {
  37873. "description": "有效期限",
  37874. "type": "string"
  37875. },
  37876. "warehouseid": {
  37877. "description": "仓库ID",
  37878. "type": "integer"
  37879. },
  37880. "warehousename": {
  37881. "description": "仓库名称",
  37882. "type": "string"
  37883. },
  37884. "wrbargainid": {
  37885. "description": "议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)",
  37886. "type": "string"
  37887. },
  37888. "wrfactortypeid": {
  37889. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  37890. "type": "string"
  37891. },
  37892. "wrfactortypename": {
  37893. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  37894. "type": "string"
  37895. },
  37896. "wrstandardcode": {
  37897. "description": "现货商品代码",
  37898. "type": "string"
  37899. },
  37900. "wrstandardid": {
  37901. "description": "现货商品ID",
  37902. "type": "integer"
  37903. },
  37904. "wrstandardname": {
  37905. "description": "商品名称",
  37906. "type": "string"
  37907. },
  37908. "wrtradeorderid": {
  37909. "description": "关联委托单ID",
  37910. "type": "string"
  37911. },
  37912. "wrtypename": {
  37913. "description": "商品",
  37914. "type": "string"
  37915. }
  37916. }
  37917. },
  37918. "models.Warehouseinfo": {
  37919. "type": "object",
  37920. "required": [
  37921. "autoid",
  37922. "warehousecode"
  37923. ],
  37924. "properties": {
  37925. "address": {
  37926. "description": "详细地址",
  37927. "type": "string"
  37928. },
  37929. "areauserid": {
  37930. "description": "所属机构",
  37931. "type": "integer"
  37932. },
  37933. "autoid": {
  37934. "description": "自增ID",
  37935. "type": "integer"
  37936. },
  37937. "cityid": {
  37938. "description": "市",
  37939. "type": "integer"
  37940. },
  37941. "contactname": {
  37942. "description": "联系人",
  37943. "type": "string"
  37944. },
  37945. "contactnum": {
  37946. "description": "联系电话",
  37947. "type": "string"
  37948. },
  37949. "countryid": {
  37950. "description": "国家",
  37951. "type": "integer"
  37952. },
  37953. "createtime": {
  37954. "description": "创建时间",
  37955. "type": "string"
  37956. },
  37957. "districtid": {
  37958. "description": "区",
  37959. "type": "integer"
  37960. },
  37961. "hasvideo": {
  37962. "description": "是否有视频 - 0:无 1:有",
  37963. "type": "integer"
  37964. },
  37965. "provinceid": {
  37966. "description": "省",
  37967. "type": "integer"
  37968. },
  37969. "remark": {
  37970. "description": "审核备注",
  37971. "type": "string"
  37972. },
  37973. "videourl": {
  37974. "description": "视频地址",
  37975. "type": "string"
  37976. },
  37977. "warehousecode": {
  37978. "description": "仓库代码",
  37979. "type": "string"
  37980. },
  37981. "warehousename": {
  37982. "description": "仓库名称",
  37983. "type": "string"
  37984. },
  37985. "warehousestatus": {
  37986. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  37987. "type": "integer"
  37988. },
  37989. "warehousetype": {
  37990. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  37991. "type": "integer"
  37992. }
  37993. }
  37994. },
  37995. "models.WrAverageTradePrice": {
  37996. "type": "object",
  37997. "properties": {
  37998. "averageprice": {
  37999. "description": "成交均价",
  38000. "type": "number"
  38001. },
  38002. "tradedate": {
  38003. "description": "交易日yyyymm",
  38004. "type": "string"
  38005. }
  38006. }
  38007. },
  38008. "models.WrBrandAndYears": {
  38009. "type": "object",
  38010. "properties": {
  38011. "brandlst": {
  38012. "description": "品牌列表",
  38013. "type": "array",
  38014. "items": {
  38015. "$ref": "#/definitions/models.DgFactoryItem"
  38016. }
  38017. },
  38018. "yearslst": {
  38019. "description": "年份列表",
  38020. "type": "array",
  38021. "items": {
  38022. "$ref": "#/definitions/models.DgFactoryItem"
  38023. }
  38024. }
  38025. }
  38026. },
  38027. "models.WrBsGoodsInfo": {
  38028. "type": "object",
  38029. "properties": {
  38030. "buyorsell": {
  38031. "description": "买卖方向 0-买 1-卖",
  38032. "type": "integer"
  38033. },
  38034. "goodsid": {
  38035. "description": "交易合约ID",
  38036. "type": "integer"
  38037. },
  38038. "lstitem": {
  38039. "description": "商品信息项",
  38040. "type": "array",
  38041. "items": {
  38042. "$ref": "#/definitions/models.WrTypeItem"
  38043. }
  38044. },
  38045. "lststep": {
  38046. "description": "履约规则",
  38047. "type": "array",
  38048. "items": {
  38049. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  38050. }
  38051. }
  38052. }
  38053. },
  38054. "models.WrBuybackDetail": {
  38055. "type": "object",
  38056. "properties": {
  38057. "buybackamount": {
  38058. "description": "回购金额",
  38059. "type": "number"
  38060. },
  38061. "buybackqty": {
  38062. "description": "回购数量",
  38063. "type": "number"
  38064. },
  38065. "buybackreleasemargin": {
  38066. "description": "回购释放保证金",
  38067. "type": "number"
  38068. },
  38069. "buybacktime": {
  38070. "description": "回购时间",
  38071. "type": "string"
  38072. },
  38073. "errordesc": {
  38074. "description": "错误描述",
  38075. "type": "string"
  38076. },
  38077. "handlestatus": {
  38078. "description": "处理 - 1:待处理 2:处理成功 3:处理失败",
  38079. "type": "integer"
  38080. },
  38081. "relatedwrid": {
  38082. "description": "关联仓单ID",
  38083. "type": "integer"
  38084. },
  38085. "scfcontractid": {
  38086. "description": "SCF合同ID",
  38087. "type": "string"
  38088. },
  38089. "scfwrbuybackid": {
  38090. "description": "SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)",
  38091. "type": "integer"
  38092. },
  38093. "tradedate": {
  38094. "description": "交易日(yyyyMMdd)",
  38095. "type": "string"
  38096. }
  38097. }
  38098. },
  38099. "models.WrClientAdSpaceConfig": {
  38100. "type": "object",
  38101. "properties": {
  38102. "adspaceid": {
  38103. "description": "广告位ID",
  38104. "type": "integer"
  38105. },
  38106. "adspacename": {
  38107. "description": "广告位名称",
  38108. "type": "string"
  38109. },
  38110. "adspacetype": {
  38111. "description": "广告位类型 - 1:固定广告位",
  38112. "type": "integer"
  38113. },
  38114. "areauserid": {
  38115. "description": "所属机构ID",
  38116. "type": "integer"
  38117. },
  38118. "createdate": {
  38119. "description": "创建时间",
  38120. "type": "string"
  38121. },
  38122. "imagepath": {
  38123. "description": "图片",
  38124. "type": "string"
  38125. },
  38126. "modifierid": {
  38127. "description": "操作人",
  38128. "type": "integer"
  38129. },
  38130. "recsize": {
  38131. "description": "推荐尺寸",
  38132. "type": "string"
  38133. },
  38134. "title": {
  38135. "description": "标题",
  38136. "type": "string"
  38137. },
  38138. "updatedate": {
  38139. "description": "更新时间",
  38140. "type": "string"
  38141. },
  38142. "urlcontent": {
  38143. "description": "链接(地址\\商品ID\\功能菜单Key\\appid)",
  38144. "type": "string"
  38145. },
  38146. "urltype": {
  38147. "description": "链接类型 - 0:无 1:直接地址 2:商品ID 3:图片详情 4:App功能 5:微信小程序",
  38148. "type": "integer"
  38149. }
  38150. }
  38151. },
  38152. "models.WrDeliveryAvalidHoldLB": {
  38153. "type": "object",
  38154. "properties": {
  38155. "accountid": {
  38156. "description": "资金账号",
  38157. "type": "integer"
  38158. },
  38159. "avalidqty": {
  38160. "description": "数量(可点选数量)",
  38161. "type": "number"
  38162. },
  38163. "deliverygoodsid": {
  38164. "description": "品种id",
  38165. "type": "integer"
  38166. },
  38167. "enumdicname": {
  38168. "description": "单位名称",
  38169. "type": "string"
  38170. },
  38171. "goodsid": {
  38172. "description": "x合约商品id",
  38173. "type": "integer"
  38174. },
  38175. "ladingbillid": {
  38176. "description": "提单id",
  38177. "type": "string"
  38178. },
  38179. "pgoodscode": {
  38180. "description": "p商品代码(点价合约)",
  38181. "type": "string"
  38182. },
  38183. "pgoodsid": {
  38184. "description": "p商品id(点价合约)",
  38185. "type": "integer"
  38186. },
  38187. "pgoodsname": {
  38188. "description": "p商品名称(点价合约)",
  38189. "type": "string"
  38190. },
  38191. "pricemove": {
  38192. "description": "升贴水",
  38193. "type": "number"
  38194. },
  38195. "subnum": {
  38196. "description": "提单子id",
  38197. "type": "integer"
  38198. },
  38199. "userid": {
  38200. "description": "用户id",
  38201. "type": "integer"
  38202. },
  38203. "username": {
  38204. "description": "仓单持有人",
  38205. "type": "string"
  38206. },
  38207. "warehousecode": {
  38208. "description": "仓库代码",
  38209. "type": "string"
  38210. },
  38211. "warehouseid": {
  38212. "description": "仓库id",
  38213. "type": "integer"
  38214. },
  38215. "warehousename": {
  38216. "description": "仓库名称",
  38217. "type": "string"
  38218. },
  38219. "wrfactortypeid": {
  38220. "description": "仓单要素id",
  38221. "type": "string"
  38222. },
  38223. "wrstandardcode": {
  38224. "description": "品代码",
  38225. "type": "string"
  38226. },
  38227. "wrstandardid": {
  38228. "description": "品类d",
  38229. "type": "integer"
  38230. },
  38231. "wrstandardname": {
  38232. "description": "品类名称",
  38233. "type": "string"
  38234. },
  38235. "wrtypename": {
  38236. "description": "商品",
  38237. "type": "string"
  38238. },
  38239. "xgoodscode": {
  38240. "description": "x合约代码",
  38241. "type": "string"
  38242. },
  38243. "xgoodsname": {
  38244. "description": "x合约名称",
  38245. "type": "string"
  38246. }
  38247. }
  38248. },
  38249. "models.WrDeliveryDetail": {
  38250. "type": "object",
  38251. "properties": {
  38252. "accountid": {
  38253. "description": "账号ID",
  38254. "type": "integer"
  38255. },
  38256. "averageprice": {
  38257. "description": "交割均价 = 交割金额 / 交割数量",
  38258. "type": "number"
  38259. },
  38260. "begindate": {
  38261. "description": "开始交易日(yyyymmdd)",
  38262. "type": "string"
  38263. },
  38264. "buyorsell": {
  38265. "description": "方向 - 0:买 1:卖",
  38266. "type": "integer"
  38267. },
  38268. "deliveryamount": {
  38269. "description": "货款金额(X总货款+P总货款)",
  38270. "type": "number"
  38271. },
  38272. "deliveryid": {
  38273. "description": "交割单号(121+Unix秒时间戳(10位)+xxxxxx)",
  38274. "type": "string"
  38275. },
  38276. "deliveryorderid": {
  38277. "description": "申报单号",
  38278. "type": "string"
  38279. },
  38280. "deliverypricemove": {
  38281. "description": "升贴水(升贴水总额)",
  38282. "type": "number"
  38283. },
  38284. "deliveryqty": {
  38285. "description": "交收数量(点选数量)",
  38286. "type": "number"
  38287. },
  38288. "deliverystatus": {
  38289. "description": "状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成",
  38290. "type": "integer"
  38291. },
  38292. "deliverytime": {
  38293. "description": "交割时间",
  38294. "type": "string"
  38295. },
  38296. "deliverytotalamount": {
  38297. "description": "交收金额",
  38298. "type": "number"
  38299. },
  38300. "enddate": {
  38301. "description": "结束交易日(yyyymmdd)",
  38302. "type": "string"
  38303. },
  38304. "enumdicname": {
  38305. "description": "单位名称",
  38306. "type": "string"
  38307. },
  38308. "matchaccountid": {
  38309. "description": "对手账号ID",
  38310. "type": "integer"
  38311. },
  38312. "matchusername": {
  38313. "description": "对手方名称(仓单持有人)",
  38314. "type": "string"
  38315. },
  38316. "p1goodsremainamount": {
  38317. "description": "点价货款 ps:当PPRICEMODE=2时, 界面需显示\"-\"",
  38318. "type": "number"
  38319. },
  38320. "pdeliverycloseqty": {
  38321. "description": "p合约平仓数量",
  38322. "type": "number"
  38323. },
  38324. "pdeliveryprice": {
  38325. "description": "点价价格 ps:当PPRICEMODE=2时, 界面需显示\"-\"",
  38326. "type": "number"
  38327. },
  38328. "pgoodscode": {
  38329. "description": "商品代码",
  38330. "type": "string"
  38331. },
  38332. "pgoodsid": {
  38333. "description": "p点选合约id",
  38334. "type": "integer"
  38335. },
  38336. "pgoodsname": {
  38337. "description": "商品名称",
  38338. "type": "string"
  38339. },
  38340. "ppricemode": {
  38341. "description": "点价价格方式 - 1:商品价 2:固定值",
  38342. "type": "integer"
  38343. },
  38344. "tradedate": {
  38345. "description": "交易日(yyyymmdd)",
  38346. "type": "string"
  38347. },
  38348. "userid": {
  38349. "description": "用户id",
  38350. "type": "integer"
  38351. },
  38352. "username": {
  38353. "description": "用户名称",
  38354. "type": "string"
  38355. },
  38356. "warehousename": {
  38357. "description": "仓库名称",
  38358. "type": "string"
  38359. },
  38360. "wrfactortypeid": {
  38361. "description": "仓单要素类型ID",
  38362. "type": "string"
  38363. },
  38364. "wrtypename": {
  38365. "description": "商品",
  38366. "type": "string"
  38367. },
  38368. "xdeliverycloseqty": {
  38369. "description": "合约数量",
  38370. "type": "number"
  38371. },
  38372. "xgoodsamount": {
  38373. "description": "合约金额 = 货款金额(DELIVERYAMOUNT) - 点价货款(P1GOODSREMAINAMOUNT)",
  38374. "type": "number"
  38375. },
  38376. "xgoodscode": {
  38377. "description": "商品代码",
  38378. "type": "string"
  38379. },
  38380. "xgoodsid": {
  38381. "description": "x交易合约ID",
  38382. "type": "integer"
  38383. },
  38384. "xgoodsname": {
  38385. "description": "商品名称",
  38386. "type": "string"
  38387. }
  38388. }
  38389. },
  38390. "models.WrDeliveryGoodsSection": {
  38391. "type": "object",
  38392. "properties": {
  38393. "dglst": {
  38394. "description": "板块商品列表",
  38395. "type": "array",
  38396. "items": {
  38397. "$ref": "#/definitions/models.WrDeliveryGoodsSectionConfig"
  38398. }
  38399. },
  38400. "imagepath": {
  38401. "description": "图片地址",
  38402. "type": "string"
  38403. },
  38404. "orderindex": {
  38405. "description": "排序",
  38406. "type": "integer"
  38407. },
  38408. "sectionid": {
  38409. "description": "版块ID (SEQ_DELIVERYGOODSSECTION) - 自增100开始, 前面ID预留给SectionType = 1的版块1 - 云融指数",
  38410. "type": "integer"
  38411. },
  38412. "sectionname": {
  38413. "description": "版块名称",
  38414. "type": "string"
  38415. },
  38416. "sectiontype": {
  38417. "description": "版块类型 - 1:指数版块 2:普通版块",
  38418. "type": "integer"
  38419. }
  38420. }
  38421. },
  38422. "models.WrDeliveryGoodsSectionConfig": {
  38423. "type": "object",
  38424. "properties": {
  38425. "deliverygoodscode": {
  38426. "description": "现货商品代码",
  38427. "type": "string"
  38428. },
  38429. "deliverygoodsid": {
  38430. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  38431. "type": "integer"
  38432. },
  38433. "deliverygoodsname": {
  38434. "description": "现货商品名称",
  38435. "type": "string"
  38436. },
  38437. "orderindex": {
  38438. "description": "排序",
  38439. "type": "integer"
  38440. }
  38441. }
  38442. },
  38443. "models.WrDraftUserInfo": {
  38444. "type": "object",
  38445. "properties": {
  38446. "address": {
  38447. "description": "地址",
  38448. "type": "string"
  38449. },
  38450. "attachment1": {
  38451. "description": "附件1",
  38452. "type": "string"
  38453. },
  38454. "attachment2": {
  38455. "description": "附件2",
  38456. "type": "string"
  38457. },
  38458. "attachment3": {
  38459. "description": "附件3",
  38460. "type": "string"
  38461. },
  38462. "attachment4": {
  38463. "description": "附件4",
  38464. "type": "string"
  38465. },
  38466. "attachment5": {
  38467. "description": "附件5",
  38468. "type": "string"
  38469. },
  38470. "bankaccount": {
  38471. "description": "银行帐号 (加密存储)",
  38472. "type": "string"
  38473. },
  38474. "bankaccountname": {
  38475. "description": "收款人名称",
  38476. "type": "string"
  38477. },
  38478. "bankcardfrontphotourl": {
  38479. "description": "银行卡正面照地址",
  38480. "type": "string"
  38481. },
  38482. "bankid": {
  38483. "description": "银行编码",
  38484. "type": "string"
  38485. },
  38486. "bankname": {
  38487. "description": "银行名称",
  38488. "type": "string"
  38489. },
  38490. "birthday": {
  38491. "description": "生日(个人:年月日)",
  38492. "type": "string"
  38493. },
  38494. "biznature": {
  38495. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  38496. "type": "integer"
  38497. },
  38498. "bizscope": {
  38499. "description": "企业经营范围(企业)",
  38500. "type": "string"
  38501. },
  38502. "biztype": {
  38503. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  38504. "type": "integer"
  38505. },
  38506. "cardbackphotourl": {
  38507. "description": "证件背面图片地址",
  38508. "type": "string"
  38509. },
  38510. "cardfrontphotourl": {
  38511. "description": "证件正面图片地址",
  38512. "type": "string"
  38513. },
  38514. "cardnum": {
  38515. "description": "证件号码(加密存储)",
  38516. "type": "string"
  38517. },
  38518. "cardtypeid": {
  38519. "description": "证件类型ID",
  38520. "type": "integer"
  38521. },
  38522. "cityid": {
  38523. "description": "市",
  38524. "type": "integer"
  38525. },
  38526. "company": {
  38527. "description": "公司(个人)",
  38528. "type": "string"
  38529. },
  38530. "contactcardbackphotourl": {
  38531. "description": "联系人证件背面图片地址",
  38532. "type": "string"
  38533. },
  38534. "contactcardfrontphotourl": {
  38535. "description": "联系人证件正面图片地址",
  38536. "type": "string"
  38537. },
  38538. "contactname": {
  38539. "description": "联系人",
  38540. "type": "string"
  38541. },
  38542. "countryid": {
  38543. "description": "国家",
  38544. "type": "integer"
  38545. },
  38546. "createtime": {
  38547. "description": "创建时间",
  38548. "type": "string"
  38549. },
  38550. "creatorid": {
  38551. "description": "创建人",
  38552. "type": "integer"
  38553. },
  38554. "creditquota": {
  38555. "description": "授信额度(金瑞)",
  38556. "type": "number"
  38557. },
  38558. "customername": {
  38559. "description": "客户名称(企业名称)",
  38560. "type": "string"
  38561. },
  38562. "districtid": {
  38563. "description": "地区",
  38564. "type": "integer"
  38565. },
  38566. "email": {
  38567. "description": "邮件(加密存储)",
  38568. "type": "string"
  38569. },
  38570. "fax": {
  38571. "description": "传真(加密存储)",
  38572. "type": "string"
  38573. },
  38574. "halfbodyphotourl": {
  38575. "description": "半身照地址",
  38576. "type": "string"
  38577. },
  38578. "hasencrypt": {
  38579. "description": "数据是否已加密 - 0:未加密 1:已加密",
  38580. "type": "integer"
  38581. },
  38582. "headurl": {
  38583. "description": "头像地址",
  38584. "type": "string"
  38585. },
  38586. "legalcardbackphotourl": {
  38587. "description": "法人身份证背面照地址",
  38588. "type": "string"
  38589. },
  38590. "legalcardfrontphotourl": {
  38591. "description": "法人身份证正面照地址",
  38592. "type": "string"
  38593. },
  38594. "legalpersonname": {
  38595. "description": "法人姓名(企业)",
  38596. "type": "string"
  38597. },
  38598. "mobile": {
  38599. "description": "手机号码(加密存储)",
  38600. "type": "string"
  38601. },
  38602. "mobile2": {
  38603. "description": "手机号码[明文-尚志]",
  38604. "type": "string"
  38605. },
  38606. "modifierid": {
  38607. "description": "修改人",
  38608. "type": "integer"
  38609. },
  38610. "modifiertime": {
  38611. "description": "修改时间",
  38612. "type": "string"
  38613. },
  38614. "needinvoice": {
  38615. "description": "是否需要发票 - 0:不需要 1:需要",
  38616. "type": "integer"
  38617. },
  38618. "nickname": {
  38619. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  38620. "type": "string"
  38621. },
  38622. "openmode": {
  38623. "description": "开户方式 - 1:管理端开户 2\t:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册",
  38624. "type": "integer"
  38625. },
  38626. "otherurl": {
  38627. "description": "其它图片地址[使用分号分隔]",
  38628. "type": "string"
  38629. },
  38630. "postalcode": {
  38631. "description": "邮政编码",
  38632. "type": "string"
  38633. },
  38634. "provinceid": {
  38635. "description": "省",
  38636. "type": "integer"
  38637. },
  38638. "proxystatementurl": {
  38639. "description": "授权委托书",
  38640. "type": "string"
  38641. },
  38642. "qq": {
  38643. "description": "QQ(加密存储",
  38644. "type": "string"
  38645. },
  38646. "remark": {
  38647. "description": "备注",
  38648. "type": "string"
  38649. },
  38650. "sex": {
  38651. "description": "用户性别 0: 女 1: 男",
  38652. "type": "integer"
  38653. },
  38654. "signpdfurl": {
  38655. "description": "签约pdf文件",
  38656. "type": "string"
  38657. },
  38658. "taxpayernum": {
  38659. "description": "纳税人识别号",
  38660. "type": "string"
  38661. },
  38662. "telphone": {
  38663. "description": "联系电话(加密存储)",
  38664. "type": "string"
  38665. },
  38666. "userid": {
  38667. "description": "用户ID",
  38668. "type": "integer"
  38669. },
  38670. "userinfotype": {
  38671. "description": "用户信息类型 - 1:个人 2:企业",
  38672. "type": "integer"
  38673. },
  38674. "userstatus": {
  38675. "description": "用户状态 - 1:正常 2:注销",
  38676. "type": "integer"
  38677. },
  38678. "usertype": {
  38679. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者",
  38680. "type": "integer"
  38681. },
  38682. "wechat": {
  38683. "description": "微信(加密存储)",
  38684. "type": "string"
  38685. },
  38686. "wskhinfo": {
  38687. "description": "开户申请信息(JSON)",
  38688. "type": "string"
  38689. }
  38690. }
  38691. },
  38692. "models.WrFAProductDetail": {
  38693. "type": "object",
  38694. "properties": {
  38695. "accountid": {
  38696. "description": "资金账号",
  38697. "type": "integer"
  38698. },
  38699. "areauserid": {
  38700. "description": "金融机构ID",
  38701. "type": "integer"
  38702. },
  38703. "financingdays": {
  38704. "description": "天数(天)",
  38705. "type": "integer"
  38706. },
  38707. "interestminlen": {
  38708. "description": "最小起息天数",
  38709. "type": "integer"
  38710. },
  38711. "interestrate": {
  38712. "description": "利率",
  38713. "type": "number"
  38714. },
  38715. "interestratemode": {
  38716. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  38717. "type": "integer"
  38718. },
  38719. "interestsettlemode": {
  38720. "description": "结息方式 - 1:按日结息 3:按月结息",
  38721. "type": "integer"
  38722. },
  38723. "interestsettlevalue": {
  38724. "description": "结息方式值",
  38725. "type": "integer"
  38726. },
  38727. "isautoloan": {
  38728. "description": "是否自动放款 0-手动 1-自动 (当为自动放款时,显示\"放款快\")",
  38729. "type": "integer"
  38730. },
  38731. "loantag": {
  38732. "description": "放款标识: \"放款快\" 或者为空",
  38733. "type": "string"
  38734. },
  38735. "marginratio": {
  38736. "description": "保证金比率质押率 - [仓单质押]",
  38737. "type": "number"
  38738. },
  38739. "productdetailid": {
  38740. "description": "产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)",
  38741. "type": "integer"
  38742. },
  38743. "productid": {
  38744. "description": "金融产品ID",
  38745. "type": "integer"
  38746. },
  38747. "productname": {
  38748. "description": "产品名称",
  38749. "type": "string"
  38750. },
  38751. "updatetime": {
  38752. "description": "更新时间",
  38753. "type": "string"
  38754. },
  38755. "username": {
  38756. "description": "融出方",
  38757. "type": "string"
  38758. }
  38759. }
  38760. },
  38761. "models.WrFactorTypeInfo": {
  38762. "type": "object",
  38763. "properties": {
  38764. "deliverygoodscode": {
  38765. "description": "品种代码",
  38766. "type": "string"
  38767. },
  38768. "deliverygoodsname": {
  38769. "description": "品种名称",
  38770. "type": "string"
  38771. },
  38772. "dgfactoryitemid": {
  38773. "description": "选择项id",
  38774. "type": "integer"
  38775. },
  38776. "dgfactoryitemtypeid": {
  38777. "description": "要素选择项ID (1-仓库 2-品牌)",
  38778. "type": "integer"
  38779. },
  38780. "dgfactoryitemvalue": {
  38781. "description": "要素项值",
  38782. "type": "string"
  38783. },
  38784. "itemtypename": {
  38785. "description": "要素项名称",
  38786. "type": "string"
  38787. },
  38788. "optioncompare": {
  38789. "description": "选择比较串",
  38790. "type": "string"
  38791. },
  38792. "warehouseid": {
  38793. "description": "仓库id",
  38794. "type": "integer"
  38795. },
  38796. "wrfactortypeid": {
  38797. "description": "仓单要素ID",
  38798. "type": "string"
  38799. },
  38800. "wrfactortypename": {
  38801. "description": "要素名称",
  38802. "type": "string"
  38803. },
  38804. "wrfactortypename2": {
  38805. "description": "要素名称(不含仓库)",
  38806. "type": "string"
  38807. },
  38808. "wrstandardcode": {
  38809. "description": "品类代码",
  38810. "type": "string"
  38811. },
  38812. "wrstandardid": {
  38813. "description": "品类id",
  38814. "type": "integer"
  38815. },
  38816. "wrstandardname": {
  38817. "description": "品类名称",
  38818. "type": "string"
  38819. }
  38820. }
  38821. },
  38822. "models.WrFilterItem": {
  38823. "type": "object",
  38824. "properties": {
  38825. "itemcode": {
  38826. "description": "代码",
  38827. "type": "string"
  38828. },
  38829. "itemid": {
  38830. "description": "项id",
  38831. "type": "integer"
  38832. },
  38833. "itemname": {
  38834. "description": "名称",
  38835. "type": "string"
  38836. },
  38837. "itemtype": {
  38838. "description": "类型 1-品种 2-品类(商品) 3-仓库",
  38839. "type": "integer"
  38840. }
  38841. }
  38842. },
  38843. "models.WrFinanceBuyApply": {
  38844. "type": "object",
  38845. "properties": {
  38846. "applydate": {
  38847. "description": "申请时间",
  38848. "type": "string"
  38849. },
  38850. "applystatus": {
  38851. "description": "申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败",
  38852. "type": "integer"
  38853. },
  38854. "applyuserid": {
  38855. "description": "申请人",
  38856. "type": "integer"
  38857. },
  38858. "auditdate": {
  38859. "description": "审核时间",
  38860. "type": "string"
  38861. },
  38862. "auditremark": {
  38863. "description": "审核备注",
  38864. "type": "string"
  38865. },
  38866. "audituserid": {
  38867. "description": "审核人",
  38868. "type": "integer"
  38869. },
  38870. "buyaccountid": {
  38871. "description": "买方资金账号",
  38872. "type": "integer"
  38873. },
  38874. "buyorsell": {
  38875. "description": "买卖 - 0:买 1:卖",
  38876. "type": "integer"
  38877. },
  38878. "buyuserid": {
  38879. "description": "买方用户ID",
  38880. "type": "integer"
  38881. },
  38882. "buyusername": {
  38883. "description": "买方名称",
  38884. "type": "string"
  38885. },
  38886. "buywrtradeorderid": {
  38887. "description": "融资方买委托单ID",
  38888. "type": "string"
  38889. },
  38890. "deliverygoodscode": {
  38891. "description": "品种代码",
  38892. "type": "string"
  38893. },
  38894. "deliverygoodsid": {
  38895. "description": "品种ID",
  38896. "type": "integer"
  38897. },
  38898. "deliverygoodsname": {
  38899. "description": "品种名称",
  38900. "type": "string"
  38901. },
  38902. "deliverymonth": {
  38903. "description": "交收月(yyyy-MM) [无仓单HasWR =0]",
  38904. "type": "string"
  38905. },
  38906. "enumdicname": {
  38907. "description": "单位名称",
  38908. "type": "string"
  38909. },
  38910. "financeaccountid": {
  38911. "description": "融资方资金帐户ID",
  38912. "type": "integer"
  38913. },
  38914. "financeapplyid": {
  38915. "description": "融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  38916. "type": "string"
  38917. },
  38918. "financeareauserid": {
  38919. "description": "融资方用户ID",
  38920. "type": "string"
  38921. },
  38922. "financename": {
  38923. "description": "融出方名称",
  38924. "type": "string"
  38925. },
  38926. "financetype": {
  38927. "description": "融资类型 1-融资回购",
  38928. "type": "integer"
  38929. },
  38930. "financingdays": {
  38931. "description": "天数(天)",
  38932. "type": "integer"
  38933. },
  38934. "freezebuymargin": {
  38935. "description": "冻结融资保证金(买方)",
  38936. "type": "number"
  38937. },
  38938. "handleremark": {
  38939. "description": "处理备注",
  38940. "type": "string"
  38941. },
  38942. "handlestatus": {
  38943. "description": "处理状态",
  38944. "type": "integer"
  38945. },
  38946. "interestminlen": {
  38947. "description": "最小起息天数",
  38948. "type": "integer"
  38949. },
  38950. "interestrate": {
  38951. "description": "利率",
  38952. "type": "number"
  38953. },
  38954. "interestratemode": {
  38955. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  38956. "type": "integer"
  38957. },
  38958. "interestsettlemode": {
  38959. "description": "结息方式 - 1:按日结息 3:按月结息",
  38960. "type": "integer"
  38961. },
  38962. "interestsettlevalue": {
  38963. "description": "结息方式值",
  38964. "type": "integer"
  38965. },
  38966. "isautoloan": {
  38967. "description": "是否自动放款 - 0:手动 1:自动",
  38968. "type": "integer"
  38969. },
  38970. "marginratio": {
  38971. "description": "保证金比率质押率 - [仓单质押]",
  38972. "type": "number"
  38973. },
  38974. "marketid": {
  38975. "description": "市场ID",
  38976. "type": "integer"
  38977. },
  38978. "minivalue": {
  38979. "description": "现货商品最小变动值",
  38980. "type": "integer"
  38981. },
  38982. "optioncompare": {
  38983. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  38984. "type": "string"
  38985. },
  38986. "orderqty": {
  38987. "description": "委托数量(商品数量)",
  38988. "type": "number"
  38989. },
  38990. "productdetailid": {
  38991. "description": "产品组合ID",
  38992. "type": "integer"
  38993. },
  38994. "productid": {
  38995. "description": "金融产品ID",
  38996. "type": "integer"
  38997. },
  38998. "productname": {
  38999. "description": "产品名称",
  39000. "type": "string"
  39001. },
  39002. "remark": {
  39003. "description": "备注",
  39004. "type": "string"
  39005. },
  39006. "scfcontractid": {
  39007. "description": "仓单回购合同ID",
  39008. "type": "string"
  39009. },
  39010. "sellaccountid": {
  39011. "description": "卖方资金账号",
  39012. "type": "integer"
  39013. },
  39014. "selluserid": {
  39015. "description": "卖方用户ID",
  39016. "type": "integer"
  39017. },
  39018. "sellwrtradeorderid": {
  39019. "description": "卖方委托单ID",
  39020. "type": "string"
  39021. },
  39022. "tradeamount": {
  39023. "description": "成交金额(借款金额)",
  39024. "type": "number"
  39025. },
  39026. "tradedate": {
  39027. "description": "交易日(yyyyMMdd)",
  39028. "type": "string"
  39029. },
  39030. "tradeprice": {
  39031. "description": "成交价格",
  39032. "type": "number"
  39033. },
  39034. "warehouseid": {
  39035. "description": "仓库ID",
  39036. "type": "integer"
  39037. },
  39038. "warehousename": {
  39039. "description": "仓库名称",
  39040. "type": "string"
  39041. },
  39042. "wrfactortypeid": {
  39043. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  39044. "type": "string"
  39045. },
  39046. "wrfactortypename": {
  39047. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  39048. "type": "string"
  39049. },
  39050. "wrpricetype": {
  39051. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌单]",
  39052. "type": "integer"
  39053. },
  39054. "wrstandardcode": {
  39055. "description": "现货商品代码",
  39056. "type": "string"
  39057. },
  39058. "wrstandardid": {
  39059. "description": "现货商品ID",
  39060. "type": "integer"
  39061. },
  39062. "wrstandardname": {
  39063. "description": "商品名称",
  39064. "type": "string"
  39065. },
  39066. "wrtypename": {
  39067. "description": "商品",
  39068. "type": "string"
  39069. }
  39070. }
  39071. },
  39072. "models.WrFriendApply": {
  39073. "type": "object",
  39074. "properties": {
  39075. "applicantid": {
  39076. "description": "申请人",
  39077. "type": "integer"
  39078. },
  39079. "applyname": {
  39080. "description": "申请人名称",
  39081. "type": "string"
  39082. },
  39083. "applysrc": {
  39084. "description": "申请来源 - 1:管理端 2:终端",
  39085. "type": "integer"
  39086. },
  39087. "applystatus": {
  39088. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  39089. "type": "integer"
  39090. },
  39091. "applytime": {
  39092. "description": "申请时间",
  39093. "type": "string"
  39094. },
  39095. "auditname": {
  39096. "description": "审核人名称",
  39097. "type": "string"
  39098. },
  39099. "auditorid": {
  39100. "description": "审核人",
  39101. "type": "integer"
  39102. },
  39103. "auditremark": {
  39104. "description": "审核备注",
  39105. "type": "string"
  39106. },
  39107. "auditsrc": {
  39108. "description": "审核来源 - 1:管理端 2:终端",
  39109. "type": "integer"
  39110. },
  39111. "audittime": {
  39112. "description": "审核时间",
  39113. "type": "string"
  39114. },
  39115. "friendapplyid": {
  39116. "description": "申请ID(SEQ_FRIENDAPPLY)",
  39117. "type": "string"
  39118. },
  39119. "friendname": {
  39120. "description": "好友名字(已脱敏)",
  39121. "type": "string"
  39122. },
  39123. "frienduserid": {
  39124. "description": "好友用户ID",
  39125. "type": "string"
  39126. },
  39127. "remark": {
  39128. "description": "备注",
  39129. "type": "string"
  39130. },
  39131. "userid": {
  39132. "description": "申请人用户ID",
  39133. "type": "integer"
  39134. }
  39135. }
  39136. },
  39137. "models.WrFtDeliveryGoods": {
  39138. "type": "object",
  39139. "properties": {
  39140. "deliverygoodscode": {
  39141. "description": "品种代码",
  39142. "type": "string"
  39143. },
  39144. "deliverygoodsid": {
  39145. "description": "品种ID",
  39146. "type": "integer"
  39147. },
  39148. "deliverygoodsname": {
  39149. "description": "品种名称",
  39150. "type": "string"
  39151. },
  39152. "wdlst": {
  39153. "description": "商品列表",
  39154. "type": "array",
  39155. "items": {
  39156. "$ref": "#/definitions/models.WrFtWrstandard"
  39157. }
  39158. }
  39159. }
  39160. },
  39161. "models.WrFtWrstandard": {
  39162. "type": "object",
  39163. "properties": {
  39164. "enumdicname": {
  39165. "description": "单位名称",
  39166. "type": "string"
  39167. },
  39168. "minivalue": {
  39169. "description": "最小变动值",
  39170. "type": "integer"
  39171. },
  39172. "wrstandardcode": {
  39173. "description": "现货商品代码",
  39174. "type": "string"
  39175. },
  39176. "wrstandardid": {
  39177. "description": "现货商品ID",
  39178. "type": "integer"
  39179. },
  39180. "wrstandardname": {
  39181. "description": "商品名称",
  39182. "type": "string"
  39183. }
  39184. }
  39185. },
  39186. "models.WrGoodsInfo": {
  39187. "type": "object",
  39188. "properties": {
  39189. "haswr": {
  39190. "description": "0:仓单预售 1:仓单贸易",
  39191. "type": "integer"
  39192. },
  39193. "lstitem": {
  39194. "description": "商品信息项",
  39195. "type": "array",
  39196. "items": {
  39197. "$ref": "#/definitions/models.WrTypeItem"
  39198. }
  39199. },
  39200. "lststep": {
  39201. "description": "履约规则",
  39202. "type": "array",
  39203. "items": {
  39204. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  39205. }
  39206. },
  39207. "marketid": {
  39208. "description": "市场id",
  39209. "type": "integer"
  39210. }
  39211. }
  39212. },
  39213. "models.WrGoodsPerformanceStep": {
  39214. "type": "object",
  39215. "properties": {
  39216. "autoid": {
  39217. "description": "AutoID",
  39218. "type": "integer"
  39219. },
  39220. "isauto": {
  39221. "description": "是否自动 - 0:不自动 1:自动",
  39222. "type": "integer"
  39223. },
  39224. "remark": {
  39225. "description": "备注",
  39226. "type": "string"
  39227. },
  39228. "stepdate": {
  39229. "description": "天数信息(T+N)",
  39230. "type": "string"
  39231. },
  39232. "stepdays": {
  39233. "description": "距离上一步天数",
  39234. "type": "integer"
  39235. },
  39236. "stepindex": {
  39237. "description": "步骤序号",
  39238. "type": "integer"
  39239. },
  39240. "stepinfo": {
  39241. "description": "步骤信息(步骤名称+步骤值)",
  39242. "type": "string"
  39243. },
  39244. "steptypeid": {
  39245. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  39246. "type": "integer"
  39247. },
  39248. "steptypename": {
  39249. "description": "步骤名称",
  39250. "type": "string"
  39251. },
  39252. "stepvalue": {
  39253. "description": "步骤值",
  39254. "type": "number"
  39255. },
  39256. "templateid": {
  39257. "description": "履约计划模板ID",
  39258. "type": "integer"
  39259. }
  39260. }
  39261. },
  39262. "models.WrHoldLB": {
  39263. "type": "object",
  39264. "properties": {
  39265. "accountid": {
  39266. "description": "持有人帐户ID",
  39267. "type": "integer"
  39268. },
  39269. "bannerpicurl": {
  39270. "description": "Banner图",
  39271. "type": "string"
  39272. },
  39273. "createtime": {
  39274. "description": "创建时间(过户时间)",
  39275. "type": "string"
  39276. },
  39277. "deliverygoodscode": {
  39278. "description": "品种代码",
  39279. "type": "string"
  39280. },
  39281. "deliverygoodsid": {
  39282. "description": "品种ID",
  39283. "type": "integer"
  39284. },
  39285. "deliverygoodsname": {
  39286. "description": "品种名称",
  39287. "type": "string"
  39288. },
  39289. "enableqty": {
  39290. "description": "可用数量",
  39291. "type": "number"
  39292. },
  39293. "enumdicname": {
  39294. "description": "单位名称",
  39295. "type": "string"
  39296. },
  39297. "freezerqty": {
  39298. "description": "冻结数量",
  39299. "type": "number"
  39300. },
  39301. "ladingbillid": {
  39302. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  39303. "type": "string"
  39304. },
  39305. "minivalue": {
  39306. "description": "现货商品最小变动值",
  39307. "type": "integer"
  39308. },
  39309. "optioncompare": {
  39310. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  39311. "type": "string"
  39312. },
  39313. "parentsubnum": {
  39314. "description": "拆分父子单号",
  39315. "type": "integer"
  39316. },
  39317. "pledgeqty": {
  39318. "description": "质押数量",
  39319. "type": "number"
  39320. },
  39321. "qty": {
  39322. "description": "数量",
  39323. "type": "number"
  39324. },
  39325. "subnum": {
  39326. "description": "提单子单号",
  39327. "type": "integer"
  39328. },
  39329. "thumurls": {
  39330. "description": "缩略图",
  39331. "type": "string"
  39332. },
  39333. "tradedate": {
  39334. "description": "交易日(yyyyMMdd)",
  39335. "type": "string"
  39336. },
  39337. "userid": {
  39338. "description": "持有人ID",
  39339. "type": "integer"
  39340. },
  39341. "warehouseid": {
  39342. "description": "仓库ID",
  39343. "type": "integer"
  39344. },
  39345. "warehousename": {
  39346. "description": "仓库名称",
  39347. "type": "string"
  39348. },
  39349. "wrfactortypeid": {
  39350. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  39351. "type": "string"
  39352. },
  39353. "wrfactortypename": {
  39354. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  39355. "type": "string"
  39356. },
  39357. "wrholdeno": {
  39358. "description": "仓单编号",
  39359. "type": "string"
  39360. },
  39361. "wrid": {
  39362. "description": "仓单变更ID",
  39363. "type": "string"
  39364. },
  39365. "wrstandardcode": {
  39366. "description": "现货商品代码",
  39367. "type": "string"
  39368. },
  39369. "wrstandardid": {
  39370. "description": "现货商品ID",
  39371. "type": "integer"
  39372. },
  39373. "wrstandardname": {
  39374. "description": "商品名称",
  39375. "type": "string"
  39376. },
  39377. "wrtypename": {
  39378. "description": "商品",
  39379. "type": "string"
  39380. }
  39381. }
  39382. },
  39383. "models.WrMarketTradeConfig": {
  39384. "type": "object",
  39385. "properties": {
  39386. "basisdownratio": {
  39387. "description": "浮动价基差下限比例(仓单贸易)",
  39388. "type": "number"
  39389. },
  39390. "basisupratio": {
  39391. "description": "浮动价基差上限比例(仓单贸易)",
  39392. "type": "number"
  39393. },
  39394. "buychargealgorithm": {
  39395. "description": "买方手续费收取方式 1:比率 2:固定",
  39396. "type": "integer"
  39397. },
  39398. "buychargealgorithm2": {
  39399. "description": "回购买方手续费收取方式 1:比率 2:固定 --77:现货商城",
  39400. "type": "integer"
  39401. },
  39402. "buychargealgorithmvalue": {
  39403. "description": "买方手续费设置值(交易所部分)",
  39404. "type": "number"
  39405. },
  39406. "buychargealgorithmvalue2": {
  39407. "description": "买方手续费设置值(会员部分)",
  39408. "type": "number"
  39409. },
  39410. "buychargealgorithmvalue3": {
  39411. "description": "回购买方手续费设置值(交易所部分) --77:现货商城",
  39412. "type": "number"
  39413. },
  39414. "buychargealgorithmvalue4": {
  39415. "description": "回购买方手续费设置值(会员部分) --77:现货商城",
  39416. "type": "number"
  39417. },
  39418. "buyfirstmarginalgorithm": {
  39419. "description": "买方出价保证金方式 - 1:比率 2:固定 - [竞拍]",
  39420. "type": "integer"
  39421. },
  39422. "buyfirstmarginvalue": {
  39423. "description": "买方出价保证金设置值 - [竞拍]",
  39424. "type": "number"
  39425. },
  39426. "buymarginalgorithm": {
  39427. "description": "买方保证金方式 - 1:比率 2:固定",
  39428. "type": "integer"
  39429. },
  39430. "buymarginvalue": {
  39431. "description": "买方保证金设置值",
  39432. "type": "number"
  39433. },
  39434. "buyreleaseratio": {
  39435. "description": "买方释放比率[2:分步履约]",
  39436. "type": "number"
  39437. },
  39438. "executemode": {
  39439. "description": "执行方式[2:分步履约] - 1:顺序执行 2:交叉执行",
  39440. "type": "integer"
  39441. },
  39442. "executeside": {
  39443. "description": "执行方[2:分步履约] - 1:买方 2:卖方",
  39444. "type": "integer"
  39445. },
  39446. "failedchargealgorithm": {
  39447. "description": "流拍手续费收取方式 1:比率 2:固定",
  39448. "type": "integer"
  39449. },
  39450. "failedchargevalue": {
  39451. "description": "流拍手续费设置值",
  39452. "type": "number"
  39453. },
  39454. "failedchargevalue2": {
  39455. "description": "流拍卖方手续费设置值",
  39456. "type": "number"
  39457. },
  39458. "holddays": {
  39459. "description": "合同期限[2:分步履约]",
  39460. "type": "integer"
  39461. },
  39462. "listingmode": {
  39463. "description": "挂牌方式 - 1:一口价 2:浮动价 3:贸易圈 4:协议指定",
  39464. "type": "integer"
  39465. },
  39466. "marketid": {
  39467. "description": "市场ID-仓单贸易、竞拍、预售",
  39468. "type": "integer"
  39469. },
  39470. "minqty": {
  39471. "description": "最小执行量[2:分步履约]",
  39472. "type": "number"
  39473. },
  39474. "modifierid": {
  39475. "description": "修改人",
  39476. "type": "integer"
  39477. },
  39478. "nowrquotaflag": {
  39479. "description": "是否校验无仓单额度(仓单贸易) - 0:否 1:是",
  39480. "type": "integer"
  39481. },
  39482. "performancetempid": {
  39483. "description": "履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)",
  39484. "type": "integer"
  39485. },
  39486. "performancetempid2": {
  39487. "description": "履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行",
  39488. "type": "integer"
  39489. },
  39490. "performancetempid2s": {
  39491. "description": "履约计划模板IDs(无仓单) - 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行",
  39492. "type": "string"
  39493. },
  39494. "performancetempids": {
  39495. "description": "履约计划模板IDs(有仓单)- 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)",
  39496. "type": "string"
  39497. },
  39498. "performanceway": {
  39499. "description": "交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]",
  39500. "type": "integer"
  39501. },
  39502. "sellchargealgorithm": {
  39503. "description": "卖方手续费收取方式 1:比率 2:固定",
  39504. "type": "integer"
  39505. },
  39506. "sellchargealgorithm2": {
  39507. "description": "回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城",
  39508. "type": "integer"
  39509. },
  39510. "sellchargealgorithmvalue": {
  39511. "description": "卖方手续费设置值(交易所部分)",
  39512. "type": "number"
  39513. },
  39514. "sellchargealgorithmvalue2": {
  39515. "description": "卖方手续费设置值(会员部分)",
  39516. "type": "number"
  39517. },
  39518. "sellchargealgorithmvalue3": {
  39519. "description": "回购卖方手续费设置值(交易所部分) --77:现货商城",
  39520. "type": "number"
  39521. },
  39522. "sellchargealgorithmvalue4": {
  39523. "description": "回购卖方手续费设置值(会员部分) --77:现货商城",
  39524. "type": "number"
  39525. },
  39526. "sellmarginalgorithm": {
  39527. "description": "卖方保证金方式 - 1:比率 2:固定",
  39528. "type": "integer"
  39529. },
  39530. "sellmarginvalue": {
  39531. "description": "卖方保证金设置值",
  39532. "type": "number"
  39533. },
  39534. "sellmarginvalue2": {
  39535. "description": "卖方保证金设置值(无仓单)",
  39536. "type": "number"
  39537. },
  39538. "sellreleaseratio": {
  39539. "description": "卖方释放比率[2:分步履约]",
  39540. "type": "number"
  39541. },
  39542. "updatetime": {
  39543. "description": "更新时间",
  39544. "type": "string"
  39545. }
  39546. }
  39547. },
  39548. "models.WrOrderDetail": {
  39549. "type": "object",
  39550. "properties": {
  39551. "accountid": {
  39552. "description": "交易账号(资金账号)",
  39553. "type": "integer"
  39554. },
  39555. "allfriendsflag": {
  39556. "description": "是否全好友可见 - 0:否 1:是",
  39557. "type": "integer"
  39558. },
  39559. "amount": {
  39560. "description": "挂牌金额 = 委托数量 * 固定价或升贴水",
  39561. "type": "number"
  39562. },
  39563. "bannerpicurl": {
  39564. "description": "Banner图",
  39565. "type": "string"
  39566. },
  39567. "begindate": {
  39568. "description": "开始交易日(yyyymmdd)",
  39569. "type": "string"
  39570. },
  39571. "buyorsell": {
  39572. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  39573. "type": "integer"
  39574. },
  39575. "canbargain": {
  39576. "description": "是否可议价 - 0:不可 1:可",
  39577. "type": "integer"
  39578. },
  39579. "cancelqty": {
  39580. "description": "撤销数量",
  39581. "type": "number"
  39582. },
  39583. "canpart": {
  39584. "description": "是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)",
  39585. "type": "integer"
  39586. },
  39587. "delistminqty": {
  39588. "description": "起摘数量",
  39589. "type": "integer"
  39590. },
  39591. "deliverygoodscode": {
  39592. "description": "品种代码",
  39593. "type": "string"
  39594. },
  39595. "deliverygoodsid": {
  39596. "description": "品种ID",
  39597. "type": "integer"
  39598. },
  39599. "deliverygoodsname": {
  39600. "description": "品种名称",
  39601. "type": "string"
  39602. },
  39603. "deliverymonth": {
  39604. "description": "交收月",
  39605. "type": "string"
  39606. },
  39607. "enddate": {
  39608. "description": "结束交易日(yyyymmdd)",
  39609. "type": "string"
  39610. },
  39611. "enumdicname": {
  39612. "description": "单位名称",
  39613. "type": "string"
  39614. },
  39615. "fixedprice": {
  39616. "description": "固定价格 - [挂牌]",
  39617. "type": "number"
  39618. },
  39619. "freezecharge": {
  39620. "description": "冻结手续费",
  39621. "type": "number"
  39622. },
  39623. "freezemargin": {
  39624. "description": "冻结保证金(保证金)",
  39625. "type": "number"
  39626. },
  39627. "futupricemove": {
  39628. "description": "期货升贴水",
  39629. "type": "number"
  39630. },
  39631. "futushow": {
  39632. "description": "期货合约/升贴水",
  39633. "type": "string"
  39634. },
  39635. "goodscode": {
  39636. "description": "期货合约",
  39637. "type": "string"
  39638. },
  39639. "goodsid": {
  39640. "description": "期货商品id",
  39641. "type": "integer"
  39642. },
  39643. "goodsname": {
  39644. "description": "商品名称",
  39645. "type": "string"
  39646. },
  39647. "haswr": {
  39648. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  39649. "type": "integer"
  39650. },
  39651. "isspecified": {
  39652. "description": "是否指定对手 - 0:不指定 1:指定 - [挂牌]",
  39653. "type": "integer"
  39654. },
  39655. "ladingbillid": {
  39656. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  39657. "type": "string"
  39658. },
  39659. "marginvalue": {
  39660. "description": "保证金设置值(履约保证金)",
  39661. "type": "number"
  39662. },
  39663. "marketid": {
  39664. "description": "市场ID",
  39665. "type": "integer"
  39666. },
  39667. "matchusername": {
  39668. "description": "对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)",
  39669. "type": "string"
  39670. },
  39671. "minivalue": {
  39672. "description": "现货商品最小变动值",
  39673. "type": "integer"
  39674. },
  39675. "optioncompare": {
  39676. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  39677. "type": "string"
  39678. },
  39679. "orderqty": {
  39680. "description": "委托数量",
  39681. "type": "number"
  39682. },
  39683. "ordertime": {
  39684. "description": "委托时间(挂牌时间)",
  39685. "type": "string"
  39686. },
  39687. "performancetemplateid": {
  39688. "description": "履约模板id",
  39689. "type": "integer"
  39690. },
  39691. "pricemove": {
  39692. "description": "升贴水(浮动价时填写) - [挂牌]",
  39693. "type": "number"
  39694. },
  39695. "taname": {
  39696. "description": "交易用户名称(资金账号名称)",
  39697. "type": "string"
  39698. },
  39699. "thumurls": {
  39700. "description": "缩略图",
  39701. "type": "string"
  39702. },
  39703. "tradedate": {
  39704. "description": "交易日(yyyyMMdd)",
  39705. "type": "string"
  39706. },
  39707. "tradeprice": {
  39708. "description": "成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)* 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)",
  39709. "type": "number"
  39710. },
  39711. "tradeqty": {
  39712. "description": "成交数量",
  39713. "type": "number"
  39714. },
  39715. "userid": {
  39716. "description": "用户ID",
  39717. "type": "integer"
  39718. },
  39719. "validtime": {
  39720. "description": "挂牌有效期",
  39721. "type": "string"
  39722. },
  39723. "validtype": {
  39724. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  39725. "type": "integer"
  39726. },
  39727. "warehouseid": {
  39728. "description": "仓库ID",
  39729. "type": "integer"
  39730. },
  39731. "warehousename": {
  39732. "description": "仓库名称",
  39733. "type": "string"
  39734. },
  39735. "wrfactortypeid": {
  39736. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  39737. "type": "string"
  39738. },
  39739. "wrfactortypename": {
  39740. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  39741. "type": "string"
  39742. },
  39743. "wrpricetype": {
  39744. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  39745. "type": "integer"
  39746. },
  39747. "wrstandardcode": {
  39748. "description": "现货商品代码",
  39749. "type": "string"
  39750. },
  39751. "wrstandardid": {
  39752. "description": "现货商品ID",
  39753. "type": "integer"
  39754. },
  39755. "wrstandardname": {
  39756. "description": "商品名称",
  39757. "type": "string"
  39758. },
  39759. "wrtradeorderid": {
  39760. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  39761. "type": "string"
  39762. },
  39763. "wrtradeorderstatus": {
  39764. "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:撤单解冻贷款失败",
  39765. "type": "integer"
  39766. },
  39767. "wrtradetype": {
  39768. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  39769. "type": "integer"
  39770. },
  39771. "wrtypename": {
  39772. "description": "商品",
  39773. "type": "string"
  39774. }
  39775. }
  39776. },
  39777. "models.WrOrderQuote": {
  39778. "type": "object",
  39779. "properties": {
  39780. "bannerpicurl": {
  39781. "description": "Banner图",
  39782. "type": "string"
  39783. },
  39784. "buyprice": {
  39785. "description": "买价",
  39786. "type": "number"
  39787. },
  39788. "buypricemove": {
  39789. "description": "买升贴水(基差)",
  39790. "type": "number"
  39791. },
  39792. "buyqty": {
  39793. "description": "买量",
  39794. "type": "number"
  39795. },
  39796. "deliverygoodscode": {
  39797. "description": "品种代码",
  39798. "type": "string"
  39799. },
  39800. "deliverygoodsid": {
  39801. "description": "品种id",
  39802. "type": "integer"
  39803. },
  39804. "deliverygoodsname": {
  39805. "description": "品种名称",
  39806. "type": "string"
  39807. },
  39808. "deliverymonth": {
  39809. "description": "交收月",
  39810. "type": "string"
  39811. },
  39812. "enumdicname": {
  39813. "description": "单位名称",
  39814. "type": "string"
  39815. },
  39816. "goodscode": {
  39817. "description": "商品合约(浮动价列表才有)",
  39818. "type": "string"
  39819. },
  39820. "goodsid": {
  39821. "description": "商品id(浮动价列表才有)",
  39822. "type": "integer"
  39823. },
  39824. "minivalue": {
  39825. "description": "现货商品最小变动值",
  39826. "type": "integer"
  39827. },
  39828. "pictureurls": {
  39829. "description": "详情图片(逗号分隔)",
  39830. "type": "string"
  39831. },
  39832. "sellprice": {
  39833. "description": "卖价",
  39834. "type": "number"
  39835. },
  39836. "sellpricemove": {
  39837. "description": "卖升贴水(基差)",
  39838. "type": "number"
  39839. },
  39840. "sellqty": {
  39841. "description": "卖量",
  39842. "type": "number"
  39843. },
  39844. "thumurls": {
  39845. "description": "缩略图片(1:1)(逗号分隔)",
  39846. "type": "string"
  39847. },
  39848. "warehousecode": {
  39849. "description": "仓库代码",
  39850. "type": "string"
  39851. },
  39852. "warehouseid": {
  39853. "description": "仓库id",
  39854. "type": "integer"
  39855. },
  39856. "warehousename": {
  39857. "description": "仓库名称",
  39858. "type": "string"
  39859. },
  39860. "wrfactortypeid": {
  39861. "description": "仓单要素id",
  39862. "type": "string"
  39863. },
  39864. "wrfactortypename": {
  39865. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  39866. "type": "string"
  39867. },
  39868. "wrgoodsname": {
  39869. "description": "商品(商品名称+仓库要素名称 拼接)",
  39870. "type": "string"
  39871. },
  39872. "wrstandardcode": {
  39873. "description": "商品代码",
  39874. "type": "string"
  39875. },
  39876. "wrstandardid": {
  39877. "description": "商品id",
  39878. "type": "integer"
  39879. },
  39880. "wrstandardname": {
  39881. "description": "商品名称",
  39882. "type": "string"
  39883. }
  39884. }
  39885. },
  39886. "models.WrOrderQuoteDetail": {
  39887. "type": "object",
  39888. "properties": {
  39889. "buyorsell": {
  39890. "description": "买卖 - 0:买 1:卖",
  39891. "type": "integer"
  39892. },
  39893. "delistminqty": {
  39894. "description": "起摘数量",
  39895. "type": "number"
  39896. },
  39897. "deliverymonth": {
  39898. "description": "交收月",
  39899. "type": "string"
  39900. },
  39901. "enumdicname": {
  39902. "description": "单位名称",
  39903. "type": "string"
  39904. },
  39905. "fixedprice": {
  39906. "description": "买(卖)价",
  39907. "type": "number"
  39908. },
  39909. "marketid": {
  39910. "description": "市场id",
  39911. "type": "integer"
  39912. },
  39913. "minivalue": {
  39914. "description": "现货商品最小变动值",
  39915. "type": "integer"
  39916. },
  39917. "orderqty": {
  39918. "description": "买(卖)量(=委托量-成交量)",
  39919. "type": "number"
  39920. },
  39921. "ordertime": {
  39922. "description": "委托时间",
  39923. "type": "string"
  39924. },
  39925. "pricemove": {
  39926. "description": "买(卖)升贴水- 基差",
  39927. "type": "number"
  39928. },
  39929. "userid": {
  39930. "description": "购买方(销售方)用户ID",
  39931. "type": "integer"
  39932. },
  39933. "username": {
  39934. "description": "购买方(销售方)",
  39935. "type": "string"
  39936. },
  39937. "wrtradeorderid": {
  39938. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  39939. "type": "string"
  39940. }
  39941. }
  39942. },
  39943. "models.WrOutInApply": {
  39944. "type": "object",
  39945. "properties": {
  39946. "applyid": {
  39947. "description": "申请单id",
  39948. "type": "string"
  39949. },
  39950. "applystatus": {
  39951. "description": "申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  39952. "type": "integer"
  39953. },
  39954. "applytime": {
  39955. "description": "申请时间",
  39956. "type": "string"
  39957. },
  39958. "applytype": {
  39959. "description": "申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销",
  39960. "type": "integer"
  39961. },
  39962. "bannerpicurl": {
  39963. "description": "Banner图",
  39964. "type": "string"
  39965. },
  39966. "begindate": {
  39967. "description": "开始交易日(yyyymmdd)",
  39968. "type": "string"
  39969. },
  39970. "deliverygoodscode": {
  39971. "description": "品种代码",
  39972. "type": "string"
  39973. },
  39974. "deliverygoodsid": {
  39975. "description": "品种ID",
  39976. "type": "integer"
  39977. },
  39978. "deliverygoodsname": {
  39979. "description": "品种名称",
  39980. "type": "string"
  39981. },
  39982. "enddate": {
  39983. "description": "结束交易日(yyyymmdd)",
  39984. "type": "string"
  39985. },
  39986. "enumdicname": {
  39987. "description": "单位名称",
  39988. "type": "string"
  39989. },
  39990. "expresscompany": {
  39991. "description": "物流公司",
  39992. "type": "string"
  39993. },
  39994. "expressnum": {
  39995. "description": "物流单号",
  39996. "type": "string"
  39997. },
  39998. "minivalue": {
  39999. "description": "现货商品最小变动值",
  40000. "type": "integer"
  40001. },
  40002. "optioncompare": {
  40003. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  40004. "type": "string"
  40005. },
  40006. "qty": {
  40007. "description": "数量",
  40008. "type": "integer"
  40009. },
  40010. "userid": {
  40011. "description": "用户id",
  40012. "type": "integer"
  40013. },
  40014. "warehouseid": {
  40015. "description": "仓库ID",
  40016. "type": "integer"
  40017. },
  40018. "warehousename": {
  40019. "description": "仓库名称",
  40020. "type": "string"
  40021. },
  40022. "wrfactortypeid": {
  40023. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  40024. "type": "string"
  40025. },
  40026. "wrfactortypename": {
  40027. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  40028. "type": "string"
  40029. },
  40030. "wrstandardcode": {
  40031. "description": "现货商品代码",
  40032. "type": "string"
  40033. },
  40034. "wrstandardid": {
  40035. "description": "现货商品ID",
  40036. "type": "integer"
  40037. },
  40038. "wrstandardname": {
  40039. "description": "商品名称",
  40040. "type": "string"
  40041. },
  40042. "wrtypename": {
  40043. "description": "商品",
  40044. "type": "string"
  40045. }
  40046. }
  40047. },
  40048. "models.WrPerformancePlan": {
  40049. "type": "object",
  40050. "required": [
  40051. "userid"
  40052. ],
  40053. "properties": {
  40054. "activatemonth": {
  40055. "description": "履约激活月 [无仓单的交易收月](yyyy-MM)",
  40056. "type": "string"
  40057. },
  40058. "amount": {
  40059. "description": "履约金额(总金额)",
  40060. "type": "number"
  40061. },
  40062. "begindate": {
  40063. "description": "开始交易日(yyyymmdd)",
  40064. "type": "string"
  40065. },
  40066. "buyaccountid": {
  40067. "description": "买方账号",
  40068. "type": "integer"
  40069. },
  40070. "buyerfreezeamount": {
  40071. "description": "履约冻结(买履约)",
  40072. "type": "number"
  40073. },
  40074. "buyerfreezeamountremain": {
  40075. "description": "履约冻结剩余(买履约)",
  40076. "type": "number"
  40077. },
  40078. "buyorsell": {
  40079. "description": "买卖方向 0-买 1-卖",
  40080. "type": "integer"
  40081. },
  40082. "buypaidamount": {
  40083. "description": "买方已冻/已扣金额 (已付金额)",
  40084. "type": "number"
  40085. },
  40086. "buyusername": {
  40087. "description": "买方名字",
  40088. "type": "string"
  40089. },
  40090. "contractid": {
  40091. "description": "合同ID",
  40092. "type": "integer"
  40093. },
  40094. "createtime": {
  40095. "description": "创建时间",
  40096. "type": "string"
  40097. },
  40098. "creatorid": {
  40099. "description": "创建人",
  40100. "type": "integer"
  40101. },
  40102. "curstepdeadline": {
  40103. "description": "当前步骤到期时间",
  40104. "type": "string"
  40105. },
  40106. "curstepid": {
  40107. "description": "当前步骤ID",
  40108. "type": "string"
  40109. },
  40110. "curstepname": {
  40111. "description": "当前步骤名称",
  40112. "type": "string"
  40113. },
  40114. "deliverygoodscode": {
  40115. "description": "品种代码",
  40116. "type": "string"
  40117. },
  40118. "deliverygoodsid": {
  40119. "description": "品种ID",
  40120. "type": "integer"
  40121. },
  40122. "deliverygoodsname": {
  40123. "description": "品种名称",
  40124. "type": "string"
  40125. },
  40126. "enddate": {
  40127. "description": "结束交易日(yyyymmdd)",
  40128. "type": "string"
  40129. },
  40130. "enumdicname": {
  40131. "description": "单位名称",
  40132. "type": "string"
  40133. },
  40134. "expressfee": {
  40135. "description": "运费",
  40136. "type": "number"
  40137. },
  40138. "expressfeeconfirmed": {
  40139. "description": "是否确认运费 - 0:无 1:买方确认 2:卖方确认",
  40140. "type": "integer"
  40141. },
  40142. "hasovershort": {
  40143. "description": "是否确认溢短 - 0:没有 1:买方确认 2:卖方确认",
  40144. "type": "integer"
  40145. },
  40146. "haswr": {
  40147. "description": "类型 0-仓单预售 1-仓单贸易",
  40148. "type": "integer"
  40149. },
  40150. "marketid": {
  40151. "description": "市场ID",
  40152. "type": "integer"
  40153. },
  40154. "middleaccountid": {
  40155. "description": "中间商资金账号ID",
  40156. "type": "integer"
  40157. },
  40158. "middleuserid": {
  40159. "description": "中间商用户ID",
  40160. "type": "integer"
  40161. },
  40162. "minivalue": {
  40163. "description": "现货商品最小变动值",
  40164. "type": "integer"
  40165. },
  40166. "optioncompare": {
  40167. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  40168. "type": "string"
  40169. },
  40170. "overshortamount": {
  40171. "description": "溢短金额",
  40172. "type": "number"
  40173. },
  40174. "overshortqty": {
  40175. "description": "溢短数量",
  40176. "type": "number"
  40177. },
  40178. "paymenttype": {
  40179. "description": "付款方式 - 1:冻结 2:扣款",
  40180. "type": "integer"
  40181. },
  40182. "performanceplanid": {
  40183. "description": "履约计划ID(130+yyMMddHHmmss+xxxx)",
  40184. "type": "string"
  40185. },
  40186. "performancestatus": {
  40187. "description": "履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭",
  40188. "type": "integer"
  40189. },
  40190. "performancetype": {
  40191. "description": "履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统",
  40192. "type": "integer"
  40193. },
  40194. "qty": {
  40195. "description": "履约数量",
  40196. "type": "number"
  40197. },
  40198. "relatedorderid": {
  40199. "description": "关联单号(履约类型的关联单号)",
  40200. "type": "string"
  40201. },
  40202. "remark": {
  40203. "description": "备注",
  40204. "type": "string"
  40205. },
  40206. "sellaccountid": {
  40207. "description": "卖方账号",
  40208. "type": "integer"
  40209. },
  40210. "sellerfreezeamount": {
  40211. "description": "履约冻结(卖履约)",
  40212. "type": "number"
  40213. },
  40214. "sellerfreezeamountremain": {
  40215. "description": "履约冻结剩余(卖履约)",
  40216. "type": "number"
  40217. },
  40218. "sellreceivedamount": {
  40219. "description": "卖方已收金额",
  40220. "type": "number"
  40221. },
  40222. "sellusername": {
  40223. "description": "卖方名字",
  40224. "type": "string"
  40225. },
  40226. "shipremark": {
  40227. "description": "发货备注[物流单号]",
  40228. "type": "string"
  40229. },
  40230. "starttime": {
  40231. "description": "开始时间",
  40232. "type": "string"
  40233. },
  40234. "steptypeid": {
  40235. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  40236. "type": "integer"
  40237. },
  40238. "typename": {
  40239. "description": "履约类型 名称",
  40240. "type": "string"
  40241. },
  40242. "unpaidamount": {
  40243. "description": "剩余款(待支付金额)",
  40244. "type": "number"
  40245. },
  40246. "userid": {
  40247. "description": "用户id",
  40248. "type": "integer"
  40249. },
  40250. "warehouseid": {
  40251. "description": "仓库ID",
  40252. "type": "integer"
  40253. },
  40254. "warehousename": {
  40255. "description": "仓库名称",
  40256. "type": "string"
  40257. },
  40258. "wrfactortypeid": {
  40259. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  40260. "type": "string"
  40261. },
  40262. "wrfactortypename": {
  40263. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  40264. "type": "string"
  40265. },
  40266. "wrstandardcode": {
  40267. "description": "现货商品代码",
  40268. "type": "string"
  40269. },
  40270. "wrstandardid": {
  40271. "description": "现货商品ID",
  40272. "type": "integer"
  40273. },
  40274. "wrstandardname": {
  40275. "description": "商品名称",
  40276. "type": "string"
  40277. },
  40278. "wrtransferuserid": {
  40279. "description": "仓单受让用户",
  40280. "type": "integer"
  40281. },
  40282. "wrtypename": {
  40283. "description": "商品",
  40284. "type": "string"
  40285. }
  40286. }
  40287. },
  40288. "models.WrPerformancePlanStep": {
  40289. "type": "object",
  40290. "properties": {
  40291. "delaydays": {
  40292. "description": "延期申请天数",
  40293. "type": "integer"
  40294. },
  40295. "deliverygoodscode": {
  40296. "description": "品种代码",
  40297. "type": "string"
  40298. },
  40299. "deliverygoodsid": {
  40300. "description": "品种ID",
  40301. "type": "integer"
  40302. },
  40303. "deliverygoodsname": {
  40304. "description": "品种名称",
  40305. "type": "string"
  40306. },
  40307. "endtime": {
  40308. "description": "结束日期",
  40309. "type": "string"
  40310. },
  40311. "enumdicname": {
  40312. "description": "单位名称",
  40313. "type": "string"
  40314. },
  40315. "executeside": {
  40316. "description": "步骤执行方 - 1:买方 2:卖方",
  40317. "type": "integer"
  40318. },
  40319. "handlestatus": {
  40320. "description": "处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败",
  40321. "type": "integer"
  40322. },
  40323. "isauto": {
  40324. "description": "是否自动 - 0:不自动 1:自动",
  40325. "type": "integer"
  40326. },
  40327. "islastreceivestep": {
  40328. "description": "是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)",
  40329. "type": "integer"
  40330. },
  40331. "minivalue": {
  40332. "description": "现货商品最小变动值",
  40333. "type": "integer"
  40334. },
  40335. "optioncompare": {
  40336. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  40337. "type": "string"
  40338. },
  40339. "overdays": {
  40340. "description": "超期天数 = 当前时间(数据库时间) - 结束日期",
  40341. "type": "integer"
  40342. },
  40343. "performancestepid": {
  40344. "description": "履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)",
  40345. "type": "string"
  40346. },
  40347. "planid": {
  40348. "description": "所属履约计划ID",
  40349. "type": "string"
  40350. },
  40351. "realamount": {
  40352. "description": "实际完成金额",
  40353. "type": "number"
  40354. },
  40355. "relatedorderid": {
  40356. "description": "关联单号",
  40357. "type": "string"
  40358. },
  40359. "remaindays": {
  40360. "description": "剩余天数",
  40361. "type": "integer"
  40362. },
  40363. "remark": {
  40364. "description": "错误备注",
  40365. "type": "string"
  40366. },
  40367. "starttime": {
  40368. "description": "开始日期",
  40369. "type": "string"
  40370. },
  40371. "stepamount": {
  40372. "description": "步骤金额",
  40373. "type": "number"
  40374. },
  40375. "stepdays": {
  40376. "description": "距离上一步天数(分钟)",
  40377. "type": "integer"
  40378. },
  40379. "stepindex": {
  40380. "description": "步骤序号",
  40381. "type": "integer"
  40382. },
  40383. "steplanchtype": {
  40384. "description": "步骤启动类型 - 1:系统自动 2:手动",
  40385. "type": "integer"
  40386. },
  40387. "stepremark": {
  40388. "description": "步骤备注",
  40389. "type": "string"
  40390. },
  40391. "stepstatus": {
  40392. "description": "步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭",
  40393. "type": "integer"
  40394. },
  40395. "steptypeid": {
  40396. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  40397. "type": "integer"
  40398. },
  40399. "steptypename": {
  40400. "description": "步骤名称",
  40401. "type": "string"
  40402. },
  40403. "stepvalue": {
  40404. "description": "步骤值",
  40405. "type": "number"
  40406. },
  40407. "warehouseid": {
  40408. "description": "仓库ID",
  40409. "type": "integer"
  40410. },
  40411. "warehousename": {
  40412. "description": "仓库名称",
  40413. "type": "string"
  40414. },
  40415. "wrfactortypeid": {
  40416. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  40417. "type": "string"
  40418. },
  40419. "wrfactortypename": {
  40420. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  40421. "type": "string"
  40422. },
  40423. "wrstandardcode": {
  40424. "description": "现货商品代码",
  40425. "type": "string"
  40426. },
  40427. "wrstandardid": {
  40428. "description": "现货商品ID",
  40429. "type": "integer"
  40430. },
  40431. "wrstandardname": {
  40432. "description": "商品名称",
  40433. "type": "string"
  40434. },
  40435. "wrtypename": {
  40436. "description": "商品",
  40437. "type": "string"
  40438. }
  40439. }
  40440. },
  40441. "models.WrPerformanceStepType": {
  40442. "type": "object",
  40443. "properties": {
  40444. "canauto": {
  40445. "description": "能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)",
  40446. "type": "integer"
  40447. },
  40448. "steptypeid": {
  40449. "description": "步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移",
  40450. "type": "integer"
  40451. },
  40452. "steptypename": {
  40453. "description": "步骤类型名称",
  40454. "type": "string"
  40455. }
  40456. }
  40457. },
  40458. "models.WrPerformanceTemplateEx": {
  40459. "type": "object",
  40460. "properties": {
  40461. "autoid": {
  40462. "description": "AutoID 模板id",
  40463. "type": "integer"
  40464. },
  40465. "createtime": {
  40466. "description": "创建时间",
  40467. "type": "string"
  40468. },
  40469. "creatorid": {
  40470. "description": "创建人",
  40471. "type": "integer"
  40472. },
  40473. "lstStep": {
  40474. "description": "步骤信息列表",
  40475. "type": "array",
  40476. "items": {
  40477. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  40478. }
  40479. },
  40480. "paymenttype": {
  40481. "description": "支付方式 - 1:冻结 2:扣款",
  40482. "type": "integer"
  40483. },
  40484. "takemode": {
  40485. "description": "提货方式 - 1:无 2:买方自提 3:卖方发货",
  40486. "type": "integer"
  40487. },
  40488. "templatename": {
  40489. "description": "模板名称",
  40490. "type": "string"
  40491. },
  40492. "templatetype": {
  40493. "description": "模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式",
  40494. "type": "integer"
  40495. },
  40496. "userid": {
  40497. "description": "所属用户",
  40498. "type": "integer"
  40499. }
  40500. }
  40501. },
  40502. "models.WrPosition": {
  40503. "type": "object",
  40504. "properties": {
  40505. "accountid": {
  40506. "description": "帐户ID",
  40507. "type": "integer"
  40508. },
  40509. "buyexcuteqty": {
  40510. "description": "采购履约中数量",
  40511. "type": "number"
  40512. },
  40513. "creditcurqty": {
  40514. "description": "授信当前数量(预售仓单:预售当前量)",
  40515. "type": "number"
  40516. },
  40517. "creditenableqty": {
  40518. "description": "授信可用数量(预售仓单: 可用数量)",
  40519. "type": "number"
  40520. },
  40521. "creditfreezeqty": {
  40522. "description": "授信冻结数量(预售仓单: 当前数量)",
  40523. "type": "number"
  40524. },
  40525. "credittotalqty": {
  40526. "description": "授信总数量(预售仓单:预售总量)",
  40527. "type": "number"
  40528. },
  40529. "credittradeqty": {
  40530. "description": "授信成交数量(预售仓单:成交总量)",
  40531. "type": "number"
  40532. },
  40533. "deliverygoodscode": {
  40534. "description": "品种代码",
  40535. "type": "string"
  40536. },
  40537. "deliverygoodsid": {
  40538. "description": "品种ID",
  40539. "type": "integer"
  40540. },
  40541. "deliverygoodsname": {
  40542. "description": "品种名称",
  40543. "type": "string"
  40544. },
  40545. "enalbeqty": {
  40546. "description": "可用数量",
  40547. "type": "number"
  40548. },
  40549. "enumdicname": {
  40550. "description": "单位名称",
  40551. "type": "string"
  40552. },
  40553. "freezeqty": {
  40554. "description": "总冻结数量",
  40555. "type": "number"
  40556. },
  40557. "haswr": {
  40558. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  40559. "type": "integer"
  40560. },
  40561. "minivalue": {
  40562. "description": "现货商品最小变动值",
  40563. "type": "integer"
  40564. },
  40565. "modifytime": {
  40566. "description": "修改时间(过户时间)",
  40567. "type": "string"
  40568. },
  40569. "optioncompare": {
  40570. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  40571. "type": "string"
  40572. },
  40573. "pledgeqty": {
  40574. "description": "质押数量",
  40575. "type": "number"
  40576. },
  40577. "querytype": {
  40578. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总)",
  40579. "type": "integer"
  40580. },
  40581. "sellexcuteqty": {
  40582. "description": "销售履约中数量",
  40583. "type": "number"
  40584. },
  40585. "totalqty": {
  40586. "description": "总数量(库存数量)",
  40587. "type": "number"
  40588. },
  40589. "warehouseid": {
  40590. "description": "仓库ID",
  40591. "type": "integer"
  40592. },
  40593. "warehousename": {
  40594. "description": "仓库名称",
  40595. "type": "string"
  40596. },
  40597. "wrfactortypeid": {
  40598. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  40599. "type": "string"
  40600. },
  40601. "wrfactortypename": {
  40602. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  40603. "type": "string"
  40604. },
  40605. "wrpositionid": {
  40606. "description": "仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)",
  40607. "type": "string"
  40608. },
  40609. "wrpositionno": {
  40610. "description": "仓单编号",
  40611. "type": "string"
  40612. },
  40613. "wrstandardcode": {
  40614. "description": "现货商品代码",
  40615. "type": "string"
  40616. },
  40617. "wrstandardid": {
  40618. "description": "现货商品ID",
  40619. "type": "integer"
  40620. },
  40621. "wrstandardname": {
  40622. "description": "商品名称",
  40623. "type": "string"
  40624. },
  40625. "wrtypename": {
  40626. "description": "商品",
  40627. "type": "string"
  40628. },
  40629. "wruserid": {
  40630. "description": "持有人ID",
  40631. "type": "integer"
  40632. }
  40633. }
  40634. },
  40635. "models.WrPreSaleInfo": {
  40636. "type": "object",
  40637. "properties": {
  40638. "bannerpicurl": {
  40639. "description": "Banner图",
  40640. "type": "string"
  40641. },
  40642. "baseqty": {
  40643. "description": "中签基数",
  40644. "type": "number"
  40645. },
  40646. "createtime": {
  40647. "description": "创建时间",
  40648. "type": "string"
  40649. },
  40650. "deliverygoodsid": {
  40651. "description": "现货品种ID",
  40652. "type": "integer"
  40653. },
  40654. "enddate": {
  40655. "description": "预售结束日期",
  40656. "type": "string"
  40657. },
  40658. "enumdicname": {
  40659. "description": "单位名称",
  40660. "type": "string"
  40661. },
  40662. "lotteryflag": {
  40663. "description": "摇号标识 - 0:未摇号 1:已摇号",
  40664. "type": "integer"
  40665. },
  40666. "lotteryqty": {
  40667. "description": "摇号总量",
  40668. "type": "number"
  40669. },
  40670. "luckyqty": {
  40671. "description": "已中签量",
  40672. "type": "number"
  40673. },
  40674. "marketid": {
  40675. "description": "市场ID",
  40676. "type": "integer"
  40677. },
  40678. "maxbuyqty": {
  40679. "description": "单人最大申购量",
  40680. "type": "number"
  40681. },
  40682. "maxluckyqty": {
  40683. "description": "单人最大中签量",
  40684. "type": "number"
  40685. },
  40686. "pictureurls": {
  40687. "description": "详情图片(逗号分隔)",
  40688. "type": "string"
  40689. },
  40690. "placeqty": {
  40691. "description": "已配售量",
  40692. "type": "number"
  40693. },
  40694. "presaleapplyid": {
  40695. "description": "预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)",
  40696. "type": "string",
  40697. "example": "0"
  40698. },
  40699. "presaleqty": {
  40700. "description": "预售总量",
  40701. "type": "number"
  40702. },
  40703. "presalestatus": {
  40704. "description": "预售状态 - 1:未开始 2:进行中 3:已结束 4:已关闭",
  40705. "type": "integer"
  40706. },
  40707. "sellaccountid": {
  40708. "description": "发行方资金账户ID",
  40709. "type": "integer"
  40710. },
  40711. "selluserid": {
  40712. "description": "发行方用户ID",
  40713. "type": "integer"
  40714. },
  40715. "sellwrtradeorderid": {
  40716. "description": "发行方卖委托单ID",
  40717. "type": "string"
  40718. },
  40719. "startdate": {
  40720. "description": "预售开始日期",
  40721. "type": "string"
  40722. },
  40723. "takestartdate": {
  40724. "description": "提货开始日期",
  40725. "type": "string"
  40726. },
  40727. "thumurls": {
  40728. "description": "缩略图片(1:1)(逗号分隔)",
  40729. "type": "string"
  40730. },
  40731. "tradedate": {
  40732. "description": "交易日",
  40733. "type": "string"
  40734. },
  40735. "unitid": {
  40736. "description": "单位ID",
  40737. "type": "integer"
  40738. },
  40739. "unitprice": {
  40740. "description": "商品单价",
  40741. "type": "number"
  40742. },
  40743. "username": {
  40744. "description": "发行方用户名称",
  40745. "type": "string"
  40746. },
  40747. "warehousecode": {
  40748. "description": "仓库代码(仓库简称)",
  40749. "type": "string"
  40750. },
  40751. "warehouseid": {
  40752. "description": "仓库ID",
  40753. "type": "integer"
  40754. },
  40755. "warehousename": {
  40756. "description": "仓库名称",
  40757. "type": "string"
  40758. },
  40759. "wrfactortypeid": {
  40760. "description": "仓单要素类型ID - 根据现货商品\\仓库生成",
  40761. "type": "string",
  40762. "example": "0"
  40763. },
  40764. "wrstandardid": {
  40765. "description": "现货商品ID",
  40766. "type": "integer"
  40767. },
  40768. "wrstandardname": {
  40769. "description": "现货商品名称",
  40770. "type": "string"
  40771. }
  40772. }
  40773. },
  40774. "models.WrQuoteOrderMyq": {
  40775. "type": "object",
  40776. "properties": {
  40777. "buyorsell": {
  40778. "description": "买卖 - 0:买 1:卖",
  40779. "type": "integer"
  40780. },
  40781. "canbargain": {
  40782. "description": "是否可议价 - 0:不可 1:可",
  40783. "type": "integer"
  40784. },
  40785. "canpart": {
  40786. "description": "是否允许部份摘牌 - 0:不允许 1:允许",
  40787. "type": "integer"
  40788. },
  40789. "delistminqty": {
  40790. "description": "起摘数量",
  40791. "type": "number"
  40792. },
  40793. "deliverygoodscode": {
  40794. "description": "品种代码",
  40795. "type": "string"
  40796. },
  40797. "deliverygoodsid": {
  40798. "description": "品种ID",
  40799. "type": "integer"
  40800. },
  40801. "deliverygoodsname": {
  40802. "description": "品种名称",
  40803. "type": "string"
  40804. },
  40805. "deliverymonth": {
  40806. "description": "交收月",
  40807. "type": "string"
  40808. },
  40809. "enumdicname": {
  40810. "description": "单位名称",
  40811. "type": "string"
  40812. },
  40813. "fixedprice": {
  40814. "description": "买(卖)价",
  40815. "type": "number"
  40816. },
  40817. "goodscode": {
  40818. "description": "商品合约代码",
  40819. "type": "string"
  40820. },
  40821. "marginflag": {
  40822. "description": "挂牌是否指定保证金 - 0:未指定 1:指定",
  40823. "type": "integer"
  40824. },
  40825. "marginvalue": {
  40826. "description": "保证金设置值",
  40827. "type": "number"
  40828. },
  40829. "minivalue": {
  40830. "description": "现货商品最小变动值",
  40831. "type": "integer"
  40832. },
  40833. "orderqty": {
  40834. "description": "买(卖)量(=委托量-成交量)",
  40835. "type": "number"
  40836. },
  40837. "ordertime": {
  40838. "description": "委托时间",
  40839. "type": "string"
  40840. },
  40841. "performancetemplateid": {
  40842. "description": "履约模板id",
  40843. "type": "integer"
  40844. },
  40845. "pricemove": {
  40846. "description": "买(卖)升贴水- 基差",
  40847. "type": "number"
  40848. },
  40849. "templatename": {
  40850. "description": "履约模板名称",
  40851. "type": "string"
  40852. },
  40853. "userid": {
  40854. "description": "购买方(销售方)用户ID",
  40855. "type": "integer"
  40856. },
  40857. "username": {
  40858. "description": "购买方(销售方)",
  40859. "type": "string"
  40860. },
  40861. "validtime": {
  40862. "description": "有效期限",
  40863. "type": "string"
  40864. },
  40865. "validtype": {
  40866. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  40867. "type": "integer"
  40868. },
  40869. "warehousename": {
  40870. "description": "仓库名称",
  40871. "type": "string"
  40872. },
  40873. "wrfactortypeid": {
  40874. "description": "仓单要素id",
  40875. "type": "string"
  40876. },
  40877. "wrstandardcode": {
  40878. "description": "现货商品代码",
  40879. "type": "string"
  40880. },
  40881. "wrstandardid": {
  40882. "description": "现货商品ID",
  40883. "type": "integer"
  40884. },
  40885. "wrstandardname": {
  40886. "description": "商品名称",
  40887. "type": "string"
  40888. },
  40889. "wrtradeorderid": {
  40890. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  40891. "type": "string"
  40892. },
  40893. "wrtypename": {
  40894. "description": "商品",
  40895. "type": "string"
  40896. }
  40897. }
  40898. },
  40899. "models.WrReckonSpotGoodsTradeSum": {
  40900. "type": "object",
  40901. "properties": {
  40902. "begindate": {
  40903. "description": "开始日期(结果含开始日期) yyyymmdd",
  40904. "type": "string"
  40905. },
  40906. "enddate": {
  40907. "description": "结束日期(结果含结束日期) yyyymmdd",
  40908. "type": "string"
  40909. },
  40910. "istoday": {
  40911. "description": "是否当日",
  40912. "type": "boolean"
  40913. },
  40914. "marketid": {
  40915. "description": "市场ID",
  40916. "type": "integer"
  40917. },
  40918. "price": {
  40919. "description": "价格 = 日成交金额 / 日成交数量",
  40920. "type": "string"
  40921. },
  40922. "reckondate": {
  40923. "description": "日期 格式 yyyymmdd",
  40924. "type": "string"
  40925. },
  40926. "tradeamount": {
  40927. "description": "日成交金额(当日单方向成交金额)",
  40928. "type": "number"
  40929. },
  40930. "tradeqty": {
  40931. "description": "日成交数量(当日单方向成交数量)",
  40932. "type": "number"
  40933. },
  40934. "wrstandardid": {
  40935. "description": "现货商品ID",
  40936. "type": "integer"
  40937. }
  40938. }
  40939. },
  40940. "models.WrScfContract": {
  40941. "type": "object",
  40942. "properties": {
  40943. "borroweruserid": {
  40944. "description": "借款用户ID",
  40945. "type": "integer"
  40946. },
  40947. "buybackwrpositionqty": {
  40948. "description": "已回购仓单头寸数量 - [仓单回购\\仓单质押] -\u003e 已回购数量",
  40949. "type": "number"
  40950. },
  40951. "closeinterest": {
  40952. "description": "已结利息 -\u003e 已结费用",
  40953. "type": "number"
  40954. },
  40955. "currisklevel": {
  40956. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  40957. "type": "integer"
  40958. },
  40959. "deadline": {
  40960. "description": "截止日期(yyyyMMdd) -\u003e 借款到期时间",
  40961. "type": "string"
  40962. },
  40963. "deliverygoodscode": {
  40964. "description": "品种代码",
  40965. "type": "string"
  40966. },
  40967. "deliverygoodsid": {
  40968. "description": "品种ID",
  40969. "type": "integer"
  40970. },
  40971. "deliverygoodsname": {
  40972. "description": "品种名称",
  40973. "type": "string"
  40974. },
  40975. "enumdicname": {
  40976. "description": "单位名称",
  40977. "type": "string"
  40978. },
  40979. "financingdays": {
  40980. "description": "天数(天)",
  40981. "type": "integer"
  40982. },
  40983. "initmargin": {
  40984. "description": "保证金 - [仓单回购]",
  40985. "type": "number"
  40986. },
  40987. "interestamount": {
  40988. "description": "计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \\ 合同剩余金额",
  40989. "type": "number"
  40990. },
  40991. "interestdebt": {
  40992. "description": "利息欠款(记录负数) -\u003e 费用欠款",
  40993. "type": "number"
  40994. },
  40995. "interestminlen": {
  40996. "description": "最小起息天数",
  40997. "type": "integer"
  40998. },
  40999. "interestrate": {
  41000. "description": "利率",
  41001. "type": "number"
  41002. },
  41003. "interestratemode": {
  41004. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  41005. "type": "integer"
  41006. },
  41007. "interestsettlemode": {
  41008. "description": "结息方式 - 1:按日结息 3:按月结息",
  41009. "type": "integer"
  41010. },
  41011. "interestsettlevalue": {
  41012. "description": "结息方式值",
  41013. "type": "integer"
  41014. },
  41015. "isautoloan": {
  41016. "description": "是否自动放款 - 0:手动 1:自动 - [仓单质押]",
  41017. "type": "integer"
  41018. },
  41019. "lastcloseinterestday": {
  41020. "description": "最近结息日(yyyyMMdd)",
  41021. "type": "string"
  41022. },
  41023. "lenderamount": {
  41024. "description": "贷款金额 -\u003e 借款金额",
  41025. "type": "number"
  41026. },
  41027. "lenderuserid": {
  41028. "description": "贷款方用户ID -\u003e 融出方用户ID",
  41029. "type": "integer"
  41030. },
  41031. "lenderusername": {
  41032. "description": "融出方",
  41033. "type": "string"
  41034. },
  41035. "marginratio": {
  41036. "description": "保证金比率质押率 - [仓单质押]",
  41037. "type": "number"
  41038. },
  41039. "marketid": {
  41040. "description": "市场ID - 拆成三个独立模式后,根据市场ID处理",
  41041. "type": "integer"
  41042. },
  41043. "minivalue": {
  41044. "description": "现货商品最小变动值",
  41045. "type": "integer"
  41046. },
  41047. "optioncompare": {
  41048. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  41049. "type": "string"
  41050. },
  41051. "pricemove": {
  41052. "description": "估值升贴水值",
  41053. "type": "number"
  41054. },
  41055. "productdetailid": {
  41056. "description": "产品组合ID",
  41057. "type": "integer"
  41058. },
  41059. "productid": {
  41060. "description": "金融产品ID",
  41061. "type": "integer"
  41062. },
  41063. "productname": {
  41064. "description": "产品名称",
  41065. "type": "string"
  41066. },
  41067. "remainamount": {
  41068. "description": "合同剩余金额 -\u003e 剩余金额",
  41069. "type": "number"
  41070. },
  41071. "remainwrpositionqty": {
  41072. "description": "剩余仓单头寸数量 - [仓单回购\\仓单质押] -\u003e 剩余数量(待回购数量)",
  41073. "type": "number"
  41074. },
  41075. "remark": {
  41076. "description": "备注",
  41077. "type": "string"
  41078. },
  41079. "scfcontractid": {
  41080. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  41081. "type": "string"
  41082. },
  41083. "scfcontractstatus": {
  41084. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  41085. "type": "integer"
  41086. },
  41087. "scfcontracttype": {
  41088. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购",
  41089. "type": "integer"
  41090. },
  41091. "startinterestday": {
  41092. "description": "计息开始日(yyyyMMdd) -\u003e 开始计费日期",
  41093. "type": "string"
  41094. },
  41095. "totalinterest": {
  41096. "description": "已计利息 -\u003e 已计费用",
  41097. "type": "number"
  41098. },
  41099. "unpaidinterest": {
  41100. "description": "未结费用",
  41101. "type": "number"
  41102. },
  41103. "updatetime": {
  41104. "description": "更新时间",
  41105. "type": "string"
  41106. },
  41107. "warehouseid": {
  41108. "description": "仓库ID",
  41109. "type": "integer"
  41110. },
  41111. "warehousename": {
  41112. "description": "仓库名称",
  41113. "type": "string"
  41114. },
  41115. "wrfactortypeid": {
  41116. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  41117. "type": "string"
  41118. },
  41119. "wrfactortypename": {
  41120. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  41121. "type": "string"
  41122. },
  41123. "wrqty": {
  41124. "description": "仓单数量 - [仓单回购\\仓单质押] -\u003e 数量",
  41125. "type": "number"
  41126. },
  41127. "wrstandardcode": {
  41128. "description": "现货商品代码",
  41129. "type": "string"
  41130. },
  41131. "wrstandardid": {
  41132. "description": "现货商品ID",
  41133. "type": "integer"
  41134. },
  41135. "wrstandardname": {
  41136. "description": "商品名称",
  41137. "type": "string"
  41138. },
  41139. "wrtypename": {
  41140. "description": "商品",
  41141. "type": "string"
  41142. }
  41143. }
  41144. },
  41145. "models.WrScfContractInterest": {
  41146. "type": "object",
  41147. "properties": {
  41148. "closeinterest": {
  41149. "description": "已结利息",
  41150. "type": "number"
  41151. },
  41152. "closeintereststatus": {
  41153. "description": "结息状态 - 1:未结 2:已结",
  41154. "type": "integer"
  41155. },
  41156. "closetime": {
  41157. "description": "结息时间",
  41158. "type": "string"
  41159. },
  41160. "closetradedate": {
  41161. "description": "结息交易日",
  41162. "type": "string"
  41163. },
  41164. "creatorid": {
  41165. "description": "操作人ID",
  41166. "type": "integer"
  41167. },
  41168. "dayrate": {
  41169. "description": "日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)",
  41170. "type": "number"
  41171. },
  41172. "interest": {
  41173. "description": "利息",
  41174. "type": "number"
  41175. },
  41176. "interestamount": {
  41177. "description": "计息金额",
  41178. "type": "number"
  41179. },
  41180. "interestday": {
  41181. "description": "计息日(yyyyMMdd)",
  41182. "type": "string"
  41183. },
  41184. "scfcontractid": {
  41185. "description": "SCF合同ID",
  41186. "type": "string"
  41187. },
  41188. "scfcontractinterestid": {
  41189. "description": "SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)",
  41190. "type": "integer"
  41191. },
  41192. "updatetime": {
  41193. "description": "更新时间",
  41194. "type": "string"
  41195. }
  41196. }
  41197. },
  41198. "models.WrSearchUser": {
  41199. "type": "object",
  41200. "required": [
  41201. "username"
  41202. ],
  41203. "properties": {
  41204. "userid": {
  41205. "description": "用户ID",
  41206. "type": "integer"
  41207. },
  41208. "username": {
  41209. "description": "用户名称(已脱敏)",
  41210. "type": "string"
  41211. },
  41212. "username2": {
  41213. "description": "用户名称(未脱敏)",
  41214. "type": "string"
  41215. },
  41216. "usertype": {
  41217. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  41218. "type": "integer"
  41219. }
  41220. }
  41221. },
  41222. "models.WrSiteColumnDetail": {
  41223. "type": "object",
  41224. "properties": {
  41225. "brief": {
  41226. "description": "简介",
  41227. "type": "string"
  41228. },
  41229. "context": {
  41230. "description": "内容",
  41231. "type": "string"
  41232. },
  41233. "coverimage": {
  41234. "description": "封面图片",
  41235. "type": "string"
  41236. },
  41237. "creaedate": {
  41238. "description": "创建时间",
  41239. "type": "string"
  41240. },
  41241. "id": {
  41242. "description": "ID(SEQ_SITE_COLUMNDETAIL)",
  41243. "type": "integer"
  41244. },
  41245. "istop": {
  41246. "description": "是否置顶 - 0:不置 1:置顶",
  41247. "type": "integer"
  41248. },
  41249. "publishdate": {
  41250. "description": "发布日期",
  41251. "type": "string"
  41252. },
  41253. "title": {
  41254. "description": "标题",
  41255. "type": "string"
  41256. },
  41257. "updatedate": {
  41258. "description": "修改时间",
  41259. "type": "string"
  41260. }
  41261. }
  41262. },
  41263. "models.WrSpecialMatchOrder": {
  41264. "type": "object",
  41265. "properties": {
  41266. "amount": {
  41267. "description": "金额 = 数量 * 价格",
  41268. "type": "number"
  41269. },
  41270. "buyorsell": {
  41271. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  41272. "type": "integer"
  41273. },
  41274. "cancelqty": {
  41275. "description": "撤销数量",
  41276. "type": "number"
  41277. },
  41278. "deliverygoodscode": {
  41279. "description": "品种代码",
  41280. "type": "string"
  41281. },
  41282. "deliverygoodsid": {
  41283. "description": "品种ID",
  41284. "type": "integer"
  41285. },
  41286. "deliverygoodsname": {
  41287. "description": "品种名称",
  41288. "type": "string"
  41289. },
  41290. "enumdicname": {
  41291. "description": "单位名称",
  41292. "type": "string"
  41293. },
  41294. "fixedprice": {
  41295. "description": "固定价格(价格)",
  41296. "type": "number"
  41297. },
  41298. "haswr": {
  41299. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  41300. "type": "integer"
  41301. },
  41302. "isspecified": {
  41303. "description": "是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]",
  41304. "type": "integer"
  41305. },
  41306. "marketid": {
  41307. "description": "市场ID",
  41308. "type": "integer"
  41309. },
  41310. "matchuserid": {
  41311. "description": "指定方资金账号(字段名为userid,实际存的是accountid by:邓工)",
  41312. "type": "integer"
  41313. },
  41314. "matchusername": {
  41315. "description": "指定方",
  41316. "type": "string"
  41317. },
  41318. "minivalue": {
  41319. "description": "现货商品最小变动值",
  41320. "type": "integer"
  41321. },
  41322. "optioncompare": {
  41323. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  41324. "type": "string"
  41325. },
  41326. "orderqty": {
  41327. "description": "委托数量",
  41328. "type": "number"
  41329. },
  41330. "ordertime": {
  41331. "description": "委托时间",
  41332. "type": "string"
  41333. },
  41334. "pricemove": {
  41335. "description": "升贴水(浮动价时填写) - [挂牌]",
  41336. "type": "number"
  41337. },
  41338. "tradedate": {
  41339. "description": "交易日(yyyyMMdd)",
  41340. "type": "string"
  41341. },
  41342. "tradeprice": {
  41343. "description": "成交价格",
  41344. "type": "number"
  41345. },
  41346. "tradeqty": {
  41347. "description": "成交数量",
  41348. "type": "number"
  41349. },
  41350. "userid": {
  41351. "description": "用户ID",
  41352. "type": "integer"
  41353. },
  41354. "username": {
  41355. "description": "发起方",
  41356. "type": "string"
  41357. },
  41358. "warehouseid": {
  41359. "description": "仓库ID",
  41360. "type": "integer"
  41361. },
  41362. "warehousename": {
  41363. "description": "仓库名称",
  41364. "type": "string"
  41365. },
  41366. "wrfactortypeid": {
  41367. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  41368. "type": "string"
  41369. },
  41370. "wrfactortypename": {
  41371. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  41372. "type": "string"
  41373. },
  41374. "wrpricetype": {
  41375. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  41376. "type": "integer"
  41377. },
  41378. "wrstandardcode": {
  41379. "description": "现货商品代码",
  41380. "type": "string"
  41381. },
  41382. "wrstandardid": {
  41383. "description": "现货商品ID",
  41384. "type": "integer"
  41385. },
  41386. "wrstandardname": {
  41387. "description": "商品名称",
  41388. "type": "string"
  41389. },
  41390. "wrtradeorderid": {
  41391. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  41392. "type": "string"
  41393. },
  41394. "wrtradeorderstatus": {
  41395. "description": "委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤",
  41396. "type": "integer"
  41397. },
  41398. "wrtradetype": {
  41399. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  41400. "type": "integer"
  41401. },
  41402. "wrtypename": {
  41403. "description": "商品",
  41404. "type": "string"
  41405. }
  41406. }
  41407. },
  41408. "models.WrSpotGroupTradeSum": {
  41409. "type": "object",
  41410. "properties": {
  41411. "deliverygoodscode": {
  41412. "description": "现货品种代码",
  41413. "type": "string"
  41414. },
  41415. "deliverygoodsid": {
  41416. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  41417. "type": "integer"
  41418. },
  41419. "deliverygoodsname": {
  41420. "description": "现货品种名称",
  41421. "type": "string"
  41422. },
  41423. "lastavgprice": {
  41424. "description": "上上个交易日价格(前2天价格)",
  41425. "type": "string"
  41426. },
  41427. "lastreckondate": {
  41428. "description": "上上个交易日(前2天交易日)",
  41429. "type": "string"
  41430. },
  41431. "reckondate": {
  41432. "description": "上个交易日(前1天交易日)",
  41433. "type": "string"
  41434. },
  41435. "todayavgprice": {
  41436. "description": "上个交易日价格(前1天价格)",
  41437. "type": "string"
  41438. },
  41439. "updown": {
  41440. "description": "涨跌",
  41441. "type": "string"
  41442. },
  41443. "updownratio": {
  41444. "description": "涨幅(已格式化, 直接显示即可)",
  41445. "type": "string"
  41446. }
  41447. }
  41448. },
  41449. "models.WrSpotGroupTradeSumDetail": {
  41450. "type": "object",
  41451. "properties": {
  41452. "deliverygoodsid": {
  41453. "description": "现货商品id",
  41454. "type": "integer"
  41455. },
  41456. "price": {
  41457. "description": "价格",
  41458. "type": "number"
  41459. },
  41460. "reckondate": {
  41461. "description": "日期(yyymmdd, 如:20211031)",
  41462. "type": "string"
  41463. }
  41464. }
  41465. },
  41466. "models.WrSpotGroupTradeSumEx": {
  41467. "type": "object",
  41468. "properties": {
  41469. "lst": {
  41470. "description": "指数列表",
  41471. "type": "array",
  41472. "items": {
  41473. "$ref": "#/definitions/models.WrSpotGroupTradeSum"
  41474. }
  41475. },
  41476. "prereckondate": {
  41477. "description": "上上个交易日(yyymmdd)",
  41478. "type": "string"
  41479. },
  41480. "reckondate": {
  41481. "description": "上个交易日(yyyymmdd)",
  41482. "type": "string"
  41483. }
  41484. }
  41485. },
  41486. "models.WrStandardFactoryItem": {
  41487. "type": "object",
  41488. "properties": {
  41489. "dgfactoryitemid": {
  41490. "description": "选择项id",
  41491. "type": "integer"
  41492. },
  41493. "dgfactoryitemvalue": {
  41494. "description": "要素项值",
  41495. "type": "string"
  41496. },
  41497. "warehouseid": {
  41498. "description": "仓库id",
  41499. "type": "integer"
  41500. }
  41501. }
  41502. },
  41503. "models.WrStandardFactoryItemEx": {
  41504. "type": "object",
  41505. "properties": {
  41506. "dgfactoryitemtypeid": {
  41507. "description": "要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)",
  41508. "type": "integer"
  41509. },
  41510. "itemlst": {
  41511. "description": "要素项列表",
  41512. "type": "array",
  41513. "items": {
  41514. "$ref": "#/definitions/models.WrStandardFactoryItem"
  41515. }
  41516. },
  41517. "itemtypename": {
  41518. "description": "要素项类型名称",
  41519. "type": "string"
  41520. },
  41521. "wrstandardid": {
  41522. "description": "品类",
  41523. "type": "integer"
  41524. }
  41525. }
  41526. },
  41527. "models.WrTradeDetail": {
  41528. "type": "object",
  41529. "properties": {
  41530. "accountid": {
  41531. "description": "资金账号",
  41532. "type": "integer"
  41533. },
  41534. "bannerpicurl": {
  41535. "description": "Banner图",
  41536. "type": "string"
  41537. },
  41538. "begindate": {
  41539. "description": "开始交易日(yyyymmdd)",
  41540. "type": "string"
  41541. },
  41542. "buyorsell": {
  41543. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  41544. "type": "integer"
  41545. },
  41546. "chargevalue": {
  41547. "description": "手续费",
  41548. "type": "number"
  41549. },
  41550. "deliverygoodscode": {
  41551. "description": "品种代码",
  41552. "type": "string"
  41553. },
  41554. "deliverygoodsid": {
  41555. "description": "品种ID",
  41556. "type": "integer"
  41557. },
  41558. "deliverygoodsname": {
  41559. "description": "品种名称",
  41560. "type": "string"
  41561. },
  41562. "deliverymonth": {
  41563. "description": "交收月",
  41564. "type": "string"
  41565. },
  41566. "enddate": {
  41567. "description": "结束交易日(yyyymmdd)",
  41568. "type": "string"
  41569. },
  41570. "enumdicname": {
  41571. "description": "单位名称",
  41572. "type": "string"
  41573. },
  41574. "haswr": {
  41575. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  41576. "type": "integer"
  41577. },
  41578. "marketid": {
  41579. "description": "市场ID",
  41580. "type": "integer"
  41581. },
  41582. "matchaccountid": {
  41583. "description": "对手账号",
  41584. "type": "integer"
  41585. },
  41586. "matchusername": {
  41587. "description": "对手方",
  41588. "type": "string"
  41589. },
  41590. "minivalue": {
  41591. "description": "现货商品最小变动值",
  41592. "type": "integer"
  41593. },
  41594. "optioncompare": {
  41595. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  41596. "type": "string"
  41597. },
  41598. "thumurls": {
  41599. "description": "缩略图",
  41600. "type": "string"
  41601. },
  41602. "tradedate": {
  41603. "description": "交易日(yyyyMMdd)",
  41604. "type": "string"
  41605. },
  41606. "tradeprice": {
  41607. "description": "成交价格",
  41608. "type": "number"
  41609. },
  41610. "tradeqty": {
  41611. "description": "成交数量",
  41612. "type": "number"
  41613. },
  41614. "tradetime": {
  41615. "description": "成交时间",
  41616. "type": "string"
  41617. },
  41618. "userid": {
  41619. "description": "用户ID",
  41620. "type": "integer"
  41621. },
  41622. "warehouseid": {
  41623. "description": "仓库ID",
  41624. "type": "integer"
  41625. },
  41626. "warehousename": {
  41627. "description": "仓库名称",
  41628. "type": "string"
  41629. },
  41630. "wrfactortypeid": {
  41631. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  41632. "type": "string"
  41633. },
  41634. "wrfactortypename": {
  41635. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  41636. "type": "string"
  41637. },
  41638. "wrstandardcode": {
  41639. "description": "现货商品代码",
  41640. "type": "string"
  41641. },
  41642. "wrstandardid": {
  41643. "description": "现货商品ID",
  41644. "type": "integer"
  41645. },
  41646. "wrstandardname": {
  41647. "description": "商品名称",
  41648. "type": "string"
  41649. },
  41650. "wrtradedetailid": {
  41651. "description": "仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)",
  41652. "type": "string"
  41653. },
  41654. "wrtradetype": {
  41655. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  41656. "type": "integer"
  41657. },
  41658. "wrtypename": {
  41659. "description": "商品",
  41660. "type": "string"
  41661. }
  41662. }
  41663. },
  41664. "models.WrTradeOrderDetail": {
  41665. "type": "object",
  41666. "properties": {
  41667. "buyorsell": {
  41668. "description": "买卖方向 0-买 1-卖",
  41669. "type": "integer"
  41670. },
  41671. "goodsid": {
  41672. "description": "商品id",
  41673. "type": "integer"
  41674. },
  41675. "orderid": {
  41676. "description": "委托单号",
  41677. "type": "string"
  41678. },
  41679. "orderprice": {
  41680. "description": "委托价格",
  41681. "type": "number"
  41682. },
  41683. "orderqty": {
  41684. "description": "委托数量",
  41685. "type": "integer"
  41686. },
  41687. "userid": {
  41688. "description": "用户id",
  41689. "type": "integer"
  41690. },
  41691. "username": {
  41692. "description": "用户名称(已脱敏)",
  41693. "type": "string"
  41694. }
  41695. }
  41696. },
  41697. "models.WrTypeItem": {
  41698. "type": "object",
  41699. "properties": {
  41700. "name": {
  41701. "description": "名称",
  41702. "type": "string"
  41703. },
  41704. "value": {
  41705. "description": "值",
  41706. "type": "string"
  41707. }
  41708. }
  41709. },
  41710. "models.WrUserFriend": {
  41711. "type": "object",
  41712. "properties": {
  41713. "friendname": {
  41714. "description": "朋友名称(已脱敏)",
  41715. "type": "string"
  41716. },
  41717. "frienduserid": {
  41718. "description": "朋友id",
  41719. "type": "integer"
  41720. },
  41721. "isfriend": {
  41722. "description": "是否好友 0-不是 1-是",
  41723. "type": "integer"
  41724. },
  41725. "userid": {
  41726. "description": "用户id",
  41727. "type": "integer"
  41728. }
  41729. }
  41730. },
  41731. "models.WrUserReceiptInfo": {
  41732. "type": "object",
  41733. "properties": {
  41734. "address": {
  41735. "description": "地址[发票类型:企业]",
  41736. "type": "string"
  41737. },
  41738. "autoid": {
  41739. "description": "AutoID",
  41740. "type": "integer"
  41741. },
  41742. "contactinfo": {
  41743. "description": "联系方式",
  41744. "type": "string"
  41745. },
  41746. "idnum": {
  41747. "description": "身份证号码[发票类型:个人]",
  41748. "type": "string"
  41749. },
  41750. "isdefault": {
  41751. "description": "是否默认地址 - 0:否 1:是",
  41752. "type": "integer"
  41753. },
  41754. "receiptaccount": {
  41755. "description": "发票帐号[发票类型:企业]",
  41756. "type": "string"
  41757. },
  41758. "receiptbank": {
  41759. "description": "发票开户行[发票类型:企业]",
  41760. "type": "string"
  41761. },
  41762. "receipttype": {
  41763. "description": "发票类型 - 1:个人 2:企业",
  41764. "type": "integer"
  41765. },
  41766. "taxpayerid": {
  41767. "description": "纳税人识别号",
  41768. "type": "string"
  41769. },
  41770. "userid": {
  41771. "description": "用户ID",
  41772. "type": "integer"
  41773. },
  41774. "username": {
  41775. "description": "户名(个人姓名或企业名称)",
  41776. "type": "string"
  41777. }
  41778. }
  41779. },
  41780. "models.Wrtradetradequote": {
  41781. "type": "object",
  41782. "properties": {
  41783. "begindate": {
  41784. "description": "开始日期(结果含开始日期) yyyymmdd",
  41785. "type": "string"
  41786. },
  41787. "buyaccountid": {
  41788. "description": "买方账号ID",
  41789. "type": "integer"
  41790. },
  41791. "buyuserid": {
  41792. "description": "买方用户ID",
  41793. "type": "integer"
  41794. },
  41795. "deliverygoodsid": {
  41796. "description": "现货品种ID",
  41797. "type": "integer"
  41798. },
  41799. "enddate": {
  41800. "description": "结束日期(结果含结束日期) yyyymmdd",
  41801. "type": "string"
  41802. },
  41803. "marketid": {
  41804. "description": "市场ID",
  41805. "type": "integer"
  41806. },
  41807. "sellaccountid": {
  41808. "description": "卖方账号ID",
  41809. "type": "integer"
  41810. },
  41811. "selluserid": {
  41812. "description": "卖方用户ID",
  41813. "type": "integer"
  41814. },
  41815. "tradeamount": {
  41816. "description": "成交金额",
  41817. "type": "number"
  41818. },
  41819. "tradedate": {
  41820. "description": "交易日(yyyyMMdd)",
  41821. "type": "string"
  41822. },
  41823. "tradeprice": {
  41824. "description": "成交价格",
  41825. "type": "number"
  41826. },
  41827. "tradeqty": {
  41828. "description": "成交数量",
  41829. "type": "integer"
  41830. },
  41831. "tradetime": {
  41832. "description": "成交时间",
  41833. "type": "string"
  41834. },
  41835. "wrfactortypeid": {
  41836. "description": "仓单要素类型ID",
  41837. "type": "integer"
  41838. },
  41839. "wrstandardid": {
  41840. "description": "现货商品ID",
  41841. "type": "integer"
  41842. },
  41843. "wrtradedetailid": {
  41844. "description": "仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)",
  41845. "type": "string"
  41846. }
  41847. }
  41848. },
  41849. "models.XHBRAND": {
  41850. "type": "object",
  41851. "properties": {
  41852. "brandid": {
  41853. "description": "品牌id",
  41854. "type": "integer"
  41855. },
  41856. "brandname": {
  41857. "description": "品牌名称",
  41858. "type": "string"
  41859. },
  41860. "isvalid": {
  41861. "description": "是否有效 0-无效 1-有效",
  41862. "type": "integer"
  41863. }
  41864. }
  41865. },
  41866. "models.XHDeliveryGoods": {
  41867. "type": "object",
  41868. "properties": {
  41869. "areauserid": {
  41870. "description": "所属机构",
  41871. "type": "integer"
  41872. },
  41873. "bdlst": {
  41874. "description": "品牌列表",
  41875. "type": "array",
  41876. "items": {
  41877. "$ref": "#/definitions/models.XHBRAND"
  41878. }
  41879. },
  41880. "deliverygoodscode": {
  41881. "description": "现货品种代码",
  41882. "type": "string"
  41883. },
  41884. "deliverygoodsid": {
  41885. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  41886. "type": "integer"
  41887. },
  41888. "deliverygoodsname": {
  41889. "description": "现货品种名称",
  41890. "type": "string"
  41891. },
  41892. "dgstatus": {
  41893. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  41894. "type": "integer"
  41895. },
  41896. "filterSubEmpty": {
  41897. "description": "过滤下级为空的",
  41898. "type": "integer"
  41899. },
  41900. "isvalid": {
  41901. "description": "是否有效 - 0:无效 1:有效",
  41902. "type": "integer"
  41903. },
  41904. "remark": {
  41905. "description": "备注",
  41906. "type": "string"
  41907. },
  41908. "unitid": {
  41909. "description": "单位id(目前看,数据库中是空值)",
  41910. "type": "integer"
  41911. },
  41912. "wdlst": {
  41913. "description": "品类(现货商品)列表",
  41914. "type": "array",
  41915. "items": {
  41916. "$ref": "#/definitions/models.XHWrstandard"
  41917. }
  41918. }
  41919. }
  41920. },
  41921. "models.XHMiddleGoods": {
  41922. "type": "object",
  41923. "properties": {
  41924. "GPLST": {
  41925. "description": "期货品种列表",
  41926. "type": "array",
  41927. "items": {
  41928. "$ref": "#/definitions/models.TBGoodsGroup"
  41929. }
  41930. },
  41931. "convertratio": {
  41932. "description": "拆算系数",
  41933. "type": "number"
  41934. },
  41935. "costratio": {
  41936. "description": "成本权重",
  41937. "type": "number"
  41938. },
  41939. "deliverygoodsid": {
  41940. "description": "现货商品id",
  41941. "type": "integer"
  41942. },
  41943. "enumdicname": {
  41944. "description": "单位名称",
  41945. "type": "string"
  41946. },
  41947. "middlegoodscode": {
  41948. "description": "套保品种代码",
  41949. "type": "string"
  41950. },
  41951. "middlegoodsid": {
  41952. "description": "套保品种id",
  41953. "type": "integer"
  41954. },
  41955. "middlegoodsname": {
  41956. "description": "套保品种名称",
  41957. "type": "string"
  41958. },
  41959. "unitid": {
  41960. "description": "单位id",
  41961. "type": "integer"
  41962. }
  41963. }
  41964. },
  41965. "models.XHWrstandard": {
  41966. "type": "object",
  41967. "properties": {
  41968. "bannerpicurl": {
  41969. "description": "banner图",
  41970. "type": "string"
  41971. },
  41972. "deliverygoodsid": {
  41973. "description": "品种ID",
  41974. "type": "integer"
  41975. },
  41976. "enumdicname": {
  41977. "description": "单位名称",
  41978. "type": "string"
  41979. },
  41980. "mglst": {
  41981. "description": "套保品列表",
  41982. "type": "array",
  41983. "items": {
  41984. "$ref": "#/definitions/models.XHMiddleGoods"
  41985. }
  41986. },
  41987. "pictureurls": {
  41988. "description": "详情图片(逗号分隔)",
  41989. "type": "string"
  41990. },
  41991. "thumurls": {
  41992. "description": "缩略图片(1:1)(逗号分隔)",
  41993. "type": "string"
  41994. },
  41995. "unitid": {
  41996. "description": "单位id",
  41997. "type": "integer"
  41998. },
  41999. "vatrate": {
  42000. "description": "增值税率",
  42001. "type": "number"
  42002. },
  42003. "wrstandardcode": {
  42004. "description": "现货商品代码",
  42005. "type": "string"
  42006. },
  42007. "wrstandardid": {
  42008. "description": "现货商品ID(SEQ_WRSTANDARD)",
  42009. "type": "integer"
  42010. },
  42011. "wrstandardname": {
  42012. "description": "现货商品名称",
  42013. "type": "string"
  42014. }
  42015. }
  42016. },
  42017. "models.XhcpSellBackApplyEx": {
  42018. "type": "object",
  42019. "required": [
  42020. "userid"
  42021. ],
  42022. "properties": {
  42023. "applyremark": {
  42024. "description": "申请备注",
  42025. "type": "string"
  42026. },
  42027. "expirytype": {
  42028. "description": "寄售有效期 - 1:3天 2:7天 3:15天 4:长期",
  42029. "type": "integer"
  42030. },
  42031. "goodsspec": {
  42032. "description": "商品规格 - 1:整件 2;整提 3:单罐 4:单盒",
  42033. "type": "integer"
  42034. },
  42035. "holeflag": {
  42036. "description": "是否破洞[原封] - 1:无破洞 2:破洞",
  42037. "type": "integer"
  42038. },
  42039. "isunopened": {
  42040. "description": "是否原封 - 1:否 2:是",
  42041. "type": "integer"
  42042. },
  42043. "mpflag": {
  42044. "description": "磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮",
  42045. "type": "integer"
  42046. },
  42047. "openflag": {
  42048. "description": "是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。",
  42049. "type": "integer"
  42050. },
  42051. "phonenum": {
  42052. "description": "联系电话",
  42053. "type": "string"
  42054. },
  42055. "userid": {
  42056. "description": "所属用户ID",
  42057. "type": "integer"
  42058. },
  42059. "zpflag": {
  42060. "description": "皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮",
  42061. "type": "integer"
  42062. }
  42063. }
  42064. },
  42065. "models.Xhcpsellbackapply": {
  42066. "type": "object",
  42067. "required": [
  42068. "userid"
  42069. ],
  42070. "properties": {
  42071. "applyid": {
  42072. "description": "申请人",
  42073. "type": "integer"
  42074. },
  42075. "applyremark": {
  42076. "description": "申请备注",
  42077. "type": "string"
  42078. },
  42079. "applysrc": {
  42080. "description": "申请来源 - 1:管理端 2:终端",
  42081. "type": "integer"
  42082. },
  42083. "applystatus": {
  42084. "description": "申请状态 - 1:待确认 2:已处理",
  42085. "type": "integer"
  42086. },
  42087. "applytime": {
  42088. "description": "申请时间",
  42089. "type": "string"
  42090. },
  42091. "auditremark": {
  42092. "description": "审核备注",
  42093. "type": "string"
  42094. },
  42095. "auditsrc": {
  42096. "description": "审核来源 - 1:管理端 2:终端",
  42097. "type": "integer"
  42098. },
  42099. "expirytype": {
  42100. "description": "寄售有效期 - 1:3天 2:7天 3:15天 4:长期",
  42101. "type": "integer"
  42102. },
  42103. "goodsspec": {
  42104. "description": "商品规格 - 1:整件 2;整提 3:单罐 4:单盒",
  42105. "type": "integer"
  42106. },
  42107. "holeflag": {
  42108. "description": "是否破洞[原封] - 1:无破洞 2:破洞",
  42109. "type": "integer"
  42110. },
  42111. "isunopened": {
  42112. "description": "是否原封 - 1:否 2:是",
  42113. "type": "integer"
  42114. },
  42115. "mpflag": {
  42116. "description": "磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮",
  42117. "type": "integer"
  42118. },
  42119. "openflag": {
  42120. "description": "是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。",
  42121. "type": "integer"
  42122. },
  42123. "phonenum": {
  42124. "description": "联系电话",
  42125. "type": "string"
  42126. },
  42127. "sellbackapplyid": {
  42128. "description": "回收申请ID - SEQ_XHCP_SELLBACKAPPLY",
  42129. "type": "string"
  42130. },
  42131. "userid": {
  42132. "description": "所属用户ID",
  42133. "type": "integer"
  42134. },
  42135. "zpflag": {
  42136. "description": "皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮",
  42137. "type": "integer"
  42138. }
  42139. }
  42140. },
  42141. "order.QueryHisTradeDetailRsp": {
  42142. "type": "object",
  42143. "required": [
  42144. "accountid",
  42145. "buyorsell",
  42146. "goodsid",
  42147. "histradedate",
  42148. "marketid",
  42149. "memberuserid",
  42150. "orderid",
  42151. "tradeamount",
  42152. "tradedate",
  42153. "tradeid",
  42154. "tradeprice",
  42155. "tradeqty",
  42156. "tradetime"
  42157. ],
  42158. "properties": {
  42159. "accountid": {
  42160. "description": "账户ID[报价币种]",
  42161. "type": "integer"
  42162. },
  42163. "advanceratio": {
  42164. "description": "首付比率",
  42165. "type": "number"
  42166. },
  42167. "buildtype": {
  42168. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  42169. "type": "integer"
  42170. },
  42171. "buyorsell": {
  42172. "description": "方向 - 0:买 1:卖",
  42173. "type": "integer"
  42174. },
  42175. "charge": {
  42176. "description": "手续费",
  42177. "type": "number"
  42178. },
  42179. "closecharge": {
  42180. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  42181. "type": "number"
  42182. },
  42183. "closeexchagechargevalue": {
  42184. "description": "平仓交易所手续费设置值",
  42185. "type": "number"
  42186. },
  42187. "closefeealgorithm": {
  42188. "description": "平仓手续费收取方式 1:比率 2:固定",
  42189. "type": "integer"
  42190. },
  42191. "closememberchargevalue": {
  42192. "description": "平仓会员手续费设置值",
  42193. "type": "number"
  42194. },
  42195. "closepl": {
  42196. "description": "平仓盈亏",
  42197. "type": "number"
  42198. },
  42199. "closepl2": {
  42200. "description": "平仓盈亏[逐笔]",
  42201. "type": "number"
  42202. },
  42203. "closeqty": {
  42204. "description": "平仓数量(先建后平操作 需要记录)",
  42205. "type": "number"
  42206. },
  42207. "creditamount": {
  42208. "description": "授信金额",
  42209. "type": "number"
  42210. },
  42211. "decimalplace": {
  42212. "description": "商品报价小数位",
  42213. "type": "integer"
  42214. },
  42215. "enumdicname": {
  42216. "description": "单位名称",
  42217. "type": "string"
  42218. },
  42219. "gcaccountid": {
  42220. "description": "账户ID[合约币种]",
  42221. "type": "integer"
  42222. },
  42223. "goodscode": {
  42224. "description": "商品代码",
  42225. "type": "string"
  42226. },
  42227. "goodsid": {
  42228. "description": "商品ID",
  42229. "type": "integer"
  42230. },
  42231. "goodsname": {
  42232. "description": "商品名称",
  42233. "type": "string"
  42234. },
  42235. "goodunitid": {
  42236. "description": "商品单位id",
  42237. "type": "integer"
  42238. },
  42239. "histradedate": {
  42240. "description": "历史交易日",
  42241. "type": "string"
  42242. },
  42243. "intclosepl": {
  42244. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  42245. "type": "integer"
  42246. },
  42247. "isconfirmexercise": {
  42248. "description": "是否确认行权- 0:否 1:是",
  42249. "type": "integer"
  42250. },
  42251. "ismain": {
  42252. "description": "是否主单 - 0:不是 1:是",
  42253. "type": "integer"
  42254. },
  42255. "ispreexercise": {
  42256. "description": "是否预申报- 0:否 1:是",
  42257. "type": "integer"
  42258. },
  42259. "isreckoned": {
  42260. "description": "是否结算 - 0:未结算 1:已结算",
  42261. "type": "integer"
  42262. },
  42263. "isvaliddata": {
  42264. "description": "是否有效 - 0:无效 1:有效",
  42265. "type": "integer"
  42266. },
  42267. "listingselecttype": {
  42268. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  42269. "type": "integer"
  42270. },
  42271. "marketid": {
  42272. "description": "市场ID",
  42273. "type": "integer"
  42274. },
  42275. "marketname": {
  42276. "description": "市场名称",
  42277. "type": "string"
  42278. },
  42279. "matchaccountid": {
  42280. "description": "对手账号id",
  42281. "type": "integer"
  42282. },
  42283. "memberuserid": {
  42284. "description": "会员id 个人投资者 需要填写",
  42285. "type": "integer"
  42286. },
  42287. "opencharge": {
  42288. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  42289. "type": "number"
  42290. },
  42291. "openexchagechargevalue": {
  42292. "description": "建仓交易所手续费设置值",
  42293. "type": "number"
  42294. },
  42295. "openfeealgorithm": {
  42296. "description": "建仓手续费收取方式 1:比率 2:固定",
  42297. "type": "integer"
  42298. },
  42299. "openmemberchargevalue": {
  42300. "description": "建仓会员手续费设置值",
  42301. "type": "number"
  42302. },
  42303. "openqty": {
  42304. "description": "开仓数量(先建后平操作 需要记录)",
  42305. "type": "number"
  42306. },
  42307. "optiontype": {
  42308. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  42309. "type": "integer"
  42310. },
  42311. "orderid": {
  42312. "description": "委托单号",
  42313. "type": "string"
  42314. },
  42315. "payamount": {
  42316. "description": "支付金额(付款金额)",
  42317. "type": "number"
  42318. },
  42319. "performanceplanid": {
  42320. "description": "履约计划ID[期权]",
  42321. "type": "integer"
  42322. },
  42323. "performancestatus": {
  42324. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  42325. "type": "integer"
  42326. },
  42327. "preexerciseprice": {
  42328. "description": "预申报价格",
  42329. "type": "number"
  42330. },
  42331. "premium": {
  42332. "description": "权利金 - [持仓单的权利金]",
  42333. "type": "number"
  42334. },
  42335. "qtydecimalplace": {
  42336. "description": "商品报价小数位",
  42337. "type": "integer"
  42338. },
  42339. "recvamount": {
  42340. "description": "到账金额 = 成交金额 - 手续费",
  42341. "type": "number"
  42342. },
  42343. "relatedouttradeid": {
  42344. "description": "关联外部成交单ID",
  42345. "type": "integer"
  42346. },
  42347. "status": {
  42348. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  42349. "type": "integer"
  42350. },
  42351. "totalamount": {
  42352. "description": "订单总额 = 成交金额 + 手续费",
  42353. "type": "number"
  42354. },
  42355. "tradeamount": {
  42356. "description": "成交金额[账户币种,用于所有权]",
  42357. "type": "number"
  42358. },
  42359. "tradedate": {
  42360. "description": "交易日(yyyyMMdd)",
  42361. "type": "string"
  42362. },
  42363. "tradeid": {
  42364. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  42365. "type": "string"
  42366. },
  42367. "trademode": {
  42368. "description": "交易模式",
  42369. "type": "integer"
  42370. },
  42371. "tradeprice": {
  42372. "description": "成交价格",
  42373. "type": "number"
  42374. },
  42375. "tradeproperty": {
  42376. "description": "交易属性",
  42377. "type": "integer"
  42378. },
  42379. "tradeqty": {
  42380. "description": "成交数量",
  42381. "type": "number"
  42382. },
  42383. "tradetime": {
  42384. "description": "成交时间",
  42385. "type": "string"
  42386. },
  42387. "tradetype": {
  42388. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  42389. "type": "integer"
  42390. }
  42391. }
  42392. },
  42393. "order.QueryHisTradeOrderDetailRsp": {
  42394. "type": "object",
  42395. "required": [
  42396. "accountid",
  42397. "buildtype",
  42398. "buyorsell",
  42399. "goodsid",
  42400. "histradedate",
  42401. "marketid",
  42402. "memberuserid",
  42403. "operatetype",
  42404. "orderid",
  42405. "orderqty",
  42406. "ordertime",
  42407. "pricemode",
  42408. "tradedate",
  42409. "validtype"
  42410. ],
  42411. "properties": {
  42412. "accountid": {
  42413. "description": "账户ID[报价币种]",
  42414. "type": "integer"
  42415. },
  42416. "buildtype": {
  42417. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  42418. "type": "integer"
  42419. },
  42420. "buyorsell": {
  42421. "description": "买卖 - 0:买 1:卖",
  42422. "type": "integer"
  42423. },
  42424. "cancelorderid": {
  42425. "description": "撤单单号(撤单时填写)",
  42426. "type": "string"
  42427. },
  42428. "cancelqty": {
  42429. "description": "撤单数量",
  42430. "type": "number"
  42431. },
  42432. "clientordertime": {
  42433. "description": "客户端委托时间",
  42434. "type": "string"
  42435. },
  42436. "clientticket": {
  42437. "description": "客户端流水号",
  42438. "type": "string"
  42439. },
  42440. "clienttype": {
  42441. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  42442. "type": "integer"
  42443. },
  42444. "closeexchagechargevalue": {
  42445. "description": "平仓交易所手续费设置值",
  42446. "type": "number"
  42447. },
  42448. "closefeealgorithm": {
  42449. "description": "平仓手续费收取方式 1:比率 2:固定",
  42450. "type": "integer"
  42451. },
  42452. "closefreezecharge": {
  42453. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  42454. "type": "number"
  42455. },
  42456. "closememberchargevalue": {
  42457. "description": "平仓会员手续费设置值",
  42458. "type": "number"
  42459. },
  42460. "closeqty": {
  42461. "description": "平仓数量(先建后平操作 需要记录)",
  42462. "type": "number"
  42463. },
  42464. "closetradeqty": {
  42465. "description": "平仓成交数量(先建后平操作,需要记录)",
  42466. "type": "number"
  42467. },
  42468. "closeunfreezecharge": {
  42469. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  42470. "type": "number"
  42471. },
  42472. "decimalplace": {
  42473. "description": "商品报价小数位",
  42474. "type": "integer"
  42475. },
  42476. "delistingtype": {
  42477. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  42478. "type": "integer"
  42479. },
  42480. "enumdicname": {
  42481. "description": "单位名称",
  42482. "type": "string"
  42483. },
  42484. "freezecharge": {
  42485. "description": "冻结手续费",
  42486. "type": "number"
  42487. },
  42488. "freezemargin": {
  42489. "description": "冻结保证金(冻结交易金额)",
  42490. "type": "number"
  42491. },
  42492. "gcaccountid": {
  42493. "description": "账户ID[合约币种]",
  42494. "type": "integer"
  42495. },
  42496. "goodscode": {
  42497. "description": "商品代码",
  42498. "type": "string"
  42499. },
  42500. "goodsid": {
  42501. "description": "商品ID",
  42502. "type": "integer"
  42503. },
  42504. "goodsname": {
  42505. "description": "商品名称",
  42506. "type": "string"
  42507. },
  42508. "goodunitid": {
  42509. "description": "商品单位id",
  42510. "type": "integer"
  42511. },
  42512. "histradedate": {
  42513. "description": "历史交易日",
  42514. "type": "string"
  42515. },
  42516. "isconfirmexercise": {
  42517. "description": "是否确认行权- 0:否 1:是",
  42518. "type": "integer"
  42519. },
  42520. "ispreexercise": {
  42521. "description": "是否预申报- 0:否 1:是",
  42522. "type": "integer"
  42523. },
  42524. "isvaliddata": {
  42525. "description": "是否有效 - 0:无效 1:有效",
  42526. "type": "integer"
  42527. },
  42528. "listingselecttype": {
  42529. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  42530. "type": "integer"
  42531. },
  42532. "marginalgorithm": {
  42533. "description": "保证金收取方式 1:比率 2:固定",
  42534. "type": "integer"
  42535. },
  42536. "marginvalue": {
  42537. "description": "即市保证金设置值",
  42538. "type": "number"
  42539. },
  42540. "marketid": {
  42541. "description": "市场ID",
  42542. "type": "integer"
  42543. },
  42544. "marketmaxsub": {
  42545. "description": "市价最大偏移范围",
  42546. "type": "number"
  42547. },
  42548. "marketname": {
  42549. "description": "市场名称",
  42550. "type": "string"
  42551. },
  42552. "memberuserid": {
  42553. "description": "所属会员UserID",
  42554. "type": "integer"
  42555. },
  42556. "openexchagechargevalue": {
  42557. "description": "建仓交易所手续费设置值",
  42558. "type": "number"
  42559. },
  42560. "openfeealgorithm": {
  42561. "description": "建仓手续费收取方式 1:比率 2:固定",
  42562. "type": "integer"
  42563. },
  42564. "openfreezecharge": {
  42565. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  42566. "type": "number"
  42567. },
  42568. "openmemberchargevalue": {
  42569. "description": "建仓会员手续费设置值",
  42570. "type": "number"
  42571. },
  42572. "openqty": {
  42573. "description": "开仓数量(先建后平操作,需要记录)",
  42574. "type": "number"
  42575. },
  42576. "opentradeqty": {
  42577. "description": "开仓成交数量(先建后平操作,需要记录)",
  42578. "type": "number"
  42579. },
  42580. "openunfreezecharge": {
  42581. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  42582. "type": "number"
  42583. },
  42584. "operatetype": {
  42585. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  42586. "type": "integer"
  42587. },
  42588. "operatorid": {
  42589. "description": "登录账号(LoginID)",
  42590. "type": "integer"
  42591. },
  42592. "optiontype": {
  42593. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  42594. "type": "integer"
  42595. },
  42596. "orderid": {
  42597. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  42598. "type": "string"
  42599. },
  42600. "orderprice": {
  42601. "description": "委托价格",
  42602. "type": "number"
  42603. },
  42604. "orderqty": {
  42605. "description": "委托数量",
  42606. "type": "number"
  42607. },
  42608. "ordersrc": {
  42609. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  42610. "type": "integer"
  42611. },
  42612. "orderstatus": {
  42613. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  42614. "type": "integer"
  42615. },
  42616. "ordertime": {
  42617. "description": "委托时间",
  42618. "type": "string"
  42619. },
  42620. "preexerciseprice": {
  42621. "description": "预申报价格",
  42622. "type": "number"
  42623. },
  42624. "premium": {
  42625. "description": "权利金",
  42626. "type": "number"
  42627. },
  42628. "preorderid": {
  42629. "description": "关联预埋单号(止盈止损单时填写)",
  42630. "type": "string"
  42631. },
  42632. "pricemode": {
  42633. "description": "取价方式 - 1:市价 2: 限价",
  42634. "type": "integer"
  42635. },
  42636. "qtydecimalplace": {
  42637. "description": "成交量小数位",
  42638. "type": "integer"
  42639. },
  42640. "quoteid": {
  42641. "description": "报价单ID",
  42642. "type": "integer"
  42643. },
  42644. "relatedid": {
  42645. "description": "关联单号(交割单)",
  42646. "type": "string"
  42647. },
  42648. "retcode": {
  42649. "description": "错误代码",
  42650. "type": "integer"
  42651. },
  42652. "sessionid": {
  42653. "description": "会话ID",
  42654. "type": "integer"
  42655. },
  42656. "tradedate": {
  42657. "description": "交易日(yyyyMMdd)",
  42658. "type": "string"
  42659. },
  42660. "trademode": {
  42661. "description": "交易模式",
  42662. "type": "integer"
  42663. },
  42664. "tradeproperty": {
  42665. "description": "交易属性",
  42666. "type": "integer"
  42667. },
  42668. "tradeqty": {
  42669. "description": "成交数量",
  42670. "type": "number"
  42671. },
  42672. "unfreezecharge": {
  42673. "description": "解冻手续费",
  42674. "type": "number"
  42675. },
  42676. "unfreezemargin": {
  42677. "description": "解冻保证金",
  42678. "type": "number"
  42679. },
  42680. "updatetime": {
  42681. "description": "更新时间",
  42682. "type": "string"
  42683. },
  42684. "uuid": {
  42685. "description": "发起端唯一id",
  42686. "type": "string"
  42687. },
  42688. "validtime": {
  42689. "description": "有效期限",
  42690. "type": "string"
  42691. },
  42692. "validtype": {
  42693. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  42694. "type": "integer"
  42695. },
  42696. "volumetype": {
  42697. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  42698. "type": "integer"
  42699. }
  42700. }
  42701. },
  42702. "order.QueryTradeDetailRsp": {
  42703. "type": "object",
  42704. "required": [
  42705. "accountid",
  42706. "buyorsell",
  42707. "goodsid",
  42708. "marketid",
  42709. "memberuserid",
  42710. "orderid",
  42711. "tradeamount",
  42712. "tradedate",
  42713. "tradeid",
  42714. "tradeprice",
  42715. "tradeqty",
  42716. "tradetime"
  42717. ],
  42718. "properties": {
  42719. "accountid": {
  42720. "description": "账户ID[报价币种]",
  42721. "type": "integer"
  42722. },
  42723. "advanceratio": {
  42724. "description": "首付比率",
  42725. "type": "number"
  42726. },
  42727. "buildtype": {
  42728. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  42729. "type": "integer"
  42730. },
  42731. "buyorsell": {
  42732. "description": "方向 - 0:买 1:卖",
  42733. "type": "integer"
  42734. },
  42735. "charge": {
  42736. "description": "手续费",
  42737. "type": "number"
  42738. },
  42739. "closecharge": {
  42740. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  42741. "type": "number"
  42742. },
  42743. "closeexchagechargevalue": {
  42744. "description": "平仓交易所手续费设置值",
  42745. "type": "number"
  42746. },
  42747. "closefeealgorithm": {
  42748. "description": "平仓手续费收取方式 1:比率 2:固定",
  42749. "type": "integer"
  42750. },
  42751. "closememberchargevalue": {
  42752. "description": "平仓会员手续费设置值",
  42753. "type": "number"
  42754. },
  42755. "closepl": {
  42756. "description": "平仓盈亏",
  42757. "type": "number"
  42758. },
  42759. "closepl2": {
  42760. "description": "平仓盈亏[逐笔]",
  42761. "type": "number"
  42762. },
  42763. "closeqty": {
  42764. "description": "平仓数量(先建后平操作 需要记录)",
  42765. "type": "number"
  42766. },
  42767. "creditamount": {
  42768. "description": "授信金额",
  42769. "type": "number"
  42770. },
  42771. "decimalplace": {
  42772. "description": "商品报价小数位",
  42773. "type": "integer"
  42774. },
  42775. "enumdicname": {
  42776. "description": "单位名称",
  42777. "type": "string"
  42778. },
  42779. "gcaccountid": {
  42780. "description": "账户ID[合约币种]",
  42781. "type": "integer"
  42782. },
  42783. "goodscode": {
  42784. "description": "商品代码",
  42785. "type": "string"
  42786. },
  42787. "goodsid": {
  42788. "description": "商品ID",
  42789. "type": "integer"
  42790. },
  42791. "goodsname": {
  42792. "description": "商品名称",
  42793. "type": "string"
  42794. },
  42795. "goodunitid": {
  42796. "description": "商品单位id",
  42797. "type": "integer"
  42798. },
  42799. "intclosepl": {
  42800. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  42801. "type": "integer"
  42802. },
  42803. "isconfirmexercise": {
  42804. "description": "是否确认行权- 0:否 1:是",
  42805. "type": "integer"
  42806. },
  42807. "ismain": {
  42808. "description": "是否主单 - 0:不是 1:是",
  42809. "type": "integer"
  42810. },
  42811. "ispreexercise": {
  42812. "description": "是否预申报- 0:否 1:是",
  42813. "type": "integer"
  42814. },
  42815. "isreckoned": {
  42816. "description": "是否结算 - 0:未结算 1:已结算",
  42817. "type": "integer"
  42818. },
  42819. "listingselecttype": {
  42820. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  42821. "type": "integer"
  42822. },
  42823. "marketid": {
  42824. "description": "市场ID",
  42825. "type": "integer"
  42826. },
  42827. "marketname": {
  42828. "description": "市场名称",
  42829. "type": "string"
  42830. },
  42831. "matchaccountid": {
  42832. "description": "对手账号id",
  42833. "type": "integer"
  42834. },
  42835. "memberuserid": {
  42836. "description": "会员id 个人投资者 需要填写",
  42837. "type": "integer"
  42838. },
  42839. "opencharge": {
  42840. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  42841. "type": "number"
  42842. },
  42843. "openexchagechargevalue": {
  42844. "description": "建仓交易所手续费设置值",
  42845. "type": "number"
  42846. },
  42847. "openfeealgorithm": {
  42848. "description": "建仓手续费收取方式 1:比率 2:固定",
  42849. "type": "integer"
  42850. },
  42851. "openmemberchargevalue": {
  42852. "description": "建仓会员手续费设置值",
  42853. "type": "number"
  42854. },
  42855. "openqty": {
  42856. "description": "开仓数量(先建后平操作 需要记录)",
  42857. "type": "number"
  42858. },
  42859. "optiontype": {
  42860. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  42861. "type": "integer"
  42862. },
  42863. "orderid": {
  42864. "description": "委托单号",
  42865. "type": "string"
  42866. },
  42867. "payamount": {
  42868. "description": "支付金额(付款金额)",
  42869. "type": "number"
  42870. },
  42871. "performanceplanid": {
  42872. "description": "履约计划ID[期权]",
  42873. "type": "integer"
  42874. },
  42875. "performancestatus": {
  42876. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  42877. "type": "integer"
  42878. },
  42879. "preexerciseprice": {
  42880. "description": "预申报价格",
  42881. "type": "number"
  42882. },
  42883. "premium": {
  42884. "description": "权利金 - [持仓单的权利金]",
  42885. "type": "number"
  42886. },
  42887. "qtydecimalplace": {
  42888. "description": "商品报价小数位",
  42889. "type": "integer"
  42890. },
  42891. "recvamount": {
  42892. "description": "到账金额 = 成交金额 - 手续费",
  42893. "type": "number"
  42894. },
  42895. "relatedouttradeid": {
  42896. "description": "关联外部成交单ID",
  42897. "type": "integer"
  42898. },
  42899. "status": {
  42900. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  42901. "type": "integer"
  42902. },
  42903. "totalamount": {
  42904. "description": "订单总额 = 成交金额 + 手续费",
  42905. "type": "number"
  42906. },
  42907. "tradeamount": {
  42908. "description": "成交金额[账户币种,用于所有权]",
  42909. "type": "number"
  42910. },
  42911. "tradedate": {
  42912. "description": "交易日(yyyyMMdd)",
  42913. "type": "string"
  42914. },
  42915. "tradeid": {
  42916. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  42917. "type": "string"
  42918. },
  42919. "trademode": {
  42920. "description": "交易模式",
  42921. "type": "integer"
  42922. },
  42923. "tradeprice": {
  42924. "description": "成交价格",
  42925. "type": "number"
  42926. },
  42927. "tradeproperty": {
  42928. "description": "交易属性",
  42929. "type": "integer"
  42930. },
  42931. "tradeqty": {
  42932. "description": "成交数量",
  42933. "type": "number"
  42934. },
  42935. "tradetime": {
  42936. "description": "成交时间",
  42937. "type": "string"
  42938. },
  42939. "tradetype": {
  42940. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  42941. "type": "integer"
  42942. }
  42943. }
  42944. },
  42945. "order.QueryTradeOrderDetailRsp": {
  42946. "type": "object",
  42947. "required": [
  42948. "accountid",
  42949. "buildtype",
  42950. "buyorsell",
  42951. "goodsid",
  42952. "marketid",
  42953. "operatetype",
  42954. "orderqty",
  42955. "ordertime",
  42956. "pricemode",
  42957. "tradedate",
  42958. "validtype"
  42959. ],
  42960. "properties": {
  42961. "accountid": {
  42962. "description": "账户ID[报价币种]",
  42963. "type": "integer"
  42964. },
  42965. "buildtype": {
  42966. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  42967. "type": "integer"
  42968. },
  42969. "buyorsell": {
  42970. "description": "买卖 - 0:买 1:卖",
  42971. "type": "integer"
  42972. },
  42973. "cancelorderid": {
  42974. "description": "撤单单号(撤单时填写)",
  42975. "type": "string"
  42976. },
  42977. "cancelqty": {
  42978. "description": "撤单数量",
  42979. "type": "number"
  42980. },
  42981. "clienttype": {
  42982. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  42983. "type": "integer"
  42984. },
  42985. "closefreezecharge": {
  42986. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  42987. "type": "number"
  42988. },
  42989. "closeqty": {
  42990. "description": "平仓数量(先建后平操作 需要记录)",
  42991. "type": "number"
  42992. },
  42993. "closetradeqty": {
  42994. "description": "平仓成交数量(先建后平操作,需要记录)",
  42995. "type": "number"
  42996. },
  42997. "closeunfreezecharge": {
  42998. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  42999. "type": "number"
  43000. },
  43001. "decimalplace": {
  43002. "description": "商品报价小数位",
  43003. "type": "integer"
  43004. },
  43005. "delistingtype": {
  43006. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  43007. "type": "integer"
  43008. },
  43009. "enableqty": {
  43010. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  43011. "type": "number"
  43012. },
  43013. "enumdicname": {
  43014. "description": "单位名称",
  43015. "type": "string"
  43016. },
  43017. "freezecharge": {
  43018. "description": "冻结手续费",
  43019. "type": "number"
  43020. },
  43021. "freezemargin": {
  43022. "description": "冻结保证金(冻结交易金额)",
  43023. "type": "number"
  43024. },
  43025. "goodscode": {
  43026. "description": "商品代码",
  43027. "type": "string"
  43028. },
  43029. "goodsid": {
  43030. "description": "商品ID",
  43031. "type": "integer"
  43032. },
  43033. "goodsname": {
  43034. "description": "商品名称",
  43035. "type": "string"
  43036. },
  43037. "goodunitid": {
  43038. "description": "商品单位id",
  43039. "type": "integer"
  43040. },
  43041. "listingselecttype": {
  43042. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  43043. "type": "integer"
  43044. },
  43045. "marketid": {
  43046. "description": "市场ID",
  43047. "type": "integer"
  43048. },
  43049. "marketname": {
  43050. "description": "市场名称",
  43051. "type": "string"
  43052. },
  43053. "openfreezecharge": {
  43054. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  43055. "type": "number"
  43056. },
  43057. "openqty": {
  43058. "description": "开仓数量(先建后平操作,需要记录)",
  43059. "type": "number"
  43060. },
  43061. "opentradeqty": {
  43062. "description": "开仓成交数量(先建后平操作,需要记录)",
  43063. "type": "number"
  43064. },
  43065. "openunfreezecharge": {
  43066. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  43067. "type": "number"
  43068. },
  43069. "operatetype": {
  43070. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  43071. "type": "integer"
  43072. },
  43073. "operatorid": {
  43074. "description": "登录账号(LoginID)",
  43075. "type": "integer"
  43076. },
  43077. "orderid": {
  43078. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  43079. "type": "string"
  43080. },
  43081. "orderprice": {
  43082. "description": "委托价格",
  43083. "type": "number"
  43084. },
  43085. "orderqty": {
  43086. "description": "委托数量",
  43087. "type": "number"
  43088. },
  43089. "ordersrc": {
  43090. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  43091. "type": "integer"
  43092. },
  43093. "orderstatus": {
  43094. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  43095. "type": "integer"
  43096. },
  43097. "ordertime": {
  43098. "description": "委托时间",
  43099. "type": "string"
  43100. },
  43101. "preorderid": {
  43102. "description": "关联预埋单号(止盈止损单时填写)",
  43103. "type": "string"
  43104. },
  43105. "pricemode": {
  43106. "description": "取价方式 - 1:市价 2: 限价",
  43107. "type": "integer"
  43108. },
  43109. "qtydecimalplace": {
  43110. "description": "商品报价小数位",
  43111. "type": "integer"
  43112. },
  43113. "relatedid": {
  43114. "description": "关联单号(交割单)",
  43115. "type": "string"
  43116. },
  43117. "tradedate": {
  43118. "description": "交易日(yyyyMMdd)",
  43119. "type": "string"
  43120. },
  43121. "trademode": {
  43122. "description": "交易模式",
  43123. "type": "integer"
  43124. },
  43125. "tradeqty": {
  43126. "description": "成交数量",
  43127. "type": "number"
  43128. },
  43129. "unfreezecharge": {
  43130. "description": "解冻手续费",
  43131. "type": "number"
  43132. },
  43133. "unfreezemargin": {
  43134. "description": "解冻保证金",
  43135. "type": "number"
  43136. },
  43137. "validtime": {
  43138. "description": "有效期限",
  43139. "type": "string"
  43140. },
  43141. "validtype": {
  43142. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  43143. "type": "integer"
  43144. },
  43145. "volumetype": {
  43146. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  43147. "type": "integer"
  43148. }
  43149. }
  43150. },
  43151. "order.QueryTradePositionRsp": {
  43152. "type": "object",
  43153. "required": [
  43154. "goodsid"
  43155. ],
  43156. "properties": {
  43157. "accountid": {
  43158. "description": "资金账户",
  43159. "type": "integer"
  43160. },
  43161. "agreeunit": {
  43162. "description": "合约单位",
  43163. "type": "number"
  43164. },
  43165. "averageprice": {
  43166. "description": "持仓均价",
  43167. "type": "number"
  43168. },
  43169. "buyorsell": {
  43170. "description": "方向 - 0:买 1:卖",
  43171. "type": "integer"
  43172. },
  43173. "closetotalqty": {
  43174. "description": "平仓总数量",
  43175. "type": "number"
  43176. },
  43177. "curholderamount": {
  43178. "description": "当前持仓总金额[商品币种]",
  43179. "type": "number"
  43180. },
  43181. "curpositionqty": {
  43182. "description": "当前持仓总数量",
  43183. "type": "number"
  43184. },
  43185. "currencyid": {
  43186. "description": "报价货币ID",
  43187. "type": "integer"
  43188. },
  43189. "curtdposition": {
  43190. "description": "期末今日头寸",
  43191. "type": "number"
  43192. },
  43193. "decimalplace": {
  43194. "description": "报价小数位",
  43195. "type": "integer"
  43196. },
  43197. "enableqty": {
  43198. "description": "可用量",
  43199. "type": "number"
  43200. },
  43201. "fretdposition": {
  43202. "description": "冻结今日头寸",
  43203. "type": "number"
  43204. },
  43205. "frozenqty": {
  43206. "description": "持仓冻结数量",
  43207. "type": "number"
  43208. },
  43209. "goodscode": {
  43210. "description": "商品代码",
  43211. "type": "string"
  43212. },
  43213. "goodsid": {
  43214. "description": "商品Id",
  43215. "type": "integer"
  43216. },
  43217. "goodsname": {
  43218. "description": "商品名称",
  43219. "type": "string"
  43220. },
  43221. "goodunit": {
  43222. "description": "报价单位",
  43223. "type": "string"
  43224. },
  43225. "goodunitid": {
  43226. "description": "报价单位ID",
  43227. "type": "integer"
  43228. },
  43229. "holderamount": {
  43230. "description": "期初持仓总金额[商品币种]",
  43231. "type": "number"
  43232. },
  43233. "lastprice": {
  43234. "description": "最新价",
  43235. "type": "number"
  43236. },
  43237. "marketamount": {
  43238. "description": "市值",
  43239. "type": "number"
  43240. },
  43241. "marketid": {
  43242. "description": "所属市场ID",
  43243. "type": "integer"
  43244. },
  43245. "openreqqty": {
  43246. "description": "开仓申请数量(用于比较最大持仓数量)",
  43247. "type": "number"
  43248. },
  43249. "opentotalqty": {
  43250. "description": "开仓总数量",
  43251. "type": "number"
  43252. },
  43253. "otherfrozenqty": {
  43254. "description": "持仓其他冻结数量(交割冻结)",
  43255. "type": "number"
  43256. },
  43257. "positionpl": {
  43258. "description": "持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  43259. "type": "number"
  43260. },
  43261. "positionplrate": {
  43262. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  43263. "type": "number"
  43264. },
  43265. "positionqty": {
  43266. "description": "期初持仓数量",
  43267. "type": "number"
  43268. },
  43269. "qtydecimalplace": {
  43270. "description": "成交量小数位",
  43271. "type": "integer"
  43272. },
  43273. "refgoodscode": {
  43274. "description": "参考商品代码",
  43275. "type": "string"
  43276. },
  43277. "refgoodsid": {
  43278. "description": "参考商品ID",
  43279. "type": "integer"
  43280. },
  43281. "tnqty": {
  43282. "description": "T+N冻结总量",
  43283. "type": "number"
  43284. },
  43285. "tnusedqty": {
  43286. "description": "T+N使用量(可以使用T+N的冻结数量)",
  43287. "type": "number"
  43288. },
  43289. "trademode": {
  43290. "description": "交易模式",
  43291. "type": "integer"
  43292. },
  43293. "tradeproperty": {
  43294. "description": "交易属性",
  43295. "type": "integer"
  43296. },
  43297. "usedmargin": {
  43298. "description": "占用保证金[商品币种]",
  43299. "type": "number"
  43300. }
  43301. }
  43302. },
  43303. "pb.GoodsMarginCfgStruct": {
  43304. "type": "object",
  43305. "properties": {
  43306. "CustomerTypeID": {
  43307. "description": "投资者客户类型",
  43308. "type": "integer"
  43309. },
  43310. "GoodsID": {
  43311. "description": "商品ID",
  43312. "type": "integer"
  43313. },
  43314. "IsDefault": {
  43315. "description": "是否默认标志位",
  43316. "type": "integer"
  43317. },
  43318. "LockMarginValue": {
  43319. "description": "锁仓保证金",
  43320. "type": "number"
  43321. },
  43322. "MarginAlgorithm": {
  43323. "description": "保证金计算方式",
  43324. "type": "integer"
  43325. },
  43326. "MarketMarginValue": {
  43327. "description": "即市保证金值",
  43328. "type": "number"
  43329. },
  43330. "RealMarginAlgorithm": {
  43331. "description": "实付保证金计算方式",
  43332. "type": "integer"
  43333. },
  43334. "RealMarginValue": {
  43335. "description": "实付比例",
  43336. "type": "number"
  43337. },
  43338. "ReckonMarginValue": {
  43339. "description": "结算保证金值",
  43340. "type": "number"
  43341. }
  43342. }
  43343. },
  43344. "quote.HistoryData": {
  43345. "type": "object",
  43346. "properties": {
  43347. "c": {
  43348. "description": "收盘价",
  43349. "type": "number"
  43350. },
  43351. "f": {
  43352. "description": "是否补充数据",
  43353. "type": "boolean"
  43354. },
  43355. "h": {
  43356. "description": "最高价",
  43357. "type": "number"
  43358. },
  43359. "hv": {
  43360. "description": "持仓量",
  43361. "type": "integer"
  43362. },
  43363. "l": {
  43364. "description": "最低价",
  43365. "type": "number"
  43366. },
  43367. "o": {
  43368. "description": "开盘价",
  43369. "type": "number"
  43370. },
  43371. "s": {
  43372. "description": "结算价,日线周期(包括)以上才有",
  43373. "type": "number"
  43374. },
  43375. "ts": {
  43376. "description": "时间",
  43377. "type": "string"
  43378. },
  43379. "tt": {
  43380. "description": "总金额",
  43381. "type": "number"
  43382. },
  43383. "tv": {
  43384. "description": "总量(成交量)",
  43385. "type": "integer"
  43386. }
  43387. }
  43388. },
  43389. "quote.HistoryTikData": {
  43390. "type": "object",
  43391. "properties": {
  43392. "AV": {
  43393. "description": "卖量",
  43394. "type": "integer"
  43395. },
  43396. "Ask": {
  43397. "description": "卖价",
  43398. "type": "number"
  43399. },
  43400. "BV": {
  43401. "description": "买量",
  43402. "type": "integer"
  43403. },
  43404. "Bid": {
  43405. "description": "买价",
  43406. "type": "number"
  43407. },
  43408. "HI": {
  43409. "description": "单笔持仓",
  43410. "type": "integer"
  43411. },
  43412. "HV": {
  43413. "description": "持仓量",
  43414. "type": "integer"
  43415. },
  43416. "PE": {
  43417. "description": "现价",
  43418. "type": "number"
  43419. },
  43420. "TDR": {
  43421. "description": "交易方向,0:买 1:卖",
  43422. "type": "integer"
  43423. },
  43424. "TK": {
  43425. "description": "交易类型",
  43426. "type": "integer"
  43427. },
  43428. "TS": {
  43429. "description": "行情时间文本",
  43430. "type": "string"
  43431. },
  43432. "TT": {
  43433. "description": "现金额",
  43434. "type": "number"
  43435. },
  43436. "Vol": {
  43437. "description": "现量",
  43438. "type": "integer"
  43439. }
  43440. }
  43441. },
  43442. "quote.QueryQuoteDayRsp": {
  43443. "type": "object",
  43444. "properties": {
  43445. "ask": {
  43446. "description": "卖1",
  43447. "type": "number"
  43448. },
  43449. "ask10": {
  43450. "description": "卖10",
  43451. "type": "number"
  43452. },
  43453. "ask2": {
  43454. "description": "卖2",
  43455. "type": "number"
  43456. },
  43457. "ask3": {
  43458. "description": "卖3",
  43459. "type": "number"
  43460. },
  43461. "ask4": {
  43462. "description": "卖4",
  43463. "type": "number"
  43464. },
  43465. "ask5": {
  43466. "description": "卖5",
  43467. "type": "number"
  43468. },
  43469. "ask6": {
  43470. "description": "卖6",
  43471. "type": "number"
  43472. },
  43473. "ask7": {
  43474. "description": "卖7",
  43475. "type": "number"
  43476. },
  43477. "ask8": {
  43478. "description": "卖8",
  43479. "type": "number"
  43480. },
  43481. "ask9": {
  43482. "description": "卖9",
  43483. "type": "number"
  43484. },
  43485. "askorderid": {
  43486. "description": "卖单号1",
  43487. "type": "integer"
  43488. },
  43489. "askorderid2": {
  43490. "description": "卖单号2",
  43491. "type": "integer"
  43492. },
  43493. "askorderid3": {
  43494. "description": "卖单号3",
  43495. "type": "integer"
  43496. },
  43497. "askorderid4": {
  43498. "description": "卖单号4",
  43499. "type": "integer"
  43500. },
  43501. "askorderid5": {
  43502. "description": "卖单号5",
  43503. "type": "integer"
  43504. },
  43505. "askordervolume": {
  43506. "description": "卖单量1",
  43507. "type": "integer"
  43508. },
  43509. "askordervolume10": {
  43510. "description": "卖单量10",
  43511. "type": "integer"
  43512. },
  43513. "askordervolume2": {
  43514. "description": "卖单量2",
  43515. "type": "integer"
  43516. },
  43517. "askordervolume3": {
  43518. "description": "卖单量3",
  43519. "type": "integer"
  43520. },
  43521. "askordervolume4": {
  43522. "description": "卖单量4",
  43523. "type": "integer"
  43524. },
  43525. "askordervolume5": {
  43526. "description": "卖单量5",
  43527. "type": "integer"
  43528. },
  43529. "askordervolume6": {
  43530. "description": "卖单量6",
  43531. "type": "integer"
  43532. },
  43533. "askordervolume7": {
  43534. "description": "卖单量7",
  43535. "type": "integer"
  43536. },
  43537. "askordervolume8": {
  43538. "description": "卖单量8",
  43539. "type": "integer"
  43540. },
  43541. "askordervolume9": {
  43542. "description": "卖单量9",
  43543. "type": "integer"
  43544. },
  43545. "askqueueinfo": {
  43546. "description": "大利市卖港股用",
  43547. "type": "string"
  43548. },
  43549. "askvolume": {
  43550. "description": "卖量1",
  43551. "type": "integer"
  43552. },
  43553. "askvolume10": {
  43554. "description": "卖量10",
  43555. "type": "integer"
  43556. },
  43557. "askvolume2": {
  43558. "description": "卖量2",
  43559. "type": "integer"
  43560. },
  43561. "askvolume3": {
  43562. "description": "卖量3",
  43563. "type": "integer"
  43564. },
  43565. "askvolume4": {
  43566. "description": "卖量4",
  43567. "type": "integer"
  43568. },
  43569. "askvolume5": {
  43570. "description": "卖量5",
  43571. "type": "integer"
  43572. },
  43573. "askvolume6": {
  43574. "description": "卖量6",
  43575. "type": "integer"
  43576. },
  43577. "askvolume7": {
  43578. "description": "卖量7",
  43579. "type": "integer"
  43580. },
  43581. "askvolume8": {
  43582. "description": "卖量8",
  43583. "type": "integer"
  43584. },
  43585. "askvolume9": {
  43586. "description": "卖量9",
  43587. "type": "integer"
  43588. },
  43589. "averageprice": {
  43590. "description": "均价",
  43591. "type": "number"
  43592. },
  43593. "bid": {
  43594. "description": "买1",
  43595. "type": "number"
  43596. },
  43597. "bid10": {
  43598. "description": "买10",
  43599. "type": "number"
  43600. },
  43601. "bid2": {
  43602. "description": "买2",
  43603. "type": "number"
  43604. },
  43605. "bid3": {
  43606. "description": "买3",
  43607. "type": "number"
  43608. },
  43609. "bid4": {
  43610. "description": "买4",
  43611. "type": "number"
  43612. },
  43613. "bid5": {
  43614. "description": "买5",
  43615. "type": "number"
  43616. },
  43617. "bid6": {
  43618. "description": "买6",
  43619. "type": "number"
  43620. },
  43621. "bid7": {
  43622. "description": "买7",
  43623. "type": "number"
  43624. },
  43625. "bid8": {
  43626. "description": "买8",
  43627. "type": "number"
  43628. },
  43629. "bid9": {
  43630. "description": "买9",
  43631. "type": "number"
  43632. },
  43633. "bidorderid": {
  43634. "description": "买单号1",
  43635. "type": "integer"
  43636. },
  43637. "bidorderid2": {
  43638. "description": "买单号2",
  43639. "type": "integer"
  43640. },
  43641. "bidorderid3": {
  43642. "description": "买单号3",
  43643. "type": "integer"
  43644. },
  43645. "bidorderid4": {
  43646. "description": "买单号4",
  43647. "type": "integer"
  43648. },
  43649. "bidorderid5": {
  43650. "description": "买单号5",
  43651. "type": "integer"
  43652. },
  43653. "bidordervolume": {
  43654. "description": "买单量1",
  43655. "type": "integer"
  43656. },
  43657. "bidordervolume10": {
  43658. "description": "买单量10",
  43659. "type": "integer"
  43660. },
  43661. "bidordervolume2": {
  43662. "description": "买单量2",
  43663. "type": "integer"
  43664. },
  43665. "bidordervolume3": {
  43666. "description": "买单量3",
  43667. "type": "integer"
  43668. },
  43669. "bidordervolume4": {
  43670. "description": "买单量4",
  43671. "type": "integer"
  43672. },
  43673. "bidordervolume5": {
  43674. "description": "买单量5",
  43675. "type": "integer"
  43676. },
  43677. "bidordervolume6": {
  43678. "description": "买单量6",
  43679. "type": "integer"
  43680. },
  43681. "bidordervolume7": {
  43682. "description": "买单量7",
  43683. "type": "integer"
  43684. },
  43685. "bidordervolume8": {
  43686. "description": "买单量8",
  43687. "type": "integer"
  43688. },
  43689. "bidordervolume9": {
  43690. "description": "买单量9",
  43691. "type": "integer"
  43692. },
  43693. "bidqueueinfo": {
  43694. "description": "大利市买港股用",
  43695. "type": "string"
  43696. },
  43697. "bidvolume": {
  43698. "description": "买量1",
  43699. "type": "integer"
  43700. },
  43701. "bidvolume10": {
  43702. "description": "买量10",
  43703. "type": "integer"
  43704. },
  43705. "bidvolume2": {
  43706. "description": "买量2",
  43707. "type": "integer"
  43708. },
  43709. "bidvolume3": {
  43710. "description": "买量3",
  43711. "type": "integer"
  43712. },
  43713. "bidvolume4": {
  43714. "description": "买量4",
  43715. "type": "integer"
  43716. },
  43717. "bidvolume5": {
  43718. "description": "买量5",
  43719. "type": "integer"
  43720. },
  43721. "bidvolume6": {
  43722. "description": "买量6",
  43723. "type": "integer"
  43724. },
  43725. "bidvolume7": {
  43726. "description": "买量7",
  43727. "type": "integer"
  43728. },
  43729. "bidvolume8": {
  43730. "description": "买量8",
  43731. "type": "integer"
  43732. },
  43733. "bidvolume9": {
  43734. "description": "买量9",
  43735. "type": "integer"
  43736. },
  43737. "calloptionpremiums": {
  43738. "description": "认购期权1",
  43739. "type": "integer"
  43740. },
  43741. "calloptionpremiums2": {
  43742. "description": "认购期权2",
  43743. "type": "integer"
  43744. },
  43745. "calloptionpremiums3": {
  43746. "description": "认购期权3",
  43747. "type": "integer"
  43748. },
  43749. "calloptionpremiums4": {
  43750. "description": "认购期权4",
  43751. "type": "integer"
  43752. },
  43753. "calloptionpremiums5": {
  43754. "description": "认购期权5",
  43755. "type": "integer"
  43756. },
  43757. "cleartime": {
  43758. "description": "清盘时间",
  43759. "type": "integer"
  43760. },
  43761. "exchangecode": {
  43762. "description": "交易所代码",
  43763. "type": "integer"
  43764. },
  43765. "exchangedate": {
  43766. "description": "交易日",
  43767. "type": "integer"
  43768. },
  43769. "goodscode": {
  43770. "description": "商品代码",
  43771. "type": "string"
  43772. },
  43773. "grepmarketprice": {
  43774. "description": "暗盘价 港股专用",
  43775. "type": "number"
  43776. },
  43777. "highest": {
  43778. "description": "最高价",
  43779. "type": "number"
  43780. },
  43781. "holdincrement": {
  43782. "description": "单笔持仓",
  43783. "type": "integer"
  43784. },
  43785. "holdvolume": {
  43786. "description": "持仓",
  43787. "type": "integer"
  43788. },
  43789. "iep": {
  43790. "description": "平衡价 港股专用",
  43791. "type": "number"
  43792. },
  43793. "iev": {
  43794. "description": "平衡量 港股专用",
  43795. "type": "number"
  43796. },
  43797. "inventory": {
  43798. "description": "库存",
  43799. "type": "integer"
  43800. },
  43801. "iscleared": {
  43802. "description": "是否清盘标志",
  43803. "type": "integer"
  43804. },
  43805. "issettled": {
  43806. "description": "是否结算标志",
  43807. "type": "integer"
  43808. },
  43809. "last": {
  43810. "description": "最新价",
  43811. "type": "number"
  43812. },
  43813. "lastlot": {
  43814. "description": "最新成交手数",
  43815. "type": "integer"
  43816. },
  43817. "lasttime": {
  43818. "description": "行情时间(只有现价变化行情时间才变化)",
  43819. "type": "string"
  43820. },
  43821. "lastturnover": {
  43822. "description": "最新成交金额",
  43823. "type": "number"
  43824. },
  43825. "lastvolume": {
  43826. "description": "最新成交量",
  43827. "type": "integer"
  43828. },
  43829. "limitdown": {
  43830. "description": "跌停价",
  43831. "type": "number"
  43832. },
  43833. "limitup": {
  43834. "description": "涨停价",
  43835. "type": "number"
  43836. },
  43837. "lowest": {
  43838. "description": "最低价",
  43839. "type": "number"
  43840. },
  43841. "nontotalholdervolume": {
  43842. "description": "非交易持仓量",
  43843. "type": "integer"
  43844. },
  43845. "nontotallot": {
  43846. "description": "非交易总手数",
  43847. "type": "integer"
  43848. },
  43849. "nontotalturnover": {
  43850. "description": "非交易总金额",
  43851. "type": "integer"
  43852. },
  43853. "nontotalvolume": {
  43854. "description": "非交易总量",
  43855. "type": "integer"
  43856. },
  43857. "opened": {
  43858. "description": "开盘价",
  43859. "type": "number"
  43860. },
  43861. "opentime": {
  43862. "description": "开盘时间",
  43863. "type": "string"
  43864. },
  43865. "orderid": {
  43866. "description": "序号",
  43867. "type": "integer"
  43868. },
  43869. "preclose": {
  43870. "description": "昨收",
  43871. "type": "number"
  43872. },
  43873. "preholdvolume": {
  43874. "description": "昨持仓",
  43875. "type": "integer"
  43876. },
  43877. "presettle": {
  43878. "description": "昨结价",
  43879. "type": "number"
  43880. },
  43881. "publictradetype": {
  43882. "description": "公共交易标志类型 港股专用",
  43883. "type": "string"
  43884. },
  43885. "putoptionpremiums": {
  43886. "description": "认沽期权1",
  43887. "type": "integer"
  43888. },
  43889. "putoptionpremiums2": {
  43890. "description": "认沽期权2",
  43891. "type": "integer"
  43892. },
  43893. "putoptionpremiums3": {
  43894. "description": "认沽期权3",
  43895. "type": "integer"
  43896. },
  43897. "putoptionpremiums4": {
  43898. "description": "认沽期权4",
  43899. "type": "integer"
  43900. },
  43901. "putoptionpremiums5": {
  43902. "description": "认沽期权5",
  43903. "type": "integer"
  43904. },
  43905. "settle": {
  43906. "description": "结算价",
  43907. "type": "number"
  43908. },
  43909. "strikeprice": {
  43910. "description": "发行价",
  43911. "type": "number"
  43912. },
  43913. "totalaskvolume": {
  43914. "description": "内盘",
  43915. "type": "integer"
  43916. },
  43917. "totalbidvolume": {
  43918. "description": "外盘",
  43919. "type": "integer"
  43920. },
  43921. "totallot": {
  43922. "description": "总手数",
  43923. "type": "integer"
  43924. },
  43925. "totalturnover": {
  43926. "description": "总金额",
  43927. "type": "number"
  43928. },
  43929. "totalvolume": {
  43930. "description": "总量",
  43931. "type": "integer"
  43932. },
  43933. "utclasttime": {
  43934. "description": "utc的行情时间",
  43935. "type": "string"
  43936. }
  43937. }
  43938. },
  43939. "quote.QueryTSDataRsp": {
  43940. "type": "object",
  43941. "properties": {
  43942. "Count": {
  43943. "description": "交易日应有数据个数",
  43944. "type": "integer"
  43945. },
  43946. "decimalPlace": {
  43947. "description": "小数位",
  43948. "type": "integer"
  43949. },
  43950. "endTime": {
  43951. "description": "结束时间",
  43952. "type": "string"
  43953. },
  43954. "goodsCode": {
  43955. "description": "商品代码",
  43956. "type": "string"
  43957. },
  43958. "historyDatas": {
  43959. "description": "历史数据",
  43960. "type": "array",
  43961. "items": {
  43962. "$ref": "#/definitions/quote.HistoryData"
  43963. }
  43964. },
  43965. "outGoodsCode": {
  43966. "description": "外部商品代码",
  43967. "type": "string"
  43968. },
  43969. "preSettle": {
  43970. "description": "昨结价",
  43971. "type": "number"
  43972. },
  43973. "runSteps": {
  43974. "description": "交易日开休市计划",
  43975. "type": "array",
  43976. "items": {
  43977. "$ref": "#/definitions/quote.TSDataRunStep"
  43978. }
  43979. },
  43980. "startTime": {
  43981. "description": "开始时间",
  43982. "type": "string"
  43983. },
  43984. "tradeDate": {
  43985. "description": "交易日",
  43986. "type": "string"
  43987. }
  43988. }
  43989. },
  43990. "quote.TSDataRunStep": {
  43991. "type": "object",
  43992. "properties": {
  43993. "end": {
  43994. "description": "真实结束时间",
  43995. "type": "string"
  43996. },
  43997. "endflag": {
  43998. "description": "结束日标识 - (-1:上日 0:当日 1:次日 )",
  43999. "type": "integer"
  44000. },
  44001. "endtime": {
  44002. "description": "结束时间(HH:mm)",
  44003. "type": "string"
  44004. },
  44005. "endweekday": {
  44006. "description": "结束周几",
  44007. "type": "integer"
  44008. },
  44009. "groupid": {
  44010. "description": "分组ID",
  44011. "type": "integer"
  44012. },
  44013. "runstep": {
  44014. "description": "运行阶段 - 2:连续交易",
  44015. "type": "integer"
  44016. },
  44017. "sectionid": {
  44018. "description": "从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几",
  44019. "type": "integer"
  44020. },
  44021. "start": {
  44022. "description": "真实开始时间",
  44023. "type": "string"
  44024. },
  44025. "startflag": {
  44026. "description": "开始日标识 - (-1:上日 0:当日 1:次日 )",
  44027. "type": "integer"
  44028. },
  44029. "starttime": {
  44030. "description": "起始时间(HH:mm)",
  44031. "type": "string"
  44032. },
  44033. "startweekday": {
  44034. "description": "起始周几",
  44035. "type": "integer"
  44036. },
  44037. "tradeweekday": {
  44038. "description": "交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六",
  44039. "type": "integer"
  44040. }
  44041. }
  44042. },
  44043. "szdz.QueryConvertLogRsp": {
  44044. "type": "object",
  44045. "required": [
  44046. "logid"
  44047. ],
  44048. "properties": {
  44049. "accountid": {
  44050. "description": "资金账户ID",
  44051. "type": "integer"
  44052. },
  44053. "clientticket": {
  44054. "description": "客户端流水号",
  44055. "type": "string"
  44056. },
  44057. "converttype": {
  44058. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  44059. "type": "integer"
  44060. },
  44061. "createtime": {
  44062. "description": "记账时间",
  44063. "type": "string"
  44064. },
  44065. "daymaxvalue": {
  44066. "description": "配置当日最大转入限制",
  44067. "type": "number"
  44068. },
  44069. "daymaxvalue2": {
  44070. "description": "配置当日最大转入限制(转入)",
  44071. "type": "number"
  44072. },
  44073. "goodscode": {
  44074. "description": "商品代码",
  44075. "type": "string"
  44076. },
  44077. "goodsname": {
  44078. "description": "商品名称",
  44079. "type": "string"
  44080. },
  44081. "handlestatus": {
  44082. "description": "处理状态",
  44083. "type": "integer"
  44084. },
  44085. "innergoodsid": {
  44086. "description": "内部商品ID",
  44087. "type": "integer"
  44088. },
  44089. "inratio": {
  44090. "description": "配置转入比值",
  44091. "type": "integer"
  44092. },
  44093. "invalue": {
  44094. "description": "目标值",
  44095. "type": "number"
  44096. },
  44097. "logid": {
  44098. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  44099. "type": "integer"
  44100. },
  44101. "mobile": {
  44102. "description": "手机号码(加密存储)",
  44103. "type": "string"
  44104. },
  44105. "outergoodscode": {
  44106. "description": "外部商品代码[JD\\PD]",
  44107. "type": "string"
  44108. },
  44109. "outratio": {
  44110. "description": "配置转出比值",
  44111. "type": "integer"
  44112. },
  44113. "outvalue": {
  44114. "description": "源值",
  44115. "type": "number"
  44116. },
  44117. "pddecimalplace": {
  44118. "description": "PD小数位",
  44119. "type": "integer"
  44120. },
  44121. "qty": {
  44122. "description": "数量",
  44123. "type": "string"
  44124. },
  44125. "remark": {
  44126. "description": "备注",
  44127. "type": "string"
  44128. },
  44129. "sessionid": {
  44130. "description": "会话ID",
  44131. "type": "integer"
  44132. },
  44133. "timemaxvalue": {
  44134. "description": "配置单次最大转入限制",
  44135. "type": "number"
  44136. },
  44137. "timemaxvalue2": {
  44138. "description": "配置单次最大转入限制(转入)",
  44139. "type": "number"
  44140. },
  44141. "timeminvalue": {
  44142. "description": "配置单次最小数量限制",
  44143. "type": "number"
  44144. },
  44145. "timeminvalue2": {
  44146. "description": "配置单次最小数量限制(转入)",
  44147. "type": "number"
  44148. },
  44149. "tradedate": {
  44150. "description": "交易日(yyyyMMdd)",
  44151. "type": "string"
  44152. },
  44153. "userid": {
  44154. "description": "用户ID",
  44155. "type": "integer"
  44156. }
  44157. }
  44158. },
  44159. "szdz.QueryGoodsPickupRsp": {
  44160. "type": "object",
  44161. "required": [
  44162. "takeorderid"
  44163. ],
  44164. "properties": {
  44165. "accountid": {
  44166. "description": "账户ID",
  44167. "type": "integer"
  44168. },
  44169. "address": {
  44170. "description": "提货人详细地址",
  44171. "type": "string"
  44172. },
  44173. "auditer": {
  44174. "description": "审核人",
  44175. "type": "integer"
  44176. },
  44177. "audittime": {
  44178. "description": "审核时间",
  44179. "type": "string"
  44180. },
  44181. "cardnum": {
  44182. "description": "提货人证件号码",
  44183. "type": "string"
  44184. },
  44185. "cardtypeid": {
  44186. "description": "提货人证件类型",
  44187. "type": "integer"
  44188. },
  44189. "checkremark": {
  44190. "description": "审核备注",
  44191. "type": "string"
  44192. },
  44193. "goodscode": {
  44194. "description": "商品代码",
  44195. "type": "string"
  44196. },
  44197. "goodsid": {
  44198. "description": "商品ID",
  44199. "type": "integer"
  44200. },
  44201. "goodsname": {
  44202. "description": "商品名称",
  44203. "type": "string"
  44204. },
  44205. "handlestatus": {
  44206. "description": "处理状态",
  44207. "type": "integer"
  44208. },
  44209. "marketid": {
  44210. "description": "市场ID",
  44211. "type": "integer"
  44212. },
  44213. "phonenum": {
  44214. "description": "提货人联系方式",
  44215. "type": "string"
  44216. },
  44217. "qty": {
  44218. "description": "提货数量",
  44219. "type": "number"
  44220. },
  44221. "recivername": {
  44222. "description": "提货人姓名",
  44223. "type": "string"
  44224. },
  44225. "reqtime": {
  44226. "description": "更新时间",
  44227. "type": "string"
  44228. },
  44229. "takemode": {
  44230. "description": "提货方式 - 2:自提 3:配送",
  44231. "type": "integer"
  44232. },
  44233. "takeorderid": {
  44234. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  44235. "type": "string"
  44236. },
  44237. "takeorderstatus": {
  44238. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  44239. "type": "integer"
  44240. },
  44241. "takeremark": {
  44242. "description": "提货备注",
  44243. "type": "string"
  44244. },
  44245. "tradedate": {
  44246. "description": "交易日(yyyyMMdd)",
  44247. "type": "string"
  44248. },
  44249. "userid": {
  44250. "description": "用户ID",
  44251. "type": "integer"
  44252. }
  44253. }
  44254. },
  44255. "szdz.QueryRecieptOrderRsp": {
  44256. "type": "object",
  44257. "required": [
  44258. "ordertime"
  44259. ],
  44260. "properties": {
  44261. "accountName": {
  44262. "description": "所属账号名称(已脱敏)",
  44263. "type": "string"
  44264. },
  44265. "accountid": {
  44266. "description": "资金账号",
  44267. "type": "integer"
  44268. },
  44269. "buyorsell": {
  44270. "description": "方向 - 0:买 1:卖",
  44271. "type": "integer"
  44272. },
  44273. "enableqty": {
  44274. "description": "可摘数量",
  44275. "type": "integer"
  44276. },
  44277. "goodscode": {
  44278. "description": "商品代码",
  44279. "type": "string"
  44280. },
  44281. "goodsid": {
  44282. "description": "商品ID",
  44283. "type": "integer"
  44284. },
  44285. "goodsname": {
  44286. "description": "商品名称",
  44287. "type": "string"
  44288. },
  44289. "orderid": {
  44290. "description": "委托单号",
  44291. "type": "string"
  44292. },
  44293. "orderprice": {
  44294. "description": "委托价格",
  44295. "type": "number"
  44296. },
  44297. "ordertime": {
  44298. "description": "委托时间",
  44299. "type": "string"
  44300. },
  44301. "tradedate": {
  44302. "description": "交易日(yyyyMMdd)",
  44303. "type": "string"
  44304. }
  44305. }
  44306. },
  44307. "szdz.QuerySZDZTradePositionRsp": {
  44308. "type": "object",
  44309. "properties": {
  44310. "accountid": {
  44311. "description": "账号Id",
  44312. "type": "integer"
  44313. },
  44314. "agreeunit": {
  44315. "description": "合约单位",
  44316. "type": "number"
  44317. },
  44318. "averageprice": {
  44319. "description": "持仓均价",
  44320. "type": "number"
  44321. },
  44322. "buyorsell": {
  44323. "description": "方向 - 0:买 1:卖",
  44324. "type": "integer"
  44325. },
  44326. "closetotalqty": {
  44327. "description": "平仓总数量",
  44328. "type": "integer"
  44329. },
  44330. "curholderamount": {
  44331. "description": "当前持仓总金额",
  44332. "type": "number"
  44333. },
  44334. "curpositionqty": {
  44335. "description": "当前持仓总数量",
  44336. "type": "integer"
  44337. },
  44338. "currencyid": {
  44339. "description": "报价货币ID",
  44340. "type": "integer"
  44341. },
  44342. "curtdposition": {
  44343. "description": "期末今日头寸",
  44344. "type": "integer"
  44345. },
  44346. "decimalplace": {
  44347. "description": "报价小数位",
  44348. "type": "integer"
  44349. },
  44350. "enableqty": {
  44351. "description": "可用量",
  44352. "type": "integer"
  44353. },
  44354. "fretdposition": {
  44355. "description": "冻结今日头寸",
  44356. "type": "integer"
  44357. },
  44358. "frozenqty": {
  44359. "description": "持仓冻结数量",
  44360. "type": "integer"
  44361. },
  44362. "goodscode": {
  44363. "description": "商品代码(内部)",
  44364. "type": "string"
  44365. },
  44366. "goodsid": {
  44367. "description": "商品Id",
  44368. "type": "integer"
  44369. },
  44370. "goodsname": {
  44371. "description": "商品名称",
  44372. "type": "string"
  44373. },
  44374. "goodunit": {
  44375. "description": "报价单位",
  44376. "type": "string"
  44377. },
  44378. "goodunitid": {
  44379. "description": "报价单位ID",
  44380. "type": "integer"
  44381. },
  44382. "holderamount": {
  44383. "description": "期初持仓总金额",
  44384. "type": "number"
  44385. },
  44386. "marketid": {
  44387. "description": "市场ID",
  44388. "type": "integer"
  44389. },
  44390. "openreqqty": {
  44391. "description": "开仓申请数量",
  44392. "type": "integer"
  44393. },
  44394. "opentotalqty": {
  44395. "description": "开仓总数量",
  44396. "type": "integer"
  44397. },
  44398. "otherfrozenqty": {
  44399. "description": "持仓其他冻结数量(交割冻结)",
  44400. "type": "integer"
  44401. },
  44402. "positionqty": {
  44403. "description": "期初持仓数量",
  44404. "type": "integer"
  44405. },
  44406. "szdz3freezqty": {
  44407. "description": "尚志大宗转换冻结总数量",
  44408. "type": "integer"
  44409. },
  44410. "tnqty": {
  44411. "description": "T+N冻结总量",
  44412. "type": "integer"
  44413. },
  44414. "tnusedqty": {
  44415. "description": "T+N使用量",
  44416. "type": "integer"
  44417. },
  44418. "trademode": {
  44419. "description": "交易模式",
  44420. "type": "integer"
  44421. },
  44422. "usedmargin": {
  44423. "description": "占用保证金",
  44424. "type": "number"
  44425. }
  44426. }
  44427. },
  44428. "taaccount.QueryAmountLogRsp": {
  44429. "type": "object",
  44430. "required": [
  44431. "accountid",
  44432. "amount",
  44433. "amountadjusttype",
  44434. "autoid",
  44435. "balance",
  44436. "createtime",
  44437. "currentbalance",
  44438. "operatetype"
  44439. ],
  44440. "properties": {
  44441. "OPERATETYPENAME": {
  44442. "description": "资金操作类型名称",
  44443. "type": "string"
  44444. },
  44445. "accountid": {
  44446. "description": "资金账户ID",
  44447. "type": "integer"
  44448. },
  44449. "agoodscode": {
  44450. "description": "竞拍商品代码",
  44451. "type": "string"
  44452. },
  44453. "agoodsname": {
  44454. "description": "竞拍商品名称",
  44455. "type": "string"
  44456. },
  44457. "amount": {
  44458. "description": "资金金额",
  44459. "type": "number"
  44460. },
  44461. "amountadjusttype": {
  44462. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  44463. "type": "integer"
  44464. },
  44465. "autoid": {
  44466. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  44467. "type": "integer"
  44468. },
  44469. "balance": {
  44470. "description": "期初余额",
  44471. "type": "number"
  44472. },
  44473. "businesscode": {
  44474. "description": "业务编号",
  44475. "type": "integer"
  44476. },
  44477. "createtime": {
  44478. "description": "发生时间",
  44479. "type": "string"
  44480. },
  44481. "currencyid": {
  44482. "description": "币种ID",
  44483. "type": "integer"
  44484. },
  44485. "currentbalance": {
  44486. "description": "期末余额(变动后金额)",
  44487. "type": "number"
  44488. },
  44489. "dgoodscode": {
  44490. "description": "交割商品代码",
  44491. "type": "string"
  44492. },
  44493. "dgoodsname": {
  44494. "description": "交割商品名称",
  44495. "type": "string"
  44496. },
  44497. "goodscode": {
  44498. "description": "商品代码",
  44499. "type": "string"
  44500. },
  44501. "goodsid": {
  44502. "description": "商品ID",
  44503. "type": "integer"
  44504. },
  44505. "goodsname": {
  44506. "description": "商品名称",
  44507. "type": "string"
  44508. },
  44509. "marketid": {
  44510. "description": "市场ID",
  44511. "type": "integer"
  44512. },
  44513. "marketname": {
  44514. "description": "市场名称",
  44515. "type": "string"
  44516. },
  44517. "moneyticket": {
  44518. "description": "资金流水号:银行端流水号",
  44519. "type": "integer"
  44520. },
  44521. "operatetype": {
  44522. "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:营销收款",
  44523. "type": "integer"
  44524. },
  44525. "relationorderid": {
  44526. "description": "关联单号",
  44527. "type": "string"
  44528. },
  44529. "remark": {
  44530. "description": "备注",
  44531. "type": "string"
  44532. },
  44533. "trademode": {
  44534. "description": "交易模式",
  44535. "type": "integer"
  44536. }
  44537. }
  44538. },
  44539. "taaccount.QueryHisAmountLogRsp": {
  44540. "type": "object",
  44541. "required": [
  44542. "accountid",
  44543. "amount",
  44544. "amountadjusttype",
  44545. "autoid",
  44546. "balance",
  44547. "createtime",
  44548. "currentbalance",
  44549. "histradedate",
  44550. "operatetype"
  44551. ],
  44552. "properties": {
  44553. "OPERATETYPENAME": {
  44554. "description": "资金操作类型名称",
  44555. "type": "string"
  44556. },
  44557. "accountid": {
  44558. "description": "资金账户ID",
  44559. "type": "integer"
  44560. },
  44561. "agoodscode": {
  44562. "description": "竞拍商品代码",
  44563. "type": "string"
  44564. },
  44565. "agoodsname": {
  44566. "description": "竞拍商品名称",
  44567. "type": "string"
  44568. },
  44569. "amount": {
  44570. "description": "资金金额",
  44571. "type": "number"
  44572. },
  44573. "amountadjusttype": {
  44574. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  44575. "type": "integer"
  44576. },
  44577. "autoid": {
  44578. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  44579. "type": "integer"
  44580. },
  44581. "balance": {
  44582. "description": "期初余额",
  44583. "type": "number"
  44584. },
  44585. "businesscode": {
  44586. "description": "业务编号",
  44587. "type": "integer"
  44588. },
  44589. "createtime": {
  44590. "description": "发生时间",
  44591. "type": "string"
  44592. },
  44593. "currencyid": {
  44594. "description": "币种ID",
  44595. "type": "integer"
  44596. },
  44597. "currentbalance": {
  44598. "description": "期末余额(变动后金额)",
  44599. "type": "number"
  44600. },
  44601. "dgoodscode": {
  44602. "description": "交割商品代码",
  44603. "type": "string"
  44604. },
  44605. "dgoodsname": {
  44606. "description": "交割商品名称",
  44607. "type": "string"
  44608. },
  44609. "goodscode": {
  44610. "description": "商品代码",
  44611. "type": "string"
  44612. },
  44613. "goodsid": {
  44614. "description": "商品ID",
  44615. "type": "integer"
  44616. },
  44617. "goodsname": {
  44618. "description": "商品名称",
  44619. "type": "string"
  44620. },
  44621. "histradedate": {
  44622. "description": "历史交易日",
  44623. "type": "string"
  44624. },
  44625. "isvaliddata": {
  44626. "description": "是否有效 - 0:无效 1:有效",
  44627. "type": "integer"
  44628. },
  44629. "marketid": {
  44630. "description": "市场ID",
  44631. "type": "integer"
  44632. },
  44633. "marketname": {
  44634. "description": "市场名称",
  44635. "type": "string"
  44636. },
  44637. "moneyticket": {
  44638. "description": "资金流水号:银行端流水号",
  44639. "type": "integer"
  44640. },
  44641. "operatetype": {
  44642. "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:营销收款",
  44643. "type": "integer"
  44644. },
  44645. "relationorderid": {
  44646. "description": "关联单号",
  44647. "type": "string"
  44648. },
  44649. "remark": {
  44650. "description": "备注",
  44651. "type": "string"
  44652. },
  44653. "trademode": {
  44654. "description": "交易模式",
  44655. "type": "integer"
  44656. }
  44657. }
  44658. },
  44659. "trade.QueryRecieptOrderRsp": {
  44660. "type": "object",
  44661. "required": [
  44662. "ordertime"
  44663. ],
  44664. "properties": {
  44665. "accountName": {
  44666. "description": "所属账号名称(已脱敏)",
  44667. "type": "string"
  44668. },
  44669. "accountid": {
  44670. "description": "资金账号",
  44671. "type": "integer"
  44672. },
  44673. "buyorsell": {
  44674. "description": "方向 - 0:买 1:卖",
  44675. "type": "integer"
  44676. },
  44677. "enableqty": {
  44678. "description": "可摘数量",
  44679. "type": "integer"
  44680. },
  44681. "goodscode": {
  44682. "description": "商品代码",
  44683. "type": "string"
  44684. },
  44685. "goodsid": {
  44686. "description": "商品ID",
  44687. "type": "integer"
  44688. },
  44689. "goodsname": {
  44690. "description": "商品名称",
  44691. "type": "string"
  44692. },
  44693. "orderid": {
  44694. "description": "委托单号",
  44695. "type": "string"
  44696. },
  44697. "orderprice": {
  44698. "description": "委托价格",
  44699. "type": "number"
  44700. },
  44701. "ordertime": {
  44702. "description": "委托时间",
  44703. "type": "string"
  44704. },
  44705. "tradedate": {
  44706. "description": "交易日(yyyyMMdd)",
  44707. "type": "string"
  44708. }
  44709. }
  44710. },
  44711. "user.LoginQueryRsp": {
  44712. "type": "object",
  44713. "properties": {
  44714. "areaRoles": {
  44715. "description": "所属角色信息",
  44716. "type": "array",
  44717. "items": {
  44718. "$ref": "#/definitions/models.Arearole"
  44719. }
  44720. },
  44721. "externalExchanges": {
  44722. "description": "外部交易所",
  44723. "type": "array",
  44724. "items": {
  44725. "$ref": "#/definitions/models.Externalexchange"
  44726. }
  44727. },
  44728. "goodsgroups": {
  44729. "description": "商品组",
  44730. "type": "array",
  44731. "items": {
  44732. "$ref": "#/definitions/models.Goodsgroup"
  44733. }
  44734. },
  44735. "loginAccount": {
  44736. "description": "登录账号",
  44737. "$ref": "#/definitions/models.Loginaccount"
  44738. },
  44739. "markets": {
  44740. "description": "市场",
  44741. "type": "array",
  44742. "items": {
  44743. "$ref": "#/definitions/models.Market"
  44744. }
  44745. },
  44746. "systemParams": {
  44747. "description": "系统参数",
  44748. "type": "array",
  44749. "items": {
  44750. "$ref": "#/definitions/models.Systemparam"
  44751. }
  44752. },
  44753. "userAccount": {
  44754. "description": "用户账号",
  44755. "$ref": "#/definitions/models.Useraccount"
  44756. },
  44757. "userInfo": {
  44758. "description": "用户信息",
  44759. "$ref": "#/definitions/models.Userinfo"
  44760. },
  44761. "username": {
  44762. "description": "用户姓名",
  44763. "type": "string"
  44764. }
  44765. }
  44766. }
  44767. },
  44768. "securityDefinitions": {
  44769. "ApiKeyAuth": {
  44770. "type": "apiKey",
  44771. "name": "Authorization",
  44772. "in": "header"
  44773. }
  44774. }
  44775. }`
  44776. type swaggerInfo struct {
  44777. Version string
  44778. Host string
  44779. BasePath string
  44780. Schemes []string
  44781. Title string
  44782. Description string
  44783. }
  44784. // SwaggerInfo holds exported Swagger Info so clients can modify it
  44785. var SwaggerInfo = swaggerInfo{
  44786. Version: "1.0",
  44787. Host: "",
  44788. BasePath: "/api",
  44789. Schemes: []string{},
  44790. Title: "MTP2.0 查询服务 API",
  44791. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  44792. }
  44793. type s struct{}
  44794. func (s *s) ReadDoc() string {
  44795. sInfo := SwaggerInfo
  44796. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  44797. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  44798. "marshal": func(v interface{}) string {
  44799. a, _ := json.Marshal(v)
  44800. return string(a)
  44801. },
  44802. }).Parse(doc)
  44803. if err != nil {
  44804. return doc
  44805. }
  44806. var tpl bytes.Buffer
  44807. if err := t.Execute(&tpl, sInfo); err != nil {
  44808. return doc
  44809. }
  44810. return tpl.String()
  44811. }
  44812. func init() {
  44813. swag.Register(swag.Name, &s{})
  44814. }