docs.go 1.6 MB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505215062150721508215092151021511215122151321514215152151621517215182151921520215212152221523215242152521526215272152821529215302153121532215332153421535215362153721538215392154021541215422154321544215452154621547215482154921550215512155221553215542155521556215572155821559215602156121562215632156421565215662156721568215692157021571215722157321574215752157621577215782157921580215812158221583215842158521586215872158821589215902159121592215932159421595215962159721598215992160021601216022160321604216052160621607216082160921610216112161221613216142161521616216172161821619216202162121622216232162421625216262162721628216292163021631216322163321634216352163621637216382163921640216412164221643216442164521646216472164821649216502165121652216532165421655216562165721658216592166021661216622166321664216652166621667216682166921670216712167221673216742167521676216772167821679216802168121682216832168421685216862168721688216892169021691216922169321694216952169621697216982169921700217012170221703217042170521706217072170821709217102171121712217132171421715217162171721718217192172021721217222172321724217252172621727217282172921730217312173221733217342173521736217372173821739217402174121742217432174421745217462174721748217492175021751217522175321754217552175621757217582175921760217612176221763217642176521766217672176821769217702177121772217732177421775217762177721778217792178021781217822178321784217852178621787217882178921790217912179221793217942179521796217972179821799218002180121802218032180421805218062180721808218092181021811218122181321814218152181621817218182181921820218212182221823218242182521826218272182821829218302183121832218332183421835218362183721838218392184021841218422184321844218452184621847218482184921850218512185221853218542185521856218572185821859218602186121862218632186421865218662186721868218692187021871218722187321874218752187621877218782187921880218812188221883218842188521886218872188821889218902189121892218932189421895218962189721898218992190021901219022190321904219052190621907219082190921910219112191221913219142191521916219172191821919219202192121922219232192421925219262192721928219292193021931219322193321934219352193621937219382193921940219412194221943219442194521946219472194821949219502195121952219532195421955219562195721958219592196021961219622196321964219652196621967219682196921970219712197221973219742197521976219772197821979219802198121982219832198421985219862198721988219892199021991219922199321994219952199621997219982199922000220012200222003220042200522006220072200822009220102201122012220132201422015220162201722018220192202022021220222202322024220252202622027220282202922030220312203222033220342203522036220372203822039220402204122042220432204422045220462204722048220492205022051220522205322054220552205622057220582205922060220612206222063220642206522066220672206822069220702207122072220732207422075220762207722078220792208022081220822208322084220852208622087220882208922090220912209222093220942209522096220972209822099221002210122102221032210422105221062210722108221092211022111221122211322114221152211622117221182211922120221212212222123221242212522126221272212822129221302213122132221332213422135221362213722138221392214022141221422214322144221452214622147221482214922150221512215222153221542215522156221572215822159221602216122162221632216422165221662216722168221692217022171221722217322174221752217622177221782217922180221812218222183221842218522186221872218822189221902219122192221932219422195221962219722198221992220022201222022220322204222052220622207222082220922210222112221222213222142221522216222172221822219222202222122222222232222422225222262222722228222292223022231222322223322234222352223622237222382223922240222412224222243222442224522246222472224822249222502225122252222532225422255222562225722258222592226022261222622226322264222652226622267222682226922270222712227222273222742227522276222772227822279222802228122282222832228422285222862228722288222892229022291222922229322294222952229622297222982229922300223012230222303223042230522306223072230822309223102231122312223132231422315223162231722318223192232022321223222232322324223252232622327223282232922330223312233222333223342233522336223372233822339223402234122342223432234422345223462234722348223492235022351223522235322354223552235622357223582235922360223612236222363223642236522366223672236822369223702237122372223732237422375223762237722378223792238022381223822238322384223852238622387223882238922390223912239222393223942239522396223972239822399224002240122402224032240422405224062240722408224092241022411224122241322414224152241622417224182241922420224212242222423224242242522426224272242822429224302243122432224332243422435224362243722438224392244022441224422244322444224452244622447224482244922450224512245222453224542245522456224572245822459224602246122462224632246422465224662246722468224692247022471224722247322474224752247622477224782247922480224812248222483224842248522486224872248822489224902249122492224932249422495224962249722498224992250022501225022250322504225052250622507225082250922510225112251222513225142251522516225172251822519225202252122522225232252422525225262252722528225292253022531225322253322534225352253622537225382253922540225412254222543225442254522546225472254822549225502255122552225532255422555225562255722558225592256022561225622256322564225652256622567225682256922570225712257222573225742257522576225772257822579225802258122582225832258422585225862258722588225892259022591225922259322594225952259622597225982259922600226012260222603226042260522606226072260822609226102261122612226132261422615226162261722618226192262022621226222262322624226252262622627226282262922630226312263222633226342263522636226372263822639226402264122642226432264422645226462264722648226492265022651226522265322654226552265622657226582265922660226612266222663226642266522666226672266822669226702267122672226732267422675226762267722678226792268022681226822268322684226852268622687226882268922690226912269222693226942269522696226972269822699227002270122702227032270422705227062270722708227092271022711227122271322714227152271622717227182271922720227212272222723227242272522726227272272822729227302273122732227332273422735227362273722738227392274022741227422274322744227452274622747227482274922750227512275222753227542275522756227572275822759227602276122762227632276422765227662276722768227692277022771227722277322774227752277622777227782277922780227812278222783227842278522786227872278822789227902279122792227932279422795227962279722798227992280022801228022280322804228052280622807228082280922810228112281222813228142281522816228172281822819228202282122822228232282422825228262282722828228292283022831228322283322834228352283622837228382283922840228412284222843228442284522846228472284822849228502285122852228532285422855228562285722858228592286022861228622286322864228652286622867228682286922870228712287222873228742287522876228772287822879228802288122882228832288422885228862288722888228892289022891228922289322894228952289622897228982289922900229012290222903229042290522906229072290822909229102291122912229132291422915229162291722918229192292022921229222292322924229252292622927229282292922930229312293222933229342293522936229372293822939229402294122942229432294422945229462294722948229492295022951229522295322954229552295622957229582295922960229612296222963229642296522966229672296822969229702297122972229732297422975229762297722978229792298022981229822298322984229852298622987229882298922990229912299222993229942299522996229972299822999230002300123002230032300423005230062300723008230092301023011230122301323014230152301623017230182301923020230212302223023230242302523026230272302823029230302303123032230332303423035230362303723038230392304023041230422304323044230452304623047230482304923050230512305223053230542305523056230572305823059230602306123062230632306423065230662306723068230692307023071230722307323074230752307623077230782307923080230812308223083230842308523086230872308823089230902309123092230932309423095230962309723098230992310023101231022310323104231052310623107231082310923110231112311223113231142311523116231172311823119231202312123122231232312423125231262312723128231292313023131231322313323134231352313623137231382313923140231412314223143231442314523146231472314823149231502315123152231532315423155231562315723158231592316023161231622316323164231652316623167231682316923170231712317223173231742317523176231772317823179231802318123182231832318423185231862318723188231892319023191231922319323194231952319623197231982319923200232012320223203232042320523206232072320823209232102321123212232132321423215232162321723218232192322023221232222322323224232252322623227232282322923230232312323223233232342323523236232372323823239232402324123242232432324423245232462324723248232492325023251232522325323254232552325623257232582325923260232612326223263232642326523266232672326823269232702327123272232732327423275232762327723278232792328023281232822328323284232852328623287232882328923290232912329223293232942329523296232972329823299233002330123302233032330423305233062330723308233092331023311233122331323314233152331623317233182331923320233212332223323233242332523326233272332823329233302333123332233332333423335233362333723338233392334023341233422334323344233452334623347233482334923350233512335223353233542335523356233572335823359233602336123362233632336423365233662336723368233692337023371233722337323374233752337623377233782337923380233812338223383233842338523386233872338823389233902339123392233932339423395233962339723398233992340023401234022340323404234052340623407234082340923410234112341223413234142341523416234172341823419234202342123422234232342423425234262342723428234292343023431234322343323434234352343623437234382343923440234412344223443234442344523446234472344823449234502345123452234532345423455234562345723458234592346023461234622346323464234652346623467234682346923470234712347223473234742347523476234772347823479234802348123482234832348423485234862348723488234892349023491234922349323494234952349623497234982349923500235012350223503235042350523506235072350823509235102351123512235132351423515235162351723518235192352023521235222352323524235252352623527235282352923530235312353223533235342353523536235372353823539235402354123542235432354423545235462354723548235492355023551235522355323554235552355623557235582355923560235612356223563235642356523566235672356823569235702357123572235732357423575235762357723578235792358023581235822358323584235852358623587235882358923590235912359223593235942359523596235972359823599236002360123602236032360423605236062360723608236092361023611236122361323614236152361623617236182361923620236212362223623236242362523626236272362823629236302363123632236332363423635236362363723638236392364023641236422364323644236452364623647236482364923650236512365223653236542365523656236572365823659236602366123662236632366423665236662366723668236692367023671236722367323674236752367623677236782367923680236812368223683236842368523686236872368823689236902369123692236932369423695236962369723698236992370023701237022370323704237052370623707237082370923710237112371223713237142371523716237172371823719237202372123722237232372423725237262372723728237292373023731237322373323734237352373623737237382373923740237412374223743237442374523746237472374823749237502375123752237532375423755237562375723758237592376023761237622376323764237652376623767237682376923770237712377223773237742377523776237772377823779237802378123782237832378423785237862378723788237892379023791237922379323794237952379623797237982379923800238012380223803238042380523806238072380823809238102381123812238132381423815238162381723818238192382023821238222382323824238252382623827238282382923830238312383223833238342383523836238372383823839238402384123842238432384423845238462384723848238492385023851238522385323854238552385623857238582385923860238612386223863238642386523866238672386823869238702387123872238732387423875238762387723878238792388023881238822388323884238852388623887238882388923890238912389223893238942389523896238972389823899239002390123902239032390423905239062390723908239092391023911239122391323914239152391623917239182391923920239212392223923239242392523926239272392823929239302393123932239332393423935239362393723938239392394023941239422394323944239452394623947239482394923950239512395223953239542395523956239572395823959239602396123962239632396423965239662396723968239692397023971239722397323974239752397623977239782397923980239812398223983239842398523986239872398823989239902399123992239932399423995239962399723998239992400024001240022400324004240052400624007240082400924010240112401224013240142401524016240172401824019240202402124022240232402424025240262402724028240292403024031240322403324034240352403624037240382403924040240412404224043240442404524046240472404824049240502405124052240532405424055240562405724058240592406024061240622406324064240652406624067240682406924070240712407224073240742407524076240772407824079240802408124082240832408424085240862408724088240892409024091240922409324094240952409624097240982409924100241012410224103241042410524106241072410824109241102411124112241132411424115241162411724118241192412024121241222412324124241252412624127241282412924130241312413224133241342413524136241372413824139241402414124142241432414424145241462414724148241492415024151241522415324154241552415624157241582415924160241612416224163241642416524166241672416824169241702417124172241732417424175241762417724178241792418024181241822418324184241852418624187241882418924190241912419224193241942419524196241972419824199242002420124202242032420424205242062420724208242092421024211242122421324214242152421624217242182421924220242212422224223242242422524226242272422824229242302423124232242332423424235242362423724238242392424024241242422424324244242452424624247242482424924250242512425224253242542425524256242572425824259242602426124262242632426424265242662426724268242692427024271242722427324274242752427624277242782427924280242812428224283242842428524286242872428824289242902429124292242932429424295242962429724298242992430024301243022430324304243052430624307243082430924310243112431224313243142431524316243172431824319243202432124322243232432424325243262432724328243292433024331243322433324334243352433624337243382433924340243412434224343243442434524346243472434824349243502435124352243532435424355243562435724358243592436024361243622436324364243652436624367243682436924370243712437224373243742437524376243772437824379243802438124382243832438424385243862438724388243892439024391243922439324394243952439624397243982439924400244012440224403244042440524406244072440824409244102441124412244132441424415244162441724418244192442024421244222442324424244252442624427244282442924430244312443224433244342443524436244372443824439244402444124442244432444424445244462444724448244492445024451244522445324454244552445624457244582445924460244612446224463244642446524466244672446824469244702447124472244732447424475244762447724478244792448024481244822448324484244852448624487244882448924490244912449224493244942449524496244972449824499245002450124502245032450424505245062450724508245092451024511245122451324514245152451624517245182451924520245212452224523245242452524526245272452824529245302453124532245332453424535245362453724538245392454024541245422454324544245452454624547245482454924550245512455224553245542455524556245572455824559245602456124562245632456424565245662456724568245692457024571245722457324574245752457624577245782457924580245812458224583245842458524586245872458824589245902459124592245932459424595245962459724598245992460024601246022460324604246052460624607246082460924610246112461224613246142461524616246172461824619246202462124622246232462424625246262462724628246292463024631246322463324634246352463624637246382463924640246412464224643246442464524646246472464824649246502465124652246532465424655246562465724658246592466024661246622466324664246652466624667246682466924670246712467224673246742467524676246772467824679246802468124682246832468424685246862468724688246892469024691246922469324694246952469624697246982469924700247012470224703247042470524706247072470824709247102471124712247132471424715247162471724718247192472024721247222472324724247252472624727247282472924730247312473224733247342473524736247372473824739247402474124742247432474424745247462474724748247492475024751247522475324754247552475624757247582475924760247612476224763247642476524766247672476824769247702477124772247732477424775247762477724778247792478024781247822478324784247852478624787247882478924790247912479224793247942479524796247972479824799248002480124802248032480424805248062480724808248092481024811248122481324814248152481624817248182481924820248212482224823248242482524826248272482824829248302483124832248332483424835248362483724838248392484024841248422484324844248452484624847248482484924850248512485224853248542485524856248572485824859248602486124862248632486424865248662486724868248692487024871248722487324874248752487624877248782487924880248812488224883248842488524886248872488824889248902489124892248932489424895248962489724898248992490024901249022490324904249052490624907249082490924910249112491224913249142491524916249172491824919249202492124922249232492424925249262492724928249292493024931249322493324934249352493624937249382493924940249412494224943249442494524946249472494824949249502495124952249532495424955249562495724958249592496024961249622496324964249652496624967249682496924970249712497224973249742497524976249772497824979249802498124982249832498424985249862498724988249892499024991249922499324994249952499624997249982499925000250012500225003250042500525006250072500825009250102501125012250132501425015250162501725018250192502025021250222502325024250252502625027250282502925030250312503225033250342503525036250372503825039250402504125042250432504425045250462504725048250492505025051250522505325054250552505625057250582505925060250612506225063250642506525066250672506825069250702507125072250732507425075250762507725078250792508025081250822508325084250852508625087250882508925090250912509225093250942509525096250972509825099251002510125102251032510425105251062510725108251092511025111251122511325114251152511625117251182511925120251212512225123251242512525126251272512825129251302513125132251332513425135251362513725138251392514025141251422514325144251452514625147251482514925150251512515225153251542515525156251572515825159251602516125162251632516425165251662516725168251692517025171251722517325174251752517625177251782517925180251812518225183251842518525186251872518825189251902519125192251932519425195251962519725198251992520025201252022520325204252052520625207252082520925210252112521225213252142521525216252172521825219252202522125222252232522425225252262522725228252292523025231252322523325234252352523625237252382523925240252412524225243252442524525246252472524825249252502525125252252532525425255252562525725258252592526025261252622526325264252652526625267252682526925270252712527225273252742527525276252772527825279252802528125282252832528425285252862528725288252892529025291252922529325294252952529625297252982529925300253012530225303253042530525306253072530825309253102531125312253132531425315253162531725318253192532025321253222532325324253252532625327253282532925330253312533225333253342533525336253372533825339253402534125342253432534425345253462534725348253492535025351253522535325354253552535625357253582535925360253612536225363253642536525366253672536825369253702537125372253732537425375253762537725378253792538025381253822538325384253852538625387253882538925390253912539225393253942539525396253972539825399254002540125402254032540425405254062540725408254092541025411254122541325414254152541625417254182541925420254212542225423254242542525426254272542825429254302543125432254332543425435254362543725438254392544025441254422544325444254452544625447254482544925450254512545225453254542545525456254572545825459254602546125462254632546425465254662546725468254692547025471254722547325474254752547625477254782547925480254812548225483254842548525486254872548825489254902549125492254932549425495254962549725498254992550025501255022550325504255052550625507255082550925510255112551225513255142551525516255172551825519255202552125522255232552425525255262552725528255292553025531255322553325534255352553625537255382553925540255412554225543255442554525546255472554825549255502555125552255532555425555255562555725558255592556025561255622556325564255652556625567255682556925570255712557225573255742557525576255772557825579255802558125582255832558425585255862558725588255892559025591255922559325594255952559625597255982559925600256012560225603256042560525606256072560825609256102561125612256132561425615256162561725618256192562025621256222562325624256252562625627256282562925630256312563225633256342563525636256372563825639256402564125642256432564425645256462564725648256492565025651256522565325654256552565625657256582565925660256612566225663256642566525666256672566825669256702567125672256732567425675256762567725678256792568025681256822568325684256852568625687256882568925690256912569225693256942569525696256972569825699257002570125702257032570425705257062570725708257092571025711257122571325714257152571625717257182571925720257212572225723257242572525726257272572825729257302573125732257332573425735257362573725738257392574025741257422574325744257452574625747257482574925750257512575225753257542575525756257572575825759257602576125762257632576425765257662576725768257692577025771257722577325774257752577625777257782577925780257812578225783257842578525786257872578825789257902579125792257932579425795257962579725798257992580025801258022580325804258052580625807258082580925810258112581225813258142581525816258172581825819258202582125822258232582425825258262582725828258292583025831258322583325834258352583625837258382583925840258412584225843258442584525846258472584825849258502585125852258532585425855258562585725858258592586025861258622586325864258652586625867258682586925870258712587225873258742587525876258772587825879258802588125882258832588425885258862588725888258892589025891258922589325894258952589625897258982589925900259012590225903259042590525906259072590825909259102591125912259132591425915259162591725918259192592025921259222592325924259252592625927259282592925930259312593225933259342593525936259372593825939259402594125942259432594425945259462594725948259492595025951259522595325954259552595625957259582595925960259612596225963259642596525966259672596825969259702597125972259732597425975259762597725978259792598025981259822598325984259852598625987259882598925990259912599225993259942599525996259972599825999260002600126002260032600426005260062600726008260092601026011260122601326014260152601626017260182601926020260212602226023260242602526026260272602826029260302603126032260332603426035260362603726038260392604026041260422604326044260452604626047260482604926050260512605226053260542605526056260572605826059260602606126062260632606426065260662606726068260692607026071260722607326074260752607626077260782607926080260812608226083260842608526086260872608826089260902609126092260932609426095260962609726098260992610026101261022610326104261052610626107261082610926110261112611226113261142611526116261172611826119261202612126122261232612426125261262612726128261292613026131261322613326134261352613626137261382613926140261412614226143261442614526146261472614826149261502615126152261532615426155261562615726158261592616026161261622616326164261652616626167261682616926170261712617226173261742617526176261772617826179261802618126182261832618426185261862618726188261892619026191261922619326194261952619626197261982619926200262012620226203262042620526206262072620826209262102621126212262132621426215262162621726218262192622026221262222622326224262252622626227262282622926230262312623226233262342623526236262372623826239262402624126242262432624426245262462624726248262492625026251262522625326254262552625626257262582625926260262612626226263262642626526266262672626826269262702627126272262732627426275262762627726278262792628026281262822628326284262852628626287262882628926290262912629226293262942629526296262972629826299263002630126302263032630426305263062630726308263092631026311263122631326314263152631626317263182631926320263212632226323263242632526326263272632826329263302633126332263332633426335263362633726338263392634026341263422634326344263452634626347263482634926350263512635226353263542635526356263572635826359263602636126362263632636426365263662636726368263692637026371263722637326374263752637626377263782637926380263812638226383263842638526386263872638826389263902639126392263932639426395263962639726398263992640026401264022640326404264052640626407264082640926410264112641226413264142641526416264172641826419264202642126422264232642426425264262642726428264292643026431264322643326434264352643626437264382643926440264412644226443264442644526446264472644826449264502645126452264532645426455264562645726458264592646026461264622646326464264652646626467264682646926470264712647226473264742647526476264772647826479264802648126482264832648426485264862648726488264892649026491264922649326494264952649626497264982649926500265012650226503265042650526506265072650826509265102651126512265132651426515265162651726518265192652026521265222652326524265252652626527265282652926530265312653226533265342653526536265372653826539265402654126542265432654426545265462654726548265492655026551265522655326554265552655626557265582655926560265612656226563265642656526566265672656826569265702657126572265732657426575265762657726578265792658026581265822658326584265852658626587265882658926590265912659226593265942659526596265972659826599266002660126602266032660426605266062660726608266092661026611266122661326614266152661626617266182661926620266212662226623266242662526626266272662826629266302663126632266332663426635266362663726638266392664026641266422664326644266452664626647266482664926650266512665226653266542665526656266572665826659266602666126662266632666426665266662666726668266692667026671266722667326674266752667626677266782667926680266812668226683266842668526686266872668826689266902669126692266932669426695266962669726698266992670026701267022670326704267052670626707267082670926710267112671226713267142671526716267172671826719267202672126722267232672426725267262672726728267292673026731267322673326734267352673626737267382673926740267412674226743267442674526746267472674826749267502675126752267532675426755267562675726758267592676026761267622676326764267652676626767267682676926770267712677226773267742677526776267772677826779267802678126782267832678426785267862678726788267892679026791267922679326794267952679626797267982679926800268012680226803268042680526806268072680826809268102681126812268132681426815268162681726818268192682026821268222682326824268252682626827268282682926830268312683226833268342683526836268372683826839268402684126842268432684426845268462684726848268492685026851268522685326854268552685626857268582685926860268612686226863268642686526866268672686826869268702687126872268732687426875268762687726878268792688026881268822688326884268852688626887268882688926890268912689226893268942689526896268972689826899269002690126902269032690426905269062690726908269092691026911269122691326914269152691626917269182691926920269212692226923269242692526926269272692826929269302693126932269332693426935269362693726938269392694026941269422694326944269452694626947269482694926950269512695226953269542695526956269572695826959269602696126962269632696426965269662696726968269692697026971269722697326974269752697626977269782697926980269812698226983269842698526986269872698826989269902699126992269932699426995269962699726998269992700027001270022700327004270052700627007270082700927010270112701227013270142701527016270172701827019270202702127022270232702427025270262702727028270292703027031270322703327034270352703627037270382703927040270412704227043270442704527046270472704827049270502705127052270532705427055270562705727058270592706027061270622706327064270652706627067270682706927070270712707227073270742707527076270772707827079270802708127082270832708427085270862708727088270892709027091270922709327094270952709627097270982709927100271012710227103271042710527106271072710827109271102711127112271132711427115271162711727118271192712027121271222712327124271252712627127271282712927130271312713227133271342713527136271372713827139271402714127142271432714427145271462714727148271492715027151271522715327154271552715627157271582715927160271612716227163271642716527166271672716827169271702717127172271732717427175271762717727178271792718027181271822718327184271852718627187271882718927190271912719227193271942719527196271972719827199272002720127202272032720427205272062720727208272092721027211272122721327214272152721627217272182721927220272212722227223272242722527226272272722827229272302723127232272332723427235272362723727238272392724027241272422724327244272452724627247272482724927250272512725227253272542725527256272572725827259272602726127262272632726427265272662726727268272692727027271272722727327274272752727627277272782727927280272812728227283272842728527286272872728827289272902729127292272932729427295272962729727298272992730027301273022730327304273052730627307273082730927310273112731227313273142731527316273172731827319273202732127322273232732427325273262732727328273292733027331273322733327334273352733627337273382733927340273412734227343273442734527346273472734827349273502735127352273532735427355273562735727358273592736027361273622736327364273652736627367273682736927370273712737227373273742737527376273772737827379273802738127382273832738427385273862738727388273892739027391273922739327394273952739627397273982739927400274012740227403274042740527406274072740827409274102741127412274132741427415274162741727418274192742027421274222742327424274252742627427274282742927430274312743227433274342743527436274372743827439274402744127442274432744427445274462744727448274492745027451274522745327454274552745627457274582745927460274612746227463274642746527466274672746827469274702747127472274732747427475274762747727478274792748027481274822748327484274852748627487274882748927490274912749227493274942749527496274972749827499275002750127502275032750427505275062750727508275092751027511275122751327514275152751627517275182751927520275212752227523275242752527526275272752827529275302753127532275332753427535275362753727538275392754027541275422754327544275452754627547275482754927550275512755227553275542755527556275572755827559275602756127562275632756427565275662756727568275692757027571275722757327574275752757627577275782757927580275812758227583275842758527586275872758827589275902759127592275932759427595275962759727598275992760027601276022760327604276052760627607276082760927610276112761227613276142761527616276172761827619276202762127622276232762427625276262762727628276292763027631276322763327634276352763627637276382763927640276412764227643276442764527646276472764827649276502765127652276532765427655276562765727658276592766027661276622766327664276652766627667276682766927670276712767227673276742767527676276772767827679276802768127682276832768427685276862768727688276892769027691276922769327694276952769627697276982769927700277012770227703277042770527706277072770827709277102771127712277132771427715277162771727718277192772027721277222772327724277252772627727277282772927730277312773227733277342773527736277372773827739277402774127742277432774427745277462774727748277492775027751277522775327754277552775627757277582775927760277612776227763277642776527766277672776827769277702777127772277732777427775277762777727778277792778027781277822778327784277852778627787277882778927790277912779227793277942779527796277972779827799278002780127802278032780427805278062780727808278092781027811278122781327814278152781627817278182781927820278212782227823278242782527826278272782827829278302783127832278332783427835278362783727838278392784027841278422784327844278452784627847278482784927850278512785227853278542785527856278572785827859278602786127862278632786427865278662786727868278692787027871278722787327874278752787627877278782787927880278812788227883278842788527886278872788827889278902789127892278932789427895278962789727898278992790027901279022790327904279052790627907279082790927910279112791227913279142791527916279172791827919279202792127922279232792427925279262792727928279292793027931279322793327934279352793627937279382793927940279412794227943279442794527946279472794827949279502795127952279532795427955279562795727958279592796027961279622796327964279652796627967279682796927970279712797227973279742797527976279772797827979279802798127982279832798427985279862798727988279892799027991279922799327994279952799627997279982799928000280012800228003280042800528006280072800828009280102801128012280132801428015280162801728018280192802028021280222802328024280252802628027280282802928030280312803228033280342803528036280372803828039280402804128042280432804428045280462804728048280492805028051280522805328054280552805628057280582805928060280612806228063280642806528066280672806828069280702807128072280732807428075280762807728078280792808028081280822808328084280852808628087280882808928090280912809228093280942809528096280972809828099281002810128102281032810428105281062810728108281092811028111281122811328114281152811628117281182811928120281212812228123281242812528126281272812828129281302813128132281332813428135281362813728138281392814028141281422814328144281452814628147281482814928150281512815228153281542815528156281572815828159281602816128162281632816428165281662816728168281692817028171281722817328174281752817628177281782817928180281812818228183281842818528186281872818828189281902819128192281932819428195281962819728198281992820028201282022820328204282052820628207282082820928210282112821228213282142821528216282172821828219282202822128222282232822428225282262822728228282292823028231282322823328234282352823628237282382823928240282412824228243282442824528246282472824828249282502825128252282532825428255282562825728258282592826028261282622826328264282652826628267282682826928270282712827228273282742827528276282772827828279282802828128282282832828428285282862828728288282892829028291282922829328294282952829628297282982829928300283012830228303283042830528306283072830828309283102831128312283132831428315283162831728318283192832028321283222832328324283252832628327283282832928330283312833228333283342833528336283372833828339283402834128342283432834428345283462834728348283492835028351283522835328354283552835628357283582835928360283612836228363283642836528366283672836828369283702837128372283732837428375283762837728378283792838028381283822838328384283852838628387283882838928390283912839228393283942839528396283972839828399284002840128402284032840428405284062840728408284092841028411284122841328414284152841628417284182841928420284212842228423284242842528426284272842828429284302843128432284332843428435284362843728438284392844028441284422844328444284452844628447284482844928450284512845228453284542845528456284572845828459284602846128462284632846428465284662846728468284692847028471284722847328474284752847628477284782847928480284812848228483284842848528486284872848828489284902849128492284932849428495284962849728498284992850028501285022850328504285052850628507285082850928510285112851228513285142851528516285172851828519285202852128522285232852428525285262852728528285292853028531285322853328534285352853628537285382853928540285412854228543285442854528546285472854828549285502855128552285532855428555285562855728558285592856028561285622856328564285652856628567285682856928570285712857228573285742857528576285772857828579285802858128582285832858428585285862858728588285892859028591285922859328594285952859628597285982859928600286012860228603286042860528606286072860828609286102861128612286132861428615286162861728618286192862028621286222862328624286252862628627286282862928630286312863228633286342863528636286372863828639286402864128642286432864428645286462864728648286492865028651286522865328654286552865628657286582865928660286612866228663286642866528666286672866828669286702867128672286732867428675286762867728678286792868028681286822868328684286852868628687286882868928690286912869228693286942869528696286972869828699287002870128702287032870428705287062870728708287092871028711287122871328714287152871628717287182871928720287212872228723287242872528726287272872828729287302873128732287332873428735287362873728738287392874028741287422874328744287452874628747287482874928750287512875228753287542875528756287572875828759287602876128762287632876428765287662876728768287692877028771287722877328774287752877628777287782877928780287812878228783287842878528786287872878828789287902879128792287932879428795287962879728798287992880028801288022880328804288052880628807288082880928810288112881228813288142881528816288172881828819288202882128822288232882428825288262882728828288292883028831288322883328834288352883628837288382883928840288412884228843288442884528846288472884828849288502885128852288532885428855288562885728858288592886028861288622886328864288652886628867288682886928870288712887228873288742887528876288772887828879288802888128882288832888428885288862888728888288892889028891288922889328894288952889628897288982889928900289012890228903289042890528906289072890828909289102891128912289132891428915289162891728918289192892028921289222892328924289252892628927289282892928930289312893228933289342893528936289372893828939289402894128942289432894428945289462894728948289492895028951289522895328954289552895628957289582895928960289612896228963289642896528966289672896828969289702897128972289732897428975289762897728978289792898028981289822898328984289852898628987289882898928990289912899228993289942899528996289972899828999290002900129002290032900429005290062900729008290092901029011290122901329014290152901629017290182901929020290212902229023290242902529026290272902829029290302903129032290332903429035290362903729038290392904029041290422904329044290452904629047290482904929050290512905229053290542905529056290572905829059290602906129062290632906429065290662906729068290692907029071290722907329074290752907629077290782907929080290812908229083290842908529086290872908829089290902909129092290932909429095290962909729098290992910029101291022910329104291052910629107291082910929110291112911229113291142911529116291172911829119291202912129122291232912429125291262912729128291292913029131291322913329134291352913629137291382913929140291412914229143291442914529146291472914829149291502915129152291532915429155291562915729158291592916029161291622916329164291652916629167291682916929170291712917229173291742917529176291772917829179291802918129182291832918429185291862918729188291892919029191291922919329194291952919629197291982919929200292012920229203292042920529206292072920829209292102921129212292132921429215292162921729218292192922029221292222922329224292252922629227292282922929230292312923229233292342923529236292372923829239292402924129242292432924429245292462924729248292492925029251292522925329254292552925629257292582925929260292612926229263292642926529266292672926829269292702927129272292732927429275292762927729278292792928029281292822928329284292852928629287292882928929290292912929229293292942929529296292972929829299293002930129302293032930429305293062930729308293092931029311293122931329314293152931629317293182931929320293212932229323293242932529326293272932829329293302933129332293332933429335293362933729338293392934029341293422934329344293452934629347293482934929350293512935229353293542935529356293572935829359293602936129362293632936429365293662936729368293692937029371293722937329374293752937629377293782937929380293812938229383293842938529386293872938829389293902939129392293932939429395293962939729398293992940029401294022940329404294052940629407294082940929410294112941229413294142941529416294172941829419294202942129422294232942429425294262942729428294292943029431294322943329434294352943629437294382943929440294412944229443294442944529446294472944829449294502945129452294532945429455294562945729458294592946029461294622946329464294652946629467294682946929470294712947229473294742947529476294772947829479294802948129482294832948429485294862948729488294892949029491294922949329494294952949629497294982949929500295012950229503295042950529506295072950829509295102951129512295132951429515295162951729518295192952029521295222952329524295252952629527295282952929530295312953229533295342953529536295372953829539295402954129542295432954429545295462954729548295492955029551295522955329554295552955629557295582955929560295612956229563295642956529566295672956829569295702957129572295732957429575295762957729578295792958029581295822958329584295852958629587295882958929590295912959229593295942959529596295972959829599296002960129602296032960429605296062960729608296092961029611296122961329614296152961629617296182961929620296212962229623296242962529626296272962829629296302963129632296332963429635296362963729638296392964029641296422964329644296452964629647296482964929650296512965229653296542965529656296572965829659296602966129662296632966429665296662966729668296692967029671296722967329674296752967629677296782967929680296812968229683296842968529686296872968829689296902969129692296932969429695296962969729698296992970029701297022970329704297052970629707297082970929710297112971229713297142971529716297172971829719297202972129722297232972429725297262972729728297292973029731297322973329734297352973629737297382973929740297412974229743297442974529746297472974829749297502975129752297532975429755297562975729758297592976029761297622976329764297652976629767297682976929770297712977229773297742977529776297772977829779297802978129782297832978429785297862978729788297892979029791297922979329794297952979629797297982979929800298012980229803298042980529806298072980829809298102981129812298132981429815298162981729818298192982029821298222982329824298252982629827298282982929830298312983229833298342983529836298372983829839298402984129842298432984429845298462984729848298492985029851298522985329854298552985629857298582985929860298612986229863298642986529866298672986829869298702987129872298732987429875298762987729878298792988029881298822988329884298852988629887298882988929890298912989229893298942989529896298972989829899299002990129902299032990429905299062990729908299092991029911299122991329914299152991629917299182991929920299212992229923299242992529926299272992829929299302993129932299332993429935299362993729938299392994029941299422994329944299452994629947299482994929950299512995229953299542995529956299572995829959299602996129962299632996429965299662996729968299692997029971299722997329974299752997629977299782997929980299812998229983299842998529986299872998829989299902999129992299932999429995299962999729998299993000030001300023000330004300053000630007300083000930010300113001230013300143001530016300173001830019300203002130022300233002430025300263002730028300293003030031300323003330034300353003630037300383003930040300413004230043300443004530046300473004830049300503005130052300533005430055300563005730058300593006030061300623006330064300653006630067300683006930070300713007230073300743007530076300773007830079300803008130082300833008430085300863008730088300893009030091300923009330094300953009630097300983009930100301013010230103301043010530106301073010830109301103011130112301133011430115301163011730118301193012030121301223012330124301253012630127301283012930130301313013230133301343013530136301373013830139301403014130142301433014430145301463014730148301493015030151301523015330154301553015630157301583015930160301613016230163301643016530166301673016830169301703017130172301733017430175301763017730178301793018030181301823018330184301853018630187301883018930190301913019230193301943019530196301973019830199302003020130202302033020430205302063020730208302093021030211302123021330214302153021630217302183021930220302213022230223302243022530226302273022830229302303023130232302333023430235302363023730238302393024030241302423024330244302453024630247302483024930250302513025230253302543025530256302573025830259302603026130262302633026430265302663026730268302693027030271302723027330274302753027630277302783027930280302813028230283302843028530286302873028830289302903029130292302933029430295302963029730298302993030030301303023030330304303053030630307303083030930310303113031230313303143031530316303173031830319303203032130322303233032430325303263032730328303293033030331303323033330334303353033630337303383033930340303413034230343303443034530346303473034830349303503035130352303533035430355303563035730358303593036030361303623036330364303653036630367303683036930370303713037230373303743037530376303773037830379303803038130382303833038430385303863038730388303893039030391303923039330394303953039630397303983039930400304013040230403304043040530406304073040830409304103041130412304133041430415304163041730418304193042030421304223042330424304253042630427304283042930430304313043230433304343043530436304373043830439304403044130442304433044430445304463044730448304493045030451304523045330454304553045630457304583045930460304613046230463304643046530466304673046830469304703047130472304733047430475304763047730478304793048030481304823048330484304853048630487304883048930490304913049230493304943049530496304973049830499305003050130502305033050430505305063050730508305093051030511305123051330514305153051630517305183051930520305213052230523305243052530526305273052830529305303053130532305333053430535305363053730538305393054030541305423054330544305453054630547305483054930550305513055230553305543055530556305573055830559305603056130562305633056430565305663056730568305693057030571305723057330574305753057630577305783057930580305813058230583305843058530586305873058830589305903059130592305933059430595305963059730598305993060030601306023060330604306053060630607306083060930610306113061230613306143061530616306173061830619306203062130622306233062430625306263062730628306293063030631306323063330634306353063630637306383063930640306413064230643306443064530646306473064830649306503065130652306533065430655306563065730658306593066030661306623066330664306653066630667306683066930670306713067230673306743067530676306773067830679306803068130682306833068430685306863068730688306893069030691306923069330694306953069630697306983069930700307013070230703307043070530706307073070830709307103071130712307133071430715307163071730718307193072030721307223072330724307253072630727307283072930730307313073230733307343073530736307373073830739307403074130742307433074430745307463074730748307493075030751307523075330754307553075630757307583075930760307613076230763307643076530766307673076830769307703077130772307733077430775307763077730778307793078030781307823078330784307853078630787307883078930790307913079230793307943079530796307973079830799308003080130802308033080430805308063080730808308093081030811308123081330814308153081630817308183081930820308213082230823308243082530826308273082830829308303083130832308333083430835308363083730838308393084030841308423084330844308453084630847308483084930850308513085230853308543085530856308573085830859308603086130862308633086430865308663086730868308693087030871308723087330874308753087630877308783087930880308813088230883308843088530886308873088830889308903089130892308933089430895308963089730898308993090030901309023090330904309053090630907309083090930910309113091230913309143091530916309173091830919309203092130922309233092430925309263092730928309293093030931309323093330934309353093630937309383093930940309413094230943309443094530946309473094830949309503095130952309533095430955309563095730958309593096030961309623096330964309653096630967309683096930970309713097230973309743097530976309773097830979309803098130982309833098430985309863098730988309893099030991309923099330994309953099630997309983099931000310013100231003310043100531006310073100831009310103101131012310133101431015310163101731018310193102031021310223102331024310253102631027310283102931030310313103231033310343103531036310373103831039310403104131042310433104431045310463104731048310493105031051310523105331054310553105631057310583105931060310613106231063310643106531066310673106831069310703107131072310733107431075310763107731078310793108031081310823108331084310853108631087310883108931090310913109231093310943109531096310973109831099311003110131102311033110431105311063110731108311093111031111311123111331114311153111631117311183111931120311213112231123311243112531126311273112831129311303113131132311333113431135311363113731138311393114031141311423114331144311453114631147311483114931150311513115231153311543115531156311573115831159311603116131162311633116431165311663116731168311693117031171311723117331174311753117631177311783117931180311813118231183311843118531186311873118831189311903119131192311933119431195311963119731198311993120031201312023120331204312053120631207312083120931210312113121231213312143121531216312173121831219312203122131222312233122431225312263122731228312293123031231312323123331234312353123631237312383123931240312413124231243312443124531246312473124831249312503125131252312533125431255312563125731258312593126031261312623126331264312653126631267312683126931270312713127231273312743127531276312773127831279312803128131282312833128431285312863128731288312893129031291312923129331294312953129631297312983129931300313013130231303313043130531306313073130831309313103131131312313133131431315313163131731318313193132031321313223132331324313253132631327313283132931330313313133231333313343133531336313373133831339313403134131342313433134431345313463134731348313493135031351313523135331354313553135631357313583135931360313613136231363313643136531366313673136831369313703137131372313733137431375313763137731378313793138031381313823138331384313853138631387313883138931390313913139231393313943139531396313973139831399314003140131402314033140431405314063140731408314093141031411314123141331414314153141631417314183141931420314213142231423314243142531426314273142831429314303143131432314333143431435314363143731438314393144031441314423144331444314453144631447314483144931450314513145231453314543145531456314573145831459314603146131462314633146431465314663146731468314693147031471314723147331474314753147631477314783147931480314813148231483314843148531486314873148831489314903149131492314933149431495314963149731498314993150031501315023150331504315053150631507315083150931510315113151231513315143151531516315173151831519315203152131522315233152431525315263152731528315293153031531315323153331534315353153631537315383153931540315413154231543315443154531546315473154831549315503155131552315533155431555315563155731558315593156031561315623156331564315653156631567315683156931570315713157231573315743157531576315773157831579315803158131582315833158431585315863158731588315893159031591315923159331594315953159631597315983159931600316013160231603316043160531606316073160831609316103161131612316133161431615316163161731618316193162031621316223162331624316253162631627316283162931630316313163231633316343163531636316373163831639316403164131642316433164431645316463164731648316493165031651316523165331654316553165631657316583165931660316613166231663316643166531666316673166831669316703167131672316733167431675316763167731678316793168031681316823168331684316853168631687316883168931690316913169231693316943169531696316973169831699317003170131702317033170431705317063170731708317093171031711317123171331714317153171631717317183171931720317213172231723317243172531726317273172831729317303173131732317333173431735317363173731738317393174031741317423174331744317453174631747317483174931750317513175231753317543175531756317573175831759317603176131762317633176431765317663176731768317693177031771317723177331774317753177631777317783177931780317813178231783317843178531786317873178831789317903179131792317933179431795317963179731798317993180031801318023180331804318053180631807318083180931810318113181231813318143181531816318173181831819318203182131822318233182431825318263182731828318293183031831318323183331834318353183631837318383183931840318413184231843318443184531846318473184831849318503185131852318533185431855318563185731858318593186031861318623186331864318653186631867318683186931870318713187231873318743187531876318773187831879318803188131882318833188431885318863188731888318893189031891318923189331894318953189631897318983189931900319013190231903319043190531906319073190831909319103191131912319133191431915319163191731918319193192031921319223192331924319253192631927319283192931930319313193231933319343193531936319373193831939319403194131942319433194431945319463194731948319493195031951319523195331954319553195631957319583195931960319613196231963319643196531966319673196831969319703197131972319733197431975319763197731978319793198031981319823198331984319853198631987319883198931990319913199231993319943199531996319973199831999320003200132002320033200432005320063200732008320093201032011320123201332014320153201632017320183201932020320213202232023320243202532026320273202832029320303203132032320333203432035320363203732038320393204032041320423204332044320453204632047320483204932050320513205232053320543205532056320573205832059320603206132062320633206432065320663206732068320693207032071320723207332074320753207632077320783207932080320813208232083320843208532086320873208832089320903209132092320933209432095320963209732098320993210032101321023210332104321053210632107321083210932110321113211232113321143211532116321173211832119321203212132122321233212432125321263212732128321293213032131321323213332134321353213632137321383213932140321413214232143321443214532146321473214832149321503215132152321533215432155321563215732158321593216032161321623216332164321653216632167321683216932170321713217232173321743217532176321773217832179321803218132182321833218432185321863218732188321893219032191321923219332194321953219632197321983219932200322013220232203322043220532206322073220832209322103221132212322133221432215322163221732218322193222032221322223222332224322253222632227322283222932230322313223232233322343223532236322373223832239322403224132242322433224432245322463224732248322493225032251322523225332254322553225632257322583225932260322613226232263322643226532266322673226832269322703227132272322733227432275322763227732278322793228032281322823228332284322853228632287322883228932290322913229232293322943229532296322973229832299323003230132302323033230432305323063230732308323093231032311323123231332314323153231632317323183231932320323213232232323323243232532326323273232832329323303233132332323333233432335323363233732338323393234032341323423234332344323453234632347323483234932350323513235232353323543235532356323573235832359323603236132362323633236432365323663236732368323693237032371323723237332374323753237632377323783237932380323813238232383323843238532386323873238832389323903239132392323933239432395323963239732398323993240032401324023240332404324053240632407324083240932410324113241232413324143241532416324173241832419324203242132422324233242432425324263242732428324293243032431324323243332434324353243632437324383243932440324413244232443324443244532446324473244832449324503245132452324533245432455324563245732458324593246032461324623246332464324653246632467324683246932470324713247232473324743247532476324773247832479324803248132482324833248432485324863248732488324893249032491324923249332494324953249632497324983249932500325013250232503325043250532506325073250832509325103251132512325133251432515325163251732518325193252032521325223252332524325253252632527325283252932530325313253232533325343253532536325373253832539325403254132542325433254432545325463254732548325493255032551325523255332554325553255632557325583255932560325613256232563325643256532566325673256832569325703257132572325733257432575325763257732578325793258032581325823258332584325853258632587325883258932590325913259232593325943259532596325973259832599326003260132602326033260432605326063260732608326093261032611326123261332614326153261632617326183261932620326213262232623326243262532626326273262832629326303263132632326333263432635326363263732638326393264032641326423264332644326453264632647326483264932650326513265232653326543265532656326573265832659326603266132662326633266432665326663266732668326693267032671326723267332674326753267632677326783267932680326813268232683326843268532686326873268832689326903269132692326933269432695326963269732698326993270032701327023270332704327053270632707327083270932710327113271232713327143271532716327173271832719327203272132722327233272432725327263272732728327293273032731327323273332734327353273632737327383273932740327413274232743327443274532746327473274832749327503275132752327533275432755327563275732758327593276032761327623276332764327653276632767327683276932770327713277232773327743277532776327773277832779327803278132782327833278432785327863278732788327893279032791327923279332794327953279632797327983279932800328013280232803328043280532806328073280832809328103281132812328133281432815328163281732818328193282032821328223282332824328253282632827328283282932830328313283232833328343283532836328373283832839328403284132842328433284432845328463284732848328493285032851328523285332854328553285632857328583285932860328613286232863328643286532866328673286832869328703287132872328733287432875328763287732878328793288032881328823288332884328853288632887328883288932890328913289232893328943289532896328973289832899329003290132902329033290432905329063290732908329093291032911329123291332914329153291632917329183291932920329213292232923329243292532926329273292832929329303293132932329333293432935329363293732938329393294032941329423294332944329453294632947329483294932950329513295232953329543295532956329573295832959329603296132962329633296432965329663296732968329693297032971329723297332974329753297632977329783297932980329813298232983329843298532986329873298832989329903299132992329933299432995329963299732998329993300033001330023300333004330053300633007330083300933010330113301233013330143301533016330173301833019330203302133022330233302433025330263302733028330293303033031330323303333034330353303633037330383303933040330413304233043330443304533046330473304833049330503305133052330533305433055330563305733058330593306033061330623306333064330653306633067330683306933070330713307233073330743307533076330773307833079330803308133082330833308433085330863308733088330893309033091330923309333094330953309633097330983309933100331013310233103331043310533106331073310833109331103311133112331133311433115331163311733118331193312033121331223312333124331253312633127331283312933130331313313233133331343313533136331373313833139331403314133142331433314433145331463314733148331493315033151331523315333154331553315633157331583315933160331613316233163331643316533166331673316833169331703317133172331733317433175331763317733178331793318033181331823318333184331853318633187331883318933190331913319233193331943319533196331973319833199332003320133202332033320433205332063320733208332093321033211332123321333214332153321633217332183321933220332213322233223332243322533226332273322833229332303323133232332333323433235332363323733238332393324033241332423324333244332453324633247332483324933250332513325233253332543325533256332573325833259332603326133262332633326433265332663326733268332693327033271332723327333274332753327633277332783327933280332813328233283332843328533286332873328833289332903329133292332933329433295332963329733298332993330033301333023330333304333053330633307333083330933310333113331233313333143331533316333173331833319333203332133322333233332433325333263332733328333293333033331333323333333334333353333633337333383333933340333413334233343333443334533346333473334833349333503335133352333533335433355333563335733358333593336033361333623336333364333653336633367333683336933370333713337233373333743337533376333773337833379333803338133382333833338433385333863338733388333893339033391333923339333394333953339633397333983339933400334013340233403334043340533406334073340833409334103341133412334133341433415334163341733418334193342033421334223342333424334253342633427334283342933430334313343233433334343343533436334373343833439334403344133442334433344433445334463344733448334493345033451334523345333454334553345633457334583345933460334613346233463334643346533466334673346833469334703347133472334733347433475334763347733478334793348033481334823348333484334853348633487334883348933490334913349233493334943349533496334973349833499335003350133502335033350433505335063350733508335093351033511335123351333514335153351633517335183351933520335213352233523335243352533526335273352833529335303353133532335333353433535335363353733538335393354033541335423354333544335453354633547335483354933550335513355233553335543355533556335573355833559335603356133562335633356433565335663356733568335693357033571335723357333574335753357633577335783357933580335813358233583335843358533586335873358833589335903359133592335933359433595335963359733598335993360033601336023360333604336053360633607336083360933610336113361233613336143361533616336173361833619336203362133622336233362433625336263362733628336293363033631336323363333634336353363633637336383363933640336413364233643336443364533646336473364833649336503365133652336533365433655336563365733658336593366033661336623366333664336653366633667336683366933670336713367233673336743367533676336773367833679336803368133682336833368433685336863368733688336893369033691336923369333694336953369633697336983369933700337013370233703337043370533706337073370833709337103371133712337133371433715337163371733718337193372033721337223372333724337253372633727337283372933730337313373233733337343373533736337373373833739337403374133742337433374433745337463374733748337493375033751337523375333754337553375633757337583375933760337613376233763337643376533766337673376833769337703377133772337733377433775337763377733778337793378033781337823378333784337853378633787337883378933790337913379233793337943379533796337973379833799338003380133802338033380433805338063380733808338093381033811338123381333814338153381633817338183381933820338213382233823338243382533826338273382833829338303383133832338333383433835338363383733838338393384033841338423384333844338453384633847338483384933850338513385233853338543385533856338573385833859338603386133862338633386433865338663386733868338693387033871338723387333874338753387633877338783387933880338813388233883338843388533886338873388833889338903389133892338933389433895338963389733898338993390033901339023390333904339053390633907339083390933910339113391233913339143391533916339173391833919339203392133922339233392433925339263392733928339293393033931339323393333934339353393633937339383393933940339413394233943339443394533946339473394833949339503395133952339533395433955339563395733958339593396033961339623396333964339653396633967339683396933970339713397233973339743397533976339773397833979339803398133982339833398433985339863398733988339893399033991339923399333994339953399633997339983399934000340013400234003340043400534006340073400834009340103401134012340133401434015340163401734018340193402034021340223402334024340253402634027340283402934030340313403234033340343403534036340373403834039340403404134042340433404434045340463404734048340493405034051340523405334054340553405634057340583405934060340613406234063340643406534066340673406834069340703407134072340733407434075340763407734078340793408034081340823408334084340853408634087340883408934090340913409234093340943409534096340973409834099341003410134102341033410434105341063410734108341093411034111341123411334114341153411634117341183411934120341213412234123341243412534126341273412834129341303413134132341333413434135341363413734138341393414034141341423414334144341453414634147341483414934150341513415234153341543415534156341573415834159341603416134162341633416434165341663416734168341693417034171341723417334174341753417634177341783417934180341813418234183341843418534186341873418834189341903419134192341933419434195341963419734198341993420034201342023420334204342053420634207342083420934210342113421234213342143421534216342173421834219342203422134222342233422434225342263422734228342293423034231342323423334234342353423634237342383423934240342413424234243342443424534246342473424834249342503425134252342533425434255342563425734258342593426034261342623426334264342653426634267342683426934270342713427234273342743427534276342773427834279342803428134282342833428434285342863428734288342893429034291342923429334294342953429634297342983429934300343013430234303343043430534306343073430834309343103431134312343133431434315343163431734318343193432034321343223432334324343253432634327343283432934330343313433234333343343433534336343373433834339343403434134342343433434434345343463434734348343493435034351343523435334354343553435634357343583435934360343613436234363343643436534366343673436834369343703437134372343733437434375343763437734378343793438034381343823438334384343853438634387343883438934390343913439234393343943439534396343973439834399344003440134402344033440434405344063440734408344093441034411344123441334414344153441634417344183441934420344213442234423344243442534426344273442834429344303443134432344333443434435344363443734438344393444034441344423444334444344453444634447344483444934450344513445234453344543445534456344573445834459344603446134462344633446434465344663446734468344693447034471344723447334474344753447634477344783447934480344813448234483344843448534486344873448834489344903449134492344933449434495344963449734498344993450034501345023450334504345053450634507345083450934510345113451234513345143451534516345173451834519345203452134522345233452434525345263452734528345293453034531345323453334534345353453634537345383453934540345413454234543345443454534546345473454834549345503455134552345533455434555345563455734558345593456034561345623456334564345653456634567345683456934570345713457234573345743457534576345773457834579345803458134582345833458434585345863458734588345893459034591345923459334594345953459634597345983459934600346013460234603346043460534606346073460834609346103461134612346133461434615346163461734618346193462034621346223462334624346253462634627346283462934630346313463234633346343463534636346373463834639346403464134642346433464434645346463464734648346493465034651346523465334654346553465634657346583465934660346613466234663346643466534666346673466834669346703467134672346733467434675346763467734678346793468034681346823468334684346853468634687346883468934690346913469234693346943469534696346973469834699347003470134702347033470434705347063470734708347093471034711347123471334714347153471634717347183471934720347213472234723347243472534726347273472834729347303473134732347333473434735347363473734738347393474034741347423474334744347453474634747347483474934750347513475234753347543475534756347573475834759347603476134762347633476434765347663476734768347693477034771347723477334774347753477634777347783477934780347813478234783347843478534786347873478834789347903479134792347933479434795347963479734798347993480034801348023480334804348053480634807348083480934810348113481234813348143481534816348173481834819348203482134822348233482434825348263482734828348293483034831348323483334834348353483634837348383483934840348413484234843348443484534846348473484834849348503485134852348533485434855348563485734858348593486034861348623486334864348653486634867348683486934870348713487234873348743487534876348773487834879348803488134882348833488434885348863488734888348893489034891348923489334894348953489634897348983489934900349013490234903349043490534906349073490834909349103491134912349133491434915349163491734918349193492034921349223492334924349253492634927349283492934930349313493234933349343493534936349373493834939349403494134942349433494434945349463494734948349493495034951349523495334954349553495634957349583495934960349613496234963349643496534966349673496834969349703497134972349733497434975349763497734978349793498034981349823498334984349853498634987349883498934990349913499234993349943499534996349973499834999350003500135002350033500435005350063500735008350093501035011350123501335014350153501635017350183501935020350213502235023350243502535026350273502835029350303503135032350333503435035350363503735038350393504035041350423504335044350453504635047350483504935050350513505235053350543505535056350573505835059350603506135062350633506435065350663506735068350693507035071350723507335074350753507635077350783507935080350813508235083350843508535086350873508835089350903509135092350933509435095350963509735098350993510035101351023510335104351053510635107351083510935110351113511235113351143511535116351173511835119351203512135122351233512435125351263512735128351293513035131351323513335134351353513635137351383513935140351413514235143351443514535146351473514835149351503515135152351533515435155351563515735158351593516035161351623516335164351653516635167351683516935170351713517235173351743517535176351773517835179351803518135182351833518435185351863518735188351893519035191351923519335194351953519635197351983519935200352013520235203352043520535206352073520835209352103521135212352133521435215352163521735218352193522035221352223522335224352253522635227352283522935230352313523235233352343523535236352373523835239352403524135242352433524435245352463524735248352493525035251352523525335254352553525635257352583525935260352613526235263352643526535266352673526835269352703527135272352733527435275352763527735278352793528035281352823528335284352853528635287352883528935290352913529235293352943529535296352973529835299353003530135302353033530435305353063530735308353093531035311353123531335314353153531635317353183531935320353213532235323353243532535326353273532835329353303533135332353333533435335353363533735338353393534035341353423534335344353453534635347353483534935350353513535235353353543535535356353573535835359353603536135362353633536435365353663536735368353693537035371353723537335374353753537635377353783537935380353813538235383353843538535386353873538835389353903539135392353933539435395353963539735398353993540035401354023540335404354053540635407354083540935410354113541235413354143541535416354173541835419354203542135422354233542435425354263542735428354293543035431354323543335434354353543635437354383543935440354413544235443354443544535446354473544835449354503545135452354533545435455354563545735458354593546035461354623546335464354653546635467354683546935470354713547235473354743547535476354773547835479354803548135482354833548435485354863548735488354893549035491354923549335494354953549635497354983549935500355013550235503355043550535506355073550835509355103551135512355133551435515355163551735518355193552035521355223552335524355253552635527355283552935530355313553235533355343553535536355373553835539355403554135542355433554435545355463554735548355493555035551355523555335554355553555635557355583555935560355613556235563355643556535566355673556835569355703557135572355733557435575355763557735578355793558035581355823558335584355853558635587355883558935590355913559235593355943559535596355973559835599356003560135602356033560435605356063560735608356093561035611356123561335614356153561635617356183561935620356213562235623356243562535626356273562835629356303563135632356333563435635356363563735638356393564035641356423564335644356453564635647356483564935650356513565235653356543565535656356573565835659356603566135662356633566435665356663566735668356693567035671356723567335674356753567635677356783567935680356813568235683356843568535686356873568835689356903569135692356933569435695356963569735698356993570035701357023570335704357053570635707357083570935710357113571235713357143571535716357173571835719357203572135722357233572435725357263572735728357293573035731357323573335734357353573635737357383573935740357413574235743357443574535746357473574835749357503575135752357533575435755357563575735758357593576035761357623576335764357653576635767357683576935770357713577235773357743577535776357773577835779357803578135782357833578435785357863578735788357893579035791357923579335794357953579635797357983579935800358013580235803358043580535806358073580835809358103581135812358133581435815358163581735818358193582035821358223582335824358253582635827358283582935830358313583235833358343583535836358373583835839358403584135842358433584435845358463584735848358493585035851358523585335854358553585635857358583585935860358613586235863358643586535866358673586835869358703587135872358733587435875358763587735878358793588035881358823588335884358853588635887358883588935890358913589235893358943589535896358973589835899359003590135902359033590435905359063590735908359093591035911359123591335914359153591635917359183591935920359213592235923359243592535926359273592835929359303593135932359333593435935359363593735938359393594035941359423594335944359453594635947359483594935950359513595235953359543595535956359573595835959359603596135962359633596435965359663596735968359693597035971359723597335974359753597635977359783597935980359813598235983359843598535986359873598835989359903599135992359933599435995359963599735998359993600036001360023600336004360053600636007360083600936010360113601236013360143601536016360173601836019360203602136022360233602436025360263602736028360293603036031360323603336034360353603636037360383603936040360413604236043360443604536046360473604836049360503605136052360533605436055360563605736058360593606036061360623606336064360653606636067360683606936070360713607236073360743607536076360773607836079360803608136082360833608436085360863608736088360893609036091360923609336094360953609636097360983609936100361013610236103361043610536106361073610836109361103611136112361133611436115361163611736118361193612036121361223612336124361253612636127361283612936130361313613236133361343613536136361373613836139361403614136142361433614436145361463614736148361493615036151361523615336154361553615636157361583615936160361613616236163361643616536166361673616836169361703617136172361733617436175361763617736178361793618036181361823618336184361853618636187361883618936190361913619236193361943619536196361973619836199362003620136202362033620436205362063620736208362093621036211362123621336214362153621636217362183621936220362213622236223362243622536226362273622836229362303623136232362333623436235362363623736238362393624036241362423624336244362453624636247362483624936250362513625236253362543625536256362573625836259362603626136262362633626436265362663626736268362693627036271362723627336274362753627636277362783627936280362813628236283362843628536286362873628836289362903629136292362933629436295362963629736298362993630036301363023630336304363053630636307363083630936310363113631236313363143631536316363173631836319363203632136322363233632436325363263632736328363293633036331363323633336334363353633636337363383633936340363413634236343363443634536346363473634836349363503635136352363533635436355363563635736358363593636036361363623636336364363653636636367363683636936370363713637236373363743637536376363773637836379363803638136382363833638436385363863638736388363893639036391363923639336394363953639636397363983639936400364013640236403364043640536406364073640836409364103641136412364133641436415364163641736418364193642036421364223642336424364253642636427364283642936430364313643236433364343643536436364373643836439364403644136442364433644436445364463644736448364493645036451364523645336454364553645636457364583645936460364613646236463364643646536466364673646836469364703647136472364733647436475364763647736478364793648036481364823648336484364853648636487364883648936490364913649236493364943649536496364973649836499365003650136502365033650436505365063650736508365093651036511365123651336514365153651636517365183651936520365213652236523365243652536526365273652836529365303653136532365333653436535365363653736538365393654036541365423654336544365453654636547365483654936550365513655236553365543655536556365573655836559365603656136562365633656436565365663656736568365693657036571365723657336574365753657636577365783657936580365813658236583365843658536586365873658836589365903659136592365933659436595365963659736598365993660036601366023660336604366053660636607366083660936610366113661236613366143661536616366173661836619366203662136622366233662436625366263662736628366293663036631366323663336634366353663636637366383663936640366413664236643366443664536646366473664836649366503665136652366533665436655366563665736658366593666036661366623666336664366653666636667366683666936670366713667236673366743667536676366773667836679366803668136682366833668436685366863668736688366893669036691366923669336694366953669636697366983669936700367013670236703367043670536706367073670836709367103671136712367133671436715367163671736718367193672036721367223672336724367253672636727367283672936730367313673236733367343673536736367373673836739367403674136742367433674436745367463674736748367493675036751367523675336754367553675636757367583675936760367613676236763367643676536766367673676836769367703677136772367733677436775367763677736778367793678036781367823678336784367853678636787367883678936790367913679236793367943679536796367973679836799368003680136802368033680436805368063680736808368093681036811368123681336814368153681636817368183681936820368213682236823368243682536826368273682836829368303683136832368333683436835368363683736838368393684036841368423684336844368453684636847368483684936850368513685236853368543685536856368573685836859368603686136862368633686436865368663686736868368693687036871368723687336874368753687636877368783687936880368813688236883368843688536886368873688836889368903689136892368933689436895368963689736898368993690036901369023690336904369053690636907369083690936910369113691236913369143691536916369173691836919369203692136922369233692436925369263692736928369293693036931369323693336934369353693636937369383693936940369413694236943369443694536946369473694836949369503695136952369533695436955369563695736958369593696036961369623696336964369653696636967369683696936970369713697236973369743697536976369773697836979369803698136982369833698436985369863698736988369893699036991369923699336994369953699636997369983699937000370013700237003370043700537006370073700837009370103701137012370133701437015370163701737018370193702037021370223702337024370253702637027370283702937030370313703237033370343703537036370373703837039370403704137042370433704437045370463704737048370493705037051370523705337054370553705637057370583705937060370613706237063370643706537066370673706837069370703707137072370733707437075370763707737078370793708037081370823708337084370853708637087370883708937090370913709237093370943709537096370973709837099371003710137102371033710437105371063710737108371093711037111371123711337114371153711637117371183711937120371213712237123371243712537126371273712837129371303713137132371333713437135371363713737138371393714037141371423714337144371453714637147371483714937150371513715237153371543715537156371573715837159371603716137162371633716437165371663716737168371693717037171371723717337174371753717637177371783717937180371813718237183371843718537186371873718837189371903719137192371933719437195371963719737198371993720037201372023720337204372053720637207372083720937210372113721237213372143721537216372173721837219372203722137222372233722437225372263722737228372293723037231372323723337234372353723637237372383723937240372413724237243372443724537246372473724837249372503725137252372533725437255372563725737258372593726037261372623726337264372653726637267372683726937270372713727237273372743727537276372773727837279372803728137282372833728437285372863728737288372893729037291372923729337294372953729637297372983729937300373013730237303373043730537306373073730837309373103731137312373133731437315373163731737318373193732037321373223732337324373253732637327373283732937330373313733237333373343733537336373373733837339373403734137342373433734437345373463734737348373493735037351373523735337354373553735637357373583735937360373613736237363373643736537366373673736837369373703737137372373733737437375373763737737378373793738037381373823738337384373853738637387373883738937390373913739237393373943739537396373973739837399374003740137402374033740437405374063740737408374093741037411374123741337414374153741637417374183741937420374213742237423374243742537426374273742837429374303743137432374333743437435374363743737438374393744037441374423744337444374453744637447374483744937450374513745237453374543745537456374573745837459374603746137462374633746437465374663746737468374693747037471374723747337474374753747637477374783747937480374813748237483374843748537486374873748837489374903749137492374933749437495374963749737498374993750037501375023750337504375053750637507375083750937510375113751237513375143751537516375173751837519375203752137522375233752437525375263752737528375293753037531375323753337534375353753637537375383753937540375413754237543375443754537546375473754837549375503755137552375533755437555375563755737558375593756037561375623756337564375653756637567375683756937570375713757237573375743757537576375773757837579375803758137582375833758437585375863758737588375893759037591375923759337594375953759637597375983759937600376013760237603376043760537606376073760837609376103761137612376133761437615376163761737618376193762037621376223762337624376253762637627376283762937630376313763237633376343763537636376373763837639376403764137642376433764437645376463764737648376493765037651376523765337654376553765637657376583765937660376613766237663376643766537666376673766837669376703767137672376733767437675376763767737678376793768037681376823768337684376853768637687376883768937690376913769237693376943769537696376973769837699377003770137702377033770437705377063770737708377093771037711377123771337714377153771637717377183771937720377213772237723377243772537726377273772837729377303773137732377333773437735377363773737738377393774037741377423774337744377453774637747377483774937750377513775237753377543775537756377573775837759377603776137762377633776437765377663776737768377693777037771377723777337774377753777637777377783777937780377813778237783377843778537786377873778837789377903779137792377933779437795377963779737798377993780037801378023780337804378053780637807378083780937810378113781237813378143781537816378173781837819378203782137822378233782437825378263782737828378293783037831378323783337834378353783637837378383783937840378413784237843378443784537846378473784837849378503785137852378533785437855378563785737858378593786037861378623786337864378653786637867378683786937870378713787237873378743787537876378773787837879378803788137882378833788437885378863788737888378893789037891378923789337894378953789637897378983789937900379013790237903379043790537906379073790837909379103791137912379133791437915379163791737918379193792037921379223792337924379253792637927379283792937930379313793237933379343793537936379373793837939379403794137942379433794437945379463794737948379493795037951379523795337954379553795637957379583795937960379613796237963379643796537966379673796837969379703797137972379733797437975379763797737978379793798037981379823798337984379853798637987379883798937990379913799237993379943799537996379973799837999380003800138002380033800438005380063800738008380093801038011380123801338014380153801638017380183801938020380213802238023380243802538026380273802838029380303803138032380333803438035380363803738038380393804038041380423804338044380453804638047380483804938050380513805238053380543805538056380573805838059380603806138062380633806438065380663806738068380693807038071380723807338074380753807638077380783807938080380813808238083380843808538086380873808838089380903809138092380933809438095380963809738098380993810038101381023810338104381053810638107381083810938110381113811238113381143811538116381173811838119381203812138122381233812438125381263812738128381293813038131381323813338134381353813638137381383813938140381413814238143381443814538146381473814838149381503815138152381533815438155381563815738158381593816038161381623816338164381653816638167381683816938170381713817238173381743817538176381773817838179381803818138182381833818438185381863818738188381893819038191381923819338194381953819638197381983819938200382013820238203382043820538206382073820838209382103821138212382133821438215382163821738218382193822038221382223822338224382253822638227382283822938230382313823238233382343823538236382373823838239382403824138242382433824438245382463824738248382493825038251382523825338254382553825638257382583825938260382613826238263382643826538266382673826838269382703827138272382733827438275382763827738278382793828038281382823828338284382853828638287382883828938290382913829238293382943829538296382973829838299383003830138302383033830438305383063830738308383093831038311383123831338314383153831638317383183831938320383213832238323383243832538326383273832838329383303833138332383333833438335383363833738338383393834038341383423834338344383453834638347383483834938350383513835238353383543835538356383573835838359383603836138362383633836438365383663836738368383693837038371383723837338374383753837638377383783837938380383813838238383383843838538386383873838838389383903839138392383933839438395383963839738398383993840038401384023840338404384053840638407384083840938410384113841238413384143841538416384173841838419384203842138422384233842438425384263842738428384293843038431384323843338434384353843638437384383843938440384413844238443384443844538446384473844838449384503845138452384533845438455384563845738458384593846038461384623846338464384653846638467384683846938470384713847238473384743847538476384773847838479384803848138482384833848438485384863848738488384893849038491384923849338494384953849638497384983849938500385013850238503385043850538506385073850838509385103851138512385133851438515385163851738518385193852038521385223852338524385253852638527385283852938530385313853238533385343853538536385373853838539385403854138542385433854438545385463854738548385493855038551385523855338554385553855638557385583855938560385613856238563385643856538566385673856838569385703857138572385733857438575385763857738578385793858038581385823858338584385853858638587385883858938590385913859238593385943859538596385973859838599386003860138602386033860438605386063860738608386093861038611386123861338614386153861638617386183861938620386213862238623386243862538626386273862838629386303863138632386333863438635386363863738638386393864038641386423864338644386453864638647386483864938650386513865238653386543865538656386573865838659386603866138662386633866438665386663866738668386693867038671386723867338674386753867638677386783867938680386813868238683386843868538686386873868838689386903869138692386933869438695386963869738698386993870038701387023870338704387053870638707387083870938710387113871238713387143871538716387173871838719387203872138722387233872438725387263872738728387293873038731387323873338734387353873638737387383873938740387413874238743387443874538746387473874838749387503875138752387533875438755387563875738758387593876038761387623876338764387653876638767387683876938770387713877238773387743877538776387773877838779387803878138782387833878438785387863878738788387893879038791387923879338794387953879638797387983879938800388013880238803388043880538806388073880838809388103881138812388133881438815388163881738818388193882038821388223882338824388253882638827388283882938830388313883238833388343883538836388373883838839388403884138842388433884438845388463884738848388493885038851388523885338854388553885638857388583885938860388613886238863388643886538866388673886838869388703887138872388733887438875388763887738878388793888038881388823888338884388853888638887388883888938890388913889238893388943889538896388973889838899389003890138902389033890438905389063890738908389093891038911389123891338914389153891638917389183891938920389213892238923389243892538926389273892838929389303893138932389333893438935389363893738938389393894038941389423894338944389453894638947389483894938950389513895238953389543895538956389573895838959389603896138962389633896438965389663896738968389693897038971389723897338974389753897638977389783897938980389813898238983389843898538986389873898838989389903899138992389933899438995389963899738998389993900039001390023900339004390053900639007390083900939010390113901239013390143901539016390173901839019390203902139022390233902439025390263902739028390293903039031390323903339034390353903639037390383903939040390413904239043390443904539046390473904839049390503905139052390533905439055390563905739058390593906039061390623906339064390653906639067390683906939070390713907239073390743907539076390773907839079390803908139082390833908439085390863908739088390893909039091390923909339094390953909639097390983909939100391013910239103391043910539106391073910839109391103911139112391133911439115391163911739118391193912039121391223912339124391253912639127391283912939130391313913239133391343913539136391373913839139391403914139142391433914439145391463914739148391493915039151391523915339154391553915639157391583915939160391613916239163391643916539166391673916839169391703917139172391733917439175391763917739178391793918039181391823918339184391853918639187391883918939190391913919239193391943919539196391973919839199392003920139202392033920439205392063920739208392093921039211392123921339214392153921639217392183921939220392213922239223392243922539226392273922839229392303923139232392333923439235392363923739238392393924039241392423924339244392453924639247392483924939250392513925239253392543925539256392573925839259392603926139262392633926439265392663926739268392693927039271392723927339274392753927639277392783927939280392813928239283392843928539286392873928839289392903929139292392933929439295392963929739298392993930039301393023930339304393053930639307393083930939310393113931239313393143931539316393173931839319393203932139322393233932439325393263932739328393293933039331393323933339334393353933639337393383933939340393413934239343393443934539346393473934839349393503935139352393533935439355393563935739358393593936039361393623936339364393653936639367393683936939370393713937239373393743937539376393773937839379393803938139382393833938439385393863938739388393893939039391393923939339394393953939639397393983939939400394013940239403394043940539406394073940839409394103941139412394133941439415394163941739418394193942039421394223942339424394253942639427394283942939430394313943239433394343943539436394373943839439394403944139442394433944439445394463944739448394493945039451394523945339454394553945639457394583945939460394613946239463394643946539466394673946839469394703947139472394733947439475394763947739478394793948039481394823948339484394853948639487394883948939490394913949239493394943949539496394973949839499395003950139502395033950439505395063950739508395093951039511395123951339514395153951639517395183951939520395213952239523395243952539526395273952839529395303953139532395333953439535395363953739538395393954039541395423954339544395453954639547395483954939550395513955239553395543955539556395573955839559395603956139562395633956439565395663956739568395693957039571395723957339574395753957639577395783957939580395813958239583395843958539586395873958839589395903959139592395933959439595395963959739598395993960039601396023960339604396053960639607396083960939610396113961239613396143961539616396173961839619396203962139622396233962439625396263962739628396293963039631396323963339634396353963639637396383963939640396413964239643396443964539646396473964839649396503965139652396533965439655396563965739658396593966039661396623966339664396653966639667396683966939670396713967239673396743967539676396773967839679396803968139682396833968439685396863968739688396893969039691396923969339694396953969639697396983969939700397013970239703397043970539706397073970839709397103971139712397133971439715397163971739718397193972039721397223972339724397253972639727397283972939730397313973239733397343973539736397373973839739397403974139742397433974439745397463974739748397493975039751397523975339754397553975639757397583975939760397613976239763397643976539766397673976839769397703977139772397733977439775397763977739778397793978039781397823978339784397853978639787397883978939790397913979239793397943979539796397973979839799398003980139802398033980439805398063980739808398093981039811398123981339814398153981639817398183981939820398213982239823398243982539826398273982839829398303983139832398333983439835398363983739838398393984039841398423984339844398453984639847398483984939850398513985239853398543985539856398573985839859398603986139862398633986439865398663986739868398693987039871398723987339874398753987639877398783987939880398813988239883398843988539886398873988839889398903989139892398933989439895398963989739898398993990039901399023990339904399053990639907399083990939910399113991239913399143991539916399173991839919399203992139922399233992439925399263992739928399293993039931399323993339934399353993639937399383993939940399413994239943399443994539946399473994839949399503995139952399533995439955399563995739958399593996039961399623996339964399653996639967399683996939970399713997239973399743997539976399773997839979399803998139982399833998439985399863998739988399893999039991399923999339994399953999639997399983999940000400014000240003400044000540006400074000840009400104001140012400134001440015400164001740018400194002040021400224002340024400254002640027400284002940030400314003240033400344003540036400374003840039400404004140042400434004440045400464004740048400494005040051400524005340054400554005640057400584005940060400614006240063400644006540066400674006840069400704007140072400734007440075400764007740078400794008040081400824008340084400854008640087400884008940090400914009240093400944009540096400974009840099401004010140102401034010440105401064010740108401094011040111401124011340114401154011640117401184011940120401214012240123401244012540126401274012840129401304013140132401334013440135401364013740138401394014040141401424014340144401454014640147401484014940150401514015240153401544015540156401574015840159401604016140162401634016440165401664016740168401694017040171401724017340174401754017640177401784017940180401814018240183401844018540186401874018840189401904019140192401934019440195401964019740198401994020040201402024020340204402054020640207402084020940210402114021240213402144021540216402174021840219402204022140222402234022440225402264022740228402294023040231402324023340234402354023640237402384023940240402414024240243402444024540246402474024840249402504025140252402534025440255402564025740258402594026040261402624026340264402654026640267402684026940270402714027240273402744027540276402774027840279402804028140282402834028440285402864028740288402894029040291402924029340294402954029640297402984029940300403014030240303403044030540306403074030840309403104031140312403134031440315403164031740318403194032040321403224032340324403254032640327403284032940330403314033240333403344033540336403374033840339403404034140342403434034440345403464034740348403494035040351403524035340354403554035640357403584035940360403614036240363403644036540366403674036840369403704037140372403734037440375403764037740378403794038040381403824038340384403854038640387403884038940390403914039240393403944039540396403974039840399404004040140402404034040440405404064040740408404094041040411404124041340414404154041640417404184041940420404214042240423404244042540426404274042840429404304043140432404334043440435404364043740438404394044040441404424044340444404454044640447404484044940450404514045240453404544045540456404574045840459404604046140462404634046440465404664046740468404694047040471404724047340474404754047640477404784047940480404814048240483404844048540486404874048840489404904049140492404934049440495404964049740498404994050040501405024050340504405054050640507405084050940510405114051240513405144051540516405174051840519405204052140522405234052440525405264052740528405294053040531405324053340534405354053640537405384053940540405414054240543405444054540546405474054840549405504055140552405534055440555405564055740558405594056040561405624056340564405654056640567405684056940570405714057240573405744057540576405774057840579405804058140582405834058440585405864058740588405894059040591405924059340594405954059640597405984059940600406014060240603406044060540606406074060840609406104061140612406134061440615406164061740618406194062040621406224062340624406254062640627406284062940630406314063240633406344063540636406374063840639406404064140642406434064440645406464064740648406494065040651406524065340654406554065640657406584065940660406614066240663406644066540666406674066840669406704067140672406734067440675406764067740678406794068040681406824068340684406854068640687406884068940690406914069240693406944069540696406974069840699407004070140702407034070440705407064070740708407094071040711407124071340714407154071640717407184071940720407214072240723407244072540726407274072840729407304073140732407334073440735407364073740738407394074040741407424074340744407454074640747407484074940750407514075240753407544075540756407574075840759407604076140762407634076440765407664076740768407694077040771407724077340774407754077640777407784077940780407814078240783407844078540786407874078840789407904079140792407934079440795407964079740798407994080040801408024080340804408054080640807408084080940810408114081240813408144081540816408174081840819408204082140822408234082440825408264082740828408294083040831408324083340834408354083640837408384083940840408414084240843408444084540846408474084840849408504085140852408534085440855408564085740858408594086040861408624086340864408654086640867408684086940870408714087240873408744087540876408774087840879408804088140882408834088440885408864088740888408894089040891408924089340894408954089640897408984089940900409014090240903409044090540906409074090840909409104091140912409134091440915409164091740918409194092040921409224092340924409254092640927409284092940930409314093240933409344093540936409374093840939409404094140942409434094440945409464094740948409494095040951409524095340954409554095640957409584095940960409614096240963409644096540966409674096840969409704097140972409734097440975409764097740978409794098040981409824098340984409854098640987409884098940990409914099240993409944099540996409974099840999410004100141002410034100441005410064100741008410094101041011410124101341014410154101641017410184101941020410214102241023410244102541026410274102841029410304103141032410334103441035410364103741038410394104041041410424104341044410454104641047410484104941050410514105241053410544105541056410574105841059410604106141062410634106441065410664106741068410694107041071410724107341074410754107641077410784107941080410814108241083410844108541086410874108841089410904109141092410934109441095410964109741098410994110041101411024110341104411054110641107411084110941110411114111241113411144111541116411174111841119411204112141122411234112441125411264112741128411294113041131411324113341134411354113641137411384113941140411414114241143411444114541146411474114841149411504115141152411534115441155411564115741158411594116041161411624116341164411654116641167411684116941170411714117241173411744117541176411774117841179411804118141182411834118441185411864118741188411894119041191411924119341194411954119641197411984119941200412014120241203412044120541206412074120841209412104121141212412134121441215412164121741218412194122041221412224122341224412254122641227412284122941230412314123241233412344123541236412374123841239412404124141242412434124441245412464124741248412494125041251412524125341254412554125641257412584125941260412614126241263412644126541266412674126841269412704127141272412734127441275412764127741278412794128041281412824128341284412854128641287412884128941290412914129241293412944129541296412974129841299413004130141302413034130441305413064130741308413094131041311413124131341314413154131641317413184131941320413214132241323413244132541326413274132841329413304133141332413334133441335413364133741338413394134041341413424134341344413454134641347413484134941350413514135241353413544135541356413574135841359413604136141362413634136441365413664136741368413694137041371413724137341374413754137641377413784137941380413814138241383413844138541386413874138841389413904139141392413934139441395413964139741398413994140041401414024140341404414054140641407414084140941410414114141241413414144141541416414174141841419414204142141422414234142441425414264142741428414294143041431414324143341434414354143641437414384143941440414414144241443414444144541446414474144841449414504145141452414534145441455414564145741458414594146041461414624146341464414654146641467414684146941470414714147241473414744147541476414774147841479414804148141482414834148441485414864148741488414894149041491414924149341494414954149641497414984149941500415014150241503415044150541506415074150841509415104151141512415134151441515415164151741518415194152041521415224152341524415254152641527415284152941530415314153241533415344153541536415374153841539415404154141542415434154441545415464154741548415494155041551415524155341554415554155641557415584155941560415614156241563415644156541566415674156841569415704157141572415734157441575415764157741578415794158041581415824158341584415854158641587415884158941590415914159241593415944159541596415974159841599416004160141602416034160441605416064160741608416094161041611416124161341614416154161641617416184161941620416214162241623416244162541626416274162841629416304163141632416334163441635416364163741638416394164041641416424164341644416454164641647416484164941650416514165241653416544165541656416574165841659416604166141662416634166441665416664166741668416694167041671416724167341674416754167641677416784167941680416814168241683416844168541686416874168841689416904169141692416934169441695416964169741698416994170041701417024170341704417054170641707417084170941710417114171241713417144171541716417174171841719417204172141722417234172441725417264172741728417294173041731417324173341734417354173641737417384173941740417414174241743417444174541746417474174841749417504175141752417534175441755417564175741758417594176041761417624176341764417654176641767417684176941770417714177241773417744177541776417774177841779417804178141782417834178441785417864178741788417894179041791417924179341794417954179641797417984179941800418014180241803418044180541806418074180841809418104181141812418134181441815418164181741818418194182041821418224182341824418254182641827418284182941830418314183241833418344183541836418374183841839418404184141842418434184441845418464184741848418494185041851418524185341854418554185641857418584185941860418614186241863418644186541866418674186841869418704187141872418734187441875418764187741878418794188041881418824188341884418854188641887418884188941890418914189241893418944189541896418974189841899419004190141902419034190441905419064190741908419094191041911419124191341914419154191641917419184191941920419214192241923419244192541926419274192841929419304193141932419334193441935419364193741938419394194041941419424194341944419454194641947419484194941950419514195241953419544195541956419574195841959419604196141962419634196441965419664196741968419694197041971419724197341974419754197641977419784197941980419814198241983419844198541986419874198841989419904199141992419934199441995419964199741998419994200042001420024200342004420054200642007420084200942010420114201242013420144201542016420174201842019420204202142022420234202442025420264202742028420294203042031420324203342034420354203642037420384203942040420414204242043420444204542046420474204842049420504205142052420534205442055420564205742058420594206042061420624206342064420654206642067420684206942070420714207242073420744207542076420774207842079420804208142082420834208442085420864208742088420894209042091420924209342094420954209642097420984209942100421014210242103421044210542106421074210842109421104211142112421134211442115421164211742118421194212042121421224212342124421254212642127421284212942130421314213242133421344213542136421374213842139421404214142142421434214442145421464214742148421494215042151421524215342154421554215642157421584215942160421614216242163421644216542166421674216842169421704217142172421734217442175421764217742178421794218042181421824218342184421854218642187421884218942190421914219242193421944219542196421974219842199422004220142202422034220442205422064220742208422094221042211422124221342214422154221642217422184221942220422214222242223422244222542226422274222842229422304223142232422334223442235422364223742238422394224042241422424224342244422454224642247422484224942250422514225242253422544225542256422574225842259422604226142262422634226442265422664226742268422694227042271422724227342274422754227642277422784227942280422814228242283422844228542286422874228842289422904229142292422934229442295422964229742298422994230042301423024230342304423054230642307423084230942310423114231242313423144231542316423174231842319423204232142322423234232442325423264232742328423294233042331423324233342334423354233642337423384233942340423414234242343423444234542346423474234842349423504235142352423534235442355423564235742358423594236042361423624236342364423654236642367423684236942370423714237242373423744237542376423774237842379423804238142382423834238442385423864238742388423894239042391423924239342394423954239642397423984239942400424014240242403424044240542406424074240842409424104241142412424134241442415424164241742418424194242042421424224242342424424254242642427424284242942430424314243242433424344243542436424374243842439424404244142442424434244442445424464244742448424494245042451424524245342454424554245642457424584245942460424614246242463424644246542466424674246842469424704247142472424734247442475424764247742478424794248042481424824248342484424854248642487424884248942490424914249242493424944249542496424974249842499425004250142502425034250442505425064250742508425094251042511425124251342514425154251642517425184251942520425214252242523425244252542526425274252842529425304253142532425334253442535425364253742538425394254042541425424254342544425454254642547425484254942550425514255242553425544255542556425574255842559425604256142562425634256442565425664256742568425694257042571425724257342574425754257642577425784257942580425814258242583425844258542586425874258842589425904259142592425934259442595425964259742598425994260042601426024260342604426054260642607426084260942610426114261242613426144261542616426174261842619426204262142622426234262442625426264262742628426294263042631426324263342634426354263642637426384263942640426414264242643426444264542646426474264842649426504265142652426534265442655426564265742658426594266042661426624266342664426654266642667426684266942670426714267242673426744267542676426774267842679426804268142682426834268442685426864268742688426894269042691426924269342694426954269642697426984269942700427014270242703427044270542706427074270842709427104271142712427134271442715427164271742718427194272042721427224272342724427254272642727427284272942730427314273242733427344273542736427374273842739427404274142742427434274442745427464274742748427494275042751427524275342754427554275642757427584275942760427614276242763427644276542766427674276842769427704277142772427734277442775427764277742778427794278042781427824278342784427854278642787427884278942790427914279242793427944279542796427974279842799428004280142802428034280442805428064280742808428094281042811428124281342814428154281642817428184281942820428214282242823428244282542826428274282842829428304283142832428334283442835428364283742838428394284042841428424284342844428454284642847428484284942850428514285242853428544285542856428574285842859428604286142862428634286442865428664286742868428694287042871428724287342874428754287642877428784287942880428814288242883428844288542886428874288842889428904289142892428934289442895428964289742898428994290042901429024290342904429054290642907429084290942910429114291242913429144291542916429174291842919429204292142922429234292442925429264292742928429294293042931429324293342934429354293642937429384293942940429414294242943429444294542946429474294842949429504295142952429534295442955429564295742958429594296042961429624296342964429654296642967429684296942970429714297242973429744297542976429774297842979429804298142982429834298442985429864298742988429894299042991429924299342994429954299642997429984299943000430014300243003430044300543006430074300843009430104301143012430134301443015430164301743018430194302043021430224302343024430254302643027430284302943030430314303243033430344303543036430374303843039430404304143042430434304443045430464304743048430494305043051430524305343054430554305643057430584305943060430614306243063430644306543066430674306843069430704307143072430734307443075430764307743078430794308043081430824308343084430854308643087430884308943090430914309243093430944309543096430974309843099431004310143102431034310443105431064310743108431094311043111431124311343114431154311643117431184311943120431214312243123431244312543126431274312843129431304313143132431334313443135431364313743138431394314043141431424314343144431454314643147431484314943150431514315243153431544315543156431574315843159431604316143162431634316443165431664316743168431694317043171431724317343174431754317643177431784317943180431814318243183431844318543186431874318843189431904319143192431934319443195431964319743198431994320043201432024320343204432054320643207432084320943210432114321243213432144321543216432174321843219432204322143222432234322443225432264322743228432294323043231432324323343234432354323643237432384323943240432414324243243432444324543246432474324843249432504325143252432534325443255432564325743258432594326043261432624326343264432654326643267432684326943270432714327243273432744327543276432774327843279432804328143282432834328443285432864328743288432894329043291432924329343294432954329643297432984329943300433014330243303433044330543306433074330843309433104331143312433134331443315433164331743318433194332043321433224332343324433254332643327433284332943330433314333243333433344333543336433374333843339433404334143342433434334443345433464334743348433494335043351433524335343354433554335643357433584335943360433614336243363433644336543366433674336843369433704337143372433734337443375433764337743378433794338043381433824338343384433854338643387433884338943390433914339243393433944339543396433974339843399434004340143402434034340443405434064340743408434094341043411434124341343414434154341643417434184341943420434214342243423434244342543426434274342843429434304343143432434334343443435434364343743438434394344043441434424344343444434454344643447434484344943450434514345243453434544345543456434574345843459434604346143462434634346443465434664346743468434694347043471434724347343474434754347643477434784347943480434814348243483434844348543486434874348843489434904349143492434934349443495434964349743498434994350043501435024350343504435054350643507435084350943510435114351243513435144351543516435174351843519435204352143522435234352443525435264352743528435294353043531435324353343534435354353643537435384353943540435414354243543435444354543546435474354843549435504355143552435534355443555435564355743558435594356043561435624356343564435654356643567435684356943570435714357243573435744357543576435774357843579435804358143582435834358443585435864358743588435894359043591435924359343594435954359643597435984359943600436014360243603436044360543606436074360843609436104361143612436134361443615436164361743618436194362043621436224362343624436254362643627436284362943630436314363243633436344363543636436374363843639436404364143642436434364443645436464364743648436494365043651436524365343654436554365643657436584365943660436614366243663436644366543666436674366843669436704367143672436734367443675436764367743678436794368043681436824368343684436854368643687436884368943690436914369243693436944369543696436974369843699437004370143702437034370443705437064370743708437094371043711437124371343714437154371643717437184371943720437214372243723437244372543726437274372843729437304373143732437334373443735437364373743738437394374043741437424374343744437454374643747437484374943750437514375243753437544375543756437574375843759437604376143762437634376443765437664376743768437694377043771437724377343774437754377643777437784377943780437814378243783437844378543786437874378843789437904379143792437934379443795437964379743798437994380043801438024380343804438054380643807438084380943810438114381243813438144381543816438174381843819438204382143822438234382443825438264382743828438294383043831438324383343834438354383643837438384383943840438414384243843438444384543846438474384843849438504385143852438534385443855438564385743858438594386043861438624386343864438654386643867438684386943870438714387243873438744387543876438774387843879438804388143882438834388443885438864388743888438894389043891438924389343894438954389643897438984389943900439014390243903439044390543906439074390843909439104391143912439134391443915439164391743918439194392043921439224392343924439254392643927439284392943930439314393243933439344393543936439374393843939439404394143942439434394443945439464394743948439494395043951439524395343954439554395643957439584395943960439614396243963439644396543966439674396843969439704397143972439734397443975439764397743978439794398043981439824398343984439854398643987439884398943990439914399243993439944399543996439974399843999440004400144002440034400444005440064400744008440094401044011440124401344014440154401644017440184401944020440214402244023440244402544026440274402844029440304403144032440334403444035440364403744038440394404044041440424404344044440454404644047440484404944050440514405244053440544405544056440574405844059440604406144062440634406444065440664406744068440694407044071440724407344074440754407644077440784407944080440814408244083440844408544086440874408844089440904409144092440934409444095440964409744098440994410044101441024410344104441054410644107441084410944110441114411244113441144411544116441174411844119441204412144122441234412444125441264412744128441294413044131441324413344134441354413644137441384413944140441414414244143441444414544146441474414844149441504415144152441534415444155441564415744158441594416044161441624416344164441654416644167441684416944170441714417244173441744417544176441774417844179441804418144182441834418444185441864418744188441894419044191441924419344194441954419644197441984419944200442014420244203442044420544206442074420844209442104421144212442134421444215442164421744218442194422044221442224422344224442254422644227442284422944230442314423244233442344423544236442374423844239442404424144242442434424444245442464424744248442494425044251442524425344254442554425644257442584425944260442614426244263442644426544266442674426844269442704427144272442734427444275442764427744278442794428044281442824428344284442854428644287442884428944290442914429244293442944429544296442974429844299443004430144302443034430444305443064430744308443094431044311443124431344314443154431644317443184431944320443214432244323443244432544326443274432844329443304433144332443334433444335443364433744338443394434044341443424434344344443454434644347443484434944350443514435244353443544435544356443574435844359443604436144362443634436444365443664436744368443694437044371443724437344374443754437644377443784437944380443814438244383443844438544386443874438844389443904439144392443934439444395443964439744398443994440044401444024440344404444054440644407444084440944410444114441244413444144441544416444174441844419444204442144422444234442444425444264442744428444294443044431444324443344434444354443644437444384443944440444414444244443444444444544446444474444844449444504445144452444534445444455444564445744458444594446044461444624446344464444654446644467444684446944470444714447244473444744447544476444774447844479444804448144482444834448444485444864448744488444894449044491444924449344494444954449644497444984449944500445014450244503445044450544506445074450844509445104451144512445134451444515445164451744518445194452044521445224452344524445254452644527445284452944530445314453244533445344453544536445374453844539445404454144542445434454444545445464454744548445494455044551445524455344554445554455644557445584455944560445614456244563445644456544566445674456844569445704457144572445734457444575445764457744578445794458044581445824458344584445854458644587445884458944590445914459244593445944459544596445974459844599446004460144602446034460444605446064460744608446094461044611446124461344614446154461644617446184461944620446214462244623446244462544626446274462844629446304463144632446334463444635446364463744638446394464044641446424464344644446454464644647446484464944650446514465244653446544465544656446574465844659446604466144662446634466444665446664466744668446694467044671446724467344674446754467644677446784467944680446814468244683
  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/QueryWrUserFriend": {
  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": "userid",
  15451. "in": "query",
  15452. "required": true
  15453. },
  15454. {
  15455. "type": "integer",
  15456. "description": "新朋友userid, 如果填写了此项则查找新朋友",
  15457. "name": "newuserid",
  15458. "in": "query"
  15459. }
  15460. ],
  15461. "responses": {
  15462. "200": {
  15463. "description": "OK",
  15464. "schema": {
  15465. "type": "array",
  15466. "items": {
  15467. "$ref": "#/definitions/models.WrUserFriend"
  15468. }
  15469. }
  15470. },
  15471. "500": {
  15472. "description": "Internal Server Error",
  15473. "schema": {
  15474. "$ref": "#/definitions/app.Response"
  15475. }
  15476. }
  15477. }
  15478. }
  15479. },
  15480. "/WrTrade2/QueryWrUserReceiptInfo": {
  15481. "get": {
  15482. "security": [
  15483. {
  15484. "ApiKeyAuth": []
  15485. }
  15486. ],
  15487. "produces": [
  15488. "application/json"
  15489. ],
  15490. "tags": [
  15491. "仓单贸易v2"
  15492. ],
  15493. "summary": "查询发票信息",
  15494. "parameters": [
  15495. {
  15496. "type": "integer",
  15497. "description": "用户id",
  15498. "name": "userid",
  15499. "in": "query"
  15500. },
  15501. {
  15502. "type": "integer",
  15503. "description": "发票类型 - 1:个人 2:企业",
  15504. "name": "receipttype",
  15505. "in": "query"
  15506. }
  15507. ],
  15508. "responses": {
  15509. "200": {
  15510. "description": "OK",
  15511. "schema": {
  15512. "type": "array",
  15513. "items": {
  15514. "$ref": "#/definitions/models.WrUserReceiptInfo"
  15515. }
  15516. }
  15517. },
  15518. "500": {
  15519. "description": "Internal Server Error",
  15520. "schema": {
  15521. "$ref": "#/definitions/app.Response"
  15522. }
  15523. }
  15524. }
  15525. }
  15526. },
  15527. "/WrTrade2/QueryXhcpSellBackApply": {
  15528. "get": {
  15529. "security": [
  15530. {
  15531. "ApiKeyAuth": []
  15532. }
  15533. ],
  15534. "produces": [
  15535. "application/json"
  15536. ],
  15537. "tags": [
  15538. "仓单贸易v2"
  15539. ],
  15540. "summary": "查询我的回收申请(新会陈皮)",
  15541. "parameters": [
  15542. {
  15543. "type": "integer",
  15544. "description": "用户ID",
  15545. "name": "userid",
  15546. "in": "query",
  15547. "required": true
  15548. }
  15549. ],
  15550. "responses": {
  15551. "200": {
  15552. "description": "OK",
  15553. "schema": {
  15554. "type": "array",
  15555. "items": {
  15556. "$ref": "#/definitions/models.Xhcpsellbackapply"
  15557. }
  15558. }
  15559. },
  15560. "500": {
  15561. "description": "Internal Server Error",
  15562. "schema": {
  15563. "$ref": "#/definitions/app.Response"
  15564. }
  15565. }
  15566. }
  15567. }
  15568. },
  15569. "/ZJ/GetBankTip": {
  15570. "get": {
  15571. "produces": [
  15572. "application/json"
  15573. ],
  15574. "tags": [
  15575. "中江"
  15576. ],
  15577. "summary": "获取中江网银端出入金提示信息",
  15578. "responses": {
  15579. "200": {
  15580. "description": "OK",
  15581. "schema": {
  15582. "type": "string"
  15583. }
  15584. },
  15585. "500": {
  15586. "description": "Internal Server Error",
  15587. "schema": {
  15588. "$ref": "#/definitions/app.Response"
  15589. }
  15590. }
  15591. }
  15592. }
  15593. },
  15594. "/ZJ/GetCusBankChannels": {
  15595. "get": {
  15596. "produces": [
  15597. "application/json"
  15598. ],
  15599. "tags": [
  15600. "中江"
  15601. ],
  15602. "summary": "获取中江出入金渠道显示列表",
  15603. "responses": {
  15604. "200": {
  15605. "description": "OK",
  15606. "schema": {
  15607. "type": "array",
  15608. "items": {
  15609. "type": "string"
  15610. }
  15611. }
  15612. },
  15613. "500": {
  15614. "description": "Internal Server Error",
  15615. "schema": {
  15616. "$ref": "#/definitions/app.Response"
  15617. }
  15618. }
  15619. }
  15620. }
  15621. }
  15622. },
  15623. "definitions": {
  15624. "app.Response": {
  15625. "type": "object",
  15626. "properties": {
  15627. "code": {
  15628. "type": "integer"
  15629. },
  15630. "data": {
  15631. "type": "object"
  15632. },
  15633. "msg": {
  15634. "type": "string"
  15635. },
  15636. "page": {
  15637. "description": "页码",
  15638. "type": "integer"
  15639. },
  15640. "pagesize": {
  15641. "description": "每页条数",
  15642. "type": "integer"
  15643. },
  15644. "total": {
  15645. "description": "总条数",
  15646. "type": "integer"
  15647. }
  15648. }
  15649. },
  15650. "common.ClientMenu": {
  15651. "type": "object",
  15652. "properties": {
  15653. "children": {
  15654. "description": "子菜单列表",
  15655. "type": "array",
  15656. "items": {
  15657. "$ref": "#/definitions/common.ClientMenu"
  15658. }
  15659. },
  15660. "code": {
  15661. "description": "ID",
  15662. "type": "string"
  15663. },
  15664. "isshow": {
  15665. "description": "是否显示",
  15666. "type": "boolean"
  15667. },
  15668. "remark": {
  15669. "description": "备注",
  15670. "type": "string"
  15671. },
  15672. "rulekey": {
  15673. "description": "对应权限主键,对应FUNCMENULIST表RESOURCECODE",
  15674. "type": "string"
  15675. },
  15676. "sort": {
  15677. "description": "排序",
  15678. "type": "integer"
  15679. },
  15680. "title": {
  15681. "description": "标题",
  15682. "type": "string"
  15683. },
  15684. "type": {
  15685. "description": "类型,1:菜单 2:按钮",
  15686. "type": "integer"
  15687. },
  15688. "url": {
  15689. "description": "URL",
  15690. "type": "string"
  15691. }
  15692. }
  15693. },
  15694. "common.PCWebMenu": {
  15695. "type": "object",
  15696. "properties": {
  15697. "auth": {
  15698. "description": "页面权限列表",
  15699. "type": "array",
  15700. "items": {
  15701. "$ref": "#/definitions/common.PCWebMenuAuth"
  15702. }
  15703. },
  15704. "children": {
  15705. "description": "子菜单列表",
  15706. "type": "array",
  15707. "items": {
  15708. "$ref": "#/definitions/common.PCWebMenu"
  15709. }
  15710. },
  15711. "code": {
  15712. "description": "ID,新版本中权限KEY也是这个字段",
  15713. "type": "string"
  15714. },
  15715. "component": {
  15716. "description": "路由组件",
  15717. "type": "string"
  15718. },
  15719. "isshow": {
  15720. "description": "是否显示",
  15721. "type": "boolean"
  15722. },
  15723. "path": {
  15724. "description": "路由路径",
  15725. "type": "string"
  15726. },
  15727. "remark": {
  15728. "description": "备注",
  15729. "type": "string"
  15730. },
  15731. "rulekey": {
  15732. "description": "权限主键,非空表示需要判断控制,非空值不可重复",
  15733. "type": "string"
  15734. },
  15735. "sort": {
  15736. "description": "排序",
  15737. "type": "integer"
  15738. },
  15739. "title": {
  15740. "description": "标题",
  15741. "type": "string"
  15742. },
  15743. "url": {
  15744. "description": "URL",
  15745. "type": "string"
  15746. }
  15747. }
  15748. },
  15749. "common.PCWebMenuAuth": {
  15750. "type": "object",
  15751. "properties": {
  15752. "code": {
  15753. "description": "ID,新版本中权限KEY也是这个字段",
  15754. "type": "string"
  15755. },
  15756. "isshow": {
  15757. "description": "是否显示",
  15758. "type": "boolean"
  15759. },
  15760. "label": {
  15761. "description": "标题",
  15762. "type": "string"
  15763. },
  15764. "remark": {
  15765. "description": "备注",
  15766. "type": "string"
  15767. },
  15768. "rulekey": {
  15769. "description": "权限主键,非空表示需要判断控制,非空值不可重复",
  15770. "type": "string"
  15771. }
  15772. }
  15773. },
  15774. "common.QueryImageConfigsRsp": {
  15775. "type": "object",
  15776. "required": [
  15777. "configid"
  15778. ],
  15779. "properties": {
  15780. "areauserid": {
  15781. "description": "所属机构ID",
  15782. "type": "integer"
  15783. },
  15784. "configid": {
  15785. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  15786. "type": "integer"
  15787. },
  15788. "createdate": {
  15789. "description": "创建时间",
  15790. "type": "string"
  15791. },
  15792. "creatorid": {
  15793. "description": "创建人",
  15794. "type": "integer"
  15795. },
  15796. "imagedetailpath": {
  15797. "description": "详情图片 [UrlType = 3时 有且必填,其它类型不需要]",
  15798. "type": "string"
  15799. },
  15800. "imagepath": {
  15801. "description": "图片",
  15802. "type": "string"
  15803. },
  15804. "imagetype": {
  15805. "description": "类型 - 1:首页轮播(移动) 2:我的(移动)",
  15806. "type": "integer"
  15807. },
  15808. "isshow": {
  15809. "description": "是否展示 - 0:不展示 1:展示",
  15810. "type": "integer"
  15811. },
  15812. "marketid": {
  15813. "description": "市场ID",
  15814. "type": "integer"
  15815. },
  15816. "modifierid": {
  15817. "description": "操作人",
  15818. "type": "integer"
  15819. },
  15820. "sort": {
  15821. "description": "排序",
  15822. "type": "integer"
  15823. },
  15824. "title": {
  15825. "description": "标题",
  15826. "type": "string"
  15827. },
  15828. "trademode": {
  15829. "description": "交易模式",
  15830. "type": "integer"
  15831. },
  15832. "updatedate": {
  15833. "description": "修改时间",
  15834. "type": "string"
  15835. },
  15836. "url": {
  15837. "description": "链接(地址或商品ID)",
  15838. "type": "string"
  15839. },
  15840. "urltype": {
  15841. "description": "链接类型 - 1:直接地址 2:商品ID",
  15842. "type": "integer"
  15843. }
  15844. }
  15845. },
  15846. "common.QueryNoticeRsp": {
  15847. "type": "object",
  15848. "required": [
  15849. "autoid"
  15850. ],
  15851. "properties": {
  15852. "auditoruserid": {
  15853. "description": "审核人",
  15854. "type": "integer"
  15855. },
  15856. "auditremark": {
  15857. "description": "审核备注",
  15858. "type": "string"
  15859. },
  15860. "audittime": {
  15861. "description": "审核日期",
  15862. "type": "string"
  15863. },
  15864. "autoid": {
  15865. "description": "自增ID",
  15866. "type": "integer"
  15867. },
  15868. "content": {
  15869. "description": "内容",
  15870. "type": "string"
  15871. },
  15872. "createtime": {
  15873. "description": "创建时间",
  15874. "type": "string"
  15875. },
  15876. "creatorid": {
  15877. "description": "建仓人",
  15878. "type": "integer"
  15879. },
  15880. "endtime": {
  15881. "description": "结束时间",
  15882. "type": "string"
  15883. },
  15884. "istop": {
  15885. "description": "是否置顶 - 0:不置顶 1:置顶",
  15886. "type": "integer"
  15887. },
  15888. "msgiconurl": {
  15889. "description": "消息图标Url",
  15890. "type": "string"
  15891. },
  15892. "msgtype": {
  15893. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  15894. "type": "integer"
  15895. },
  15896. "publisher": {
  15897. "description": "消息发布者",
  15898. "type": "string"
  15899. },
  15900. "readed": {
  15901. "description": "是否已读",
  15902. "type": "boolean"
  15903. },
  15904. "scheduletime": {
  15905. "description": "计划发送时间",
  15906. "type": "string"
  15907. },
  15908. "sendtype": {
  15909. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  15910. "type": "integer"
  15911. },
  15912. "sentstatus": {
  15913. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  15914. "type": "integer"
  15915. },
  15916. "title": {
  15917. "description": "标题",
  15918. "type": "string"
  15919. },
  15920. "userid": {
  15921. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  15922. "type": "integer"
  15923. }
  15924. }
  15925. },
  15926. "common.QueryProvincesAndCitiesRsp": {
  15927. "type": "object",
  15928. "properties": {
  15929. "cities": {
  15930. "description": "市",
  15931. "type": "array",
  15932. "items": {
  15933. "$ref": "#/definitions/models.Division"
  15934. }
  15935. },
  15936. "province": {
  15937. "description": "省",
  15938. "$ref": "#/definitions/models.Division"
  15939. }
  15940. }
  15941. },
  15942. "common.QueryTableDefineRsp": {
  15943. "type": "object",
  15944. "required": [
  15945. "tablekey"
  15946. ],
  15947. "properties": {
  15948. "columns": {
  15949. "description": "列头信息数组",
  15950. "type": "array",
  15951. "items": {
  15952. "$ref": "#/definitions/models.Tablecolumnconfig"
  15953. }
  15954. },
  15955. "remark": {
  15956. "description": "Remark",
  15957. "type": "string"
  15958. },
  15959. "tabelmenu": {
  15960. "description": "列表菜单",
  15961. "type": "string"
  15962. },
  15963. "tablekey": {
  15964. "description": "列表Key",
  15965. "type": "string"
  15966. },
  15967. "tablename": {
  15968. "description": "列表名称",
  15969. "type": "string"
  15970. },
  15971. "tabletype": {
  15972. "description": "列表类型 - 1:管理端 2:终端",
  15973. "type": "integer"
  15974. }
  15975. }
  15976. },
  15977. "common.QueryTraderMenuRsp": {
  15978. "type": "object",
  15979. "properties": {
  15980. "OperationMenu": {
  15981. "description": "功能菜单",
  15982. "type": "array",
  15983. "items": {
  15984. "$ref": "#/definitions/models.OperationPrimaryMenu"
  15985. }
  15986. },
  15987. "QuoteMenu": {
  15988. "description": "报价牌分类菜单",
  15989. "type": "array",
  15990. "items": {
  15991. "$ref": "#/definitions/models.QuotePrimaryMenu"
  15992. }
  15993. }
  15994. }
  15995. },
  15996. "cptrade.Cptradepositioncancel": {
  15997. "type": "object",
  15998. "required": [
  15999. "cancelid"
  16000. ],
  16001. "properties": {
  16002. "accountid": {
  16003. "description": "申请人账户ID",
  16004. "type": "integer"
  16005. },
  16006. "applystatus": {
  16007. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  16008. "type": "integer"
  16009. },
  16010. "applytime": {
  16011. "description": "申请时间",
  16012. "type": "string"
  16013. },
  16014. "cancelid": {
  16015. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  16016. "type": "integer"
  16017. },
  16018. "cancelqty": {
  16019. "description": "注销数量",
  16020. "type": "integer"
  16021. },
  16022. "createtime": {
  16023. "description": "创建时间",
  16024. "type": "string"
  16025. },
  16026. "creatorid": {
  16027. "description": "创建人ID",
  16028. "type": "integer"
  16029. },
  16030. "creatorname": {
  16031. "description": "创建人",
  16032. "type": "string"
  16033. },
  16034. "goodscode": {
  16035. "description": "订单商品代码",
  16036. "type": "string"
  16037. },
  16038. "goodsid": {
  16039. "description": "商品ID",
  16040. "type": "integer"
  16041. },
  16042. "goodsname": {
  16043. "description": "订单商品名称",
  16044. "type": "string"
  16045. },
  16046. "goodunit": {
  16047. "description": "报价单位",
  16048. "type": "string"
  16049. },
  16050. "handlestatus": {
  16051. "description": "处理状态",
  16052. "type": "integer"
  16053. },
  16054. "marketid": {
  16055. "description": "市场ID",
  16056. "type": "integer"
  16057. },
  16058. "marketname": {
  16059. "description": "市场名称",
  16060. "type": "string"
  16061. },
  16062. "tradedate": {
  16063. "description": "交易日(yyyyMMdd)",
  16064. "type": "string"
  16065. },
  16066. "userid": {
  16067. "description": "申请人ID",
  16068. "type": "integer"
  16069. }
  16070. }
  16071. },
  16072. "cptrade.Cptradepresaleapply": {
  16073. "type": "object",
  16074. "required": [
  16075. "applyid"
  16076. ],
  16077. "properties": {
  16078. "accountid": {
  16079. "description": "申请人账户ID",
  16080. "type": "integer"
  16081. },
  16082. "applyid": {
  16083. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  16084. "type": "integer"
  16085. },
  16086. "applyremark": {
  16087. "description": "申请备注",
  16088. "type": "string"
  16089. },
  16090. "applystatus": {
  16091. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  16092. "type": "integer"
  16093. },
  16094. "applytime": {
  16095. "description": "申请时间",
  16096. "type": "string"
  16097. },
  16098. "attachmenturl": {
  16099. "description": "附件地址",
  16100. "type": "string"
  16101. },
  16102. "endtime": {
  16103. "description": "预售结束时间",
  16104. "type": "string"
  16105. },
  16106. "goodscode": {
  16107. "description": "商品代码",
  16108. "type": "string"
  16109. },
  16110. "goodsid": {
  16111. "description": "商品ID",
  16112. "type": "integer"
  16113. },
  16114. "goodsname": {
  16115. "description": "商品名称",
  16116. "type": "string"
  16117. },
  16118. "goodunit": {
  16119. "description": "报价单位",
  16120. "type": "string"
  16121. },
  16122. "handlestatus": {
  16123. "description": "处理状态",
  16124. "type": "integer"
  16125. },
  16126. "marketid": {
  16127. "description": "预售市场ID",
  16128. "type": "integer"
  16129. },
  16130. "marketname": {
  16131. "description": "预售市场名称",
  16132. "type": "string"
  16133. },
  16134. "presaleqty": {
  16135. "description": "预售数量",
  16136. "type": "integer"
  16137. },
  16138. "relatedgoodscode": {
  16139. "description": "关联交易合约代码",
  16140. "type": "string"
  16141. },
  16142. "relatedgoodsid": {
  16143. "description": "关联交易合约ID",
  16144. "type": "integer"
  16145. },
  16146. "relatedgoodsname": {
  16147. "description": "关联交易合约名称",
  16148. "type": "string"
  16149. },
  16150. "starttime": {
  16151. "description": "预售开始时间",
  16152. "type": "string"
  16153. },
  16154. "tradedate": {
  16155. "description": "交易日(yyyyMMdd)",
  16156. "type": "string"
  16157. },
  16158. "trademode": {
  16159. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  16160. "type": "integer"
  16161. },
  16162. "userid": {
  16163. "description": "申请人ID",
  16164. "type": "integer"
  16165. }
  16166. }
  16167. },
  16168. "cptrade.Cptradeusergoodsdata": {
  16169. "type": "object",
  16170. "required": [
  16171. "accountid",
  16172. "goodsid"
  16173. ],
  16174. "properties": {
  16175. "EnabledQty": {
  16176. "description": "可用量",
  16177. "type": "integer"
  16178. },
  16179. "GoodsCode": {
  16180. "description": "订单商品代码",
  16181. "type": "string"
  16182. },
  16183. "GoodsName": {
  16184. "description": "订单商品名称",
  16185. "type": "string"
  16186. },
  16187. "WRStandardCode": {
  16188. "description": "仓单标准代码",
  16189. "type": "string"
  16190. },
  16191. "WRStandardName": {
  16192. "description": "仓单标准名称",
  16193. "type": "string"
  16194. },
  16195. "accountid": {
  16196. "description": "账户ID",
  16197. "type": "integer"
  16198. },
  16199. "cancelqty": {
  16200. "description": "注销量",
  16201. "type": "integer"
  16202. },
  16203. "curpresaleqty": {
  16204. "description": "当前预售量",
  16205. "type": "integer"
  16206. },
  16207. "deliveryqty": {
  16208. "description": "交割量",
  16209. "type": "integer"
  16210. },
  16211. "freezeamount": {
  16212. "description": "冻结金额",
  16213. "type": "number"
  16214. },
  16215. "goodsid": {
  16216. "description": "商品ID",
  16217. "type": "integer"
  16218. },
  16219. "goodunit": {
  16220. "description": "报价单位",
  16221. "type": "string"
  16222. },
  16223. "hasspotfreeze": {
  16224. "description": "是否有现货冻结 - 0:否 1:有",
  16225. "type": "integer"
  16226. },
  16227. "inqty": {
  16228. "description": "转入量(总数量)",
  16229. "type": "integer"
  16230. },
  16231. "marketid": {
  16232. "description": "市场ID",
  16233. "type": "integer"
  16234. },
  16235. "presaledamount": {
  16236. "description": "已预售总金额",
  16237. "type": "integer"
  16238. },
  16239. "presaledqty": {
  16240. "description": "已预售量",
  16241. "type": "integer"
  16242. },
  16243. "userid": {
  16244. "description": "用户ID",
  16245. "type": "integer"
  16246. },
  16247. "wrstandardid": {
  16248. "description": "仓单标准ID",
  16249. "type": "integer"
  16250. }
  16251. }
  16252. },
  16253. "cptrade.QueryCPTradeMyBidRsp": {
  16254. "type": "object",
  16255. "required": [
  16256. "accountid",
  16257. "goodsid",
  16258. "marketid",
  16259. "orderid",
  16260. "orderqty",
  16261. "ordertime",
  16262. "tradeprice",
  16263. "tradeqty"
  16264. ],
  16265. "properties": {
  16266. "accountid": {
  16267. "description": "账户ID[报价币种]",
  16268. "type": "integer"
  16269. },
  16270. "goodsid": {
  16271. "description": "商品ID",
  16272. "type": "integer"
  16273. },
  16274. "goodunit": {
  16275. "description": "报价单位",
  16276. "type": "string"
  16277. },
  16278. "marketid": {
  16279. "description": "市场ID",
  16280. "type": "integer"
  16281. },
  16282. "orderid": {
  16283. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16284. "type": "integer"
  16285. },
  16286. "orderprice": {
  16287. "description": "委托价格",
  16288. "type": "number"
  16289. },
  16290. "orderqty": {
  16291. "description": "委托数量",
  16292. "type": "integer"
  16293. },
  16294. "ordertime": {
  16295. "description": "委托时间",
  16296. "type": "string"
  16297. },
  16298. "ordertotalprice": {
  16299. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  16300. "type": "number"
  16301. },
  16302. "ordertotalweight": {
  16303. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  16304. "type": "integer"
  16305. },
  16306. "totaltotalprice": {
  16307. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  16308. "type": "number"
  16309. },
  16310. "tradeprice": {
  16311. "description": "成交价格",
  16312. "type": "number"
  16313. },
  16314. "tradeqty": {
  16315. "description": "成交数量",
  16316. "type": "integer"
  16317. }
  16318. }
  16319. },
  16320. "cptrade.QueryCPTradeOrderDetailRsq": {
  16321. "type": "object",
  16322. "required": [
  16323. "accountid",
  16324. "buildtype",
  16325. "buyorsell",
  16326. "goodsid",
  16327. "marketid",
  16328. "memberuserid",
  16329. "operatetype",
  16330. "orderqty",
  16331. "ordertime",
  16332. "pricemode",
  16333. "strorderid",
  16334. "tradedate",
  16335. "validtype"
  16336. ],
  16337. "properties": {
  16338. "accountid": {
  16339. "description": "账户ID[报价币种]",
  16340. "type": "integer"
  16341. },
  16342. "buildtype": {
  16343. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  16344. "type": "integer"
  16345. },
  16346. "buyorsell": {
  16347. "description": "买卖 - 0:买 1:卖",
  16348. "type": "integer"
  16349. },
  16350. "cancelorderid": {
  16351. "description": "撤单单号(撤单时填写)",
  16352. "type": "integer"
  16353. },
  16354. "cancelqty": {
  16355. "description": "撤单数量",
  16356. "type": "integer"
  16357. },
  16358. "clientordertime": {
  16359. "description": "客户端委托时间",
  16360. "type": "string"
  16361. },
  16362. "clientticket": {
  16363. "description": "客户端流水号",
  16364. "type": "string"
  16365. },
  16366. "clienttype": {
  16367. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  16368. "type": "integer"
  16369. },
  16370. "closeexchagechargevalue": {
  16371. "description": "平仓交易所手续费设置值",
  16372. "type": "number"
  16373. },
  16374. "closefeealgorithm": {
  16375. "description": "平仓手续费收取方式 1:比率 2:固定",
  16376. "type": "integer"
  16377. },
  16378. "closefreezecharge": {
  16379. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  16380. "type": "number"
  16381. },
  16382. "closememberchargevalue": {
  16383. "description": "平仓会员手续费设置值",
  16384. "type": "number"
  16385. },
  16386. "closeqty": {
  16387. "description": "平仓数量(先建后平操作 需要记录)",
  16388. "type": "integer"
  16389. },
  16390. "closetradeqty": {
  16391. "description": "平仓成交数量(先建后平操作,需要记录)",
  16392. "type": "integer"
  16393. },
  16394. "closeunfreezecharge": {
  16395. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  16396. "type": "number"
  16397. },
  16398. "delistingtype": {
  16399. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  16400. "type": "integer"
  16401. },
  16402. "freezecharge": {
  16403. "description": "冻结手续费",
  16404. "type": "number"
  16405. },
  16406. "freezemargin": {
  16407. "description": "冻结保证金(冻结交易金额)",
  16408. "type": "number"
  16409. },
  16410. "gcaccountid": {
  16411. "description": "账户ID[合约币种]",
  16412. "type": "integer"
  16413. },
  16414. "goodsid": {
  16415. "description": "商品ID",
  16416. "type": "integer"
  16417. },
  16418. "isconfirmexercise": {
  16419. "description": "是否确认行权- 0:否 1:是",
  16420. "type": "integer"
  16421. },
  16422. "ispreexercise": {
  16423. "description": "是否预申报- 0:否 1:是",
  16424. "type": "integer"
  16425. },
  16426. "listingselecttype": {
  16427. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  16428. "type": "integer"
  16429. },
  16430. "marginalgorithm": {
  16431. "description": "保证金收取方式 1:比率 2:固定",
  16432. "type": "integer"
  16433. },
  16434. "marginvalue": {
  16435. "description": "即市保证金设置值",
  16436. "type": "number"
  16437. },
  16438. "marketid": {
  16439. "description": "市场ID",
  16440. "type": "integer"
  16441. },
  16442. "marketmaxsub": {
  16443. "description": "市价最大偏移范围",
  16444. "type": "number"
  16445. },
  16446. "memberuserid": {
  16447. "description": "所属会员UserID",
  16448. "type": "integer"
  16449. },
  16450. "openexchagechargevalue": {
  16451. "description": "建仓交易所手续费设置值",
  16452. "type": "number"
  16453. },
  16454. "openfeealgorithm": {
  16455. "description": "建仓手续费收取方式 1:比率 2:固定",
  16456. "type": "integer"
  16457. },
  16458. "openfreezecharge": {
  16459. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  16460. "type": "number"
  16461. },
  16462. "openmemberchargevalue": {
  16463. "description": "建仓会员手续费设置值",
  16464. "type": "number"
  16465. },
  16466. "openqty": {
  16467. "description": "开仓数量(先建后平操作,需要记录)",
  16468. "type": "integer"
  16469. },
  16470. "opentradeqty": {
  16471. "description": "开仓成交数量(先建后平操作,需要记录)",
  16472. "type": "integer"
  16473. },
  16474. "openunfreezecharge": {
  16475. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  16476. "type": "number"
  16477. },
  16478. "operatetype": {
  16479. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  16480. "type": "integer"
  16481. },
  16482. "operatorid": {
  16483. "description": "登录账号(LoginID)",
  16484. "type": "integer"
  16485. },
  16486. "optiontype": {
  16487. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  16488. "type": "integer"
  16489. },
  16490. "orderprice": {
  16491. "description": "委托价格",
  16492. "type": "number"
  16493. },
  16494. "orderqty": {
  16495. "description": "委托数量",
  16496. "type": "integer"
  16497. },
  16498. "ordersrc": {
  16499. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  16500. "type": "integer"
  16501. },
  16502. "orderstatus": {
  16503. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  16504. "type": "integer"
  16505. },
  16506. "ordertime": {
  16507. "description": "委托时间",
  16508. "type": "string"
  16509. },
  16510. "preexerciseprice": {
  16511. "description": "预申报价格",
  16512. "type": "number"
  16513. },
  16514. "premium": {
  16515. "description": "权利金",
  16516. "type": "number"
  16517. },
  16518. "preorderid": {
  16519. "description": "关联预埋单号(止盈止损单时填写)",
  16520. "type": "integer"
  16521. },
  16522. "pricemode": {
  16523. "description": "取价方式 - 1:市价 2: 限价",
  16524. "type": "integer"
  16525. },
  16526. "quoteid": {
  16527. "description": "报价单ID",
  16528. "type": "integer"
  16529. },
  16530. "relatedid": {
  16531. "description": "关联单号(交割单)",
  16532. "type": "integer"
  16533. },
  16534. "retcode": {
  16535. "description": "错误代码",
  16536. "type": "integer"
  16537. },
  16538. "sessionid": {
  16539. "description": "会话ID",
  16540. "type": "integer"
  16541. },
  16542. "strorderid": {
  16543. "description": "委托单号",
  16544. "type": "string"
  16545. },
  16546. "tradedate": {
  16547. "description": "交易日(yyyyMMdd)",
  16548. "type": "string"
  16549. },
  16550. "tradeproperty": {
  16551. "description": "交易属性",
  16552. "type": "integer"
  16553. },
  16554. "tradeqty": {
  16555. "description": "成交数量",
  16556. "type": "integer"
  16557. },
  16558. "unfreezecharge": {
  16559. "description": "解冻手续费",
  16560. "type": "number"
  16561. },
  16562. "unfreezemargin": {
  16563. "description": "解冻保证金",
  16564. "type": "number"
  16565. },
  16566. "updatetime": {
  16567. "description": "更新时间",
  16568. "type": "string"
  16569. },
  16570. "uuid": {
  16571. "description": "发起端唯一id",
  16572. "type": "string"
  16573. },
  16574. "validtime": {
  16575. "description": "有效期限",
  16576. "type": "string"
  16577. },
  16578. "validtype": {
  16579. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  16580. "type": "integer"
  16581. },
  16582. "volumetype": {
  16583. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  16584. "type": "integer"
  16585. }
  16586. }
  16587. },
  16588. "cptrade.QueryMyCPTradeGoodsRsp": {
  16589. "type": "object",
  16590. "required": [
  16591. "goodscode",
  16592. "goodsid",
  16593. "goodsname",
  16594. "marketid",
  16595. "relatedgoodscode",
  16596. "relatedgoodsname"
  16597. ],
  16598. "properties": {
  16599. "accountid": {
  16600. "description": "卖方账户ID",
  16601. "type": "integer"
  16602. },
  16603. "agreeunit": {
  16604. "description": "合约单位",
  16605. "type": "number"
  16606. },
  16607. "applyid": {
  16608. "description": "关联申请ID",
  16609. "type": "integer"
  16610. },
  16611. "attachmenturl": {
  16612. "description": "附件地址",
  16613. "type": "string"
  16614. },
  16615. "createtime": {
  16616. "description": "创建时间",
  16617. "type": "string"
  16618. },
  16619. "currencyid": {
  16620. "description": "报价货币ID",
  16621. "type": "integer"
  16622. },
  16623. "decimalplace": {
  16624. "description": "报价小数位",
  16625. "type": "integer"
  16626. },
  16627. "endtime": {
  16628. "description": "预售结束时间",
  16629. "type": "string"
  16630. },
  16631. "floorprice": {
  16632. "description": "底价[大宗式竞拍]",
  16633. "type": "number"
  16634. },
  16635. "goodscode": {
  16636. "description": "商品代码(预售)",
  16637. "type": "string"
  16638. },
  16639. "goodsdetail": {
  16640. "description": "详情[大宗]",
  16641. "type": "string"
  16642. },
  16643. "goodsid": {
  16644. "description": "商品ID(自增ID SEQ_GOODS)",
  16645. "type": "integer"
  16646. },
  16647. "goodsname": {
  16648. "description": "商品名称(预售)",
  16649. "type": "string"
  16650. },
  16651. "goodunit": {
  16652. "description": "报价单位",
  16653. "type": "string"
  16654. },
  16655. "goodunitid": {
  16656. "description": "报价单位ID",
  16657. "type": "integer"
  16658. },
  16659. "marketid": {
  16660. "description": "所属市场ID",
  16661. "type": "integer"
  16662. },
  16663. "marketname": {
  16664. "description": "预售市场名称",
  16665. "type": "string"
  16666. },
  16667. "presaledamount": {
  16668. "description": "已预售总金额(预售结束时更新)",
  16669. "type": "number"
  16670. },
  16671. "presaledqty": {
  16672. "description": "已预售量(预售结束时更新)",
  16673. "type": "integer"
  16674. },
  16675. "presalemode": {
  16676. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  16677. "type": "integer"
  16678. },
  16679. "presaleqty": {
  16680. "description": "预售数量",
  16681. "type": "integer"
  16682. },
  16683. "refprice": {
  16684. "description": "参考价格[一口价]",
  16685. "type": "number"
  16686. },
  16687. "relatedgoodscode": {
  16688. "description": "商品代码(订单)",
  16689. "type": "string"
  16690. },
  16691. "relatedgoodsid": {
  16692. "description": "关联交易合约ID",
  16693. "type": "integer"
  16694. },
  16695. "relatedgoodsname": {
  16696. "description": "商品名称(订单)",
  16697. "type": "string"
  16698. },
  16699. "relatedmarketid": {
  16700. "description": "关联交易合约市场ID",
  16701. "type": "integer"
  16702. },
  16703. "sellstatus": {
  16704. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  16705. "type": "integer"
  16706. },
  16707. "startprice": {
  16708. "description": "起拍价[大宗式竞拍]",
  16709. "type": "number"
  16710. },
  16711. "starttime": {
  16712. "description": "预售开始时间",
  16713. "type": "string"
  16714. },
  16715. "tradedate": {
  16716. "description": "交易日(yyyyMMdd)",
  16717. "type": "string"
  16718. },
  16719. "tradeprice": {
  16720. "description": "成交价[大宗]",
  16721. "type": "number"
  16722. },
  16723. "userid": {
  16724. "description": "卖方用户ID",
  16725. "type": "integer"
  16726. }
  16727. }
  16728. },
  16729. "cptrade.QueryPresaleGoodsExRsp": {
  16730. "type": "object",
  16731. "required": [
  16732. "goodsid"
  16733. ],
  16734. "properties": {
  16735. "attachmenturl": {
  16736. "description": "附件地址",
  16737. "type": "string"
  16738. },
  16739. "createtime": {
  16740. "description": "创建时间",
  16741. "type": "string"
  16742. },
  16743. "endtime": {
  16744. "description": "预售结束时间",
  16745. "type": "string"
  16746. },
  16747. "floorprice": {
  16748. "description": "底价[大宗式竞拍]",
  16749. "type": "number"
  16750. },
  16751. "goodsdetail": {
  16752. "description": "详情[大宗]",
  16753. "type": "string"
  16754. },
  16755. "goodsid": {
  16756. "description": "商品ID(预售)",
  16757. "type": "integer"
  16758. },
  16759. "goodunit": {
  16760. "description": "报价单位",
  16761. "type": "string"
  16762. },
  16763. "marketid": {
  16764. "description": "预售市场ID - 根据预售模式选择市场",
  16765. "type": "integer"
  16766. },
  16767. "presaledamount": {
  16768. "description": "已预售总金额(预售结束时更新)",
  16769. "type": "number"
  16770. },
  16771. "presaledqty": {
  16772. "description": "已预售量(预售结束时更新)",
  16773. "type": "integer"
  16774. },
  16775. "presalemode": {
  16776. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  16777. "type": "integer"
  16778. },
  16779. "presaleqty": {
  16780. "description": "预售数量",
  16781. "type": "integer"
  16782. },
  16783. "refprice": {
  16784. "description": "参考价格[一口价]",
  16785. "type": "number"
  16786. },
  16787. "relatedgoodsid": {
  16788. "description": "关联交易合约ID",
  16789. "type": "integer"
  16790. },
  16791. "relatedmarketid": {
  16792. "description": "关联交易合约市场ID",
  16793. "type": "integer"
  16794. },
  16795. "sellstatus": {
  16796. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  16797. "type": "integer"
  16798. },
  16799. "startprice": {
  16800. "description": "起拍价[大宗式竞拍]",
  16801. "type": "number"
  16802. },
  16803. "starttime": {
  16804. "description": "预售开始时间",
  16805. "type": "string"
  16806. },
  16807. "tradedate": {
  16808. "description": "交易日(yyyyMMdd)",
  16809. "type": "string"
  16810. },
  16811. "tradeprice": {
  16812. "description": "成交价[大宗]",
  16813. "type": "number"
  16814. }
  16815. }
  16816. },
  16817. "delivery.QueryDeliveryRelationRsp": {
  16818. "type": "object",
  16819. "required": [
  16820. "begindate",
  16821. "enddate",
  16822. "goodsid",
  16823. "mindeliveryqty",
  16824. "xdeliveryratio"
  16825. ],
  16826. "properties": {
  16827. "begindate": {
  16828. "description": "起始日期(yyyyMMdd)",
  16829. "type": "string"
  16830. },
  16831. "buytemplateid": {
  16832. "description": "买履约计划模板ID",
  16833. "type": "integer"
  16834. },
  16835. "deliverygoodscode": {
  16836. "description": "品种代码",
  16837. "type": "string"
  16838. },
  16839. "deliverygoodsid": {
  16840. "description": "交割商品",
  16841. "type": "integer"
  16842. },
  16843. "deliverygoodsname": {
  16844. "description": "品种名称",
  16845. "type": "string"
  16846. },
  16847. "deliverymode": {
  16848. "description": "交割方式 - 1:点选式 2:申报式",
  16849. "type": "integer"
  16850. },
  16851. "deliverypricerule": {
  16852. "description": "交割价规则- 1:行情价 2:建仓价",
  16853. "type": "integer"
  16854. },
  16855. "deliverytype": {
  16856. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  16857. "type": "integer"
  16858. },
  16859. "enddate": {
  16860. "description": "结束日期(yyyyMMdd)",
  16861. "type": "string"
  16862. },
  16863. "enumdicname": {
  16864. "description": "品类单位名称",
  16865. "type": "string"
  16866. },
  16867. "goodscode": {
  16868. "description": "商品代码",
  16869. "type": "string"
  16870. },
  16871. "goodsid": {
  16872. "description": "交易合约ID",
  16873. "type": "integer"
  16874. },
  16875. "goodsname": {
  16876. "description": "商品名称",
  16877. "type": "string"
  16878. },
  16879. "marketid": {
  16880. "description": "市场ID",
  16881. "type": "integer"
  16882. },
  16883. "mindeliveryqty": {
  16884. "description": "最小交割系数(K)",
  16885. "type": "integer"
  16886. },
  16887. "p2deliveryprice": {
  16888. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  16889. "type": "number"
  16890. },
  16891. "p2deliveryratio": {
  16892. "description": "P2合约系数(p)",
  16893. "type": "integer"
  16894. },
  16895. "p2goodsid": {
  16896. "description": "P2合约ID",
  16897. "type": "integer"
  16898. },
  16899. "p2pricemode": {
  16900. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  16901. "type": "integer"
  16902. },
  16903. "pdeliveryprice": {
  16904. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  16905. "type": "number"
  16906. },
  16907. "pdeliveryratio": {
  16908. "description": "P合约系数(n)",
  16909. "type": "integer"
  16910. },
  16911. "pgoodscode": {
  16912. "description": "p合约代码",
  16913. "type": "string"
  16914. },
  16915. "pgoodsid": {
  16916. "description": "P合约ID",
  16917. "type": "integer"
  16918. },
  16919. "ppricemode": {
  16920. "description": "P合约价格方式 - 1:商品价 2:固定值",
  16921. "type": "integer"
  16922. },
  16923. "rratio": {
  16924. "description": "兑换系数(R)",
  16925. "type": "integer"
  16926. },
  16927. "rratio1": {
  16928. "description": "兑换系数(交易合约)(R1)",
  16929. "type": "integer"
  16930. },
  16931. "rratio2": {
  16932. "description": "兑换系数(仓单标准)(R2)",
  16933. "type": "integer"
  16934. },
  16935. "selltemplateid": {
  16936. "description": "卖履约计划模板ID",
  16937. "type": "integer"
  16938. },
  16939. "wrstandardid": {
  16940. "description": "仓单标准ID",
  16941. "type": "integer"
  16942. },
  16943. "xdeliveryratio": {
  16944. "description": "交易合约系数(m)",
  16945. "type": "integer"
  16946. }
  16947. }
  16948. },
  16949. "ermcp.ExposureDetailRsp": {
  16950. "type": "object",
  16951. "properties": {
  16952. "areauserid": {
  16953. "description": "机构ID",
  16954. "type": "integer"
  16955. },
  16956. "changeQty": {
  16957. "description": "套保变动量",
  16958. "type": "number"
  16959. },
  16960. "contracttype": {
  16961. "description": "现货合同类型 - 1:采购 -1:销售",
  16962. "type": "integer"
  16963. },
  16964. "convertfactor": {
  16965. "description": "标仓系数",
  16966. "type": "number"
  16967. },
  16968. "convertratio": {
  16969. "description": "套保系数",
  16970. "type": "number"
  16971. },
  16972. "createtime": {
  16973. "description": "时间",
  16974. "type": "string"
  16975. },
  16976. "enumdicname": {
  16977. "description": "现货商品单位名称",
  16978. "type": "string"
  16979. },
  16980. "logtype": {
  16981. "description": "类型 - 1:套保计划 2:现货合同",
  16982. "type": "integer"
  16983. },
  16984. "middlegoodsId": {
  16985. "description": "套保商品id",
  16986. "type": "integer"
  16987. },
  16988. "middlegoodscode": {
  16989. "description": "套保商品代码",
  16990. "type": "string"
  16991. },
  16992. "middlegoodsname": {
  16993. "description": "套保商品名称",
  16994. "type": "string"
  16995. },
  16996. "qty": {
  16997. "description": "数量",
  16998. "type": "number"
  16999. },
  17000. "relateNo": {
  17001. "description": "现货合同/套保计划编号",
  17002. "type": "string"
  17003. },
  17004. "wrstandardcode": {
  17005. "description": "现货商品代码",
  17006. "type": "string"
  17007. },
  17008. "wrstandardid": {
  17009. "description": "现货商品ID",
  17010. "type": "integer"
  17011. },
  17012. "wrstandardname": {
  17013. "description": "现货商品名称",
  17014. "type": "string"
  17015. }
  17016. }
  17017. },
  17018. "ermcp.ExposureHedgePosDetailRsp": {
  17019. "type": "object",
  17020. "properties": {
  17021. "buyorsell": {
  17022. "description": "买卖方向 0-买 1-卖",
  17023. "type": "integer"
  17024. },
  17025. "channelbuildtype": {
  17026. "description": "开平方向 1-建仓 2-平仓",
  17027. "type": "integer"
  17028. },
  17029. "goodscode": {
  17030. "description": "商品代码",
  17031. "type": "string"
  17032. },
  17033. "goodsname": {
  17034. "description": "商品名称",
  17035. "type": "string"
  17036. },
  17037. "hedgegoodsid": {
  17038. "description": "商品id",
  17039. "type": "integer"
  17040. },
  17041. "tradeqty": {
  17042. "description": "数量(成交数量)",
  17043. "type": "integer"
  17044. },
  17045. "tradetime": {
  17046. "description": "时间(成交时间)",
  17047. "type": "string"
  17048. }
  17049. }
  17050. },
  17051. "ermcp.ExposureHedgePositionRsp": {
  17052. "type": "object",
  17053. "properties": {
  17054. "accountid": {
  17055. "description": "资金账号[外部母账户]",
  17056. "type": "integer"
  17057. },
  17058. "curbuyposition": {
  17059. "description": "期末买头寸",
  17060. "type": "integer"
  17061. },
  17062. "cursellposition": {
  17063. "description": "期末卖头寸",
  17064. "type": "integer"
  17065. },
  17066. "curtdbuyposition": {
  17067. "description": "期末今日买头寸",
  17068. "type": "integer"
  17069. },
  17070. "curtdsellposition": {
  17071. "description": "期末今日卖头寸",
  17072. "type": "integer"
  17073. },
  17074. "curydbuyposition": {
  17075. "description": "期末上日买头寸",
  17076. "type": "integer"
  17077. },
  17078. "curydsellposition": {
  17079. "description": "期末上日卖头寸",
  17080. "type": "integer"
  17081. },
  17082. "decreaseqty": {
  17083. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  17084. "type": "integer"
  17085. },
  17086. "fretdbuyposition": {
  17087. "description": "冻结今日买头寸",
  17088. "type": "integer"
  17089. },
  17090. "fretdsellposition": {
  17091. "description": "冻结今日卖头寸",
  17092. "type": "integer"
  17093. },
  17094. "freydbuyposition": {
  17095. "description": "冻结上日买头寸",
  17096. "type": "integer"
  17097. },
  17098. "freydsellposition": {
  17099. "description": "冻结上日卖头寸",
  17100. "type": "integer"
  17101. },
  17102. "goodscode": {
  17103. "description": "商品代码",
  17104. "type": "string"
  17105. },
  17106. "goodsid": {
  17107. "description": "商品id",
  17108. "type": "integer"
  17109. },
  17110. "goodsname": {
  17111. "description": "商品名称",
  17112. "type": "string"
  17113. },
  17114. "hedgeaccountcode": {
  17115. "description": "对冲账号",
  17116. "type": "string"
  17117. },
  17118. "hedgegoodsid": {
  17119. "description": "对冲合约ID",
  17120. "type": "integer"
  17121. },
  17122. "increaseqty": {
  17123. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  17124. "type": "integer"
  17125. },
  17126. "marketid": {
  17127. "description": "市场ID",
  17128. "type": "integer"
  17129. },
  17130. "relateduserid": {
  17131. "description": "关联用户id",
  17132. "type": "integer"
  17133. },
  17134. "totalcurqty": {
  17135. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  17136. "type": "integer"
  17137. },
  17138. "totalydqty": {
  17139. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  17140. "type": "integer"
  17141. },
  17142. "tradedate": {
  17143. "description": "交易日(yyyyMMdd)",
  17144. "type": "string"
  17145. },
  17146. "ydbuyposition": {
  17147. "description": "期初买头寸",
  17148. "type": "integer"
  17149. },
  17150. "ydsellposition": {
  17151. "description": "期初卖头寸",
  17152. "type": "integer"
  17153. }
  17154. }
  17155. },
  17156. "ermcp.ExposureSpotDetailRsp": {
  17157. "type": "object",
  17158. "properties": {
  17159. "contracttype": {
  17160. "description": "合同类型 1-采购 -1-销售",
  17161. "type": "integer"
  17162. },
  17163. "createtime": {
  17164. "description": "创建时间",
  17165. "type": "string"
  17166. },
  17167. "enumdicname": {
  17168. "description": "现货商品单位名称",
  17169. "type": "string"
  17170. },
  17171. "logtype": {
  17172. "description": "记录类型 1-套保 2-现货合同",
  17173. "type": "integer"
  17174. },
  17175. "qty": {
  17176. "description": "数量",
  17177. "type": "number"
  17178. },
  17179. "recordname": {
  17180. "description": "类型名称",
  17181. "type": "string"
  17182. },
  17183. "relatedid": {
  17184. "description": "套保计划ID/现货合同ID",
  17185. "type": "string"
  17186. },
  17187. "relatedno": {
  17188. "description": "编号",
  17189. "type": "string"
  17190. },
  17191. "strtime": {
  17192. "description": "时间",
  17193. "type": "string"
  17194. },
  17195. "wrstandardcode": {
  17196. "description": "现货商品代码",
  17197. "type": "string"
  17198. },
  17199. "wrstandardname": {
  17200. "description": "现货商品名称",
  17201. "type": "string"
  17202. }
  17203. }
  17204. },
  17205. "ermcp.ExposureSpotRsp": {
  17206. "type": "object",
  17207. "properties": {
  17208. "areauserid": {
  17209. "description": "所属机构",
  17210. "type": "integer"
  17211. },
  17212. "decreaseqty": {
  17213. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  17214. "type": "number"
  17215. },
  17216. "increaseqty": {
  17217. "description": "增加数量=销售计划数量+采购已定价数量",
  17218. "type": "number"
  17219. },
  17220. "oritoalspotqty": {
  17221. "description": "昨日数量",
  17222. "type": "number"
  17223. },
  17224. "totalspotqty": {
  17225. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  17226. "type": "number"
  17227. },
  17228. "updatetime": {
  17229. "description": "更新时间",
  17230. "type": "string"
  17231. },
  17232. "wrstandardcode": {
  17233. "description": "现货品种代码",
  17234. "type": "string"
  17235. },
  17236. "wrstandardid": {
  17237. "description": "现货商品ID",
  17238. "type": "integer"
  17239. },
  17240. "wrstandardname": {
  17241. "description": "现货品种",
  17242. "type": "string"
  17243. }
  17244. }
  17245. },
  17246. "ermcp.HisExposureRsp": {
  17247. "type": "object",
  17248. "properties": {
  17249. "data": {
  17250. "description": "历史敞口",
  17251. "type": "array",
  17252. "items": {
  17253. "$ref": "#/definitions/models.ErmcpHisExposure"
  17254. }
  17255. },
  17256. "enumdicname": {
  17257. "description": "单位名称",
  17258. "type": "string"
  17259. },
  17260. "middlegoodscode": {
  17261. "description": "套保品种代码",
  17262. "type": "string"
  17263. },
  17264. "middlegoodsid": {
  17265. "description": "套保品种ID",
  17266. "type": "integer"
  17267. },
  17268. "middlegoodsname": {
  17269. "description": "套保品种名称",
  17270. "type": "string"
  17271. }
  17272. }
  17273. },
  17274. "ermcp.PendingAuditCntRsp": {
  17275. "type": "object",
  17276. "properties": {
  17277. "areastockqty": {
  17278. "description": "待审核数量: 库存申请",
  17279. "type": "integer"
  17280. },
  17281. "businessdjqty": {
  17282. "description": "待审核数量: 点价",
  17283. "type": "integer"
  17284. },
  17285. "businessfpqty": {
  17286. "description": "待审核数量: 发票",
  17287. "type": "integer"
  17288. },
  17289. "businessjsqty": {
  17290. "description": "待审核数量: 结算",
  17291. "type": "integer"
  17292. },
  17293. "businesskxqty": {
  17294. "description": "待审核数量: 款项",
  17295. "type": "integer"
  17296. },
  17297. "hedgeplanqty": {
  17298. "description": "待审核数量: 套保计划",
  17299. "type": "integer"
  17300. },
  17301. "spotcontractqty": {
  17302. "description": "待审核数量: 现货合同",
  17303. "type": "integer"
  17304. },
  17305. "userqty": {
  17306. "description": "待审核数量: 用户",
  17307. "type": "integer"
  17308. }
  17309. }
  17310. },
  17311. "ermcp.QryAvalidGPRsp": {
  17312. "type": "object",
  17313. "properties": {
  17314. "goodsgroupid": {
  17315. "description": "期货品种id",
  17316. "type": "integer"
  17317. },
  17318. "goodsgroupname": {
  17319. "description": "期货品种名称",
  17320. "type": "string"
  17321. },
  17322. "goodunitid": {
  17323. "description": "品种单位id",
  17324. "type": "integer"
  17325. },
  17326. "goodunitname": {
  17327. "description": "品种单位名称",
  17328. "type": "string"
  17329. },
  17330. "outergroupcode": {
  17331. "description": "期货品种代码",
  17332. "type": "string"
  17333. }
  17334. }
  17335. },
  17336. "ermcp.QryBusinessDjRsp": {
  17337. "type": "object",
  17338. "properties": {
  17339. "amount": {
  17340. "description": "点价金额=(点价价格+升贴水)*点价数量",
  17341. "type": "number"
  17342. },
  17343. "applyid": {
  17344. "description": "申请人",
  17345. "type": "string"
  17346. },
  17347. "applyname": {
  17348. "description": "申请人名称",
  17349. "type": "string"
  17350. },
  17351. "applystatus": {
  17352. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  17353. "type": "integer"
  17354. },
  17355. "applytime": {
  17356. "description": "申请时间",
  17357. "type": "string"
  17358. },
  17359. "attachurl": {
  17360. "description": "附件",
  17361. "type": "string"
  17362. },
  17363. "auditid": {
  17364. "description": "审核人ID",
  17365. "type": "string"
  17366. },
  17367. "auditname": {
  17368. "description": "审核人名称",
  17369. "type": "string"
  17370. },
  17371. "auditremark": {
  17372. "description": "审核备注",
  17373. "type": "string"
  17374. },
  17375. "audittime": {
  17376. "description": "审核时间",
  17377. "type": "string"
  17378. },
  17379. "buyusername": {
  17380. "description": "采购方名称",
  17381. "type": "string"
  17382. },
  17383. "contractno": {
  17384. "description": "合同编号",
  17385. "type": "string"
  17386. },
  17387. "contractstatus": {
  17388. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  17389. "type": "integer"
  17390. },
  17391. "contracttype": {
  17392. "description": "现货合同类型 - 1:采购 -1:销售",
  17393. "type": "integer"
  17394. },
  17395. "deliverygoodscode": {
  17396. "description": "现货品种代码",
  17397. "type": "string"
  17398. },
  17399. "deliverygoodsid": {
  17400. "description": "现货商品ID",
  17401. "type": "integer"
  17402. },
  17403. "deliverygoodsname": {
  17404. "description": "现货品种名称",
  17405. "type": "string"
  17406. },
  17407. "enumdicname": {
  17408. "description": "单位名称",
  17409. "type": "string"
  17410. },
  17411. "goodscode": {
  17412. "description": "点价合约",
  17413. "type": "string"
  17414. },
  17415. "goodsname": {
  17416. "description": "商品名称",
  17417. "type": "string"
  17418. },
  17419. "operateapplyid": {
  17420. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  17421. "type": "string"
  17422. },
  17423. "operateapplytype": {
  17424. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  17425. "type": "integer"
  17426. },
  17427. "pricedPrice": {
  17428. "description": "点价价格(非必填)",
  17429. "type": "number"
  17430. },
  17431. "pricedQty": {
  17432. "description": "点价数量(非必填)",
  17433. "type": "number"
  17434. },
  17435. "pricemove": {
  17436. "description": "升贴水",
  17437. "type": "number"
  17438. },
  17439. "pricetype": {
  17440. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  17441. "type": "integer"
  17442. },
  17443. "relatedid": {
  17444. "description": "现货合同ID",
  17445. "type": "string"
  17446. },
  17447. "sellusername": {
  17448. "description": "销售方名字",
  17449. "type": "string"
  17450. },
  17451. "userid": {
  17452. "description": "用户ID",
  17453. "type": "integer"
  17454. },
  17455. "wrstandardcode": {
  17456. "description": "品类代码",
  17457. "type": "string"
  17458. },
  17459. "wrstandardid": {
  17460. "description": "品类id",
  17461. "type": "integer"
  17462. },
  17463. "wrstandardname": {
  17464. "description": "品类名称",
  17465. "type": "string"
  17466. }
  17467. }
  17468. },
  17469. "ermcp.QryBussinessFpRsp": {
  17470. "type": "object",
  17471. "properties": {
  17472. "applyid": {
  17473. "description": "申请人",
  17474. "type": "string"
  17475. },
  17476. "applyname": {
  17477. "description": "申请人名称",
  17478. "type": "string"
  17479. },
  17480. "applystatus": {
  17481. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  17482. "type": "integer"
  17483. },
  17484. "applytime": {
  17485. "description": "申请时间",
  17486. "type": "string"
  17487. },
  17488. "attachurl": {
  17489. "description": "附件",
  17490. "type": "string"
  17491. },
  17492. "auditid": {
  17493. "description": "审核人ID",
  17494. "type": "string"
  17495. },
  17496. "auditname": {
  17497. "description": "审核人名称",
  17498. "type": "string"
  17499. },
  17500. "auditremark": {
  17501. "description": "审核备注",
  17502. "type": "string"
  17503. },
  17504. "audittime": {
  17505. "description": "审核时间",
  17506. "type": "string"
  17507. },
  17508. "buyusername": {
  17509. "description": "采购方名称",
  17510. "type": "string"
  17511. },
  17512. "contractno": {
  17513. "description": "合同编号",
  17514. "type": "string"
  17515. },
  17516. "contractstatus": {
  17517. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  17518. "type": "integer"
  17519. },
  17520. "contracttype": {
  17521. "description": "现货合同类型 - 1:采购 -1:销售",
  17522. "type": "integer"
  17523. },
  17524. "deliverygoodscode": {
  17525. "description": "现货品种代码",
  17526. "type": "string"
  17527. },
  17528. "deliverygoodsid": {
  17529. "description": "现货商品ID",
  17530. "type": "integer"
  17531. },
  17532. "deliverygoodsname": {
  17533. "description": "现货品种名称",
  17534. "type": "string"
  17535. },
  17536. "enumdicname": {
  17537. "description": "单位名称",
  17538. "type": "string"
  17539. },
  17540. "goodscode": {
  17541. "description": "点价合约",
  17542. "type": "string"
  17543. },
  17544. "goodsname": {
  17545. "description": "商品名称",
  17546. "type": "string"
  17547. },
  17548. "invoiceamount": {
  17549. "description": "已开收票金额(销售为开票,采购为收票)",
  17550. "type": "number"
  17551. },
  17552. "operateapplyid": {
  17553. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  17554. "type": "string"
  17555. },
  17556. "operateapplytype": {
  17557. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  17558. "type": "integer"
  17559. },
  17560. "pricemove": {
  17561. "description": "升贴水",
  17562. "type": "number"
  17563. },
  17564. "pricetype": {
  17565. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  17566. "type": "integer"
  17567. },
  17568. "relatedid": {
  17569. "description": "现货合同ID",
  17570. "type": "string"
  17571. },
  17572. "sellusername": {
  17573. "description": "销售方名字",
  17574. "type": "string"
  17575. },
  17576. "userid": {
  17577. "description": "用户ID",
  17578. "type": "integer"
  17579. },
  17580. "wrstandardcode": {
  17581. "description": "品类代码",
  17582. "type": "string"
  17583. },
  17584. "wrstandardid": {
  17585. "description": "品类id",
  17586. "type": "integer"
  17587. },
  17588. "wrstandardname": {
  17589. "description": "品类名称",
  17590. "type": "string"
  17591. }
  17592. }
  17593. },
  17594. "ermcp.QryBussinessJsExRsp": {
  17595. "type": "object",
  17596. "properties": {
  17597. "applyid": {
  17598. "description": "申请人",
  17599. "type": "string"
  17600. },
  17601. "applyname": {
  17602. "description": "申请人名称",
  17603. "type": "string"
  17604. },
  17605. "applystatus": {
  17606. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  17607. "type": "integer"
  17608. },
  17609. "applytime": {
  17610. "description": "申请时间",
  17611. "type": "string"
  17612. },
  17613. "attachurl": {
  17614. "description": "附件",
  17615. "type": "string"
  17616. },
  17617. "auditid": {
  17618. "description": "审核人ID",
  17619. "type": "string"
  17620. },
  17621. "auditname": {
  17622. "description": "审核人名称",
  17623. "type": "string"
  17624. },
  17625. "auditremark": {
  17626. "description": "审核备注",
  17627. "type": "string"
  17628. },
  17629. "audittime": {
  17630. "description": "审核时间",
  17631. "type": "string"
  17632. },
  17633. "buyusername": {
  17634. "description": "采购方名称",
  17635. "type": "string"
  17636. },
  17637. "contractno": {
  17638. "description": "合同编号",
  17639. "type": "string"
  17640. },
  17641. "contractstatus": {
  17642. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  17643. "type": "integer"
  17644. },
  17645. "contracttype": {
  17646. "description": "现货合同类型 - 1:采购 -1:销售",
  17647. "type": "integer"
  17648. },
  17649. "deliverygoodscode": {
  17650. "description": "现货品种代码",
  17651. "type": "string"
  17652. },
  17653. "deliverygoodsid": {
  17654. "description": "现货商品ID",
  17655. "type": "integer"
  17656. },
  17657. "deliverygoodsname": {
  17658. "description": "现货品种名称",
  17659. "type": "string"
  17660. },
  17661. "enumdicname": {
  17662. "description": "单位名称",
  17663. "type": "string"
  17664. },
  17665. "goodscode": {
  17666. "description": "点价合约",
  17667. "type": "string"
  17668. },
  17669. "goodsname": {
  17670. "description": "商品名称",
  17671. "type": "string"
  17672. },
  17673. "operateapplyid": {
  17674. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  17675. "type": "string"
  17676. },
  17677. "operateapplytype": {
  17678. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  17679. "type": "integer"
  17680. },
  17681. "pricemove": {
  17682. "description": "升贴水",
  17683. "type": "number"
  17684. },
  17685. "pricetype": {
  17686. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  17687. "type": "integer"
  17688. },
  17689. "reckontype": {
  17690. "description": "结算类型",
  17691. "type": "string"
  17692. },
  17693. "reckonvalue": {
  17694. "description": "值",
  17695. "type": "number"
  17696. },
  17697. "relatedid": {
  17698. "description": "现货合同ID",
  17699. "type": "string"
  17700. },
  17701. "sellusername": {
  17702. "description": "销售方名字",
  17703. "type": "string"
  17704. },
  17705. "userid": {
  17706. "description": "用户ID",
  17707. "type": "integer"
  17708. },
  17709. "wrstandardcode": {
  17710. "description": "品类代码",
  17711. "type": "string"
  17712. },
  17713. "wrstandardid": {
  17714. "description": "品类id",
  17715. "type": "integer"
  17716. },
  17717. "wrstandardname": {
  17718. "description": "品类名称",
  17719. "type": "string"
  17720. }
  17721. }
  17722. },
  17723. "ermcp.QryBussinessJsRsp": {
  17724. "type": "object",
  17725. "properties": {
  17726. "addmargin": {
  17727. "description": "追加保证金(非必填)",
  17728. "type": "number"
  17729. },
  17730. "applyid": {
  17731. "description": "申请人",
  17732. "type": "string"
  17733. },
  17734. "applyname": {
  17735. "description": "申请人名称",
  17736. "type": "string"
  17737. },
  17738. "applystatus": {
  17739. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  17740. "type": "integer"
  17741. },
  17742. "applytime": {
  17743. "description": "申请时间",
  17744. "type": "string"
  17745. },
  17746. "attachurl": {
  17747. "description": "附件",
  17748. "type": "string"
  17749. },
  17750. "auditid": {
  17751. "description": "审核人ID",
  17752. "type": "string"
  17753. },
  17754. "auditname": {
  17755. "description": "审核人名称",
  17756. "type": "string"
  17757. },
  17758. "auditremark": {
  17759. "description": "审核备注",
  17760. "type": "string"
  17761. },
  17762. "audittime": {
  17763. "description": "审核时间",
  17764. "type": "string"
  17765. },
  17766. "buyusername": {
  17767. "description": "采购方名称",
  17768. "type": "string"
  17769. },
  17770. "contractno": {
  17771. "description": "合同编号",
  17772. "type": "string"
  17773. },
  17774. "contractstatus": {
  17775. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  17776. "type": "integer"
  17777. },
  17778. "contracttype": {
  17779. "description": "现货合同类型 - 1:采购 -1:销售",
  17780. "type": "integer"
  17781. },
  17782. "decmargin": {
  17783. "description": "减少保证金(非必填)",
  17784. "type": "number"
  17785. },
  17786. "deliverygoodscode": {
  17787. "description": "现货品种代码",
  17788. "type": "string"
  17789. },
  17790. "deliverygoodsid": {
  17791. "description": "现货商品ID",
  17792. "type": "integer"
  17793. },
  17794. "deliverygoodsname": {
  17795. "description": "现货品种名称",
  17796. "type": "string"
  17797. },
  17798. "enumdicname": {
  17799. "description": "单位名称",
  17800. "type": "string"
  17801. },
  17802. "goodscode": {
  17803. "description": "点价合约",
  17804. "type": "string"
  17805. },
  17806. "goodsname": {
  17807. "description": "商品名称",
  17808. "type": "string"
  17809. },
  17810. "operateapplyid": {
  17811. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  17812. "type": "string"
  17813. },
  17814. "operateapplytype": {
  17815. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  17816. "type": "integer"
  17817. },
  17818. "pricemove": {
  17819. "description": "升贴水",
  17820. "type": "number"
  17821. },
  17822. "pricetype": {
  17823. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  17824. "type": "integer"
  17825. },
  17826. "reckonadjustamount": {
  17827. "description": "结算调整金额(非必填)",
  17828. "type": "number"
  17829. },
  17830. "reckonosamount": {
  17831. "description": "结算溢短金额(非必填)",
  17832. "type": "number"
  17833. },
  17834. "reckonotheramount": {
  17835. "description": "结算其他费用(非必填)",
  17836. "type": "number"
  17837. },
  17838. "reckonrealqty": {
  17839. "description": "结算实际数量(非必填)",
  17840. "type": "number"
  17841. },
  17842. "relatedid": {
  17843. "description": "现货合同ID",
  17844. "type": "string"
  17845. },
  17846. "sellusername": {
  17847. "description": "销售方名字",
  17848. "type": "string"
  17849. },
  17850. "userid": {
  17851. "description": "用户ID",
  17852. "type": "integer"
  17853. },
  17854. "wrstandardcode": {
  17855. "description": "品类代码",
  17856. "type": "string"
  17857. },
  17858. "wrstandardid": {
  17859. "description": "品类id",
  17860. "type": "integer"
  17861. },
  17862. "wrstandardname": {
  17863. "description": "品类名称",
  17864. "type": "string"
  17865. }
  17866. }
  17867. },
  17868. "ermcp.QryBussinessKxRsp": {
  17869. "type": "object",
  17870. "properties": {
  17871. "applyid": {
  17872. "description": "申请人",
  17873. "type": "string"
  17874. },
  17875. "applyname": {
  17876. "description": "申请人名称",
  17877. "type": "string"
  17878. },
  17879. "applystatus": {
  17880. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  17881. "type": "integer"
  17882. },
  17883. "applytime": {
  17884. "description": "申请时间",
  17885. "type": "string"
  17886. },
  17887. "attachurl": {
  17888. "description": "附件",
  17889. "type": "string"
  17890. },
  17891. "auditid": {
  17892. "description": "审核人ID",
  17893. "type": "string"
  17894. },
  17895. "auditname": {
  17896. "description": "审核人名称",
  17897. "type": "string"
  17898. },
  17899. "auditremark": {
  17900. "description": "审核备注",
  17901. "type": "string"
  17902. },
  17903. "audittime": {
  17904. "description": "审核时间",
  17905. "type": "string"
  17906. },
  17907. "buyusername": {
  17908. "description": "采购方名称",
  17909. "type": "string"
  17910. },
  17911. "contractno": {
  17912. "description": "合同编号",
  17913. "type": "string"
  17914. },
  17915. "contractstatus": {
  17916. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  17917. "type": "integer"
  17918. },
  17919. "contracttype": {
  17920. "description": "现货合同类型 - 1:采购 -1:销售",
  17921. "type": "integer"
  17922. },
  17923. "deductamount": {
  17924. "description": "退款(非必填)",
  17925. "type": "number"
  17926. },
  17927. "deliverygoodscode": {
  17928. "description": "现货品种代码",
  17929. "type": "string"
  17930. },
  17931. "deliverygoodsid": {
  17932. "description": "现货商品ID",
  17933. "type": "integer"
  17934. },
  17935. "deliverygoodsname": {
  17936. "description": "现货品种名称",
  17937. "type": "string"
  17938. },
  17939. "enumdicname": {
  17940. "description": "单位名称",
  17941. "type": "string"
  17942. },
  17943. "goodscode": {
  17944. "description": "点价合约",
  17945. "type": "string"
  17946. },
  17947. "goodsname": {
  17948. "description": "商品名称",
  17949. "type": "string"
  17950. },
  17951. "kxtype": {
  17952. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  17953. "type": "integer"
  17954. },
  17955. "operateapplyid": {
  17956. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  17957. "type": "string"
  17958. },
  17959. "operateapplytype": {
  17960. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  17961. "type": "integer"
  17962. },
  17963. "payamount": {
  17964. "description": "收付款(非必填)",
  17965. "type": "number"
  17966. },
  17967. "pricemove": {
  17968. "description": "升贴水",
  17969. "type": "number"
  17970. },
  17971. "pricetype": {
  17972. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  17973. "type": "integer"
  17974. },
  17975. "relatedid": {
  17976. "description": "现货合同ID",
  17977. "type": "string"
  17978. },
  17979. "sellusername": {
  17980. "description": "销售方名字",
  17981. "type": "string"
  17982. },
  17983. "userid": {
  17984. "description": "用户ID",
  17985. "type": "integer"
  17986. },
  17987. "wrstandardcode": {
  17988. "description": "品类代码",
  17989. "type": "string"
  17990. },
  17991. "wrstandardid": {
  17992. "description": "品类id",
  17993. "type": "integer"
  17994. },
  17995. "wrstandardname": {
  17996. "description": "品类名称",
  17997. "type": "string"
  17998. }
  17999. }
  18000. },
  18001. "ermcp.QryGGCovertCfgRsp": {
  18002. "type": "object",
  18003. "properties": {
  18004. "convertratio": {
  18005. "description": "折算系数",
  18006. "type": "number"
  18007. },
  18008. "destgoodsgroupid": {
  18009. "description": "目标品种ID",
  18010. "type": "integer"
  18011. },
  18012. "dstcode": {
  18013. "description": "目录品种代码",
  18014. "type": "string"
  18015. },
  18016. "dstexchangecode": {
  18017. "description": "目标期货交易所",
  18018. "type": "string"
  18019. },
  18020. "dstname": {
  18021. "description": "目标品种名称",
  18022. "type": "string"
  18023. },
  18024. "dstunitid": {
  18025. "description": "目标品种单位ID",
  18026. "type": "integer"
  18027. },
  18028. "dstunitidname": {
  18029. "description": "目标品种单位名称",
  18030. "type": "string"
  18031. },
  18032. "modifytime": {
  18033. "description": "修改时间",
  18034. "type": "string"
  18035. },
  18036. "srccode": {
  18037. "description": "源品种代码",
  18038. "type": "string"
  18039. },
  18040. "srcexchangecode": {
  18041. "description": "源期货交易所",
  18042. "type": "string"
  18043. },
  18044. "srcgoodsgroupid": {
  18045. "description": "源品种ID",
  18046. "type": "integer"
  18047. },
  18048. "srcname": {
  18049. "description": "源品种名称",
  18050. "type": "string"
  18051. },
  18052. "srcunitid": {
  18053. "description": "源品种单位ID",
  18054. "type": "integer"
  18055. },
  18056. "srcunitidname": {
  18057. "description": "源品种单位名称",
  18058. "type": "string"
  18059. }
  18060. }
  18061. },
  18062. "ermcp.QryMGChangeLogRsp": {
  18063. "type": "object",
  18064. "properties": {
  18065. "aftervalue": {
  18066. "description": "变更后",
  18067. "type": "number"
  18068. },
  18069. "applyid": {
  18070. "description": "操作人",
  18071. "type": "integer"
  18072. },
  18073. "applyname": {
  18074. "description": "操作人名称",
  18075. "type": "string"
  18076. },
  18077. "applysrc": {
  18078. "description": "操作来源 - 1:管理端 2:终端",
  18079. "type": "integer"
  18080. },
  18081. "beforevalue": {
  18082. "description": "变更前",
  18083. "type": "number"
  18084. },
  18085. "changelogtype": {
  18086. "description": "变更流水类型 - 1:套保比率变更",
  18087. "type": "integer"
  18088. },
  18089. "handlestatus": {
  18090. "description": "处理状态",
  18091. "type": "integer"
  18092. },
  18093. "logdatetime": {
  18094. "description": "流水日期",
  18095. "type": "string"
  18096. },
  18097. "logid": {
  18098. "description": "流水ID",
  18099. "type": "integer"
  18100. },
  18101. "logremark": {
  18102. "description": "流水备注",
  18103. "type": "string"
  18104. },
  18105. "middlegoodsid": {
  18106. "description": "套保品种ID",
  18107. "type": "integer"
  18108. },
  18109. "tradedate": {
  18110. "description": "交易日(yyyyMMdd)",
  18111. "type": "string"
  18112. },
  18113. "updatetime": {
  18114. "description": "更新时间",
  18115. "type": "string"
  18116. }
  18117. }
  18118. },
  18119. "ermcp.QryMiddleGoodsDetailRsp": {
  18120. "type": "object",
  18121. "properties": {
  18122. "cvList": {
  18123. "description": "期货品种折算列表",
  18124. "type": "array",
  18125. "items": {
  18126. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  18127. }
  18128. },
  18129. "mg": {
  18130. "description": "套保品种基本信息",
  18131. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  18132. },
  18133. "wrcList": {
  18134. "description": "现货品种列表(现货商品折算配置)",
  18135. "type": "array",
  18136. "items": {
  18137. "$ref": "#/definitions/models.WRSConverTDetail"
  18138. }
  18139. }
  18140. }
  18141. },
  18142. "ermcp.QryMiddleGoodsRsp": {
  18143. "type": "object",
  18144. "properties": {
  18145. "areauserid": {
  18146. "description": "机构用户ID",
  18147. "type": "integer"
  18148. },
  18149. "createtime": {
  18150. "description": "修改时间",
  18151. "type": "string"
  18152. },
  18153. "enumdicname": {
  18154. "description": "单位名称",
  18155. "type": "string"
  18156. },
  18157. "evaluateratio": {
  18158. "description": "估价系数",
  18159. "type": "number"
  18160. },
  18161. "goodsgroupid": {
  18162. "description": "关联期货品种ID",
  18163. "type": "integer"
  18164. },
  18165. "goodsunitid": {
  18166. "description": "单位ID",
  18167. "type": "integer"
  18168. },
  18169. "isvalid": {
  18170. "description": "状态 0-无效(停用) 1-有效(正常)",
  18171. "type": "integer"
  18172. },
  18173. "middlegoodscode": {
  18174. "description": "套保品种代码",
  18175. "type": "string"
  18176. },
  18177. "middlegoodsid": {
  18178. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  18179. "type": "integer"
  18180. },
  18181. "middlegoodsname": {
  18182. "description": "套保品种名称",
  18183. "type": "string"
  18184. },
  18185. "modifytime": {
  18186. "description": "修改时间",
  18187. "type": "string"
  18188. },
  18189. "needarbitrageratio": {
  18190. "description": "套利比例",
  18191. "type": "number"
  18192. },
  18193. "needhedgeratio": {
  18194. "description": "套保比率",
  18195. "type": "number"
  18196. },
  18197. "qtydecimalplace": {
  18198. "description": "数量小数位",
  18199. "type": "integer"
  18200. },
  18201. "relatedgoodsid": {
  18202. "description": "关联交易商品ID",
  18203. "type": "integer"
  18204. },
  18205. "relatedgoodstype": {
  18206. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  18207. "type": "integer"
  18208. },
  18209. "remark": {
  18210. "description": "备注",
  18211. "type": "string"
  18212. }
  18213. }
  18214. },
  18215. "ermcp.QryOPLogRsp": {
  18216. "type": "object",
  18217. "properties": {
  18218. "aftervalue": {
  18219. "description": "变更后",
  18220. "type": "number"
  18221. },
  18222. "applyid": {
  18223. "description": "操作人ID",
  18224. "type": "string"
  18225. },
  18226. "applyname": {
  18227. "description": "操作人名称",
  18228. "type": "string"
  18229. },
  18230. "beforevalue": {
  18231. "description": "变更前",
  18232. "type": "number"
  18233. },
  18234. "biztype": {
  18235. "description": "业务类型 - 1:套保计划 2:现货合同",
  18236. "type": "integer"
  18237. },
  18238. "contracttype": {
  18239. "description": "现货合同类型 - 1:采购 -1:销售",
  18240. "type": "integer"
  18241. },
  18242. "logvalue": {
  18243. "description": "数值",
  18244. "type": "number"
  18245. },
  18246. "operatelogtype": {
  18247. "description": "操作流水类型",
  18248. "type": "integer"
  18249. },
  18250. "operatelogtypedesc": {
  18251. "description": "操作流水类型名称",
  18252. "type": "string"
  18253. },
  18254. "relatedid": {
  18255. "description": "现货合同ID\\套保计划",
  18256. "type": "string"
  18257. },
  18258. "updatetime": {
  18259. "description": "更新时间",
  18260. "type": "string"
  18261. }
  18262. }
  18263. },
  18264. "ermcp.QryUserInfoRsp": {
  18265. "type": "object",
  18266. "properties": {
  18267. "address": {
  18268. "description": "通讯地址",
  18269. "type": "string"
  18270. },
  18271. "attachment1": {
  18272. "description": "附件1",
  18273. "type": "string"
  18274. },
  18275. "audittime": {
  18276. "description": "审核时间",
  18277. "type": "string"
  18278. },
  18279. "cardbackphotourl": {
  18280. "description": "证件反面图片地址",
  18281. "type": "string"
  18282. },
  18283. "cardfrontphotourl": {
  18284. "description": "证件正面图片地址",
  18285. "type": "string"
  18286. },
  18287. "cardnum": {
  18288. "description": "证件号码",
  18289. "type": "string"
  18290. },
  18291. "cardtype": {
  18292. "description": "证件类型",
  18293. "type": "integer"
  18294. },
  18295. "cardtypename": {
  18296. "description": "证件类型名称",
  18297. "type": "string"
  18298. },
  18299. "cityid": {
  18300. "description": "市",
  18301. "type": "integer"
  18302. },
  18303. "contactname": {
  18304. "description": "联系人",
  18305. "type": "string"
  18306. },
  18307. "countryid": {
  18308. "description": "国家",
  18309. "type": "integer"
  18310. },
  18311. "createtime": {
  18312. "description": "创建时间",
  18313. "type": "string"
  18314. },
  18315. "customername": {
  18316. "description": "企业名称",
  18317. "type": "string"
  18318. },
  18319. "districtid": {
  18320. "description": "区域",
  18321. "type": "integer"
  18322. },
  18323. "email": {
  18324. "description": "邮件",
  18325. "type": "string"
  18326. },
  18327. "legalpersonname": {
  18328. "description": "法人姓名(企业)",
  18329. "type": "string"
  18330. },
  18331. "memberuserid": {
  18332. "description": "所属机构ID",
  18333. "type": "integer"
  18334. },
  18335. "mobile": {
  18336. "description": "手机号码",
  18337. "type": "string"
  18338. },
  18339. "modifytime": {
  18340. "description": "修改时间",
  18341. "type": "string"
  18342. },
  18343. "nickname": {
  18344. "description": "昵称",
  18345. "type": "string"
  18346. },
  18347. "provinceid": {
  18348. "description": "省",
  18349. "type": "integer"
  18350. },
  18351. "remark": {
  18352. "description": "备注",
  18353. "type": "string"
  18354. },
  18355. "status": {
  18356. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  18357. "type": "integer"
  18358. },
  18359. "statusdesc": {
  18360. "description": "账户状态中文描述",
  18361. "type": "string"
  18362. },
  18363. "taxpayernum": {
  18364. "description": "纳税人识别号",
  18365. "type": "string"
  18366. },
  18367. "telphone": {
  18368. "description": "联系电话",
  18369. "type": "string"
  18370. },
  18371. "userid": {
  18372. "description": "用户ID",
  18373. "type": "integer"
  18374. },
  18375. "userinfotype": {
  18376. "description": "客户类型",
  18377. "type": "string"
  18378. }
  18379. }
  18380. },
  18381. "ermcp.QryWarehouseRsp": {
  18382. "type": "object",
  18383. "properties": {
  18384. "address": {
  18385. "description": "详细地址",
  18386. "type": "string"
  18387. },
  18388. "areauserid": {
  18389. "description": "所属机构",
  18390. "type": "integer"
  18391. },
  18392. "autoid": {
  18393. "description": "自增ID(仓库ID)",
  18394. "type": "integer"
  18395. },
  18396. "cityid": {
  18397. "description": "市",
  18398. "type": "integer"
  18399. },
  18400. "contactname": {
  18401. "description": "联系人",
  18402. "type": "string"
  18403. },
  18404. "contactnum": {
  18405. "description": "联系电话",
  18406. "type": "string"
  18407. },
  18408. "countryid": {
  18409. "description": "国家",
  18410. "type": "integer"
  18411. },
  18412. "createtime": {
  18413. "description": "创建时间",
  18414. "type": "string"
  18415. },
  18416. "districtid": {
  18417. "description": "区",
  18418. "type": "integer"
  18419. },
  18420. "hasvideo": {
  18421. "description": "是否有视频 - 0:无 1:有",
  18422. "type": "integer"
  18423. },
  18424. "provinceid": {
  18425. "description": "省",
  18426. "type": "integer"
  18427. },
  18428. "remark": {
  18429. "description": "审核备注",
  18430. "type": "string"
  18431. },
  18432. "videourl": {
  18433. "description": "视频地址",
  18434. "type": "string"
  18435. },
  18436. "warehousecode": {
  18437. "description": "仓库代码",
  18438. "type": "string"
  18439. },
  18440. "warehousename": {
  18441. "description": "仓库名称",
  18442. "type": "string"
  18443. },
  18444. "warehousestatus": {
  18445. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  18446. "type": "integer"
  18447. },
  18448. "warehousetype": {
  18449. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  18450. "type": "integer"
  18451. }
  18452. }
  18453. },
  18454. "ermcp.QueryErmcpTradePositionRsp": {
  18455. "type": "object",
  18456. "properties": {
  18457. "agreeunit": {
  18458. "description": "合约单位",
  18459. "type": "number"
  18460. },
  18461. "buyorsell": {
  18462. "description": "方向 - 0:买 1:卖",
  18463. "type": "integer"
  18464. },
  18465. "curpositionqty": {
  18466. "description": "持仓(总仓数量, 期末头寸)",
  18467. "type": "integer"
  18468. },
  18469. "curtdposition": {
  18470. "description": "今仓数量(期末今日头寸)",
  18471. "type": "integer"
  18472. },
  18473. "curtdpositionenabled": {
  18474. "description": "今仓可用",
  18475. "type": "integer"
  18476. },
  18477. "decimalplace": {
  18478. "description": "报价小数位",
  18479. "type": "integer"
  18480. },
  18481. "enableqty": {
  18482. "description": "可用(总仓可用)",
  18483. "type": "integer"
  18484. },
  18485. "exexchangename": {
  18486. "description": "外部交易所名称",
  18487. "type": "string"
  18488. },
  18489. "exexehangecode": {
  18490. "description": "外部交易所代码",
  18491. "type": "string"
  18492. },
  18493. "exexehangeid": {
  18494. "description": "外部交易所id",
  18495. "type": "integer"
  18496. },
  18497. "goodscode": {
  18498. "description": "商品代码(内部)",
  18499. "type": "string"
  18500. },
  18501. "goodsid": {
  18502. "description": "商品ID(自增ID SEQ_GOODS)",
  18503. "type": "integer"
  18504. },
  18505. "goodsname": {
  18506. "description": "商品名称",
  18507. "type": "string"
  18508. },
  18509. "last": {
  18510. "description": "现价",
  18511. "type": "number"
  18512. },
  18513. "marketid": {
  18514. "description": "所属市场ID",
  18515. "type": "integer"
  18516. },
  18517. "openaverageprice": {
  18518. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  18519. "type": "number"
  18520. },
  18521. "opencost": {
  18522. "description": "开仓成本",
  18523. "type": "number"
  18524. },
  18525. "openpl": {
  18526. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  18527. "type": "number"
  18528. },
  18529. "outgoodscode": {
  18530. "description": "商品代码(外部)",
  18531. "type": "string"
  18532. },
  18533. "positionaverageprice": {
  18534. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  18535. "type": "number"
  18536. },
  18537. "positioncost": {
  18538. "description": "持仓成本",
  18539. "type": "number"
  18540. },
  18541. "positionpl": {
  18542. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  18543. "type": "number"
  18544. },
  18545. "positionplrate": {
  18546. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  18547. "type": "number"
  18548. },
  18549. "usedmargin": {
  18550. "description": "占用保证金",
  18551. "type": "number"
  18552. }
  18553. }
  18554. },
  18555. "ermcp.RealtimeExposurePositionRsp": {
  18556. "type": "object",
  18557. "properties": {
  18558. "accountid": {
  18559. "description": "资金账号(只有外部账号才有值, 内部账号是根据userid汇总的)",
  18560. "type": "integer"
  18561. },
  18562. "agreeunit": {
  18563. "description": "合约单位",
  18564. "type": "string"
  18565. },
  18566. "areauserid": {
  18567. "description": "所属机构id",
  18568. "type": "integer"
  18569. },
  18570. "convertratio": {
  18571. "description": "期货品种系数(折算系数)",
  18572. "type": "number"
  18573. },
  18574. "curhedgeqty": {
  18575. "description": "期货套期量 = 当前持仓*期货合约单位*期货品种系数",
  18576. "type": "number"
  18577. },
  18578. "curqty": {
  18579. "description": "当前持仓",
  18580. "type": "integer"
  18581. },
  18582. "diffhedgeqty": {
  18583. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  18584. "type": "number"
  18585. },
  18586. "diffqty": {
  18587. "description": "持仓变动量=当前持仓-昨日持仓",
  18588. "type": "integer"
  18589. },
  18590. "goodscode": {
  18591. "description": "商品代码",
  18592. "type": "string"
  18593. },
  18594. "goodsid": {
  18595. "description": "商品id",
  18596. "type": "integer"
  18597. },
  18598. "goodsname": {
  18599. "description": "商品名称",
  18600. "type": "string"
  18601. },
  18602. "hedgeaccountcode": {
  18603. "description": "对冲账号(只有外部账号才有值)",
  18604. "type": "string"
  18605. },
  18606. "middlegoodscode": {
  18607. "description": "套保商品代码",
  18608. "type": "string"
  18609. },
  18610. "middlegoodsid": {
  18611. "description": "套保商品id",
  18612. "type": "integer"
  18613. },
  18614. "middlegoodsname": {
  18615. "description": "套保商品名称",
  18616. "type": "string"
  18617. },
  18618. "ydqty": {
  18619. "description": "昨日持仓",
  18620. "type": "integer"
  18621. }
  18622. }
  18623. },
  18624. "ermcp.RealtimeExposureRsp": {
  18625. "type": "object",
  18626. "properties": {
  18627. "AreaUserID": {
  18628. "description": "所属机构",
  18629. "type": "integer"
  18630. },
  18631. "BuyFutureQty": {
  18632. "description": "买入期货数量",
  18633. "type": "number"
  18634. },
  18635. "BuyPlanQty": {
  18636. "description": "采购计划数量",
  18637. "type": "number"
  18638. },
  18639. "BuyPricedQty": {
  18640. "description": "采购合同已定价数量",
  18641. "type": "number"
  18642. },
  18643. "MiddleGoodsCode": {
  18644. "description": "套保品种代码",
  18645. "type": "string"
  18646. },
  18647. "MiddleGoodsHedgeRatio": {
  18648. "description": "套保比例",
  18649. "type": "number"
  18650. },
  18651. "MiddleGoodsID": {
  18652. "description": "套保品种",
  18653. "type": "integer"
  18654. },
  18655. "MiddleGoodsName": {
  18656. "description": "套保品种名称",
  18657. "type": "string"
  18658. },
  18659. "NeedHedgeExposoure": {
  18660. "description": "应套保敞口(套保敞口)",
  18661. "type": "number"
  18662. },
  18663. "NeedHedgeRatio": {
  18664. "description": "应套保敞口比例",
  18665. "type": "number"
  18666. },
  18667. "OriBuyFutureQty": {
  18668. "description": "期初买入期货数量",
  18669. "type": "number"
  18670. },
  18671. "OriBuyPlanQty": {
  18672. "description": "期初采购计划数量",
  18673. "type": "number"
  18674. },
  18675. "OriBuyPricedQty": {
  18676. "description": "期初采购合同已定价数量",
  18677. "type": "number"
  18678. },
  18679. "OriSellFutureQty": {
  18680. "description": "期初卖出期货数量",
  18681. "type": "number"
  18682. },
  18683. "OriSellPlanQty": {
  18684. "description": "期初销售计划数量",
  18685. "type": "number"
  18686. },
  18687. "OriSellPricedQty": {
  18688. "description": "期初销售合同已定价数量",
  18689. "type": "number"
  18690. },
  18691. "OriTotalSpotQty": {
  18692. "description": "期初现货总量",
  18693. "type": "number"
  18694. },
  18695. "SellFutureQty": {
  18696. "description": "卖出期货数量",
  18697. "type": "number"
  18698. },
  18699. "SellPlanQty": {
  18700. "description": "销售计划数量",
  18701. "type": "number"
  18702. },
  18703. "SellPricedQty": {
  18704. "description": "销售合同已定价数量",
  18705. "type": "number"
  18706. },
  18707. "TotalExposure": {
  18708. "description": "总敞口 平安:净敞口",
  18709. "type": "number"
  18710. },
  18711. "TotalFutureQty": {
  18712. "description": "期货总量 平安:保值净持仓量",
  18713. "type": "number"
  18714. },
  18715. "TotalHedgeRatio": {
  18716. "description": "敞口比例",
  18717. "type": "number"
  18718. },
  18719. "TotalNeedHedgeQty": {
  18720. "description": "应套保总量(现货应套保总量)",
  18721. "type": "number"
  18722. },
  18723. "TotalSpotQty": {
  18724. "description": "现货总量 平安:采销定价净值",
  18725. "type": "number"
  18726. },
  18727. "arbitrageqty": {
  18728. "description": "套利量",
  18729. "type": "number"
  18730. },
  18731. "diffArbitrageQty": {
  18732. "description": "套利变动量",
  18733. "type": "number"
  18734. },
  18735. "diffExposoureQty": {
  18736. "description": "变动量(套保敞口)",
  18737. "type": "number"
  18738. },
  18739. "diffFutuQty": {
  18740. "description": "变动量(期货总量) 平安:保值净持仓量今日变动",
  18741. "type": "number"
  18742. },
  18743. "diffHedgeQty": {
  18744. "description": "套保变动量",
  18745. "type": "number"
  18746. },
  18747. "diffQty": {
  18748. "description": "变动量(总敞口) 平安:净敞口今日变动",
  18749. "type": "number"
  18750. },
  18751. "diffSpotHedgeQty": {
  18752. "description": "变动量(现货应套保总量) 平安:应套保量今日变动",
  18753. "type": "number"
  18754. },
  18755. "diffSpotQty": {
  18756. "description": "变动量(现货总量) = 现货数量 - 期初现货数量 平安:采销定价净值今日变动",
  18757. "type": "number"
  18758. },
  18759. "enumdicname": {
  18760. "description": "单位名称",
  18761. "type": "string"
  18762. },
  18763. "hedgeqty": {
  18764. "description": "套保量",
  18765. "type": "number"
  18766. },
  18767. "needarbitrageqty": {
  18768. "description": "应套利量",
  18769. "type": "number"
  18770. },
  18771. "needarbitrageratio": {
  18772. "description": "套利比例",
  18773. "type": "number"
  18774. },
  18775. "needhedgeqty": {
  18776. "description": "应套保量",
  18777. "type": "number"
  18778. },
  18779. "oriarbitrageqty": {
  18780. "description": "期初套利量",
  18781. "type": "number"
  18782. },
  18783. "orihedgeqty": {
  18784. "description": "期初套保量",
  18785. "type": "number"
  18786. },
  18787. "orineedhedgeexposoure": {
  18788. "description": "期初套保敞口",
  18789. "type": "number"
  18790. },
  18791. "oritotalexposure": {
  18792. "description": "期初总敞口",
  18793. "type": "number"
  18794. },
  18795. "oritotalfutureqty": {
  18796. "description": "期初期货总量",
  18797. "type": "number"
  18798. },
  18799. "oritotalneedhedgeqty": {
  18800. "description": "期初现货应套保量",
  18801. "type": "number"
  18802. }
  18803. }
  18804. },
  18805. "erms2.QueryArbitrageStrategyRsp": {
  18806. "type": "object",
  18807. "required": [
  18808. "asapplyid"
  18809. ],
  18810. "properties": {
  18811. "applybasis": {
  18812. "description": "申请基差",
  18813. "type": "number"
  18814. },
  18815. "asapplyid": {
  18816. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  18817. "type": "string"
  18818. },
  18819. "asname": {
  18820. "description": "策略名称",
  18821. "type": "string"
  18822. },
  18823. "asno": {
  18824. "description": "策略编号",
  18825. "type": "string"
  18826. },
  18827. "basischangepl": {
  18828. "description": "基差变动损益[结算更新]",
  18829. "type": "number"
  18830. },
  18831. "biztype": {
  18832. "description": "业务类型 - 1:正向套利 -1:反向套利",
  18833. "type": "integer"
  18834. },
  18835. "closetradedate": {
  18836. "description": "完结交易日(yyyyMMdd)",
  18837. "type": "string"
  18838. },
  18839. "curbasis": {
  18840. "description": "当前基差[结算更新]",
  18841. "type": "number"
  18842. },
  18843. "deliverygoodsid": {
  18844. "description": "现货品种ID",
  18845. "type": "integer"
  18846. },
  18847. "futureavgprice": {
  18848. "description": "期货建仓均价",
  18849. "type": "number"
  18850. },
  18851. "futurecloseamount": {
  18852. "description": "期货平仓金额",
  18853. "type": "number"
  18854. },
  18855. "futurecloseqty": {
  18856. "description": "期货平仓数量",
  18857. "type": "number"
  18858. },
  18859. "futureopenamount": {
  18860. "description": "期货开仓金额",
  18861. "type": "number"
  18862. },
  18863. "futureopenqty": {
  18864. "description": "期货开仓数量",
  18865. "type": "number"
  18866. },
  18867. "futurepl": {
  18868. "description": "期货总盈亏[结算更新]",
  18869. "type": "number"
  18870. },
  18871. "futureqty": {
  18872. "description": "期货持仓数量",
  18873. "type": "number"
  18874. },
  18875. "futurequote": {
  18876. "description": "期货额度",
  18877. "type": "number"
  18878. },
  18879. "goodsgroupid": {
  18880. "description": "期货品种ID",
  18881. "type": "integer"
  18882. },
  18883. "marketid": {
  18884. "description": "市场ID",
  18885. "type": "integer"
  18886. },
  18887. "netexposure": {
  18888. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  18889. "type": "number"
  18890. },
  18891. "netexposurepl": {
  18892. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  18893. "type": "number"
  18894. },
  18895. "netexposurerate": {
  18896. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  18897. "type": "number"
  18898. },
  18899. "openbasis": {
  18900. "description": "建仓基差",
  18901. "type": "number"
  18902. },
  18903. "pricedspotqty": {
  18904. "description": "已定价现货数量",
  18905. "type": "number"
  18906. },
  18907. "pricedspotqtynotax": {
  18908. "description": "已定价现货不含税数量",
  18909. "type": "number"
  18910. },
  18911. "remark": {
  18912. "description": "备注",
  18913. "type": "string"
  18914. },
  18915. "spotavgprice": {
  18916. "description": "现货均价",
  18917. "type": "number"
  18918. },
  18919. "spotbuyamount": {
  18920. "description": "现货采购金额",
  18921. "type": "number"
  18922. },
  18923. "spotbuyqty": {
  18924. "description": "现货采购数量",
  18925. "type": "number"
  18926. },
  18927. "spotpl": {
  18928. "description": "现货总盈亏[结算更新]",
  18929. "type": "number"
  18930. },
  18931. "spotquota": {
  18932. "description": "现货额度",
  18933. "type": "number"
  18934. },
  18935. "spotsellamount": {
  18936. "description": "现货销售金额",
  18937. "type": "number"
  18938. },
  18939. "spotsellqty": {
  18940. "description": "现货销售数量",
  18941. "type": "number"
  18942. },
  18943. "spotusedquota": {
  18944. "description": "现货占用资金",
  18945. "type": "number"
  18946. },
  18947. "strategystatus": {
  18948. "description": "策略状态 - 0:未结束 1:已结束",
  18949. "type": "integer"
  18950. },
  18951. "totalpl": {
  18952. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  18953. "type": "number"
  18954. },
  18955. "tradedate": {
  18956. "description": "交易日(yyyyMMdd)",
  18957. "type": "string"
  18958. },
  18959. "updatetime": {
  18960. "description": "更新时间",
  18961. "type": "string"
  18962. },
  18963. "usedquota": {
  18964. "description": "已占用资金",
  18965. "type": "number"
  18966. },
  18967. "userid": {
  18968. "description": "所属机构",
  18969. "type": "integer"
  18970. }
  18971. }
  18972. },
  18973. "erms2.QueryInnerTradeDetailRsp": {
  18974. "type": "object",
  18975. "required": [
  18976. "asapplyid",
  18977. "buyorsell",
  18978. "goodscode",
  18979. "goodsgroupid",
  18980. "goodsgroupname",
  18981. "goodsname",
  18982. "tradeid"
  18983. ],
  18984. "properties": {
  18985. "accountid": {
  18986. "description": "账号ID",
  18987. "type": "integer"
  18988. },
  18989. "agreeunit": {
  18990. "description": "合约单位",
  18991. "type": "number"
  18992. },
  18993. "asapplyid": {
  18994. "description": "策略申请ID",
  18995. "type": "integer"
  18996. },
  18997. "asname": {
  18998. "description": "策略名称",
  18999. "type": "string"
  19000. },
  19001. "asno": {
  19002. "description": "策略编号",
  19003. "type": "string"
  19004. },
  19005. "buyorsell": {
  19006. "description": "方向 - 0:买 1:卖",
  19007. "type": "integer"
  19008. },
  19009. "channelbuildtype": {
  19010. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  19011. "type": "integer"
  19012. },
  19013. "closetype": {
  19014. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  19015. "type": "integer"
  19016. },
  19017. "decimalplace": {
  19018. "description": "报价小数位",
  19019. "type": "integer"
  19020. },
  19021. "detailtype": {
  19022. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  19023. "type": "integer"
  19024. },
  19025. "exexchangecode": {
  19026. "description": "外部交易所代码",
  19027. "type": "string"
  19028. },
  19029. "exexchangename": {
  19030. "description": "外部交易所名称",
  19031. "type": "string"
  19032. },
  19033. "goodscode": {
  19034. "description": "商品代码(合约)",
  19035. "type": "string"
  19036. },
  19037. "goodsgroupid": {
  19038. "description": "商品组ID(品种ID)",
  19039. "type": "integer"
  19040. },
  19041. "goodsgroupname": {
  19042. "description": "商品组名称(品种)",
  19043. "type": "string"
  19044. },
  19045. "goodsid": {
  19046. "description": "商品ID",
  19047. "type": "integer"
  19048. },
  19049. "goodsname": {
  19050. "description": "商品名称(合约)",
  19051. "type": "string"
  19052. },
  19053. "goodunit": {
  19054. "description": "报价单位",
  19055. "type": "string"
  19056. },
  19057. "marketid": {
  19058. "description": "市场ID",
  19059. "type": "integer"
  19060. },
  19061. "orderid": {
  19062. "description": "委托单号",
  19063. "type": "string"
  19064. },
  19065. "outgoodscode": {
  19066. "description": "商品代码(外部)",
  19067. "type": "string"
  19068. },
  19069. "relatedouttradeid": {
  19070. "description": "关联外部成交单ID",
  19071. "type": "string"
  19072. },
  19073. "remark": {
  19074. "description": "备注",
  19075. "type": "string"
  19076. },
  19077. "spotcontractid": {
  19078. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  19079. "type": "integer"
  19080. },
  19081. "spotcontractno": {
  19082. "description": "现货合同编号",
  19083. "type": "string"
  19084. },
  19085. "tradeid": {
  19086. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  19087. "type": "string"
  19088. },
  19089. "tradeprice": {
  19090. "description": "成交价格",
  19091. "type": "number"
  19092. },
  19093. "tradeqty": {
  19094. "description": "成交数量",
  19095. "type": "integer"
  19096. },
  19097. "tradetime": {
  19098. "description": "成交时间",
  19099. "type": "string"
  19100. },
  19101. "updatetime": {
  19102. "description": "更新时间",
  19103. "type": "string"
  19104. }
  19105. }
  19106. },
  19107. "erms2.QuerySpotContractRsp": {
  19108. "type": "object",
  19109. "required": [
  19110. "spotcontractid"
  19111. ],
  19112. "properties": {
  19113. "accountid": {
  19114. "description": "资金账户ID",
  19115. "type": "integer"
  19116. },
  19117. "areauserid": {
  19118. "description": "所属机构",
  19119. "type": "integer"
  19120. },
  19121. "closedate": {
  19122. "description": "终止日期",
  19123. "type": "string"
  19124. },
  19125. "closeremark": {
  19126. "description": "结束备注",
  19127. "type": "string"
  19128. },
  19129. "closetradedate": {
  19130. "description": "完结交易日(yyyyMMdd)",
  19131. "type": "string"
  19132. },
  19133. "closetype": {
  19134. "description": "终止类型 - 1:违约 2:提前终止",
  19135. "type": "integer"
  19136. },
  19137. "contractamount": {
  19138. "description": "合同金额",
  19139. "type": "number"
  19140. },
  19141. "contractattachment": {
  19142. "description": "合同附件",
  19143. "type": "string"
  19144. },
  19145. "contractno": {
  19146. "description": "现货合同编号",
  19147. "type": "string"
  19148. },
  19149. "contractqty": {
  19150. "description": "合同数量(数值) (用于计算)",
  19151. "type": "number"
  19152. },
  19153. "contractqtychar": {
  19154. "description": "合同数量\\已订价数量 (用于显示)",
  19155. "type": "string"
  19156. },
  19157. "contractstatus": {
  19158. "description": "合同状态 - 0:未结束 1:已结束",
  19159. "type": "integer"
  19160. },
  19161. "contracttype": {
  19162. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  19163. "type": "integer"
  19164. },
  19165. "customeraccountid": {
  19166. "description": "客户资金账户ID",
  19167. "type": "integer"
  19168. },
  19169. "customeruserid": {
  19170. "description": "客户ID",
  19171. "type": "integer"
  19172. },
  19173. "deliverygoodsdesc": {
  19174. "description": "品种说明",
  19175. "type": "string"
  19176. },
  19177. "deliverygoodsid": {
  19178. "description": "现货品种ID",
  19179. "type": "integer"
  19180. },
  19181. "handlestatus": {
  19182. "description": "处理状态",
  19183. "type": "integer"
  19184. },
  19185. "invoiceatt": {
  19186. "description": "发票附件",
  19187. "type": "string"
  19188. },
  19189. "invoicedatetime": {
  19190. "description": "开收票更新时间",
  19191. "type": "string"
  19192. },
  19193. "invoiceopentime": {
  19194. "description": "开票时间",
  19195. "type": "string"
  19196. },
  19197. "invoiceremark": {
  19198. "description": "发票备注",
  19199. "type": "string"
  19200. },
  19201. "invoicestatus": {
  19202. "description": "开收票状态 - 0:未开票 1:已开票",
  19203. "type": "integer"
  19204. },
  19205. "lastdate": {
  19206. "description": "交货时间",
  19207. "type": "string"
  19208. },
  19209. "marketid": {
  19210. "description": "市场ID",
  19211. "type": "integer"
  19212. },
  19213. "paydatetime": {
  19214. "description": "收付款更新时间",
  19215. "type": "string"
  19216. },
  19217. "payremark": {
  19218. "description": "收付款备注",
  19219. "type": "string"
  19220. },
  19221. "paystatus": {
  19222. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  19223. "type": "integer"
  19224. },
  19225. "positionqty": {
  19226. "description": "头寸数量 - 合同数量去小数部分",
  19227. "type": "integer"
  19228. },
  19229. "producttype": {
  19230. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  19231. "type": "integer"
  19232. },
  19233. "relatedqty": {
  19234. "description": "已关联数量",
  19235. "type": "number"
  19236. },
  19237. "relatedstatus": {
  19238. "description": "关联完结状态 - 0:未结束 1:已结束",
  19239. "type": "integer"
  19240. },
  19241. "remark": {
  19242. "description": "备注",
  19243. "type": "string"
  19244. },
  19245. "signdate": {
  19246. "description": "签订日期",
  19247. "type": "string"
  19248. },
  19249. "spotcontractid": {
  19250. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  19251. "type": "string"
  19252. },
  19253. "spotdatetime": {
  19254. "description": "收发货更新时间",
  19255. "type": "string"
  19256. },
  19257. "spotprice": {
  19258. "description": "价格",
  19259. "type": "number"
  19260. },
  19261. "spotremark": {
  19262. "description": "收发货备注",
  19263. "type": "string"
  19264. },
  19265. "spotstatus": {
  19266. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  19267. "type": "integer"
  19268. },
  19269. "tradedate": {
  19270. "description": "交易日(yyyyMMdd)",
  19271. "type": "string"
  19272. },
  19273. "userid": {
  19274. "description": "业务员用户ID",
  19275. "type": "integer"
  19276. },
  19277. "warehouseid": {
  19278. "description": "仓库ID",
  19279. "type": "integer"
  19280. },
  19281. "wrfactortypeid": {
  19282. "description": "仓单要素类型ID",
  19283. "type": "integer"
  19284. },
  19285. "wrstandardid": {
  19286. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  19287. "type": "integer"
  19288. }
  19289. }
  19290. },
  19291. "erms3.AddErms2ASApplyReq": {
  19292. "type": "object",
  19293. "required": [
  19294. "asapplyid"
  19295. ],
  19296. "properties": {
  19297. "applybasis": {
  19298. "description": "申请基差",
  19299. "type": "number"
  19300. },
  19301. "applystatus": {
  19302. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  19303. "type": "integer"
  19304. },
  19305. "asapplyid": {
  19306. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  19307. "type": "integer"
  19308. },
  19309. "asname": {
  19310. "description": "策略名称",
  19311. "type": "string"
  19312. },
  19313. "asno": {
  19314. "description": "策略编号",
  19315. "type": "string"
  19316. },
  19317. "auditid": {
  19318. "description": "审核人",
  19319. "type": "integer"
  19320. },
  19321. "auditremark": {
  19322. "description": "审核备注",
  19323. "type": "string"
  19324. },
  19325. "audittime": {
  19326. "description": "审核时间",
  19327. "type": "string"
  19328. },
  19329. "biztype": {
  19330. "description": "业务类型 - 1:正向套利 2:反向套利",
  19331. "type": "integer"
  19332. },
  19333. "createtime": {
  19334. "description": "创建时间",
  19335. "type": "string"
  19336. },
  19337. "creatorid": {
  19338. "description": "创建人",
  19339. "type": "integer"
  19340. },
  19341. "deliverygoodsid": {
  19342. "description": "现货品种ID",
  19343. "type": "integer"
  19344. },
  19345. "futurequote": {
  19346. "description": "期货额度",
  19347. "type": "number"
  19348. },
  19349. "goodsgroupid": {
  19350. "description": "期货品种ID",
  19351. "type": "integer"
  19352. },
  19353. "marketid": {
  19354. "description": "市场ID",
  19355. "type": "integer"
  19356. },
  19357. "remark": {
  19358. "description": "备注",
  19359. "type": "string"
  19360. },
  19361. "spotquota": {
  19362. "description": "现货额度",
  19363. "type": "number"
  19364. },
  19365. "tradedate": {
  19366. "description": "交易日(yyyyMMdd)",
  19367. "type": "string"
  19368. },
  19369. "userid": {
  19370. "description": "所属机构",
  19371. "type": "integer"
  19372. }
  19373. }
  19374. },
  19375. "erms3.AddErms2SpotTradeApplyReq": {
  19376. "type": "object",
  19377. "required": [
  19378. "spottradeid"
  19379. ],
  19380. "properties": {
  19381. "applyjsondetail": {
  19382. "description": "申请明细(JSON)",
  19383. "type": "string"
  19384. },
  19385. "applystatus": {
  19386. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  19387. "type": "integer"
  19388. },
  19389. "areauserid": {
  19390. "description": "所属机构",
  19391. "type": "integer"
  19392. },
  19393. "auditid": {
  19394. "description": "审核人",
  19395. "type": "integer"
  19396. },
  19397. "auditremark": {
  19398. "description": "审核备注",
  19399. "type": "string"
  19400. },
  19401. "audittime": {
  19402. "description": "审核时间",
  19403. "type": "string"
  19404. },
  19405. "createtime": {
  19406. "description": "创建时间",
  19407. "type": "string"
  19408. },
  19409. "creatorid": {
  19410. "description": "创建人",
  19411. "type": "integer"
  19412. },
  19413. "deliverygoodsid": {
  19414. "description": "现货品种ID",
  19415. "type": "integer"
  19416. },
  19417. "futureaccountid": {
  19418. "description": "期货资金账户",
  19419. "type": "integer"
  19420. },
  19421. "goodsgroupid": {
  19422. "description": "期货品种",
  19423. "type": "integer"
  19424. },
  19425. "marketid": {
  19426. "description": "市场ID",
  19427. "type": "integer"
  19428. },
  19429. "remark": {
  19430. "description": "备注",
  19431. "type": "string"
  19432. },
  19433. "spotaccountid": {
  19434. "description": "现货资金账户",
  19435. "type": "integer"
  19436. },
  19437. "spottradeid": {
  19438. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  19439. "type": "integer"
  19440. },
  19441. "spottradename": {
  19442. "description": "业务名称",
  19443. "type": "string"
  19444. },
  19445. "spottradeno": {
  19446. "description": "业务编号",
  19447. "type": "string"
  19448. },
  19449. "tradedate": {
  19450. "description": "交易日(yyyyMMdd)",
  19451. "type": "string"
  19452. },
  19453. "wrstandardid": {
  19454. "description": "仓单标准ID",
  19455. "type": "integer"
  19456. }
  19457. }
  19458. },
  19459. "erms3.AddSpotContractApplyReq": {
  19460. "type": "object",
  19461. "required": [
  19462. "accountid",
  19463. "areauserid",
  19464. "contractno",
  19465. "contracttype",
  19466. "customeraccountid",
  19467. "customeruserid",
  19468. "details",
  19469. "orimargin",
  19470. "signdate"
  19471. ],
  19472. "properties": {
  19473. "accountid": {
  19474. "description": "资金账户ID",
  19475. "type": "integer"
  19476. },
  19477. "areauserid": {
  19478. "description": "所属机构",
  19479. "type": "integer"
  19480. },
  19481. "contractattachment": {
  19482. "description": "合同附件",
  19483. "type": "string"
  19484. },
  19485. "contractno": {
  19486. "description": "现货合同编号",
  19487. "type": "string"
  19488. },
  19489. "contracttype": {
  19490. "description": "现货合同类型 - 1:采购 -1:销售",
  19491. "type": "integer"
  19492. },
  19493. "creatorid": {
  19494. "description": "申请人",
  19495. "type": "integer"
  19496. },
  19497. "customeraccountid": {
  19498. "description": "客户资金账户ID",
  19499. "type": "integer"
  19500. },
  19501. "customeruserid": {
  19502. "description": "客户ID",
  19503. "type": "integer"
  19504. },
  19505. "details": {
  19506. "description": "明细",
  19507. "type": "array",
  19508. "items": {
  19509. "$ref": "#/definitions/erms3.SoptContractDetail"
  19510. }
  19511. },
  19512. "orimargin": {
  19513. "description": "初始保证金",
  19514. "type": "number"
  19515. },
  19516. "remark": {
  19517. "description": "备注",
  19518. "type": "string"
  19519. },
  19520. "signdate": {
  19521. "description": "签订日期",
  19522. "type": "string"
  19523. }
  19524. }
  19525. },
  19526. "erms3.AddSpotContractApplyRsp": {
  19527. "type": "object",
  19528. "required": [
  19529. "contractno"
  19530. ],
  19531. "properties": {
  19532. "contractno": {
  19533. "description": "现货合同编号",
  19534. "type": "string"
  19535. },
  19536. "spotcontractid": {
  19537. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  19538. "type": "integer"
  19539. }
  19540. }
  19541. },
  19542. "erms3.AddUserInfoApplyReq": {
  19543. "type": "object",
  19544. "required": [
  19545. "userid"
  19546. ],
  19547. "properties": {
  19548. "accountid": {
  19549. "description": "交易系统帐号Id (加密存储)",
  19550. "type": "integer"
  19551. },
  19552. "areacode": {
  19553. "description": "机构代码",
  19554. "type": "string"
  19555. },
  19556. "areaid": {
  19557. "description": "机构Id",
  19558. "type": "integer"
  19559. },
  19560. "attachment1": {
  19561. "description": "附件1",
  19562. "type": "string"
  19563. },
  19564. "attachment2": {
  19565. "description": "附件2",
  19566. "type": "string"
  19567. },
  19568. "attachment3": {
  19569. "description": "附件3",
  19570. "type": "string"
  19571. },
  19572. "attachment4": {
  19573. "description": "附件4",
  19574. "type": "string"
  19575. },
  19576. "attachment5": {
  19577. "description": "附件5",
  19578. "type": "string"
  19579. },
  19580. "auditedby": {
  19581. "description": "审核人",
  19582. "type": "string"
  19583. },
  19584. "auditime": {
  19585. "description": "审核时间",
  19586. "type": "string"
  19587. },
  19588. "auditsrc": {
  19589. "description": "审核来源 - 1:管理端 2:终端",
  19590. "type": "integer"
  19591. },
  19592. "bankaccount": {
  19593. "description": "银行帐号 (加密存储)",
  19594. "type": "string"
  19595. },
  19596. "bankaccountname": {
  19597. "description": "收款人名称",
  19598. "type": "string"
  19599. },
  19600. "bankcardbackphotourl": {
  19601. "description": "银行卡背面照地址",
  19602. "type": "string"
  19603. },
  19604. "bankcardfrontphotourl": {
  19605. "description": "银行卡正面照地址",
  19606. "type": "string"
  19607. },
  19608. "bankid": {
  19609. "description": "银行编码",
  19610. "type": "string"
  19611. },
  19612. "bankname": {
  19613. "description": "银行名称",
  19614. "type": "string"
  19615. },
  19616. "bankpictureurl": {
  19617. "description": "银行卡正面地址",
  19618. "type": "string"
  19619. },
  19620. "biznature": {
  19621. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  19622. "type": "integer"
  19623. },
  19624. "bizscope": {
  19625. "description": "企业经营范围(企业)",
  19626. "type": "string"
  19627. },
  19628. "biztype": {
  19629. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  19630. "type": "integer"
  19631. },
  19632. "brokerid": {
  19633. "description": "经纪人ID(加密存储)",
  19634. "type": "string"
  19635. },
  19636. "cardaddress": {
  19637. "description": "证件地址 (加密存储)",
  19638. "type": "string"
  19639. },
  19640. "cardbackphotourl": {
  19641. "description": "背面证件照地址",
  19642. "type": "string"
  19643. },
  19644. "cardfrontphotourl": {
  19645. "description": "正面证件照地址",
  19646. "type": "string"
  19647. },
  19648. "cardnum": {
  19649. "description": "证件号码 (加密存储)",
  19650. "type": "string"
  19651. },
  19652. "cardtype": {
  19653. "description": "证件类型",
  19654. "type": "integer"
  19655. },
  19656. "cityid": {
  19657. "description": "市",
  19658. "type": "integer"
  19659. },
  19660. "company": {
  19661. "description": "公司(个人)",
  19662. "type": "string"
  19663. },
  19664. "contactcardbackphotourl": {
  19665. "description": "联系人证件背面图片地址",
  19666. "type": "string"
  19667. },
  19668. "contactcardfrontphotourl": {
  19669. "description": "联系人证件正面图片地址",
  19670. "type": "string"
  19671. },
  19672. "contactname": {
  19673. "description": "联系人",
  19674. "type": "string"
  19675. },
  19676. "countryid": {
  19677. "description": "国家",
  19678. "type": "integer"
  19679. },
  19680. "createtime": {
  19681. "description": "开户申请时间",
  19682. "type": "string"
  19683. },
  19684. "cusbankid": {
  19685. "description": "签约类型",
  19686. "type": "string"
  19687. },
  19688. "cusbankname": {
  19689. "description": "签约类型名称",
  19690. "type": "string"
  19691. },
  19692. "customername": {
  19693. "description": "客户名称(企业名称)",
  19694. "type": "string"
  19695. },
  19696. "districtid": {
  19697. "description": "地区",
  19698. "type": "integer"
  19699. },
  19700. "email": {
  19701. "description": "Email地址(加密存储)",
  19702. "type": "string"
  19703. },
  19704. "halfbodyphotourl": {
  19705. "description": "半身照地址",
  19706. "type": "string"
  19707. },
  19708. "headurl": {
  19709. "description": "头像地址",
  19710. "type": "string"
  19711. },
  19712. "ipaddress": {
  19713. "description": "IP地址",
  19714. "type": "string"
  19715. },
  19716. "isvalidate": {
  19717. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  19718. "type": "string"
  19719. },
  19720. "legalcardbackphotourl": {
  19721. "description": "法人身份证背面照地址",
  19722. "type": "string"
  19723. },
  19724. "legalcardfrontphotourl": {
  19725. "description": "法人身份证正面照地址",
  19726. "type": "string"
  19727. },
  19728. "legalpersonname": {
  19729. "description": "法人姓名(企业)",
  19730. "type": "string"
  19731. },
  19732. "logincode": {
  19733. "description": "登录帐号 (加密存储)",
  19734. "type": "string"
  19735. },
  19736. "memberareaid": {
  19737. "description": "所属会员ID",
  19738. "type": "integer"
  19739. },
  19740. "mobile2": {
  19741. "description": "手机号码[明文-尚志]",
  19742. "type": "string"
  19743. },
  19744. "mobilephone": {
  19745. "description": "手机号码 (加密存储)",
  19746. "type": "string"
  19747. },
  19748. "modifiedby": {
  19749. "description": "修改人帐号",
  19750. "type": "integer"
  19751. },
  19752. "modifiedtime": {
  19753. "description": "修改时间",
  19754. "type": "string"
  19755. },
  19756. "nickname": {
  19757. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  19758. "type": "string"
  19759. },
  19760. "openmode": {
  19761. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  19762. "type": "integer"
  19763. },
  19764. "otherurl": {
  19765. "description": "其它图片地址[使用分号分隔]",
  19766. "type": "string"
  19767. },
  19768. "postalcode": {
  19769. "description": "邮政编码",
  19770. "type": "string"
  19771. },
  19772. "provinceid": {
  19773. "description": "省",
  19774. "type": "integer"
  19775. },
  19776. "proxystatementurl": {
  19777. "description": "授权委托书",
  19778. "type": "string"
  19779. },
  19780. "qq": {
  19781. "description": "QQ(加密存储",
  19782. "type": "string"
  19783. },
  19784. "referral": {
  19785. "description": "推荐人编码",
  19786. "type": "string"
  19787. },
  19788. "remark": {
  19789. "description": "备注",
  19790. "type": "string"
  19791. },
  19792. "removebeforestatus": {
  19793. "description": "REMOVEBEFORESTATUS",
  19794. "type": "integer"
  19795. },
  19796. "sex": {
  19797. "description": "性别 - 0:女 1:男",
  19798. "type": "integer"
  19799. },
  19800. "signedstatus": {
  19801. "description": "账户一号签签约状态",
  19802. "type": "integer"
  19803. },
  19804. "signpdfurl": {
  19805. "description": "签约pdf文件",
  19806. "type": "string"
  19807. },
  19808. "subbranch": {
  19809. "description": "开户支行",
  19810. "type": "string"
  19811. },
  19812. "taxpayernum": {
  19813. "description": "纳税人识别号",
  19814. "type": "string"
  19815. },
  19816. "telphone": {
  19817. "description": "联系电话(加密存储)",
  19818. "type": "string"
  19819. },
  19820. "userid": {
  19821. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  19822. "type": "integer"
  19823. },
  19824. "userinfotype": {
  19825. "description": "用户信息类型 - 1:个人 2:企业",
  19826. "type": "integer"
  19827. },
  19828. "username": {
  19829. "description": "用户姓名",
  19830. "type": "string"
  19831. },
  19832. "userstate": {
  19833. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  19834. "type": "integer"
  19835. },
  19836. "usertype": {
  19837. "description": "用户类型 - 1:投资者 2:机构",
  19838. "type": "integer"
  19839. },
  19840. "videourl": {
  19841. "description": "视频地址",
  19842. "type": "string"
  19843. },
  19844. "wechat": {
  19845. "description": "微信号 (加密存储)",
  19846. "type": "string"
  19847. }
  19848. }
  19849. },
  19850. "erms3.CustomerInfo": {
  19851. "type": "object",
  19852. "required": [
  19853. "userid"
  19854. ],
  19855. "properties": {
  19856. "accountids": {
  19857. "description": "资金账户ID列表",
  19858. "type": "array",
  19859. "items": {
  19860. "type": "integer"
  19861. }
  19862. },
  19863. "customername": {
  19864. "description": "名称(企业名称)",
  19865. "type": "string"
  19866. },
  19867. "mobile": {
  19868. "description": "手机号码",
  19869. "type": "string"
  19870. },
  19871. "userid": {
  19872. "description": "用户ID",
  19873. "type": "integer"
  19874. }
  19875. }
  19876. },
  19877. "erms3.ModifyUserInfoApplyReq": {
  19878. "type": "object",
  19879. "required": [
  19880. "userid"
  19881. ],
  19882. "properties": {
  19883. "accountid": {
  19884. "description": "交易系统帐号Id (加密存储)",
  19885. "type": "integer"
  19886. },
  19887. "areacode": {
  19888. "description": "机构代码",
  19889. "type": "string"
  19890. },
  19891. "areaid": {
  19892. "description": "机构Id",
  19893. "type": "integer"
  19894. },
  19895. "attachment1": {
  19896. "description": "附件1",
  19897. "type": "string"
  19898. },
  19899. "attachment2": {
  19900. "description": "附件2",
  19901. "type": "string"
  19902. },
  19903. "attachment3": {
  19904. "description": "附件3",
  19905. "type": "string"
  19906. },
  19907. "attachment4": {
  19908. "description": "附件4",
  19909. "type": "string"
  19910. },
  19911. "attachment5": {
  19912. "description": "附件5",
  19913. "type": "string"
  19914. },
  19915. "auditedby": {
  19916. "description": "审核人",
  19917. "type": "string"
  19918. },
  19919. "auditime": {
  19920. "description": "审核时间",
  19921. "type": "string"
  19922. },
  19923. "auditsrc": {
  19924. "description": "审核来源 - 1:管理端 2:终端",
  19925. "type": "integer"
  19926. },
  19927. "bankaccount": {
  19928. "description": "银行帐号 (加密存储)",
  19929. "type": "string"
  19930. },
  19931. "bankaccountname": {
  19932. "description": "收款人名称",
  19933. "type": "string"
  19934. },
  19935. "bankcardbackphotourl": {
  19936. "description": "银行卡背面照地址",
  19937. "type": "string"
  19938. },
  19939. "bankcardfrontphotourl": {
  19940. "description": "银行卡正面照地址",
  19941. "type": "string"
  19942. },
  19943. "bankid": {
  19944. "description": "银行编码",
  19945. "type": "string"
  19946. },
  19947. "bankname": {
  19948. "description": "银行名称",
  19949. "type": "string"
  19950. },
  19951. "bankpictureurl": {
  19952. "description": "银行卡正面地址",
  19953. "type": "string"
  19954. },
  19955. "biznature": {
  19956. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  19957. "type": "integer"
  19958. },
  19959. "bizscope": {
  19960. "description": "企业经营范围(企业)",
  19961. "type": "string"
  19962. },
  19963. "biztype": {
  19964. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  19965. "type": "integer"
  19966. },
  19967. "brokerid": {
  19968. "description": "经纪人ID(加密存储)",
  19969. "type": "string"
  19970. },
  19971. "cardaddress": {
  19972. "description": "证件地址 (加密存储)",
  19973. "type": "string"
  19974. },
  19975. "cardbackphotourl": {
  19976. "description": "背面证件照地址",
  19977. "type": "string"
  19978. },
  19979. "cardfrontphotourl": {
  19980. "description": "正面证件照地址",
  19981. "type": "string"
  19982. },
  19983. "cardnum": {
  19984. "description": "证件号码 (加密存储)",
  19985. "type": "string"
  19986. },
  19987. "cardtype": {
  19988. "description": "证件类型",
  19989. "type": "integer"
  19990. },
  19991. "cityid": {
  19992. "description": "市",
  19993. "type": "integer"
  19994. },
  19995. "company": {
  19996. "description": "公司(个人)",
  19997. "type": "string"
  19998. },
  19999. "contactcardbackphotourl": {
  20000. "description": "联系人证件背面图片地址",
  20001. "type": "string"
  20002. },
  20003. "contactcardfrontphotourl": {
  20004. "description": "联系人证件正面图片地址",
  20005. "type": "string"
  20006. },
  20007. "contactname": {
  20008. "description": "联系人",
  20009. "type": "string"
  20010. },
  20011. "countryid": {
  20012. "description": "国家",
  20013. "type": "integer"
  20014. },
  20015. "createtime": {
  20016. "description": "开户申请时间",
  20017. "type": "string"
  20018. },
  20019. "cusbankid": {
  20020. "description": "签约类型",
  20021. "type": "string"
  20022. },
  20023. "cusbankname": {
  20024. "description": "签约类型名称",
  20025. "type": "string"
  20026. },
  20027. "customername": {
  20028. "description": "客户名称(企业名称)",
  20029. "type": "string"
  20030. },
  20031. "districtid": {
  20032. "description": "地区",
  20033. "type": "integer"
  20034. },
  20035. "email": {
  20036. "description": "Email地址(加密存储)",
  20037. "type": "string"
  20038. },
  20039. "halfbodyphotourl": {
  20040. "description": "半身照地址",
  20041. "type": "string"
  20042. },
  20043. "headurl": {
  20044. "description": "头像地址",
  20045. "type": "string"
  20046. },
  20047. "ipaddress": {
  20048. "description": "IP地址",
  20049. "type": "string"
  20050. },
  20051. "isvalidate": {
  20052. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  20053. "type": "string"
  20054. },
  20055. "legalcardbackphotourl": {
  20056. "description": "法人身份证背面照地址",
  20057. "type": "string"
  20058. },
  20059. "legalcardfrontphotourl": {
  20060. "description": "法人身份证正面照地址",
  20061. "type": "string"
  20062. },
  20063. "legalpersonname": {
  20064. "description": "法人姓名(企业)",
  20065. "type": "string"
  20066. },
  20067. "logincode": {
  20068. "description": "登录帐号 (加密存储)",
  20069. "type": "string"
  20070. },
  20071. "memberareaid": {
  20072. "description": "所属会员ID",
  20073. "type": "integer"
  20074. },
  20075. "mobile2": {
  20076. "description": "手机号码[明文-尚志]",
  20077. "type": "string"
  20078. },
  20079. "mobilephone": {
  20080. "description": "手机号码 (加密存储)",
  20081. "type": "string"
  20082. },
  20083. "modifiedby": {
  20084. "description": "修改人帐号",
  20085. "type": "integer"
  20086. },
  20087. "modifiedtime": {
  20088. "description": "修改时间",
  20089. "type": "string"
  20090. },
  20091. "nickname": {
  20092. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  20093. "type": "string"
  20094. },
  20095. "openmode": {
  20096. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  20097. "type": "integer"
  20098. },
  20099. "otherurl": {
  20100. "description": "其它图片地址[使用分号分隔]",
  20101. "type": "string"
  20102. },
  20103. "postalcode": {
  20104. "description": "邮政编码",
  20105. "type": "string"
  20106. },
  20107. "provinceid": {
  20108. "description": "省",
  20109. "type": "integer"
  20110. },
  20111. "proxystatementurl": {
  20112. "description": "授权委托书",
  20113. "type": "string"
  20114. },
  20115. "qq": {
  20116. "description": "QQ(加密存储",
  20117. "type": "string"
  20118. },
  20119. "referral": {
  20120. "description": "推荐人编码",
  20121. "type": "string"
  20122. },
  20123. "remark": {
  20124. "description": "备注",
  20125. "type": "string"
  20126. },
  20127. "removebeforestatus": {
  20128. "description": "REMOVEBEFORESTATUS",
  20129. "type": "integer"
  20130. },
  20131. "sex": {
  20132. "description": "性别 - 0:女 1:男",
  20133. "type": "integer"
  20134. },
  20135. "signedstatus": {
  20136. "description": "账户一号签签约状态",
  20137. "type": "integer"
  20138. },
  20139. "signpdfurl": {
  20140. "description": "签约pdf文件",
  20141. "type": "string"
  20142. },
  20143. "subbranch": {
  20144. "description": "开户支行",
  20145. "type": "string"
  20146. },
  20147. "taxpayernum": {
  20148. "description": "纳税人识别号",
  20149. "type": "string"
  20150. },
  20151. "telphone": {
  20152. "description": "联系电话(加密存储)",
  20153. "type": "string"
  20154. },
  20155. "userid": {
  20156. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  20157. "type": "integer"
  20158. },
  20159. "userinfotype": {
  20160. "description": "用户信息类型 - 1:个人 2:企业",
  20161. "type": "integer"
  20162. },
  20163. "username": {
  20164. "description": "用户姓名",
  20165. "type": "string"
  20166. },
  20167. "userstate": {
  20168. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  20169. "type": "integer"
  20170. },
  20171. "usertype": {
  20172. "description": "用户类型 - 1:投资者 2:机构",
  20173. "type": "integer"
  20174. },
  20175. "videourl": {
  20176. "description": "视频地址",
  20177. "type": "string"
  20178. },
  20179. "wechat": {
  20180. "description": "微信号 (加密存储)",
  20181. "type": "string"
  20182. }
  20183. }
  20184. },
  20185. "erms3.QryAuditContractRsp": {
  20186. "type": "object",
  20187. "required": [
  20188. "matchcustomername",
  20189. "spotcontractid"
  20190. ],
  20191. "properties": {
  20192. "accountid": {
  20193. "description": "交易员ID",
  20194. "type": "string"
  20195. },
  20196. "applystatus": {
  20197. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  20198. "type": "integer"
  20199. },
  20200. "curdeliveryqty": {
  20201. "description": "未交收量",
  20202. "type": "integer"
  20203. },
  20204. "customername": {
  20205. "description": "采购方ID",
  20206. "type": "string"
  20207. },
  20208. "deliverygoodsid": {
  20209. "description": "品种ID",
  20210. "type": "string"
  20211. },
  20212. "deliveryqty": {
  20213. "description": "交收量",
  20214. "type": "integer"
  20215. },
  20216. "enumdicname": {
  20217. "description": "单位名称",
  20218. "type": "string"
  20219. },
  20220. "matchaccountid": {
  20221. "description": "业务员ID",
  20222. "type": "string"
  20223. },
  20224. "matchcustomername": {
  20225. "description": "销售方ID",
  20226. "type": "string"
  20227. },
  20228. "pricedqty": {
  20229. "description": "定价量",
  20230. "type": "number"
  20231. },
  20232. "signdate": {
  20233. "description": "签订日期",
  20234. "type": "string"
  20235. },
  20236. "spotcontractid": {
  20237. "description": "合同ID",
  20238. "type": "string"
  20239. },
  20240. "totaldqty": {
  20241. "description": "合同量",
  20242. "type": "number"
  20243. },
  20244. "unpricedqty": {
  20245. "description": "未定价量",
  20246. "type": "number"
  20247. },
  20248. "wrstandardname": {
  20249. "description": "商品名称",
  20250. "type": "string"
  20251. }
  20252. }
  20253. },
  20254. "erms3.QryPendingBizRsp": {
  20255. "type": "object",
  20256. "properties": {
  20257. "accountid": {
  20258. "description": "现货账户",
  20259. "type": "string"
  20260. },
  20261. "areaname": {
  20262. "description": "所属部门",
  20263. "type": "string"
  20264. },
  20265. "bizid": {
  20266. "description": "业务ID",
  20267. "type": "string"
  20268. },
  20269. "bizname": {
  20270. "description": "业务名称",
  20271. "type": "string"
  20272. },
  20273. "status": {
  20274. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  20275. "type": "integer"
  20276. },
  20277. "type": {
  20278. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  20279. "type": "integer"
  20280. }
  20281. }
  20282. },
  20283. "erms3.QueryBusinessInfoRsp": {
  20284. "type": "object",
  20285. "properties": {
  20286. "businessid": {
  20287. "description": "业务ID.",
  20288. "type": "integer"
  20289. },
  20290. "buyamount": {
  20291. "description": "采购额.",
  20292. "type": "number"
  20293. },
  20294. "buyqty": {
  20295. "description": "采购量.",
  20296. "type": "string"
  20297. },
  20298. "futurepl": {
  20299. "description": "期货盈亏.",
  20300. "type": "number"
  20301. },
  20302. "futureqty": {
  20303. "description": "期货敞口.",
  20304. "type": "string"
  20305. },
  20306. "goodsid": {
  20307. "description": "商品名称/商品代码.",
  20308. "type": "string"
  20309. },
  20310. "hedgingqty": {
  20311. "description": "套保量.",
  20312. "type": "string"
  20313. },
  20314. "sellamount": {
  20315. "description": "销售额.",
  20316. "type": "number"
  20317. },
  20318. "sellqty": {
  20319. "description": "销售量.",
  20320. "type": "string"
  20321. },
  20322. "spotmarketvalue": {
  20323. "description": "现货市值.",
  20324. "type": "number"
  20325. },
  20326. "spotpl": {
  20327. "description": "浮动权益.",
  20328. "type": "number"
  20329. },
  20330. "spotqty": {
  20331. "description": "现货量.",
  20332. "type": "string"
  20333. },
  20334. "statu": {
  20335. "description": "状态,0-未结束 1-已结束.",
  20336. "type": "integer"
  20337. },
  20338. "totalpl": {
  20339. "description": "总盈亏.",
  20340. "type": "number"
  20341. },
  20342. "totalqty": {
  20343. "description": "总敞口.",
  20344. "type": "string"
  20345. },
  20346. "type": {
  20347. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  20348. "type": "integer"
  20349. }
  20350. }
  20351. },
  20352. "erms3.QuerySpotContractAppleFormRsp": {
  20353. "type": "object",
  20354. "properties": {
  20355. "goodses": {
  20356. "description": "合约列表",
  20357. "type": "array",
  20358. "items": {
  20359. "$ref": "#/definitions/models.GoodsIDAndName"
  20360. }
  20361. },
  20362. "oppositeusers": {
  20363. "description": "对方账号列表",
  20364. "type": "array",
  20365. "items": {
  20366. "$ref": "#/definitions/erms3.CustomerInfo"
  20367. }
  20368. },
  20369. "ouruser": {
  20370. "description": "我方账号",
  20371. "$ref": "#/definitions/erms3.CustomerInfo"
  20372. },
  20373. "warehouseinfos": {
  20374. "description": "仓库信息列表",
  20375. "type": "array",
  20376. "items": {
  20377. "$ref": "#/definitions/models.Warehouseinfo"
  20378. }
  20379. },
  20380. "wrstandards": {
  20381. "description": "仓单标准列表",
  20382. "type": "array",
  20383. "items": {
  20384. "$ref": "#/definitions/models.WRStandardInfo"
  20385. }
  20386. }
  20387. }
  20388. },
  20389. "erms3.QuerySpotContractInfoRsp": {
  20390. "type": "object",
  20391. "properties": {
  20392. "accountid": {
  20393. "description": "表示交易员ID.",
  20394. "type": "integer"
  20395. },
  20396. "curdeliveryqty": {
  20397. "description": "表示未交收量.",
  20398. "type": "number"
  20399. },
  20400. "customername": {
  20401. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  20402. "type": "string"
  20403. },
  20404. "deliverygoodsid": {
  20405. "description": "表示品种ID.",
  20406. "type": "string"
  20407. },
  20408. "deliveryqty": {
  20409. "description": "表示交收量.",
  20410. "type": "number"
  20411. },
  20412. "matchaccountid": {
  20413. "description": "表示业务员ID.",
  20414. "type": "integer"
  20415. },
  20416. "matchcustomername": {
  20417. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  20418. "type": "string"
  20419. },
  20420. "priceqty": {
  20421. "description": "表示定价量.",
  20422. "type": "number"
  20423. },
  20424. "relatedbizid": {
  20425. "description": "表示业务ID.",
  20426. "type": "string"
  20427. },
  20428. "signdate": {
  20429. "description": "表示签订日期.",
  20430. "type": "string"
  20431. },
  20432. "spotcontractid": {
  20433. "description": "合同ID",
  20434. "type": "string"
  20435. },
  20436. "status": {
  20437. "description": "表示状态,0-履约中 1-已完成.",
  20438. "type": "integer"
  20439. },
  20440. "totalqty": {
  20441. "description": "表示合同量.",
  20442. "type": "number"
  20443. },
  20444. "unpricedqty": {
  20445. "description": "表示未定价量.",
  20446. "type": "number"
  20447. },
  20448. "wrstandardname": {
  20449. "description": "表示商品ID.",
  20450. "type": "string"
  20451. }
  20452. }
  20453. },
  20454. "erms3.QueryUserInfoAppliesRsp": {
  20455. "type": "object",
  20456. "required": [
  20457. "userid"
  20458. ],
  20459. "properties": {
  20460. "biznature": {
  20461. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  20462. "type": "integer"
  20463. },
  20464. "contactname": {
  20465. "description": "联系人",
  20466. "type": "string"
  20467. },
  20468. "createtime": {
  20469. "description": "开户申请时间",
  20470. "type": "string"
  20471. },
  20472. "userid": {
  20473. "description": "用户ID(自增ID)",
  20474. "type": "integer"
  20475. },
  20476. "userinfotype": {
  20477. "description": "用户信息类型 - 1:个人 2:企业",
  20478. "type": "integer"
  20479. },
  20480. "username": {
  20481. "description": "用户姓名",
  20482. "type": "string"
  20483. },
  20484. "userstate": {
  20485. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  20486. "type": "integer"
  20487. }
  20488. }
  20489. },
  20490. "erms3.QueryUserInfosRsp": {
  20491. "type": "object",
  20492. "required": [
  20493. "userid"
  20494. ],
  20495. "properties": {
  20496. "biznature": {
  20497. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  20498. "type": "integer"
  20499. },
  20500. "contactname": {
  20501. "description": "联系人",
  20502. "type": "string"
  20503. },
  20504. "customername": {
  20505. "description": "客户名称(企业名称)",
  20506. "type": "string"
  20507. },
  20508. "userid": {
  20509. "description": "用户ID",
  20510. "type": "integer"
  20511. },
  20512. "userinfotype": {
  20513. "description": "用户信息类型 - 1:个人 2:企业",
  20514. "type": "integer"
  20515. },
  20516. "userstatus": {
  20517. "description": "用户状态 - 1:正常 2:注销",
  20518. "type": "integer"
  20519. }
  20520. }
  20521. },
  20522. "erms3.SoptContractDetail": {
  20523. "type": "object",
  20524. "required": [
  20525. "deliverygoodsid",
  20526. "producttype",
  20527. "unitname",
  20528. "warehouseid",
  20529. "wrstandardid",
  20530. "wrstandardname"
  20531. ],
  20532. "properties": {
  20533. "deliverygoodsdesc": {
  20534. "description": "现货品种说明",
  20535. "type": "string"
  20536. },
  20537. "deliverygoodsid": {
  20538. "description": "现货品种ID",
  20539. "type": "integer"
  20540. },
  20541. "deliverygoodsname": {
  20542. "description": "现货品种名称",
  20543. "type": "string"
  20544. },
  20545. "pointdesc": {
  20546. "description": "点价描述",
  20547. "type": "string"
  20548. },
  20549. "producttype": {
  20550. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  20551. "type": "integer"
  20552. },
  20553. "producttypename": {
  20554. "description": "产品类型名称",
  20555. "type": "string"
  20556. },
  20557. "spotPointOrderVoList": {
  20558. "description": "点价列表",
  20559. "type": "array",
  20560. "items": {
  20561. "$ref": "#/definitions/erms3.SpotPointOrder"
  20562. }
  20563. },
  20564. "spotPriceOrderList": {
  20565. "description": "定价列表",
  20566. "type": "array",
  20567. "items": {
  20568. "$ref": "#/definitions/erms3.SpotPriceOrder"
  20569. }
  20570. },
  20571. "unitname": {
  20572. "description": "单位名称",
  20573. "type": "string"
  20574. },
  20575. "warehouseid": {
  20576. "description": "仓库ID",
  20577. "type": "integer"
  20578. },
  20579. "warehousename": {
  20580. "description": "仓库名称",
  20581. "type": "string"
  20582. },
  20583. "wrstandardid": {
  20584. "description": "交易标的ID",
  20585. "type": "integer"
  20586. },
  20587. "wrstandardname": {
  20588. "description": "交易标的名称",
  20589. "type": "string"
  20590. }
  20591. }
  20592. },
  20593. "erms3.SpotPointOrder": {
  20594. "type": "object",
  20595. "required": [
  20596. "basic",
  20597. "goodsid",
  20598. "qty"
  20599. ],
  20600. "properties": {
  20601. "basic": {
  20602. "description": "基差",
  20603. "type": "number"
  20604. },
  20605. "deliveryenddate": {
  20606. "description": "交收结束日期",
  20607. "type": "string"
  20608. },
  20609. "deliverystartdate": {
  20610. "description": "交收开始日期",
  20611. "type": "string"
  20612. },
  20613. "enddate": {
  20614. "description": "点价结束日期",
  20615. "type": "string"
  20616. },
  20617. "goodsid": {
  20618. "description": "商品ID",
  20619. "type": "integer"
  20620. },
  20621. "goodsname": {
  20622. "description": "商品名称",
  20623. "type": "string"
  20624. },
  20625. "qty": {
  20626. "description": "数量",
  20627. "type": "number"
  20628. },
  20629. "startdate": {
  20630. "description": "点价开始日期",
  20631. "type": "string"
  20632. }
  20633. }
  20634. },
  20635. "erms3.SpotPriceOrder": {
  20636. "type": "object",
  20637. "required": [
  20638. "amount",
  20639. "price",
  20640. "qty"
  20641. ],
  20642. "properties": {
  20643. "amount": {
  20644. "description": "金额",
  20645. "type": "number"
  20646. },
  20647. "deliveryenddate": {
  20648. "description": "交收结束日期",
  20649. "type": "string"
  20650. },
  20651. "deliverystartdate": {
  20652. "description": "交收开始日期",
  20653. "type": "string"
  20654. },
  20655. "price": {
  20656. "description": "价格",
  20657. "type": "number"
  20658. },
  20659. "qty": {
  20660. "description": "数量",
  20661. "type": "number"
  20662. }
  20663. }
  20664. },
  20665. "hsby.GetHsbyMyCountRsp": {
  20666. "type": "object",
  20667. "properties": {
  20668. "myCouponCount": {
  20669. "description": "我的优惠卷数量",
  20670. "type": "integer"
  20671. },
  20672. "myOrderDetailListingCount": {
  20673. "description": "我的订单求购中数量",
  20674. "type": "integer"
  20675. },
  20676. "myOrderDetailPreCount": {
  20677. "description": "我的订单抢购中数量",
  20678. "type": "integer"
  20679. },
  20680. "myPackageUnReceiveCount": {
  20681. "description": "我的包裹待收货数量",
  20682. "type": "integer"
  20683. },
  20684. "myPackageUnSendCount": {
  20685. "description": "我的包裹待发货数量",
  20686. "type": "integer"
  20687. },
  20688. "myPayOrderCount": {
  20689. "description": "我的订单待付款数量",
  20690. "type": "integer"
  20691. }
  20692. }
  20693. },
  20694. "hsby.QueryProvincesAndCitiesRsp": {
  20695. "type": "object",
  20696. "properties": {
  20697. "cities": {
  20698. "description": "市",
  20699. "type": "array",
  20700. "items": {
  20701. "$ref": "#/definitions/models.Division"
  20702. }
  20703. },
  20704. "province": {
  20705. "description": "省",
  20706. "$ref": "#/definitions/models.Division"
  20707. }
  20708. }
  20709. },
  20710. "models.Arearole": {
  20711. "type": "object",
  20712. "required": [
  20713. "roletype",
  20714. "userid"
  20715. ],
  20716. "properties": {
  20717. "createtime": {
  20718. "description": "创建时间",
  20719. "type": "string"
  20720. },
  20721. "creatorid": {
  20722. "description": "创建人ID",
  20723. "type": "integer"
  20724. },
  20725. "fromuserid": {
  20726. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  20727. "type": "integer"
  20728. },
  20729. "isreturnscore": {
  20730. "description": "是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还",
  20731. "type": "integer"
  20732. },
  20733. "modifierid": {
  20734. "description": "修改人ID",
  20735. "type": "integer"
  20736. },
  20737. "modifytime": {
  20738. "description": "修改时间",
  20739. "type": "string"
  20740. },
  20741. "orgtype": {
  20742. "description": "组织机构类型 1:机构\\分支节点 2:交易员\\叶子节点 3:部门\\分支节点",
  20743. "type": "integer"
  20744. },
  20745. "outuserid": {
  20746. "description": "外部账户[场外期权做市商]",
  20747. "type": "string"
  20748. },
  20749. "parentuserid": {
  20750. "description": "上级组织机构(组织机构)",
  20751. "type": "integer"
  20752. },
  20753. "roletype": {
  20754. "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:门店",
  20755. "type": "integer"
  20756. },
  20757. "rootuserid": {
  20758. "description": "顶级组织机构用户ID(组织机构)",
  20759. "type": "integer"
  20760. },
  20761. "shoppassword": {
  20762. "description": "商城店铺登陆密码(商城店铺角色使用)",
  20763. "type": "string"
  20764. },
  20765. "sublevelpath": {
  20766. "description": "组织机构层级路径(逗号分隔,首尾加逗号)",
  20767. "type": "string"
  20768. },
  20769. "suborgtype": {
  20770. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  20771. "type": "integer"
  20772. },
  20773. "tradeaccountid": {
  20774. "description": "默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount",
  20775. "type": "integer"
  20776. },
  20777. "transurl": {
  20778. "description": "物流地址(物流机构)",
  20779. "type": "string"
  20780. },
  20781. "userid": {
  20782. "description": "机构用户ID其他做市关系,都设置为 1",
  20783. "type": "integer"
  20784. }
  20785. }
  20786. },
  20787. "models.Clientfixedadconfig": {
  20788. "type": "object",
  20789. "required": [
  20790. "adsort",
  20791. "adtype"
  20792. ],
  20793. "properties": {
  20794. "adsort": {
  20795. "description": "排序",
  20796. "type": "integer"
  20797. },
  20798. "adtype": {
  20799. "description": "广告位类型 - 1:新品抢购(HSBY)",
  20800. "type": "integer"
  20801. },
  20802. "areauserid": {
  20803. "description": "所属机构ID",
  20804. "type": "integer"
  20805. },
  20806. "createdate": {
  20807. "description": "创建时间",
  20808. "type": "string"
  20809. },
  20810. "creatorid": {
  20811. "description": "创建人",
  20812. "type": "integer"
  20813. },
  20814. "imagepath": {
  20815. "description": "图片",
  20816. "type": "string"
  20817. },
  20818. "isshow": {
  20819. "description": "是否展示 - 0:不展示 1:展示",
  20820. "type": "integer"
  20821. },
  20822. "modifierid": {
  20823. "description": "操作人",
  20824. "type": "integer"
  20825. },
  20826. "recsize": {
  20827. "description": "推荐尺寸",
  20828. "type": "string"
  20829. },
  20830. "title": {
  20831. "description": "标题",
  20832. "type": "string"
  20833. },
  20834. "updatedate": {
  20835. "description": "更新时间",
  20836. "type": "string"
  20837. },
  20838. "urlcontent": {
  20839. "description": "链接(地址或商品ID)",
  20840. "type": "string"
  20841. },
  20842. "urltype": {
  20843. "description": "链接类型 - 1:直接地址 2:商品ID",
  20844. "type": "integer"
  20845. }
  20846. }
  20847. },
  20848. "models.DgFactoryItem": {
  20849. "type": "object",
  20850. "properties": {
  20851. "dgfactoryitemid": {
  20852. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  20853. "type": "integer"
  20854. },
  20855. "dgfactoryitemtypeid": {
  20856. "description": "要素项类型",
  20857. "type": "integer"
  20858. },
  20859. "dgfactoryitemvalue": {
  20860. "description": "要素项值(类型为仓库时填写仓库名称)",
  20861. "type": "string"
  20862. },
  20863. "orderindex": {
  20864. "description": "顺序",
  20865. "type": "integer"
  20866. }
  20867. }
  20868. },
  20869. "models.Division": {
  20870. "type": "object",
  20871. "required": [
  20872. "autoid",
  20873. "divisioncode"
  20874. ],
  20875. "properties": {
  20876. "autoid": {
  20877. "description": "自增ID",
  20878. "type": "integer"
  20879. },
  20880. "divisioncode": {
  20881. "description": "行政代码",
  20882. "type": "string"
  20883. },
  20884. "divisionlevel": {
  20885. "description": "行政级别",
  20886. "type": "string"
  20887. },
  20888. "divisionname": {
  20889. "description": "行政名称",
  20890. "type": "string"
  20891. },
  20892. "modifierid": {
  20893. "description": "修改人",
  20894. "type": "integer"
  20895. },
  20896. "modifytime": {
  20897. "description": "修改时间",
  20898. "type": "string"
  20899. },
  20900. "parentcode": {
  20901. "description": "上级行政代码",
  20902. "type": "string"
  20903. },
  20904. "pathname": {
  20905. "description": "路径名称",
  20906. "type": "string"
  20907. },
  20908. "postcode": {
  20909. "description": "邮政编码",
  20910. "type": "string"
  20911. },
  20912. "separablename": {
  20913. "description": "可拆分的全称",
  20914. "type": "string"
  20915. },
  20916. "shortcode": {
  20917. "description": "地区简码",
  20918. "type": "string"
  20919. }
  20920. }
  20921. },
  20922. "models.Enumdicitem": {
  20923. "type": "object",
  20924. "required": [
  20925. "autoid",
  20926. "enumdiccode",
  20927. "enumdicid",
  20928. "enumitemname"
  20929. ],
  20930. "properties": {
  20931. "autoid": {
  20932. "description": "自增ID",
  20933. "type": "integer"
  20934. },
  20935. "bankmappedvalue": {
  20936. "description": "银行服务对应值",
  20937. "type": "string"
  20938. },
  20939. "enumdiccode": {
  20940. "description": "所属枚举代码",
  20941. "type": "string"
  20942. },
  20943. "enumdicid": {
  20944. "description": "所属枚举ID",
  20945. "type": "integer"
  20946. },
  20947. "enumdicname": {
  20948. "description": "枚举项名称",
  20949. "type": "string"
  20950. },
  20951. "enumitemname": {
  20952. "description": "枚举项值",
  20953. "type": "integer"
  20954. },
  20955. "enumitemstatus": {
  20956. "description": "枚举项状态 - 1.启用 2.不启用",
  20957. "type": "integer"
  20958. },
  20959. "enumitemvalue": {
  20960. "description": "通用值 - [币种通用简写]",
  20961. "type": "string"
  20962. },
  20963. "param1": {
  20964. "description": "参数1[币种:币种小数位]",
  20965. "type": "string"
  20966. },
  20967. "param2": {
  20968. "description": "参数1[币种:币种显示单位]",
  20969. "type": "string"
  20970. },
  20971. "remark": {
  20972. "description": "备注",
  20973. "type": "string"
  20974. }
  20975. }
  20976. },
  20977. "models.Ermcp2AreaExposure": {
  20978. "type": "object",
  20979. "properties": {
  20980. "areauserid": {
  20981. "description": "所属机构",
  20982. "type": "integer"
  20983. },
  20984. "enumdicname": {
  20985. "description": "单位",
  20986. "type": "string"
  20987. },
  20988. "futureqty": {
  20989. "description": "期货套期量",
  20990. "type": "number"
  20991. },
  20992. "futureqtychange": {
  20993. "description": "期货变动量 = FutureQty - OriFutureQty",
  20994. "type": "number"
  20995. },
  20996. "goodsunitid": {
  20997. "description": "单位ID",
  20998. "type": "integer"
  20999. },
  21000. "hedgedspotexposure": {
  21001. "description": "被套期现货敞口量",
  21002. "type": "number"
  21003. },
  21004. "hedgedspratio": {
  21005. "description": "套期期现比例 = 期货套期量/被套期现货敞口量",
  21006. "type": "number"
  21007. },
  21008. "hedgedtotalexposourechange": {
  21009. "description": "被套期敞口变动量 = HedgedTotalExposure - OriHedgedTotalExposure",
  21010. "type": "number"
  21011. },
  21012. "hedgedtotalexposure": {
  21013. "description": "套期敞口量 = 被套期现货敞口量+期货套期量",
  21014. "type": "number"
  21015. },
  21016. "hedgeplanqty": {
  21017. "description": "套期计划量",
  21018. "type": "number"
  21019. },
  21020. "hedgeplanqtychange": {
  21021. "description": "计划变动量 = HedgePlanQty - OriHedgePlanQty",
  21022. "type": "number"
  21023. },
  21024. "hedgespotqty": {
  21025. "description": "被套期现货量",
  21026. "type": "number"
  21027. },
  21028. "middlegoodsid": {
  21029. "description": "套保品种",
  21030. "type": "integer"
  21031. },
  21032. "middlegoodsname": {
  21033. "description": "套保品种名称",
  21034. "type": "string"
  21035. },
  21036. "orifutureqty": {
  21037. "description": "期初期货套期量",
  21038. "type": "number"
  21039. },
  21040. "orihedgedspotexposure": {
  21041. "description": "期初被套期现货敞口量",
  21042. "type": "number"
  21043. },
  21044. "orihedgedtotalexposure": {
  21045. "description": "期初套期敞口量",
  21046. "type": "number"
  21047. },
  21048. "orihedgeplanqty": {
  21049. "description": "期初套期计划量",
  21050. "type": "number"
  21051. },
  21052. "orihedgespotqty": {
  21053. "description": "期初被套期现货量",
  21054. "type": "number"
  21055. },
  21056. "orispotexposure": {
  21057. "description": "期初现货敞口量",
  21058. "type": "number"
  21059. },
  21060. "orispotqty": {
  21061. "description": "期初现货总量",
  21062. "type": "number"
  21063. },
  21064. "oritotalexposure": {
  21065. "description": "期初总敞口量",
  21066. "type": "number"
  21067. },
  21068. "spotexposure": {
  21069. "description": "现货敞口量",
  21070. "type": "number"
  21071. },
  21072. "spotqty": {
  21073. "description": "现货总量",
  21074. "type": "number"
  21075. },
  21076. "spotqtychange": {
  21077. "description": "现货变动量 = SpotQty - OriSpotQty",
  21078. "type": "number"
  21079. },
  21080. "spratio": {
  21081. "description": "总期现比例 = 期货套期量/现货敞口量",
  21082. "type": "number"
  21083. },
  21084. "totalexposure": {
  21085. "description": "总敞口量 = 现货敞口量 + 期货套期量",
  21086. "type": "number"
  21087. },
  21088. "totalexposurechange": {
  21089. "description": "总敞口变动量 = TotalExposure - OriTotalExposure",
  21090. "type": "number"
  21091. },
  21092. "updatetime": {
  21093. "description": "更新时间 --DATE",
  21094. "type": "string"
  21095. }
  21096. }
  21097. },
  21098. "models.Ermcp2hedgeditem": {
  21099. "type": "object",
  21100. "properties": {
  21101. "accountname": {
  21102. "description": "套期主体",
  21103. "type": "string"
  21104. },
  21105. "applyid": {
  21106. "description": "申请人",
  21107. "type": "integer"
  21108. },
  21109. "applysrc": {
  21110. "description": "申请来源 - 1:管理端 2:终端",
  21111. "type": "integer"
  21112. },
  21113. "areauserid": {
  21114. "description": "企业ID",
  21115. "type": "integer"
  21116. },
  21117. "auditid": {
  21118. "description": "审核人",
  21119. "type": "integer"
  21120. },
  21121. "auditremark": {
  21122. "description": "审核备注",
  21123. "type": "string"
  21124. },
  21125. "auditsrc": {
  21126. "description": "审核来源 - 1:管理端 2:终端",
  21127. "type": "integer"
  21128. },
  21129. "audittime": {
  21130. "description": "审核时间",
  21131. "type": "string"
  21132. },
  21133. "audittradedate": {
  21134. "description": "审核交易日(yyyyMMdd)",
  21135. "type": "string"
  21136. },
  21137. "createtime": {
  21138. "description": "申请时间",
  21139. "type": "string"
  21140. },
  21141. "curprice": {
  21142. "description": "当前市场价",
  21143. "type": "number"
  21144. },
  21145. "curstock": {
  21146. "description": "期末库存量 = 采购总量 - 销售总量",
  21147. "type": "number"
  21148. },
  21149. "deliverygoodsid": {
  21150. "description": "现货品种ID",
  21151. "type": "integer"
  21152. },
  21153. "enddate": {
  21154. "description": "完成日期",
  21155. "type": "string"
  21156. },
  21157. "endtradedate": {
  21158. "description": "完成交易日",
  21159. "type": "string"
  21160. },
  21161. "enumdicname": {
  21162. "description": "单位",
  21163. "type": "string"
  21164. },
  21165. "exeamount": {
  21166. "description": "执行市价总额",
  21167. "type": "number"
  21168. },
  21169. "exeavgprice": {
  21170. "description": "执行市场均价= 执行市价总额 / 执行现货量",
  21171. "type": "number"
  21172. },
  21173. "execontractamount": {
  21174. "description": "执行定价总额",
  21175. "type": "number"
  21176. },
  21177. "exeqty": {
  21178. "description": "执行现货量",
  21179. "type": "number"
  21180. },
  21181. "exerestamount": {
  21182. "description": "执行剩余市价总额【现货贸易】",
  21183. "type": "number"
  21184. },
  21185. "futurefloatpl": {
  21186. "description": "期货浮动损益",
  21187. "type": "number"
  21188. },
  21189. "futurehedgepl": {
  21190. "description": "期货实际损益",
  21191. "type": "number"
  21192. },
  21193. "futurehedgeplchange": {
  21194. "description": "期货实际损益变动",
  21195. "type": "number"
  21196. },
  21197. "futurepl": {
  21198. "description": "期货套期损益",
  21199. "type": "number"
  21200. },
  21201. "futureplchange": {
  21202. "description": "期货套期损益变动",
  21203. "type": "number"
  21204. },
  21205. "hedgeamount": {
  21206. "description": "套期市价总额",
  21207. "type": "number"
  21208. },
  21209. "hedgecontractamount": {
  21210. "description": "套期定价总额 【定价采购合同】【现货贸易】",
  21211. "type": "number"
  21212. },
  21213. "hedgeditemid": {
  21214. "description": "被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)",
  21215. "type": "string"
  21216. },
  21217. "hedgeditemname": {
  21218. "description": "项目名称",
  21219. "type": "string"
  21220. },
  21221. "hedgeditemnum": {
  21222. "description": "项目编号",
  21223. "type": "string"
  21224. },
  21225. "hedgeditemstatus": {
  21226. "description": "项目状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  21227. "type": "integer"
  21228. },
  21229. "hedgedtype": {
  21230. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  21231. "type": "integer"
  21232. },
  21233. "hedgeqty": {
  21234. "description": "套期现货量",
  21235. "type": "number"
  21236. },
  21237. "hedgerate": {
  21238. "description": "套保比率",
  21239. "type": "number"
  21240. },
  21241. "hedgerestamount": {
  21242. "description": "套期剩余市价总额【现货贸易】",
  21243. "type": "number"
  21244. },
  21245. "hedgesumpl": {
  21246. "description": "套期汇总损益 = 期货汇总损益 + 现货汇总损益",
  21247. "type": "number"
  21248. },
  21249. "middlegoodslist": {
  21250. "description": "套期商品列表",
  21251. "type": "array",
  21252. "items": {
  21253. "$ref": "#/definitions/models.Ermcp2himiddlegoods"
  21254. }
  21255. },
  21256. "oriavgprice": {
  21257. "description": "期初市场均价 = 套期市价总额 / 套期现货量",
  21258. "type": "number"
  21259. },
  21260. "orifuturehedgepl": {
  21261. "description": "期初期货实际损益",
  21262. "type": "number"
  21263. },
  21264. "orifuturepl": {
  21265. "description": "期初期货套期损益",
  21266. "type": "number"
  21267. },
  21268. "orispothedgepl": {
  21269. "description": "期初现货实际损益",
  21270. "type": "number"
  21271. },
  21272. "orispotpl": {
  21273. "description": "期初现货套期损益",
  21274. "type": "number"
  21275. },
  21276. "planenddate": {
  21277. "description": "计划结束日期",
  21278. "type": "string"
  21279. },
  21280. "planstartdate": {
  21281. "description": "计划开始日期",
  21282. "type": "string"
  21283. },
  21284. "remark": {
  21285. "description": "备注",
  21286. "type": "string"
  21287. },
  21288. "spotbookamount": {
  21289. "description": "现货账面总额",
  21290. "type": "number"
  21291. },
  21292. "spotfloatpl": {
  21293. "description": "现货浮动损益 =(当前市场价 - 期初市场价)*未执行现货量 * 方向(销售计划 为 -1, 其它为1)",
  21294. "type": "number"
  21295. },
  21296. "spothedgepl": {
  21297. "description": "现货套期损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)",
  21298. "type": "number"
  21299. },
  21300. "spothedgeplchange": {
  21301. "description": "现货实际损益变动",
  21302. "type": "number"
  21303. },
  21304. "spotpl": {
  21305. "description": "现货套期损益 = 现货实际损益 + 现货浮动损益",
  21306. "type": "number"
  21307. },
  21308. "spotplchange": {
  21309. "description": "现货套期损益变动",
  21310. "type": "number"
  21311. },
  21312. "spottradepl": {
  21313. "description": "现货贸易损益【现货贸易】= 执行合同定价总额 - 套期合同定价总额",
  21314. "type": "number"
  21315. },
  21316. "sumobspl": {
  21317. "description": "汇总绝对损益【现货贸易】=现货贸易损益+增值税损益+期货套期损益",
  21318. "type": "number"
  21319. },
  21320. "tradeuserid": {
  21321. "description": "交易用户ID",
  21322. "type": "integer"
  21323. },
  21324. "unexeqty": {
  21325. "description": "未执行现货量 = 套期现货量 - 执行现货量",
  21326. "type": "number"
  21327. },
  21328. "updatetime": {
  21329. "description": "更新时间",
  21330. "type": "string"
  21331. },
  21332. "vatpl": {
  21333. "description": "增值税损益【现货贸易】= 现货贸易损益 * (增值税率 /(1+增值税率))",
  21334. "type": "number"
  21335. },
  21336. "vatrate": {
  21337. "description": "增值税",
  21338. "type": "number"
  21339. },
  21340. "wrstandardid": {
  21341. "description": "现货商品ID",
  21342. "type": "integer"
  21343. },
  21344. "wrstandardname": {
  21345. "description": "商品名称",
  21346. "type": "string"
  21347. }
  21348. }
  21349. },
  21350. "models.Ermcp2hedgeditemsDetail": {
  21351. "type": "object",
  21352. "properties": {
  21353. "accountname": {
  21354. "description": "套期主体",
  21355. "type": "string"
  21356. },
  21357. "areauserid": {
  21358. "description": "企业ID",
  21359. "type": "integer"
  21360. },
  21361. "createtime": {
  21362. "description": "创建时间",
  21363. "type": "string"
  21364. },
  21365. "customeruserid": {
  21366. "description": "对手方 【3:采购合同 4:销售合同】",
  21367. "type": "integer"
  21368. },
  21369. "deliverygoodsid": {
  21370. "description": "现货品种ID",
  21371. "type": "integer"
  21372. },
  21373. "enumdicname": {
  21374. "description": "单位",
  21375. "type": "string"
  21376. },
  21377. "hedgeditemid": {
  21378. "description": "被套期项目ID",
  21379. "type": "string"
  21380. },
  21381. "hedgeditemspotid": {
  21382. "description": "现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)",
  21383. "type": "string"
  21384. },
  21385. "hedgedtype": {
  21386. "description": "套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  21387. "type": "integer"
  21388. },
  21389. "hedgeplanno": {
  21390. "description": "计划编号",
  21391. "type": "string"
  21392. },
  21393. "oriavgprice": {
  21394. "description": "期初市场价[当初市场价]",
  21395. "type": "number"
  21396. },
  21397. "relatedamount": {
  21398. "description": "市价总额 = 关联数量 * 期初市场价",
  21399. "type": "number"
  21400. },
  21401. "relatedhedgeplanid": {
  21402. "description": "关联计划ID 【1:采购计划 2:销售计划】",
  21403. "type": "integer"
  21404. },
  21405. "relatedqty": {
  21406. "description": "[期间变化量]关联数量",
  21407. "type": "number"
  21408. },
  21409. "relatedspotcontractid": {
  21410. "description": "关联合同ID 【3:采购合同 4:销售合同】",
  21411. "type": "integer"
  21412. },
  21413. "relatedtype": {
  21414. "description": "关联类型 - 1:套期关联 2:执行关联",
  21415. "type": "integer"
  21416. },
  21417. "spotgoodsbrandid": {
  21418. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\" = 2",
  21419. "type": "integer"
  21420. },
  21421. "spotpricedamount": {
  21422. "description": "定价总额",
  21423. "type": "number"
  21424. },
  21425. "spotpricedavgprice": {
  21426. "description": "现货均价 = 定价总额 / 关联数量",
  21427. "type": "number"
  21428. },
  21429. "spottype": {
  21430. "description": "现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货",
  21431. "type": "integer"
  21432. },
  21433. "tradeuserid": {
  21434. "description": "交易用户ID",
  21435. "type": "integer"
  21436. },
  21437. "unexeqty": {
  21438. "description": "未执行现货量 = 套期现货量 - 执行现货量",
  21439. "type": "number"
  21440. },
  21441. "wrstandardid": {
  21442. "description": "现货商品ID",
  21443. "type": "integer"
  21444. },
  21445. "wrstandardname": {
  21446. "description": "现货商品",
  21447. "type": "string"
  21448. }
  21449. }
  21450. },
  21451. "models.Ermcp2hedgeditemspot": {
  21452. "type": "object",
  21453. "required": [
  21454. "hedgeditemid"
  21455. ],
  21456. "properties": {
  21457. "areauserid": {
  21458. "description": "企业ID",
  21459. "type": "integer"
  21460. },
  21461. "createtime": {
  21462. "description": "创建时间",
  21463. "type": "string"
  21464. },
  21465. "customeruserid": {
  21466. "description": "对手方 【3:采购合同 4:销售合同】",
  21467. "type": "integer"
  21468. },
  21469. "deliverygoodsid": {
  21470. "description": "现货品种ID",
  21471. "type": "integer"
  21472. },
  21473. "enumdicname": {
  21474. "description": "单位",
  21475. "type": "string"
  21476. },
  21477. "hedgeditemid": {
  21478. "description": "被套期项目ID",
  21479. "type": "string"
  21480. },
  21481. "hedgeditemspotid": {
  21482. "description": "现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)",
  21483. "type": "string"
  21484. },
  21485. "hedgedtype": {
  21486. "description": "套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  21487. "type": "integer"
  21488. },
  21489. "hedgeplanno": {
  21490. "description": "计划编号",
  21491. "type": "string"
  21492. },
  21493. "oriavgprice": {
  21494. "description": "期初市场价[当初市场价]",
  21495. "type": "number"
  21496. },
  21497. "relatedamount": {
  21498. "description": "市价总额 = 关联数量 * 期初市场价",
  21499. "type": "number"
  21500. },
  21501. "relatedhedgeplanid": {
  21502. "description": "关联计划ID 【1:采购计划 2:销售计划】",
  21503. "type": "integer"
  21504. },
  21505. "relatedqty": {
  21506. "description": "关联数量[数量]",
  21507. "type": "number"
  21508. },
  21509. "relatedspotcontractid": {
  21510. "description": "关联合同ID 【3:采购合同 4:销售合同】",
  21511. "type": "integer"
  21512. },
  21513. "relatedtype": {
  21514. "description": "关联类型 - 1:套期关联 2:执行关联",
  21515. "type": "integer"
  21516. },
  21517. "spotgoodsbrandid": {
  21518. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\" = 2",
  21519. "type": "integer"
  21520. },
  21521. "spotpricedamount": {
  21522. "description": "定价总额",
  21523. "type": "number"
  21524. },
  21525. "spotpricedavgprice": {
  21526. "description": "现货均价 = 定价总额 / 关联数量",
  21527. "type": "number"
  21528. },
  21529. "spottype": {
  21530. "description": "现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货",
  21531. "type": "integer"
  21532. },
  21533. "tradeuserid": {
  21534. "description": "交易用户ID",
  21535. "type": "integer"
  21536. },
  21537. "wrstandardid": {
  21538. "description": "现货商品ID",
  21539. "type": "integer"
  21540. },
  21541. "wrstandardname": {
  21542. "description": "现货商品",
  21543. "type": "string"
  21544. }
  21545. }
  21546. },
  21547. "models.Ermcp2hedgeditemspotDetail": {
  21548. "type": "object",
  21549. "required": [
  21550. "hedgeditemid"
  21551. ],
  21552. "properties": {
  21553. "accountname": {
  21554. "description": "对手方",
  21555. "type": "string"
  21556. },
  21557. "areauserid": {
  21558. "description": "企业ID",
  21559. "type": "integer"
  21560. },
  21561. "brandname": {
  21562. "description": "品牌",
  21563. "type": "string"
  21564. },
  21565. "contractno": {
  21566. "description": "合同编号",
  21567. "type": "string"
  21568. },
  21569. "createtime": {
  21570. "description": "创建时间",
  21571. "type": "string"
  21572. },
  21573. "customeruserid": {
  21574. "description": "对手方 【3:采购合同 4:销售合同】",
  21575. "type": "integer"
  21576. },
  21577. "deliverygoodsid": {
  21578. "description": "现货品种ID",
  21579. "type": "integer"
  21580. },
  21581. "enumdicname": {
  21582. "description": "单位",
  21583. "type": "string"
  21584. },
  21585. "hedgeditemid": {
  21586. "description": "被套期项目ID",
  21587. "type": "string"
  21588. },
  21589. "hedgeditemspotid": {
  21590. "description": "现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)",
  21591. "type": "string"
  21592. },
  21593. "hedgedtype": {
  21594. "description": "套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  21595. "type": "integer"
  21596. },
  21597. "oriavgprice": {
  21598. "description": "期初市场价[当初市场价]",
  21599. "type": "number"
  21600. },
  21601. "relatedamount": {
  21602. "description": "市价总额 = 关联数量 * 期初市场价",
  21603. "type": "number"
  21604. },
  21605. "relatedhedgeplanid": {
  21606. "description": "关联计划ID 【1:采购计划 2:销售计划】",
  21607. "type": "integer"
  21608. },
  21609. "relatedqty": {
  21610. "description": "关联数量[数量]",
  21611. "type": "number"
  21612. },
  21613. "relatedspotcontractid": {
  21614. "description": "关联合同ID 【3:采购合同 4:销售合同】",
  21615. "type": "integer"
  21616. },
  21617. "relatedtype": {
  21618. "description": "关联类型 - 1:套期关联 2:执行关联",
  21619. "type": "integer"
  21620. },
  21621. "spotgoodsbrandid": {
  21622. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\" = 2",
  21623. "type": "integer"
  21624. },
  21625. "spotpricedamount": {
  21626. "description": "定价总额[金额]",
  21627. "type": "number"
  21628. },
  21629. "spotpricedavgprice": {
  21630. "description": "现货均价 = 定价总额 / 关联数量",
  21631. "type": "number"
  21632. },
  21633. "spottype": {
  21634. "description": "现货类型[合同类型] - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货",
  21635. "type": "integer"
  21636. },
  21637. "tradeuserid": {
  21638. "description": "交易用户ID",
  21639. "type": "integer"
  21640. },
  21641. "wrstandardid": {
  21642. "description": "现货商品ID",
  21643. "type": "integer"
  21644. },
  21645. "wrstandardname": {
  21646. "description": "现货商品",
  21647. "type": "string"
  21648. }
  21649. }
  21650. },
  21651. "models.Ermcp2himiddlegoods": {
  21652. "type": "object",
  21653. "required": [
  21654. "hedgeditemid",
  21655. "middlegoodsid"
  21656. ],
  21657. "properties": {
  21658. "futurehedgeqty": {
  21659. "description": "期货持仓套期量",
  21660. "type": "number"
  21661. },
  21662. "hedgeditemid": {
  21663. "description": "被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)",
  21664. "type": "integer"
  21665. },
  21666. "hiexpsoure": {
  21667. "description": "期现敞口量 = 未执行套期量 + 期货持仓套期量",
  21668. "type": "number"
  21669. },
  21670. "middlegoodscode": {
  21671. "description": "套保商品代码",
  21672. "type": "string"
  21673. },
  21674. "middlegoodsid": {
  21675. "description": "套保品种ID",
  21676. "type": "integer"
  21677. },
  21678. "middlegoodsname": {
  21679. "description": "套保商品名称",
  21680. "type": "string"
  21681. },
  21682. "unexehedgeqty": {
  21683. "description": "未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)",
  21684. "type": "number"
  21685. }
  21686. }
  21687. },
  21688. "models.Ermcp2stockspotchangelog": {
  21689. "type": "object",
  21690. "properties": {
  21691. "accountname": {
  21692. "description": "套期主体",
  21693. "type": "string"
  21694. },
  21695. "aftervalue": {
  21696. "description": "现货量",
  21697. "type": "number"
  21698. },
  21699. "beforevalue": {
  21700. "description": "变更前现货量",
  21701. "type": "number"
  21702. },
  21703. "contracttype": {
  21704. "description": "现货合同类型 - 1:采购 -1:销售",
  21705. "type": "integer"
  21706. },
  21707. "createtime": {
  21708. "description": "创建时间",
  21709. "type": "string"
  21710. },
  21711. "customerusername": {
  21712. "description": "对手方",
  21713. "type": "string"
  21714. },
  21715. "deliverygoodsid": {
  21716. "description": "现货品种ID",
  21717. "type": "integer"
  21718. },
  21719. "exetype": {
  21720. "description": "执行类型 - 1:采购合同 2:销售合同 3:生产入库 4:生产出库",
  21721. "type": "integer"
  21722. },
  21723. "logid": {
  21724. "description": "流水ID(604+Unix秒时间戳(10位)+xxxxxx)",
  21725. "type": "integer"
  21726. },
  21727. "logvalue": {
  21728. "description": "现货量变更值",
  21729. "type": "number"
  21730. },
  21731. "middlegoodschange": {
  21732. "description": "套期商品变化量 = LogValue * 折算系数 * (1/(1+增值税))",
  21733. "type": "number"
  21734. },
  21735. "operatelogtype": {
  21736. "description": "操作流水类型 - 2:点价数量 21:正常完结(合同) 22:异常终止(合同) 24:采购入库 25:销售出库 26:生产入库 27:生产出库",
  21737. "type": "integer"
  21738. },
  21739. "relatedid": {
  21740. "description": "现货合同ID",
  21741. "type": "integer"
  21742. },
  21743. "spotgoodsbrandid": {
  21744. "description": "现货品牌ID",
  21745. "type": "integer"
  21746. },
  21747. "tradedate": {
  21748. "description": "交易日(yyyyMMdd)",
  21749. "type": "string"
  21750. },
  21751. "userid": {
  21752. "description": "机构ID",
  21753. "type": "integer"
  21754. },
  21755. "warehouseinfoid": {
  21756. "description": "仓库ID",
  21757. "type": "integer"
  21758. },
  21759. "wrfactortypeid": {
  21760. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  21761. "type": "integer"
  21762. },
  21763. "wrstandardid": {
  21764. "description": "现货商品ID",
  21765. "type": "integer"
  21766. },
  21767. "wrstandardname": {
  21768. "description": "商品名称",
  21769. "type": "string"
  21770. }
  21771. }
  21772. },
  21773. "models.Ermcp3AreaSpot": {
  21774. "type": "object",
  21775. "properties": {
  21776. "areauserid": {
  21777. "description": "所属机构",
  21778. "type": "integer"
  21779. },
  21780. "convertratio": {
  21781. "description": "套保系数",
  21782. "type": "number"
  21783. },
  21784. "decreaseqty": {
  21785. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  21786. "type": "number"
  21787. },
  21788. "enumdicname": {
  21789. "description": "单位名称",
  21790. "type": "string"
  21791. },
  21792. "increaseqty": {
  21793. "description": "增加数量=销售计划数量+采购已定价数量",
  21794. "type": "number"
  21795. },
  21796. "oritoalspotqty": {
  21797. "description": "昨日数量",
  21798. "type": "number"
  21799. },
  21800. "totalspotqty": {
  21801. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  21802. "type": "number"
  21803. },
  21804. "unitid": {
  21805. "description": "现货商品单位id",
  21806. "type": "integer"
  21807. },
  21808. "updatetime": {
  21809. "description": "更新时间",
  21810. "type": "string"
  21811. },
  21812. "wrstandardcode": {
  21813. "description": "现货商品代码",
  21814. "type": "string"
  21815. },
  21816. "wrstandardid": {
  21817. "description": "现货商品ID(SEQ_WRSTANDARD)",
  21818. "type": "integer"
  21819. },
  21820. "wrstandardname": {
  21821. "description": "现货商品名称",
  21822. "type": "string"
  21823. }
  21824. }
  21825. },
  21826. "models.Ermcp3AreaSpotDetail": {
  21827. "type": "object",
  21828. "properties": {
  21829. "contracttype": {
  21830. "description": "合同类型 1-采购 -1-销售",
  21831. "type": "integer"
  21832. },
  21833. "createtime": {
  21834. "description": "创建时间",
  21835. "type": "string"
  21836. },
  21837. "enumdicname": {
  21838. "description": "现货商品单位名称",
  21839. "type": "string"
  21840. },
  21841. "logtype": {
  21842. "description": "记录类型 1-套保 2-现货合同",
  21843. "type": "integer"
  21844. },
  21845. "qty": {
  21846. "description": "数量",
  21847. "type": "number"
  21848. },
  21849. "recordname": {
  21850. "description": "类型名称",
  21851. "type": "string"
  21852. },
  21853. "relatedid": {
  21854. "description": "套保计划ID/现货合同ID",
  21855. "type": "string"
  21856. },
  21857. "relatedno": {
  21858. "description": "编号",
  21859. "type": "string"
  21860. },
  21861. "strtime": {
  21862. "description": "时间",
  21863. "type": "string"
  21864. },
  21865. "wrstandardcode": {
  21866. "description": "现货商品代码",
  21867. "type": "string"
  21868. },
  21869. "wrstandardid": {
  21870. "description": "现货商品ID(SEQ_WRSTANDARD)",
  21871. "type": "integer"
  21872. },
  21873. "wrstandardname": {
  21874. "description": "现货商品名称",
  21875. "type": "string"
  21876. }
  21877. }
  21878. },
  21879. "models.Ermcp3AreaSpotPLReport": {
  21880. "type": "object",
  21881. "properties": {
  21882. "accountid": {
  21883. "description": "期货账户ID (作废, 默认为0)",
  21884. "type": "integer"
  21885. },
  21886. "accountname": {
  21887. "description": "机构名称",
  21888. "type": "string"
  21889. },
  21890. "actualpl": {
  21891. "description": "现货损益",
  21892. "type": "number"
  21893. },
  21894. "areauserid": {
  21895. "description": "所属机构\\交易用户ID",
  21896. "type": "integer"
  21897. },
  21898. "begindate": {
  21899. "description": "开始交易日",
  21900. "type": "string"
  21901. },
  21902. "biztype": {
  21903. "description": "业务类型 - 1:套保 2:套利",
  21904. "type": "integer"
  21905. },
  21906. "brandname": {
  21907. "description": "品牌名称",
  21908. "type": "string"
  21909. },
  21910. "curamount": {
  21911. "description": "期末额",
  21912. "type": "number"
  21913. },
  21914. "curaverageprice": {
  21915. "description": "期末均价",
  21916. "type": "number"
  21917. },
  21918. "curbuyamount": {
  21919. "description": "期末采购总额",
  21920. "type": "number"
  21921. },
  21922. "curbuyqty": {
  21923. "description": "期末采购总量",
  21924. "type": "number"
  21925. },
  21926. "curmarketvalue": {
  21927. "description": "参考市值(期末市值)",
  21928. "type": "number"
  21929. },
  21930. "curqty": {
  21931. "description": "期末量",
  21932. "type": "number"
  21933. },
  21934. "currencyid": {
  21935. "description": "结算币种ID【原值】",
  21936. "type": "integer"
  21937. },
  21938. "currencyname": {
  21939. "description": "币种名称",
  21940. "type": "string"
  21941. },
  21942. "cursellamount": {
  21943. "description": "期末销售总额",
  21944. "type": "number"
  21945. },
  21946. "cursellqty": {
  21947. "description": "期末销售总量",
  21948. "type": "number"
  21949. },
  21950. "curspotprice": {
  21951. "description": "参考市价(最新价)",
  21952. "type": "number"
  21953. },
  21954. "cycletime": {
  21955. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  21956. "type": "string"
  21957. },
  21958. "cycletype": {
  21959. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  21960. "type": "integer"
  21961. },
  21962. "deliverygoodscode": {
  21963. "description": "现货品种代码",
  21964. "type": "string"
  21965. },
  21966. "deliverygoodsid": {
  21967. "description": "现货品种ID",
  21968. "type": "integer"
  21969. },
  21970. "deliverygoodsname": {
  21971. "description": "现货品种名称",
  21972. "type": "string"
  21973. },
  21974. "enddate": {
  21975. "description": "结束交易日",
  21976. "type": "string"
  21977. },
  21978. "enumdicname": {
  21979. "description": "现货品种单位名称(作废)",
  21980. "type": "string"
  21981. },
  21982. "floatpl": {
  21983. "description": "浮动损益",
  21984. "type": "number"
  21985. },
  21986. "goodsunitid": {
  21987. "description": "现货品种单位id(作废)",
  21988. "type": "integer"
  21989. },
  21990. "oriamount": {
  21991. "description": "期初额",
  21992. "type": "number"
  21993. },
  21994. "oriaverageprice": {
  21995. "description": "期初均价",
  21996. "type": "number"
  21997. },
  21998. "oribuyamount": {
  21999. "description": "期初采购总额",
  22000. "type": "number"
  22001. },
  22002. "oribuyqty": {
  22003. "description": "期初采购总量",
  22004. "type": "number"
  22005. },
  22006. "oriqty": {
  22007. "description": "期初量",
  22008. "type": "number"
  22009. },
  22010. "orisellamount": {
  22011. "description": "期初销售总额",
  22012. "type": "number"
  22013. },
  22014. "orisellqty": {
  22015. "description": "期初销售总量",
  22016. "type": "number"
  22017. },
  22018. "reckondate": {
  22019. "description": "日照时期(yyyyMMdd)",
  22020. "type": "string"
  22021. },
  22022. "spotgoodsbrandid": {
  22023. "description": "现货品牌ID",
  22024. "type": "integer"
  22025. },
  22026. "todaybuyamount": {
  22027. "description": "今日采购额(今采购额)",
  22028. "type": "number"
  22029. },
  22030. "todaybuyaverageprice": {
  22031. "description": "今日采购均价",
  22032. "type": "number"
  22033. },
  22034. "todaybuyqty": {
  22035. "description": "今日采购量(今采购量)",
  22036. "type": "number"
  22037. },
  22038. "todayinqty": {
  22039. "description": "今日入库量(今入库量)",
  22040. "type": "number"
  22041. },
  22042. "todayoutqty": {
  22043. "description": "今日出库量(今出库量)",
  22044. "type": "number"
  22045. },
  22046. "todaysellamount": {
  22047. "description": "今日销售额(今销售额)",
  22048. "type": "number"
  22049. },
  22050. "todaysellaverageprice": {
  22051. "description": "今日销售均价",
  22052. "type": "number"
  22053. },
  22054. "todaysellqty": {
  22055. "description": "今日销售量(今销售量)",
  22056. "type": "number"
  22057. },
  22058. "unitid": {
  22059. "description": "品类单位id",
  22060. "type": "integer"
  22061. },
  22062. "unitidname": {
  22063. "description": "品类单位名称",
  22064. "type": "string"
  22065. },
  22066. "updatetime": {
  22067. "description": "更新时间",
  22068. "type": "string"
  22069. },
  22070. "wrfactortypeid": {
  22071. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  22072. "type": "integer"
  22073. },
  22074. "wrstandardcode": {
  22075. "description": "现货商品(品类)代码",
  22076. "type": "string"
  22077. },
  22078. "wrstandardid": {
  22079. "description": "现货品类ID",
  22080. "type": "integer"
  22081. },
  22082. "wrstandardname": {
  22083. "description": "现货商品(品类)名称",
  22084. "type": "string"
  22085. }
  22086. }
  22087. },
  22088. "models.Ermcp3AreaStock": {
  22089. "type": "object",
  22090. "required": [
  22091. "userid"
  22092. ],
  22093. "properties": {
  22094. "brandname": {
  22095. "description": "品牌名称",
  22096. "type": "string"
  22097. },
  22098. "curstock": {
  22099. "description": "期末库存量(今日量)",
  22100. "type": "number"
  22101. },
  22102. "deliverygoodscode": {
  22103. "description": "现货品种代码",
  22104. "type": "string"
  22105. },
  22106. "deliverygoodsid": {
  22107. "description": "现货品种id",
  22108. "type": "integer"
  22109. },
  22110. "deliverygoodsname": {
  22111. "description": "现货品种名称",
  22112. "type": "string"
  22113. },
  22114. "enumdicname": {
  22115. "description": "单位名称",
  22116. "type": "string"
  22117. },
  22118. "goodsunitid": {
  22119. "description": "现货商品单位id",
  22120. "type": "integer"
  22121. },
  22122. "oristock": {
  22123. "description": "期初库存量(昨日量)",
  22124. "type": "number"
  22125. },
  22126. "spotgoodsbrandid": {
  22127. "description": "现货品牌ID",
  22128. "type": "integer"
  22129. },
  22130. "todaybuyinqty": {
  22131. "description": "今日采购入库量",
  22132. "type": "number"
  22133. },
  22134. "todayproduceinqty": {
  22135. "description": "今日生产入库量",
  22136. "type": "number"
  22137. },
  22138. "todayproduceoutqty": {
  22139. "description": "今日生产出库量",
  22140. "type": "number"
  22141. },
  22142. "todayselloutqty": {
  22143. "description": "今日销售出库量",
  22144. "type": "number"
  22145. },
  22146. "unitid": {
  22147. "description": "单位id",
  22148. "type": "integer"
  22149. },
  22150. "updatetime": {
  22151. "description": "更新时间",
  22152. "type": "string"
  22153. },
  22154. "userid": {
  22155. "description": "机构ID",
  22156. "type": "integer"
  22157. },
  22158. "username": {
  22159. "description": "机构名称",
  22160. "type": "string"
  22161. },
  22162. "warehousecode": {
  22163. "description": "仓库代码",
  22164. "type": "string"
  22165. },
  22166. "warehouseinfoid": {
  22167. "description": "仓库ID",
  22168. "type": "string"
  22169. },
  22170. "warehousename": {
  22171. "description": "仓库名称",
  22172. "type": "string"
  22173. },
  22174. "warehousetype": {
  22175. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  22176. "type": "integer"
  22177. },
  22178. "wrstandardcode": {
  22179. "description": "品类代码",
  22180. "type": "string"
  22181. },
  22182. "wrstandardid": {
  22183. "description": "品类ID",
  22184. "type": "string"
  22185. },
  22186. "wrstandardname": {
  22187. "description": "品类名称",
  22188. "type": "string"
  22189. }
  22190. }
  22191. },
  22192. "models.Ermcp3AreaStockApply": {
  22193. "type": "object",
  22194. "properties": {
  22195. "applyid": {
  22196. "description": "申请人",
  22197. "type": "integer"
  22198. },
  22199. "applyname": {
  22200. "description": "申请人名称",
  22201. "type": "string"
  22202. },
  22203. "applyremark": {
  22204. "description": "申请备注",
  22205. "type": "string"
  22206. },
  22207. "applysrc": {
  22208. "description": "申请来源 - 1:管理端 2:终端",
  22209. "type": "integer"
  22210. },
  22211. "applystatus": {
  22212. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  22213. "type": "integer"
  22214. },
  22215. "applytime": {
  22216. "description": "申请时间",
  22217. "type": "string"
  22218. },
  22219. "auditid": {
  22220. "description": "审核人",
  22221. "type": "integer"
  22222. },
  22223. "auditname": {
  22224. "description": "审核人名称",
  22225. "type": "string"
  22226. },
  22227. "auditremark": {
  22228. "description": "审核备注",
  22229. "type": "string"
  22230. },
  22231. "auditsrc": {
  22232. "description": "审核来源 - 1:管理端 2:终端",
  22233. "type": "integer"
  22234. },
  22235. "audittime": {
  22236. "description": "审核时间",
  22237. "type": "string"
  22238. },
  22239. "audittradedate": {
  22240. "description": "审核交易日(yyyyMMdd)",
  22241. "type": "string"
  22242. },
  22243. "brandname": {
  22244. "description": "品牌名称",
  22245. "type": "string"
  22246. },
  22247. "buynickname": {
  22248. "description": "采购方昵称",
  22249. "type": "string"
  22250. },
  22251. "buyuserid": {
  22252. "description": "采购方userid",
  22253. "type": "integer"
  22254. },
  22255. "buyusername": {
  22256. "description": "采购方名称",
  22257. "type": "string"
  22258. },
  22259. "contractno": {
  22260. "description": "合同编号",
  22261. "type": "string"
  22262. },
  22263. "contractqty": {
  22264. "description": "合同量",
  22265. "type": "number"
  22266. },
  22267. "contracttype": {
  22268. "description": "现货合同类型 - 1:采购 -1:销售",
  22269. "type": "integer"
  22270. },
  22271. "deliverygoodscode": {
  22272. "description": "现货品种代码",
  22273. "type": "string"
  22274. },
  22275. "deliverygoodsid": {
  22276. "description": "现货品种id",
  22277. "type": "integer"
  22278. },
  22279. "deliverygoodsname": {
  22280. "description": "现货品种名称",
  22281. "type": "string"
  22282. },
  22283. "detailjson": {
  22284. "description": "明细数据",
  22285. "type": "string"
  22286. },
  22287. "enumdicname": {
  22288. "description": "现货商品单位名称",
  22289. "type": "string"
  22290. },
  22291. "inoutapplyid": {
  22292. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  22293. "type": "string"
  22294. },
  22295. "inouttype": {
  22296. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  22297. "type": "integer"
  22298. },
  22299. "pricetype": {
  22300. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  22301. "type": "integer"
  22302. },
  22303. "qty": {
  22304. "description": "数量",
  22305. "type": "number"
  22306. },
  22307. "sellnickname": {
  22308. "description": "销售方昵称",
  22309. "type": "string"
  22310. },
  22311. "selluserid": {
  22312. "description": "销售方userid",
  22313. "type": "integer"
  22314. },
  22315. "sellusername": {
  22316. "description": "销售方名称",
  22317. "type": "string"
  22318. },
  22319. "spotcontractid": {
  22320. "description": "关联现货合同ID",
  22321. "type": "string"
  22322. },
  22323. "spotgoodsbrandid": {
  22324. "description": "现货品牌ID",
  22325. "type": "integer"
  22326. },
  22327. "unitid": {
  22328. "description": "单位id",
  22329. "type": "integer"
  22330. },
  22331. "userid": {
  22332. "description": "机构ID",
  22333. "type": "integer"
  22334. },
  22335. "warehousecode": {
  22336. "description": "仓库代码",
  22337. "type": "string"
  22338. },
  22339. "warehouseinfoid": {
  22340. "description": "现货仓库ID",
  22341. "type": "string"
  22342. },
  22343. "warehousename": {
  22344. "description": "仓库名称",
  22345. "type": "string"
  22346. },
  22347. "warehousetype": {
  22348. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  22349. "type": "integer"
  22350. },
  22351. "wrstandardcode": {
  22352. "description": "品类代码",
  22353. "type": "string"
  22354. },
  22355. "wrstandardid": {
  22356. "description": "品类ID",
  22357. "type": "integer"
  22358. },
  22359. "wrstandardname": {
  22360. "description": "品类名称",
  22361. "type": "string"
  22362. }
  22363. }
  22364. },
  22365. "models.Ermcp3AreaStockApplySum": {
  22366. "type": "object",
  22367. "properties": {
  22368. "brandname": {
  22369. "description": "品牌名称",
  22370. "type": "string"
  22371. },
  22372. "inouttype": {
  22373. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  22374. "type": "integer"
  22375. },
  22376. "spotcontractid": {
  22377. "description": "关联现货合同ID",
  22378. "type": "string"
  22379. },
  22380. "spotgoodsbrandid": {
  22381. "description": "品牌id",
  22382. "type": "integer"
  22383. },
  22384. "totalqty": {
  22385. "description": "总数量",
  22386. "type": "number"
  22387. },
  22388. "wrstandardid": {
  22389. "description": "品类id",
  22390. "type": "integer"
  22391. },
  22392. "wrstandardname": {
  22393. "description": "品类名称",
  22394. "type": "string"
  22395. }
  22396. }
  22397. },
  22398. "models.Ermcp3AreaStockReportEx": {
  22399. "type": "object",
  22400. "properties": {
  22401. "begindate": {
  22402. "description": "开始交易日",
  22403. "type": "string"
  22404. },
  22405. "brandname": {
  22406. "description": "品牌名称",
  22407. "type": "string"
  22408. },
  22409. "curstock": {
  22410. "description": "期末库存量",
  22411. "type": "number"
  22412. },
  22413. "cycletime": {
  22414. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  22415. "type": "string"
  22416. },
  22417. "cycletype": {
  22418. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  22419. "type": "integer"
  22420. },
  22421. "deliverygoodscode": {
  22422. "description": "现货品种代码",
  22423. "type": "string"
  22424. },
  22425. "deliverygoodsid": {
  22426. "description": "现货品种id",
  22427. "type": "integer"
  22428. },
  22429. "deliverygoodsname": {
  22430. "description": "现货品种名称",
  22431. "type": "string"
  22432. },
  22433. "diffqty": {
  22434. "description": "库存变化量 = 期末 - 期初",
  22435. "type": "number"
  22436. },
  22437. "enddate": {
  22438. "description": "结束交易日",
  22439. "type": "string"
  22440. },
  22441. "enumdicname": {
  22442. "description": "单位名称",
  22443. "type": "string"
  22444. },
  22445. "goodsunitid": {
  22446. "description": "现货单位id",
  22447. "type": "integer"
  22448. },
  22449. "oristock": {
  22450. "description": "期初库存量",
  22451. "type": "number"
  22452. },
  22453. "reckondate": {
  22454. "description": "日照时期(yyyyMMdd)",
  22455. "type": "string"
  22456. },
  22457. "spotgoodsbrandid": {
  22458. "description": "现货品牌ID",
  22459. "type": "integer"
  22460. },
  22461. "todaybuyinqty": {
  22462. "description": "今采购入库量",
  22463. "type": "number"
  22464. },
  22465. "todayproduceinqty": {
  22466. "description": "今内部入库量",
  22467. "type": "number"
  22468. },
  22469. "todayproduceoutqty": {
  22470. "description": "今内部出库量",
  22471. "type": "number"
  22472. },
  22473. "todayselloutqty": {
  22474. "description": "今销售出库量",
  22475. "type": "number"
  22476. },
  22477. "unbuyinqty": {
  22478. "description": "采购未入库量(数据库未找到相关字段?)",
  22479. "type": "number"
  22480. },
  22481. "unitid": {
  22482. "description": "品类单位id",
  22483. "type": "integer"
  22484. },
  22485. "unselloutqty": {
  22486. "description": "销售未出库量(数据库未找到相关字段?)",
  22487. "type": "number"
  22488. },
  22489. "updatetime": {
  22490. "description": "更新时间",
  22491. "type": "string"
  22492. },
  22493. "userid": {
  22494. "description": "机构ID",
  22495. "type": "integer"
  22496. },
  22497. "username": {
  22498. "description": "机构名称",
  22499. "type": "string"
  22500. },
  22501. "warehousecode": {
  22502. "description": "仓库代码",
  22503. "type": "string"
  22504. },
  22505. "warehouseinfoid": {
  22506. "description": "仓库ID",
  22507. "type": "string"
  22508. },
  22509. "warehousename": {
  22510. "description": "仓库名称",
  22511. "type": "string"
  22512. },
  22513. "warehousetype": {
  22514. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  22515. "type": "integer"
  22516. },
  22517. "wrstandardcode": {
  22518. "description": "品类代码",
  22519. "type": "string"
  22520. },
  22521. "wrstandardid": {
  22522. "description": "品类ID",
  22523. "type": "integer"
  22524. },
  22525. "wrstandardname": {
  22526. "description": "品类名称",
  22527. "type": "string"
  22528. }
  22529. }
  22530. },
  22531. "models.Ermcp3ArealSumPL": {
  22532. "type": "object",
  22533. "properties": {
  22534. "accountname": {
  22535. "description": "机构名称",
  22536. "type": "string"
  22537. },
  22538. "areauserid": {
  22539. "description": "所属机构\\交易用户ID",
  22540. "type": "integer"
  22541. },
  22542. "begindate": {
  22543. "description": "开始交易日",
  22544. "type": "string"
  22545. },
  22546. "currencyid": {
  22547. "description": "结算币种ID",
  22548. "type": "integer"
  22549. },
  22550. "currencyname": {
  22551. "description": "币种名称",
  22552. "type": "string"
  22553. },
  22554. "cycletime": {
  22555. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  22556. "type": "string"
  22557. },
  22558. "cycletype": {
  22559. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  22560. "type": "integer"
  22561. },
  22562. "enddate": {
  22563. "description": "结束交易日",
  22564. "type": "string"
  22565. },
  22566. "enumdicname": {
  22567. "description": "单位名称(套保品种)",
  22568. "type": "string"
  22569. },
  22570. "futureactualpl": {
  22571. "description": "期货损益",
  22572. "type": "number"
  22573. },
  22574. "futurefloatpl": {
  22575. "description": "期货浮动损益",
  22576. "type": "number"
  22577. },
  22578. "futurespotratio": {
  22579. "description": "期现比例 = 期货头寸总量 / 现货头寸总量",
  22580. "type": "number"
  22581. },
  22582. "goodsunitid": {
  22583. "description": "套保品种单位id",
  22584. "type": "integer"
  22585. },
  22586. "hedgeexposurepl": {
  22587. "description": "套保敞口损益",
  22588. "type": "number"
  22589. },
  22590. "middlegoodscode": {
  22591. "description": "套保品种代码",
  22592. "type": "string"
  22593. },
  22594. "middlegoodsid": {
  22595. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  22596. "type": "integer"
  22597. },
  22598. "middlegoodsname": {
  22599. "description": "套保品种名称",
  22600. "type": "string"
  22601. },
  22602. "reckondate": {
  22603. "description": "日照时期(yyyyMMdd)",
  22604. "type": "string"
  22605. },
  22606. "spotactualpl": {
  22607. "description": "现货损益",
  22608. "type": "number"
  22609. },
  22610. "spotfloatpl": {
  22611. "description": "现货浮动损益",
  22612. "type": "number"
  22613. },
  22614. "sumactualpl": {
  22615. "description": "实际损益 = (ActualPL + FutureActualPL)",
  22616. "type": "number"
  22617. },
  22618. "sumpl": {
  22619. "description": "总敞口损益 | 汇总损益",
  22620. "type": "number"
  22621. },
  22622. "totalfutureqty": {
  22623. "description": "期货头寸总量",
  22624. "type": "number"
  22625. },
  22626. "totalneedhedgeqty": {
  22627. "description": "应套保总量",
  22628. "type": "number"
  22629. },
  22630. "totalspotqty": {
  22631. "description": "现货头寸总量",
  22632. "type": "number"
  22633. },
  22634. "updatetime": {
  22635. "description": "更新时间",
  22636. "type": "string"
  22637. }
  22638. }
  22639. },
  22640. "models.Ermcp3Brand": {
  22641. "type": "object",
  22642. "properties": {
  22643. "areauserid": {
  22644. "description": "用户id",
  22645. "type": "integer"
  22646. },
  22647. "brandid": {
  22648. "description": "品牌id",
  22649. "type": "integer"
  22650. },
  22651. "brandname": {
  22652. "description": "品牌名称",
  22653. "type": "string"
  22654. },
  22655. "deliverygoodsid": {
  22656. "description": "品种ID",
  22657. "type": "integer"
  22658. },
  22659. "isvalid": {
  22660. "description": "是否有效",
  22661. "type": "integer"
  22662. }
  22663. }
  22664. },
  22665. "models.Ermcp3Contract": {
  22666. "type": "object",
  22667. "properties": {
  22668. "accountid": {
  22669. "description": "期货账户id",
  22670. "type": "string"
  22671. },
  22672. "amount": {
  22673. "description": "金额 [1:一口价、3:暂定价]",
  22674. "type": "number"
  22675. },
  22676. "attachment": {
  22677. "description": "附件",
  22678. "type": "string"
  22679. },
  22680. "auditremark": {
  22681. "description": "审核意见",
  22682. "type": "string"
  22683. },
  22684. "audittime": {
  22685. "description": "审核时间",
  22686. "type": "string"
  22687. },
  22688. "biztype": {
  22689. "description": "业务类型 1-套保 2-套利",
  22690. "type": "integer"
  22691. },
  22692. "brandname": {
  22693. "description": "品牌名称",
  22694. "type": "string"
  22695. },
  22696. "buynickname": {
  22697. "description": "销售方昵称",
  22698. "type": "string"
  22699. },
  22700. "buyuserid": {
  22701. "description": "采购方ID",
  22702. "type": "integer"
  22703. },
  22704. "buyusername": {
  22705. "description": "采购方名称",
  22706. "type": "string"
  22707. },
  22708. "contracctstatus": {
  22709. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  22710. "type": "integer"
  22711. },
  22712. "contractmargin": {
  22713. "description": "合同保证金",
  22714. "type": "number"
  22715. },
  22716. "contractno": {
  22717. "description": "现货合同编号",
  22718. "type": "string"
  22719. },
  22720. "contracttype": {
  22721. "description": "现货合同类型 - 1:采购 -1:销售",
  22722. "type": "integer"
  22723. },
  22724. "convertfactor": {
  22725. "description": "标仓系数(品类)",
  22726. "type": "number"
  22727. },
  22728. "createtime": {
  22729. "description": "创建时间",
  22730. "type": "string"
  22731. },
  22732. "currencyid": {
  22733. "description": "币种id",
  22734. "type": "integer"
  22735. },
  22736. "currencyname": {
  22737. "description": "币种名称",
  22738. "type": "string"
  22739. },
  22740. "deliveryenddate": {
  22741. "description": "交收期(结束)",
  22742. "type": "string"
  22743. },
  22744. "deliverygoodscode": {
  22745. "description": "现货品种代码",
  22746. "type": "string"
  22747. },
  22748. "deliverygoodsid": {
  22749. "description": "现货品种ID",
  22750. "type": "integer"
  22751. },
  22752. "deliverygoodsname": {
  22753. "description": "现货品种名称",
  22754. "type": "string"
  22755. },
  22756. "deliverystartdate": {
  22757. "description": "交收期(开始)",
  22758. "type": "string"
  22759. },
  22760. "enddate": {
  22761. "description": "点价结束日期 [2:点价 3:暂定价]",
  22762. "type": "string"
  22763. },
  22764. "enumdicname": {
  22765. "description": "单位名称",
  22766. "type": "string"
  22767. },
  22768. "goodscode": {
  22769. "description": "点价合约代码",
  22770. "type": "string"
  22771. },
  22772. "goodsid": {
  22773. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  22774. "type": "integer"
  22775. },
  22776. "goodsname": {
  22777. "description": "点价商品名称",
  22778. "type": "string"
  22779. },
  22780. "margin": {
  22781. "description": "当前保证金",
  22782. "type": "number"
  22783. },
  22784. "meruserid": {
  22785. "description": "跟单员id",
  22786. "type": "integer"
  22787. },
  22788. "meruserlogincode": {
  22789. "description": "跟单员登录代码",
  22790. "type": "string"
  22791. },
  22792. "merusername": {
  22793. "description": "跟单员名称",
  22794. "type": "string"
  22795. },
  22796. "pointdesc": {
  22797. "description": "点价备注",
  22798. "type": "string"
  22799. },
  22800. "price": {
  22801. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  22802. "type": "number"
  22803. },
  22804. "pricemove": {
  22805. "description": "升贴水 [2:点价 3:暂定价]",
  22806. "type": "number"
  22807. },
  22808. "pricetype": {
  22809. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  22810. "type": "integer"
  22811. },
  22812. "producttype": {
  22813. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  22814. "type": "integer"
  22815. },
  22816. "qty": {
  22817. "description": "数量",
  22818. "type": "number"
  22819. },
  22820. "remark": {
  22821. "description": "备注",
  22822. "type": "string"
  22823. },
  22824. "saleuserid": {
  22825. "description": "业务员id",
  22826. "type": "integer"
  22827. },
  22828. "saleuserlogincode": {
  22829. "description": "业务员登录代码",
  22830. "type": "string"
  22831. },
  22832. "saleusername": {
  22833. "description": "业务员名称",
  22834. "type": "string"
  22835. },
  22836. "sellnickname": {
  22837. "description": "采购方昵称",
  22838. "type": "string"
  22839. },
  22840. "selluserid": {
  22841. "description": "销售方ID",
  22842. "type": "integer"
  22843. },
  22844. "sellusername": {
  22845. "description": "销售方名称",
  22846. "type": "string"
  22847. },
  22848. "spotcontractid": {
  22849. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  22850. "type": "string"
  22851. },
  22852. "spotgoodsbrandid": {
  22853. "description": "现货品牌ID(DGFactoryItem表的ID)",
  22854. "type": "integer"
  22855. },
  22856. "spotgoodsdesc": {
  22857. "description": "商品型号",
  22858. "type": "string"
  22859. },
  22860. "startdate": {
  22861. "description": "点价开始日期 [2:点价 3:暂定价]",
  22862. "type": "string"
  22863. },
  22864. "subjectid": {
  22865. "description": "交易主体ID",
  22866. "type": "integer"
  22867. },
  22868. "subjectname": {
  22869. "description": "交易主体名称",
  22870. "type": "string"
  22871. },
  22872. "tradeuserid": {
  22873. "description": "交易员id",
  22874. "type": "integer"
  22875. },
  22876. "tradeuserlogincode": {
  22877. "description": "交易员登录代码",
  22878. "type": "string"
  22879. },
  22880. "tradeusername": {
  22881. "description": "交易员名称",
  22882. "type": "string"
  22883. },
  22884. "unitid": {
  22885. "description": "单位id(取品类上的单位id)",
  22886. "type": "integer"
  22887. },
  22888. "updatetime": {
  22889. "description": "更新时间",
  22890. "type": "string"
  22891. },
  22892. "userid": {
  22893. "description": "所属机构ID",
  22894. "type": "integer"
  22895. },
  22896. "vatrate": {
  22897. "description": "增值税率",
  22898. "type": "number"
  22899. },
  22900. "wrstandardcode": {
  22901. "description": "品类代码",
  22902. "type": "string"
  22903. },
  22904. "wrstandardid": {
  22905. "description": "品类ID",
  22906. "type": "integer"
  22907. },
  22908. "wrstandardname": {
  22909. "description": "品类名称",
  22910. "type": "string"
  22911. }
  22912. }
  22913. },
  22914. "models.Ermcp3ContractMiddleGoodsCfg": {
  22915. "type": "object",
  22916. "properties": {
  22917. "agreeunit": {
  22918. "description": "合约乘数",
  22919. "type": "number"
  22920. },
  22921. "convertratio": {
  22922. "description": "期货品种系数",
  22923. "type": "number"
  22924. },
  22925. "covertqty": {
  22926. "description": "折算手数 =【待点价量 / (合约乘数*期货品种系数) 】",
  22927. "type": "integer"
  22928. },
  22929. "middlegoodsid": {
  22930. "description": "套保品种ID",
  22931. "type": "integer"
  22932. },
  22933. "middlegoodspricedqty3": {
  22934. "description": "已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率",
  22935. "type": "string",
  22936. "example": "0"
  22937. },
  22938. "pendingpricedqty": {
  22939. "description": "待点价量",
  22940. "type": "string",
  22941. "example": "0"
  22942. },
  22943. "relatedmiddlegoodsqty": {
  22944. "description": "已关联量(套保品种-期货)",
  22945. "type": "string",
  22946. "example": "0"
  22947. },
  22948. "spotcontractid": {
  22949. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  22950. "type": "string"
  22951. }
  22952. }
  22953. },
  22954. "models.Ermcp3ExposureContractDetail": {
  22955. "type": "object",
  22956. "properties": {
  22957. "biztype": {
  22958. "description": "业务类型 1-套保 2-套利",
  22959. "type": "integer"
  22960. },
  22961. "brandname": {
  22962. "description": "品牌名称",
  22963. "type": "string"
  22964. },
  22965. "buyuserid": {
  22966. "description": "采购方id",
  22967. "type": "integer"
  22968. },
  22969. "buyusername": {
  22970. "description": "采购方名称",
  22971. "type": "string"
  22972. },
  22973. "contractno": {
  22974. "description": "合同编号",
  22975. "type": "string"
  22976. },
  22977. "contracttype": {
  22978. "description": "现货合同类型 - 1:采购 -1:销售",
  22979. "type": "integer"
  22980. },
  22981. "convertfactor": {
  22982. "description": "标仓系数",
  22983. "type": "number"
  22984. },
  22985. "convertratio": {
  22986. "description": "折算系数(套保品种)",
  22987. "type": "number"
  22988. },
  22989. "curqty": {
  22990. "description": "今定价量",
  22991. "type": "number"
  22992. },
  22993. "deliverygoodscode": {
  22994. "description": "现货品种代码",
  22995. "type": "string"
  22996. },
  22997. "deliverygoodsid": {
  22998. "description": "现货品种id",
  22999. "type": "integer"
  23000. },
  23001. "deliverygoodsname": {
  23002. "description": "现货品种名称",
  23003. "type": "string"
  23004. },
  23005. "diffhedgeqty": {
  23006. "description": "套保变动量",
  23007. "type": "number"
  23008. },
  23009. "diffneedhedgeqty": {
  23010. "description": "应套保变动量",
  23011. "type": "number"
  23012. },
  23013. "diffqty": {
  23014. "description": "套保品种今变动量",
  23015. "type": "number"
  23016. },
  23017. "enumdicname": {
  23018. "description": "单位名称",
  23019. "type": "string"
  23020. },
  23021. "mgunitname": {
  23022. "description": "套保品种单位名称",
  23023. "type": "string"
  23024. },
  23025. "middlegoodscode": {
  23026. "description": "套保品种代码",
  23027. "type": "string"
  23028. },
  23029. "middlegoodsid": {
  23030. "description": "套保品种id",
  23031. "type": "integer"
  23032. },
  23033. "middlegoodsname": {
  23034. "description": "套保品种名称",
  23035. "type": "string"
  23036. },
  23037. "needarbitrageratio": {
  23038. "description": "应套利比例",
  23039. "type": "number"
  23040. },
  23041. "needhedgeratio": {
  23042. "description": "应套保比例",
  23043. "type": "number"
  23044. },
  23045. "pricedqty": {
  23046. "description": "已定价量",
  23047. "type": "number"
  23048. },
  23049. "qty": {
  23050. "description": "合同量",
  23051. "type": "number"
  23052. },
  23053. "reckondate": {
  23054. "description": "交易日(reckondate)",
  23055. "type": "string"
  23056. },
  23057. "selluserid": {
  23058. "description": "销售方id",
  23059. "type": "integer"
  23060. },
  23061. "sellusername": {
  23062. "description": "销售方名称",
  23063. "type": "string"
  23064. },
  23065. "spotcontractid": {
  23066. "description": "合同id",
  23067. "type": "string"
  23068. },
  23069. "todaypricedqty": {
  23070. "description": "今定价量",
  23071. "type": "number"
  23072. },
  23073. "tradedate": {
  23074. "description": "交易日",
  23075. "type": "string"
  23076. },
  23077. "unitid": {
  23078. "description": "品类单位id",
  23079. "type": "integer"
  23080. },
  23081. "userid": {
  23082. "description": "机构id",
  23083. "type": "integer"
  23084. },
  23085. "username": {
  23086. "description": "交易用户",
  23087. "type": "string"
  23088. },
  23089. "wrstandardcode": {
  23090. "description": "现货商品代码",
  23091. "type": "string"
  23092. },
  23093. "wrstandardid": {
  23094. "description": "现货商品id",
  23095. "type": "integer"
  23096. },
  23097. "wrstandardname": {
  23098. "description": "现货商品名称",
  23099. "type": "string"
  23100. }
  23101. }
  23102. },
  23103. "models.Ermcp3ExposureDetail": {
  23104. "type": "object",
  23105. "properties": {
  23106. "areauserid": {
  23107. "description": "机构ID",
  23108. "type": "integer"
  23109. },
  23110. "changeQty": {
  23111. "description": "套保变动量",
  23112. "type": "number"
  23113. },
  23114. "contracttype": {
  23115. "description": "现货合同类型 - 1:采购 -1:销售",
  23116. "type": "integer"
  23117. },
  23118. "convertfactor": {
  23119. "description": "标仓系数",
  23120. "type": "number"
  23121. },
  23122. "convertratio": {
  23123. "description": "折算系数",
  23124. "type": "number"
  23125. },
  23126. "createtime": {
  23127. "description": "时间",
  23128. "type": "string"
  23129. },
  23130. "enumdicname": {
  23131. "description": "现货商品单位名称",
  23132. "type": "string"
  23133. },
  23134. "logtype": {
  23135. "description": "类型 - 1:套保计划 2:现货合同",
  23136. "type": "integer"
  23137. },
  23138. "mgunitid": {
  23139. "description": "套保品种单位id",
  23140. "type": "integer"
  23141. },
  23142. "mgunitidname": {
  23143. "description": "套保品种单位名称",
  23144. "type": "string"
  23145. },
  23146. "middlegoodsId": {
  23147. "description": "套保商品id",
  23148. "type": "integer"
  23149. },
  23150. "middlegoodscode": {
  23151. "description": "套保商品代码",
  23152. "type": "string"
  23153. },
  23154. "middlegoodsname": {
  23155. "description": "套保商品名称",
  23156. "type": "string"
  23157. },
  23158. "qty": {
  23159. "description": "数量",
  23160. "type": "number"
  23161. },
  23162. "relateNo": {
  23163. "description": "现货合同/套保计划编号",
  23164. "type": "string"
  23165. },
  23166. "unitid": {
  23167. "description": "现货商品单位id",
  23168. "type": "integer"
  23169. },
  23170. "wrstandardcode": {
  23171. "description": "现货商品代码",
  23172. "type": "string"
  23173. },
  23174. "wrstandardid": {
  23175. "description": "现货商品ID(SEQ_WRSTANDARD)",
  23176. "type": "integer"
  23177. },
  23178. "wrstandardname": {
  23179. "description": "现货商品名称",
  23180. "type": "string"
  23181. }
  23182. }
  23183. },
  23184. "models.Ermcp3ExposureFutuDetail": {
  23185. "type": "object",
  23186. "properties": {
  23187. "accountid": {
  23188. "description": "交易账户id",
  23189. "type": "integer"
  23190. },
  23191. "accountname": {
  23192. "description": "交易账户",
  23193. "type": "string"
  23194. },
  23195. "begindate": {
  23196. "description": "开始交易日",
  23197. "type": "string"
  23198. },
  23199. "buyorsell": {
  23200. "description": "方向 0-买 1-卖",
  23201. "type": "integer"
  23202. },
  23203. "diffmgqty": {
  23204. "description": "套保品种今变化量",
  23205. "type": "number"
  23206. },
  23207. "diffneedqty": {
  23208. "description": "应套保总量变化量",
  23209. "type": "number"
  23210. },
  23211. "difftradeqty": {
  23212. "description": "交易品种今变化量",
  23213. "type": "number"
  23214. },
  23215. "enddate": {
  23216. "description": "结束交易日",
  23217. "type": "string"
  23218. },
  23219. "enumdicname": {
  23220. "description": "单位名称",
  23221. "type": "string"
  23222. },
  23223. "goodscode": {
  23224. "description": "商品代码",
  23225. "type": "string"
  23226. },
  23227. "goodsid": {
  23228. "description": "商品id",
  23229. "type": "integer"
  23230. },
  23231. "goodsname": {
  23232. "description": "商品名称",
  23233. "type": "string"
  23234. },
  23235. "holdqty": {
  23236. "description": "期末持仓量",
  23237. "type": "number"
  23238. },
  23239. "middlegoodscode": {
  23240. "description": "套保商品代码",
  23241. "type": "string"
  23242. },
  23243. "middlegoodsid": {
  23244. "description": "套保商品id",
  23245. "type": "integer"
  23246. },
  23247. "middlegoodsname": {
  23248. "description": "套保商品名称",
  23249. "type": "string"
  23250. },
  23251. "oriholdqty": {
  23252. "description": "期初持仓量",
  23253. "type": "number"
  23254. },
  23255. "reckondate": {
  23256. "description": "交易日(RECKONDATE)",
  23257. "type": "string"
  23258. },
  23259. "todaycloseqty": {
  23260. "description": "今平仓量",
  23261. "type": "number"
  23262. },
  23263. "todayopenqty": {
  23264. "description": "今开仓量",
  23265. "type": "number"
  23266. },
  23267. "tradedate": {
  23268. "description": "交易日(RECKONDATE)",
  23269. "type": "string"
  23270. },
  23271. "username": {
  23272. "description": "用户名称(交易用户)",
  23273. "type": "string"
  23274. }
  23275. }
  23276. },
  23277. "models.Ermcp3ExposureHedgeplanDetail": {
  23278. "type": "object",
  23279. "properties": {
  23280. "biztype": {
  23281. "description": "业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利",
  23282. "type": "integer"
  23283. },
  23284. "changqty": {
  23285. "description": "应套保总量变化量",
  23286. "type": "number"
  23287. },
  23288. "contracttype": {
  23289. "description": "计划类型 - 1:采购 -1:销售",
  23290. "type": "integer"
  23291. },
  23292. "convertratio": {
  23293. "description": "折算系数(套保品种)",
  23294. "type": "number"
  23295. },
  23296. "deliverygoodscode": {
  23297. "description": "现货商品代码",
  23298. "type": "string"
  23299. },
  23300. "deliverygoodsid": {
  23301. "description": "现货商品id",
  23302. "type": "integer"
  23303. },
  23304. "deliverygoodsname": {
  23305. "description": "现货商吕名称",
  23306. "type": "string"
  23307. },
  23308. "dgunitid": {
  23309. "description": "现货商品单位id",
  23310. "type": "integer"
  23311. },
  23312. "dgunitidname": {
  23313. "description": "单位名称(现货商品)",
  23314. "type": "string"
  23315. },
  23316. "diffqty": {
  23317. "description": "套保品种今变动量",
  23318. "type": "number"
  23319. },
  23320. "enumdicname": {
  23321. "description": "单位名称(品类)",
  23322. "type": "string"
  23323. },
  23324. "hedgeplanid": {
  23325. "description": "套保计划id",
  23326. "type": "string"
  23327. },
  23328. "hedgeplanno": {
  23329. "description": "套保计划名称",
  23330. "type": "string"
  23331. },
  23332. "hedgeplanstatus": {
  23333. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  23334. "type": "integer"
  23335. },
  23336. "mgunitidname": {
  23337. "description": "单位名称(套保商品)",
  23338. "type": "string"
  23339. },
  23340. "middlegoodscode": {
  23341. "description": "套保品种代码",
  23342. "type": "string"
  23343. },
  23344. "middlegoodsid": {
  23345. "description": "套保品种id",
  23346. "type": "integer"
  23347. },
  23348. "middlegoodsname": {
  23349. "description": "套保品种名称",
  23350. "type": "string"
  23351. },
  23352. "needarbitrageratio": {
  23353. "description": "应套利比例",
  23354. "type": "number"
  23355. },
  23356. "needhedgeratio": {
  23357. "description": "应套保比例",
  23358. "type": "number"
  23359. },
  23360. "pricedqty": {
  23361. "description": "已定价量",
  23362. "type": "number"
  23363. },
  23364. "qty": {
  23365. "description": "合同量",
  23366. "type": "number"
  23367. },
  23368. "reckondate": {
  23369. "description": "交易日(reckondate)",
  23370. "type": "string"
  23371. },
  23372. "tradedate": {
  23373. "description": "交易日(登记日)",
  23374. "type": "string"
  23375. },
  23376. "unitid": {
  23377. "description": "品类单位id",
  23378. "type": "integer"
  23379. },
  23380. "userid": {
  23381. "description": "机构id",
  23382. "type": "integer"
  23383. },
  23384. "wrstandardcode": {
  23385. "description": "品类代码",
  23386. "type": "string"
  23387. },
  23388. "wrstandardid": {
  23389. "description": "品类id",
  23390. "type": "integer"
  23391. },
  23392. "wrstandardname": {
  23393. "description": "品类名称",
  23394. "type": "string"
  23395. }
  23396. }
  23397. },
  23398. "models.Ermcp3ExposureParamChLog": {
  23399. "type": "object",
  23400. "properties": {
  23401. "accountid": {
  23402. "description": "期货账户ID (作废, 默认为0)",
  23403. "type": "integer"
  23404. },
  23405. "aftervalue": {
  23406. "description": "应套保\\套利量变更后(调整后应套保总量)",
  23407. "type": "number"
  23408. },
  23409. "areauserid": {
  23410. "description": "所属机构\\交易用户ID",
  23411. "type": "integer"
  23412. },
  23413. "beforevalue": {
  23414. "description": "应套保\\套利量变更前(调整前应套保总量)",
  23415. "type": "number"
  23416. },
  23417. "begindate": {
  23418. "description": "开始交易日",
  23419. "type": "string"
  23420. },
  23421. "changelogtype": {
  23422. "description": "变更流水类型 - 1:套保比率变更 2:套利比率变更",
  23423. "type": "integer"
  23424. },
  23425. "curvalue": {
  23426. "description": "当前套保\\套利量(套保总量|套利总量)",
  23427. "type": "number"
  23428. },
  23429. "diffvalue": {
  23430. "description": "应套保总量变化量",
  23431. "type": "number"
  23432. },
  23433. "enddate": {
  23434. "description": "结束交易日",
  23435. "type": "string"
  23436. },
  23437. "logdatetime": {
  23438. "description": "流水日期",
  23439. "type": "string"
  23440. },
  23441. "logid": {
  23442. "description": "流水ID(609+Unix秒时间戳(10位)+xxxxxx)",
  23443. "type": "string"
  23444. },
  23445. "middlegoodscode": {
  23446. "description": "套保品种代码",
  23447. "type": "string"
  23448. },
  23449. "middlegoodsid": {
  23450. "description": "套保品种",
  23451. "type": "integer"
  23452. },
  23453. "middlegoodsname": {
  23454. "description": "套保品种名称",
  23455. "type": "string"
  23456. },
  23457. "paramaftervalue": {
  23458. "description": "参数变更后(调整后参数值)",
  23459. "type": "number"
  23460. },
  23461. "parambeforevalue": {
  23462. "description": "参数变更前(调整前参数值)",
  23463. "type": "number"
  23464. },
  23465. "reckondate": {
  23466. "description": "交易日(reckondate)",
  23467. "type": "string"
  23468. },
  23469. "tradedate": {
  23470. "description": "交易日(yyyyMMdd)",
  23471. "type": "string"
  23472. }
  23473. }
  23474. },
  23475. "models.Ermcp3ExpourseReport": {
  23476. "type": "object",
  23477. "properties": {
  23478. "accountid": {
  23479. "description": "期货账户ID (作废, 默认为0)",
  23480. "type": "integer"
  23481. },
  23482. "accountname": {
  23483. "description": "机构名称",
  23484. "type": "string"
  23485. },
  23486. "arbitrageqty": {
  23487. "description": "套利量",
  23488. "type": "number"
  23489. },
  23490. "areauserid": {
  23491. "description": "所属机构\\交易用户ID",
  23492. "type": "integer"
  23493. },
  23494. "begindate": {
  23495. "description": "开始交易日",
  23496. "type": "string"
  23497. },
  23498. "buyfutureqty": {
  23499. "description": "买入期货数量",
  23500. "type": "number"
  23501. },
  23502. "buyplanqty": {
  23503. "description": "采购计划数量",
  23504. "type": "number"
  23505. },
  23506. "buypricedqty": {
  23507. "description": "采购合同已定价数量",
  23508. "type": "number"
  23509. },
  23510. "cycletime": {
  23511. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  23512. "type": "string"
  23513. },
  23514. "cycletype": {
  23515. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  23516. "type": "integer"
  23517. },
  23518. "diffexposure": {
  23519. "description": "变动量(套保敞口)",
  23520. "type": "number"
  23521. },
  23522. "difffutuqty": {
  23523. "description": "变动量(期货)",
  23524. "type": "number"
  23525. },
  23526. "diffhedgeqty": {
  23527. "description": "变动量(现货应套保总量)",
  23528. "type": "number"
  23529. },
  23530. "diffmgqtya": {
  23531. "description": "套保变动量",
  23532. "type": "number"
  23533. },
  23534. "diffmgqtyb": {
  23535. "description": "套利变动量",
  23536. "type": "number"
  23537. },
  23538. "diffneedqty": {
  23539. "description": "应套变动量 = 应套保量 - 期初应套保量 + 应套利量 - 期初应套利量",
  23540. "type": "number"
  23541. },
  23542. "diffqty": {
  23543. "description": "变动量(总敞口)",
  23544. "type": "number"
  23545. },
  23546. "diffspotqty": {
  23547. "description": "变动量(现货) | 除税变动量",
  23548. "type": "number"
  23549. },
  23550. "enddate": {
  23551. "description": "结束交易日",
  23552. "type": "string"
  23553. },
  23554. "enumdicname": {
  23555. "description": "单位名称",
  23556. "type": "string"
  23557. },
  23558. "hedgeqty": {
  23559. "description": "套保量",
  23560. "type": "number"
  23561. },
  23562. "mgneedhedgeratio": {
  23563. "description": "套保比例(套保品的)",
  23564. "type": "number"
  23565. },
  23566. "middlegoodsid": {
  23567. "description": "套保品种ID",
  23568. "type": "integer"
  23569. },
  23570. "middlegoodsname": {
  23571. "description": "套保商品名称",
  23572. "type": "string"
  23573. },
  23574. "middlgoodscode": {
  23575. "description": "套保商品代码",
  23576. "type": "string"
  23577. },
  23578. "needarbitrageqty": {
  23579. "description": "应套利量",
  23580. "type": "number"
  23581. },
  23582. "needarbitrageratio": {
  23583. "description": "套利比例(套保品的)",
  23584. "type": "number"
  23585. },
  23586. "needhedgeexposoure": {
  23587. "description": "应套保敞口(套保敞口)",
  23588. "type": "number"
  23589. },
  23590. "needhedgeqty": {
  23591. "description": "应套保量",
  23592. "type": "number"
  23593. },
  23594. "needhedgeratio": {
  23595. "description": "应套保敞口比例",
  23596. "type": "number"
  23597. },
  23598. "needqty": {
  23599. "description": "应套总量 = 应套保量 + 应套利量",
  23600. "type": "number"
  23601. },
  23602. "oriarbitrageqty": {
  23603. "description": "期初套利量",
  23604. "type": "number"
  23605. },
  23606. "oribuyfutureqty": {
  23607. "description": "期初买入期货数量",
  23608. "type": "number"
  23609. },
  23610. "oribuyplanqty": {
  23611. "description": "期初采购计划数量",
  23612. "type": "number"
  23613. },
  23614. "oribuypricedqty": {
  23615. "description": "期初采购合同已定价数量",
  23616. "type": "number"
  23617. },
  23618. "orihedgeqty": {
  23619. "description": "期初套保量",
  23620. "type": "number"
  23621. },
  23622. "orineedarbitrageqty": {
  23623. "description": "期初应套利量",
  23624. "type": "number"
  23625. },
  23626. "orineedhedgeexposoure": {
  23627. "description": "期初应套保敞口",
  23628. "type": "number"
  23629. },
  23630. "orineedhedgeqty": {
  23631. "description": "期初应套保量",
  23632. "type": "number"
  23633. },
  23634. "orisellfutureqty": {
  23635. "description": "期初卖出期货数量",
  23636. "type": "number"
  23637. },
  23638. "orisellplanqty": {
  23639. "description": "期初销售计划数量",
  23640. "type": "number"
  23641. },
  23642. "orisellpricedqty": {
  23643. "description": "期初销售合同已定价数量",
  23644. "type": "number"
  23645. },
  23646. "oritotalexposure": {
  23647. "description": "期初实时总敞口",
  23648. "type": "number"
  23649. },
  23650. "oritotalfutureqty": {
  23651. "description": "期初期货头寸总量",
  23652. "type": "number"
  23653. },
  23654. "oritotalneedhedgeqty": {
  23655. "description": "期初应套保总量",
  23656. "type": "number"
  23657. },
  23658. "oritotalspotqty": {
  23659. "description": "期初现货头寸总量",
  23660. "type": "number"
  23661. },
  23662. "reckondate": {
  23663. "description": "日照时期(yyyyMMdd)",
  23664. "type": "string"
  23665. },
  23666. "sellfutureqty": {
  23667. "description": "卖出期货数量",
  23668. "type": "number"
  23669. },
  23670. "sellplanqty": {
  23671. "description": "销售计划数量",
  23672. "type": "number"
  23673. },
  23674. "sellpricedqty": {
  23675. "description": "销售合同已定价数量",
  23676. "type": "number"
  23677. },
  23678. "totalexposure": {
  23679. "description": "实时总敞口(总敞口)",
  23680. "type": "number"
  23681. },
  23682. "totalfutureqty": {
  23683. "description": "期货头寸总量(期货总量)",
  23684. "type": "number"
  23685. },
  23686. "totalhedgeratio": {
  23687. "description": "敞口比例",
  23688. "type": "number"
  23689. },
  23690. "totalneedhedgeqty": {
  23691. "description": "应套保总量(现货应套保总量)",
  23692. "type": "number"
  23693. },
  23694. "totalspotqty": {
  23695. "description": "现货头寸总量 | 除税总量",
  23696. "type": "number"
  23697. },
  23698. "unitid": {
  23699. "description": "单位id",
  23700. "type": "integer"
  23701. },
  23702. "updatetime": {
  23703. "description": "更新时间",
  23704. "type": "string"
  23705. }
  23706. }
  23707. },
  23708. "models.Ermcp3FinanceReport": {
  23709. "type": "object",
  23710. "properties": {
  23711. "accountname": {
  23712. "description": "机构名称",
  23713. "type": "string"
  23714. },
  23715. "areauserid": {
  23716. "description": "所属机构\\交易用户ID",
  23717. "type": "integer"
  23718. },
  23719. "begindate": {
  23720. "description": "开始交易日",
  23721. "type": "string"
  23722. },
  23723. "biztype": {
  23724. "description": "业务类型 - 1:套保 2:套利",
  23725. "type": "integer"
  23726. },
  23727. "brandname": {
  23728. "description": "品牌名称",
  23729. "type": "string"
  23730. },
  23731. "buypreinvoicedamount": {
  23732. "description": "采购预收票额(预收票额)",
  23733. "type": "number"
  23734. },
  23735. "buyprepaidamount": {
  23736. "description": "采购预付款额(预付货款额)",
  23737. "type": "number"
  23738. },
  23739. "buytodayinvoiceamount": {
  23740. "description": "采购今收票额(今收票额)",
  23741. "type": "number"
  23742. },
  23743. "buytodayrefundamount": {
  23744. "description": "采购今收退款额(今收退款额)",
  23745. "type": "number"
  23746. },
  23747. "buytodaysettleamount": {
  23748. "description": "采购今付款额(今付货款额)",
  23749. "type": "number"
  23750. },
  23751. "buyuninvoicedamount": {
  23752. "description": "采购应收票额(应收票额)",
  23753. "type": "number"
  23754. },
  23755. "buyunpaidamount": {
  23756. "description": "采购应付款额(应付货款额)",
  23757. "type": "number"
  23758. },
  23759. "currencyid": {
  23760. "description": "结算币种ID",
  23761. "type": "integer"
  23762. },
  23763. "currencyname": {
  23764. "description": "币种名称",
  23765. "type": "string"
  23766. },
  23767. "cycletime": {
  23768. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  23769. "type": "string"
  23770. },
  23771. "cycletype": {
  23772. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  23773. "type": "integer"
  23774. },
  23775. "deliverygoodscode": {
  23776. "description": "现货品种代码",
  23777. "type": "string"
  23778. },
  23779. "deliverygoodsid": {
  23780. "description": "现货品种ID",
  23781. "type": "integer"
  23782. },
  23783. "deliverygoodsname": {
  23784. "description": "现货品种名称",
  23785. "type": "string"
  23786. },
  23787. "enddate": {
  23788. "description": "结束交易日",
  23789. "type": "string"
  23790. },
  23791. "reckondate": {
  23792. "description": "日照时期(yyyyMMdd)",
  23793. "type": "string"
  23794. },
  23795. "sellpreinvoicedamount": {
  23796. "description": "销售预开票额(预开票额)",
  23797. "type": "number"
  23798. },
  23799. "sellprepaidamount": {
  23800. "description": "销售预收款额(预收货款额)",
  23801. "type": "number"
  23802. },
  23803. "selltodayinvoiceamount": {
  23804. "description": "销售今开票额(今开票额)",
  23805. "type": "number"
  23806. },
  23807. "selltodayrefundamount": {
  23808. "description": "销售今付退款额(今付退款额)",
  23809. "type": "number"
  23810. },
  23811. "selltodaysettleamount": {
  23812. "description": "销售今收款额(今收货款额)",
  23813. "type": "number"
  23814. },
  23815. "selluninvoicedamount": {
  23816. "description": "销售应开票额(应开票额)",
  23817. "type": "number"
  23818. },
  23819. "sellunpaidamount": {
  23820. "description": "销售应收款额(应收货款额)",
  23821. "type": "number"
  23822. },
  23823. "spotgoodsbrandid": {
  23824. "description": "现货品牌ID",
  23825. "type": "integer"
  23826. },
  23827. "todaypaysum": {
  23828. "description": "今付款合计",
  23829. "type": "number"
  23830. },
  23831. "todayreceivesum": {
  23832. "description": "今收款合计",
  23833. "type": "number"
  23834. },
  23835. "updatetime": {
  23836. "description": "更新时间",
  23837. "type": "string"
  23838. },
  23839. "wrfactortypeid": {
  23840. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  23841. "type": "integer"
  23842. },
  23843. "wrstandardcode": {
  23844. "description": "品类代码",
  23845. "type": "string"
  23846. },
  23847. "wrstandardid": {
  23848. "description": "现货商品ID",
  23849. "type": "integer"
  23850. },
  23851. "wrstandardname": {
  23852. "description": "品类名称",
  23853. "type": "string"
  23854. }
  23855. }
  23856. },
  23857. "models.Ermcp3GoodsGroup": {
  23858. "type": "object",
  23859. "required": [
  23860. "areauserid"
  23861. ],
  23862. "properties": {
  23863. "agreeunit": {
  23864. "description": "合约单位",
  23865. "type": "number"
  23866. },
  23867. "areauserid": {
  23868. "description": "所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)",
  23869. "type": "integer"
  23870. },
  23871. "canshort": {
  23872. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  23873. "type": "integer"
  23874. },
  23875. "closepricemode": {
  23876. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  23877. "type": "integer"
  23878. },
  23879. "createtime": {
  23880. "description": "创建时间",
  23881. "type": "string"
  23882. },
  23883. "creatorid": {
  23884. "description": "创建人",
  23885. "type": "integer"
  23886. },
  23887. "currencyid": {
  23888. "description": "报价货币ID",
  23889. "type": "integer"
  23890. },
  23891. "decimalplace": {
  23892. "description": "报价小数位",
  23893. "type": "integer"
  23894. },
  23895. "enumdicname": {
  23896. "description": "单位名称",
  23897. "type": "string"
  23898. },
  23899. "exchangefullname": {
  23900. "description": "交易所全称",
  23901. "type": "string"
  23902. },
  23903. "excludecfg": {
  23904. "description": "排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除",
  23905. "type": "integer"
  23906. },
  23907. "exexchangecode": {
  23908. "description": "交易所代码",
  23909. "type": "string"
  23910. },
  23911. "exexchangeid": {
  23912. "description": "外部交易所ID[通道交易]",
  23913. "type": "integer"
  23914. },
  23915. "exexchangename": {
  23916. "description": "交易所名称",
  23917. "type": "string"
  23918. },
  23919. "goodsgroupid": {
  23920. "description": "商品组ID(自增ID)",
  23921. "type": "integer"
  23922. },
  23923. "goodsgroupname": {
  23924. "description": "商品组名称",
  23925. "type": "string"
  23926. },
  23927. "goodsgroupstatus": {
  23928. "description": "商品组状态 - 1:正常 2:注销",
  23929. "type": "integer"
  23930. },
  23931. "goodunitid": {
  23932. "description": "报价单位ID",
  23933. "type": "integer"
  23934. },
  23935. "groupcategroyid": {
  23936. "description": "品种分类ID",
  23937. "type": "integer"
  23938. },
  23939. "innerdealmode": {
  23940. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  23941. "type": "integer"
  23942. },
  23943. "marketid": {
  23944. "description": "所属市场ID",
  23945. "type": "integer"
  23946. },
  23947. "modifierid": {
  23948. "description": "修改人",
  23949. "type": "integer"
  23950. },
  23951. "modifytime": {
  23952. "description": "修改时间",
  23953. "type": "string"
  23954. },
  23955. "outerdealmode": {
  23956. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  23957. "type": "integer"
  23958. },
  23959. "outergroupcode": {
  23960. "description": "外部商品组代码[通道交易]",
  23961. "type": "string"
  23962. },
  23963. "quoteminunit": {
  23964. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  23965. "type": "integer"
  23966. },
  23967. "quotesourcegroupid": {
  23968. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  23969. "type": "integer"
  23970. },
  23971. "syncgoodsqty": {
  23972. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  23973. "type": "integer"
  23974. }
  23975. }
  23976. },
  23977. "models.Ermcp3HPMiddleGoods": {
  23978. "type": "object",
  23979. "properties": {
  23980. "biztype": {
  23981. "description": "业务类型 1:套保 2:套利",
  23982. "type": "integer"
  23983. },
  23984. "contracttype": {
  23985. "description": "合同类型 1:采购 -1:销售",
  23986. "type": "integer"
  23987. },
  23988. "convertratio": {
  23989. "description": "折算系数",
  23990. "type": "number"
  23991. },
  23992. "customername": {
  23993. "description": "对手手名称",
  23994. "type": "string"
  23995. },
  23996. "customeruserid": {
  23997. "description": "对手id",
  23998. "type": "integer"
  23999. },
  24000. "enumdicname": {
  24001. "description": "现货单位名称",
  24002. "type": "string"
  24003. },
  24004. "hedgeplanid": {
  24005. "description": "计划id",
  24006. "type": "string"
  24007. },
  24008. "hedgeplanno": {
  24009. "description": "计划编号",
  24010. "type": "string"
  24011. },
  24012. "middlegoodsid": {
  24013. "description": "套保品种ID",
  24014. "type": "integer"
  24015. },
  24016. "middlegoodsplanqty3": {
  24017. "description": "应套保计划量",
  24018. "type": "number"
  24019. },
  24020. "needhedgeratio": {
  24021. "description": "套保比例",
  24022. "type": "number"
  24023. },
  24024. "pricedqty": {
  24025. "description": "已定价量",
  24026. "type": "number"
  24027. },
  24028. "relatedmiddlegoodsqty": {
  24029. "description": "已关联量(套保品种)(期货)",
  24030. "type": "number"
  24031. },
  24032. "unitid": {
  24033. "description": "现货单位id",
  24034. "type": "integer"
  24035. },
  24036. "userid": {
  24037. "description": "用户id",
  24038. "type": "integer"
  24039. },
  24040. "vatrate": {
  24041. "description": "增值税率",
  24042. "type": "number"
  24043. },
  24044. "wrstandardcode": {
  24045. "description": "现货商品代码",
  24046. "type": "string"
  24047. },
  24048. "wrstandardid": {
  24049. "description": "现货商品id",
  24050. "type": "integer"
  24051. },
  24052. "wrstandardname": {
  24053. "description": "现货商品名称",
  24054. "type": "string"
  24055. }
  24056. }
  24057. },
  24058. "models.Ermcp3HedgePlan": {
  24059. "type": "object",
  24060. "properties": {
  24061. "accountid": {
  24062. "description": "资金账号",
  24063. "type": "integer"
  24064. },
  24065. "areauserid": {
  24066. "description": "用户ID",
  24067. "type": "integer"
  24068. },
  24069. "auditid": {
  24070. "description": "审核id",
  24071. "type": "integer"
  24072. },
  24073. "auditname": {
  24074. "description": "审核人名称",
  24075. "type": "string"
  24076. },
  24077. "auditremark": {
  24078. "description": "审核备注",
  24079. "type": "string"
  24080. },
  24081. "auditsrc": {
  24082. "description": "审核来源 1-管理端 2-终端",
  24083. "type": "integer"
  24084. },
  24085. "audittime": {
  24086. "description": "审核时间",
  24087. "type": "string"
  24088. },
  24089. "contracttype": {
  24090. "description": "计划类型 - 1:采购 -1:销售",
  24091. "type": "integer"
  24092. },
  24093. "convertfactor": {
  24094. "description": "标仓系数",
  24095. "type": "number"
  24096. },
  24097. "createtime": {
  24098. "description": "创建时间",
  24099. "type": "string"
  24100. },
  24101. "currencyid": {
  24102. "description": "币种id",
  24103. "type": "integer"
  24104. },
  24105. "currencyname": {
  24106. "description": "币种名称",
  24107. "type": "string"
  24108. },
  24109. "deliverygoodscode": {
  24110. "description": "现货品种代码",
  24111. "type": "string"
  24112. },
  24113. "deliverygoodsid": {
  24114. "description": "现货品种ID",
  24115. "type": "integer"
  24116. },
  24117. "deliverygoodsname": {
  24118. "description": "现货品种名称",
  24119. "type": "string"
  24120. },
  24121. "enumdicname": {
  24122. "description": "单位名称(现货商品)",
  24123. "type": "string"
  24124. },
  24125. "hedgeplanid": {
  24126. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  24127. "type": "string"
  24128. },
  24129. "hedgeplanno": {
  24130. "description": "套保计划编号(名称)",
  24131. "type": "string"
  24132. },
  24133. "hedgeplanstatus": {
  24134. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  24135. "type": "integer"
  24136. },
  24137. "planqty": {
  24138. "description": "计划数量",
  24139. "type": "number"
  24140. },
  24141. "plantime": {
  24142. "description": "计划时间",
  24143. "type": "string"
  24144. },
  24145. "producttype": {
  24146. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  24147. "type": "integer"
  24148. },
  24149. "remark": {
  24150. "description": "备注",
  24151. "type": "string"
  24152. },
  24153. "spotgoodsdesc": {
  24154. "description": "商品型号",
  24155. "type": "string"
  24156. },
  24157. "taaccountname": {
  24158. "description": "资金账号名称",
  24159. "type": "string"
  24160. },
  24161. "tradeuserid": {
  24162. "description": "交易用户id",
  24163. "type": "integer"
  24164. },
  24165. "tradeusername": {
  24166. "description": "交易用户名称",
  24167. "type": "string"
  24168. },
  24169. "unitid": {
  24170. "description": "单位id(现货商品)",
  24171. "type": "integer"
  24172. },
  24173. "updatetime": {
  24174. "description": "更新时间",
  24175. "type": "string"
  24176. },
  24177. "vatrate": {
  24178. "description": "增值税率",
  24179. "type": "number"
  24180. },
  24181. "wrstandardcode": {
  24182. "description": "品类代码",
  24183. "type": "string"
  24184. },
  24185. "wrstandardid": {
  24186. "description": "品类id",
  24187. "type": "integer"
  24188. },
  24189. "wrstandardname": {
  24190. "description": "品类名称",
  24191. "type": "string"
  24192. },
  24193. "wrunitid": {
  24194. "description": "品类单位id",
  24195. "type": "integer"
  24196. },
  24197. "wrunitidame": {
  24198. "description": "品类单位名称",
  24199. "type": "string"
  24200. }
  24201. }
  24202. },
  24203. "models.Ermcp3InnerTradeLink": {
  24204. "type": "object",
  24205. "properties": {
  24206. "accountid": {
  24207. "description": "期货账号代码 | 资金账号ID",
  24208. "type": "integer"
  24209. },
  24210. "buyorsell": {
  24211. "description": "方向 - 0:买 1:卖",
  24212. "type": "integer"
  24213. },
  24214. "channelbuildtype": {
  24215. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  24216. "type": "integer"
  24217. },
  24218. "currencyid": {
  24219. "description": "币种id",
  24220. "type": "integer"
  24221. },
  24222. "currencyname": {
  24223. "description": "结算币种 名称",
  24224. "type": "string"
  24225. },
  24226. "goodscode": {
  24227. "description": "商品代码",
  24228. "type": "string"
  24229. },
  24230. "goodsid": {
  24231. "description": "商品ID",
  24232. "type": "integer"
  24233. },
  24234. "goodsname": {
  24235. "description": "商品名称",
  24236. "type": "string"
  24237. },
  24238. "outtradeid": {
  24239. "description": "外部成交单号",
  24240. "type": "string"
  24241. },
  24242. "taname": {
  24243. "description": "期货账户名称",
  24244. "type": "string"
  24245. },
  24246. "tradeid": {
  24247. "description": "期货单号 | 内部成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  24248. "type": "string"
  24249. },
  24250. "tradeprice": {
  24251. "description": "成交价格",
  24252. "type": "number"
  24253. },
  24254. "tradeqty": {
  24255. "description": "期货成交数量",
  24256. "type": "integer"
  24257. },
  24258. "tradetime": {
  24259. "description": "关联时间 | 成交时间 ps:因为数据库表里没有关联时间, 所以取外部成交单的成交时间",
  24260. "type": "string"
  24261. },
  24262. "username": {
  24263. "description": "用户名称",
  24264. "type": "string"
  24265. }
  24266. }
  24267. },
  24268. "models.Ermcp3OutTradeLink": {
  24269. "type": "object",
  24270. "properties": {
  24271. "buyorsell": {
  24272. "description": "买卖方向 - 0:买 1:卖",
  24273. "type": "integer"
  24274. },
  24275. "channelbuildtype": {
  24276. "description": "开平标志- 0:无 1:建仓 2:平仓",
  24277. "type": "integer"
  24278. },
  24279. "currencyname": {
  24280. "description": "币种名称",
  24281. "type": "string"
  24282. },
  24283. "exexchangecode": {
  24284. "description": "交易所代码",
  24285. "type": "string"
  24286. },
  24287. "exexchangename": {
  24288. "description": "交易所名称",
  24289. "type": "string"
  24290. },
  24291. "goodscode": {
  24292. "description": "合约代码",
  24293. "type": "string"
  24294. },
  24295. "goodsid": {
  24296. "description": "合约id",
  24297. "type": "integer"
  24298. },
  24299. "goodsname": {
  24300. "description": "合约名称",
  24301. "type": "string"
  24302. },
  24303. "hasinnerorder": {
  24304. "description": "是否有内部单关联 - 0:无 1:有",
  24305. "type": "integer"
  24306. },
  24307. "hedgeaccountcode": {
  24308. "description": "外部账号 | 对冲账号",
  24309. "type": "string"
  24310. },
  24311. "outtradeid": {
  24312. "description": "外部订单号 | 外部成交单ID(114+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  24313. "type": "string"
  24314. },
  24315. "tradeprice": {
  24316. "description": "成交价格",
  24317. "type": "number"
  24318. },
  24319. "tradeqty": {
  24320. "description": "成交数量",
  24321. "type": "integer"
  24322. },
  24323. "tradetime": {
  24324. "description": "成交时间",
  24325. "type": "string"
  24326. }
  24327. }
  24328. },
  24329. "models.Ermcp3PaAreaAuditCfg": {
  24330. "type": "object",
  24331. "properties": {
  24332. "areauserid": {
  24333. "description": "用户ID",
  24334. "type": "integer"
  24335. },
  24336. "buyinauditflag": {
  24337. "description": "采购入库是否需要审核 - 0:不需审核 1:需要审核",
  24338. "type": "integer"
  24339. },
  24340. "costratioauditflag": {
  24341. "description": "现货商品成本权重修改是否需要审核 - 0:不需审核 1:需要审核",
  24342. "type": "integer"
  24343. },
  24344. "customerauditflag": {
  24345. "description": "客户资料是否需要审核 - 0:不需审核 1:需要审核",
  24346. "type": "integer"
  24347. },
  24348. "deliveryauditflag": {
  24349. "description": "交收是否需要审核 - 0:不需审核 1:需要审核",
  24350. "type": "integer"
  24351. },
  24352. "invoiceauditflag": {
  24353. "description": "发票是否需要审核 - 0:不需审核 1:需要审核",
  24354. "type": "integer"
  24355. },
  24356. "mgneedhedgeratioauditflag": {
  24357. "description": "套保品种套保比例修改是否需要审 - 0:不需审核 1:需要审核",
  24358. "type": "integer"
  24359. },
  24360. "moneyauditflag": {
  24361. "description": "款项是否需要审核 - 0:不需审核 1:需要审核",
  24362. "type": "integer"
  24363. },
  24364. "operatorid": {
  24365. "description": "操作人",
  24366. "type": "integer"
  24367. },
  24368. "operatorsrc": {
  24369. "description": "操作来源 - 1:管理端 2:终端",
  24370. "type": "integer"
  24371. },
  24372. "pointpriceauditflag": {
  24373. "description": "点价是否需要审核 - 0:不需审核 1:需要审核",
  24374. "type": "integer"
  24375. },
  24376. "produceinauditflag": {
  24377. "description": "生产入库是否需要审核 - 0:不需审核 1:需要审核",
  24378. "type": "integer"
  24379. },
  24380. "produceoutauditflag": {
  24381. "description": "生产出库是否需要审核 - 0:不需审核 1:需要审核",
  24382. "type": "integer"
  24383. },
  24384. "selloutauditflag": {
  24385. "description": "销售出库是否需要审核 - 0:不需审核 1:需要审核",
  24386. "type": "integer"
  24387. },
  24388. "sgconvertratioauditflag": {
  24389. "description": "现货商品折算系数修改是否需要审核 - 0:不需审核 1:需要审核",
  24390. "type": "integer"
  24391. },
  24392. "sgvtaratioauditflag": {
  24393. "description": "现货商品增值税税率修改是否需要审核 - 0:不需审核 1:需要审核",
  24394. "type": "integer"
  24395. },
  24396. "spotcontractauditflag": {
  24397. "description": "现货合同是否需要审核 - 0:不需审核 1:需要审核",
  24398. "type": "integer"
  24399. },
  24400. "updatetime": {
  24401. "description": "更新时间",
  24402. "type": "string"
  24403. }
  24404. }
  24405. },
  24406. "models.Ermcp3PaAreaSubject": {
  24407. "type": "object",
  24408. "properties": {
  24409. "areauserid": {
  24410. "description": "所属机构",
  24411. "type": "integer"
  24412. },
  24413. "canmodify": {
  24414. "description": "是否可修改 - 0:否 1:是",
  24415. "type": "integer"
  24416. },
  24417. "createtime": {
  24418. "description": "创建时间",
  24419. "type": "string"
  24420. },
  24421. "creatorid": {
  24422. "description": "创建人ID",
  24423. "type": "string"
  24424. },
  24425. "creatorsrc": {
  24426. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  24427. "type": "integer"
  24428. },
  24429. "modifierid": {
  24430. "description": "修改人",
  24431. "type": "string"
  24432. },
  24433. "modifiersrc": {
  24434. "description": "修改人来源 - 1:管理端 2:终端",
  24435. "type": "integer"
  24436. },
  24437. "modifytime": {
  24438. "description": "修改时间",
  24439. "type": "string"
  24440. },
  24441. "parentsubjectid": {
  24442. "description": "上级主体ID",
  24443. "type": "string"
  24444. },
  24445. "remark": {
  24446. "description": "备注",
  24447. "type": "string"
  24448. },
  24449. "subjectid": {
  24450. "description": "主体ID(SEQ_ERMCP_PA_AREASUBJECT)",
  24451. "type": "integer"
  24452. },
  24453. "subjectname": {
  24454. "description": "主体名称",
  24455. "type": "string"
  24456. },
  24457. "subjectstatus": {
  24458. "description": "主体状态 - 1:正常 2: 停用",
  24459. "type": "integer"
  24460. },
  24461. "subjecttype": {
  24462. "description": "主体类型 - 1:交易主体 2:业务部门",
  24463. "type": "integer"
  24464. }
  24465. }
  24466. },
  24467. "models.Ermcp3PaTradeLink": {
  24468. "type": "object",
  24469. "properties": {
  24470. "accountid": {
  24471. "description": "期货账户代码 | 账号ID",
  24472. "type": "integer"
  24473. },
  24474. "agreeunit": {
  24475. "description": "合约乘数",
  24476. "type": "number"
  24477. },
  24478. "buyorsell": {
  24479. "description": "方向 - 0:买 1:卖",
  24480. "type": "integer"
  24481. },
  24482. "channelbuildtype": {
  24483. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  24484. "type": "integer"
  24485. },
  24486. "charge": {
  24487. "description": "手续费",
  24488. "type": "number"
  24489. },
  24490. "closepl": {
  24491. "description": "平仓盈亏",
  24492. "type": "number"
  24493. },
  24494. "closetype": {
  24495. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  24496. "type": "integer"
  24497. },
  24498. "convertratio": {
  24499. "description": "折算系数",
  24500. "type": "number"
  24501. },
  24502. "enumdicname": {
  24503. "description": "单位名称",
  24504. "type": "string"
  24505. },
  24506. "executeprice": {
  24507. "description": "执行价 [期权]",
  24508. "type": "integer"
  24509. },
  24510. "goodscode": {
  24511. "description": "合约代码",
  24512. "type": "string"
  24513. },
  24514. "goodsgroupid": {
  24515. "description": "对冲品种ID[期货合约商品组ID]",
  24516. "type": "integer"
  24517. },
  24518. "goodsid": {
  24519. "description": "商品ID",
  24520. "type": "integer"
  24521. },
  24522. "goodsname": {
  24523. "description": "合约名称",
  24524. "type": "string"
  24525. },
  24526. "goodunitid": {
  24527. "description": "单位id",
  24528. "type": "integer"
  24529. },
  24530. "hedgeflag": {
  24531. "description": "投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)",
  24532. "type": "integer"
  24533. },
  24534. "marketid": {
  24535. "description": "市场ID",
  24536. "type": "integer"
  24537. },
  24538. "middlegoodsid": {
  24539. "description": "套保品种ID",
  24540. "type": "integer"
  24541. },
  24542. "middlegoodsqty": {
  24543. "description": "套保品种数量 = TradeQty * AgreeUnit * ConvertRatio",
  24544. "type": "number"
  24545. },
  24546. "optioncode": {
  24547. "description": "期权代码 [期权]",
  24548. "type": "string"
  24549. },
  24550. "ordertype": {
  24551. "description": "单据类型 - 1:期货单 2:看涨期权单 3:看跌期权单",
  24552. "type": "integer"
  24553. },
  24554. "ordertypename": {
  24555. "description": "订单类型",
  24556. "type": "string"
  24557. },
  24558. "parentaccountid": {
  24559. "description": "所属母账户",
  24560. "type": "integer"
  24561. },
  24562. "premium": {
  24563. "description": "权利金 [期权]",
  24564. "type": "number"
  24565. },
  24566. "relatedlot": {
  24567. "description": "已关联数量(已关联数量手) | db:关联手数",
  24568. "type": "number"
  24569. },
  24570. "relatedouttradeid": {
  24571. "description": "关联外部成交单ID",
  24572. "type": "string"
  24573. },
  24574. "relatedqty": {
  24575. "description": "关联数量",
  24576. "type": "number"
  24577. },
  24578. "spotcontractid": {
  24579. "description": "现货合同ID [4:套期保值\\10\\11]",
  24580. "type": "string"
  24581. },
  24582. "taname": {
  24583. "description": "期货账户名称",
  24584. "type": "string"
  24585. },
  24586. "tradeamount": {
  24587. "description": "成交金额(账户)",
  24588. "type": "number"
  24589. },
  24590. "tradedate": {
  24591. "description": "交易日(yyyyMMdd)",
  24592. "type": "string"
  24593. },
  24594. "tradeid": {
  24595. "description": "期货单号 | db:成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  24596. "type": "string"
  24597. },
  24598. "tradelot": {
  24599. "description": "成交数量(期货数量) ps:这是手数,转换为具体多少吨要乘以AGREEUNIT | db:成交手数",
  24600. "type": "integer"
  24601. },
  24602. "tradeprice": {
  24603. "description": "成交价格",
  24604. "type": "number"
  24605. },
  24606. "tradetime": {
  24607. "description": "时间 | db:成交时间",
  24608. "type": "string"
  24609. },
  24610. "tradetype": {
  24611. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  24612. "type": "integer"
  24613. },
  24614. "userid": {
  24615. "description": "所属机构 - 所属母账户的UserID",
  24616. "type": "string"
  24617. },
  24618. "username": {
  24619. "description": "用户名称",
  24620. "type": "string"
  24621. }
  24622. }
  24623. },
  24624. "models.Ermcp3ParamChangeApp": {
  24625. "type": "object",
  24626. "properties": {
  24627. "aftervalue": {
  24628. "description": "变更后",
  24629. "type": "number"
  24630. },
  24631. "applicationid": {
  24632. "description": "申请ID(619+Unix秒时间戳(10位)+xxxxxx)",
  24633. "type": "string"
  24634. },
  24635. "applyid": {
  24636. "description": "申请人",
  24637. "type": "string"
  24638. },
  24639. "applyname": {
  24640. "description": "申请人名称(代码)",
  24641. "type": "string"
  24642. },
  24643. "applyremark": {
  24644. "description": "申请备注",
  24645. "type": "string"
  24646. },
  24647. "applysrc": {
  24648. "description": "申请来源 - 1:管理端 2:终端",
  24649. "type": "integer"
  24650. },
  24651. "applystatus": {
  24652. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  24653. "type": "integer"
  24654. },
  24655. "applytime": {
  24656. "description": "申请时间",
  24657. "type": "string"
  24658. },
  24659. "areauserid": {
  24660. "description": "所属机构用户ID",
  24661. "type": "integer"
  24662. },
  24663. "auditid": {
  24664. "description": "审核人",
  24665. "type": "string"
  24666. },
  24667. "auditname": {
  24668. "description": "审核人名称(代码)",
  24669. "type": "string"
  24670. },
  24671. "auditremark": {
  24672. "description": "审核备注",
  24673. "type": "string"
  24674. },
  24675. "auditsrc": {
  24676. "description": "审核来源 - 1:管理端 2:终端",
  24677. "type": "integer"
  24678. },
  24679. "audittime": {
  24680. "description": "审核时间",
  24681. "type": "string"
  24682. },
  24683. "audittradedate": {
  24684. "description": "审核交易日(yyyyMMdd)",
  24685. "type": "string"
  24686. },
  24687. "beforevalue": {
  24688. "description": "变更前",
  24689. "type": "number"
  24690. },
  24691. "deliverygoodscode": {
  24692. "description": "品种代码",
  24693. "type": "string"
  24694. },
  24695. "deliverygoodsid": {
  24696. "description": "品种id",
  24697. "type": "integer"
  24698. },
  24699. "deliverygoodsname": {
  24700. "description": "品种名称",
  24701. "type": "string"
  24702. },
  24703. "middlegoodscode": {
  24704. "description": "套保品种代码",
  24705. "type": "string"
  24706. },
  24707. "middlegoodsid": {
  24708. "description": "套保品种ID [ParamChangeType = 2,3,4]",
  24709. "type": "integer"
  24710. },
  24711. "middlegoodsname": {
  24712. "description": "套保品种名称",
  24713. "type": "string"
  24714. },
  24715. "operatetype": {
  24716. "description": "操作类型 - 1:新增 2:修改",
  24717. "type": "integer"
  24718. },
  24719. "paramchangetype": {
  24720. "description": "参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)",
  24721. "type": "integer"
  24722. },
  24723. "wrstandardcode": {
  24724. "description": "现货商品代码",
  24725. "type": "string"
  24726. },
  24727. "wrstandardid": {
  24728. "description": "现货商品ID [ParamChangeType = 1,2,3]",
  24729. "type": "integer"
  24730. },
  24731. "wrstandardname": {
  24732. "description": "现货商品名称",
  24733. "type": "string"
  24734. }
  24735. }
  24736. },
  24737. "models.Ermcp3RootUserAccount": {
  24738. "type": "object",
  24739. "properties": {
  24740. "accountname": {
  24741. "description": "账户名称(机构名称)",
  24742. "type": "string"
  24743. },
  24744. "accountstatus": {
  24745. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  24746. "type": "integer"
  24747. },
  24748. "applysrc": {
  24749. "description": "申请来源 - 1:管理端 2:终端",
  24750. "type": "integer"
  24751. },
  24752. "auditremark": {
  24753. "description": "审核备注",
  24754. "type": "string"
  24755. },
  24756. "auditsrc": {
  24757. "description": "审核来源 - 1:管理端 2:终端",
  24758. "type": "integer"
  24759. },
  24760. "audittime": {
  24761. "description": "审核时间",
  24762. "type": "string"
  24763. },
  24764. "audituserid": {
  24765. "description": "审核人",
  24766. "type": "integer"
  24767. },
  24768. "broker": {
  24769. "description": "所属经纪人ID",
  24770. "type": "integer"
  24771. },
  24772. "canceltime": {
  24773. "description": "销户时间",
  24774. "type": "string"
  24775. },
  24776. "canceluserid": {
  24777. "description": "销户人",
  24778. "type": "integer"
  24779. },
  24780. "canrecommend": {
  24781. "description": "是否可推荐 - 0:不可 1;可",
  24782. "type": "integer"
  24783. },
  24784. "createtime": {
  24785. "description": "创建时间",
  24786. "type": "string"
  24787. },
  24788. "creatorid": {
  24789. "description": "创建人",
  24790. "type": "integer"
  24791. },
  24792. "hasauth": {
  24793. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  24794. "type": "integer"
  24795. },
  24796. "isanonymous": {
  24797. "description": "是否匿名下单 - 0:否 1:是",
  24798. "type": "integer"
  24799. },
  24800. "maxinvestornum": {
  24801. "description": "最大用户数(经纪会员下投资者个数)",
  24802. "type": "integer"
  24803. },
  24804. "memberuserid": {
  24805. "description": "所属会员ID",
  24806. "type": "integer"
  24807. },
  24808. "modifierid": {
  24809. "description": "修改人",
  24810. "type": "integer"
  24811. },
  24812. "modifyremark": {
  24813. "description": "变更备注",
  24814. "type": "string"
  24815. },
  24816. "modifystatus": {
  24817. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  24818. "type": "integer"
  24819. },
  24820. "modifytime": {
  24821. "description": "修改时间",
  24822. "type": "string"
  24823. },
  24824. "nickname": {
  24825. "description": "昵称",
  24826. "type": "string"
  24827. },
  24828. "parenttopuser": {
  24829. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  24830. "type": "string"
  24831. },
  24832. "parentuserid": {
  24833. "description": "所属机构ID",
  24834. "type": "integer"
  24835. },
  24836. "reckonaccountid": {
  24837. "description": "默认结算资金账号ID(机构分润使用) 作废",
  24838. "type": "integer"
  24839. },
  24840. "refercount": {
  24841. "description": "推荐总人数",
  24842. "type": "integer"
  24843. },
  24844. "refereeuserid": {
  24845. "description": "推荐人ID",
  24846. "type": "integer"
  24847. },
  24848. "refernum": {
  24849. "description": "推荐码",
  24850. "type": "string"
  24851. },
  24852. "rootuserid": {
  24853. "description": "根用户ID",
  24854. "type": "integer"
  24855. },
  24856. "subaccountlevel": {
  24857. "description": "子账户层数",
  24858. "type": "integer"
  24859. },
  24860. "subarealevelpath": {
  24861. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  24862. "type": "string"
  24863. },
  24864. "userid": {
  24865. "description": "用户ID",
  24866. "type": "integer"
  24867. },
  24868. "usertype": {
  24869. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  24870. "type": "integer"
  24871. }
  24872. }
  24873. },
  24874. "models.Ermcp3SCMiddleGoods": {
  24875. "type": "object",
  24876. "properties": {
  24877. "biztype": {
  24878. "description": "业务类型 1:套保 2:套利",
  24879. "type": "integer"
  24880. },
  24881. "contractno": {
  24882. "description": "合同编号",
  24883. "type": "string"
  24884. },
  24885. "contracttype": {
  24886. "description": "合同类型 1:采购 -1:销售",
  24887. "type": "integer"
  24888. },
  24889. "convertratio": {
  24890. "description": "折算系数",
  24891. "type": "number"
  24892. },
  24893. "customername": {
  24894. "description": "对手手名称",
  24895. "type": "string"
  24896. },
  24897. "customeruserid": {
  24898. "description": "对手id",
  24899. "type": "integer"
  24900. },
  24901. "deliverygoodscode": {
  24902. "description": "现货品种代码",
  24903. "type": "string"
  24904. },
  24905. "deliverygoodsid": {
  24906. "description": "现货品种ID",
  24907. "type": "integer"
  24908. },
  24909. "deliverygoodsname": {
  24910. "description": "现货品种名称",
  24911. "type": "string"
  24912. },
  24913. "enumdicname": {
  24914. "description": "现货单位名称",
  24915. "type": "string"
  24916. },
  24917. "middlegoodsid": {
  24918. "description": "套保品种ID",
  24919. "type": "integer"
  24920. },
  24921. "middlegoodspricedqty3": {
  24922. "description": "应套保数量 = MiddleGoodsPricedQty2 * 套保比率",
  24923. "type": "number"
  24924. },
  24925. "needhedgeratio": {
  24926. "description": "套保比例",
  24927. "type": "number"
  24928. },
  24929. "pricedqty": {
  24930. "description": "已定价量",
  24931. "type": "number"
  24932. },
  24933. "relatedmiddlegoodsqty": {
  24934. "description": "已关联量(套保品种)(期货)",
  24935. "type": "number"
  24936. },
  24937. "spotcontractid": {
  24938. "description": "合同编号",
  24939. "type": "string"
  24940. },
  24941. "unitid": {
  24942. "description": "现货单位id",
  24943. "type": "integer"
  24944. },
  24945. "userid": {
  24946. "description": "用户id",
  24947. "type": "integer"
  24948. },
  24949. "vatrate": {
  24950. "description": "增值税率",
  24951. "type": "number"
  24952. },
  24953. "wrstandardcode": {
  24954. "description": "现货商品代码",
  24955. "type": "string"
  24956. },
  24957. "wrstandardid": {
  24958. "description": "现货商品id",
  24959. "type": "integer"
  24960. },
  24961. "wrstandardname": {
  24962. "description": "现货商品名称",
  24963. "type": "string"
  24964. }
  24965. }
  24966. },
  24967. "models.Ermcp3SCMiddleGoodsReport": {
  24968. "type": "object",
  24969. "properties": {
  24970. "begindate": {
  24971. "description": "开始交易日",
  24972. "type": "string"
  24973. },
  24974. "contractno": {
  24975. "description": "合同编号",
  24976. "type": "string"
  24977. },
  24978. "contracttype": {
  24979. "description": "合同类型 1:采购 -1:销售",
  24980. "type": "integer"
  24981. },
  24982. "convertratio": {
  24983. "description": "折算系数",
  24984. "type": "number"
  24985. },
  24986. "cycletime": {
  24987. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  24988. "type": "string"
  24989. },
  24990. "cycletype": {
  24991. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  24992. "type": "integer"
  24993. },
  24994. "deliverygoodscode": {
  24995. "description": "品种代码",
  24996. "type": "string"
  24997. },
  24998. "deliverygoodsid": {
  24999. "description": "现货品种ID",
  25000. "type": "integer"
  25001. },
  25002. "deliverygoodsname": {
  25003. "description": "品种名称",
  25004. "type": "string"
  25005. },
  25006. "diffprice": {
  25007. "description": "现期价格差 = 今日点价登记均价(基价) - 今日期货成交均价",
  25008. "type": "number"
  25009. },
  25010. "diffqty": {
  25011. "description": "期现数量差 = 套保计划量 - 今日期货关联成交量",
  25012. "type": "number"
  25013. },
  25014. "enddate": {
  25015. "description": "结束交易日",
  25016. "type": "string"
  25017. },
  25018. "hedgeplanqty": {
  25019. "description": "套保计划量 = TodayPricedQty * 折算系数 * (1/(1+增值税率)) * 套保比例",
  25020. "type": "number"
  25021. },
  25022. "matchname": {
  25023. "description": "交易对手方(个人:用户名称 企业:简称)",
  25024. "type": "string"
  25025. },
  25026. "matchnickname": {
  25027. "description": "交易对手方昵称",
  25028. "type": "string"
  25029. },
  25030. "middlegoodscode": {
  25031. "description": "套保品种代码",
  25032. "type": "string"
  25033. },
  25034. "middlegoodsid": {
  25035. "description": "套保品种ID",
  25036. "type": "integer"
  25037. },
  25038. "middlegoodsname": {
  25039. "description": "套保品种名称",
  25040. "type": "string"
  25041. },
  25042. "middlegoodspricedqty": {
  25043. "description": "已定价量(套保品种 - 税前) = PricedQty * 折算系数",
  25044. "type": "number"
  25045. },
  25046. "middlegoodspricedqty2": {
  25047. "description": "已定价量(套保品种- 税后) = MiddleGoodsPricedQty * (1/(1+增值税率))",
  25048. "type": "number"
  25049. },
  25050. "middlegoodspricedqty3": {
  25051. "description": "已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率",
  25052. "type": "number"
  25053. },
  25054. "needhedgeratio": {
  25055. "description": "套保系数",
  25056. "type": "number"
  25057. },
  25058. "pricedamount": {
  25059. "description": "已定价额(现货)",
  25060. "type": "number"
  25061. },
  25062. "pricedamount2": {
  25063. "description": "已定价额(现货-基价额)",
  25064. "type": "number"
  25065. },
  25066. "pricedqty": {
  25067. "description": "已定价量(现货)",
  25068. "type": "number"
  25069. },
  25070. "reckondate": {
  25071. "description": "日照时期(yyyyMMdd)",
  25072. "type": "string"
  25073. },
  25074. "relatedmiddlegoodsamount": {
  25075. "description": "已关联额(期货)",
  25076. "type": "number"
  25077. },
  25078. "relatedmiddlegoodsqty": {
  25079. "description": "已关联量(套保品种)(期货)",
  25080. "type": "number"
  25081. },
  25082. "spotcontractid": {
  25083. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  25084. "type": "string"
  25085. },
  25086. "todayavgfutuprice": {
  25087. "description": "今日期货成交均价 = TodayRelatedMiddleGoodsAmount /todayrelatedfutureqty",
  25088. "type": "number"
  25089. },
  25090. "todayavgprice": {
  25091. "description": "今日定价均价 = TodayPricedAmount / TodayPricedQty",
  25092. "type": "number"
  25093. },
  25094. "todayavgprice2": {
  25095. "description": "今日点价登记均价(基价) = TodayPricedAmount2 / TodayPricedQty",
  25096. "type": "number"
  25097. },
  25098. "todaypricedamount": {
  25099. "description": "今日定价额(现货)",
  25100. "type": "number"
  25101. },
  25102. "todaypricedamount2": {
  25103. "description": "今日定价额(现货-基价额)",
  25104. "type": "number"
  25105. },
  25106. "todaypricedqty": {
  25107. "description": "今日定价量(现货)",
  25108. "type": "number"
  25109. },
  25110. "todayrelatedfutureqty": {
  25111. "description": "今日关联量(期货)",
  25112. "type": "number"
  25113. },
  25114. "todayrelatedmiddlegoodsamount": {
  25115. "description": "今日关联额(期货)",
  25116. "type": "number"
  25117. },
  25118. "todayrelatedmiddlegoodsqty": {
  25119. "description": "今日关联量(套保品-期货)",
  25120. "type": "number"
  25121. },
  25122. "updatetime": {
  25123. "description": "更新时间",
  25124. "type": "string"
  25125. },
  25126. "userid": {
  25127. "description": "合同所属用户id",
  25128. "type": "integer"
  25129. },
  25130. "vatrate": {
  25131. "description": "增值税率",
  25132. "type": "number"
  25133. },
  25134. "wrstandardcode": {
  25135. "description": "商品(品类) 代码",
  25136. "type": "string"
  25137. },
  25138. "wrstandardid": {
  25139. "description": "现货商品ID",
  25140. "type": "integer"
  25141. },
  25142. "wrstandardname": {
  25143. "description": "商品(品类) 名称",
  25144. "type": "string"
  25145. }
  25146. }
  25147. },
  25148. "models.Ermcp3SellBuyContract": {
  25149. "type": "object",
  25150. "properties": {
  25151. "accountid": {
  25152. "description": "期货账户id",
  25153. "type": "string"
  25154. },
  25155. "accountname": {
  25156. "description": "账户名称",
  25157. "type": "string"
  25158. },
  25159. "attachment": {
  25160. "description": "附件",
  25161. "type": "string"
  25162. },
  25163. "audittime": {
  25164. "description": "审核时间",
  25165. "type": "string"
  25166. },
  25167. "bizsubjectid": {
  25168. "description": "归属业务部门ID - SubjectID",
  25169. "type": "integer"
  25170. },
  25171. "biztype": {
  25172. "description": "业务类型 1-套保 2-套利",
  25173. "type": "integer"
  25174. },
  25175. "brandname": {
  25176. "description": "品牌名称",
  25177. "type": "string"
  25178. },
  25179. "contracctstatus": {
  25180. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  25181. "type": "integer"
  25182. },
  25183. "contractmargin": {
  25184. "description": "合同保证金",
  25185. "type": "number"
  25186. },
  25187. "contractno": {
  25188. "description": "合同编号",
  25189. "type": "string"
  25190. },
  25191. "contracttype": {
  25192. "description": "合同类型 1-采购, -1-销售",
  25193. "type": "integer"
  25194. },
  25195. "convertfactor": {
  25196. "description": "标仓系数(品类)",
  25197. "type": "number"
  25198. },
  25199. "createtime": {
  25200. "description": "创建时间",
  25201. "type": "string"
  25202. },
  25203. "currencyid": {
  25204. "description": "币种id",
  25205. "type": "integer"
  25206. },
  25207. "currencyname": {
  25208. "description": "币种名称",
  25209. "type": "string"
  25210. },
  25211. "daikaiamount": {
  25212. "description": "应收(开)票额 | 未收票额",
  25213. "type": "number"
  25214. },
  25215. "deliveryenddate": {
  25216. "description": "交割结束日",
  25217. "type": "string"
  25218. },
  25219. "deliverygoodscode": {
  25220. "description": "现货品种代码",
  25221. "type": "string"
  25222. },
  25223. "deliverygoodsid": {
  25224. "description": "现货商品ID",
  25225. "type": "integer"
  25226. },
  25227. "deliverygoodsname": {
  25228. "description": "现货品种名称",
  25229. "type": "string"
  25230. },
  25231. "deliverystartdate": {
  25232. "description": "交割开始日",
  25233. "type": "string"
  25234. },
  25235. "enddate": {
  25236. "description": "点价结束日",
  25237. "type": "string"
  25238. },
  25239. "enumdicname": {
  25240. "description": "单位名称",
  25241. "type": "string"
  25242. },
  25243. "goodscode": {
  25244. "description": "点价商品代码",
  25245. "type": "string"
  25246. },
  25247. "goodsgroupid": {
  25248. "description": "点价商品组id",
  25249. "type": "integer"
  25250. },
  25251. "goodsid": {
  25252. "description": "点价商品ID",
  25253. "type": "integer"
  25254. },
  25255. "goodsname": {
  25256. "description": "点价商品名称",
  25257. "type": "string"
  25258. },
  25259. "invoiceamount": {
  25260. "description": "已开票额",
  25261. "type": "number"
  25262. },
  25263. "loanamount": {
  25264. "description": "贷款总额=已定价额+调整金额",
  25265. "type": "number"
  25266. },
  25267. "margin": {
  25268. "description": "保证金",
  25269. "type": "number"
  25270. },
  25271. "meruserid": {
  25272. "description": "跟单员id",
  25273. "type": "integer"
  25274. },
  25275. "meruserlogincode": {
  25276. "description": "跟单员登录代码",
  25277. "type": "string"
  25278. },
  25279. "merusername": {
  25280. "description": "跟单员名称",
  25281. "type": "string"
  25282. },
  25283. "nickname": {
  25284. "description": "账户昵称",
  25285. "type": "string"
  25286. },
  25287. "orireckonrealqty": {
  25288. "description": "应交收量",
  25289. "type": "number"
  25290. },
  25291. "payamount": {
  25292. "description": "已收付额(收款或付款)",
  25293. "type": "number"
  25294. },
  25295. "preinvoiceamount": {
  25296. "description": "预收(开)票额",
  25297. "type": "number"
  25298. },
  25299. "prepayamount": {
  25300. "description": "预收付额",
  25301. "type": "number"
  25302. },
  25303. "price": {
  25304. "description": "价格",
  25305. "type": "number"
  25306. },
  25307. "pricedamount": {
  25308. "description": "已定价额",
  25309. "type": "number"
  25310. },
  25311. "pricedavg": {
  25312. "description": "已点均价",
  25313. "type": "number"
  25314. },
  25315. "pricedqty": {
  25316. "description": "已定价量",
  25317. "type": "number"
  25318. },
  25319. "pricemove": {
  25320. "description": "升贴水",
  25321. "type": "number"
  25322. },
  25323. "pricetype": {
  25324. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  25325. "type": "integer"
  25326. },
  25327. "producttype": {
  25328. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  25329. "type": "integer"
  25330. },
  25331. "qty": {
  25332. "description": "合同量",
  25333. "type": "number"
  25334. },
  25335. "reckonadjustamount": {
  25336. "description": "调整金额",
  25337. "type": "number"
  25338. },
  25339. "reckonedamount": {
  25340. "description": "实际已收付额(已确定额,已收付总额-已退款总额)",
  25341. "type": "number"
  25342. },
  25343. "reckonotheramount": {
  25344. "description": "其它费用",
  25345. "type": "number"
  25346. },
  25347. "reckonrealqty": {
  25348. "description": "已交收量",
  25349. "type": "number"
  25350. },
  25351. "remark": {
  25352. "description": "备注",
  25353. "type": "string"
  25354. },
  25355. "saleuserid": {
  25356. "description": "业务员id",
  25357. "type": "integer"
  25358. },
  25359. "saleuserlogincode": {
  25360. "description": "业务员登录代码",
  25361. "type": "string"
  25362. },
  25363. "saleusername": {
  25364. "description": "业务员名称",
  25365. "type": "string"
  25366. },
  25367. "spotcontractid": {
  25368. "description": "合同ID",
  25369. "type": "string"
  25370. },
  25371. "spotgoodsbrandid": {
  25372. "description": "现货品牌ID(DGFactoryItem表的ID)",
  25373. "type": "integer"
  25374. },
  25375. "spotgoodsdesc": {
  25376. "description": "商品型号(商品规格)",
  25377. "type": "string"
  25378. },
  25379. "startdate": {
  25380. "description": "点价开始日",
  25381. "type": "string"
  25382. },
  25383. "subjectid": {
  25384. "description": "交易主体ID",
  25385. "type": "integer"
  25386. },
  25387. "subjectname": {
  25388. "description": "交易主体名称",
  25389. "type": "string"
  25390. },
  25391. "totalamount": {
  25392. "description": "合计总额",
  25393. "type": "number"
  25394. },
  25395. "tradeuserid": {
  25396. "description": "交易员id",
  25397. "type": "integer"
  25398. },
  25399. "tradeuserlogincode": {
  25400. "description": "交易员登录代码",
  25401. "type": "string"
  25402. },
  25403. "tradeusername": {
  25404. "description": "交易员名称",
  25405. "type": "string"
  25406. },
  25407. "unpayamount": {
  25408. "description": "应收付款额(应支付或应收款) | 未付款额",
  25409. "type": "number"
  25410. },
  25411. "unpricedqty": {
  25412. "description": "未定价量",
  25413. "type": "number"
  25414. },
  25415. "unsureqty": {
  25416. "description": "未确定量 | 未交收量",
  25417. "type": "number"
  25418. },
  25419. "userid": {
  25420. "description": "机构ID",
  25421. "type": "integer"
  25422. },
  25423. "vatrate": {
  25424. "description": "增值税率",
  25425. "type": "number"
  25426. },
  25427. "wrstandardcode": {
  25428. "description": "品类代码",
  25429. "type": "string"
  25430. },
  25431. "wrstandardid": {
  25432. "description": "品类ID",
  25433. "type": "integer"
  25434. },
  25435. "wrstandardname": {
  25436. "description": "品类名称",
  25437. "type": "string"
  25438. }
  25439. }
  25440. },
  25441. "models.Ermcp3SpotGoodsPrice": {
  25442. "type": "object",
  25443. "properties": {
  25444. "areauserid": {
  25445. "description": "所属机构id",
  25446. "type": "integer"
  25447. },
  25448. "brandname": {
  25449. "description": "品牌名称",
  25450. "type": "string"
  25451. },
  25452. "currencyid": {
  25453. "description": "报价货币ID",
  25454. "type": "integer"
  25455. },
  25456. "currencyname": {
  25457. "description": "币种名称",
  25458. "type": "string"
  25459. },
  25460. "deliverygoodscode": {
  25461. "description": "现货商品代码",
  25462. "type": "string"
  25463. },
  25464. "deliverygoodsid": {
  25465. "description": "现货商品id",
  25466. "type": "integer"
  25467. },
  25468. "deliverygoodsname": {
  25469. "description": "现货商品名称",
  25470. "type": "string"
  25471. },
  25472. "enumdicname": {
  25473. "description": "现货商品单位名称",
  25474. "type": "string"
  25475. },
  25476. "gbenumdicname": {
  25477. "description": "品类单位名称",
  25478. "type": "string"
  25479. },
  25480. "gmunitid": {
  25481. "description": "品类单位id",
  25482. "type": "integer"
  25483. },
  25484. "isvalid": {
  25485. "description": "是否有效 - 0:无效 1:有效",
  25486. "type": "integer"
  25487. },
  25488. "operateid": {
  25489. "description": "最后操作人",
  25490. "type": "integer"
  25491. },
  25492. "operatesrc": {
  25493. "description": "最后操作来源 - 1:管理端 2:终端",
  25494. "type": "integer"
  25495. },
  25496. "operatetime": {
  25497. "description": "最后操作时间",
  25498. "type": "string"
  25499. },
  25500. "operatorname": {
  25501. "description": "操作人名称",
  25502. "type": "string"
  25503. },
  25504. "spotgoodsbrandid": {
  25505. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  25506. "type": "integer"
  25507. },
  25508. "spotgoodsprice": {
  25509. "description": "现货价格",
  25510. "type": "number"
  25511. },
  25512. "tradedate": {
  25513. "description": "交易日(yyyyMMdd)",
  25514. "type": "string"
  25515. },
  25516. "unitid": {
  25517. "description": "现货商品单位id",
  25518. "type": "integer"
  25519. },
  25520. "wrstandardcode": {
  25521. "description": "品类代码",
  25522. "type": "string"
  25523. },
  25524. "wrstandardid": {
  25525. "description": "现货品类ID(通用则为0)",
  25526. "type": "integer"
  25527. },
  25528. "wrstandardname": {
  25529. "description": "品类名称",
  25530. "type": "string"
  25531. }
  25532. }
  25533. },
  25534. "models.Ermcp3SpotGoodsPriceLog": {
  25535. "type": "object",
  25536. "properties": {
  25537. "areauserid": {
  25538. "description": "所属机构id",
  25539. "type": "integer"
  25540. },
  25541. "brandname": {
  25542. "description": "品牌名称",
  25543. "type": "string"
  25544. },
  25545. "currencyid": {
  25546. "description": "报价货币ID",
  25547. "type": "integer"
  25548. },
  25549. "deliverygoodscode": {
  25550. "description": "现货商品代码",
  25551. "type": "string"
  25552. },
  25553. "deliverygoodsid": {
  25554. "description": "现货商品id",
  25555. "type": "integer"
  25556. },
  25557. "deliverygoodsname": {
  25558. "description": "现货商品名称",
  25559. "type": "string"
  25560. },
  25561. "enumdicname": {
  25562. "description": "现货商品单位名称",
  25563. "type": "string"
  25564. },
  25565. "gbenumdicname": {
  25566. "description": "品类单位名称",
  25567. "type": "string"
  25568. },
  25569. "gmunitid": {
  25570. "description": "品类单位id",
  25571. "type": "integer"
  25572. },
  25573. "logid": {
  25574. "description": "日志id",
  25575. "type": "integer"
  25576. },
  25577. "operateid": {
  25578. "description": "最后操作人",
  25579. "type": "integer"
  25580. },
  25581. "operatesrc": {
  25582. "description": "最后操作来源 - 1:管理端 2:终端",
  25583. "type": "integer"
  25584. },
  25585. "operatetime": {
  25586. "description": "最后操作时间",
  25587. "type": "string"
  25588. },
  25589. "operatorname": {
  25590. "description": "操作人名称",
  25591. "type": "string"
  25592. },
  25593. "spotgoodsbrandid": {
  25594. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  25595. "type": "integer"
  25596. },
  25597. "spotgoodsprice": {
  25598. "description": "现货价格",
  25599. "type": "number"
  25600. },
  25601. "tradedate": {
  25602. "description": "交易日(yyyyMMdd)",
  25603. "type": "string"
  25604. },
  25605. "unitid": {
  25606. "description": "现货商品单位id",
  25607. "type": "integer"
  25608. },
  25609. "wrstandardcode": {
  25610. "description": "品类代码",
  25611. "type": "string"
  25612. },
  25613. "wrstandardid": {
  25614. "description": "现货品类ID(通用则为0)",
  25615. "type": "integer"
  25616. },
  25617. "wrstandardname": {
  25618. "description": "品类名称",
  25619. "type": "string"
  25620. }
  25621. }
  25622. },
  25623. "models.Ermcp3SubTaaccount": {
  25624. "type": "object",
  25625. "properties": {
  25626. "accountid": {
  25627. "description": "资金账户ID",
  25628. "type": "integer"
  25629. },
  25630. "parentaccountcode": {
  25631. "description": "所属根账号代码(母账号代码)",
  25632. "type": "string"
  25633. },
  25634. "parentaccountid": {
  25635. "description": "所属根账号(母账号)",
  25636. "type": "integer"
  25637. },
  25638. "taname": {
  25639. "description": "资金账号名称",
  25640. "type": "string"
  25641. },
  25642. "tradestatus": {
  25643. "description": "交易状态 - 1:正常 2:受限 3:冻结(停用) 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已删除(注销)",
  25644. "type": "integer"
  25645. },
  25646. "username": {
  25647. "description": "交易用户",
  25648. "type": "string"
  25649. }
  25650. }
  25651. },
  25652. "models.Ermcp3TaFutuReDataReport": {
  25653. "type": "object",
  25654. "properties": {
  25655. "accountid": {
  25656. "description": "交易账户",
  25657. "type": "integer"
  25658. },
  25659. "accountname": {
  25660. "description": "交易账号名称",
  25661. "type": "string"
  25662. },
  25663. "agreeunit": {
  25664. "description": "商品合约单位",
  25665. "type": "number"
  25666. },
  25667. "begindate": {
  25668. "description": "开始交易日",
  25669. "type": "string"
  25670. },
  25671. "buyorsell": {
  25672. "description": "持仓方向",
  25673. "type": "integer"
  25674. },
  25675. "charge": {
  25676. "description": "手续费",
  25677. "type": "number"
  25678. },
  25679. "closeavgprice": {
  25680. "description": "平仓均价",
  25681. "type": "number"
  25682. },
  25683. "closepl": {
  25684. "description": "平仓损益",
  25685. "type": "number"
  25686. },
  25687. "currencyid": {
  25688. "description": "结算币种ID",
  25689. "type": "integer"
  25690. },
  25691. "currencyname": {
  25692. "description": "币种名称",
  25693. "type": "string"
  25694. },
  25695. "cycletime": {
  25696. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  25697. "type": "string"
  25698. },
  25699. "cycletype": {
  25700. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  25701. "type": "integer"
  25702. },
  25703. "enddate": {
  25704. "description": "结束交易日",
  25705. "type": "string"
  25706. },
  25707. "enumdicname": {
  25708. "description": "单位名称",
  25709. "type": "string"
  25710. },
  25711. "floatpl": {
  25712. "description": "浮动损益",
  25713. "type": "number"
  25714. },
  25715. "goodscode": {
  25716. "description": "交易合约代码",
  25717. "type": "string"
  25718. },
  25719. "goodsgroupid": {
  25720. "description": "交易品种",
  25721. "type": "integer"
  25722. },
  25723. "goodsgroupname": {
  25724. "description": "交易品种名称",
  25725. "type": "string"
  25726. },
  25727. "goodsgroupspotqty": {
  25728. "description": "交易品种期末量 (= 期末持仓量 * 合约乘数)",
  25729. "type": "number"
  25730. },
  25731. "goodsid": {
  25732. "description": "交易合约",
  25733. "type": "integer"
  25734. },
  25735. "goodsname": {
  25736. "description": "交易合约名称",
  25737. "type": "string"
  25738. },
  25739. "goodunitid": {
  25740. "description": "交易合约单位id",
  25741. "type": "integer"
  25742. },
  25743. "holdamount": {
  25744. "description": "期末持仓额",
  25745. "type": "number"
  25746. },
  25747. "holdqty": {
  25748. "description": "期末持仓量",
  25749. "type": "number"
  25750. },
  25751. "lastholdamount": {
  25752. "description": "当前持仓额",
  25753. "type": "number"
  25754. },
  25755. "lastprice": {
  25756. "description": "最新价",
  25757. "type": "number"
  25758. },
  25759. "middlegoodsid": {
  25760. "description": "套保品种id",
  25761. "type": "integer"
  25762. },
  25763. "middlegoodsname": {
  25764. "description": "套保商品名称",
  25765. "type": "string"
  25766. },
  25767. "middlegoodsqty": {
  25768. "description": "套保品种期末量 (=交易品种期末量 * 期货品种折算系数)",
  25769. "type": "number"
  25770. },
  25771. "middlgoodscode": {
  25772. "description": "套保商品代码",
  25773. "type": "string"
  25774. },
  25775. "openamount": {
  25776. "description": "期末开仓额",
  25777. "type": "number"
  25778. },
  25779. "openavgprice": {
  25780. "description": "开仓均价",
  25781. "type": "number"
  25782. },
  25783. "oriholdamount": {
  25784. "description": "期初持仓额",
  25785. "type": "number"
  25786. },
  25787. "oriholdqty": {
  25788. "description": "期初持仓量",
  25789. "type": "number"
  25790. },
  25791. "oriopenamount": {
  25792. "description": "期初开仓额",
  25793. "type": "number"
  25794. },
  25795. "outergroupcode": {
  25796. "description": "交易品种代码",
  25797. "type": "string"
  25798. },
  25799. "qtydecimalplace": {
  25800. "description": "成交量小数位",
  25801. "type": "integer"
  25802. },
  25803. "reckondate": {
  25804. "description": "日照时期(yyyyMMdd)",
  25805. "type": "string"
  25806. },
  25807. "reckonholdamount": {
  25808. "description": "结算持仓额",
  25809. "type": "number"
  25810. },
  25811. "reckonpl": {
  25812. "description": "结算损益",
  25813. "type": "number"
  25814. },
  25815. "reckonpl2": {
  25816. "description": "结算逐笔盈亏",
  25817. "type": "number"
  25818. },
  25819. "reckonprice": {
  25820. "description": "结算价",
  25821. "type": "number"
  25822. },
  25823. "relateduserid": {
  25824. "description": "账户关联用户ID",
  25825. "type": "integer"
  25826. },
  25827. "todaycloseamount": {
  25828. "description": "今平仓额",
  25829. "type": "number"
  25830. },
  25831. "todaycloseqty": {
  25832. "description": "今平仓量",
  25833. "type": "number"
  25834. },
  25835. "todaygoodsgroupspotqty": {
  25836. "description": "交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)",
  25837. "type": "number"
  25838. },
  25839. "todaymiddlegoodsqty": {
  25840. "description": "套保品种变化量 (= 交易品种变化量*期货品种折算系数)",
  25841. "type": "number"
  25842. },
  25843. "todayopenamount": {
  25844. "description": "今开仓额",
  25845. "type": "number"
  25846. },
  25847. "todayopenqty": {
  25848. "description": "今开仓量",
  25849. "type": "number"
  25850. },
  25851. "userid": {
  25852. "description": "账户所属用户ID",
  25853. "type": "integer"
  25854. }
  25855. }
  25856. },
  25857. "models.Ermcp3TradeLinkDetail": {
  25858. "type": "object",
  25859. "properties": {
  25860. "accountid": {
  25861. "description": "资金账号",
  25862. "type": "integer"
  25863. },
  25864. "agreeunit": {
  25865. "description": "合约乘数",
  25866. "type": "number"
  25867. },
  25868. "areauserid": {
  25869. "description": "所属机构",
  25870. "type": "string"
  25871. },
  25872. "bizsubjectid": {
  25873. "description": "归属业务部门ID - SubjectID",
  25874. "type": "string"
  25875. },
  25876. "buyorsell": {
  25877. "description": "方向 - 0:买 1:卖",
  25878. "type": "integer"
  25879. },
  25880. "channelbuildtype": {
  25881. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  25882. "type": "integer"
  25883. },
  25884. "contractno": {
  25885. "description": "现货编号 (合同编号)",
  25886. "type": "string"
  25887. },
  25888. "convertratio": {
  25889. "description": "折算系数",
  25890. "type": "number"
  25891. },
  25892. "createtime": {
  25893. "description": "关联时间 | 创建时间",
  25894. "type": "string"
  25895. },
  25896. "creatorid": {
  25897. "description": "创建人ID",
  25898. "type": "string"
  25899. },
  25900. "creatorsrc": {
  25901. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  25902. "type": "integer"
  25903. },
  25904. "enumdicname": {
  25905. "description": "单位名称",
  25906. "type": "string"
  25907. },
  25908. "goodscode": {
  25909. "description": "合约代码",
  25910. "type": "string"
  25911. },
  25912. "goodsgroupid": {
  25913. "description": "对冲品种ID[期货合约商品组ID]",
  25914. "type": "integer"
  25915. },
  25916. "goodsid": {
  25917. "description": "商品ID",
  25918. "type": "integer"
  25919. },
  25920. "goodsname": {
  25921. "description": "合约名称",
  25922. "type": "string"
  25923. },
  25924. "hedgeflag": {
  25925. "description": "业务类型 | 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)",
  25926. "type": "integer"
  25927. },
  25928. "linkdetailid": {
  25929. "description": "关联ID(614+Unix秒时间戳(10位)+xxxxxx)",
  25930. "type": "string"
  25931. },
  25932. "linkstatus": {
  25933. "description": "关联状态 - 1:成功 2:失败 3:解绑",
  25934. "type": "integer"
  25935. },
  25936. "middlegoodscode": {
  25937. "description": "套保品种代码",
  25938. "type": "string"
  25939. },
  25940. "middlegoodsid": {
  25941. "description": "套保品种ID",
  25942. "type": "integer"
  25943. },
  25944. "middlegoodsname": {
  25945. "description": "套保品种名称",
  25946. "type": "string"
  25947. },
  25948. "relatedlot": {
  25949. "description": "关联手数",
  25950. "type": "number"
  25951. },
  25952. "relatedmode": {
  25953. "description": "关联方式 - 1:自动关联 2:手动关联 3:解绑关联",
  25954. "type": "integer"
  25955. },
  25956. "relatedqty": {
  25957. "description": "关联数量 = RelatedLot * AgreeUnit * ConvertRatio",
  25958. "type": "number"
  25959. },
  25960. "retcode": {
  25961. "description": "返回码",
  25962. "type": "integer"
  25963. },
  25964. "saleuserid": {
  25965. "description": "业务员ID",
  25966. "type": "string"
  25967. },
  25968. "spotcontractid": {
  25969. "description": "现货合同\\套保计划ID [4,10,11 - 现货合同ID] [9:套期保值(计划) - 套保计划ID]",
  25970. "type": "string"
  25971. },
  25972. "taname": {
  25973. "description": "期货账户",
  25974. "type": "string"
  25975. },
  25976. "tradedate": {
  25977. "description": "关联交易日(yyyyMMdd)",
  25978. "type": "string"
  25979. },
  25980. "tradeid": {
  25981. "description": "期货订单号 | 内部成交单ID",
  25982. "type": "string"
  25983. },
  25984. "tradelot": {
  25985. "description": "成交数量 | 成交手数",
  25986. "type": "integer"
  25987. },
  25988. "tradeprice": {
  25989. "description": "成交价格",
  25990. "type": "number"
  25991. },
  25992. "tradetime": {
  25993. "description": "期货成交时间",
  25994. "type": "string"
  25995. },
  25996. "tradetradedate": {
  25997. "description": "成交交易日(yyyyMMdd)",
  25998. "type": "string"
  25999. },
  26000. "username": {
  26001. "description": "用户名称",
  26002. "type": "string"
  26003. }
  26004. }
  26005. },
  26006. "models.Ermcp3Wrstandard": {
  26007. "type": "object",
  26008. "properties": {
  26009. "areauserid": {
  26010. "description": "所属机构",
  26011. "type": "integer"
  26012. },
  26013. "cantrade": {
  26014. "description": "是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)",
  26015. "type": "integer"
  26016. },
  26017. "convertfactor": {
  26018. "description": "标仓系数",
  26019. "type": "number"
  26020. },
  26021. "createtime": {
  26022. "description": "创建时间",
  26023. "type": "string"
  26024. },
  26025. "creatorid": {
  26026. "description": "创建人",
  26027. "type": "integer"
  26028. },
  26029. "deliverygoodsid": {
  26030. "description": "现货品种ID",
  26031. "type": "integer"
  26032. },
  26033. "enumdicname": {
  26034. "description": "品类单位名称",
  26035. "type": "string"
  26036. },
  26037. "isvalid": {
  26038. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  26039. "type": "integer"
  26040. },
  26041. "minivalue": {
  26042. "description": "最小变动值",
  26043. "type": "integer"
  26044. },
  26045. "minivaluedp": {
  26046. "description": "最小变动值小数位",
  26047. "type": "integer"
  26048. },
  26049. "realminivalue": {
  26050. "description": "实际最小变动值",
  26051. "type": "integer"
  26052. },
  26053. "realminivaluedp": {
  26054. "description": "实际最小变动值小数位",
  26055. "type": "integer"
  26056. },
  26057. "remark": {
  26058. "description": "备注",
  26059. "type": "string"
  26060. },
  26061. "unitid": {
  26062. "description": "品类单位ID",
  26063. "type": "integer"
  26064. },
  26065. "updatetime": {
  26066. "description": "更新时间",
  26067. "type": "string"
  26068. },
  26069. "wrstandardcode": {
  26070. "description": "品类代码",
  26071. "type": "string"
  26072. },
  26073. "wrstandardid": {
  26074. "description": "品类ID(SEQ_WRSTANDARD)",
  26075. "type": "integer"
  26076. },
  26077. "wrstandardname": {
  26078. "description": "品类名称",
  26079. "type": "string"
  26080. }
  26081. }
  26082. },
  26083. "models.Ermcp8EnableHedgeditem": {
  26084. "type": "object",
  26085. "properties": {
  26086. "accountname": {
  26087. "description": "套期主体",
  26088. "type": "string"
  26089. },
  26090. "hedgeditemid": {
  26091. "description": "被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)",
  26092. "type": "string"
  26093. },
  26094. "hedgeditemname": {
  26095. "description": "项目名称",
  26096. "type": "string"
  26097. },
  26098. "hedgeditemnum": {
  26099. "description": "项目编号",
  26100. "type": "string"
  26101. },
  26102. "hedgedtype": {
  26103. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  26104. "type": "integer"
  26105. },
  26106. "planenddate": {
  26107. "description": "计划结束日期",
  26108. "type": "string"
  26109. },
  26110. "planstartdate": {
  26111. "description": "计划开始日期",
  26112. "type": "string"
  26113. }
  26114. }
  26115. },
  26116. "models.Ermcp8HedgeditemReport": {
  26117. "type": "object",
  26118. "properties": {
  26119. "accountname": {
  26120. "description": "套期主体",
  26121. "type": "string"
  26122. },
  26123. "areauserid": {
  26124. "description": "企业ID",
  26125. "type": "integer"
  26126. },
  26127. "curprice": {
  26128. "description": "[当日现货市场价]当前市场价",
  26129. "type": "number"
  26130. },
  26131. "enumdicname": {
  26132. "description": "单位",
  26133. "type": "string"
  26134. },
  26135. "exeamount": {
  26136. "description": "[执行现货金额]执行市价总额",
  26137. "type": "number"
  26138. },
  26139. "exeavgprice": {
  26140. "description": "[执行价]执行市场均价= 执行市价总额 / 执行现货量",
  26141. "type": "number"
  26142. },
  26143. "exeqty": {
  26144. "description": "[执行数量]执行现货量",
  26145. "type": "number"
  26146. },
  26147. "futurehedgepl": {
  26148. "description": "期货实际损益",
  26149. "type": "number"
  26150. },
  26151. "futurehedgeplchange": {
  26152. "description": "期货实际变动 = 期货实际损益 - 期初期货实际损益",
  26153. "type": "number"
  26154. },
  26155. "futurepl": {
  26156. "description": "期货套期损益",
  26157. "type": "number"
  26158. },
  26159. "futureplchange": {
  26160. "description": "期货套期变动 = 期货套期损益 - 期初期货套期损益",
  26161. "type": "number"
  26162. },
  26163. "hedgeamount": {
  26164. "description": "[套期现货金额]套期市价总额",
  26165. "type": "number"
  26166. },
  26167. "hedgeditemnum": {
  26168. "description": "项目编号,模糊查询",
  26169. "type": "string"
  26170. },
  26171. "hedgeditemstatus": {
  26172. "description": "项目状态 - 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  26173. "type": "integer"
  26174. },
  26175. "hedgedtype": {
  26176. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  26177. "type": "integer"
  26178. },
  26179. "hedgeqty": {
  26180. "description": "[套期数量]套期现货量",
  26181. "type": "number"
  26182. },
  26183. "oriavgprice": {
  26184. "description": "[期初价]期初市场均价 = 套期市价总额 / 套期现货量",
  26185. "type": "number"
  26186. },
  26187. "orifuturehedgepl": {
  26188. "description": "期初期货实际损益",
  26189. "type": "number"
  26190. },
  26191. "orifuturepl": {
  26192. "description": "期初期货套期损益",
  26193. "type": "number"
  26194. },
  26195. "orispothedgepl": {
  26196. "description": "期初现货实际损益",
  26197. "type": "number"
  26198. },
  26199. "orispotpl": {
  26200. "description": "期初现货套期损益",
  26201. "type": "number"
  26202. },
  26203. "planenddate": {
  26204. "description": "计划结束日期",
  26205. "type": "string"
  26206. },
  26207. "planstartdate": {
  26208. "description": "计划开始日期",
  26209. "type": "string"
  26210. },
  26211. "spothedgepl": {
  26212. "description": "现货实际损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)",
  26213. "type": "number"
  26214. },
  26215. "spothedgeplchange": {
  26216. "description": "现货实际变动 = 现货实际损益 - 期初现货实际损益",
  26217. "type": "number"
  26218. },
  26219. "spotpl": {
  26220. "description": "现货套期损益 = 现货实际损益 + 现货浮动损益",
  26221. "type": "number"
  26222. },
  26223. "spotplchange": {
  26224. "description": "现货套期变动 = 现货套期损益 - 期初现货套期损益",
  26225. "type": "number"
  26226. },
  26227. "tradeuserid": {
  26228. "description": "交易用户ID",
  26229. "type": "integer"
  26230. },
  26231. "unexeqty": {
  26232. "description": "未执行现货量 = 套期现货量 - 执行现货量",
  26233. "type": "number"
  26234. },
  26235. "wrstandardcode": {
  26236. "description": "现货品类代码",
  26237. "type": "string"
  26238. },
  26239. "wrstandardid": {
  26240. "description": "现货商品ID",
  26241. "type": "integer"
  26242. },
  26243. "wrstandardname": {
  26244. "description": "[现货商品]现货品类名称",
  26245. "type": "string"
  26246. }
  26247. }
  26248. },
  26249. "models.Ermcp8RunningHedgeditem": {
  26250. "type": "object",
  26251. "properties": {
  26252. "accountname": {
  26253. "description": "套期主体",
  26254. "type": "string"
  26255. },
  26256. "applyid": {
  26257. "description": "申请人",
  26258. "type": "integer"
  26259. },
  26260. "applysrc": {
  26261. "description": "申请来源 - 1:管理端 2:终端",
  26262. "type": "integer"
  26263. },
  26264. "areauserid": {
  26265. "description": "企业ID",
  26266. "type": "integer"
  26267. },
  26268. "auditid": {
  26269. "description": "审核人",
  26270. "type": "integer"
  26271. },
  26272. "auditremark": {
  26273. "description": "审核备注",
  26274. "type": "string"
  26275. },
  26276. "auditsrc": {
  26277. "description": "审核来源 - 1:管理端 2:终端",
  26278. "type": "integer"
  26279. },
  26280. "audittime": {
  26281. "description": "审核时间",
  26282. "type": "string"
  26283. },
  26284. "audittradedate": {
  26285. "description": "审核交易日(yyyyMMdd)",
  26286. "type": "string"
  26287. },
  26288. "createtime": {
  26289. "description": "申请时间",
  26290. "type": "string"
  26291. },
  26292. "curprice": {
  26293. "description": "当前市场价",
  26294. "type": "number"
  26295. },
  26296. "curstock": {
  26297. "description": "期末库存量 = 采购总量 - 销售总量",
  26298. "type": "number"
  26299. },
  26300. "deliverygoodsid": {
  26301. "description": "现货品种ID",
  26302. "type": "integer"
  26303. },
  26304. "enddate": {
  26305. "description": "完成日期",
  26306. "type": "string"
  26307. },
  26308. "endtradedate": {
  26309. "description": "完成交易日",
  26310. "type": "string"
  26311. },
  26312. "enumdicname": {
  26313. "description": "单位",
  26314. "type": "string"
  26315. },
  26316. "exeamount": {
  26317. "description": "执行市价总额",
  26318. "type": "number"
  26319. },
  26320. "exeavgprice": {
  26321. "description": "执行市场均价= 执行市价总额 / 执行现货量",
  26322. "type": "number"
  26323. },
  26324. "execontractamount": {
  26325. "description": "执行定价总额",
  26326. "type": "number"
  26327. },
  26328. "exeqty": {
  26329. "description": "执行现货量",
  26330. "type": "number"
  26331. },
  26332. "exerestamount": {
  26333. "description": "执行剩余市价总额【现货贸易】",
  26334. "type": "number"
  26335. },
  26336. "futurefloatpl": {
  26337. "description": "期货浮动损益",
  26338. "type": "number"
  26339. },
  26340. "futurehedgepl": {
  26341. "description": "期货实际损益",
  26342. "type": "number"
  26343. },
  26344. "futurehedgeplchange": {
  26345. "description": "期货实际损益变动",
  26346. "type": "number"
  26347. },
  26348. "futurepl": {
  26349. "description": "期货套期损益",
  26350. "type": "number"
  26351. },
  26352. "futureplchange": {
  26353. "description": "期货套期损益变动",
  26354. "type": "number"
  26355. },
  26356. "hedgeamount": {
  26357. "description": "套期市价总额",
  26358. "type": "number"
  26359. },
  26360. "hedgecontractamount": {
  26361. "description": "套期定价总额 【定价采购合同】【现货贸易】",
  26362. "type": "number"
  26363. },
  26364. "hedgeditemid": {
  26365. "description": "被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)",
  26366. "type": "string"
  26367. },
  26368. "hedgeditemname": {
  26369. "description": "项目名称",
  26370. "type": "string"
  26371. },
  26372. "hedgeditemnum": {
  26373. "description": "项目编号",
  26374. "type": "string"
  26375. },
  26376. "hedgeditemstatus": {
  26377. "description": "项目状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  26378. "type": "integer"
  26379. },
  26380. "hedgedtype": {
  26381. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  26382. "type": "integer"
  26383. },
  26384. "hedgeqty": {
  26385. "description": "套期现货量",
  26386. "type": "number"
  26387. },
  26388. "hedgerate": {
  26389. "description": "套保比率",
  26390. "type": "number"
  26391. },
  26392. "hedgerestamount": {
  26393. "description": "套期剩余市价总额【现货贸易】",
  26394. "type": "number"
  26395. },
  26396. "hedgesumpl": {
  26397. "description": "套期汇总损益 = 期货汇总损益 + 现货汇总损益",
  26398. "type": "number"
  26399. },
  26400. "middlegoodslist": {
  26401. "description": "套期商品列表",
  26402. "type": "array",
  26403. "items": {
  26404. "$ref": "#/definitions/models.Ermcp2himiddlegoods"
  26405. }
  26406. },
  26407. "oriavgprice": {
  26408. "description": "期初市场均价 = 套期市价总额 / 套期现货量",
  26409. "type": "number"
  26410. },
  26411. "orifuturehedgepl": {
  26412. "description": "期初期货实际损益",
  26413. "type": "number"
  26414. },
  26415. "orifuturepl": {
  26416. "description": "期初期货套期损益",
  26417. "type": "number"
  26418. },
  26419. "orispothedgepl": {
  26420. "description": "期初现货实际损益",
  26421. "type": "number"
  26422. },
  26423. "orispotpl": {
  26424. "description": "期初现货套期损益",
  26425. "type": "number"
  26426. },
  26427. "planenddate": {
  26428. "description": "计划结束日期",
  26429. "type": "string"
  26430. },
  26431. "planstartdate": {
  26432. "description": "计划开始日期",
  26433. "type": "string"
  26434. },
  26435. "remark": {
  26436. "description": "备注",
  26437. "type": "string"
  26438. },
  26439. "spotbookamount": {
  26440. "description": "现货账面总额",
  26441. "type": "number"
  26442. },
  26443. "spotfloatpl": {
  26444. "description": "现货浮动损益 =(当前市场价 - 期初市场价)*未执行现货量 * 方向(销售计划 为 -1, 其它为1)",
  26445. "type": "number"
  26446. },
  26447. "spothedgepl": {
  26448. "description": "现货套期损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)",
  26449. "type": "number"
  26450. },
  26451. "spothedgeplchange": {
  26452. "description": "现货实际损益变动",
  26453. "type": "number"
  26454. },
  26455. "spotpl": {
  26456. "description": "现货套期损益 = 现货实际损益 + 现货浮动损益",
  26457. "type": "number"
  26458. },
  26459. "spotplchange": {
  26460. "description": "现货套期损益变动",
  26461. "type": "number"
  26462. },
  26463. "spottradepl": {
  26464. "description": "现货贸易损益【现货贸易】= 执行合同定价总额 - 套期合同定价总额",
  26465. "type": "number"
  26466. },
  26467. "sumobspl": {
  26468. "description": "汇总绝对损益【现货贸易】=现货贸易损益+增值税损益+期货套期损益",
  26469. "type": "number"
  26470. },
  26471. "tradeuserid": {
  26472. "description": "交易用户ID",
  26473. "type": "integer"
  26474. },
  26475. "unexeqty": {
  26476. "description": "未执行现货量 = 套期现货量 - 执行现货量",
  26477. "type": "number"
  26478. },
  26479. "updatetime": {
  26480. "description": "更新时间",
  26481. "type": "string"
  26482. },
  26483. "vatpl": {
  26484. "description": "增值税损益【现货贸易】= 现货贸易损益 * (增值税率 /(1+增值税率))",
  26485. "type": "number"
  26486. },
  26487. "vatrate": {
  26488. "description": "增值税",
  26489. "type": "number"
  26490. },
  26491. "wrstandardid": {
  26492. "description": "现货商品ID",
  26493. "type": "integer"
  26494. },
  26495. "wrstandardname": {
  26496. "description": "商品名称",
  26497. "type": "string"
  26498. }
  26499. }
  26500. },
  26501. "models.ErmcpBizGroupEx": {
  26502. "type": "object",
  26503. "properties": {
  26504. "acclist": {
  26505. "description": "账号列表",
  26506. "type": "array",
  26507. "items": {
  26508. "$ref": "#/definitions/models.ErmcpBizGroupTaAccount"
  26509. }
  26510. },
  26511. "bizgroupid": {
  26512. "description": "业务分组id",
  26513. "type": "integer"
  26514. },
  26515. "biztype": {
  26516. "description": "业务类型 1-套保 2-套利",
  26517. "type": "integer"
  26518. },
  26519. "wrlist": {
  26520. "description": "现货商品表",
  26521. "type": "array",
  26522. "items": {
  26523. "$ref": "#/definitions/models.ErmcpBizGroupSpotGoods"
  26524. }
  26525. }
  26526. }
  26527. },
  26528. "models.ErmcpBizGroupSpotGoods": {
  26529. "type": "object",
  26530. "properties": {
  26531. "areauserid": {
  26532. "description": "所属机构id",
  26533. "type": "integer"
  26534. },
  26535. "bizgroupid": {
  26536. "description": "分组id",
  26537. "type": "integer"
  26538. },
  26539. "biztype": {
  26540. "description": "业务类型 1-套保 2-套利",
  26541. "type": "integer"
  26542. },
  26543. "deliverygoodscode": {
  26544. "description": "现货商品代码",
  26545. "type": "string"
  26546. },
  26547. "deliverygoodsid": {
  26548. "description": "现货商品id",
  26549. "type": "integer"
  26550. },
  26551. "deliverygoodsname": {
  26552. "description": "现货商品名称",
  26553. "type": "string"
  26554. },
  26555. "unitid": {
  26556. "description": "现货商品单位id",
  26557. "type": "integer"
  26558. }
  26559. }
  26560. },
  26561. "models.ErmcpBizGroupTaAccount": {
  26562. "type": "object",
  26563. "properties": {
  26564. "accountid": {
  26565. "description": "账号id",
  26566. "type": "integer"
  26567. },
  26568. "accountname": {
  26569. "description": "账号名称",
  26570. "type": "string"
  26571. },
  26572. "areauserid": {
  26573. "description": "所属机构id",
  26574. "type": "integer"
  26575. },
  26576. "bizgroupid": {
  26577. "description": "业务分组id",
  26578. "type": "integer"
  26579. },
  26580. "ismain": {
  26581. "description": "是否主账号 1-是 0-否",
  26582. "type": "integer"
  26583. }
  26584. }
  26585. },
  26586. "models.ErmcpDGFactoryItem": {
  26587. "type": "object",
  26588. "properties": {
  26589. "areauserid": {
  26590. "description": "用户id",
  26591. "type": "integer"
  26592. },
  26593. "deliverygoodsid": {
  26594. "description": "现货品种ID",
  26595. "type": "integer"
  26596. },
  26597. "dgfactoryitemid": {
  26598. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  26599. "type": "integer"
  26600. },
  26601. "dgfactoryitemtypeid": {
  26602. "description": "要素项类型",
  26603. "type": "integer"
  26604. },
  26605. "dgfactoryitemvalue": {
  26606. "description": "要素项值(类型为仓库时填写仓库名称)",
  26607. "type": "string"
  26608. },
  26609. "isvalid": {
  26610. "description": "是否有效 - 0:无效 1:有效",
  26611. "type": "integer"
  26612. },
  26613. "orderindex": {
  26614. "description": "顺序",
  26615. "type": "integer"
  26616. },
  26617. "warehouseid": {
  26618. "description": "仓库ID(类型为仓库时填写)",
  26619. "type": "integer"
  26620. }
  26621. }
  26622. },
  26623. "models.ErmcpDeliveryGoods": {
  26624. "type": "object",
  26625. "properties": {
  26626. "agreeunit": {
  26627. "description": "合约单位[散货时默认为1, 整装时默认为标准数量]",
  26628. "type": "integer"
  26629. },
  26630. "areauserid": {
  26631. "description": "所属机构",
  26632. "type": "integer"
  26633. },
  26634. "auditflag": {
  26635. "description": "交割是否需要审核 - 0:不需要 1:需要审核 默认为0",
  26636. "type": "integer"
  26637. },
  26638. "categoryid": {
  26639. "description": "类别ID(SEQ_WRCATEGORY)",
  26640. "type": "integer"
  26641. },
  26642. "deliverygoodscode": {
  26643. "description": "现货品种代码",
  26644. "type": "string"
  26645. },
  26646. "deliverygoodsid": {
  26647. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  26648. "type": "integer"
  26649. },
  26650. "deliverygoodsname": {
  26651. "description": "现货品种名称",
  26652. "type": "string"
  26653. },
  26654. "deliverygoodstype": {
  26655. "description": "现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细",
  26656. "type": "integer"
  26657. },
  26658. "dgstatus": {
  26659. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  26660. "type": "integer"
  26661. },
  26662. "enumdicname": {
  26663. "description": "现货品种单位名称",
  26664. "type": "string"
  26665. },
  26666. "goodsunitid": {
  26667. "description": "现货品种单位ID",
  26668. "type": "integer"
  26669. },
  26670. "isvalid": {
  26671. "description": "是否有效 - 0:无效 1:有效",
  26672. "type": "integer"
  26673. },
  26674. "qtydecimalplace": {
  26675. "description": "成交量小数位",
  26676. "type": "integer"
  26677. },
  26678. "remark": {
  26679. "description": "备注",
  26680. "type": "string"
  26681. },
  26682. "standardqty": {
  26683. "description": "标准数量(库位数量) [标准品特有]",
  26684. "type": "integer"
  26685. },
  26686. "standardqtyrange": {
  26687. "description": "标准数量偏差范围 [标准品特有]",
  26688. "type": "integer"
  26689. }
  26690. }
  26691. },
  26692. "models.ErmcpFuturesCompany": {
  26693. "type": "object",
  26694. "properties": {
  26695. "brokerid": {
  26696. "description": "经纪公司代码",
  26697. "type": "string"
  26698. },
  26699. "channeladdress": {
  26700. "description": "对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001",
  26701. "type": "string"
  26702. },
  26703. "channelid": {
  26704. "description": "对冲渠道ID",
  26705. "type": "string"
  26706. },
  26707. "createtime": {
  26708. "description": "创建时间",
  26709. "type": "string"
  26710. },
  26711. "creatorid": {
  26712. "description": "创建人",
  26713. "type": "string"
  26714. },
  26715. "fcid": {
  26716. "description": "期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)",
  26717. "type": "integer"
  26718. },
  26719. "fcname": {
  26720. "description": "期货公司名称",
  26721. "type": "string"
  26722. },
  26723. "isvalid": {
  26724. "description": "是否有效 - 0:无效 1:有效",
  26725. "type": "integer"
  26726. },
  26727. "mhpaddress": {
  26728. "description": "MHP服务地址(IP:Port)",
  26729. "type": "string"
  26730. },
  26731. "riskrulegroupid": {
  26732. "description": "风控规则组ID",
  26733. "type": "string"
  26734. },
  26735. "tradefeetmpid": {
  26736. "description": "手续费模板ID[TradeConfigTmpType为2]",
  26737. "type": "string"
  26738. },
  26739. "trademargintmpid": {
  26740. "description": "保证金模板ID [TradeConfigTmpType为1]",
  26741. "type": "string"
  26742. },
  26743. "traderatetmpid": {
  26744. "description": "汇率模板ID[TradeConfigTmpType为3]",
  26745. "type": "string"
  26746. },
  26747. "updatetime": {
  26748. "description": "更新时间",
  26749. "type": "string"
  26750. },
  26751. "updatorid": {
  26752. "description": "更新人",
  26753. "type": "string"
  26754. }
  26755. }
  26756. },
  26757. "models.ErmcpGGConvertCfg": {
  26758. "type": "object",
  26759. "properties": {
  26760. "convertratio": {
  26761. "description": "折算系数",
  26762. "type": "number"
  26763. },
  26764. "destgoodsgroupid": {
  26765. "description": "目标品种ID",
  26766. "type": "integer"
  26767. },
  26768. "dstcode": {
  26769. "description": "目录品种代码",
  26770. "type": "string"
  26771. },
  26772. "dstexchangecode": {
  26773. "description": "目标期货交易所",
  26774. "type": "string"
  26775. },
  26776. "dstname": {
  26777. "description": "目标品种名称",
  26778. "type": "string"
  26779. },
  26780. "dstunitid": {
  26781. "description": "目标品种单位ID",
  26782. "type": "integer"
  26783. },
  26784. "dstunitidname": {
  26785. "description": "目标品种单位名称",
  26786. "type": "string"
  26787. },
  26788. "modifytime": {
  26789. "description": "修改时间",
  26790. "type": "string"
  26791. },
  26792. "srccode": {
  26793. "description": "源品种代码",
  26794. "type": "string"
  26795. },
  26796. "srcexchangecode": {
  26797. "description": "源期货交易所",
  26798. "type": "string"
  26799. },
  26800. "srcgoodsgroupid": {
  26801. "description": "源品种ID",
  26802. "type": "integer"
  26803. },
  26804. "srcname": {
  26805. "description": "源品种名称",
  26806. "type": "string"
  26807. },
  26808. "srcunitid": {
  26809. "description": "源品种单位ID",
  26810. "type": "integer"
  26811. },
  26812. "srcunitidname": {
  26813. "description": "源品种单位名称",
  26814. "type": "string"
  26815. }
  26816. }
  26817. },
  26818. "models.ErmcpGoods": {
  26819. "type": "object",
  26820. "required": [
  26821. "goodscode",
  26822. "goodsid",
  26823. "goodsname",
  26824. "marketid"
  26825. ],
  26826. "properties": {
  26827. "agreeunit": {
  26828. "description": "合约单位",
  26829. "type": "number"
  26830. },
  26831. "areauserid": {
  26832. "description": "所属机构",
  26833. "type": "integer"
  26834. },
  26835. "auditaccountid": {
  26836. "description": "审核操作员账号",
  26837. "type": "integer"
  26838. },
  26839. "audittime": {
  26840. "description": "审核时间",
  26841. "type": "string"
  26842. },
  26843. "cancelaccountid": {
  26844. "description": "注销操作员账号",
  26845. "type": "integer"
  26846. },
  26847. "canceltime": {
  26848. "description": "注销时间",
  26849. "type": "string"
  26850. },
  26851. "closepricemode": {
  26852. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  26853. "type": "integer"
  26854. },
  26855. "closepriceparam": {
  26856. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  26857. "type": "number"
  26858. },
  26859. "createtime": {
  26860. "description": "创建时间",
  26861. "type": "string"
  26862. },
  26863. "creatorid": {
  26864. "description": "创建人",
  26865. "type": "integer"
  26866. },
  26867. "currencyid": {
  26868. "description": "报价货币ID",
  26869. "type": "integer"
  26870. },
  26871. "cutmode": {
  26872. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  26873. "type": "integer"
  26874. },
  26875. "decimalplace": {
  26876. "description": "报价小数位",
  26877. "type": "integer"
  26878. },
  26879. "delistingdate": {
  26880. "description": "商品退市时间(状态:退市) -- 已作废",
  26881. "type": "string"
  26882. },
  26883. "delistingmode": {
  26884. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  26885. "type": "integer"
  26886. },
  26887. "deliveryflag": {
  26888. "description": "交割标志 - 0:不可交割 1:可交割",
  26889. "type": "integer"
  26890. },
  26891. "enumdicname": {
  26892. "description": "单位名称",
  26893. "type": "string"
  26894. },
  26895. "forceclosemode": {
  26896. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  26897. "type": "integer"
  26898. },
  26899. "forceclosevalue": {
  26900. "description": "定期强平参数 [收益权]",
  26901. "type": "integer"
  26902. },
  26903. "goodscode": {
  26904. "description": "商品代码(内部)",
  26905. "type": "string"
  26906. },
  26907. "goodscurrencyid": {
  26908. "description": "合约货币ID",
  26909. "type": "integer"
  26910. },
  26911. "goodsgroupid": {
  26912. "description": "所属商品组ID",
  26913. "type": "integer"
  26914. },
  26915. "goodsid": {
  26916. "description": "商品ID(自增ID SEQ_GOODS)",
  26917. "type": "integer"
  26918. },
  26919. "goodsname": {
  26920. "description": "商品名称",
  26921. "type": "string"
  26922. },
  26923. "goodsquotetype": {
  26924. "description": "合约报价类型: 1-直接报价 2-间接报价",
  26925. "type": "integer"
  26926. },
  26927. "goodsstatus": {
  26928. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  26929. "type": "integer"
  26930. },
  26931. "goodstradetype": {
  26932. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  26933. "type": "integer"
  26934. },
  26935. "goodunitid": {
  26936. "description": "报价单位ID",
  26937. "type": "integer"
  26938. },
  26939. "hasquoter": {
  26940. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  26941. "type": "integer"
  26942. },
  26943. "hqprotecttime": {
  26944. "description": "行情保护时间(秒)",
  26945. "type": "integer"
  26946. },
  26947. "innerdealmode": {
  26948. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  26949. "type": "integer"
  26950. },
  26951. "isbuylimited": {
  26952. "description": "是否限制建仓量 - 0:不限制 1:限制",
  26953. "type": "integer"
  26954. },
  26955. "isvisible": {
  26956. "description": "游客是否可见 - 0:不可见 1:可见",
  26957. "type": "integer"
  26958. },
  26959. "lasttradedate": {
  26960. "description": "最后交易日期(状态:待退市)",
  26961. "type": "string"
  26962. },
  26963. "listingdate": {
  26964. "description": "交易开始日期",
  26965. "type": "string"
  26966. },
  26967. "marketid": {
  26968. "description": "所属市场ID",
  26969. "type": "integer"
  26970. },
  26971. "modifierid": {
  26972. "description": "修改人",
  26973. "type": "integer"
  26974. },
  26975. "modifystatus": {
  26976. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  26977. "type": "integer"
  26978. },
  26979. "modifytime": {
  26980. "description": "修改时间",
  26981. "type": "string"
  26982. },
  26983. "outerdealmode": {
  26984. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  26985. "type": "integer"
  26986. },
  26987. "outgoodscode": {
  26988. "description": "商品代码(外部)",
  26989. "type": "string"
  26990. },
  26991. "pictureurl": {
  26992. "description": "商品图片",
  26993. "type": "string"
  26994. },
  26995. "qtydecimalplace": {
  26996. "description": "成交量小数位",
  26997. "type": "integer"
  26998. },
  26999. "quotegear": {
  27000. "description": "行情档位(1-10)",
  27001. "type": "integer"
  27002. },
  27003. "quoteminunit": {
  27004. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  27005. "type": "integer"
  27006. },
  27007. "quoteshowtype": {
  27008. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  27009. "type": "integer"
  27010. },
  27011. "quoteshowtypeinterval": {
  27012. "description": "行情报价间隔时间(秒)(成交价时为0)",
  27013. "type": "integer"
  27014. },
  27015. "relatedgoodsid": {
  27016. "description": "关联参考商品ID",
  27017. "type": "integer"
  27018. },
  27019. "remark": {
  27020. "description": "备注",
  27021. "type": "string"
  27022. },
  27023. "trademode": {
  27024. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  27025. "type": "integer"
  27026. }
  27027. }
  27028. },
  27029. "models.ErmcpGoodsBrand": {
  27030. "type": "object",
  27031. "properties": {
  27032. "areauserid": {
  27033. "description": "所属机构",
  27034. "type": "integer"
  27035. },
  27036. "brandid": {
  27037. "description": "BrandID(SEQ_SPOTGOODSBRAND)",
  27038. "type": "integer"
  27039. },
  27040. "brandname": {
  27041. "description": "品牌名称",
  27042. "type": "string"
  27043. },
  27044. "createtime": {
  27045. "description": "创建时间",
  27046. "type": "string"
  27047. },
  27048. "creatorid": {
  27049. "description": "创建人",
  27050. "type": "integer"
  27051. },
  27052. "creatorsrc": {
  27053. "description": "创建人来源 - 1:管理端 2:终端",
  27054. "type": "integer"
  27055. },
  27056. "deliverygoodsid": {
  27057. "description": "现货品种ID",
  27058. "type": "integer"
  27059. },
  27060. "isvalid": {
  27061. "description": "是否有效 - 0:无效 1:有效",
  27062. "type": "integer"
  27063. },
  27064. "updatetime": {
  27065. "description": "更新时间",
  27066. "type": "string"
  27067. },
  27068. "updatorid": {
  27069. "description": "更新人",
  27070. "type": "integer"
  27071. },
  27072. "updatorsrc": {
  27073. "description": "更新人来源 - 1:管理端 2:终端",
  27074. "type": "integer"
  27075. },
  27076. "wrstandardid": {
  27077. "description": "现货商品ID",
  27078. "type": "integer"
  27079. }
  27080. }
  27081. },
  27082. "models.ErmcpGoodsModel": {
  27083. "type": "object",
  27084. "properties": {
  27085. "areauserid": {
  27086. "description": "所属机构",
  27087. "type": "integer"
  27088. },
  27089. "convertfactor": {
  27090. "description": "标仓系数",
  27091. "type": "number"
  27092. },
  27093. "createtime": {
  27094. "description": "创建时间",
  27095. "type": "string"
  27096. },
  27097. "creatorid": {
  27098. "description": "创建人",
  27099. "type": "integer"
  27100. },
  27101. "creatorsrc": {
  27102. "description": "创建人来源 - 1:管理端 2:终端",
  27103. "type": "integer"
  27104. },
  27105. "deliverygoodsid": {
  27106. "description": "现货品种ID",
  27107. "type": "integer"
  27108. },
  27109. "isvalid": {
  27110. "description": "是否有效 - 0:无效 1:有效",
  27111. "type": "integer"
  27112. },
  27113. "modelid": {
  27114. "description": "ModelID(SEQ_SPOTGOODSMODEL)",
  27115. "type": "integer"
  27116. },
  27117. "modelname": {
  27118. "description": "型号名称",
  27119. "type": "string"
  27120. },
  27121. "updatetime": {
  27122. "description": "更新时间",
  27123. "type": "string"
  27124. },
  27125. "updatorid": {
  27126. "description": "更新人",
  27127. "type": "integer"
  27128. },
  27129. "updatorsrc": {
  27130. "description": "更新人来源 - 1:管理端 2:终端",
  27131. "type": "integer"
  27132. },
  27133. "wrstandardid": {
  27134. "description": "现货商品ID",
  27135. "type": "integer"
  27136. }
  27137. }
  27138. },
  27139. "models.ErmcpHisExposure": {
  27140. "type": "object",
  27141. "properties": {
  27142. "needhedgeexposoure": {
  27143. "description": "应套保敞口",
  27144. "type": "number"
  27145. },
  27146. "reckondate": {
  27147. "description": "日照时期(yyyyMMdd)",
  27148. "type": "string"
  27149. },
  27150. "totalexposure": {
  27151. "description": "总敞口",
  27152. "type": "number"
  27153. }
  27154. }
  27155. },
  27156. "models.ErmcpLoginTaAccount": {
  27157. "type": "object",
  27158. "properties": {
  27159. "accountid": {
  27160. "description": "账号id",
  27161. "type": "integer"
  27162. },
  27163. "accountname": {
  27164. "description": "账号名称",
  27165. "type": "string"
  27166. }
  27167. }
  27168. },
  27169. "models.ErmcpLoginUser": {
  27170. "type": "object",
  27171. "properties": {
  27172. "acclist": {
  27173. "description": "关联资金账号",
  27174. "type": "array",
  27175. "items": {
  27176. "$ref": "#/definitions/models.ErmcpLoginTaAccount"
  27177. }
  27178. },
  27179. "accountname": {
  27180. "description": "用户名称",
  27181. "type": "string"
  27182. },
  27183. "clientroleid": {
  27184. "description": "角色id(usertype=2)",
  27185. "type": "integer"
  27186. },
  27187. "createtime": {
  27188. "description": "创建时间",
  27189. "type": "string"
  27190. },
  27191. "logincode": {
  27192. "description": "登录代码",
  27193. "type": "string"
  27194. },
  27195. "loginid": {
  27196. "description": "登录id(LOGINID)",
  27197. "type": "integer"
  27198. },
  27199. "loginname": {
  27200. "description": "登录名称(loginaccount表中的accountname字段)",
  27201. "type": "string"
  27202. },
  27203. "loginstatus": {
  27204. "description": "登录账户状态 - 1:正常 2:冻结 3:无效",
  27205. "type": "integer"
  27206. },
  27207. "memberuserid": {
  27208. "description": "所属会员id",
  27209. "type": "integer"
  27210. },
  27211. "mobile": {
  27212. "description": "手机号",
  27213. "type": "string"
  27214. },
  27215. "modifytime": {
  27216. "description": "修改时间",
  27217. "type": "string"
  27218. },
  27219. "password": {
  27220. "description": "密码(不可解密)",
  27221. "type": "string"
  27222. },
  27223. "rolename": {
  27224. "description": "角色名称",
  27225. "type": "string"
  27226. },
  27227. "rolestatus": {
  27228. "description": "角色状态 1-启用 2-停用",
  27229. "type": "integer"
  27230. },
  27231. "roletype": {
  27232. "description": "角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员",
  27233. "type": "string"
  27234. },
  27235. "userid": {
  27236. "description": "用户id",
  27237. "type": "integer"
  27238. },
  27239. "usertype": {
  27240. "description": "用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  27241. "type": "integer"
  27242. }
  27243. }
  27244. },
  27245. "models.ErmcpLoginUserEx": {
  27246. "type": "object",
  27247. "properties": {
  27248. "accountstatus": {
  27249. "description": "账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  27250. "type": "integer"
  27251. },
  27252. "mobile": {
  27253. "description": "手机号",
  27254. "type": "string"
  27255. },
  27256. "querytype": {
  27257. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  27258. "type": "integer"
  27259. },
  27260. "roleid": {
  27261. "description": "角色id(交易账户-\u003e用户id)",
  27262. "type": "integer"
  27263. },
  27264. "rolename": {
  27265. "description": "角色名称(交易账户-\u003e用户名称)",
  27266. "type": "string"
  27267. },
  27268. "userlist": {
  27269. "description": "用户列表",
  27270. "type": "array",
  27271. "items": {
  27272. "$ref": "#/definitions/models.ErmcpLoginUser"
  27273. }
  27274. },
  27275. "usertype": {
  27276. "description": "用户类型 2-机构 7-企业成员(云平台)",
  27277. "type": "integer"
  27278. }
  27279. }
  27280. },
  27281. "models.ErmcpMiddleGoodsModel": {
  27282. "type": "object",
  27283. "properties": {
  27284. "areauserid": {
  27285. "description": "机构用户ID",
  27286. "type": "integer"
  27287. },
  27288. "createtime": {
  27289. "description": "修改时间",
  27290. "type": "string"
  27291. },
  27292. "enumdicname": {
  27293. "description": "单位名称",
  27294. "type": "string"
  27295. },
  27296. "evaluateratio": {
  27297. "description": "估价系数",
  27298. "type": "number"
  27299. },
  27300. "goodsgroupid": {
  27301. "description": "关联期货品种ID",
  27302. "type": "integer"
  27303. },
  27304. "goodsunitid": {
  27305. "description": "单位ID",
  27306. "type": "integer"
  27307. },
  27308. "isvalid": {
  27309. "description": "状态 0-无效(停用) 1-有效(正常)",
  27310. "type": "integer"
  27311. },
  27312. "middlegoodscode": {
  27313. "description": "套保品种代码",
  27314. "type": "string"
  27315. },
  27316. "middlegoodsid": {
  27317. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  27318. "type": "integer"
  27319. },
  27320. "middlegoodsname": {
  27321. "description": "套保品种名称",
  27322. "type": "string"
  27323. },
  27324. "modifytime": {
  27325. "description": "修改时间",
  27326. "type": "string"
  27327. },
  27328. "needarbitrageratio": {
  27329. "description": "套利比例",
  27330. "type": "number"
  27331. },
  27332. "needhedgeratio": {
  27333. "description": "套保比率",
  27334. "type": "number"
  27335. },
  27336. "qtydecimalplace": {
  27337. "description": "数量小数位",
  27338. "type": "integer"
  27339. },
  27340. "relatedgoodsid": {
  27341. "description": "关联交易商品ID",
  27342. "type": "integer"
  27343. },
  27344. "relatedgoodstype": {
  27345. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  27346. "type": "integer"
  27347. },
  27348. "remark": {
  27349. "description": "备注",
  27350. "type": "string"
  27351. }
  27352. }
  27353. },
  27354. "models.ErmcpMiddlegoodsRelateGoods": {
  27355. "type": "object",
  27356. "properties": {
  27357. "agreeunit": {
  27358. "description": "合约乘数",
  27359. "type": "number"
  27360. },
  27361. "convertratio": {
  27362. "description": "折算系数",
  27363. "type": "number"
  27364. },
  27365. "enumdicname": {
  27366. "description": "单位名称(交易商品)",
  27367. "type": "string"
  27368. },
  27369. "goodscode": {
  27370. "description": "交易商品代码",
  27371. "type": "string"
  27372. },
  27373. "goodsgroupid": {
  27374. "description": "交易品种id",
  27375. "type": "integer"
  27376. },
  27377. "goodsid": {
  27378. "description": "商品Id",
  27379. "type": "integer"
  27380. },
  27381. "goodsname": {
  27382. "description": "交易商品名称",
  27383. "type": "string"
  27384. },
  27385. "goodunitid": {
  27386. "description": "交易商品单位id",
  27387. "type": "integer"
  27388. },
  27389. "middlegoodsid": {
  27390. "description": "套保商品id",
  27391. "type": "integer"
  27392. },
  27393. "middlegoodsname": {
  27394. "description": "套保商品名称",
  27395. "type": "string"
  27396. },
  27397. "middlegoodsswcode": {
  27398. "description": "套保商品代码",
  27399. "type": "string"
  27400. },
  27401. "needarbitrageratio": {
  27402. "description": "应套利比例",
  27403. "type": "number"
  27404. },
  27405. "needhedgeratio": {
  27406. "description": "应套保比例",
  27407. "type": "number"
  27408. }
  27409. }
  27410. },
  27411. "models.ErmcpRole": {
  27412. "type": "object",
  27413. "properties": {
  27414. "areauserid": {
  27415. "description": "所属机构",
  27416. "type": "integer"
  27417. },
  27418. "autoid": {
  27419. "description": "角色ID(自增ID)",
  27420. "type": "integer"
  27421. },
  27422. "modifierid": {
  27423. "description": "修改人(创建人)",
  27424. "type": "integer"
  27425. },
  27426. "modifiername": {
  27427. "description": "修改人名称",
  27428. "type": "string"
  27429. },
  27430. "modifytime": {
  27431. "description": "修改时间(创建时间)",
  27432. "type": "string"
  27433. },
  27434. "rolename": {
  27435. "description": "角色名称",
  27436. "type": "string"
  27437. },
  27438. "rolestatus": {
  27439. "description": "角色状态 - 1:启用 2:停用",
  27440. "type": "integer"
  27441. },
  27442. "roletype": {
  27443. "description": "角色类型 - 1- 管理端 2- 交易端",
  27444. "type": "integer"
  27445. }
  27446. }
  27447. },
  27448. "models.ErmcpRoleMenu": {
  27449. "type": "object",
  27450. "properties": {
  27451. "iconame": {
  27452. "description": "菜单图标",
  27453. "type": "string"
  27454. },
  27455. "ishadrole": {
  27456. "description": "是否有权限",
  27457. "type": "boolean"
  27458. },
  27459. "menutype": {
  27460. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 5:PCWEB(v6)",
  27461. "type": "integer"
  27462. },
  27463. "parentcode": {
  27464. "description": "上级资源代码",
  27465. "type": "string"
  27466. },
  27467. "remark": {
  27468. "description": "菜单备注",
  27469. "type": "string"
  27470. },
  27471. "resourcecode": {
  27472. "description": "菜单代码",
  27473. "type": "string"
  27474. },
  27475. "resourcelevel": {
  27476. "description": "级别",
  27477. "type": "integer"
  27478. },
  27479. "resourcename": {
  27480. "description": "菜单名称",
  27481. "type": "string"
  27482. },
  27483. "roleid": {
  27484. "description": "角色id",
  27485. "type": "integer"
  27486. },
  27487. "sort": {
  27488. "description": "排序",
  27489. "type": "integer"
  27490. },
  27491. "url": {
  27492. "description": "URL",
  27493. "type": "string"
  27494. },
  27495. "userid": {
  27496. "description": "用户id",
  27497. "type": "integer"
  27498. }
  27499. }
  27500. },
  27501. "models.ErmcpRoleMenuEx": {
  27502. "type": "object",
  27503. "properties": {
  27504. "menu": {
  27505. "description": "父级菜单",
  27506. "$ref": "#/definitions/models.ErmcpRoleMenu"
  27507. },
  27508. "subMenu": {
  27509. "description": "子级菜单",
  27510. "type": "array",
  27511. "items": {
  27512. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  27513. }
  27514. }
  27515. }
  27516. },
  27517. "models.ErmcpSpotContractModelEx": {
  27518. "type": "object",
  27519. "properties": {
  27520. "accountname": {
  27521. "description": "套期主体",
  27522. "type": "string"
  27523. },
  27524. "amount": {
  27525. "description": "金额 [1:一口价、3:暂定价]",
  27526. "type": "number"
  27527. },
  27528. "attachment": {
  27529. "description": "附件",
  27530. "type": "string"
  27531. },
  27532. "auditremark": {
  27533. "description": "审核意见",
  27534. "type": "string"
  27535. },
  27536. "audittime": {
  27537. "description": "审核时间",
  27538. "type": "string"
  27539. },
  27540. "avgprice": {
  27541. "description": "定价均价 = 已定价金额 / 已定价量",
  27542. "type": "number"
  27543. },
  27544. "brandname": {
  27545. "description": "品牌名称",
  27546. "type": "string"
  27547. },
  27548. "buyuserid": {
  27549. "description": "采购方ID",
  27550. "type": "integer"
  27551. },
  27552. "buyusername": {
  27553. "description": "采购方名称",
  27554. "type": "string"
  27555. },
  27556. "contracctstatus": {
  27557. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  27558. "type": "integer"
  27559. },
  27560. "contractmargin": {
  27561. "description": "合同保证金",
  27562. "type": "number"
  27563. },
  27564. "contractno": {
  27565. "description": "[合同编号]现货合同编号",
  27566. "type": "string"
  27567. },
  27568. "contracttype": {
  27569. "description": "[合同类型]现货合同类型 - 1:采购 -1:销售",
  27570. "type": "integer"
  27571. },
  27572. "convertfactor": {
  27573. "description": "标仓系数",
  27574. "type": "number"
  27575. },
  27576. "createtime": {
  27577. "description": "创建时间",
  27578. "type": "string"
  27579. },
  27580. "customername": {
  27581. "description": "对手方",
  27582. "type": "string"
  27583. },
  27584. "customeruserid": {
  27585. "description": "客户ID",
  27586. "type": "integer"
  27587. },
  27588. "deliveryenddate": {
  27589. "description": "交收期(结束)",
  27590. "type": "string"
  27591. },
  27592. "deliverygoodscode": {
  27593. "description": "现货品种代码",
  27594. "type": "string"
  27595. },
  27596. "deliverygoodsid": {
  27597. "description": "现货品种ID",
  27598. "type": "integer"
  27599. },
  27600. "deliverygoodsname": {
  27601. "description": "现货品种名称",
  27602. "type": "string"
  27603. },
  27604. "deliverystartdate": {
  27605. "description": "交收期(开始)",
  27606. "type": "string"
  27607. },
  27608. "enddate": {
  27609. "description": "点价结束日期 [2:点价 3:暂定价]",
  27610. "type": "string"
  27611. },
  27612. "enumdicname": {
  27613. "description": "单位名称",
  27614. "type": "string"
  27615. },
  27616. "goodscode": {
  27617. "description": "点价合约代码",
  27618. "type": "string"
  27619. },
  27620. "goodsid": {
  27621. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  27622. "type": "integer"
  27623. },
  27624. "goodsname": {
  27625. "description": "点价商品名称",
  27626. "type": "string"
  27627. },
  27628. "isrelated": {
  27629. "description": "是否已关联计划项目 - 0:否 1:是",
  27630. "type": "integer"
  27631. },
  27632. "isrelated2": {
  27633. "description": "是否已关联现货项目 - 0:否 1:是",
  27634. "type": "integer"
  27635. },
  27636. "margin": {
  27637. "description": "当前保证金",
  27638. "type": "number"
  27639. },
  27640. "modelname": {
  27641. "description": "型号名称",
  27642. "type": "string"
  27643. },
  27644. "price": {
  27645. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  27646. "type": "number"
  27647. },
  27648. "pricedamount": {
  27649. "description": "已定价金额 = (点价价格+升贴水) * 数量",
  27650. "type": "number"
  27651. },
  27652. "pricedqty": {
  27653. "description": "已定价量",
  27654. "type": "number"
  27655. },
  27656. "pricemove": {
  27657. "description": "升贴水 [2:点价 3:暂定价]",
  27658. "type": "number"
  27659. },
  27660. "pricetype": {
  27661. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  27662. "type": "integer"
  27663. },
  27664. "producttype": {
  27665. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  27666. "type": "integer"
  27667. },
  27668. "qty": {
  27669. "description": "[合同数量]数量",
  27670. "type": "number"
  27671. },
  27672. "remark": {
  27673. "description": "备注",
  27674. "type": "string"
  27675. },
  27676. "selluserid": {
  27677. "description": "销售方ID",
  27678. "type": "integer"
  27679. },
  27680. "sellusername": {
  27681. "description": "销售方名称",
  27682. "type": "string"
  27683. },
  27684. "spotamount": {
  27685. "description": "合同现货金额 [不含升贴水]",
  27686. "type": "number"
  27687. },
  27688. "spotavgprice": {
  27689. "description": "现货均价 = 合同现货金额 / 已定价量",
  27690. "type": "number"
  27691. },
  27692. "spotcontractid": {
  27693. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  27694. "type": "string"
  27695. },
  27696. "spotgoodsbrandid": {
  27697. "description": "现货品牌ID",
  27698. "type": "integer"
  27699. },
  27700. "spotgoodsdesc": {
  27701. "description": "商品型号",
  27702. "type": "string"
  27703. },
  27704. "spotgoodsmodelid": {
  27705. "description": "现货型号ID",
  27706. "type": "integer"
  27707. },
  27708. "startdate": {
  27709. "description": "点价开始日期 [2:点价 3:暂定价]",
  27710. "type": "string"
  27711. },
  27712. "tradeuserid": {
  27713. "description": "交易用户ID",
  27714. "type": "integer"
  27715. },
  27716. "unpricedqty": {
  27717. "description": "未定价量 = 合同数量 - 已定价量",
  27718. "type": "number"
  27719. },
  27720. "updatetime": {
  27721. "description": "更新时间",
  27722. "type": "string"
  27723. },
  27724. "userid": {
  27725. "description": "机构ID",
  27726. "type": "integer"
  27727. },
  27728. "wrstandardcode": {
  27729. "description": "现货商品代码",
  27730. "type": "string"
  27731. },
  27732. "wrstandardid": {
  27733. "description": "现货商品ID",
  27734. "type": "integer"
  27735. },
  27736. "wrstandardname": {
  27737. "description": "[现货商品]现货商品名称",
  27738. "type": "string"
  27739. }
  27740. }
  27741. },
  27742. "models.ErmcpTaAccount": {
  27743. "type": "object",
  27744. "properties": {
  27745. "accountid": {
  27746. "description": "账户id",
  27747. "type": "integer"
  27748. },
  27749. "accountname": {
  27750. "description": "账户名称",
  27751. "type": "string"
  27752. },
  27753. "currencyid": {
  27754. "description": "币种id",
  27755. "type": "integer"
  27756. },
  27757. "hedgeaccountcode": {
  27758. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  27759. "type": "string"
  27760. },
  27761. "ismain": {
  27762. "description": "是否主账户 0-否 1-是",
  27763. "type": "integer"
  27764. },
  27765. "parentaccountid": {
  27766. "description": "父账户id",
  27767. "type": "integer"
  27768. },
  27769. "relateduserid": {
  27770. "description": "关联userid",
  27771. "type": "integer"
  27772. },
  27773. "tradefeetmpid": {
  27774. "description": "手续费模板id",
  27775. "type": "integer"
  27776. },
  27777. "tradefeetmpname": {
  27778. "description": "手续费模板名称",
  27779. "type": "string"
  27780. },
  27781. "trademargintmpid": {
  27782. "description": "保证金模板id",
  27783. "type": "integer"
  27784. },
  27785. "trademargintmpname": {
  27786. "description": "保证金模板名称",
  27787. "type": "string"
  27788. },
  27789. "traderatetmpid": {
  27790. "description": "汇率模板id",
  27791. "type": "integer"
  27792. },
  27793. "traderatetmpname": {
  27794. "description": "汇率模板名称",
  27795. "type": "string"
  27796. },
  27797. "tradestatus": {
  27798. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  27799. "type": "integer"
  27800. },
  27801. "userid": {
  27802. "description": "用户id",
  27803. "type": "integer"
  27804. }
  27805. }
  27806. },
  27807. "models.ErmcpTaAccountEx": {
  27808. "type": "object",
  27809. "properties": {
  27810. "mainAcc": {
  27811. "description": "主账号",
  27812. "$ref": "#/definitions/models.ErmcpTaAccountM"
  27813. },
  27814. "subacclist": {
  27815. "description": "子账号列表",
  27816. "type": "array",
  27817. "items": {
  27818. "$ref": "#/definitions/models.ErmcpTaAccount"
  27819. }
  27820. }
  27821. }
  27822. },
  27823. "models.ErmcpTaAccountInfo": {
  27824. "type": "object",
  27825. "properties": {
  27826. "accountid": {
  27827. "description": "资金账户ID",
  27828. "type": "integer"
  27829. },
  27830. "accountname": {
  27831. "description": "账户名称",
  27832. "type": "string"
  27833. },
  27834. "balance": {
  27835. "description": "期初余额",
  27836. "type": "number"
  27837. },
  27838. "capitalbalance": {
  27839. "description": "本金余额[外部子账户实际出入金余额]",
  27840. "type": "number"
  27841. },
  27842. "closepl": {
  27843. "description": "今日平仓盈亏",
  27844. "type": "number"
  27845. },
  27846. "creditdecrease": {
  27847. "description": "今日授信减少",
  27848. "type": "number"
  27849. },
  27850. "creditincrease": {
  27851. "description": "今日授信增加",
  27852. "type": "number"
  27853. },
  27854. "curdebt": {
  27855. "description": "期末欠款",
  27856. "type": "number"
  27857. },
  27858. "currencyid": {
  27859. "description": "货币ID",
  27860. "type": "integer"
  27861. },
  27862. "currentbalance": {
  27863. "description": "期末余额",
  27864. "type": "number"
  27865. },
  27866. "freezecharge": {
  27867. "description": "手续费冻结",
  27868. "type": "number"
  27869. },
  27870. "freezemargin": {
  27871. "description": "冻结保证金",
  27872. "type": "number"
  27873. },
  27874. "fromaccountid": {
  27875. "description": "所属上级账户",
  27876. "type": "integer"
  27877. },
  27878. "inamount": {
  27879. "description": "今日入金金额(包括三方入金)",
  27880. "type": "number"
  27881. },
  27882. "ismain": {
  27883. "description": "是否母账号 0:不是母账户 1:是母账户",
  27884. "type": "integer"
  27885. },
  27886. "mortgagecredit": {
  27887. "description": "授信金额",
  27888. "type": "number"
  27889. },
  27890. "oridebt": {
  27891. "description": "期初欠款",
  27892. "type": "number"
  27893. },
  27894. "orifreezecharge": {
  27895. "description": "期初手续费冻结",
  27896. "type": "number"
  27897. },
  27898. "orifreezemargin": {
  27899. "description": "期初冻结保证金",
  27900. "type": "number"
  27901. },
  27902. "orimortgagecredit": {
  27903. "description": "期初授信金额",
  27904. "type": "number"
  27905. },
  27906. "oriothercredit": {
  27907. "description": "期初其它授信金额",
  27908. "type": "number"
  27909. },
  27910. "oriotherfreezemargin": {
  27911. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  27912. "type": "number"
  27913. },
  27914. "orioutamountfreeze": {
  27915. "description": "期初出金冻结",
  27916. "type": "number"
  27917. },
  27918. "oriusedmargin": {
  27919. "description": "期初占用保证金",
  27920. "type": "number"
  27921. },
  27922. "othercredit": {
  27923. "description": "其它授信金额",
  27924. "type": "number"
  27925. },
  27926. "othercreditdecrease": {
  27927. "description": "今日其它授信减少",
  27928. "type": "number"
  27929. },
  27930. "othercreditincrease": {
  27931. "description": "今日其它授信增加",
  27932. "type": "number"
  27933. },
  27934. "otherfreezemargin": {
  27935. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  27936. "type": "number"
  27937. },
  27938. "outamount": {
  27939. "description": "今日出金金额(包括三方出金)",
  27940. "type": "number"
  27941. },
  27942. "outamountfreeze": {
  27943. "description": "出金冻结",
  27944. "type": "number"
  27945. },
  27946. "outthreshold": {
  27947. "description": "出金阈值",
  27948. "type": "number"
  27949. },
  27950. "parentaccountid": {
  27951. "description": "所属根账号",
  27952. "type": "integer"
  27953. },
  27954. "paycharge": {
  27955. "description": "今日手续费支出",
  27956. "type": "number"
  27957. },
  27958. "relateduserid": {
  27959. "description": "关联用户",
  27960. "type": "integer"
  27961. },
  27962. "signstatus": {
  27963. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  27964. "type": "integer"
  27965. },
  27966. "sublevelpath": {
  27967. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  27968. "type": "string"
  27969. },
  27970. "taaccounttype": {
  27971. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  27972. "type": "integer"
  27973. },
  27974. "thirdinamount": {
  27975. "description": "今日三方入金",
  27976. "type": "number"
  27977. },
  27978. "thirdoutamount": {
  27979. "description": "今日三方出金",
  27980. "type": "number"
  27981. },
  27982. "tradestatus": {
  27983. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  27984. "type": "integer"
  27985. },
  27986. "transferamount": {
  27987. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  27988. "type": "number"
  27989. },
  27990. "usedmargin": {
  27991. "description": "占用保证金",
  27992. "type": "number"
  27993. },
  27994. "userid": {
  27995. "description": "用户ID",
  27996. "type": "integer"
  27997. }
  27998. }
  27999. },
  28000. "models.ErmcpTaAccountM": {
  28001. "type": "object",
  28002. "properties": {
  28003. "accountid": {
  28004. "description": "账户id",
  28005. "type": "integer"
  28006. },
  28007. "accountname": {
  28008. "description": "账户名称",
  28009. "type": "string"
  28010. },
  28011. "currencyid": {
  28012. "description": "币种id",
  28013. "type": "integer"
  28014. },
  28015. "fcid": {
  28016. "description": "期货公司id",
  28017. "type": "integer"
  28018. },
  28019. "fcname": {
  28020. "description": "期货公司代码",
  28021. "type": "string"
  28022. },
  28023. "hedgeaccountcode": {
  28024. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  28025. "type": "string"
  28026. },
  28027. "ismain": {
  28028. "description": "是否主账户 0-否 1-是",
  28029. "type": "integer"
  28030. },
  28031. "parentaccountid": {
  28032. "description": "父账户id",
  28033. "type": "integer"
  28034. },
  28035. "relateduserid": {
  28036. "description": "关联userid",
  28037. "type": "integer"
  28038. },
  28039. "tradefeetmpid": {
  28040. "description": "手续费模板id",
  28041. "type": "integer"
  28042. },
  28043. "tradefeetmpname": {
  28044. "description": "手续费模板名称",
  28045. "type": "string"
  28046. },
  28047. "trademargintmpid": {
  28048. "description": "保证金模板id",
  28049. "type": "integer"
  28050. },
  28051. "trademargintmpname": {
  28052. "description": "保证金模板名称",
  28053. "type": "string"
  28054. },
  28055. "traderatetmpid": {
  28056. "description": "汇率模板id",
  28057. "type": "integer"
  28058. },
  28059. "traderatetmpname": {
  28060. "description": "汇率模板名称",
  28061. "type": "string"
  28062. },
  28063. "tradestatus": {
  28064. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  28065. "type": "integer"
  28066. },
  28067. "userid": {
  28068. "description": "用户id",
  28069. "type": "integer"
  28070. }
  28071. }
  28072. },
  28073. "models.ErmcpTradeConfigTMP": {
  28074. "type": "object",
  28075. "properties": {
  28076. "areauserid": {
  28077. "description": "所属机构",
  28078. "type": "integer"
  28079. },
  28080. "basiccurrencyid": {
  28081. "description": "基本币种ID[汇率] - 目标币种",
  28082. "type": "integer"
  28083. },
  28084. "mainaccountid": {
  28085. "description": "主账户ID",
  28086. "type": "integer"
  28087. },
  28088. "modifierid": {
  28089. "description": "修改人",
  28090. "type": "integer"
  28091. },
  28092. "remark": {
  28093. "description": "备注",
  28094. "type": "string"
  28095. },
  28096. "tradeconfigtmpid": {
  28097. "description": "交易配置模板ID(SEQ_TRADECONFIGTMP)",
  28098. "type": "integer"
  28099. },
  28100. "tradeconfigtmpname": {
  28101. "description": "交易配置模板名称",
  28102. "type": "string"
  28103. },
  28104. "tradeconfigtmptype": {
  28105. "description": "交易配置模板类型 - 1:保证金 2:手续费 3:汇率",
  28106. "type": "integer"
  28107. },
  28108. "updatetime": {
  28109. "description": "更新时间",
  28110. "type": "string"
  28111. }
  28112. }
  28113. },
  28114. "models.Ermcpjrlinkpos": {
  28115. "type": "object",
  28116. "required": [
  28117. "spotcontractid"
  28118. ],
  28119. "properties": {
  28120. "areauserid": {
  28121. "description": "所属企业",
  28122. "type": "integer"
  28123. },
  28124. "averageprice": {
  28125. "description": "持仓均价 (TotalBuyHoldAmount - TotalSellHoldAmount) / NetQty",
  28126. "type": "number"
  28127. },
  28128. "closepl": {
  28129. "description": "总平仓盈亏 [期货损益]",
  28130. "type": "number"
  28131. },
  28132. "executeprice": {
  28133. "description": "执行价 - 1:期货单 为 0",
  28134. "type": "integer"
  28135. },
  28136. "futurehedgeqty": {
  28137. "description": "期货套期量",
  28138. "type": "number"
  28139. },
  28140. "goodsid": {
  28141. "description": "期货合约",
  28142. "type": "integer"
  28143. },
  28144. "middlegoodscode": {
  28145. "description": "套保商品代码",
  28146. "type": "string"
  28147. },
  28148. "middlegoodsname": {
  28149. "description": "套保商品名称",
  28150. "type": "string"
  28151. },
  28152. "netqty": {
  28153. "description": "净头寸",
  28154. "type": "number"
  28155. },
  28156. "optioncode": {
  28157. "description": "期权代码",
  28158. "type": "string"
  28159. },
  28160. "ordertype": {
  28161. "description": "单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单",
  28162. "type": "integer"
  28163. },
  28164. "reckonpl": {
  28165. "description": "总盈亏(平仓盈亏 + 结算盈亏 - 手续费)",
  28166. "type": "number"
  28167. },
  28168. "spotcontractid": {
  28169. "description": "现货ID [套期项目ID - 金瑞:合同\\虚拟合同ID",
  28170. "type": "string"
  28171. },
  28172. "todayfutureclosepl": {
  28173. "description": "今日平仓盈亏",
  28174. "type": "number"
  28175. },
  28176. "totalbuyamount": {
  28177. "description": "买金额 [期货]",
  28178. "type": "number"
  28179. },
  28180. "totalbuyholdamount": {
  28181. "description": "买持仓总金额[期货]",
  28182. "type": "number"
  28183. },
  28184. "totalbuyqty": {
  28185. "description": "买数量",
  28186. "type": "number"
  28187. },
  28188. "totalcharge": {
  28189. "description": "手续费",
  28190. "type": "number"
  28191. },
  28192. "totalpremium": {
  28193. "description": "权利金 [期权]",
  28194. "type": "number"
  28195. },
  28196. "totalsellamount": {
  28197. "description": "卖金额 [期货]",
  28198. "type": "number"
  28199. },
  28200. "totalsellholdamount": {
  28201. "description": "卖持仓总金额[期货]",
  28202. "type": "number"
  28203. },
  28204. "totalsellqty": {
  28205. "description": "卖数量",
  28206. "type": "number"
  28207. },
  28208. "updatetime": {
  28209. "description": "更新时间",
  28210. "type": "string"
  28211. }
  28212. }
  28213. },
  28214. "models.Ermcppatradelinkdetail": {
  28215. "type": "object",
  28216. "required": [
  28217. "hedgeditemid"
  28218. ],
  28219. "properties": {
  28220. "agreeunit": {
  28221. "description": "合约乘数",
  28222. "type": "number"
  28223. },
  28224. "amount": {
  28225. "description": "金额 = RelatedLot * TradePrice * AgreeUnit",
  28226. "type": "number"
  28227. },
  28228. "areauserid": {
  28229. "description": "所属机构",
  28230. "type": "integer"
  28231. },
  28232. "bizsubjectid": {
  28233. "description": "归属业务部门ID - SubjectID",
  28234. "type": "integer"
  28235. },
  28236. "buyorsell": {
  28237. "description": "方向 - 0:买 1:卖",
  28238. "type": "integer"
  28239. },
  28240. "convertratio": {
  28241. "description": "品种系数",
  28242. "type": "number"
  28243. },
  28244. "createtime": {
  28245. "description": "创建时间",
  28246. "type": "string"
  28247. },
  28248. "creatorid": {
  28249. "description": "创建人ID",
  28250. "type": "integer"
  28251. },
  28252. "creatorsrc": {
  28253. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  28254. "type": "integer"
  28255. },
  28256. "goodsgroupid": {
  28257. "description": "对冲品种ID[期货合约商品组ID]",
  28258. "type": "integer"
  28259. },
  28260. "goodsid": {
  28261. "description": "商品ID",
  28262. "type": "integer"
  28263. },
  28264. "hedgeditemid": {
  28265. "description": "现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]",
  28266. "type": "integer"
  28267. },
  28268. "hedgeflag": {
  28269. "description": "投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目",
  28270. "type": "integer"
  28271. },
  28272. "linkdetailid": {
  28273. "description": "期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)",
  28274. "type": "string"
  28275. },
  28276. "linkstatus": {
  28277. "description": "关联状态 - 1:成功 2:失败 3:解绑",
  28278. "type": "integer"
  28279. },
  28280. "middlegoodsid": {
  28281. "description": "套保品种ID",
  28282. "type": "integer"
  28283. },
  28284. "name": {
  28285. "description": "账户名/子账户",
  28286. "type": "string"
  28287. },
  28288. "optioncode": {
  28289. "description": "[期货合约]期权代码 [期权]",
  28290. "type": "string"
  28291. },
  28292. "ordertype": {
  28293. "description": "单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单",
  28294. "type": "integer"
  28295. },
  28296. "relatedlot": {
  28297. "description": "[数量]关联手数",
  28298. "type": "number"
  28299. },
  28300. "relatedmode": {
  28301. "description": "关联方式 - 1:自动关联 2:手动关联 3:解绑关联",
  28302. "type": "integer"
  28303. },
  28304. "relatedqty": {
  28305. "description": "关联数量 = RelatedLot * AgreeUnit * ConvertRatio",
  28306. "type": "number"
  28307. },
  28308. "retcode": {
  28309. "description": "返回码",
  28310. "type": "integer"
  28311. },
  28312. "saleuserid": {
  28313. "description": "业务员ID",
  28314. "type": "integer"
  28315. },
  28316. "tradedate": {
  28317. "description": "关联交易日(yyyyMMdd)",
  28318. "type": "string"
  28319. },
  28320. "tradeid": {
  28321. "description": "[成交单号]内部成交单ID",
  28322. "type": "string"
  28323. },
  28324. "tradelot": {
  28325. "description": "成交手数",
  28326. "type": "integer"
  28327. },
  28328. "tradeprice": {
  28329. "description": "[价格]成交价格",
  28330. "type": "number"
  28331. },
  28332. "tradetime": {
  28333. "description": "日期时间",
  28334. "type": "string"
  28335. },
  28336. "tradetradedate": {
  28337. "description": "成交交易日(yyyyMMdd)",
  28338. "type": "string"
  28339. }
  28340. }
  28341. },
  28342. "models.Externalexchange": {
  28343. "type": "object",
  28344. "required": [
  28345. "autoid"
  28346. ],
  28347. "properties": {
  28348. "autoid": {
  28349. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  28350. "type": "integer"
  28351. },
  28352. "exchangefullname": {
  28353. "description": "外部交易所全称",
  28354. "type": "string"
  28355. },
  28356. "exexchangecode": {
  28357. "description": "外部交易所代码",
  28358. "type": "string"
  28359. },
  28360. "exexchangename": {
  28361. "description": "外部交易所名称(简称)",
  28362. "type": "string"
  28363. },
  28364. "ismarketprice": {
  28365. "description": "是否支持市价 - 0:不支持 1:支持",
  28366. "type": "integer"
  28367. },
  28368. "quotegear": {
  28369. "description": "行情档位(1-10)",
  28370. "type": "integer"
  28371. },
  28372. "showbrokerflag": {
  28373. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  28374. "type": "integer"
  28375. },
  28376. "updatetime": {
  28377. "description": "更新时间",
  28378. "type": "string"
  28379. }
  28380. }
  28381. },
  28382. "models.Funcmenulist": {
  28383. "type": "object",
  28384. "required": [
  28385. "resourcecode"
  28386. ],
  28387. "properties": {
  28388. "iconame": {
  28389. "description": "菜单图标",
  28390. "type": "string"
  28391. },
  28392. "menutype": {
  28393. "description": "菜单类型 1-管理端 2-交易端 3-终端权限",
  28394. "type": "integer"
  28395. },
  28396. "parentcode": {
  28397. "description": "上级资源代码",
  28398. "type": "string"
  28399. },
  28400. "remark": {
  28401. "description": "备注",
  28402. "type": "string"
  28403. },
  28404. "resourcecode": {
  28405. "description": "资源代码",
  28406. "type": "string"
  28407. },
  28408. "resourcelevel": {
  28409. "description": "级别 1-一级 2-二级 3-三级 4-四级",
  28410. "type": "integer"
  28411. },
  28412. "resourcename": {
  28413. "description": "资源名",
  28414. "type": "string"
  28415. },
  28416. "sort": {
  28417. "description": "排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序",
  28418. "type": "integer"
  28419. },
  28420. "url": {
  28421. "description": "URL",
  28422. "type": "string"
  28423. }
  28424. }
  28425. },
  28426. "models.Goods": {
  28427. "type": "object",
  28428. "required": [
  28429. "goodscode",
  28430. "goodsid",
  28431. "goodsname",
  28432. "marketid"
  28433. ],
  28434. "properties": {
  28435. "agreeunit": {
  28436. "description": "合约单位",
  28437. "type": "number"
  28438. },
  28439. "areauserid": {
  28440. "description": "所属机构",
  28441. "type": "integer"
  28442. },
  28443. "auditaccountid": {
  28444. "description": "审核操作员账号",
  28445. "type": "integer"
  28446. },
  28447. "audittime": {
  28448. "description": "审核时间",
  28449. "type": "string"
  28450. },
  28451. "cancelaccountid": {
  28452. "description": "注销操作员账号",
  28453. "type": "integer"
  28454. },
  28455. "canceltime": {
  28456. "description": "注销时间",
  28457. "type": "string"
  28458. },
  28459. "closepricemode": {
  28460. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  28461. "type": "integer"
  28462. },
  28463. "closepriceparam": {
  28464. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  28465. "type": "number"
  28466. },
  28467. "createtime": {
  28468. "description": "创建时间",
  28469. "type": "string"
  28470. },
  28471. "creatorid": {
  28472. "description": "创建人",
  28473. "type": "integer"
  28474. },
  28475. "currencyid": {
  28476. "description": "报价货币ID",
  28477. "type": "integer"
  28478. },
  28479. "cutmode": {
  28480. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  28481. "type": "integer"
  28482. },
  28483. "decimalplace": {
  28484. "description": "报价小数位",
  28485. "type": "integer"
  28486. },
  28487. "delistingdate": {
  28488. "description": "商品退市时间(状态:退市) -- 已作废",
  28489. "type": "string"
  28490. },
  28491. "delistingmode": {
  28492. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  28493. "type": "integer"
  28494. },
  28495. "deliveryflag": {
  28496. "description": "交割标志 - 0:不可交割 1:可交割",
  28497. "type": "integer"
  28498. },
  28499. "forceclosemode": {
  28500. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  28501. "type": "integer"
  28502. },
  28503. "forceclosevalue": {
  28504. "description": "定期强平参数 [收益权]",
  28505. "type": "integer"
  28506. },
  28507. "goodscode": {
  28508. "description": "商品代码(内部)",
  28509. "type": "string"
  28510. },
  28511. "goodscurrencyid": {
  28512. "description": "合约货币ID",
  28513. "type": "integer"
  28514. },
  28515. "goodsgroupid": {
  28516. "description": "所属商品组ID",
  28517. "type": "integer"
  28518. },
  28519. "goodsid": {
  28520. "description": "商品ID(自增ID SEQ_GOODS)",
  28521. "type": "integer"
  28522. },
  28523. "goodsname": {
  28524. "description": "商品名称",
  28525. "type": "string"
  28526. },
  28527. "goodsquotetype": {
  28528. "description": "合约报价类型: 1-直接报价 2-间接报价",
  28529. "type": "integer"
  28530. },
  28531. "goodsstatus": {
  28532. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  28533. "type": "integer"
  28534. },
  28535. "goodstradetype": {
  28536. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  28537. "type": "integer"
  28538. },
  28539. "goodunitid": {
  28540. "description": "报价单位ID",
  28541. "type": "integer"
  28542. },
  28543. "hasquoter": {
  28544. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  28545. "type": "integer"
  28546. },
  28547. "hqprotecttime": {
  28548. "description": "行情保护时间(秒)",
  28549. "type": "integer"
  28550. },
  28551. "innerdealmode": {
  28552. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  28553. "type": "integer"
  28554. },
  28555. "isbuylimited": {
  28556. "description": "是否限制建仓量 - 0:不限制 1:限制",
  28557. "type": "integer"
  28558. },
  28559. "isvisible": {
  28560. "description": "游客是否可见 - 0:不可见 1:可见",
  28561. "type": "integer"
  28562. },
  28563. "lasttradedate": {
  28564. "description": "最后交易日期(状态:待退市)",
  28565. "type": "string"
  28566. },
  28567. "listingdate": {
  28568. "description": "交易开始日期",
  28569. "type": "string"
  28570. },
  28571. "marketid": {
  28572. "description": "所属市场ID",
  28573. "type": "integer"
  28574. },
  28575. "modifierid": {
  28576. "description": "修改人",
  28577. "type": "integer"
  28578. },
  28579. "modifystatus": {
  28580. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  28581. "type": "integer"
  28582. },
  28583. "modifytime": {
  28584. "description": "修改时间",
  28585. "type": "string"
  28586. },
  28587. "outerdealmode": {
  28588. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  28589. "type": "integer"
  28590. },
  28591. "outgoodscode": {
  28592. "description": "商品代码(外部)",
  28593. "type": "string"
  28594. },
  28595. "pictureurl": {
  28596. "description": "商品图片",
  28597. "type": "string"
  28598. },
  28599. "qtydecimalplace": {
  28600. "description": "成交量小数位",
  28601. "type": "integer"
  28602. },
  28603. "quotegear": {
  28604. "description": "行情档位(1-10)",
  28605. "type": "integer"
  28606. },
  28607. "quoteminunit": {
  28608. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  28609. "type": "integer"
  28610. },
  28611. "quoteshowtype": {
  28612. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  28613. "type": "integer"
  28614. },
  28615. "quoteshowtypeinterval": {
  28616. "description": "行情报价间隔时间(秒)(成交价时为0)",
  28617. "type": "integer"
  28618. },
  28619. "remark": {
  28620. "description": "备注",
  28621. "type": "string"
  28622. }
  28623. }
  28624. },
  28625. "models.GoodsIDAndName": {
  28626. "type": "object",
  28627. "required": [
  28628. "goodscode",
  28629. "goodsid",
  28630. "goodsname",
  28631. "marketid"
  28632. ],
  28633. "properties": {
  28634. "goodscode": {
  28635. "description": "商品代码(内部)",
  28636. "type": "string"
  28637. },
  28638. "goodsid": {
  28639. "description": "商品ID(自增ID SEQ_GOODS)",
  28640. "type": "integer"
  28641. },
  28642. "goodsname": {
  28643. "description": "商品名称",
  28644. "type": "string"
  28645. },
  28646. "marketid": {
  28647. "description": "所属市场ID",
  28648. "type": "integer"
  28649. }
  28650. }
  28651. },
  28652. "models.Goodsgroup": {
  28653. "type": "object",
  28654. "required": [
  28655. "goodsgroupid",
  28656. "goodsgroupname",
  28657. "goodsgroupstatus",
  28658. "marketid"
  28659. ],
  28660. "properties": {
  28661. "agreeunit": {
  28662. "description": "合约单位",
  28663. "type": "number"
  28664. },
  28665. "canshort": {
  28666. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  28667. "type": "integer"
  28668. },
  28669. "closepricemode": {
  28670. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  28671. "type": "integer"
  28672. },
  28673. "closepriceparam": {
  28674. "description": "强平最新价浮动比例 - 方式为2时使用",
  28675. "type": "number"
  28676. },
  28677. "createtime": {
  28678. "description": "创建时间",
  28679. "type": "string"
  28680. },
  28681. "creatorid": {
  28682. "description": "创建人",
  28683. "type": "integer"
  28684. },
  28685. "currencyid": {
  28686. "description": "报价货币ID",
  28687. "type": "integer"
  28688. },
  28689. "decimalplace": {
  28690. "description": "报价小数位",
  28691. "type": "integer"
  28692. },
  28693. "exercisetype": {
  28694. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  28695. "type": "integer"
  28696. },
  28697. "exexchangeid": {
  28698. "description": "外部交易所ID[通道交易]",
  28699. "type": "integer"
  28700. },
  28701. "goodsgroupid": {
  28702. "description": "商品组ID(自增ID)",
  28703. "type": "integer"
  28704. },
  28705. "goodsgroupname": {
  28706. "description": "商品组名称",
  28707. "type": "string"
  28708. },
  28709. "goodsgroupstatus": {
  28710. "description": "商品组状态 - 1:正常 2:注销",
  28711. "type": "integer"
  28712. },
  28713. "goodunitid": {
  28714. "description": "报价单位ID",
  28715. "type": "integer"
  28716. },
  28717. "innerdealmode": {
  28718. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  28719. "type": "integer"
  28720. },
  28721. "isbuylimited": {
  28722. "description": "是否限制建仓量 - 0:不限制 1:限制",
  28723. "type": "integer"
  28724. },
  28725. "marketid": {
  28726. "description": "所属市场ID",
  28727. "type": "integer"
  28728. },
  28729. "modifierid": {
  28730. "description": "修改人",
  28731. "type": "integer"
  28732. },
  28733. "modifytime": {
  28734. "description": "修改时间",
  28735. "type": "string"
  28736. },
  28737. "outerdealmode": {
  28738. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  28739. "type": "integer"
  28740. },
  28741. "outergroupcode": {
  28742. "description": "外部商品组代码[通道交易]",
  28743. "type": "string"
  28744. },
  28745. "premiumdecimalplace": {
  28746. "description": "权利金小数位[场外期权]",
  28747. "type": "integer"
  28748. },
  28749. "premiumspreadalgorithm": {
  28750. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  28751. "type": "integer"
  28752. },
  28753. "premiumspreadvalue": {
  28754. "description": "权利金点差值[场外期权]",
  28755. "type": "number"
  28756. },
  28757. "qtydecimalplace": {
  28758. "description": "成交量小数位",
  28759. "type": "integer"
  28760. },
  28761. "quotegear": {
  28762. "description": "行情档位(1-10)",
  28763. "type": "integer"
  28764. },
  28765. "quoteminunit": {
  28766. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  28767. "type": "integer"
  28768. },
  28769. "quoterid": {
  28770. "description": "报价商ID[场外期权]",
  28771. "type": "integer"
  28772. },
  28773. "quotesourcegroupid": {
  28774. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  28775. "type": "integer"
  28776. },
  28777. "syncgoodsqty": {
  28778. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  28779. "type": "integer"
  28780. }
  28781. }
  28782. },
  28783. "models.Goodssortbypreposition": {
  28784. "type": "object",
  28785. "required": [
  28786. "goodscode",
  28787. "tradedate"
  28788. ],
  28789. "properties": {
  28790. "goodscode": {
  28791. "description": "合约代码 - 易盛接口:合约代码=品种代码+合约代码",
  28792. "type": "string"
  28793. },
  28794. "goodsgroupcode": {
  28795. "description": "品种代码",
  28796. "type": "string"
  28797. },
  28798. "prepositionqty": {
  28799. "description": "昨持仓量",
  28800. "type": "integer"
  28801. },
  28802. "sortindex": {
  28803. "description": "排序",
  28804. "type": "integer"
  28805. },
  28806. "tradedate": {
  28807. "description": "交易日",
  28808. "type": "string"
  28809. },
  28810. "updatetime": {
  28811. "description": "更新时间",
  28812. "type": "string"
  28813. }
  28814. }
  28815. },
  28816. "models.Hedgeinnerholderdetail": {
  28817. "type": "object",
  28818. "required": [
  28819. "buyorsell",
  28820. "tradeid"
  28821. ],
  28822. "properties": {
  28823. "accountid": {
  28824. "description": "账号ID",
  28825. "type": "integer"
  28826. },
  28827. "buyorsell": {
  28828. "description": "方向 - 0:买 1:卖",
  28829. "type": "integer"
  28830. },
  28831. "freezeqty": {
  28832. "description": "冻结数量 - 按单平使用",
  28833. "type": "integer"
  28834. },
  28835. "goodsid": {
  28836. "description": "商品ID",
  28837. "type": "integer"
  28838. },
  28839. "holderamount": {
  28840. "description": "持仓金额 [商品币种]",
  28841. "type": "number"
  28842. },
  28843. "holderdays": {
  28844. "description": "剩余冻结天数",
  28845. "type": "integer"
  28846. },
  28847. "holderprice": {
  28848. "description": "持仓价格",
  28849. "type": "number"
  28850. },
  28851. "holderqty": {
  28852. "description": "持仓数量",
  28853. "type": "integer"
  28854. },
  28855. "marketid": {
  28856. "description": "市场ID",
  28857. "type": "integer"
  28858. },
  28859. "openprice": {
  28860. "description": "建仓价格",
  28861. "type": "number"
  28862. },
  28863. "openqty": {
  28864. "description": "建仓数量",
  28865. "type": "integer"
  28866. },
  28867. "parentaccountid": {
  28868. "description": "所属母账户",
  28869. "type": "integer"
  28870. },
  28871. "releaseamount": {
  28872. "description": "释放持仓金额[商品币种]",
  28873. "type": "number"
  28874. },
  28875. "tradeamount": {
  28876. "description": "成交金额[账户]",
  28877. "type": "number"
  28878. },
  28879. "tradedate": {
  28880. "description": "交易日(yyyyMMdd)",
  28881. "type": "string"
  28882. },
  28883. "tradeid": {
  28884. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  28885. "type": "string"
  28886. },
  28887. "tradetime": {
  28888. "description": "交易时间",
  28889. "type": "string"
  28890. }
  28891. }
  28892. },
  28893. "models.Hedgemarketopenlog": {
  28894. "type": "object",
  28895. "required": [
  28896. "accountid"
  28897. ],
  28898. "properties": {
  28899. "accountid": {
  28900. "description": "资金账号[外部母账户]",
  28901. "type": "integer"
  28902. },
  28903. "fcname": {
  28904. "description": "期货公司名称",
  28905. "type": "string"
  28906. },
  28907. "handlestatus": {
  28908. "description": "处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp",
  28909. "type": "integer"
  28910. },
  28911. "marketid": {
  28912. "description": "市场ID",
  28913. "type": "integer"
  28914. },
  28915. "status": {
  28916. "description": "状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败",
  28917. "type": "integer"
  28918. },
  28919. "tradedate": {
  28920. "description": "交易日(yyyyMMdd)",
  28921. "type": "string"
  28922. },
  28923. "updatetime": {
  28924. "description": "更新时间",
  28925. "type": "string"
  28926. }
  28927. }
  28928. },
  28929. "models.HsbyBuyMyPayOrder": {
  28930. "type": "object",
  28931. "required": [
  28932. "goodscode",
  28933. "goodsname",
  28934. "tradeid",
  28935. "trademode"
  28936. ],
  28937. "properties": {
  28938. "agreeunit": {
  28939. "description": "合约单位",
  28940. "type": "number"
  28941. },
  28942. "buyaccountid": {
  28943. "description": "买方账号ID[报价币种]",
  28944. "type": "integer"
  28945. },
  28946. "buyorderid": {
  28947. "description": "买方委托单号",
  28948. "type": "string"
  28949. },
  28950. "createtime": {
  28951. "description": "创建时间",
  28952. "type": "string"
  28953. },
  28954. "currencysign": {
  28955. "description": "货币符号",
  28956. "type": "string"
  28957. },
  28958. "decimalplace": {
  28959. "description": "报价小数位",
  28960. "type": "integer"
  28961. },
  28962. "goodscode": {
  28963. "description": "商品代码(内部)",
  28964. "type": "string"
  28965. },
  28966. "goodsid": {
  28967. "description": "商品ID",
  28968. "type": "integer"
  28969. },
  28970. "goodsname": {
  28971. "description": "商品名称",
  28972. "type": "string"
  28973. },
  28974. "marketid": {
  28975. "description": "市场ID",
  28976. "type": "integer"
  28977. },
  28978. "offamount": {
  28979. "description": "优惠金额",
  28980. "type": "number"
  28981. },
  28982. "originalamount": {
  28983. "description": "原金额 = TradeAmount + TradeCharge + OffAmount",
  28984. "type": "number"
  28985. },
  28986. "payamount": {
  28987. "description": "支付金额 = TradeAmount + TradeCharge",
  28988. "type": "number"
  28989. },
  28990. "payflag": {
  28991. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  28992. "type": "integer"
  28993. },
  28994. "paylimitedtime": {
  28995. "description": "支付期限",
  28996. "type": "string"
  28997. },
  28998. "paytime": {
  28999. "description": "付款时间",
  29000. "type": "string"
  29001. },
  29002. "picurls1": {
  29003. "description": "预售商品介绍图片[多张用逗号分隔]",
  29004. "type": "string"
  29005. },
  29006. "picurls2": {
  29007. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  29008. "type": "string"
  29009. },
  29010. "sellaccountid": {
  29011. "description": "卖方账号ID[报价币种]",
  29012. "type": "integer"
  29013. },
  29014. "sellorderid": {
  29015. "description": "卖方委托单号",
  29016. "type": "string"
  29017. },
  29018. "tradeamount": {
  29019. "description": "成交金额",
  29020. "type": "number"
  29021. },
  29022. "tradecharge": {
  29023. "description": "成交手续费(买方)",
  29024. "type": "number"
  29025. },
  29026. "tradedate": {
  29027. "description": "交易日(yyyyMMdd)",
  29028. "type": "string"
  29029. },
  29030. "tradeid": {
  29031. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  29032. "type": "string"
  29033. },
  29034. "trademode": {
  29035. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  29036. "type": "integer"
  29037. },
  29038. "tradeprice": {
  29039. "description": "成交价格",
  29040. "type": "number"
  29041. },
  29042. "tradeqty": {
  29043. "description": "成交数量",
  29044. "type": "integer"
  29045. },
  29046. "vendorname1": {
  29047. "description": "预售商品供应商名称",
  29048. "type": "string"
  29049. },
  29050. "vendorname2": {
  29051. "description": "挂牌商品供应商名称",
  29052. "type": "string"
  29053. }
  29054. }
  29055. },
  29056. "models.HsbyBuyMyTradeDetail": {
  29057. "type": "object",
  29058. "required": [
  29059. "accountid",
  29060. "buyorsell",
  29061. "goodscode",
  29062. "goodsid",
  29063. "goodsname",
  29064. "marketid",
  29065. "orderid",
  29066. "qty",
  29067. "time",
  29068. "trademode"
  29069. ],
  29070. "properties": {
  29071. "accountid": {
  29072. "description": "账户ID[报价币种]",
  29073. "type": "integer"
  29074. },
  29075. "agreeunit": {
  29076. "description": "合约单位",
  29077. "type": "number"
  29078. },
  29079. "amount": {
  29080. "description": "金额 = 价格 * 数量 * 合约单位",
  29081. "type": "number"
  29082. },
  29083. "buyorsell": {
  29084. "description": "买卖 - 0:买 1:卖",
  29085. "type": "integer"
  29086. },
  29087. "currencysign": {
  29088. "description": "货币符号",
  29089. "type": "string"
  29090. },
  29091. "decimalplace": {
  29092. "description": "报价小数位",
  29093. "type": "integer"
  29094. },
  29095. "goodscode": {
  29096. "description": "商品代码(内部)",
  29097. "type": "string"
  29098. },
  29099. "goodsid": {
  29100. "description": "商品ID",
  29101. "type": "integer"
  29102. },
  29103. "goodsname": {
  29104. "description": "商品名称",
  29105. "type": "string"
  29106. },
  29107. "marketid": {
  29108. "description": "市场ID",
  29109. "type": "integer"
  29110. },
  29111. "orderamount": {
  29112. "description": "委托金额",
  29113. "type": "number"
  29114. },
  29115. "orderid": {
  29116. "description": "单号(成交单号)",
  29117. "type": "string"
  29118. },
  29119. "picurls1": {
  29120. "description": "预售商品介绍图片[多张用逗号分隔]",
  29121. "type": "string"
  29122. },
  29123. "picurls2": {
  29124. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  29125. "type": "string"
  29126. },
  29127. "price": {
  29128. "description": "价格",
  29129. "type": "number"
  29130. },
  29131. "qty": {
  29132. "description": "数量",
  29133. "type": "integer"
  29134. },
  29135. "time": {
  29136. "description": "时间",
  29137. "type": "string"
  29138. },
  29139. "trademode": {
  29140. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  29141. "type": "integer"
  29142. },
  29143. "vendorname1": {
  29144. "description": "预售商品供应商名称",
  29145. "type": "string"
  29146. },
  29147. "vendorname2": {
  29148. "description": "挂牌商品供应商名称",
  29149. "type": "string"
  29150. }
  29151. }
  29152. },
  29153. "models.HsbyGoodsOrderDetail": {
  29154. "type": "object",
  29155. "required": [
  29156. "buyorsell",
  29157. "orderid",
  29158. "ordertime"
  29159. ],
  29160. "properties": {
  29161. "buyorsell": {
  29162. "description": "买卖 - 0:买 1:卖",
  29163. "type": "integer"
  29164. },
  29165. "currencysign": {
  29166. "description": "货币符号",
  29167. "type": "string"
  29168. },
  29169. "customername": {
  29170. "description": "客户名称(企业名称),已脱敏",
  29171. "type": "string"
  29172. },
  29173. "enableqty": {
  29174. "description": "可用数量",
  29175. "type": "integer"
  29176. },
  29177. "goodunit": {
  29178. "description": "报价单位",
  29179. "type": "string"
  29180. },
  29181. "orderid": {
  29182. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  29183. "type": "string"
  29184. },
  29185. "orderprice": {
  29186. "description": "委托价格",
  29187. "type": "number"
  29188. },
  29189. "ordertime": {
  29190. "description": "委托时间",
  29191. "type": "string"
  29192. }
  29193. }
  29194. },
  29195. "models.HsbyListingGoodsDetail": {
  29196. "type": "object",
  29197. "required": [
  29198. "goodscode",
  29199. "goodsid",
  29200. "goodsname",
  29201. "marketid",
  29202. "trademode"
  29203. ],
  29204. "properties": {
  29205. "agreeunit": {
  29206. "description": "合约单位",
  29207. "type": "number"
  29208. },
  29209. "buymaxqty": {
  29210. "description": "购买上限 [71] - 0为不限",
  29211. "type": "integer"
  29212. },
  29213. "currency": {
  29214. "description": "货币",
  29215. "type": "string"
  29216. },
  29217. "currencysign": {
  29218. "description": "货币符号",
  29219. "type": "string"
  29220. },
  29221. "decimalplace": {
  29222. "description": "报价小数位",
  29223. "type": "integer"
  29224. },
  29225. "desccityid": {
  29226. "description": "目的地(市)ID",
  29227. "type": "integer"
  29228. },
  29229. "descprovinceid": {
  29230. "description": "目的地(省)ID",
  29231. "type": "integer"
  29232. },
  29233. "goodscode": {
  29234. "description": "商品代码(内部)",
  29235. "type": "string"
  29236. },
  29237. "goodsdesc": {
  29238. "description": "商品详情",
  29239. "type": "string"
  29240. },
  29241. "goodsid": {
  29242. "description": "商品ID(自增ID SEQ_GOODS)",
  29243. "type": "integer"
  29244. },
  29245. "goodsname": {
  29246. "description": "商品名称",
  29247. "type": "string"
  29248. },
  29249. "goodsprice": {
  29250. "description": "商品价格",
  29251. "type": "number"
  29252. },
  29253. "hotindex": {
  29254. "description": "景点热度",
  29255. "type": "integer"
  29256. },
  29257. "last": {
  29258. "description": "现价",
  29259. "type": "number"
  29260. },
  29261. "limitdown": {
  29262. "description": "跌停价",
  29263. "type": "number"
  29264. },
  29265. "limitup": {
  29266. "description": "涨停价",
  29267. "type": "number"
  29268. },
  29269. "lotsize": {
  29270. "description": "手数最小变动单位",
  29271. "type": "integer"
  29272. },
  29273. "marketid": {
  29274. "description": "所属市场ID",
  29275. "type": "integer"
  29276. },
  29277. "picurls": {
  29278. "description": "介绍图片[多张用逗号分隔]",
  29279. "type": "string"
  29280. },
  29281. "quoteminunit": {
  29282. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  29283. "type": "integer"
  29284. },
  29285. "stepvalue": {
  29286. "description": "价格最小变动单位",
  29287. "type": "number"
  29288. },
  29289. "trademode": {
  29290. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  29291. "type": "integer"
  29292. },
  29293. "vendorattr": {
  29294. "description": "供应商附件(多张,逗号分隔)",
  29295. "type": "string"
  29296. },
  29297. "vendorname": {
  29298. "description": "供应商名称",
  29299. "type": "string"
  29300. },
  29301. "vendorphone": {
  29302. "description": "供应商客服电话",
  29303. "type": "string"
  29304. },
  29305. "videourls": {
  29306. "description": "介绍视频[多张用逗号分隔]",
  29307. "type": "string"
  29308. }
  29309. }
  29310. },
  29311. "models.HsbyMarketGoods": {
  29312. "type": "object",
  29313. "required": [
  29314. "accountid",
  29315. "buyorsell",
  29316. "goodscode",
  29317. "goodsid",
  29318. "goodsname",
  29319. "marketid",
  29320. "orderid",
  29321. "trademode"
  29322. ],
  29323. "properties": {
  29324. "accountid": {
  29325. "description": "账户ID[报价币种]",
  29326. "type": "integer"
  29327. },
  29328. "agreeunit": {
  29329. "description": "合约单位",
  29330. "type": "number"
  29331. },
  29332. "buyorsell": {
  29333. "description": "买卖 - 0:买 1:卖",
  29334. "type": "integer"
  29335. },
  29336. "categoryid": {
  29337. "description": "类别ID(WRCATEGORY)",
  29338. "type": "integer"
  29339. },
  29340. "currency": {
  29341. "description": "货币",
  29342. "type": "string"
  29343. },
  29344. "currencysign": {
  29345. "description": "货币符号",
  29346. "type": "string"
  29347. },
  29348. "customername": {
  29349. "description": "卖家名称",
  29350. "type": "string"
  29351. },
  29352. "decimalplace": {
  29353. "description": "报价小数位",
  29354. "type": "integer"
  29355. },
  29356. "goodscode": {
  29357. "description": "商品代码(内部)",
  29358. "type": "string"
  29359. },
  29360. "goodsid": {
  29361. "description": "商品ID",
  29362. "type": "integer"
  29363. },
  29364. "goodsname": {
  29365. "description": "商品名称",
  29366. "type": "string"
  29367. },
  29368. "goodsprice": {
  29369. "description": "商品价格",
  29370. "type": "number"
  29371. },
  29372. "hascoupon": {
  29373. "description": "是否可用优惠卷",
  29374. "type": "boolean"
  29375. },
  29376. "hotindex": {
  29377. "description": "景点热度",
  29378. "type": "integer"
  29379. },
  29380. "marketid": {
  29381. "description": "市场ID",
  29382. "type": "integer"
  29383. },
  29384. "orderid": {
  29385. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  29386. "type": "string"
  29387. },
  29388. "orderprice": {
  29389. "description": "委托价格",
  29390. "type": "number"
  29391. },
  29392. "orderstatus": {
  29393. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  29394. "type": "integer"
  29395. },
  29396. "picurls": {
  29397. "description": "介绍图片[多张用逗号分隔]",
  29398. "type": "string"
  29399. },
  29400. "quoteminunit": {
  29401. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  29402. "type": "integer"
  29403. },
  29404. "sellUserID": {
  29405. "description": "卖方UserID",
  29406. "type": "integer"
  29407. },
  29408. "trademode": {
  29409. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  29410. "type": "integer"
  29411. },
  29412. "videourls": {
  29413. "description": "介绍视频[多张用逗号分隔]",
  29414. "type": "string"
  29415. }
  29416. }
  29417. },
  29418. "models.HsbyMarketGoodsDetail": {
  29419. "type": "object",
  29420. "required": [
  29421. "accountid",
  29422. "buyorsell",
  29423. "goodscode",
  29424. "goodsid",
  29425. "goodsname",
  29426. "marketid",
  29427. "orderid",
  29428. "orderqty",
  29429. "trademode"
  29430. ],
  29431. "properties": {
  29432. "accountid": {
  29433. "description": "账户ID[报价币种]",
  29434. "type": "integer"
  29435. },
  29436. "agreeunit": {
  29437. "description": "合约单位",
  29438. "type": "number"
  29439. },
  29440. "buymaxqty": {
  29441. "description": "购买上限 [71] - 0为不限",
  29442. "type": "integer"
  29443. },
  29444. "buyorsell": {
  29445. "description": "买卖 - 0:买 1:卖",
  29446. "type": "integer"
  29447. },
  29448. "cancelqty": {
  29449. "description": "撤单数量",
  29450. "type": "integer"
  29451. },
  29452. "categoryid": {
  29453. "description": "类别ID(WRCATEGORY)",
  29454. "type": "integer"
  29455. },
  29456. "currency": {
  29457. "description": "货币",
  29458. "type": "string"
  29459. },
  29460. "currencysign": {
  29461. "description": "货币符号",
  29462. "type": "string"
  29463. },
  29464. "customername": {
  29465. "description": "卖家名称",
  29466. "type": "string"
  29467. },
  29468. "decimalplace": {
  29469. "description": "报价小数位",
  29470. "type": "integer"
  29471. },
  29472. "goodscode": {
  29473. "description": "商品代码(内部)",
  29474. "type": "string"
  29475. },
  29476. "goodsdesc": {
  29477. "description": "商品详情",
  29478. "type": "string"
  29479. },
  29480. "goodsid": {
  29481. "description": "商品ID",
  29482. "type": "integer"
  29483. },
  29484. "goodsname": {
  29485. "description": "商品名称",
  29486. "type": "string"
  29487. },
  29488. "goodsprice": {
  29489. "description": "商品价格",
  29490. "type": "number"
  29491. },
  29492. "hotindex": {
  29493. "description": "景点热度",
  29494. "type": "integer"
  29495. },
  29496. "lotsize": {
  29497. "description": "手数最小变动单位",
  29498. "type": "integer"
  29499. },
  29500. "marketid": {
  29501. "description": "市场ID",
  29502. "type": "integer"
  29503. },
  29504. "orderid": {
  29505. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  29506. "type": "string"
  29507. },
  29508. "orderprice": {
  29509. "description": "委托价格",
  29510. "type": "number"
  29511. },
  29512. "orderqty": {
  29513. "description": "委托数量",
  29514. "type": "integer"
  29515. },
  29516. "orderstatus": {
  29517. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  29518. "type": "integer"
  29519. },
  29520. "picurls": {
  29521. "description": "介绍图片[多张用逗号分隔]",
  29522. "type": "string"
  29523. },
  29524. "quoteminunit": {
  29525. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  29526. "type": "integer"
  29527. },
  29528. "sellUserID": {
  29529. "description": "卖方UserID",
  29530. "type": "integer"
  29531. },
  29532. "trademode": {
  29533. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  29534. "type": "integer"
  29535. },
  29536. "tradeqty": {
  29537. "description": "成交数量",
  29538. "type": "integer"
  29539. },
  29540. "vendorattr": {
  29541. "description": "供应商附件(多张,逗号分隔)",
  29542. "type": "string"
  29543. },
  29544. "vendorname": {
  29545. "description": "供应商名称",
  29546. "type": "string"
  29547. },
  29548. "vendorphone": {
  29549. "description": "供应商客服电话",
  29550. "type": "string"
  29551. },
  29552. "videourls": {
  29553. "description": "介绍视频[多张用逗号分隔]",
  29554. "type": "string"
  29555. }
  29556. }
  29557. },
  29558. "models.HsbyMarketInfo": {
  29559. "type": "object",
  29560. "required": [
  29561. "marketid",
  29562. "marketstatus",
  29563. "trademode"
  29564. ],
  29565. "properties": {
  29566. "marketid": {
  29567. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  29568. "type": "integer"
  29569. },
  29570. "marketname": {
  29571. "description": "市场名称",
  29572. "type": "string"
  29573. },
  29574. "marketstatus": {
  29575. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  29576. "type": "integer"
  29577. },
  29578. "trademode": {
  29579. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  29580. "type": "integer"
  29581. }
  29582. }
  29583. },
  29584. "models.HsbyMyGoods": {
  29585. "type": "object",
  29586. "required": [
  29587. "accountid",
  29588. "goodscode",
  29589. "goodsid",
  29590. "goodsname",
  29591. "marketid",
  29592. "trademode"
  29593. ],
  29594. "properties": {
  29595. "accountid": {
  29596. "description": "账号Id",
  29597. "type": "integer"
  29598. },
  29599. "agreeunit": {
  29600. "description": "合约单位",
  29601. "type": "number"
  29602. },
  29603. "buyaverageprice": {
  29604. "description": "持仓均价",
  29605. "type": "number"
  29606. },
  29607. "buycurholderamount": {
  29608. "description": "买当前持仓总金额[商品币种]",
  29609. "type": "number"
  29610. },
  29611. "buycurpositionqty": {
  29612. "description": "买当前持仓总数量",
  29613. "type": "integer"
  29614. },
  29615. "buymaxqty": {
  29616. "description": "购买上限 [71] - 0为不限",
  29617. "type": "integer"
  29618. },
  29619. "currencysign": {
  29620. "description": "货币符号",
  29621. "type": "string"
  29622. },
  29623. "decimalplace": {
  29624. "description": "报价小数位",
  29625. "type": "integer"
  29626. },
  29627. "enableqty": {
  29628. "description": "可用数量",
  29629. "type": "integer"
  29630. },
  29631. "goodscode": {
  29632. "description": "商品代码(内部)",
  29633. "type": "string"
  29634. },
  29635. "goodsid": {
  29636. "description": "商品Id",
  29637. "type": "integer"
  29638. },
  29639. "goodsname": {
  29640. "description": "商品名称",
  29641. "type": "string"
  29642. },
  29643. "goodsprice": {
  29644. "description": "商品价格",
  29645. "type": "number"
  29646. },
  29647. "goodsstatus": {
  29648. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  29649. "type": "integer"
  29650. },
  29651. "last": {
  29652. "description": "现价(仅使用于挂牌点选)",
  29653. "type": "number"
  29654. },
  29655. "limitdown": {
  29656. "description": "跌停价(仅使用于挂牌点选)",
  29657. "type": "number"
  29658. },
  29659. "limitup": {
  29660. "description": "涨停价(仅使用于挂牌点选)",
  29661. "type": "number"
  29662. },
  29663. "lotsize": {
  29664. "description": "手数最小变动单位",
  29665. "type": "integer"
  29666. },
  29667. "marketid": {
  29668. "description": "所属市场ID",
  29669. "type": "integer"
  29670. },
  29671. "picurls": {
  29672. "description": "介绍图片[多张用逗号分隔]",
  29673. "type": "string"
  29674. },
  29675. "quoteminunit": {
  29676. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  29677. "type": "integer"
  29678. },
  29679. "stepvalue": {
  29680. "description": "价格最小变动单位",
  29681. "type": "number"
  29682. },
  29683. "trademode": {
  29684. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  29685. "type": "integer"
  29686. }
  29687. }
  29688. },
  29689. "models.HsbyMyPackage": {
  29690. "type": "object",
  29691. "required": [
  29692. "goodscode",
  29693. "goodsname",
  29694. "takeorderid",
  29695. "trademode"
  29696. ],
  29697. "properties": {
  29698. "accountid": {
  29699. "description": "账户ID",
  29700. "type": "integer"
  29701. },
  29702. "address": {
  29703. "description": "提货人详细地址",
  29704. "type": "string"
  29705. },
  29706. "agreeunit": {
  29707. "description": "合约单位",
  29708. "type": "number"
  29709. },
  29710. "amount": {
  29711. "description": "提货金额",
  29712. "type": "number"
  29713. },
  29714. "auditer": {
  29715. "description": "审核人",
  29716. "type": "integer"
  29717. },
  29718. "audittime": {
  29719. "description": "审核时间",
  29720. "type": "string"
  29721. },
  29722. "averageprice": {
  29723. "description": "均价",
  29724. "type": "number"
  29725. },
  29726. "cardnum": {
  29727. "description": "提货人证件号码",
  29728. "type": "string"
  29729. },
  29730. "cardtypeid": {
  29731. "description": "提货人证件类型",
  29732. "type": "integer"
  29733. },
  29734. "checkremark": {
  29735. "description": "审核备注",
  29736. "type": "string"
  29737. },
  29738. "currencysign": {
  29739. "description": "货币符号",
  29740. "type": "string"
  29741. },
  29742. "decimalplace": {
  29743. "description": "报价小数位",
  29744. "type": "integer"
  29745. },
  29746. "goodscode": {
  29747. "description": "商品代码(内部)",
  29748. "type": "string"
  29749. },
  29750. "goodsid": {
  29751. "description": "商品ID",
  29752. "type": "integer"
  29753. },
  29754. "goodsname": {
  29755. "description": "商品名称",
  29756. "type": "string"
  29757. },
  29758. "handlestatus": {
  29759. "description": "处理状态",
  29760. "type": "integer"
  29761. },
  29762. "marketid": {
  29763. "description": "市场ID",
  29764. "type": "integer"
  29765. },
  29766. "phonenum": {
  29767. "description": "提货人联系方式",
  29768. "type": "string"
  29769. },
  29770. "picurls": {
  29771. "description": "介绍图片[多张用逗号分隔]",
  29772. "type": "string"
  29773. },
  29774. "qty": {
  29775. "description": "提货数量",
  29776. "type": "number"
  29777. },
  29778. "recivername": {
  29779. "description": "提货人姓名",
  29780. "type": "string"
  29781. },
  29782. "reqtime": {
  29783. "description": "更新时间",
  29784. "type": "string"
  29785. },
  29786. "takemode": {
  29787. "description": "提货方式 - 2:自提 3:配送",
  29788. "type": "integer"
  29789. },
  29790. "takeorderid": {
  29791. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  29792. "type": "string"
  29793. },
  29794. "takeorderstatus": {
  29795. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  29796. "type": "integer"
  29797. },
  29798. "takeremark": {
  29799. "description": "提货备注",
  29800. "type": "string"
  29801. },
  29802. "tradedate": {
  29803. "description": "交易日(yyyyMMdd)",
  29804. "type": "string"
  29805. },
  29806. "trademode": {
  29807. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  29808. "type": "integer"
  29809. },
  29810. "userid": {
  29811. "description": "用户ID",
  29812. "type": "integer"
  29813. },
  29814. "vendorname": {
  29815. "description": "供应商名称",
  29816. "type": "string"
  29817. }
  29818. }
  29819. },
  29820. "models.HsbyPreGoods": {
  29821. "type": "object",
  29822. "required": [
  29823. "goodscode",
  29824. "goodsid",
  29825. "goodsname",
  29826. "marketid",
  29827. "trademode"
  29828. ],
  29829. "properties": {
  29830. "agreeunit": {
  29831. "description": "合约单位",
  29832. "type": "number"
  29833. },
  29834. "currency": {
  29835. "description": "货币",
  29836. "type": "string"
  29837. },
  29838. "currencysign": {
  29839. "description": "货币符号",
  29840. "type": "string"
  29841. },
  29842. "decimalplace": {
  29843. "description": "报价小数位",
  29844. "type": "integer"
  29845. },
  29846. "desccityid": {
  29847. "description": "目的地(市)",
  29848. "type": "integer"
  29849. },
  29850. "descprovinceid": {
  29851. "description": "目的地(省)",
  29852. "type": "integer"
  29853. },
  29854. "enableqty": {
  29855. "description": "剩余数量",
  29856. "type": "integer"
  29857. },
  29858. "goodscode": {
  29859. "description": "商品代码(内部)",
  29860. "type": "string"
  29861. },
  29862. "goodsid": {
  29863. "description": "商品ID(自增ID SEQ_GOODS)",
  29864. "type": "integer"
  29865. },
  29866. "goodsname": {
  29867. "description": "商品名称",
  29868. "type": "string"
  29869. },
  29870. "goodsstatus": {
  29871. "description": "商品状态- 2:未上市 3:上市",
  29872. "type": "integer"
  29873. },
  29874. "lasttradedate": {
  29875. "description": "最后交易日期(状态:待退市)",
  29876. "type": "string"
  29877. },
  29878. "listingdate": {
  29879. "description": "交易开始日期",
  29880. "type": "string"
  29881. },
  29882. "marketid": {
  29883. "description": "所属市场ID",
  29884. "type": "integer"
  29885. },
  29886. "picurls": {
  29887. "description": "介绍图片[多张用逗号分隔]",
  29888. "type": "string"
  29889. },
  29890. "presaledqty": {
  29891. "description": "已预售量(预售结束时更新)",
  29892. "type": "integer"
  29893. },
  29894. "presaleqty": {
  29895. "description": "预售数量",
  29896. "type": "integer"
  29897. },
  29898. "quoteminunit": {
  29899. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  29900. "type": "integer"
  29901. },
  29902. "refprice": {
  29903. "description": "参考价格[一口价]",
  29904. "type": "number"
  29905. },
  29906. "relatedgoodsid": {
  29907. "description": "关联交易合约ID",
  29908. "type": "integer"
  29909. },
  29910. "trademode": {
  29911. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  29912. "type": "integer"
  29913. },
  29914. "videourls": {
  29915. "description": "介绍视频[多张用逗号分隔]",
  29916. "type": "string"
  29917. }
  29918. }
  29919. },
  29920. "models.HsbyPreGoodsDetail": {
  29921. "type": "object",
  29922. "required": [
  29923. "goodscode",
  29924. "goodsid",
  29925. "goodsname",
  29926. "marketid",
  29927. "trademode"
  29928. ],
  29929. "properties": {
  29930. "agreeunit": {
  29931. "description": "合约单位",
  29932. "type": "number"
  29933. },
  29934. "buymaxqty": {
  29935. "description": "购买上限 [71] - 0为不限",
  29936. "type": "integer"
  29937. },
  29938. "currency": {
  29939. "description": "货币",
  29940. "type": "string"
  29941. },
  29942. "currencysign": {
  29943. "description": "货币符号",
  29944. "type": "string"
  29945. },
  29946. "customername": {
  29947. "description": "发行单位",
  29948. "type": "string"
  29949. },
  29950. "decimalplace": {
  29951. "description": "报价小数位",
  29952. "type": "integer"
  29953. },
  29954. "desccityid": {
  29955. "description": "目的地(市)ID",
  29956. "type": "integer"
  29957. },
  29958. "descprovinceid": {
  29959. "description": "目的地(省)ID",
  29960. "type": "integer"
  29961. },
  29962. "enableqty": {
  29963. "description": "剩余数量",
  29964. "type": "integer"
  29965. },
  29966. "goodscode": {
  29967. "description": "商品代码(内部)",
  29968. "type": "string"
  29969. },
  29970. "goodsdesc": {
  29971. "description": "商品详情",
  29972. "type": "string"
  29973. },
  29974. "goodsid": {
  29975. "description": "商品ID(自增ID SEQ_GOODS)",
  29976. "type": "integer"
  29977. },
  29978. "goodsname": {
  29979. "description": "商品名称",
  29980. "type": "string"
  29981. },
  29982. "goodsstatus": {
  29983. "description": "商品状态- 2:未上市 3:上市",
  29984. "type": "integer"
  29985. },
  29986. "goodunit": {
  29987. "description": "报价单位",
  29988. "type": "string"
  29989. },
  29990. "lasttradedate": {
  29991. "description": "最后交易日期(状态:待退市)",
  29992. "type": "string"
  29993. },
  29994. "listingdate": {
  29995. "description": "交易开始日期",
  29996. "type": "string"
  29997. },
  29998. "lotsize": {
  29999. "description": "手数最小变动单位",
  30000. "type": "integer"
  30001. },
  30002. "marketid": {
  30003. "description": "所属市场ID",
  30004. "type": "integer"
  30005. },
  30006. "picurls": {
  30007. "description": "介绍图片[多张用逗号分隔]",
  30008. "type": "string"
  30009. },
  30010. "presaledqty": {
  30011. "description": "已预售量(预售结束时更新)",
  30012. "type": "integer"
  30013. },
  30014. "presaleqty": {
  30015. "description": "预售数量",
  30016. "type": "integer"
  30017. },
  30018. "quoteminunit": {
  30019. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  30020. "type": "integer"
  30021. },
  30022. "refprice": {
  30023. "description": "参考价格[一口价]",
  30024. "type": "number"
  30025. },
  30026. "relatedgoodsid": {
  30027. "description": "关联交易合约ID",
  30028. "type": "integer"
  30029. },
  30030. "stepvalue": {
  30031. "description": "价格最小变动单位",
  30032. "type": "number"
  30033. },
  30034. "trademode": {
  30035. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  30036. "type": "integer"
  30037. },
  30038. "vendorattr": {
  30039. "description": "供应商附件(多张,逗号分隔)",
  30040. "type": "string"
  30041. },
  30042. "vendorname": {
  30043. "description": "供应商名称",
  30044. "type": "string"
  30045. },
  30046. "vendorphone": {
  30047. "description": "供应商客服电话",
  30048. "type": "string"
  30049. },
  30050. "videourls": {
  30051. "description": "介绍视频[多张用逗号分隔]",
  30052. "type": "string"
  30053. }
  30054. }
  30055. },
  30056. "models.HsbySellCollectionOrder": {
  30057. "type": "object",
  30058. "required": [
  30059. "goodscode",
  30060. "goodsname",
  30061. "tradeid",
  30062. "trademode"
  30063. ],
  30064. "properties": {
  30065. "agreeunit": {
  30066. "description": "合约单位",
  30067. "type": "number"
  30068. },
  30069. "buyaccountid": {
  30070. "description": "买方账号ID[报价币种]",
  30071. "type": "integer"
  30072. },
  30073. "buyorderid": {
  30074. "description": "买方委托单号",
  30075. "type": "string"
  30076. },
  30077. "createtime": {
  30078. "description": "创建时间",
  30079. "type": "string"
  30080. },
  30081. "currencysign": {
  30082. "description": "货币符号",
  30083. "type": "string"
  30084. },
  30085. "decimalplace": {
  30086. "description": "报价小数位",
  30087. "type": "integer"
  30088. },
  30089. "goodscode": {
  30090. "description": "商品代码(内部)",
  30091. "type": "string"
  30092. },
  30093. "goodsid": {
  30094. "description": "商品ID",
  30095. "type": "integer"
  30096. },
  30097. "goodsname": {
  30098. "description": "商品名称",
  30099. "type": "string"
  30100. },
  30101. "marketid": {
  30102. "description": "市场ID",
  30103. "type": "integer"
  30104. },
  30105. "offamount": {
  30106. "description": "优惠金额",
  30107. "type": "number"
  30108. },
  30109. "payamount": {
  30110. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  30111. "type": "number"
  30112. },
  30113. "payflag": {
  30114. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  30115. "type": "integer"
  30116. },
  30117. "paylimitedtime": {
  30118. "description": "支付期限",
  30119. "type": "string"
  30120. },
  30121. "paytime": {
  30122. "description": "付款时间",
  30123. "type": "string"
  30124. },
  30125. "picurls": {
  30126. "description": "商品介绍图片[多张用逗号分隔]",
  30127. "type": "string"
  30128. },
  30129. "sellaccountid": {
  30130. "description": "卖方账号ID[报价币种]",
  30131. "type": "integer"
  30132. },
  30133. "sellorderid": {
  30134. "description": "卖方委托单号",
  30135. "type": "string"
  30136. },
  30137. "tradeamount": {
  30138. "description": "成交金额",
  30139. "type": "number"
  30140. },
  30141. "tradecharge": {
  30142. "description": "成交手续费(买方)",
  30143. "type": "number"
  30144. },
  30145. "tradedate": {
  30146. "description": "交易日(yyyyMMdd)",
  30147. "type": "string"
  30148. },
  30149. "tradeid": {
  30150. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  30151. "type": "string"
  30152. },
  30153. "trademode": {
  30154. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  30155. "type": "integer"
  30156. },
  30157. "tradeprice": {
  30158. "description": "成交价格",
  30159. "type": "number"
  30160. },
  30161. "tradeqty": {
  30162. "description": "成交数量",
  30163. "type": "integer"
  30164. }
  30165. }
  30166. },
  30167. "models.HsbySellMyDetail": {
  30168. "type": "object",
  30169. "required": [
  30170. "accountid",
  30171. "buyorsell",
  30172. "goodscode",
  30173. "goodsid",
  30174. "goodsname",
  30175. "marketid",
  30176. "orderid",
  30177. "time",
  30178. "trademode"
  30179. ],
  30180. "properties": {
  30181. "accountid": {
  30182. "description": "账户ID[报价币种]",
  30183. "type": "integer"
  30184. },
  30185. "agreeunit": {
  30186. "description": "合约单位",
  30187. "type": "number"
  30188. },
  30189. "buyorsell": {
  30190. "description": "买卖 - 0:买 1:卖",
  30191. "type": "integer"
  30192. },
  30193. "currencysign": {
  30194. "description": "货币符号",
  30195. "type": "string"
  30196. },
  30197. "decimalplace": {
  30198. "description": "报价小数位",
  30199. "type": "integer"
  30200. },
  30201. "goodscode": {
  30202. "description": "商品代码(内部)",
  30203. "type": "string"
  30204. },
  30205. "goodsid": {
  30206. "description": "商品ID",
  30207. "type": "integer"
  30208. },
  30209. "goodsname": {
  30210. "description": "商品名称",
  30211. "type": "string"
  30212. },
  30213. "marketid": {
  30214. "description": "市场ID",
  30215. "type": "integer"
  30216. },
  30217. "orderid": {
  30218. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  30219. "type": "string"
  30220. },
  30221. "ordertype": {
  30222. "description": "单据类型:0 - 发布中, 1 - 已完成",
  30223. "type": "integer"
  30224. },
  30225. "picurls": {
  30226. "description": "介绍图片[多张用逗号分隔]",
  30227. "type": "string"
  30228. },
  30229. "price": {
  30230. "description": "价格",
  30231. "type": "number"
  30232. },
  30233. "qty": {
  30234. "description": "数量",
  30235. "type": "integer"
  30236. },
  30237. "time": {
  30238. "description": "时间",
  30239. "type": "string"
  30240. },
  30241. "trademode": {
  30242. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  30243. "type": "integer"
  30244. },
  30245. "vendorname": {
  30246. "description": "供应商名称",
  30247. "type": "string"
  30248. }
  30249. }
  30250. },
  30251. "models.HsbyTopGoods": {
  30252. "type": "object",
  30253. "required": [
  30254. "goodscode",
  30255. "goodsid",
  30256. "goodsname",
  30257. "marketid",
  30258. "trademode"
  30259. ],
  30260. "properties": {
  30261. "agreeunit": {
  30262. "description": "合约单位",
  30263. "type": "number"
  30264. },
  30265. "currency": {
  30266. "description": "货币",
  30267. "type": "string"
  30268. },
  30269. "currencysign": {
  30270. "description": "货币符号",
  30271. "type": "string"
  30272. },
  30273. "decimalplace": {
  30274. "description": "报价小数位",
  30275. "type": "integer"
  30276. },
  30277. "desccityid": {
  30278. "description": "目的地(市)",
  30279. "type": "integer"
  30280. },
  30281. "descprovinceid": {
  30282. "description": "目的地(省)",
  30283. "type": "integer"
  30284. },
  30285. "goodscode": {
  30286. "description": "商品代码(内部)",
  30287. "type": "string"
  30288. },
  30289. "goodsid": {
  30290. "description": "商品ID(自增ID SEQ_GOODS)",
  30291. "type": "integer"
  30292. },
  30293. "goodsname": {
  30294. "description": "商品名称",
  30295. "type": "string"
  30296. },
  30297. "hotindex": {
  30298. "description": "景点热度",
  30299. "type": "integer"
  30300. },
  30301. "last": {
  30302. "description": "现价",
  30303. "type": "number"
  30304. },
  30305. "marketid": {
  30306. "description": "所属市场ID",
  30307. "type": "integer"
  30308. },
  30309. "picurls": {
  30310. "description": "介绍图片[多张用逗号分隔]",
  30311. "type": "string"
  30312. },
  30313. "quoteminunit": {
  30314. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  30315. "type": "integer"
  30316. },
  30317. "trademode": {
  30318. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  30319. "type": "integer"
  30320. },
  30321. "videourls": {
  30322. "description": "介绍视频[多张用逗号分隔]",
  30323. "type": "string"
  30324. }
  30325. }
  30326. },
  30327. "models.HybsMyBuyOrderDetail": {
  30328. "type": "object",
  30329. "required": [
  30330. "accountid",
  30331. "buyorsell",
  30332. "goodscode",
  30333. "goodsid",
  30334. "goodsname",
  30335. "marketid",
  30336. "orderid",
  30337. "orderqty",
  30338. "ordertime",
  30339. "trademode"
  30340. ],
  30341. "properties": {
  30342. "accountid": {
  30343. "description": "账户ID[报价币种]",
  30344. "type": "integer"
  30345. },
  30346. "agreeunit": {
  30347. "description": "合约单位",
  30348. "type": "number"
  30349. },
  30350. "buyorsell": {
  30351. "description": "买卖 - 0:买 1:卖",
  30352. "type": "integer"
  30353. },
  30354. "cancelqty": {
  30355. "description": "撤单数量",
  30356. "type": "integer"
  30357. },
  30358. "currencysign": {
  30359. "description": "货币符号",
  30360. "type": "string"
  30361. },
  30362. "decimalplace": {
  30363. "description": "报价小数位",
  30364. "type": "integer"
  30365. },
  30366. "goodscode": {
  30367. "description": "商品代码(内部)",
  30368. "type": "string"
  30369. },
  30370. "goodsid": {
  30371. "description": "商品ID",
  30372. "type": "integer"
  30373. },
  30374. "goodsname": {
  30375. "description": "商品名称",
  30376. "type": "string"
  30377. },
  30378. "listingselecttype": {
  30379. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  30380. "type": "integer"
  30381. },
  30382. "marketid": {
  30383. "description": "市场ID",
  30384. "type": "integer"
  30385. },
  30386. "mybuystatus": {
  30387. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  30388. "type": "integer"
  30389. },
  30390. "orderamount": {
  30391. "description": "委托金额",
  30392. "type": "number"
  30393. },
  30394. "orderid": {
  30395. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  30396. "type": "string"
  30397. },
  30398. "orderprice": {
  30399. "description": "委托价格",
  30400. "type": "number"
  30401. },
  30402. "orderqty": {
  30403. "description": "委托数量",
  30404. "type": "integer"
  30405. },
  30406. "orderstatus": {
  30407. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  30408. "type": "integer"
  30409. },
  30410. "ordertime": {
  30411. "description": "委托时间",
  30412. "type": "string"
  30413. },
  30414. "picurls1": {
  30415. "description": "预售商品介绍图片[多张用逗号分隔]",
  30416. "type": "string"
  30417. },
  30418. "picurls2": {
  30419. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  30420. "type": "string"
  30421. },
  30422. "trademode": {
  30423. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  30424. "type": "integer"
  30425. },
  30426. "tradeqty": {
  30427. "description": "成交数量",
  30428. "type": "integer"
  30429. },
  30430. "vendorname1": {
  30431. "description": "预售商品供应商名称",
  30432. "type": "string"
  30433. },
  30434. "vendorname2": {
  30435. "description": "挂牌商品供应商名称",
  30436. "type": "string"
  30437. }
  30438. }
  30439. },
  30440. "models.InternalEnableTradeDetail": {
  30441. "type": "object",
  30442. "required": [
  30443. "areauserid",
  30444. "goodsid"
  30445. ],
  30446. "properties": {
  30447. "agreeunit": {
  30448. "description": "合约乘数",
  30449. "type": "number"
  30450. },
  30451. "areauserid": {
  30452. "description": "企业ID",
  30453. "type": "integer"
  30454. },
  30455. "convertratio": {
  30456. "description": "品种系数",
  30457. "type": "number"
  30458. },
  30459. "deliverygoodscode": {
  30460. "description": "现货品种代码",
  30461. "type": "string"
  30462. },
  30463. "deliverygoodsid": {
  30464. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  30465. "type": "integer"
  30466. },
  30467. "deliverygoodsname": {
  30468. "description": "现货品种名称",
  30469. "type": "string"
  30470. },
  30471. "futurehedgeqty": {
  30472. "description": "[已关联数量]期货持仓套期量",
  30473. "type": "number"
  30474. },
  30475. "goodsid": {
  30476. "description": "期货合约ID",
  30477. "type": "integer"
  30478. },
  30479. "hedgeditemid": {
  30480. "description": "被套期项目ID",
  30481. "type": "string"
  30482. },
  30483. "hedgeditemnum": {
  30484. "description": "项目编号",
  30485. "type": "string"
  30486. },
  30487. "unexehedgeqty": {
  30488. "description": "未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)",
  30489. "type": "number"
  30490. },
  30491. "unexespotqty": {
  30492. "description": "未执行现货量",
  30493. "type": "number"
  30494. },
  30495. "wrstandardcode": {
  30496. "description": "现货品类代码",
  30497. "type": "string"
  30498. },
  30499. "wrstandardid": {
  30500. "description": "现货品类ID(SEQ_WRSTANDARD)",
  30501. "type": "integer"
  30502. },
  30503. "wrstandardname": {
  30504. "description": "现货品类名称",
  30505. "type": "string"
  30506. }
  30507. }
  30508. },
  30509. "models.InternalUncorrelatedTradeDetail": {
  30510. "type": "object",
  30511. "properties": {
  30512. "accountid": {
  30513. "description": "账号ID",
  30514. "type": "integer"
  30515. },
  30516. "accountname": {
  30517. "description": "套期主体",
  30518. "type": "string"
  30519. },
  30520. "agreeunit": {
  30521. "description": "合约乘数",
  30522. "type": "number"
  30523. },
  30524. "areauserid": {
  30525. "description": "所属机构",
  30526. "type": "integer"
  30527. },
  30528. "bizsubjectid": {
  30529. "description": "归属业务部门ID - SubjectID",
  30530. "type": "integer"
  30531. },
  30532. "buyorsell": {
  30533. "description": "方向 - 0:买 1:卖",
  30534. "type": "integer"
  30535. },
  30536. "channelbuildtype": {
  30537. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  30538. "type": "integer"
  30539. },
  30540. "convertratio": {
  30541. "description": "品种系数",
  30542. "type": "number"
  30543. },
  30544. "createtime": {
  30545. "description": "创建时间",
  30546. "type": "string"
  30547. },
  30548. "creatorid": {
  30549. "description": "创建人ID",
  30550. "type": "integer"
  30551. },
  30552. "creatorsrc": {
  30553. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  30554. "type": "integer"
  30555. },
  30556. "enableqty": {
  30557. "description": "项目可关联手数 = 成交手数 - 关联数量",
  30558. "type": "number"
  30559. },
  30560. "goodscode": {
  30561. "description": "合约代码",
  30562. "type": "string"
  30563. },
  30564. "goodsgroupid": {
  30565. "description": "对冲品种ID[期货合约商品组ID]",
  30566. "type": "integer"
  30567. },
  30568. "goodsid": {
  30569. "description": "商品ID",
  30570. "type": "integer"
  30571. },
  30572. "goodsname": {
  30573. "description": "合约名称",
  30574. "type": "string"
  30575. },
  30576. "hedgeditemid": {
  30577. "description": "现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]",
  30578. "type": "integer"
  30579. },
  30580. "hedgeflag": {
  30581. "description": "投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目",
  30582. "type": "integer"
  30583. },
  30584. "linkdetailid": {
  30585. "description": "期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)",
  30586. "type": "string"
  30587. },
  30588. "linkstatus": {
  30589. "description": "关联状态 - 1:成功 2:失败 3:解绑",
  30590. "type": "integer"
  30591. },
  30592. "middlegoodsid": {
  30593. "description": "套保品种ID",
  30594. "type": "integer"
  30595. },
  30596. "relatedlot": {
  30597. "description": "[数量]关联手数",
  30598. "type": "number"
  30599. },
  30600. "relatedmode": {
  30601. "description": "关联方式 - 1:自动关联 2:手动关联 3:解绑关联",
  30602. "type": "integer"
  30603. },
  30604. "relatedqty": {
  30605. "description": "[套期商品数量]关联数量 = RelatedLot * AgreeUnit * ConvertRatio",
  30606. "type": "number"
  30607. },
  30608. "retcode": {
  30609. "description": "返回码",
  30610. "type": "integer"
  30611. },
  30612. "saleuserid": {
  30613. "description": "业务员ID",
  30614. "type": "integer"
  30615. },
  30616. "tradedate": {
  30617. "description": "关联交易日(yyyyMMdd)",
  30618. "type": "string"
  30619. },
  30620. "tradeid": {
  30621. "description": "成交单号",
  30622. "type": "string"
  30623. },
  30624. "tradelot": {
  30625. "description": "成交手数",
  30626. "type": "integer"
  30627. },
  30628. "tradeprice": {
  30629. "description": "成交价",
  30630. "type": "number"
  30631. },
  30632. "tradetime": {
  30633. "description": "成交时间",
  30634. "type": "string"
  30635. },
  30636. "tradetradedate": {
  30637. "description": "成交交易日(yyyyMMdd)",
  30638. "type": "string"
  30639. }
  30640. }
  30641. },
  30642. "models.Loginaccount": {
  30643. "type": "object",
  30644. "required": [
  30645. "loginid"
  30646. ],
  30647. "properties": {
  30648. "accountname": {
  30649. "description": "账户名称",
  30650. "type": "string"
  30651. },
  30652. "canoutin": {
  30653. "description": "是否可出入金 - 0:不可 1:可",
  30654. "type": "integer"
  30655. },
  30656. "clientroleid": {
  30657. "description": "终端角色ID",
  30658. "type": "integer"
  30659. },
  30660. "haslogined": {
  30661. "description": "是否已登录 - 0:未登录 1:已登录",
  30662. "type": "integer"
  30663. },
  30664. "hasupdatedpwd": {
  30665. "description": "是否已更改密码 - 0:未修改 1:已修改",
  30666. "type": "integer"
  30667. },
  30668. "lastloginip": {
  30669. "description": "最新登录地址",
  30670. "type": "string"
  30671. },
  30672. "lastloginmode": {
  30673. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  30674. "type": "integer"
  30675. },
  30676. "lastloginremark": {
  30677. "description": "最新登录描述",
  30678. "type": "string"
  30679. },
  30680. "lastlogintime": {
  30681. "description": "最新登录时间",
  30682. "type": "string"
  30683. },
  30684. "logincode": {
  30685. "description": "登录代码",
  30686. "type": "string"
  30687. },
  30688. "loginfailnum": {
  30689. "description": "连续登录失败次数(登录成功时清零)",
  30690. "type": "integer"
  30691. },
  30692. "loginid": {
  30693. "description": "登陆账号",
  30694. "type": "integer"
  30695. },
  30696. "loginport": {
  30697. "description": "最新登录端口",
  30698. "type": "integer"
  30699. },
  30700. "loginstatus": {
  30701. "description": "登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)",
  30702. "type": "integer"
  30703. },
  30704. "loginusertype": {
  30705. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  30706. "type": "integer"
  30707. },
  30708. "mobile": {
  30709. "description": "手机号码(加密存储)",
  30710. "type": "string"
  30711. },
  30712. "modifierid": {
  30713. "description": "修改人",
  30714. "type": "integer"
  30715. },
  30716. "modifysrc": {
  30717. "description": "审核来源 - 1:管理端 2:终端",
  30718. "type": "integer"
  30719. },
  30720. "modifytime": {
  30721. "description": "修改时间",
  30722. "type": "string"
  30723. },
  30724. "password": {
  30725. "description": "登陆密码",
  30726. "type": "string"
  30727. },
  30728. "pwdwrongcount": {
  30729. "description": "密码错误次数",
  30730. "type": "integer"
  30731. },
  30732. "relateduserid": {
  30733. "description": "关联用户ID(机构)",
  30734. "type": "integer"
  30735. },
  30736. "taaccountrighttype": {
  30737. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  30738. "type": "integer"
  30739. },
  30740. "unfreezetime": {
  30741. "description": "账户解冻时间",
  30742. "type": "string"
  30743. },
  30744. "userid": {
  30745. "description": "用户ID",
  30746. "type": "integer"
  30747. }
  30748. }
  30749. },
  30750. "models.MainAccountInfo": {
  30751. "type": "object",
  30752. "properties": {
  30753. "accountid": {
  30754. "description": "账号id",
  30755. "type": "integer"
  30756. },
  30757. "accountname": {
  30758. "description": "账号名称(taaccount表中的名称)",
  30759. "type": "string"
  30760. },
  30761. "appid": {
  30762. "description": "AppID",
  30763. "type": "string"
  30764. },
  30765. "authcode": {
  30766. "description": "授权码",
  30767. "type": "string"
  30768. },
  30769. "brokerid": {
  30770. "description": "经纪商id",
  30771. "type": "string"
  30772. },
  30773. "fcid": {
  30774. "description": "期货公司id",
  30775. "type": "integer"
  30776. },
  30777. "fcname": {
  30778. "description": "期货公司代码",
  30779. "type": "string"
  30780. },
  30781. "hedgeaccountcode": {
  30782. "description": "外部账号代码(主账号登录代码)",
  30783. "type": "string"
  30784. },
  30785. "hedgeaccountpwd": {
  30786. "description": "密码",
  30787. "type": "string"
  30788. },
  30789. "ismain": {
  30790. "description": "是否主账号",
  30791. "type": "integer"
  30792. },
  30793. "relateduserid": {
  30794. "description": "关联用户id",
  30795. "type": "integer"
  30796. },
  30797. "userid": {
  30798. "description": "关联用户id",
  30799. "type": "integer"
  30800. }
  30801. }
  30802. },
  30803. "models.Market": {
  30804. "type": "object",
  30805. "required": [
  30806. "marketid",
  30807. "marketstatus",
  30808. "openmethod",
  30809. "reckonpricealgorithm",
  30810. "trademode",
  30811. "tradeproperty"
  30812. ],
  30813. "properties": {
  30814. "auctionwrtype": {
  30815. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  30816. "type": "integer"
  30817. },
  30818. "canacceptquote": {
  30819. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  30820. "type": "integer"
  30821. },
  30822. "cangoodsexercise": {
  30823. "description": "[期权]是否可现货行权- 0:否 1:是",
  30824. "type": "integer"
  30825. },
  30826. "cangoodsexercisetype": {
  30827. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  30828. "type": "integer"
  30829. },
  30830. "canmanualquotestrike": {
  30831. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  30832. "type": "integer"
  30833. },
  30834. "canmutistage": {
  30835. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  30836. "type": "integer"
  30837. },
  30838. "canpreexercise": {
  30839. "description": "[期权]是否可预申报- 0:否 1:是",
  30840. "type": "integer"
  30841. },
  30842. "clearinterval": {
  30843. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  30844. "type": "integer"
  30845. },
  30846. "contracttmp": {
  30847. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  30848. "type": "string"
  30849. },
  30850. "exchareaid": {
  30851. "description": "所属交易所,可以没有",
  30852. "type": "integer"
  30853. },
  30854. "goodstype": {
  30855. "description": "商品类型 - 1:交易商品 2:仓单商品",
  30856. "type": "integer"
  30857. },
  30858. "hasrebate": {
  30859. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  30860. "type": "integer"
  30861. },
  30862. "hastradecredit": {
  30863. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  30864. "type": "integer"
  30865. },
  30866. "haswr": {
  30867. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  30868. "type": "integer"
  30869. },
  30870. "isdeductmargin": {
  30871. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  30872. "type": "integer"
  30873. },
  30874. "isrecordsource": {
  30875. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  30876. "type": "integer"
  30877. },
  30878. "isreleasemargin": {
  30879. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  30880. "type": "integer"
  30881. },
  30882. "marginformula": {
  30883. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  30884. "type": "integer"
  30885. },
  30886. "marginformula2": {
  30887. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  30888. "type": "integer"
  30889. },
  30890. "marketid": {
  30891. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  30892. "type": "integer"
  30893. },
  30894. "marketname": {
  30895. "description": "市场名称",
  30896. "type": "string"
  30897. },
  30898. "marketserviceid": {
  30899. "description": "市场服务ID",
  30900. "type": "integer"
  30901. },
  30902. "marketstatus": {
  30903. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  30904. "type": "integer"
  30905. },
  30906. "markettype": {
  30907. "description": "市场类型- 1:非交易服务 2:交易服务",
  30908. "type": "integer"
  30909. },
  30910. "matchermode": {
  30911. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  30912. "type": "integer"
  30913. },
  30914. "openmethod": {
  30915. "description": "开盘模式 - 0 自动 1手动",
  30916. "type": "integer"
  30917. },
  30918. "otcuserid": {
  30919. "description": "场外期权做市商[场外期权]",
  30920. "type": "integer"
  30921. },
  30922. "outersynctime": {
  30923. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  30924. "type": "string"
  30925. },
  30926. "pendingflag": {
  30927. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  30928. "type": "integer"
  30929. },
  30930. "pendingtime": {
  30931. "description": "待开市时间[通道交易-对冲](HH:mm)",
  30932. "type": "string"
  30933. },
  30934. "performancetempid": {
  30935. "description": "履约计划模板ID - 作废",
  30936. "type": "integer"
  30937. },
  30938. "premiumquotemode": {
  30939. "description": "权利金报价方式 - 1:自动 2:手动",
  30940. "type": "integer"
  30941. },
  30942. "rebateratio": {
  30943. "description": "返利比率[竞价式]",
  30944. "type": "number"
  30945. },
  30946. "reckonorder": {
  30947. "description": "结算顺序",
  30948. "type": "integer"
  30949. },
  30950. "reckonpricealgorithm": {
  30951. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  30952. "type": "integer"
  30953. },
  30954. "reckonpriceparam": {
  30955. "description": "结算价参数",
  30956. "type": "integer"
  30957. },
  30958. "reckontime": {
  30959. "description": "结算时间[通道交易-对冲](HH:mm)",
  30960. "type": "string"
  30961. },
  30962. "roleprioritytype": {
  30963. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  30964. "type": "integer"
  30965. },
  30966. "selllistingauditflag": {
  30967. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  30968. "type": "integer"
  30969. },
  30970. "trademarkettype": {
  30971. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  30972. "type": "integer"
  30973. },
  30974. "trademode": {
  30975. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  30976. "type": "integer"
  30977. },
  30978. "tradeproperty": {
  30979. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  30980. "type": "integer"
  30981. },
  30982. "tradetype": {
  30983. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  30984. "type": "integer"
  30985. }
  30986. }
  30987. },
  30988. "models.Marketrun": {
  30989. "type": "object",
  30990. "required": [
  30991. "marketid",
  30992. "nexttradedate",
  30993. "reckonflag",
  30994. "runstatus",
  30995. "tradedate",
  30996. "tradedate2"
  30997. ],
  30998. "properties": {
  30999. "afternexttradedate": {
  31000. "description": "下下交易日",
  31001. "type": "string"
  31002. },
  31003. "clearquoteflag": {
  31004. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  31005. "type": "integer"
  31006. },
  31007. "lastreckondate": {
  31008. "description": "最新交易日(结算成功)",
  31009. "type": "string"
  31010. },
  31011. "machinedate": {
  31012. "description": "机器时间",
  31013. "type": "string"
  31014. },
  31015. "manualflag": {
  31016. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  31017. "type": "integer"
  31018. },
  31019. "marketid": {
  31020. "description": "市场ID",
  31021. "type": "integer"
  31022. },
  31023. "nexttradedate": {
  31024. "description": "下一交易日",
  31025. "type": "string"
  31026. },
  31027. "pretradedate": {
  31028. "description": "上一交易日",
  31029. "type": "string"
  31030. },
  31031. "reckonflag": {
  31032. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  31033. "type": "integer"
  31034. },
  31035. "runstatus": {
  31036. "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.今日免清算",
  31037. "type": "integer"
  31038. },
  31039. "sectionid": {
  31040. "description": "时间段号[多时段时用]",
  31041. "type": "integer"
  31042. },
  31043. "tradedate": {
  31044. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  31045. "type": "string"
  31046. },
  31047. "tradedate2": {
  31048. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  31049. "type": "string"
  31050. },
  31051. "updatetime": {
  31052. "description": "更新时间",
  31053. "type": "string"
  31054. }
  31055. }
  31056. },
  31057. "models.Messageboard": {
  31058. "type": "object",
  31059. "required": [
  31060. "messageboardid"
  31061. ],
  31062. "properties": {
  31063. "contactnum": {
  31064. "description": "联系电话",
  31065. "type": "string"
  31066. },
  31067. "createtime": {
  31068. "description": "创建时间",
  31069. "type": "string"
  31070. },
  31071. "message": {
  31072. "description": "留言信息",
  31073. "type": "string"
  31074. },
  31075. "messageboardid": {
  31076. "description": "留言簿ID(SEQ_MessageBoard)",
  31077. "type": "integer"
  31078. },
  31079. "userid": {
  31080. "description": "用户ID",
  31081. "type": "integer"
  31082. }
  31083. }
  31084. },
  31085. "models.MyCoupon": {
  31086. "type": "object",
  31087. "required": [
  31088. "accountid",
  31089. "coupontypeid"
  31090. ],
  31091. "properties": {
  31092. "accountid": {
  31093. "description": "资金账户ID",
  31094. "type": "integer"
  31095. },
  31096. "areauserid": {
  31097. "description": "所属机构",
  31098. "type": "integer"
  31099. },
  31100. "conditionvalue": {
  31101. "description": "条件阈值(可为0)",
  31102. "type": "number"
  31103. },
  31104. "couponcategroy": {
  31105. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  31106. "type": "integer"
  31107. },
  31108. "couponname": {
  31109. "description": "优惠券名称",
  31110. "type": "string"
  31111. },
  31112. "coupontypeid": {
  31113. "description": "优惠券类型ID",
  31114. "type": "string"
  31115. },
  31116. "couponvalue": {
  31117. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  31118. "type": "number"
  31119. },
  31120. "curfreezeqty": {
  31121. "description": "期末冻结数量",
  31122. "type": "integer"
  31123. },
  31124. "curqty": {
  31125. "description": "期末数量",
  31126. "type": "integer"
  31127. },
  31128. "isgeneral": {
  31129. "description": "是否通用券 - 0:否 1:是",
  31130. "type": "integer"
  31131. },
  31132. "isunusable": {
  31133. "description": "是否不可用",
  31134. "type": "boolean"
  31135. },
  31136. "limitedflag": {
  31137. "description": "是否指定商品 - 0:不限 1:限制",
  31138. "type": "integer"
  31139. },
  31140. "limitedgoodsids": {
  31141. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  31142. "type": "string"
  31143. },
  31144. "orifreezeqty": {
  31145. "description": "期初冻结数量",
  31146. "type": "integer"
  31147. },
  31148. "oriqty": {
  31149. "description": "期初数量",
  31150. "type": "integer"
  31151. },
  31152. "reasontype": {
  31153. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  31154. "type": "integer"
  31155. },
  31156. "todaydecrease": {
  31157. "description": "今日减少",
  31158. "type": "integer"
  31159. },
  31160. "todayincrease": {
  31161. "description": "今日增加",
  31162. "type": "integer"
  31163. },
  31164. "userid": {
  31165. "description": "用户ID",
  31166. "type": "integer"
  31167. },
  31168. "userscope": {
  31169. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  31170. "type": "string"
  31171. }
  31172. }
  31173. },
  31174. "models.MyCouponHold": {
  31175. "type": "object",
  31176. "required": [
  31177. "couponholdid"
  31178. ],
  31179. "properties": {
  31180. "accountid": {
  31181. "description": "资金账户ID",
  31182. "type": "integer"
  31183. },
  31184. "conditionvalue": {
  31185. "description": "条件阈值(可为0)",
  31186. "type": "number"
  31187. },
  31188. "couponcategroy": {
  31189. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  31190. "type": "integer"
  31191. },
  31192. "couponholdid": {
  31193. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  31194. "type": "string"
  31195. },
  31196. "couponname": {
  31197. "description": "优惠券名称",
  31198. "type": "string"
  31199. },
  31200. "coupontypeid": {
  31201. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  31202. "type": "string"
  31203. },
  31204. "couponvalue": {
  31205. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  31206. "type": "number"
  31207. },
  31208. "createtime": {
  31209. "description": "创建时间",
  31210. "type": "string"
  31211. },
  31212. "enddate": {
  31213. "description": "结束日期",
  31214. "type": "string"
  31215. },
  31216. "giveapplyid": {
  31217. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  31218. "type": "integer"
  31219. },
  31220. "holdstatus": {
  31221. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  31222. "type": "integer"
  31223. },
  31224. "isgeneral": {
  31225. "description": "是否通用券 - 0:否 1:是",
  31226. "type": "integer"
  31227. },
  31228. "limitedflag": {
  31229. "description": "是否指定商品 - 0:不限 1:限制",
  31230. "type": "integer"
  31231. },
  31232. "limitedgoodsids": {
  31233. "description": "指定商品IDs[逗号分隔]",
  31234. "type": "string"
  31235. },
  31236. "qty": {
  31237. "description": "数量(按1平铺)",
  31238. "type": "integer"
  31239. },
  31240. "startdate": {
  31241. "description": "开始日期",
  31242. "type": "string"
  31243. },
  31244. "userid": {
  31245. "description": "用户ID",
  31246. "type": "integer"
  31247. },
  31248. "userscope": {
  31249. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  31250. "type": "string"
  31251. }
  31252. }
  31253. },
  31254. "models.MyUsedCoupon": {
  31255. "type": "object",
  31256. "required": [
  31257. "coupontypeid",
  31258. "orderid"
  31259. ],
  31260. "properties": {
  31261. "accountid": {
  31262. "description": "资金账户ID(买方)",
  31263. "type": "integer"
  31264. },
  31265. "conditionvalue": {
  31266. "description": "条件阈值(可为0)",
  31267. "type": "number"
  31268. },
  31269. "couponcategroy": {
  31270. "description": "种类 - 1:现金券 2:折扣券",
  31271. "type": "integer"
  31272. },
  31273. "couponname": {
  31274. "description": "优惠券名称",
  31275. "type": "string"
  31276. },
  31277. "coupontypeid": {
  31278. "description": "优惠券类型ID(买方)",
  31279. "type": "string"
  31280. },
  31281. "couponvalue": {
  31282. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  31283. "type": "number"
  31284. },
  31285. "createtime": {
  31286. "description": "创建时间",
  31287. "type": "string"
  31288. },
  31289. "goodsid": {
  31290. "description": "商品ID",
  31291. "type": "integer"
  31292. },
  31293. "handlestatus": {
  31294. "description": "处理状态",
  31295. "type": "integer"
  31296. },
  31297. "marketid": {
  31298. "description": "市场ID",
  31299. "type": "integer"
  31300. },
  31301. "offamount": {
  31302. "description": "优惠金额",
  31303. "type": "number"
  31304. },
  31305. "orderid": {
  31306. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  31307. "type": "string"
  31308. },
  31309. "sellaccountid": {
  31310. "description": "资金账户ID(卖方)",
  31311. "type": "integer"
  31312. },
  31313. "tradeamount": {
  31314. "description": "成交金额",
  31315. "type": "number"
  31316. },
  31317. "tradeid": {
  31318. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  31319. "type": "string"
  31320. },
  31321. "usedqty": {
  31322. "description": "使用数量",
  31323. "type": "integer"
  31324. }
  31325. }
  31326. },
  31327. "models.OperationPrimaryMenu": {
  31328. "type": "object",
  31329. "properties": {
  31330. "Children": {
  31331. "description": "二级功能菜单",
  31332. "type": "array",
  31333. "items": {
  31334. "$ref": "#/definitions/models.OperationSecondaryMenu"
  31335. }
  31336. },
  31337. "Key": {
  31338. "description": "菜单KEY",
  31339. "type": "string"
  31340. },
  31341. "Label": {
  31342. "description": "菜单标题",
  31343. "type": "string"
  31344. }
  31345. }
  31346. },
  31347. "models.OperationSecondaryMenu": {
  31348. "type": "object",
  31349. "properties": {
  31350. "Key": {
  31351. "description": "菜单KEY",
  31352. "type": "string"
  31353. },
  31354. "Label": {
  31355. "description": "菜单标题",
  31356. "type": "string"
  31357. },
  31358. "TabList": {
  31359. "description": "三级功能菜单",
  31360. "type": "array",
  31361. "items": {
  31362. "$ref": "#/definitions/models.OperationTabMenu"
  31363. }
  31364. }
  31365. }
  31366. },
  31367. "models.OperationTabMenu": {
  31368. "type": "object",
  31369. "properties": {
  31370. "Key": {
  31371. "description": "菜单KEY",
  31372. "type": "string"
  31373. },
  31374. "Label": {
  31375. "description": "菜单标题",
  31376. "type": "string"
  31377. }
  31378. }
  31379. },
  31380. "models.Patradelinkdetail": {
  31381. "type": "object",
  31382. "properties": {
  31383. "accountname": {
  31384. "description": "套期主体",
  31385. "type": "string"
  31386. },
  31387. "agreeunit": {
  31388. "description": "合约乘数",
  31389. "type": "number"
  31390. },
  31391. "amount": {
  31392. "description": "金额 = RelatedLot * TradePrice * AgreeUnit",
  31393. "type": "number"
  31394. },
  31395. "areauserid": {
  31396. "description": "所属机构",
  31397. "type": "integer"
  31398. },
  31399. "bizsubjectid": {
  31400. "description": "归属业务部门ID - SubjectID",
  31401. "type": "integer"
  31402. },
  31403. "buyorsell": {
  31404. "description": "方向 - 0:买 1:卖",
  31405. "type": "integer"
  31406. },
  31407. "convertratio": {
  31408. "description": "品种系数",
  31409. "type": "number"
  31410. },
  31411. "convertratiochange": {
  31412. "description": "套期商品变化量 = RelatedLot * AgreeUnit * ConvertRatio",
  31413. "type": "number"
  31414. },
  31415. "createtime": {
  31416. "description": "[日期时间]创建时间",
  31417. "type": "string"
  31418. },
  31419. "creatorid": {
  31420. "description": "创建人ID",
  31421. "type": "integer"
  31422. },
  31423. "creatorsrc": {
  31424. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  31425. "type": "integer"
  31426. },
  31427. "goodscode": {
  31428. "description": "商品代码(内部)",
  31429. "type": "string"
  31430. },
  31431. "goodsgroupid": {
  31432. "description": "对冲品种ID[期货合约商品组ID]",
  31433. "type": "integer"
  31434. },
  31435. "goodsid": {
  31436. "description": "商品ID",
  31437. "type": "integer"
  31438. },
  31439. "hedgeditemid": {
  31440. "description": "现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]",
  31441. "type": "integer"
  31442. },
  31443. "hedgeflag": {
  31444. "description": "投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目",
  31445. "type": "integer"
  31446. },
  31447. "linkdetailid": {
  31448. "description": "期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)",
  31449. "type": "string"
  31450. },
  31451. "linkstatus": {
  31452. "description": "关联状态 - 1:成功 2:失败 3:解绑",
  31453. "type": "integer"
  31454. },
  31455. "middlegoodsid": {
  31456. "description": "套保品种ID",
  31457. "type": "integer"
  31458. },
  31459. "name": {
  31460. "description": "账户名/子账户",
  31461. "type": "string"
  31462. },
  31463. "optioncode": {
  31464. "description": "[期货合约]期权代码 [期权]",
  31465. "type": "string"
  31466. },
  31467. "ordertype": {
  31468. "description": "单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单",
  31469. "type": "integer"
  31470. },
  31471. "relatedlot": {
  31472. "description": "[数量]关联手数",
  31473. "type": "number"
  31474. },
  31475. "relatedmode": {
  31476. "description": "关联方式 - 1:自动关联 2:手动关联 3:解绑关联",
  31477. "type": "integer"
  31478. },
  31479. "relatedqty": {
  31480. "description": "关联数量 = RelatedLot * AgreeUnit * ConvertRatio",
  31481. "type": "number"
  31482. },
  31483. "retcode": {
  31484. "description": "返回码",
  31485. "type": "integer"
  31486. },
  31487. "saleuserid": {
  31488. "description": "业务员ID",
  31489. "type": "integer"
  31490. },
  31491. "tradedate": {
  31492. "description": "关联交易日(yyyyMMdd)",
  31493. "type": "string"
  31494. },
  31495. "tradeid": {
  31496. "description": "[成交单号]内部成交单ID",
  31497. "type": "string"
  31498. },
  31499. "tradelot": {
  31500. "description": "成交手数",
  31501. "type": "integer"
  31502. },
  31503. "tradeprice": {
  31504. "description": "[价格]成交价格",
  31505. "type": "number"
  31506. },
  31507. "tradetradedate": {
  31508. "description": "成交交易日(yyyyMMdd)",
  31509. "type": "string"
  31510. }
  31511. }
  31512. },
  31513. "models.QhjAccountOutInApply": {
  31514. "type": "object",
  31515. "properties": {
  31516. "accountcode": {
  31517. "description": "资金账号",
  31518. "type": "string"
  31519. },
  31520. "accountname": {
  31521. "description": "用户名称(名称)",
  31522. "type": "string"
  31523. },
  31524. "accountpwd": {
  31525. "description": "资金密码",
  31526. "type": "string"
  31527. },
  31528. "accountticket": {
  31529. "description": "最新账户服务流水号",
  31530. "type": "string"
  31531. },
  31532. "amount": {
  31533. "description": "金额",
  31534. "type": "number"
  31535. },
  31536. "applyremark": {
  31537. "description": "申请备注",
  31538. "type": "string"
  31539. },
  31540. "applystatus": {
  31541. "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: 复审通过,账户冻结金额检查中;",
  31542. "type": "integer"
  31543. },
  31544. "auditid": {
  31545. "description": "审核人",
  31546. "type": "integer"
  31547. },
  31548. "audittime": {
  31549. "description": "审核时间",
  31550. "type": "string"
  31551. },
  31552. "bank_apply_ticket": {
  31553. "description": "银行申请流水",
  31554. "type": "string"
  31555. },
  31556. "bankaccountname": {
  31557. "description": "银行账户名",
  31558. "type": "string"
  31559. },
  31560. "bankaccountno": {
  31561. "description": "银行卡号",
  31562. "type": "string"
  31563. },
  31564. "bankid": {
  31565. "description": "银行编号",
  31566. "type": "string"
  31567. },
  31568. "bankticket": {
  31569. "description": "银行流水",
  31570. "type": "string"
  31571. },
  31572. "branchbankid": {
  31573. "description": "银行支行号",
  31574. "type": "string"
  31575. },
  31576. "branchbankname": {
  31577. "description": "银行支行名称",
  31578. "type": "string"
  31579. },
  31580. "capamountout": {
  31581. "description": "出金(劣后本金) - 外部子账户",
  31582. "type": "number"
  31583. },
  31584. "certificatephotourl": {
  31585. "description": "凭证地址",
  31586. "type": "string"
  31587. },
  31588. "charge": {
  31589. "description": "手续费",
  31590. "type": "number"
  31591. },
  31592. "checkerrorflag": {
  31593. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  31594. "type": "integer"
  31595. },
  31596. "currency": {
  31597. "description": "币种",
  31598. "type": "string"
  31599. },
  31600. "cusbankid": {
  31601. "description": "托管银行编号",
  31602. "type": "string"
  31603. },
  31604. "exchticket": {
  31605. "description": "银行服务流水号",
  31606. "type": "string"
  31607. },
  31608. "executetype": {
  31609. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  31610. "type": "integer"
  31611. },
  31612. "extendinfo": {
  31613. "description": "扩展信息",
  31614. "type": "string"
  31615. },
  31616. "extoperateid": {
  31617. "description": "交易服务流水号",
  31618. "type": "integer"
  31619. },
  31620. "infamount": {
  31621. "description": "劣后金额(自有)",
  31622. "type": "number"
  31623. },
  31624. "logincode": {
  31625. "description": "登录账号(账号)",
  31626. "type": "string"
  31627. },
  31628. "netaddr": {
  31629. "description": "调转网址",
  31630. "type": "string"
  31631. },
  31632. "priamount": {
  31633. "description": "优先金额(授信)",
  31634. "type": "number"
  31635. },
  31636. "reauditid": {
  31637. "description": "复审人",
  31638. "type": "integer"
  31639. },
  31640. "reauditremark": {
  31641. "description": "复审备注",
  31642. "type": "string"
  31643. },
  31644. "reaudittime": {
  31645. "description": "复审时间",
  31646. "type": "string"
  31647. },
  31648. "relatedorderid": {
  31649. "description": "三方关联ID",
  31650. "type": "string"
  31651. },
  31652. "remark": {
  31653. "description": "备注",
  31654. "type": "string"
  31655. },
  31656. "remark2": {
  31657. "description": "备注(失败原因)",
  31658. "type": "string"
  31659. },
  31660. "soucreamount": {
  31661. "description": "原始出入金金额",
  31662. "type": "number"
  31663. },
  31664. "soucrecurrencyid": {
  31665. "description": "原始出入金币种",
  31666. "type": "integer"
  31667. },
  31668. "tradedate": {
  31669. "description": "交易日(yyyyMMdd)",
  31670. "type": "string"
  31671. },
  31672. "updatetime": {
  31673. "description": "更新时间(申请时间)",
  31674. "type": "string"
  31675. },
  31676. "userid": {
  31677. "description": "用户id",
  31678. "type": "integer"
  31679. },
  31680. "userinfotype": {
  31681. "description": "账户类型 1-个人 2-企业",
  31682. "type": "integer"
  31683. }
  31684. }
  31685. },
  31686. "models.QhjAgreementChangeLog": {
  31687. "type": "object",
  31688. "properties": {
  31689. "agreementcontent": {
  31690. "description": "协议内容",
  31691. "type": "string"
  31692. },
  31693. "agreementfrequency": {
  31694. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  31695. "type": "integer"
  31696. },
  31697. "agreementid": {
  31698. "description": "协议ID",
  31699. "type": "integer"
  31700. },
  31701. "agreementname": {
  31702. "description": "协议名称",
  31703. "type": "string"
  31704. },
  31705. "agreementno": {
  31706. "description": "协议编号",
  31707. "type": "string"
  31708. },
  31709. "agreementtype": {
  31710. "description": "协议类型 - 1:注册 2:登录 3:交易",
  31711. "type": "integer"
  31712. },
  31713. "agreementversion": {
  31714. "description": "协议版本号",
  31715. "type": "integer"
  31716. },
  31717. "logid": {
  31718. "description": "流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)",
  31719. "type": "integer"
  31720. },
  31721. "reviserid": {
  31722. "description": "修改人",
  31723. "type": "integer"
  31724. },
  31725. "revisersrc": {
  31726. "description": "修改来源 - 1:管理端 2:终端",
  31727. "type": "integer"
  31728. },
  31729. "updatetime": {
  31730. "description": "更新时间",
  31731. "type": "string"
  31732. }
  31733. }
  31734. },
  31735. "models.QhjAgreementConfig": {
  31736. "type": "object",
  31737. "properties": {
  31738. "agreementcontent": {
  31739. "description": "协议内容",
  31740. "type": "string"
  31741. },
  31742. "agreementfrequency": {
  31743. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  31744. "type": "integer"
  31745. },
  31746. "agreementid": {
  31747. "description": "协议ID(SEQ_QHJ_AGREEMENTCONFIG)",
  31748. "type": "integer"
  31749. },
  31750. "agreementname": {
  31751. "description": "协议名称",
  31752. "type": "string"
  31753. },
  31754. "agreementno": {
  31755. "description": "协议编号",
  31756. "type": "string"
  31757. },
  31758. "agreementtype": {
  31759. "description": "协议类型 - 1:注册 2:登录 3:交易",
  31760. "type": "integer"
  31761. },
  31762. "agreementversion": {
  31763. "description": "协议版本号(从1开始每次修改加1)",
  31764. "type": "integer"
  31765. },
  31766. "createtime": {
  31767. "description": "创建时间",
  31768. "type": "string"
  31769. },
  31770. "creatorid": {
  31771. "description": "创建人",
  31772. "type": "integer"
  31773. },
  31774. "creatorsrc": {
  31775. "description": "创建来源 - 1:管理端 2:终端",
  31776. "type": "integer"
  31777. },
  31778. "isvalid": {
  31779. "description": "是否有效 - 是否有效 - 1:正常 2:停用 3:注销",
  31780. "type": "integer"
  31781. },
  31782. "reviserid": {
  31783. "description": "修改人",
  31784. "type": "integer"
  31785. },
  31786. "revisersrc": {
  31787. "description": "修改来源 - 1:管理端 2:终端",
  31788. "type": "integer"
  31789. },
  31790. "updatetime": {
  31791. "description": "更新时间",
  31792. "type": "string"
  31793. }
  31794. }
  31795. },
  31796. "models.QhjAreaFinanceConfig": {
  31797. "type": "object",
  31798. "properties": {
  31799. "additionalratio": {
  31800. "description": "追加款比例",
  31801. "type": "number"
  31802. },
  31803. "advanceratio": {
  31804. "description": "预付款比例",
  31805. "type": "number"
  31806. },
  31807. "alarmratio": {
  31808. "description": "告警比例",
  31809. "type": "number"
  31810. },
  31811. "consumptiondirectreward": {
  31812. "description": "消费直推奖励值",
  31813. "type": "number"
  31814. },
  31815. "consumptionenabled": {
  31816. "description": "是否启用消费奖励 - 0:不启用 1:启用",
  31817. "type": "integer"
  31818. },
  31819. "consumptionindirectreward": {
  31820. "description": "消费间推奖励值",
  31821. "type": "number"
  31822. },
  31823. "consumptionmodel": {
  31824. "description": "消费奖励方式 - 1:比率 2:固定",
  31825. "type": "integer"
  31826. },
  31827. "customerservicenum": {
  31828. "description": "客服电话",
  31829. "type": "string"
  31830. },
  31831. "dayinterestrate": {
  31832. "description": "日利率",
  31833. "type": "number"
  31834. },
  31835. "disableconsumptiontips": {
  31836. "description": "关闭消费奖励提示",
  31837. "type": "string"
  31838. },
  31839. "modifierid": {
  31840. "description": "修改人ID",
  31841. "type": "integer"
  31842. },
  31843. "modifysrc": {
  31844. "description": "审核来源 - 1:管理端 2:终端",
  31845. "type": "integer"
  31846. },
  31847. "modifytime": {
  31848. "description": "修改时间",
  31849. "type": "string"
  31850. },
  31851. "promotionvalue": {
  31852. "description": "推广奖励值(固定)",
  31853. "type": "number"
  31854. },
  31855. "scoreconfigvalue1": {
  31856. "description": "提货积分配置1",
  31857. "type": "integer"
  31858. },
  31859. "scoreconfigvalue2": {
  31860. "description": "提货积分配置2",
  31861. "type": "integer"
  31862. },
  31863. "userid": {
  31864. "description": "机构用户ID其他做市关系,都设置为 1",
  31865. "type": "integer"
  31866. },
  31867. "username": {
  31868. "description": "用户名称",
  31869. "type": "string"
  31870. }
  31871. }
  31872. },
  31873. "models.QhjBankAccountSign": {
  31874. "type": "object",
  31875. "properties": {
  31876. "accountcode": {
  31877. "description": "资金账号",
  31878. "type": "string"
  31879. },
  31880. "accountname": {
  31881. "description": "资金账号对应的账号名(UserName)",
  31882. "type": "string"
  31883. },
  31884. "accountname2": {
  31885. "description": "资金账号对应的账号名(UserName) - 密文",
  31886. "type": "string"
  31887. },
  31888. "accounttype": {
  31889. "description": "账户类型(UserType)",
  31890. "type": "integer"
  31891. },
  31892. "applicationtime": {
  31893. "description": "最后一次更新的时间",
  31894. "type": "string"
  31895. },
  31896. "applyexchticket": {
  31897. "description": "申请流水",
  31898. "type": "string"
  31899. },
  31900. "auditid": {
  31901. "description": "审核人",
  31902. "type": "integer"
  31903. },
  31904. "audittime": {
  31905. "description": "审核时间",
  31906. "type": "string"
  31907. },
  31908. "bankaccountname": {
  31909. "description": "签约银行卡账号名",
  31910. "type": "string"
  31911. },
  31912. "bankaccountname2": {
  31913. "description": "签约银行卡账号名 - 密文",
  31914. "type": "string"
  31915. },
  31916. "bankaccountno": {
  31917. "description": "银行卡号",
  31918. "type": "string"
  31919. },
  31920. "bankaccountno2": {
  31921. "description": "银行卡号 - 密文",
  31922. "type": "string"
  31923. },
  31924. "bankaccounttype": {
  31925. "description": "银行账户类型 - 1-对私; 2-对公",
  31926. "type": "integer"
  31927. },
  31928. "bankcardtype": {
  31929. "description": "银行卡类型",
  31930. "type": "integer"
  31931. },
  31932. "bankchildaccount": {
  31933. "description": "银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)",
  31934. "type": "string"
  31935. },
  31936. "bankcity": {
  31937. "description": "开户行城市",
  31938. "type": "string"
  31939. },
  31940. "bankid": {
  31941. "description": "签约银行ID",
  31942. "type": "string"
  31943. },
  31944. "bankname": {
  31945. "description": "签约银行名称",
  31946. "type": "string"
  31947. },
  31948. "bankprovince": {
  31949. "description": "开户行省份",
  31950. "type": "string"
  31951. },
  31952. "branchbankid": {
  31953. "description": "签约银行支行号",
  31954. "type": "string"
  31955. },
  31956. "branchbankname": {
  31957. "description": "签约银行支行名称",
  31958. "type": "string"
  31959. },
  31960. "cardno": {
  31961. "description": "证件号码",
  31962. "type": "string"
  31963. },
  31964. "cardno2": {
  31965. "description": "证件号码 - 密文",
  31966. "type": "string"
  31967. },
  31968. "cardtype": {
  31969. "description": "证件类型",
  31970. "type": "string"
  31971. },
  31972. "currency": {
  31973. "description": "币种",
  31974. "type": "string"
  31975. },
  31976. "cusbankid": {
  31977. "description": "托管银行编号",
  31978. "type": "string"
  31979. },
  31980. "direct": {
  31981. "description": "方向(可以判断那方先发起的签约)",
  31982. "type": "integer"
  31983. },
  31984. "exchticket": {
  31985. "description": "最后一次签约成功的流水号",
  31986. "type": "string"
  31987. },
  31988. "extendinfo": {
  31989. "description": "扩展信息(JSON字符串)",
  31990. "type": "string"
  31991. },
  31992. "mobilephone": {
  31993. "description": "手机号",
  31994. "type": "string"
  31995. },
  31996. "mobilephone2": {
  31997. "description": "手机号 - 密文",
  31998. "type": "string"
  31999. },
  32000. "netaddr": {
  32001. "description": "调转网址",
  32002. "type": "string"
  32003. },
  32004. "relateduserid": {
  32005. "description": "关联使用者userid",
  32006. "type": "integer"
  32007. },
  32008. "signstatus": {
  32009. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中 10:审核拒绝 11:换签待审核",
  32010. "type": "integer"
  32011. },
  32012. "updatetime": {
  32013. "description": "更新时间(签解约更新时间)",
  32014. "type": "string"
  32015. }
  32016. }
  32017. },
  32018. "models.QhjBankInfo": {
  32019. "type": "object",
  32020. "properties": {
  32021. "bankid": {
  32022. "description": "银行ID",
  32023. "type": "string"
  32024. },
  32025. "bankname": {
  32026. "description": "银行名称",
  32027. "type": "string"
  32028. },
  32029. "clearbankno": {
  32030. "description": "清算系统银行编号",
  32031. "type": "string"
  32032. },
  32033. "orderindex": {
  32034. "description": "排序顺序",
  32035. "type": "integer"
  32036. },
  32037. "status": {
  32038. "description": "状态 - 0:正常 1:注销",
  32039. "type": "integer"
  32040. }
  32041. }
  32042. },
  32043. "models.QhjBrokerApply": {
  32044. "type": "object",
  32045. "properties": {
  32046. "applicantid": {
  32047. "description": "申请人",
  32048. "type": "integer"
  32049. },
  32050. "applysrc": {
  32051. "description": "申请来源 - 1:管理端 2:终端",
  32052. "type": "integer"
  32053. },
  32054. "applystatus": {
  32055. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  32056. "type": "integer"
  32057. },
  32058. "applytime": {
  32059. "description": "申请时间",
  32060. "type": "string"
  32061. },
  32062. "auditorid": {
  32063. "description": "审核人",
  32064. "type": "integer"
  32065. },
  32066. "auditremark": {
  32067. "description": "审核备注",
  32068. "type": "string"
  32069. },
  32070. "auditsrc": {
  32071. "description": "审核来源 - 1:管理端 2:终端",
  32072. "type": "integer"
  32073. },
  32074. "audittime": {
  32075. "description": "审核时间",
  32076. "type": "string"
  32077. },
  32078. "audittradedate": {
  32079. "description": "审核交易日(yyyyMMdd)",
  32080. "type": "string"
  32081. },
  32082. "brokerapplyid": {
  32083. "description": "申请ID(SEQ_BROKERAPPLY)",
  32084. "type": "integer"
  32085. },
  32086. "cardbackphotourl": {
  32087. "description": "证件背面图片地址",
  32088. "type": "string"
  32089. },
  32090. "cardfrontphotourl": {
  32091. "description": "证件正面图片地址",
  32092. "type": "string"
  32093. },
  32094. "cardnum": {
  32095. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  32096. "type": "string"
  32097. },
  32098. "customername": {
  32099. "description": "姓名",
  32100. "type": "string"
  32101. },
  32102. "logincode": {
  32103. "description": "登录代码",
  32104. "type": "string"
  32105. },
  32106. "mobile": {
  32107. "description": "手机号码",
  32108. "type": "string"
  32109. },
  32110. "parentuserid": {
  32111. "description": "所属机构id",
  32112. "type": "integer"
  32113. },
  32114. "parentusername": {
  32115. "description": "所属机构名称",
  32116. "type": "string"
  32117. },
  32118. "refereeuserid": {
  32119. "description": "推荐人id(经纪人)",
  32120. "type": "integer"
  32121. },
  32122. "refernum": {
  32123. "description": "推荐码",
  32124. "type": "string"
  32125. },
  32126. "remark": {
  32127. "description": "备注",
  32128. "type": "string"
  32129. },
  32130. "subarealevelpath": {
  32131. "description": "层级路径",
  32132. "type": "string"
  32133. },
  32134. "tradedate": {
  32135. "description": "交易日(yyyyMMdd)",
  32136. "type": "string"
  32137. },
  32138. "userid": {
  32139. "description": "申请人用户ID",
  32140. "type": "integer"
  32141. },
  32142. "userinfotype": {
  32143. "description": "用户类型 1-个人 2-企业",
  32144. "type": "integer"
  32145. },
  32146. "username": {
  32147. "description": "用户名称",
  32148. "type": "string"
  32149. }
  32150. }
  32151. },
  32152. "models.QhjBrokerApplyEx": {
  32153. "type": "object",
  32154. "properties": {
  32155. "applylist": {
  32156. "description": "经纪人申请记录(只返回最新一条)",
  32157. "type": "array",
  32158. "items": {
  32159. "$ref": "#/definitions/models.QhjBrokerApply"
  32160. }
  32161. },
  32162. "canrecommend": {
  32163. "description": "是否经纪人 0-不是 1-是",
  32164. "type": "integer"
  32165. },
  32166. "refernum": {
  32167. "description": "推荐码",
  32168. "type": "string"
  32169. },
  32170. "userid": {
  32171. "description": "用户id",
  32172. "type": "integer"
  32173. },
  32174. "userinfotype": {
  32175. "description": "用户类型 1-个人 2-企业",
  32176. "type": "integer"
  32177. }
  32178. }
  32179. },
  32180. "models.QhjBrokerRewardLog": {
  32181. "type": "object",
  32182. "properties": {
  32183. "accountid": {
  32184. "description": "资金账号ID",
  32185. "type": "integer"
  32186. },
  32187. "createtime": {
  32188. "description": "创建时间(时间)",
  32189. "type": "string"
  32190. },
  32191. "handlestatus": {
  32192. "description": "处理状态",
  32193. "type": "integer"
  32194. },
  32195. "logid": {
  32196. "description": "奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  32197. "type": "string"
  32198. },
  32199. "marketid": {
  32200. "description": "市场ID",
  32201. "type": "integer"
  32202. },
  32203. "mmaccountid": {
  32204. "description": "做市商资金账号ID",
  32205. "type": "string"
  32206. },
  32207. "mmuserid": {
  32208. "description": "做市商用户ID",
  32209. "type": "string"
  32210. },
  32211. "rewardamount": {
  32212. "description": "奖励金额",
  32213. "type": "number"
  32214. },
  32215. "rewardmodel": {
  32216. "description": "消费奖励方式 - 1:比率 2:固定",
  32217. "type": "integer"
  32218. },
  32219. "rewardtype": {
  32220. "description": "奖励类型 - 1:推广 2:消费1级 3:消费2级",
  32221. "type": "integer"
  32222. },
  32223. "rewardvalue": {
  32224. "description": "配置奖励值",
  32225. "type": "number"
  32226. },
  32227. "srcamount": {
  32228. "description": "成交金额 [消费奖励] (金额)",
  32229. "type": "number"
  32230. },
  32231. "srcgoodsid": {
  32232. "description": "来源商品ID [消费奖励]",
  32233. "type": "string"
  32234. },
  32235. "srctime": {
  32236. "description": "来源时间 (成交时间) [消费奖励]",
  32237. "type": "string"
  32238. },
  32239. "srctradeid": {
  32240. "description": "来源成交单ID [消费奖励] - 排除提货成交",
  32241. "type": "string"
  32242. },
  32243. "srcuserid": {
  32244. "description": "来源用户ID(推广账户)",
  32245. "type": "string"
  32246. },
  32247. "srcusername": {
  32248. "description": "推广账户名称",
  32249. "type": "string"
  32250. },
  32251. "tradedate": {
  32252. "description": "交易日(yyyyMMdd)",
  32253. "type": "string"
  32254. },
  32255. "userid": {
  32256. "description": "经纪人用户ID",
  32257. "type": "integer"
  32258. }
  32259. }
  32260. },
  32261. "models.QhjContract": {
  32262. "type": "object",
  32263. "properties": {
  32264. "contractconfirmtime": {
  32265. "description": "合同确认时间(时间)",
  32266. "type": "string"
  32267. },
  32268. "currisklevel": {
  32269. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  32270. "type": "integer"
  32271. },
  32272. "decimalplace": {
  32273. "description": "商品报价小数位",
  32274. "type": "integer"
  32275. },
  32276. "enumdicname": {
  32277. "description": "单位名称",
  32278. "type": "string"
  32279. },
  32280. "goodscode": {
  32281. "description": "商品代码",
  32282. "type": "string"
  32283. },
  32284. "goodsid": {
  32285. "description": "商品ID [5:融资单]",
  32286. "type": "integer"
  32287. },
  32288. "goodsname": {
  32289. "description": "商品名称",
  32290. "type": "string"
  32291. },
  32292. "goodunitid": {
  32293. "description": "商品单位id",
  32294. "type": "integer"
  32295. },
  32296. "initmargin": {
  32297. "description": "初始保证金(首付款)",
  32298. "type": "number"
  32299. },
  32300. "lenderamount": {
  32301. "description": "贷款金额(总额|订单总额)",
  32302. "type": "number"
  32303. },
  32304. "marginratio": {
  32305. "description": "保证金比率(首付比例)",
  32306. "type": "number"
  32307. },
  32308. "payamount": {
  32309. "description": "已付(已付货款)",
  32310. "type": "number"
  32311. },
  32312. "reckonrecovermargin": {
  32313. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  32314. "type": "number"
  32315. },
  32316. "recoveredmargin": {
  32317. "description": "已追缴保证金",
  32318. "type": "number"
  32319. },
  32320. "remainamount": {
  32321. "description": "合同剩余金额(融资额)",
  32322. "type": "number"
  32323. },
  32324. "scfcontractid": {
  32325. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  32326. "type": "string"
  32327. },
  32328. "scfcontractstatus": {
  32329. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  32330. "type": "integer"
  32331. },
  32332. "scfcontracttype": {
  32333. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  32334. "type": "integer"
  32335. },
  32336. "totalinterest": {
  32337. "description": "已计总利息(利息)",
  32338. "type": "number"
  32339. },
  32340. "tradeprice": {
  32341. "description": "成交价格(成本价格)",
  32342. "type": "number"
  32343. },
  32344. "userid": {
  32345. "description": "用户ID",
  32346. "type": "integer"
  32347. },
  32348. "username": {
  32349. "description": "用户名称",
  32350. "type": "string"
  32351. },
  32352. "wrqty": {
  32353. "description": "仓单数量(数量)",
  32354. "type": "number"
  32355. }
  32356. }
  32357. },
  32358. "models.QhjContractLog": {
  32359. "type": "object",
  32360. "properties": {
  32361. "amount": {
  32362. "description": "支付金额",
  32363. "type": "number"
  32364. },
  32365. "amounttype": {
  32366. "description": "资金类型 - 1:首付款 2:尾款 3:利息 4:追加款",
  32367. "type": "integer"
  32368. },
  32369. "logid": {
  32370. "description": "LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  32371. "type": "string"
  32372. },
  32373. "remainamount": {
  32374. "description": "剩余货款",
  32375. "type": "number"
  32376. },
  32377. "scfcontractid": {
  32378. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  32379. "type": "integer"
  32380. },
  32381. "updatetime": {
  32382. "description": "更新时间",
  32383. "type": "string"
  32384. }
  32385. }
  32386. },
  32387. "models.QhjCusBankSignBankEx": {
  32388. "type": "object",
  32389. "properties": {
  32390. "banklst": {
  32391. "description": "银行列表",
  32392. "type": "array",
  32393. "items": {
  32394. "$ref": "#/definitions/models.QhjBankInfo"
  32395. }
  32396. },
  32397. "canallot": {
  32398. "description": "是否支持跨行调拨 - 0:不支持 1:支持",
  32399. "type": "integer"
  32400. },
  32401. "canallotquery": {
  32402. "description": "是否支持跨行调拨查询 - 0:不支持 1:支持",
  32403. "type": "integer"
  32404. },
  32405. "canbindcard": {
  32406. "description": "是否可绑卡与解卡 - 0:不可 1:可以",
  32407. "type": "integer"
  32408. },
  32409. "caninamount": {
  32410. "description": "是否可入金 - 0:不可 1:可以",
  32411. "type": "integer"
  32412. },
  32413. "caninamount2": {
  32414. "description": "是否可入金(网银端) - 0:不可 1:可以",
  32415. "type": "integer"
  32416. },
  32417. "canmodifybankcard": {
  32418. "description": "是否可修改银行卡号 - 0:不可 1:可以",
  32419. "type": "integer"
  32420. },
  32421. "canmodifyphone": {
  32422. "description": "是否可修改手机号 - 0:不可 1:可以",
  32423. "type": "integer"
  32424. },
  32425. "canmodifysigninfo": {
  32426. "description": "是否可修改签约信息 - 0:不可 1:可以",
  32427. "type": "integer"
  32428. },
  32429. "canoutamount": {
  32430. "description": "是否可出金 - 0:不可 1:可以",
  32431. "type": "integer"
  32432. },
  32433. "canoutamount2": {
  32434. "description": "是否可出金(网银端) - 0:不可 1:可以",
  32435. "type": "integer"
  32436. },
  32437. "canrelease": {
  32438. "description": "是否可解约 - 0:不可 1:可以",
  32439. "type": "integer"
  32440. },
  32441. "canrelease2": {
  32442. "description": "是否可解约(网银端) - 0:不可 1:可以",
  32443. "type": "integer"
  32444. },
  32445. "cansign": {
  32446. "description": "是否可签约 - 0:不可 1:可以",
  32447. "type": "integer"
  32448. },
  32449. "cansign2": {
  32450. "description": "是否可签约(网银端) - 0:不可 1:可以",
  32451. "type": "integer"
  32452. },
  32453. "currency": {
  32454. "description": "币种",
  32455. "type": "string"
  32456. },
  32457. "cusbankid": {
  32458. "description": "托管银行编号(对应清算中心TRAN_NO)",
  32459. "type": "string"
  32460. },
  32461. "cusbankname": {
  32462. "description": "银行业务名称",
  32463. "type": "string"
  32464. },
  32465. "cusbankshortname": {
  32466. "description": "银行业务简称",
  32467. "type": "string"
  32468. },
  32469. "exchbankid": {
  32470. "description": "交易所开户银行ID",
  32471. "type": "string"
  32472. },
  32473. "exchpaybankaccname": {
  32474. "description": "交易所支出结算账户户名",
  32475. "type": "string"
  32476. },
  32477. "exchpaybankaccno": {
  32478. "description": "交易所支出结算账户",
  32479. "type": "string"
  32480. },
  32481. "isneedcheck": {
  32482. "description": "是否需要对账 - 0:需要 1:不需要 [不需要界面配置]",
  32483. "type": "integer"
  32484. },
  32485. "isneedclear": {
  32486. "description": "是否需要清算 - 0:不需要 1:需要",
  32487. "type": "integer"
  32488. },
  32489. "lastcheckstatus": {
  32490. "description": "最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败",
  32491. "type": "integer"
  32492. },
  32493. "lastchecktime": {
  32494. "description": "最后对账时间",
  32495. "type": "string"
  32496. },
  32497. "lastclearstatus": {
  32498. "description": "最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功",
  32499. "type": "integer"
  32500. },
  32501. "lastcleartime": {
  32502. "description": "最后清算时间",
  32503. "type": "string"
  32504. },
  32505. "lastsignintime": {
  32506. "description": "最后签到时间",
  32507. "type": "string"
  32508. },
  32509. "lastsignouttime": {
  32510. "description": "最后签退时间",
  32511. "type": "string"
  32512. },
  32513. "riskinfo": {
  32514. "description": "签约风险提示书",
  32515. "type": "string"
  32516. },
  32517. "signstatus": {
  32518. "description": "当前签到/签退状态 - 1:签到 2:签退",
  32519. "type": "integer"
  32520. },
  32521. "tradedate": {
  32522. "description": "交易日(yyyyMMdd)",
  32523. "type": "string"
  32524. },
  32525. "updatetime": {
  32526. "description": "当前签到/签退更新时间",
  32527. "type": "string"
  32528. }
  32529. }
  32530. },
  32531. "models.QhjCustomer": {
  32532. "type": "object",
  32533. "properties": {
  32534. "address": {
  32535. "description": "通讯地址",
  32536. "type": "string"
  32537. },
  32538. "attachment1": {
  32539. "description": "附件1",
  32540. "type": "string"
  32541. },
  32542. "attachment2": {
  32543. "description": "附件2",
  32544. "type": "string"
  32545. },
  32546. "audittime": {
  32547. "description": "审核时间",
  32548. "type": "string"
  32549. },
  32550. "cardbackphotourl": {
  32551. "description": "证件反面图片地址",
  32552. "type": "string"
  32553. },
  32554. "cardfrontphotourl": {
  32555. "description": "证件正面图片地址",
  32556. "type": "string"
  32557. },
  32558. "cardnum": {
  32559. "description": "证件号码",
  32560. "type": "string"
  32561. },
  32562. "cardtype": {
  32563. "description": "证件类型",
  32564. "type": "integer"
  32565. },
  32566. "cardtypename": {
  32567. "description": "证件类型名称",
  32568. "type": "string"
  32569. },
  32570. "cityid": {
  32571. "description": "市",
  32572. "type": "integer"
  32573. },
  32574. "cityname": {
  32575. "description": "城市名称",
  32576. "type": "string"
  32577. },
  32578. "contactname": {
  32579. "description": "联系人",
  32580. "type": "string"
  32581. },
  32582. "countryid": {
  32583. "description": "国家",
  32584. "type": "integer"
  32585. },
  32586. "countryname": {
  32587. "description": "国家名称",
  32588. "type": "string"
  32589. },
  32590. "createtime": {
  32591. "description": "创建时间",
  32592. "type": "string"
  32593. },
  32594. "customername": {
  32595. "description": "客户名称",
  32596. "type": "string"
  32597. },
  32598. "districtid": {
  32599. "description": "区域",
  32600. "type": "integer"
  32601. },
  32602. "districtname": {
  32603. "description": "地区名称",
  32604. "type": "string"
  32605. },
  32606. "email": {
  32607. "description": "邮件",
  32608. "type": "string"
  32609. },
  32610. "legalpersonname": {
  32611. "description": "法人姓名(企业)",
  32612. "type": "string"
  32613. },
  32614. "logincode": {
  32615. "description": "登录账号(代码)",
  32616. "type": "string"
  32617. },
  32618. "memberuserid": {
  32619. "description": "所属机构ID(所属会员)",
  32620. "type": "integer"
  32621. },
  32622. "memberusername": {
  32623. "description": "所属会员名称",
  32624. "type": "string"
  32625. },
  32626. "mobile": {
  32627. "description": "手机号码",
  32628. "type": "string"
  32629. },
  32630. "modifytime": {
  32631. "description": "修改时间",
  32632. "type": "string"
  32633. },
  32634. "nickname": {
  32635. "description": "昵称",
  32636. "type": "string"
  32637. },
  32638. "parentuserid": {
  32639. "description": "上级机构(所属机构)",
  32640. "type": "integer"
  32641. },
  32642. "parentusername": {
  32643. "description": "所属机构名称",
  32644. "type": "string"
  32645. },
  32646. "provinceid": {
  32647. "description": "省",
  32648. "type": "integer"
  32649. },
  32650. "provincename": {
  32651. "description": "省名称",
  32652. "type": "string"
  32653. },
  32654. "proxystatementurl": {
  32655. "description": "授权委托书",
  32656. "type": "string"
  32657. },
  32658. "remark": {
  32659. "description": "备注",
  32660. "type": "string"
  32661. },
  32662. "status": {
  32663. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  32664. "type": "integer"
  32665. },
  32666. "statusdesc": {
  32667. "description": "账户状态中文描述",
  32668. "type": "string"
  32669. },
  32670. "taxpayernum": {
  32671. "description": "纳税人识别号",
  32672. "type": "string"
  32673. },
  32674. "telphone": {
  32675. "description": "联系电话",
  32676. "type": "string"
  32677. },
  32678. "userid": {
  32679. "description": "用户ID",
  32680. "type": "integer"
  32681. },
  32682. "userinfotype": {
  32683. "description": "客户类型 1-个人 2-企业",
  32684. "type": "integer"
  32685. },
  32686. "username": {
  32687. "description": "用户名称",
  32688. "type": "string"
  32689. }
  32690. }
  32691. },
  32692. "models.QhjCustomerSignLog": {
  32693. "type": "object",
  32694. "properties": {
  32695. "agreementcontent": {
  32696. "description": "协议内容",
  32697. "type": "string"
  32698. },
  32699. "agreementid": {
  32700. "description": "协议ID",
  32701. "type": "integer"
  32702. },
  32703. "agreementname": {
  32704. "description": "协议名称",
  32705. "type": "string"
  32706. },
  32707. "agreementno": {
  32708. "description": "协议编号",
  32709. "type": "string"
  32710. },
  32711. "agreementtype": {
  32712. "description": "协议类型 - 1:注册 2:登录 3:交易",
  32713. "type": "integer"
  32714. },
  32715. "agreementversion": {
  32716. "description": "协议版本号",
  32717. "type": "integer"
  32718. },
  32719. "createtime": {
  32720. "description": "创建时间",
  32721. "type": "string"
  32722. },
  32723. "goodscode": {
  32724. "description": "商品代码",
  32725. "type": "string"
  32726. },
  32727. "goodsid": {
  32728. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  32729. "type": "integer"
  32730. },
  32731. "goodsname": {
  32732. "description": "商品名称",
  32733. "type": "string"
  32734. },
  32735. "logid": {
  32736. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  32737. "type": "integer"
  32738. },
  32739. "nodetype": {
  32740. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  32741. "type": "integer"
  32742. },
  32743. "signadressurl": {
  32744. "description": "签约文件地址",
  32745. "type": "string"
  32746. },
  32747. "signtimestamp": {
  32748. "description": "签约状态时间戳",
  32749. "type": "string"
  32750. },
  32751. "userid": {
  32752. "description": "客户ID",
  32753. "type": "integer"
  32754. },
  32755. "username": {
  32756. "description": "客户名称",
  32757. "type": "string"
  32758. }
  32759. }
  32760. },
  32761. "models.QhjCustomerSignStatus": {
  32762. "type": "object",
  32763. "properties": {
  32764. "createtime": {
  32765. "description": "创建时间",
  32766. "type": "string"
  32767. },
  32768. "goodscode": {
  32769. "description": "商品代码",
  32770. "type": "string"
  32771. },
  32772. "goodsid": {
  32773. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  32774. "type": "integer"
  32775. },
  32776. "goodsname": {
  32777. "description": "商品名称",
  32778. "type": "string"
  32779. },
  32780. "nodetype": {
  32781. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  32782. "type": "integer"
  32783. },
  32784. "signtimestamp": {
  32785. "description": "签约状态时间戳",
  32786. "type": "string"
  32787. },
  32788. "tradedate": {
  32789. "description": "创建交易日(yyyyMMdd)",
  32790. "type": "string"
  32791. },
  32792. "updatetime": {
  32793. "description": "更新时间",
  32794. "type": "string"
  32795. },
  32796. "userid": {
  32797. "description": "客户ID",
  32798. "type": "integer"
  32799. },
  32800. "username": {
  32801. "description": "客户名称",
  32802. "type": "string"
  32803. }
  32804. }
  32805. },
  32806. "models.QhjMgrAccountOutInApply": {
  32807. "type": "object",
  32808. "properties": {
  32809. "accountcode": {
  32810. "description": "资金账号",
  32811. "type": "string"
  32812. },
  32813. "accountname": {
  32814. "description": "用户名称(名称)",
  32815. "type": "string"
  32816. },
  32817. "accountpwd": {
  32818. "description": "资金密码",
  32819. "type": "string"
  32820. },
  32821. "accountticket": {
  32822. "description": "最新账户服务流水号",
  32823. "type": "string"
  32824. },
  32825. "amount": {
  32826. "description": "金额",
  32827. "type": "number"
  32828. },
  32829. "applyremark": {
  32830. "description": "申请备注",
  32831. "type": "string"
  32832. },
  32833. "applystatus": {
  32834. "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: 复审通过,账户冻结金额检查中;",
  32835. "type": "integer"
  32836. },
  32837. "auditid": {
  32838. "description": "审核人",
  32839. "type": "integer"
  32840. },
  32841. "audittime": {
  32842. "description": "审核时间",
  32843. "type": "string"
  32844. },
  32845. "bank_apply_ticket": {
  32846. "description": "银行申请流水",
  32847. "type": "string"
  32848. },
  32849. "bankaccountname": {
  32850. "description": "银行账户名",
  32851. "type": "string"
  32852. },
  32853. "bankaccountno": {
  32854. "description": "银行卡号",
  32855. "type": "string"
  32856. },
  32857. "bankid": {
  32858. "description": "银行编号",
  32859. "type": "string"
  32860. },
  32861. "bankname": {
  32862. "description": "银行名称",
  32863. "type": "string"
  32864. },
  32865. "bankticket": {
  32866. "description": "银行流水",
  32867. "type": "string"
  32868. },
  32869. "branchbankid": {
  32870. "description": "银行支行号",
  32871. "type": "string"
  32872. },
  32873. "branchbankname": {
  32874. "description": "银行支行名称",
  32875. "type": "string"
  32876. },
  32877. "capamountout": {
  32878. "description": "出金(劣后本金) - 外部子账户",
  32879. "type": "number"
  32880. },
  32881. "certificatephotourl": {
  32882. "description": "凭证地址",
  32883. "type": "string"
  32884. },
  32885. "charge": {
  32886. "description": "手续费",
  32887. "type": "number"
  32888. },
  32889. "checkerrorflag": {
  32890. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  32891. "type": "integer"
  32892. },
  32893. "currency": {
  32894. "description": "币种",
  32895. "type": "string"
  32896. },
  32897. "cusbankid": {
  32898. "description": "托管银行编号",
  32899. "type": "string"
  32900. },
  32901. "exchticket": {
  32902. "description": "银行服务流水号",
  32903. "type": "string"
  32904. },
  32905. "executetype": {
  32906. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  32907. "type": "integer"
  32908. },
  32909. "extendinfo": {
  32910. "description": "扩展信息",
  32911. "type": "string"
  32912. },
  32913. "extoperateid": {
  32914. "description": "交易服务流水号",
  32915. "type": "integer"
  32916. },
  32917. "infamount": {
  32918. "description": "劣后金额(自有)",
  32919. "type": "number"
  32920. },
  32921. "logincode": {
  32922. "description": "登录账号(账号)",
  32923. "type": "string"
  32924. },
  32925. "netaddr": {
  32926. "description": "调转网址",
  32927. "type": "string"
  32928. },
  32929. "priamount": {
  32930. "description": "优先金额(授信)",
  32931. "type": "number"
  32932. },
  32933. "reauditid": {
  32934. "description": "复审人",
  32935. "type": "integer"
  32936. },
  32937. "reauditremark": {
  32938. "description": "复审备注",
  32939. "type": "string"
  32940. },
  32941. "reaudittime": {
  32942. "description": "复审时间",
  32943. "type": "string"
  32944. },
  32945. "relatedorderid": {
  32946. "description": "三方关联ID",
  32947. "type": "string"
  32948. },
  32949. "remark": {
  32950. "description": "备注",
  32951. "type": "string"
  32952. },
  32953. "remark2": {
  32954. "description": "备注(失败原因)",
  32955. "type": "string"
  32956. },
  32957. "soucreamount": {
  32958. "description": "原始出入金金额",
  32959. "type": "number"
  32960. },
  32961. "soucrecurrencyid": {
  32962. "description": "原始出入金币种",
  32963. "type": "integer"
  32964. },
  32965. "tradedate": {
  32966. "description": "交易日(yyyyMMdd)",
  32967. "type": "string"
  32968. },
  32969. "updatetime": {
  32970. "description": "更新时间(申请时间)",
  32971. "type": "string"
  32972. },
  32973. "userid": {
  32974. "description": "用户id",
  32975. "type": "integer"
  32976. },
  32977. "userinfotype": {
  32978. "description": "账户类型 1-个人 2-企业",
  32979. "type": "integer"
  32980. }
  32981. }
  32982. },
  32983. "models.QhjMgrBrokerApply": {
  32984. "type": "object",
  32985. "properties": {
  32986. "applicantid": {
  32987. "description": "申请人",
  32988. "type": "integer"
  32989. },
  32990. "applysrc": {
  32991. "description": "申请来源 - 1:管理端 2:终端",
  32992. "type": "integer"
  32993. },
  32994. "applystatus": {
  32995. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  32996. "type": "integer"
  32997. },
  32998. "applytime": {
  32999. "description": "申请时间",
  33000. "type": "string"
  33001. },
  33002. "auditorid": {
  33003. "description": "审核人",
  33004. "type": "integer"
  33005. },
  33006. "auditremark": {
  33007. "description": "审核备注",
  33008. "type": "string"
  33009. },
  33010. "auditsrc": {
  33011. "description": "审核来源 - 1:管理端 2:终端",
  33012. "type": "integer"
  33013. },
  33014. "audittime": {
  33015. "description": "审核时间",
  33016. "type": "string"
  33017. },
  33018. "audittradedate": {
  33019. "description": "审核交易日(yyyyMMdd)",
  33020. "type": "string"
  33021. },
  33022. "brokerapplyid": {
  33023. "description": "申请ID(SEQ_BROKERAPPLY)",
  33024. "type": "integer"
  33025. },
  33026. "cardbackphotourl": {
  33027. "description": "证件背面图片地址",
  33028. "type": "string"
  33029. },
  33030. "cardfrontphotourl": {
  33031. "description": "证件正面图片地址",
  33032. "type": "string"
  33033. },
  33034. "cardnum": {
  33035. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  33036. "type": "string"
  33037. },
  33038. "customername": {
  33039. "description": "姓名",
  33040. "type": "string"
  33041. },
  33042. "filterstatus": {
  33043. "description": "筛选条件",
  33044. "type": "string"
  33045. },
  33046. "logincode": {
  33047. "description": "登录代码",
  33048. "type": "string"
  33049. },
  33050. "mobile": {
  33051. "description": "手机号码",
  33052. "type": "string"
  33053. },
  33054. "parentuserid": {
  33055. "description": "所属机构id",
  33056. "type": "integer"
  33057. },
  33058. "parentusername": {
  33059. "description": "所属机构名称",
  33060. "type": "string"
  33061. },
  33062. "refereeuserid": {
  33063. "description": "推荐人id(经纪人)",
  33064. "type": "integer"
  33065. },
  33066. "refernum": {
  33067. "description": "推荐码",
  33068. "type": "string"
  33069. },
  33070. "remark": {
  33071. "description": "备注",
  33072. "type": "string"
  33073. },
  33074. "subarealevelpath": {
  33075. "description": "层级路径",
  33076. "type": "string"
  33077. },
  33078. "tradedate": {
  33079. "description": "交易日(yyyyMMdd)",
  33080. "type": "string"
  33081. },
  33082. "userid": {
  33083. "description": "申请人用户ID",
  33084. "type": "integer"
  33085. },
  33086. "userinfotype": {
  33087. "description": "用户类型 1-个人 2-企业",
  33088. "type": "integer"
  33089. },
  33090. "username": {
  33091. "description": "用户名称",
  33092. "type": "string"
  33093. }
  33094. }
  33095. },
  33096. "models.QhjMgrBrokerRewardReport": {
  33097. "type": "object",
  33098. "properties": {
  33099. "createtime": {
  33100. "description": "创建时间(注册时间)",
  33101. "type": "string"
  33102. },
  33103. "cycletime": {
  33104. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】",
  33105. "type": "string"
  33106. },
  33107. "cycletype": {
  33108. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  33109. "type": "integer"
  33110. },
  33111. "directtotalnum": {
  33112. "description": "直推总人数【期末】",
  33113. "type": "integer"
  33114. },
  33115. "indirecttotalnum": {
  33116. "description": "间推总人数【期末】",
  33117. "type": "integer"
  33118. },
  33119. "mobile": {
  33120. "description": "电话号码",
  33121. "type": "string"
  33122. },
  33123. "refereeuserid": {
  33124. "description": "推荐人id(经纪人id)",
  33125. "type": "integer"
  33126. },
  33127. "refereeusername": {
  33128. "description": "推荐人名称(经纪人) 上级经纪人名称",
  33129. "type": "string"
  33130. },
  33131. "refernum": {
  33132. "description": "推荐码",
  33133. "type": "string"
  33134. },
  33135. "subarealevelpath": {
  33136. "description": "用户层级路径",
  33137. "type": "string"
  33138. },
  33139. "todayrewardamount": {
  33140. "description": "奖励总金额【汇总】",
  33141. "type": "number"
  33142. },
  33143. "updatetime": {
  33144. "description": "更新时间",
  33145. "type": "string"
  33146. },
  33147. "userid": {
  33148. "description": "经纪人用户ID",
  33149. "type": "integer"
  33150. },
  33151. "userinfotype": {
  33152. "description": "用户类型 1-个人 2-企业",
  33153. "type": "integer"
  33154. },
  33155. "username": {
  33156. "description": "用户名称",
  33157. "type": "string"
  33158. }
  33159. }
  33160. },
  33161. "models.QhjMgrContract": {
  33162. "type": "object",
  33163. "properties": {
  33164. "contractconfirmtime": {
  33165. "description": "合同确认时间(时间)",
  33166. "type": "string"
  33167. },
  33168. "currisklevel": {
  33169. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  33170. "type": "integer"
  33171. },
  33172. "decimalplace": {
  33173. "description": "商品报价小数位",
  33174. "type": "integer"
  33175. },
  33176. "enumdicname": {
  33177. "description": "单位名称",
  33178. "type": "string"
  33179. },
  33180. "goodscode": {
  33181. "description": "商品代码",
  33182. "type": "string"
  33183. },
  33184. "goodsid": {
  33185. "description": "商品ID [5:融资单]",
  33186. "type": "integer"
  33187. },
  33188. "goodsname": {
  33189. "description": "商品名称",
  33190. "type": "string"
  33191. },
  33192. "goodunitid": {
  33193. "description": "商品单位id",
  33194. "type": "integer"
  33195. },
  33196. "initmargin": {
  33197. "description": "初始保证金(首付款)",
  33198. "type": "number"
  33199. },
  33200. "lenderamount": {
  33201. "description": "贷款金额(总额|订单总额)",
  33202. "type": "number"
  33203. },
  33204. "logincode": {
  33205. "description": "账号(登录代码)",
  33206. "type": "string"
  33207. },
  33208. "marginratio": {
  33209. "description": "保证金比率(首付比例)",
  33210. "type": "number"
  33211. },
  33212. "mobile": {
  33213. "description": "电话号码(用户资料里的电话)",
  33214. "type": "string"
  33215. },
  33216. "payamount": {
  33217. "description": "已付(已付货款)",
  33218. "type": "number"
  33219. },
  33220. "reckonrecovermargin": {
  33221. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  33222. "type": "number"
  33223. },
  33224. "recoveredmargin": {
  33225. "description": "已追缴保证金",
  33226. "type": "number"
  33227. },
  33228. "remainamount": {
  33229. "description": "合同剩余金额(融资额)",
  33230. "type": "number"
  33231. },
  33232. "scfcontractid": {
  33233. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  33234. "type": "string"
  33235. },
  33236. "scfcontractstatus": {
  33237. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  33238. "type": "integer"
  33239. },
  33240. "scfcontracttype": {
  33241. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  33242. "type": "integer"
  33243. },
  33244. "totalinterest": {
  33245. "description": "已计总利息(利息)",
  33246. "type": "number"
  33247. },
  33248. "tradedate": {
  33249. "description": "交易日",
  33250. "type": "string"
  33251. },
  33252. "tradeprice": {
  33253. "description": "成交价格(成本价格)",
  33254. "type": "number"
  33255. },
  33256. "userid": {
  33257. "description": "用户ID",
  33258. "type": "integer"
  33259. },
  33260. "userinfotype": {
  33261. "description": "用户类型 1-个人 2-企业",
  33262. "type": "integer"
  33263. },
  33264. "username": {
  33265. "description": "用户名称",
  33266. "type": "string"
  33267. },
  33268. "wrqty": {
  33269. "description": "仓单数量(数量)",
  33270. "type": "number"
  33271. }
  33272. }
  33273. },
  33274. "models.QhjMgrCustomer": {
  33275. "type": "object",
  33276. "properties": {
  33277. "address": {
  33278. "description": "通讯地址",
  33279. "type": "string"
  33280. },
  33281. "attachment1": {
  33282. "description": "附件1",
  33283. "type": "string"
  33284. },
  33285. "audittime": {
  33286. "description": "审核时间",
  33287. "type": "string"
  33288. },
  33289. "birthday": {
  33290. "description": "生日",
  33291. "type": "string"
  33292. },
  33293. "brokerid": {
  33294. "description": "所属客户经理id",
  33295. "type": "integer"
  33296. },
  33297. "brokername": {
  33298. "description": "所属客户经理名称",
  33299. "type": "string"
  33300. },
  33301. "cardbackphotourl": {
  33302. "description": "证件反面图片地址",
  33303. "type": "string"
  33304. },
  33305. "cardfrontphotourl": {
  33306. "description": "证件正面图片地址",
  33307. "type": "string"
  33308. },
  33309. "cardnum": {
  33310. "description": "证件号码",
  33311. "type": "string"
  33312. },
  33313. "cardtype": {
  33314. "description": "证件类型",
  33315. "type": "integer"
  33316. },
  33317. "cardtypename": {
  33318. "description": "证件类型名称",
  33319. "type": "string"
  33320. },
  33321. "cityid": {
  33322. "description": "市",
  33323. "type": "integer"
  33324. },
  33325. "cityname": {
  33326. "description": "城市名称",
  33327. "type": "string"
  33328. },
  33329. "contactname": {
  33330. "description": "联系人",
  33331. "type": "string"
  33332. },
  33333. "countryid": {
  33334. "description": "国家",
  33335. "type": "integer"
  33336. },
  33337. "countryname": {
  33338. "description": "国家名称",
  33339. "type": "string"
  33340. },
  33341. "createtime": {
  33342. "description": "创建时间",
  33343. "type": "string"
  33344. },
  33345. "customername": {
  33346. "description": "客户名称",
  33347. "type": "string"
  33348. },
  33349. "districtid": {
  33350. "description": "区域",
  33351. "type": "integer"
  33352. },
  33353. "districtname": {
  33354. "description": "地区名称",
  33355. "type": "string"
  33356. },
  33357. "email": {
  33358. "description": "邮件",
  33359. "type": "string"
  33360. },
  33361. "legalpersonname": {
  33362. "description": "法人姓名(企业)",
  33363. "type": "string"
  33364. },
  33365. "logincode": {
  33366. "description": "登录账号(代码)",
  33367. "type": "string"
  33368. },
  33369. "memberuserid": {
  33370. "description": "所属机构ID(所属会员)",
  33371. "type": "integer"
  33372. },
  33373. "memberusername": {
  33374. "description": "所属会员名称",
  33375. "type": "string"
  33376. },
  33377. "mobile": {
  33378. "description": "手机号码",
  33379. "type": "string"
  33380. },
  33381. "modifytime": {
  33382. "description": "修改时间",
  33383. "type": "string"
  33384. },
  33385. "nickname": {
  33386. "description": "昵称",
  33387. "type": "string"
  33388. },
  33389. "parentuserid": {
  33390. "description": "上级机构(所属机构)",
  33391. "type": "integer"
  33392. },
  33393. "parentusername": {
  33394. "description": "所属机构名称",
  33395. "type": "string"
  33396. },
  33397. "provinceid": {
  33398. "description": "省",
  33399. "type": "integer"
  33400. },
  33401. "provincename": {
  33402. "description": "省名称",
  33403. "type": "string"
  33404. },
  33405. "proxystatementurl": {
  33406. "description": "授权委托书",
  33407. "type": "string"
  33408. },
  33409. "querytype": {
  33410. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  33411. "type": "integer"
  33412. },
  33413. "remark": {
  33414. "description": "备注",
  33415. "type": "string"
  33416. },
  33417. "sex": {
  33418. "description": "性别 0-女 1-男",
  33419. "type": "integer"
  33420. },
  33421. "status": {
  33422. "description": "开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过 ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  33423. "type": "integer"
  33424. },
  33425. "statusdesc": {
  33426. "description": "账户状态中文描述",
  33427. "type": "string"
  33428. },
  33429. "taxpayernum": {
  33430. "description": "纳税人识别号",
  33431. "type": "string"
  33432. },
  33433. "telphone": {
  33434. "description": "联系电话",
  33435. "type": "string"
  33436. },
  33437. "userid": {
  33438. "description": "用户ID",
  33439. "type": "integer"
  33440. },
  33441. "userinfotype": {
  33442. "description": "客户类型 1-个人 2-企业",
  33443. "type": "integer"
  33444. },
  33445. "username": {
  33446. "description": "用户名称",
  33447. "type": "string"
  33448. }
  33449. }
  33450. },
  33451. "models.QhjMgrPickGoods": {
  33452. "type": "object",
  33453. "properties": {
  33454. "enumdicname": {
  33455. "description": "单位名称(提货商品)",
  33456. "type": "string"
  33457. },
  33458. "goodsid": {
  33459. "description": "商品id",
  33460. "type": "integer"
  33461. },
  33462. "imageaddress": {
  33463. "description": "图片",
  33464. "type": "string"
  33465. },
  33466. "modifierid": {
  33467. "description": "修改人",
  33468. "type": "integer"
  33469. },
  33470. "modifiername": {
  33471. "description": "修改人名称",
  33472. "type": "string"
  33473. },
  33474. "modifysrc": {
  33475. "description": "修改来源 - 1:管理端 2:终端",
  33476. "type": "integer"
  33477. },
  33478. "pickupgoodsagreeunit": {
  33479. "description": "合约乘数",
  33480. "type": "number"
  33481. },
  33482. "pickupgoodsdesc": {
  33483. "description": "描述",
  33484. "type": "string"
  33485. },
  33486. "pickupgoodsid": {
  33487. "description": "提货商品ID",
  33488. "type": "string"
  33489. },
  33490. "pickupgoodsname": {
  33491. "description": "提货商品名称",
  33492. "type": "string"
  33493. },
  33494. "pickupgoodsstatus": {
  33495. "description": "状态 - 1:正常 2:停用 3:注销",
  33496. "type": "integer"
  33497. },
  33498. "pickupgoodsunitid": {
  33499. "description": "单位ID",
  33500. "type": "integer"
  33501. },
  33502. "pickupratio": {
  33503. "description": "提货系数",
  33504. "type": "number"
  33505. },
  33506. "preparedays": {
  33507. "description": "备货期(天)",
  33508. "type": "integer"
  33509. },
  33510. "remark": {
  33511. "description": "备注",
  33512. "type": "string"
  33513. },
  33514. "updatetime": {
  33515. "description": "更新时间",
  33516. "type": "string"
  33517. }
  33518. }
  33519. },
  33520. "models.QhjMgrPositionRsp": {
  33521. "type": "object",
  33522. "properties": {
  33523. "accountid": {
  33524. "description": "账号Id",
  33525. "type": "integer"
  33526. },
  33527. "accountname": {
  33528. "description": "用户名称",
  33529. "type": "string"
  33530. },
  33531. "agreeunit": {
  33532. "description": "合约乘数",
  33533. "type": "number"
  33534. },
  33535. "averageprice": {
  33536. "description": "均价",
  33537. "type": "number"
  33538. },
  33539. "avialqty": {
  33540. "description": "可用数量",
  33541. "type": "number"
  33542. },
  33543. "decimalplace": {
  33544. "description": "报价小数位",
  33545. "type": "integer"
  33546. },
  33547. "enumdicname": {
  33548. "description": "单位名称(商品)",
  33549. "type": "string"
  33550. },
  33551. "frozenqty": {
  33552. "description": "冻结数量",
  33553. "type": "number"
  33554. },
  33555. "goodscode": {
  33556. "description": "商品代码(内部)",
  33557. "type": "string"
  33558. },
  33559. "goodsid": {
  33560. "description": "商品Id",
  33561. "type": "integer"
  33562. },
  33563. "goodsname": {
  33564. "description": "商品名称",
  33565. "type": "string"
  33566. },
  33567. "goodunitid": {
  33568. "description": "报价单位ID",
  33569. "type": "integer"
  33570. },
  33571. "holderamount": {
  33572. "description": "金额",
  33573. "type": "number"
  33574. },
  33575. "holderqty": {
  33576. "description": "持有数量",
  33577. "type": "number"
  33578. },
  33579. "holdertype": {
  33580. "description": "持仓类别 - 1:单边持仓 2:双边持仓",
  33581. "type": "integer"
  33582. },
  33583. "logincode": {
  33584. "description": "登录代码(账户)",
  33585. "type": "string"
  33586. },
  33587. "marketid": {
  33588. "description": "市场id",
  33589. "type": "integer"
  33590. },
  33591. "qtydecimalplace": {
  33592. "description": "成交量小数位",
  33593. "type": "integer"
  33594. },
  33595. "trademode": {
  33596. "description": "交易模式",
  33597. "type": "integer"
  33598. },
  33599. "userid": {
  33600. "description": "用户id",
  33601. "type": "integer"
  33602. },
  33603. "userinfotype": {
  33604. "description": "账户类型 1-个人 2-企业",
  33605. "type": "integer"
  33606. }
  33607. }
  33608. },
  33609. "models.QhjMgrSubArea": {
  33610. "type": "object",
  33611. "properties": {
  33612. "accountname": {
  33613. "description": "账户名称(机构名称)",
  33614. "type": "string"
  33615. },
  33616. "memberuserid": {
  33617. "description": "所属会员ID",
  33618. "type": "integer"
  33619. },
  33620. "parenttopuser": {
  33621. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  33622. "type": "string"
  33623. },
  33624. "parentuserid": {
  33625. "description": "所属机构ID",
  33626. "type": "integer"
  33627. },
  33628. "rootuserid": {
  33629. "description": "根用户ID",
  33630. "type": "string"
  33631. },
  33632. "subaccountlevel": {
  33633. "description": "子账户层数",
  33634. "type": "integer"
  33635. },
  33636. "subarealevelpath": {
  33637. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  33638. "type": "string"
  33639. },
  33640. "userid": {
  33641. "description": "用户ID",
  33642. "type": "integer"
  33643. },
  33644. "usertype": {
  33645. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  33646. "type": "integer"
  33647. }
  33648. }
  33649. },
  33650. "models.QhjMgrTradeDetailRsp": {
  33651. "type": "object",
  33652. "properties": {
  33653. "accountid": {
  33654. "description": "资金账号",
  33655. "type": "integer"
  33656. },
  33657. "accountname": {
  33658. "description": "用户名称",
  33659. "type": "string"
  33660. },
  33661. "agreeunit": {
  33662. "description": "合约乘数",
  33663. "type": "number"
  33664. },
  33665. "buyorsell": {
  33666. "description": "成交类型(方向) 0:买 1:卖",
  33667. "type": "integer"
  33668. },
  33669. "decimalplace": {
  33670. "description": "报价小数位",
  33671. "type": "integer"
  33672. },
  33673. "enumdicname": {
  33674. "description": "单位名称(商品)",
  33675. "type": "string"
  33676. },
  33677. "goodscode": {
  33678. "description": "商品代码(内部)",
  33679. "type": "string"
  33680. },
  33681. "goodsid": {
  33682. "description": "商品id",
  33683. "type": "integer"
  33684. },
  33685. "goodsname": {
  33686. "description": "商品名称",
  33687. "type": "string"
  33688. },
  33689. "goodunitid": {
  33690. "description": "报价单位ID",
  33691. "type": "integer"
  33692. },
  33693. "logincode": {
  33694. "description": "登录代码(账户)",
  33695. "type": "string"
  33696. },
  33697. "marketid": {
  33698. "description": "市场id",
  33699. "type": "integer"
  33700. },
  33701. "orderid": {
  33702. "description": "关联委托单号",
  33703. "type": "string"
  33704. },
  33705. "qtydecimalplace": {
  33706. "description": "成交量小数位",
  33707. "type": "integer"
  33708. },
  33709. "tradeamount": {
  33710. "description": "金额",
  33711. "type": "number"
  33712. },
  33713. "tradedate": {
  33714. "description": "交易日",
  33715. "type": "string"
  33716. },
  33717. "tradeid": {
  33718. "description": "成交单号",
  33719. "type": "string"
  33720. },
  33721. "trademode": {
  33722. "description": "交易模式",
  33723. "type": "integer"
  33724. },
  33725. "tradeprice": {
  33726. "description": "价格",
  33727. "type": "number"
  33728. },
  33729. "tradeqty": {
  33730. "description": "数量",
  33731. "type": "number"
  33732. },
  33733. "tradetime": {
  33734. "description": "成交时间",
  33735. "type": "string"
  33736. },
  33737. "userid": {
  33738. "description": "用户id",
  33739. "type": "integer"
  33740. },
  33741. "userinfotype": {
  33742. "description": "账户类型 1-个人 2-企业",
  33743. "type": "integer"
  33744. }
  33745. }
  33746. },
  33747. "models.QhjMgrTradeOrderDetailRsp": {
  33748. "type": "object",
  33749. "properties": {
  33750. "accountid": {
  33751. "description": "资金账号",
  33752. "type": "integer"
  33753. },
  33754. "accountname": {
  33755. "description": "用户名称",
  33756. "type": "string"
  33757. },
  33758. "agreeunit": {
  33759. "description": "合约乘数",
  33760. "type": "number"
  33761. },
  33762. "amount": {
  33763. "description": "金额",
  33764. "type": "number"
  33765. },
  33766. "decimalplace": {
  33767. "description": "报价小数位",
  33768. "type": "integer"
  33769. },
  33770. "enumdicname": {
  33771. "description": "单位名称(商品)",
  33772. "type": "string"
  33773. },
  33774. "goodscode": {
  33775. "description": "商品代码(内部)",
  33776. "type": "string"
  33777. },
  33778. "goodsid": {
  33779. "description": "商品id",
  33780. "type": "integer"
  33781. },
  33782. "goodsname": {
  33783. "description": "商品名称",
  33784. "type": "string"
  33785. },
  33786. "goodunitid": {
  33787. "description": "报价单位ID",
  33788. "type": "integer"
  33789. },
  33790. "logincode": {
  33791. "description": "登录代码(账户)",
  33792. "type": "string"
  33793. },
  33794. "marketid": {
  33795. "description": "市场id",
  33796. "type": "integer"
  33797. },
  33798. "orderid": {
  33799. "description": "关联委托单号",
  33800. "type": "string"
  33801. },
  33802. "orderprice": {
  33803. "description": "价格",
  33804. "type": "number"
  33805. },
  33806. "orderqty": {
  33807. "description": "数量",
  33808. "type": "number"
  33809. },
  33810. "orderstatus": {
  33811. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  33812. "type": "integer"
  33813. },
  33814. "ordertime": {
  33815. "description": "委托时间",
  33816. "type": "string"
  33817. },
  33818. "qtydecimalplace": {
  33819. "description": "成交量小数位",
  33820. "type": "integer"
  33821. },
  33822. "tradedate": {
  33823. "description": "交易日",
  33824. "type": "string"
  33825. },
  33826. "trademode": {
  33827. "description": "交易模式",
  33828. "type": "integer"
  33829. },
  33830. "userid": {
  33831. "description": "用户id",
  33832. "type": "integer"
  33833. },
  33834. "userinfotype": {
  33835. "description": "账户类型 1-个人 2-企业",
  33836. "type": "integer"
  33837. }
  33838. }
  33839. },
  33840. "models.QhjMgrTradePayOrder": {
  33841. "type": "object",
  33842. "properties": {
  33843. "accountname": {
  33844. "description": "用户名称",
  33845. "type": "string"
  33846. },
  33847. "advanceratio": {
  33848. "description": "首付比率",
  33849. "type": "number"
  33850. },
  33851. "agreeunit": {
  33852. "description": "合约乘数",
  33853. "type": "number"
  33854. },
  33855. "buyaccountid": {
  33856. "description": "买方账号ID[报价币种]",
  33857. "type": "integer"
  33858. },
  33859. "buyorderid": {
  33860. "description": "买方委托单号(关联单号)",
  33861. "type": "string"
  33862. },
  33863. "createtime": {
  33864. "description": "创建时间",
  33865. "type": "string"
  33866. },
  33867. "decimalplace": {
  33868. "description": "报价小数位",
  33869. "type": "integer"
  33870. },
  33871. "enumdicname": {
  33872. "description": "单位名称(商品)",
  33873. "type": "string"
  33874. },
  33875. "goodscode": {
  33876. "description": "商品代码(内部)",
  33877. "type": "string"
  33878. },
  33879. "goodsid": {
  33880. "description": "商品ID",
  33881. "type": "integer"
  33882. },
  33883. "goodsname": {
  33884. "description": "商品名称",
  33885. "type": "string"
  33886. },
  33887. "goodunitid": {
  33888. "description": "报价单位ID",
  33889. "type": "integer"
  33890. },
  33891. "logincode": {
  33892. "description": "登录代码(账户)",
  33893. "type": "string"
  33894. },
  33895. "marketid": {
  33896. "description": "市场id",
  33897. "type": "integer"
  33898. },
  33899. "offamount": {
  33900. "description": "优惠金额",
  33901. "type": "number"
  33902. },
  33903. "operatetype": {
  33904. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  33905. "type": "integer"
  33906. },
  33907. "payamount": {
  33908. "description": "支付金额(金额)",
  33909. "type": "number"
  33910. },
  33911. "payflag": {
  33912. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  33913. "type": "integer"
  33914. },
  33915. "paylimitedtime": {
  33916. "description": "支付期限",
  33917. "type": "string"
  33918. },
  33919. "paytime": {
  33920. "description": "付款时间",
  33921. "type": "string"
  33922. },
  33923. "qtydecimalplace": {
  33924. "description": "成交量小数位",
  33925. "type": "integer"
  33926. },
  33927. "sellaccountid": {
  33928. "description": "卖方账号ID[报价币种]",
  33929. "type": "integer"
  33930. },
  33931. "sellorderid": {
  33932. "description": "卖方委托单号",
  33933. "type": "string"
  33934. },
  33935. "tradeamount": {
  33936. "description": "成交金额(优惠后金额)",
  33937. "type": "number"
  33938. },
  33939. "tradecharge": {
  33940. "description": "成交手续费(买方)",
  33941. "type": "number"
  33942. },
  33943. "tradedate": {
  33944. "description": "交易日(yyyyMMdd)",
  33945. "type": "string"
  33946. },
  33947. "tradeid": {
  33948. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  33949. "type": "string"
  33950. },
  33951. "trademode": {
  33952. "description": "交易模式",
  33953. "type": "integer"
  33954. },
  33955. "tradeprice": {
  33956. "description": "成交价格(价格)",
  33957. "type": "number"
  33958. },
  33959. "tradeqty": {
  33960. "description": "成交数量(数量)",
  33961. "type": "number"
  33962. },
  33963. "tradetime": {
  33964. "description": "成交时间",
  33965. "type": "string"
  33966. },
  33967. "userid": {
  33968. "description": "用户id",
  33969. "type": "integer"
  33970. },
  33971. "userinfotype": {
  33972. "description": "账户类型 1-个人 2-企业",
  33973. "type": "integer"
  33974. }
  33975. }
  33976. },
  33977. "models.QhjMyTeamEx": {
  33978. "type": "object",
  33979. "properties": {
  33980. "accountname": {
  33981. "description": "用户名称",
  33982. "type": "string"
  33983. },
  33984. "accountstatus": {
  33985. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  33986. "type": "integer"
  33987. },
  33988. "createtime": {
  33989. "description": "创建时间",
  33990. "type": "string"
  33991. },
  33992. "mobile": {
  33993. "description": "手机号码",
  33994. "type": "string"
  33995. },
  33996. "refereeuserid": {
  33997. "description": "推荐人id",
  33998. "type": "integer"
  33999. },
  34000. "refernum": {
  34001. "description": "推荐码",
  34002. "type": "string"
  34003. },
  34004. "subList": {
  34005. "type": "array",
  34006. "items": {
  34007. "$ref": "#/definitions/models.QhjMyTeamEx"
  34008. }
  34009. },
  34010. "userid": {
  34011. "description": "用户id",
  34012. "type": "integer"
  34013. },
  34014. "userinfotype": {
  34015. "description": "用户类型 1-个人 2-企业",
  34016. "type": "integer"
  34017. }
  34018. }
  34019. },
  34020. "models.QhjNodeAgreementConfig": {
  34021. "type": "object",
  34022. "properties": {
  34023. "agreementcontent": {
  34024. "description": "协议内容",
  34025. "type": "string"
  34026. },
  34027. "agreementid": {
  34028. "description": "协议ID",
  34029. "type": "integer"
  34030. },
  34031. "agreementname": {
  34032. "description": "协议名称",
  34033. "type": "string"
  34034. },
  34035. "agreementno": {
  34036. "description": "协议编号",
  34037. "type": "string"
  34038. },
  34039. "agreementtype": {
  34040. "description": "协议类型 - 1:注册 2:登录 3:交易",
  34041. "type": "integer"
  34042. },
  34043. "agreementversion": {
  34044. "description": "协议版本号",
  34045. "type": "integer"
  34046. },
  34047. "configid": {
  34048. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  34049. "type": "integer"
  34050. },
  34051. "createtime": {
  34052. "description": "创建时间",
  34053. "type": "string"
  34054. },
  34055. "goodsid": {
  34056. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  34057. "type": "integer"
  34058. },
  34059. "nodetype": {
  34060. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  34061. "type": "integer"
  34062. }
  34063. }
  34064. },
  34065. "models.QhjParentAreaList": {
  34066. "type": "object",
  34067. "properties": {
  34068. "accountname": {
  34069. "description": "账户名称(机构名称)",
  34070. "type": "string"
  34071. },
  34072. "userid": {
  34073. "description": "用户ID",
  34074. "type": "integer"
  34075. },
  34076. "usertype": {
  34077. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  34078. "type": "integer"
  34079. }
  34080. }
  34081. },
  34082. "models.QhjPayOrder": {
  34083. "type": "object",
  34084. "properties": {
  34085. "advanceratio": {
  34086. "description": "首付比率",
  34087. "type": "number"
  34088. },
  34089. "buyaccountid": {
  34090. "description": "买方账号ID[报价币种]",
  34091. "type": "integer"
  34092. },
  34093. "buyorderid": {
  34094. "description": "买方委托单号",
  34095. "type": "string"
  34096. },
  34097. "createtime": {
  34098. "description": "创建时间",
  34099. "type": "string"
  34100. },
  34101. "decimalplace": {
  34102. "description": "商品报价小数位",
  34103. "type": "integer"
  34104. },
  34105. "enumdicname": {
  34106. "description": "单位名称",
  34107. "type": "string"
  34108. },
  34109. "goodscode": {
  34110. "description": "商品代码",
  34111. "type": "string"
  34112. },
  34113. "goodsid": {
  34114. "description": "商品ID",
  34115. "type": "integer"
  34116. },
  34117. "goodsname": {
  34118. "description": "商品名称",
  34119. "type": "string"
  34120. },
  34121. "goodunitid": {
  34122. "description": "商品单位id",
  34123. "type": "integer"
  34124. },
  34125. "marketid": {
  34126. "description": "市场ID",
  34127. "type": "integer"
  34128. },
  34129. "offamount": {
  34130. "description": "优惠金额",
  34131. "type": "number"
  34132. },
  34133. "operatetype": {
  34134. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  34135. "type": "integer"
  34136. },
  34137. "payamount": {
  34138. "description": "支付金额",
  34139. "type": "number"
  34140. },
  34141. "payflag": {
  34142. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  34143. "type": "integer"
  34144. },
  34145. "paylimitedtime": {
  34146. "description": "支付期限",
  34147. "type": "string"
  34148. },
  34149. "paytime": {
  34150. "description": "付款时间",
  34151. "type": "string"
  34152. },
  34153. "qtydecimalplace": {
  34154. "description": "成交量小数位",
  34155. "type": "integer"
  34156. },
  34157. "sellaccountid": {
  34158. "description": "卖方账号ID[报价币种]",
  34159. "type": "integer"
  34160. },
  34161. "sellorderid": {
  34162. "description": "卖方委托单号",
  34163. "type": "string"
  34164. },
  34165. "tradeamount": {
  34166. "description": "成交金额(优惠后金额)",
  34167. "type": "number"
  34168. },
  34169. "tradecharge": {
  34170. "description": "成交手续费(买方)",
  34171. "type": "number"
  34172. },
  34173. "tradedate": {
  34174. "description": "交易日(yyyyMMdd)",
  34175. "type": "string"
  34176. },
  34177. "tradeid": {
  34178. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  34179. "type": "string"
  34180. },
  34181. "tradeprice": {
  34182. "description": "成交价格",
  34183. "type": "number"
  34184. },
  34185. "tradeqty": {
  34186. "description": "成交数量",
  34187. "type": "number"
  34188. }
  34189. }
  34190. },
  34191. "models.QhjPickArea": {
  34192. "type": "object",
  34193. "properties": {
  34194. "address": {
  34195. "description": "详细地址",
  34196. "type": "string"
  34197. },
  34198. "cityid": {
  34199. "description": "市",
  34200. "type": "integer"
  34201. },
  34202. "cityname": {
  34203. "description": "城市名称",
  34204. "type": "string"
  34205. },
  34206. "countryid": {
  34207. "description": "国家",
  34208. "type": "integer"
  34209. },
  34210. "countryname": {
  34211. "description": "国家名称",
  34212. "type": "string"
  34213. },
  34214. "districtid": {
  34215. "description": "地区",
  34216. "type": "integer"
  34217. },
  34218. "districtname": {
  34219. "description": "地区名称",
  34220. "type": "string"
  34221. },
  34222. "fromuserid": {
  34223. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  34224. "type": "integer"
  34225. },
  34226. "fromusername": {
  34227. "description": "所属机构名称",
  34228. "type": "string"
  34229. },
  34230. "provinceid": {
  34231. "description": "省",
  34232. "type": "integer"
  34233. },
  34234. "provincename": {
  34235. "description": "省名称",
  34236. "type": "string"
  34237. },
  34238. "suborgtype": {
  34239. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  34240. "type": "integer"
  34241. },
  34242. "userid": {
  34243. "description": "机构用户ID 其他做市关系,都设置为 1",
  34244. "type": "integer"
  34245. },
  34246. "username": {
  34247. "description": "机构用户名称(门店门称)",
  34248. "type": "string"
  34249. }
  34250. }
  34251. },
  34252. "models.QhjPickGoods": {
  34253. "type": "object",
  34254. "properties": {
  34255. "enumdicname": {
  34256. "description": "单位名称(提货商品)",
  34257. "type": "string"
  34258. },
  34259. "goodsid": {
  34260. "description": "商品id",
  34261. "type": "integer"
  34262. },
  34263. "imageaddress": {
  34264. "description": "图片",
  34265. "type": "string"
  34266. },
  34267. "modifierid": {
  34268. "description": "修改人",
  34269. "type": "integer"
  34270. },
  34271. "modifiername": {
  34272. "description": "修改人名称",
  34273. "type": "string"
  34274. },
  34275. "modifysrc": {
  34276. "description": "修改来源 - 1:管理端 2:终端",
  34277. "type": "integer"
  34278. },
  34279. "pickupgoodsagreeunit": {
  34280. "description": "合约乘数",
  34281. "type": "number"
  34282. },
  34283. "pickupgoodsdesc": {
  34284. "description": "描述",
  34285. "type": "string"
  34286. },
  34287. "pickupgoodsid": {
  34288. "description": "提货商品ID",
  34289. "type": "string"
  34290. },
  34291. "pickupgoodsname": {
  34292. "description": "提货商品名称",
  34293. "type": "string"
  34294. },
  34295. "pickupgoodsstatus": {
  34296. "description": "状态 - 1:正常 2:停用 3:注销",
  34297. "type": "integer"
  34298. },
  34299. "pickupgoodsunitid": {
  34300. "description": "单位ID",
  34301. "type": "integer"
  34302. },
  34303. "pickupratio": {
  34304. "description": "提货系数",
  34305. "type": "number"
  34306. },
  34307. "preparedays": {
  34308. "description": "备货期(天)",
  34309. "type": "integer"
  34310. },
  34311. "remark": {
  34312. "description": "备注",
  34313. "type": "string"
  34314. },
  34315. "updatetime": {
  34316. "description": "更新时间",
  34317. "type": "string"
  34318. }
  34319. }
  34320. },
  34321. "models.QhjRSTriggerLog": {
  34322. "type": "object",
  34323. "properties": {
  34324. "accountid": {
  34325. "description": "用户资金账户",
  34326. "type": "integer"
  34327. },
  34328. "accountname": {
  34329. "description": "账号名称(ACCOUNTID对应的名称)",
  34330. "type": "string"
  34331. },
  34332. "currencyid": {
  34333. "description": "币种id",
  34334. "type": "integer"
  34335. },
  34336. "currencyname": {
  34337. "description": "币种名称",
  34338. "type": "string"
  34339. },
  34340. "decimalplace": {
  34341. "description": "商品报价小数位",
  34342. "type": "integer"
  34343. },
  34344. "enumdicname": {
  34345. "description": "单位名称",
  34346. "type": "string"
  34347. },
  34348. "goodscode": {
  34349. "description": "定投商品代码",
  34350. "type": "string"
  34351. },
  34352. "goodsid": {
  34353. "description": "定投商品ID",
  34354. "type": "integer"
  34355. },
  34356. "goodsname": {
  34357. "description": "定投商品名称",
  34358. "type": "string"
  34359. },
  34360. "goodunitid": {
  34361. "description": "定投商品单位id",
  34362. "type": "integer"
  34363. },
  34364. "logid": {
  34365. "description": "LogID(SEQ_QHJ_RSTRIGGERLOG)",
  34366. "type": "string"
  34367. },
  34368. "logincode": {
  34369. "description": "账号(登录代码)",
  34370. "type": "string"
  34371. },
  34372. "qtydecimalplace": {
  34373. "description": "成交量小数位",
  34374. "type": "integer"
  34375. },
  34376. "regularlycycle": {
  34377. "description": "定投频率 - 1:每周 2:每月",
  34378. "type": "integer"
  34379. },
  34380. "regularlycyclevalue": {
  34381. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  34382. "type": "string"
  34383. },
  34384. "regularlymode": {
  34385. "description": "定投方式 - 1:按数量 2:按金额",
  34386. "type": "integer"
  34387. },
  34388. "regularlymodevalue": {
  34389. "description": "定投方式值 - 数量或金额",
  34390. "type": "number"
  34391. },
  34392. "regularlystrategyid": {
  34393. "description": "定投策略ID",
  34394. "type": "integer"
  34395. },
  34396. "retcode": {
  34397. "description": "错误码",
  34398. "type": "string"
  34399. },
  34400. "tradeid": {
  34401. "description": "成交单ID",
  34402. "type": "string"
  34403. },
  34404. "triggeramount": {
  34405. "description": "触发金额",
  34406. "type": "number"
  34407. },
  34408. "triggerqty": {
  34409. "description": "触发数量",
  34410. "type": "number"
  34411. },
  34412. "triggerstatus": {
  34413. "description": "触发状态 - 1:成功 2:失败",
  34414. "type": "integer"
  34415. },
  34416. "triggertime": {
  34417. "description": "触发时间",
  34418. "type": "string"
  34419. },
  34420. "triggertradedate": {
  34421. "description": "触发交易日",
  34422. "type": "string"
  34423. },
  34424. "userid": {
  34425. "description": "所属用户ID",
  34426. "type": "integer"
  34427. },
  34428. "userinfotype": {
  34429. "description": "用户类型 1-个人 2-企业",
  34430. "type": "integer"
  34431. },
  34432. "username": {
  34433. "description": "用户名称(userid对应的名称)",
  34434. "type": "string"
  34435. }
  34436. }
  34437. },
  34438. "models.QhjRStrategy": {
  34439. "type": "object",
  34440. "properties": {
  34441. "accountid": {
  34442. "description": "用户资金账户",
  34443. "type": "integer"
  34444. },
  34445. "accountname": {
  34446. "description": "账号名称(ACCOUNTID对应的名称)",
  34447. "type": "string"
  34448. },
  34449. "currencyid": {
  34450. "description": "币种id",
  34451. "type": "integer"
  34452. },
  34453. "currencyname": {
  34454. "description": "币种名称",
  34455. "type": "string"
  34456. },
  34457. "decimalplace": {
  34458. "description": "商品报价小数位",
  34459. "type": "integer"
  34460. },
  34461. "enumdicname": {
  34462. "description": "单位名称",
  34463. "type": "string"
  34464. },
  34465. "goodscode": {
  34466. "description": "定投商品代码",
  34467. "type": "string"
  34468. },
  34469. "goodsid": {
  34470. "description": "定投商品ID",
  34471. "type": "integer"
  34472. },
  34473. "goodsname": {
  34474. "description": "定投商品名称",
  34475. "type": "string"
  34476. },
  34477. "goodunitid": {
  34478. "description": "定投商品单位id",
  34479. "type": "integer"
  34480. },
  34481. "lasteffecttradedate": {
  34482. "description": "最新生效交易日",
  34483. "type": "string"
  34484. },
  34485. "laststoptradedate": {
  34486. "description": "最新暂停交易日",
  34487. "type": "string"
  34488. },
  34489. "lasttriggertradedate": {
  34490. "description": "最新触发交易日",
  34491. "type": "string"
  34492. },
  34493. "logincode": {
  34494. "description": "账号(登录代码)",
  34495. "type": "string"
  34496. },
  34497. "nexttriggeramount": {
  34498. "description": "下次触发金额",
  34499. "type": "number"
  34500. },
  34501. "nexttriggerdate": {
  34502. "description": "下次触发日期",
  34503. "type": "string"
  34504. },
  34505. "nexttriggerqty": {
  34506. "description": "下次触发数量 [按小数位放大值]",
  34507. "type": "number"
  34508. },
  34509. "qtydecimalplace": {
  34510. "description": "成交量小数位",
  34511. "type": "integer"
  34512. },
  34513. "regularlycycle": {
  34514. "description": "定投频率 - 1:每周 2:每月",
  34515. "type": "integer"
  34516. },
  34517. "regularlycyclevalue": {
  34518. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  34519. "type": "string"
  34520. },
  34521. "regularlymode": {
  34522. "description": "定投方式 - 1:按数量 2:按金额",
  34523. "type": "integer"
  34524. },
  34525. "regularlymodevalue": {
  34526. "description": "定投方式值 - 数量或金额",
  34527. "type": "number"
  34528. },
  34529. "regularlystrategyid": {
  34530. "description": "定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)",
  34531. "type": "integer"
  34532. },
  34533. "regularlystrategystatus": {
  34534. "description": "策略状态 - 1:正常 2:暂停 3:终止",
  34535. "type": "integer"
  34536. },
  34537. "remark": {
  34538. "description": "备注",
  34539. "type": "string"
  34540. },
  34541. "triggersuccesstimes": {
  34542. "description": "累计定投成功次数",
  34543. "type": "string"
  34544. },
  34545. "triggertotalamount": {
  34546. "description": "累计定投金额(成功)",
  34547. "type": "number"
  34548. },
  34549. "triggertotalqty": {
  34550. "description": "累计定投数量(成功) [按小数位放大值]",
  34551. "type": "number"
  34552. },
  34553. "triggertotaltimes": {
  34554. "description": "累计定投总次数",
  34555. "type": "string"
  34556. },
  34557. "updatesrc": {
  34558. "description": "更新来源 - 1:管理端 2:终端",
  34559. "type": "integer"
  34560. },
  34561. "updatetime": {
  34562. "description": "更新时间",
  34563. "type": "string"
  34564. },
  34565. "updatorid": {
  34566. "description": "更新人",
  34567. "type": "string"
  34568. },
  34569. "userid": {
  34570. "description": "所属用户ID",
  34571. "type": "integer"
  34572. },
  34573. "userinfotype": {
  34574. "description": "用户类型 1-个人 2-企业",
  34575. "type": "integer"
  34576. },
  34577. "username": {
  34578. "description": "用户名称(userid对应的名称)",
  34579. "type": "string"
  34580. }
  34581. }
  34582. },
  34583. "models.QhjReckonPriceLog": {
  34584. "type": "object",
  34585. "properties": {
  34586. "decimalplace": {
  34587. "description": "商品报价小数位",
  34588. "type": "integer"
  34589. },
  34590. "goodscode": {
  34591. "description": "商品代码",
  34592. "type": "string"
  34593. },
  34594. "goodsid": {
  34595. "description": "商品ID",
  34596. "type": "integer"
  34597. },
  34598. "goodsname": {
  34599. "description": "商品名称",
  34600. "type": "string"
  34601. },
  34602. "lastreckonprice": {
  34603. "description": "上日结算价",
  34604. "type": "number"
  34605. },
  34606. "nextdnlimitprice": {
  34607. "description": "下个交易日跌停价",
  34608. "type": "number"
  34609. },
  34610. "nexttrade": {
  34611. "description": "下个交易日",
  34612. "type": "string"
  34613. },
  34614. "nextuplimitprice": {
  34615. "description": "下个交易日涨停价",
  34616. "type": "number"
  34617. },
  34618. "reckonprice": {
  34619. "description": "今日结算价(定投价)",
  34620. "type": "number"
  34621. },
  34622. "reckontime": {
  34623. "description": "结算时间",
  34624. "type": "string"
  34625. },
  34626. "totalholderqty": {
  34627. "description": "总持仓数",
  34628. "type": "integer"
  34629. },
  34630. "totalstock": {
  34631. "description": "总库存",
  34632. "type": "integer"
  34633. },
  34634. "tradedate": {
  34635. "description": "交易日",
  34636. "type": "string"
  34637. },
  34638. "updowncount": {
  34639. "description": "连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)",
  34640. "type": "integer"
  34641. },
  34642. "updownflag": {
  34643. "description": "连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停",
  34644. "type": "integer"
  34645. },
  34646. "updownrate": {
  34647. "description": "今日涨跌幅",
  34648. "type": "number"
  34649. },
  34650. "updownrate_2d": {
  34651. "description": "连续两日涨跌幅",
  34652. "type": "number"
  34653. },
  34654. "updownrate_3d": {
  34655. "description": "连续三日涨跌幅",
  34656. "type": "number"
  34657. }
  34658. }
  34659. },
  34660. "models.QhjScoreLog": {
  34661. "type": "object",
  34662. "properties": {
  34663. "accountid": {
  34664. "description": "账户ID",
  34665. "type": "integer"
  34666. },
  34667. "createtime": {
  34668. "description": "创建时间(时间)",
  34669. "type": "string"
  34670. },
  34671. "goodsid": {
  34672. "description": "商品ID",
  34673. "type": "integer"
  34674. },
  34675. "hasuploaded": {
  34676. "description": "是否已同步(千海金) 0:未同步 1;已同步",
  34677. "type": "integer"
  34678. },
  34679. "logid": {
  34680. "description": "流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  34681. "type": "string"
  34682. },
  34683. "marketid": {
  34684. "description": "市场ID",
  34685. "type": "integer"
  34686. },
  34687. "relatedamount": {
  34688. "description": "关联金额",
  34689. "type": "number"
  34690. },
  34691. "relatedorderid": {
  34692. "description": "关联单号(ScoreType=1为Trade_GoodsPickup)",
  34693. "type": "string"
  34694. },
  34695. "scoreconfigvalue1": {
  34696. "description": "积分配置1",
  34697. "type": "integer"
  34698. },
  34699. "scoreconfigvalue2": {
  34700. "description": "积分配置1",
  34701. "type": "integer"
  34702. },
  34703. "scoretype": {
  34704. "description": "积分类型 - 1:提货积分",
  34705. "type": "integer"
  34706. },
  34707. "scorevalue": {
  34708. "description": "积分",
  34709. "type": "number"
  34710. },
  34711. "tradedate": {
  34712. "description": "交易日(yyyyMMdd)",
  34713. "type": "string"
  34714. },
  34715. "uploadedtime": {
  34716. "description": "同步时间",
  34717. "type": "string"
  34718. },
  34719. "userid": {
  34720. "description": "用户ID",
  34721. "type": "integer"
  34722. }
  34723. }
  34724. },
  34725. "models.QhjSiteColumnDetail": {
  34726. "type": "object",
  34727. "properties": {
  34728. "author": {
  34729. "description": "作者",
  34730. "type": "string"
  34731. },
  34732. "brief": {
  34733. "description": "简介",
  34734. "type": "string"
  34735. },
  34736. "columnid": {
  34737. "description": "所属栏目",
  34738. "type": "integer"
  34739. },
  34740. "context": {
  34741. "description": "内容",
  34742. "type": "string"
  34743. },
  34744. "coverimage": {
  34745. "description": "封面图片",
  34746. "type": "string"
  34747. },
  34748. "creaedate": {
  34749. "description": "创建时间",
  34750. "type": "string"
  34751. },
  34752. "creatorid": {
  34753. "description": "创建人",
  34754. "type": "integer"
  34755. },
  34756. "hits": {
  34757. "description": "点击数",
  34758. "type": "integer"
  34759. },
  34760. "id": {
  34761. "description": "ID(SEQ_SITE_COLUMNDETAIL)",
  34762. "type": "integer"
  34763. },
  34764. "isshow": {
  34765. "description": "是否展示 - 0:不展示 1:展示",
  34766. "type": "integer"
  34767. },
  34768. "istop": {
  34769. "description": "是否置顶 - 0:不置 1:置顶",
  34770. "type": "integer"
  34771. },
  34772. "modifierid": {
  34773. "description": "操作人",
  34774. "type": "integer"
  34775. },
  34776. "publishdate": {
  34777. "description": "发布日期",
  34778. "type": "string"
  34779. },
  34780. "status": {
  34781. "description": "状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝",
  34782. "type": "integer"
  34783. },
  34784. "title": {
  34785. "description": "标题",
  34786. "type": "string"
  34787. },
  34788. "updatedate": {
  34789. "description": "修改时间",
  34790. "type": "string"
  34791. },
  34792. "userid": {
  34793. "description": "用户ID(默认为0, 核心为为机构用户ID)",
  34794. "type": "integer"
  34795. },
  34796. "username": {
  34797. "description": "用户名称",
  34798. "type": "string"
  34799. }
  34800. }
  34801. },
  34802. "models.QhjTeamOrder": {
  34803. "type": "object",
  34804. "properties": {
  34805. "accountid": {
  34806. "description": "账户ID[报价币种]",
  34807. "type": "integer"
  34808. },
  34809. "accountname": {
  34810. "description": "账户名称",
  34811. "type": "string"
  34812. },
  34813. "agreeunit": {
  34814. "description": "合约乘数",
  34815. "type": "number"
  34816. },
  34817. "buyorsell": {
  34818. "description": "方向 - 0:买 1:卖",
  34819. "type": "integer"
  34820. },
  34821. "decimalplace": {
  34822. "description": "报价小数位",
  34823. "type": "integer"
  34824. },
  34825. "enumdicname": {
  34826. "description": "单位名称",
  34827. "type": "string"
  34828. },
  34829. "goodscode": {
  34830. "description": "商品代码(内部)",
  34831. "type": "string"
  34832. },
  34833. "goodsid": {
  34834. "description": "商品ID",
  34835. "type": "integer"
  34836. },
  34837. "goodsname": {
  34838. "description": "商品名称",
  34839. "type": "string"
  34840. },
  34841. "goodunitid": {
  34842. "description": "报价单位ID",
  34843. "type": "integer"
  34844. },
  34845. "marketid": {
  34846. "description": "市场ID",
  34847. "type": "integer"
  34848. },
  34849. "marketname": {
  34850. "description": "市场名称",
  34851. "type": "string"
  34852. },
  34853. "qtydecimalplace": {
  34854. "description": "成交量小数位",
  34855. "type": "integer"
  34856. },
  34857. "refereeuserid": {
  34858. "description": "推荐人ID",
  34859. "type": "integer"
  34860. },
  34861. "tradeamount": {
  34862. "description": "成交金额[账户币种,用于所有权]",
  34863. "type": "number"
  34864. },
  34865. "tradedate": {
  34866. "description": "交易日(yyyyMMdd)",
  34867. "type": "string"
  34868. },
  34869. "trademode": {
  34870. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  34871. "type": "integer"
  34872. },
  34873. "tradeprice": {
  34874. "description": "成交价格",
  34875. "type": "number"
  34876. },
  34877. "tradeqty": {
  34878. "description": "成交数量",
  34879. "type": "number"
  34880. },
  34881. "tradetime": {
  34882. "description": "成交时间",
  34883. "type": "string"
  34884. },
  34885. "userid": {
  34886. "description": "用户ID",
  34887. "type": "integer"
  34888. }
  34889. }
  34890. },
  34891. "models.QhjTradeGoodsPickup": {
  34892. "type": "object",
  34893. "properties": {
  34894. "accountid": {
  34895. "description": "账户ID",
  34896. "type": "integer"
  34897. },
  34898. "address": {
  34899. "description": "提货人详细地址",
  34900. "type": "string"
  34901. },
  34902. "amount": {
  34903. "description": "提货金额",
  34904. "type": "number"
  34905. },
  34906. "artradedate": {
  34907. "description": "自动收货交易日(yyyyMMdd)",
  34908. "type": "string"
  34909. },
  34910. "auditer": {
  34911. "description": "审核人",
  34912. "type": "integer"
  34913. },
  34914. "auditsrc": {
  34915. "description": "更新来源 - 1:管理端 2:终端",
  34916. "type": "integer"
  34917. },
  34918. "audittime": {
  34919. "description": "审核时间(发货时间 | 备货完成时间 都是这个字段)",
  34920. "type": "string"
  34921. },
  34922. "audittradedate": {
  34923. "description": "审核交易日(yyyyMMdd)",
  34924. "type": "string"
  34925. },
  34926. "cardnum": {
  34927. "description": "提货人证件号码",
  34928. "type": "string"
  34929. },
  34930. "cardtypeid": {
  34931. "description": "提货人证件类型",
  34932. "type": "integer"
  34933. },
  34934. "checkremark": {
  34935. "description": "审核备注",
  34936. "type": "string"
  34937. },
  34938. "cityid": {
  34939. "description": "市",
  34940. "type": "integer"
  34941. },
  34942. "cityname": {
  34943. "description": "城市名称",
  34944. "type": "string"
  34945. },
  34946. "confirmtime": {
  34947. "description": "取货时间 或 收货时间",
  34948. "type": "string"
  34949. },
  34950. "countryid": {
  34951. "description": "国家",
  34952. "type": "integer"
  34953. },
  34954. "countryname": {
  34955. "description": "国家名称",
  34956. "type": "string"
  34957. },
  34958. "decimalplace": {
  34959. "description": "商品报价小数位",
  34960. "type": "integer"
  34961. },
  34962. "districtid": {
  34963. "description": "地区",
  34964. "type": "integer"
  34965. },
  34966. "districtname": {
  34967. "description": "地区名称",
  34968. "type": "string"
  34969. },
  34970. "enumdicname": {
  34971. "description": "单位名称(提货商品)",
  34972. "type": "string"
  34973. },
  34974. "expresscompany": {
  34975. "description": "物流公司",
  34976. "type": "string"
  34977. },
  34978. "expressnum": {
  34979. "description": "物流单号",
  34980. "type": "string"
  34981. },
  34982. "goodsagreeunit": {
  34983. "description": "交易商品乘数",
  34984. "type": "number"
  34985. },
  34986. "goodscode": {
  34987. "description": "商品代码",
  34988. "type": "string"
  34989. },
  34990. "goodsid": {
  34991. "description": "商品ID",
  34992. "type": "integer"
  34993. },
  34994. "goodsname": {
  34995. "description": "商品名称",
  34996. "type": "string"
  34997. },
  34998. "goodsqty": {
  34999. "description": "交易商品手数(69模式按成交量小数位放大取整)",
  35000. "type": "number"
  35001. },
  35002. "handlestatus": {
  35003. "description": "处理状态",
  35004. "type": "integer"
  35005. },
  35006. "logincode": {
  35007. "description": "账号(登录代码, 有可能为空)",
  35008. "type": "string"
  35009. },
  35010. "marketid": {
  35011. "description": "市场ID",
  35012. "type": "integer"
  35013. },
  35014. "phonenum": {
  35015. "description": "提货人联系方式",
  35016. "type": "string"
  35017. },
  35018. "pickupgoodsagreeunit": {
  35019. "description": "提货商品合约乘数",
  35020. "type": "number"
  35021. },
  35022. "pickupgoodsid": {
  35023. "description": "提货商品ID",
  35024. "type": "string"
  35025. },
  35026. "pickupgoodsname": {
  35027. "description": "提货商品名称",
  35028. "type": "string"
  35029. },
  35030. "pickupgoodsqty": {
  35031. "description": "提货商品手数(数量)",
  35032. "type": "number"
  35033. },
  35034. "pickupgoodsunitid": {
  35035. "description": "单位ID(提货商品)",
  35036. "type": "integer"
  35037. },
  35038. "pickupratio": {
  35039. "description": "提货系数",
  35040. "type": "number"
  35041. },
  35042. "preparedays": {
  35043. "description": "备货期(天)-提货单明细表",
  35044. "type": "integer"
  35045. },
  35046. "provinceid": {
  35047. "description": "省",
  35048. "type": "integer"
  35049. },
  35050. "provincename": {
  35051. "description": "省名称",
  35052. "type": "string"
  35053. },
  35054. "qty": {
  35055. "description": "交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总",
  35056. "type": "number"
  35057. },
  35058. "qtydecimalplace": {
  35059. "description": "商品数量小数位",
  35060. "type": "integer"
  35061. },
  35062. "recivername": {
  35063. "description": "提货人姓名",
  35064. "type": "string"
  35065. },
  35066. "reqtime": {
  35067. "description": "提货申请时间",
  35068. "type": "string"
  35069. },
  35070. "storeuserid": {
  35071. "description": "门店用户ID (千海金)",
  35072. "type": "integer"
  35073. },
  35074. "storeusername": {
  35075. "description": "门店用户名称",
  35076. "type": "string"
  35077. },
  35078. "takemode": {
  35079. "description": "提货方式 - 2:自提 3:配送(邮寄)",
  35080. "type": "integer"
  35081. },
  35082. "takeorderid": {
  35083. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  35084. "type": "string"
  35085. },
  35086. "takeorderstatus": {
  35087. "description": "提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  35088. "type": "integer"
  35089. },
  35090. "takeremark": {
  35091. "description": "提货备注",
  35092. "type": "string"
  35093. },
  35094. "tradedate": {
  35095. "description": "交易日(yyyyMMdd)",
  35096. "type": "string"
  35097. },
  35098. "updatetime": {
  35099. "description": "更新时间",
  35100. "type": "string"
  35101. },
  35102. "userid": {
  35103. "description": "用户ID",
  35104. "type": "integer"
  35105. },
  35106. "userinfotype": {
  35107. "description": "客户类型 1-个人 2-企业",
  35108. "type": "integer"
  35109. },
  35110. "username": {
  35111. "description": "用户名称",
  35112. "type": "string"
  35113. }
  35114. }
  35115. },
  35116. "models.QhjUserNodeCfgAndStatus": {
  35117. "type": "object",
  35118. "properties": {
  35119. "agreementcontent": {
  35120. "description": "协议内容",
  35121. "type": "string"
  35122. },
  35123. "agreementid": {
  35124. "description": "协议ID",
  35125. "type": "integer"
  35126. },
  35127. "agreementname": {
  35128. "description": "协议名称",
  35129. "type": "string"
  35130. },
  35131. "agreementno": {
  35132. "description": "协议编号",
  35133. "type": "string"
  35134. },
  35135. "agreementtype": {
  35136. "description": "协议类型 - 1:注册 2:登录 3:交易",
  35137. "type": "integer"
  35138. },
  35139. "agreementversion": {
  35140. "description": "协议版本号",
  35141. "type": "integer"
  35142. },
  35143. "configid": {
  35144. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  35145. "type": "integer"
  35146. },
  35147. "createtime": {
  35148. "description": "创建时间",
  35149. "type": "string"
  35150. },
  35151. "goodsid": {
  35152. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  35153. "type": "integer"
  35154. },
  35155. "nodetype": {
  35156. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  35157. "type": "integer"
  35158. },
  35159. "signtimestamp": {
  35160. "description": "签约状态时间戳(最近一次)",
  35161. "type": "string"
  35162. },
  35163. "tradedate": {
  35164. "description": "签约交易日(yyyyMMdd)",
  35165. "type": "string"
  35166. },
  35167. "userid": {
  35168. "description": "客户ID",
  35169. "type": "integer"
  35170. }
  35171. }
  35172. },
  35173. "models.Qhjgoodsex": {
  35174. "type": "object",
  35175. "properties": {
  35176. "canfinance": {
  35177. "description": "是否支持融资 - 0:不支持 1:支持【69:铂金宝】",
  35178. "type": "integer"
  35179. },
  35180. "canregularlybuy": {
  35181. "description": "是否支持定投 - 0:不支持 1:支持【69:铂金宝】",
  35182. "type": "integer"
  35183. },
  35184. "defaulttradeuserid": {
  35185. "description": "默认交易用户ID",
  35186. "type": "integer"
  35187. },
  35188. "deliverygoodsid": {
  35189. "description": "现货品种ID",
  35190. "type": "integer"
  35191. },
  35192. "goodsid": {
  35193. "description": "商品ID(自增ID SEQ_GOODS)",
  35194. "type": "integer"
  35195. },
  35196. "minamount": {
  35197. "description": "最小购买金额",
  35198. "type": "number"
  35199. },
  35200. "regularlybuyminamount": {
  35201. "description": "定投最小金额",
  35202. "type": "number"
  35203. },
  35204. "regularlybuyminqty": {
  35205. "description": "定投最小数量",
  35206. "type": "number"
  35207. },
  35208. "spotgoodsbrandid": {
  35209. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\"",
  35210. "type": "integer"
  35211. },
  35212. "visibilityforenterprise": {
  35213. "description": "企业客户是否可见 - 0:不可见 1:可见",
  35214. "type": "integer"
  35215. },
  35216. "visibilityforpersonal": {
  35217. "description": "个人客户是否可见 - 0:不可见 1:可见",
  35218. "type": "integer"
  35219. },
  35220. "wrstandardid": {
  35221. "description": "现货商品ID",
  35222. "type": "integer"
  35223. }
  35224. }
  35225. },
  35226. "models.QueryErrorInfosRsp": {
  35227. "type": "object",
  35228. "required": [
  35229. "errorid"
  35230. ],
  35231. "properties": {
  35232. "description": {
  35233. "description": "异常描述",
  35234. "type": "string"
  35235. },
  35236. "errorcode": {
  35237. "description": "异常代码",
  35238. "type": "string"
  35239. },
  35240. "errorid": {
  35241. "description": "异常ID",
  35242. "type": "integer"
  35243. },
  35244. "modulecode": {
  35245. "description": "所属模块",
  35246. "type": "string"
  35247. },
  35248. "operatecode": {
  35249. "description": "所属操作",
  35250. "type": "string"
  35251. },
  35252. "rownumber": {
  35253. "description": "行号",
  35254. "type": "string"
  35255. }
  35256. }
  35257. },
  35258. "models.QueryHedgeOrderDetailRsp": {
  35259. "type": "object",
  35260. "properties": {
  35261. "accountid": {
  35262. "description": "账户ID",
  35263. "type": "integer"
  35264. },
  35265. "buyorsell": {
  35266. "description": "买卖 - 0:买 1:卖",
  35267. "type": "integer"
  35268. },
  35269. "cancellogincode": {
  35270. "description": "撤单人",
  35271. "type": "string"
  35272. },
  35273. "channelbuildtype": {
  35274. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  35275. "type": "integer"
  35276. },
  35277. "channelinnerorderstatus": {
  35278. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:部分成交 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  35279. "type": "integer"
  35280. },
  35281. "channeloperatetype": {
  35282. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  35283. "type": "integer"
  35284. },
  35285. "closetype": {
  35286. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  35287. "type": "integer"
  35288. },
  35289. "curexchangerate": {
  35290. "description": "当前汇率",
  35291. "type": "number"
  35292. },
  35293. "decimalplace": {
  35294. "description": "商品报价小数位",
  35295. "type": "integer"
  35296. },
  35297. "exchangefullname": {
  35298. "description": "外部交易所全称",
  35299. "type": "string"
  35300. },
  35301. "goodscode": {
  35302. "description": "商品代码(内部)",
  35303. "type": "string"
  35304. },
  35305. "goodsid": {
  35306. "description": "商品ID",
  35307. "type": "integer"
  35308. },
  35309. "goodsname": {
  35310. "description": "商品名称",
  35311. "type": "string"
  35312. },
  35313. "marketid": {
  35314. "description": "市场ID",
  35315. "type": "integer"
  35316. },
  35317. "openfreezemargin": {
  35318. "description": "冻结保证金(冻结交易金额)",
  35319. "type": "number"
  35320. },
  35321. "orderid": {
  35322. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  35323. "type": "string"
  35324. },
  35325. "orderlogincode": {
  35326. "description": "委托人",
  35327. "type": "string"
  35328. },
  35329. "orderprice": {
  35330. "description": "委托价格(账户)",
  35331. "type": "number"
  35332. },
  35333. "orderqty": {
  35334. "description": "委托数量",
  35335. "type": "integer"
  35336. },
  35337. "ordertime": {
  35338. "description": "委托时间",
  35339. "type": "string"
  35340. },
  35341. "pricemode": {
  35342. "description": "取价方式 - 1:市价 2: 限价",
  35343. "type": "integer"
  35344. },
  35345. "tradedate": {
  35346. "description": "交易日(yyyyMMdd)",
  35347. "type": "string"
  35348. },
  35349. "tradeqty": {
  35350. "description": "成交数量",
  35351. "type": "integer"
  35352. }
  35353. }
  35354. },
  35355. "models.QueryHedgeTradeDetailRsp": {
  35356. "type": "object",
  35357. "properties": {
  35358. "accountid": {
  35359. "description": "账号ID",
  35360. "type": "integer"
  35361. },
  35362. "buyorsell": {
  35363. "description": "方向 - 0:买 1:卖",
  35364. "type": "integer"
  35365. },
  35366. "channelbuildtype": {
  35367. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  35368. "type": "integer"
  35369. },
  35370. "closecharge": {
  35371. "description": "平仓手续费(账户)",
  35372. "type": "number"
  35373. },
  35374. "closecharge2": {
  35375. "description": "平仓手续费(商品)",
  35376. "type": "number"
  35377. },
  35378. "closepl": {
  35379. "description": "平仓盈亏(账户)",
  35380. "type": "number"
  35381. },
  35382. "closepl2": {
  35383. "description": "平仓盈亏(商品)",
  35384. "type": "number"
  35385. },
  35386. "closepl3": {
  35387. "description": "平仓盈亏(账户)(逐笔)",
  35388. "type": "number"
  35389. },
  35390. "closepl4": {
  35391. "description": "平仓盈亏(商品)(逐笔)",
  35392. "type": "number"
  35393. },
  35394. "closetype": {
  35395. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  35396. "type": "integer"
  35397. },
  35398. "curexchangerate": {
  35399. "description": "当前汇率",
  35400. "type": "number"
  35401. },
  35402. "decimalplace": {
  35403. "description": "商品报价小数位",
  35404. "type": "integer"
  35405. },
  35406. "exchangefullname": {
  35407. "description": "外部交易所全称",
  35408. "type": "string"
  35409. },
  35410. "goodscode": {
  35411. "description": "商品代码(内部)",
  35412. "type": "string"
  35413. },
  35414. "goodsid": {
  35415. "description": "商品ID",
  35416. "type": "integer"
  35417. },
  35418. "goodsname": {
  35419. "description": "商品名称",
  35420. "type": "string"
  35421. },
  35422. "marketid": {
  35423. "description": "市场ID",
  35424. "type": "integer"
  35425. },
  35426. "opencharge": {
  35427. "description": "建仓手续费(账户)",
  35428. "type": "number"
  35429. },
  35430. "opencharge2": {
  35431. "description": "建仓手续费(商品)",
  35432. "type": "number"
  35433. },
  35434. "orderid": {
  35435. "description": "委托单号",
  35436. "type": "string"
  35437. },
  35438. "orderlogincode": {
  35439. "description": "委托人",
  35440. "type": "string"
  35441. },
  35442. "tradeamount": {
  35443. "description": "成交金额(账户)",
  35444. "type": "number"
  35445. },
  35446. "tradedate": {
  35447. "description": "交易日(yyyyMMdd)",
  35448. "type": "string"
  35449. },
  35450. "tradeid": {
  35451. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  35452. "type": "string"
  35453. },
  35454. "tradeprice": {
  35455. "description": "成交价格",
  35456. "type": "number"
  35457. },
  35458. "tradeqty": {
  35459. "description": "成交数量",
  35460. "type": "integer"
  35461. },
  35462. "tradetime": {
  35463. "description": "成交时间",
  35464. "type": "string"
  35465. },
  35466. "tradetype": {
  35467. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  35468. "type": "integer"
  35469. }
  35470. }
  35471. },
  35472. "models.QuotePrimaryMenu": {
  35473. "type": "object",
  35474. "properties": {
  35475. "Index": {
  35476. "description": "序号",
  35477. "type": "integer"
  35478. },
  35479. "Key": {
  35480. "description": "键名",
  35481. "type": "string"
  35482. },
  35483. "Name": {
  35484. "description": "菜单名称",
  35485. "type": "string"
  35486. },
  35487. "SubMenus": {
  35488. "description": "子菜单",
  35489. "type": "array",
  35490. "items": {
  35491. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  35492. }
  35493. },
  35494. "SubTitleType": {
  35495. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  35496. "type": "integer"
  35497. },
  35498. "TradeModes": {
  35499. "description": "包含市场交易类型",
  35500. "type": "string"
  35501. }
  35502. }
  35503. },
  35504. "models.QuoteSecondaryMenu": {
  35505. "type": "object",
  35506. "properties": {
  35507. "ExExchangeCode": {
  35508. "description": "外部交易所代码",
  35509. "type": "string"
  35510. },
  35511. "ExExchangeID": {
  35512. "description": "外部交易所ID",
  35513. "type": "integer"
  35514. },
  35515. "GoodsGroupIDs": {
  35516. "description": "商品组ID列表",
  35517. "type": "array",
  35518. "items": {
  35519. "type": "integer"
  35520. }
  35521. },
  35522. "Index": {
  35523. "description": "序号",
  35524. "type": "integer"
  35525. },
  35526. "MarketID": {
  35527. "description": "市场ID",
  35528. "type": "integer"
  35529. },
  35530. "MenuTitle": {
  35531. "description": "菜单标题(市场名称或外部交易所名称)",
  35532. "type": "string"
  35533. },
  35534. "TradeMode": {
  35535. "description": "交易模式",
  35536. "type": "integer"
  35537. }
  35538. }
  35539. },
  35540. "models.RelatedTaAccount": {
  35541. "type": "object",
  35542. "properties": {
  35543. "accountid": {
  35544. "description": "资金账户ID",
  35545. "type": "integer"
  35546. }
  35547. }
  35548. },
  35549. "models.RoleMenu": {
  35550. "type": "object",
  35551. "properties": {
  35552. "hasright": {
  35553. "description": "是否有权限 0-没有权限 1-有权限",
  35554. "type": "integer"
  35555. },
  35556. "iconame": {
  35557. "description": "菜单图标",
  35558. "type": "string"
  35559. },
  35560. "menutype": {
  35561. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  35562. "type": "integer"
  35563. },
  35564. "parentcode": {
  35565. "description": "上级资源代码",
  35566. "type": "string"
  35567. },
  35568. "remark": {
  35569. "description": "菜单备注",
  35570. "type": "string"
  35571. },
  35572. "resourcecode": {
  35573. "description": "菜单代码",
  35574. "type": "string"
  35575. },
  35576. "resourcelevel": {
  35577. "description": "级别",
  35578. "type": "integer"
  35579. },
  35580. "resourcename": {
  35581. "description": "菜单名称",
  35582. "type": "string"
  35583. },
  35584. "roleid": {
  35585. "description": "角色id",
  35586. "type": "integer"
  35587. },
  35588. "sort": {
  35589. "description": "排序",
  35590. "type": "integer"
  35591. },
  35592. "subMenu": {
  35593. "description": "子级菜单(结构同上层一样, swag解析不出来)",
  35594. "type": "array",
  35595. "items": {
  35596. "$ref": "#/definitions/models.RoleMenu"
  35597. }
  35598. },
  35599. "url": {
  35600. "description": "URL",
  35601. "type": "string"
  35602. },
  35603. "userid": {
  35604. "description": "用户id",
  35605. "type": "integer"
  35606. }
  35607. }
  35608. },
  35609. "models.SearchGoods": {
  35610. "type": "object",
  35611. "required": [
  35612. "goodscode",
  35613. "goodsid",
  35614. "goodsname",
  35615. "marketid",
  35616. "trademode"
  35617. ],
  35618. "properties": {
  35619. "goodscode": {
  35620. "description": "商品代码(内部)",
  35621. "type": "string"
  35622. },
  35623. "goodsid": {
  35624. "description": "商品ID(自增ID SEQ_GOODS)",
  35625. "type": "integer"
  35626. },
  35627. "goodsname": {
  35628. "description": "商品名称",
  35629. "type": "string"
  35630. },
  35631. "marketid": {
  35632. "description": "所属市场ID",
  35633. "type": "integer"
  35634. },
  35635. "marketname": {
  35636. "description": "市场名称",
  35637. "type": "string"
  35638. },
  35639. "trademode": {
  35640. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  35641. "type": "integer"
  35642. }
  35643. }
  35644. },
  35645. "models.Systemparam": {
  35646. "type": "object",
  35647. "required": [
  35648. "paramcode"
  35649. ],
  35650. "properties": {
  35651. "loginid": {
  35652. "description": "更新用户账号,登录账号",
  35653. "type": "string"
  35654. },
  35655. "modifyflag": {
  35656. "description": "修改标志0 不允许修改 1 允许修改",
  35657. "type": "integer"
  35658. },
  35659. "paramcode": {
  35660. "description": "参数代码",
  35661. "type": "string"
  35662. },
  35663. "paramname": {
  35664. "description": "参数名",
  35665. "type": "string"
  35666. },
  35667. "paramtype": {
  35668. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  35669. "type": "integer"
  35670. },
  35671. "paramvalue": {
  35672. "description": "参数值",
  35673. "type": "string"
  35674. },
  35675. "paramvalue2": {
  35676. "description": "参数值(CLOB)",
  35677. "type": "string"
  35678. },
  35679. "regexpress": {
  35680. "description": "正则表达式",
  35681. "type": "string"
  35682. },
  35683. "remark": {
  35684. "description": "备注",
  35685. "type": "string"
  35686. },
  35687. "serverip": {
  35688. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  35689. "type": "string"
  35690. },
  35691. "showflag": {
  35692. "description": "是否显示0 不显示 1 显示",
  35693. "type": "integer"
  35694. },
  35695. "updatetime": {
  35696. "description": "更新时间",
  35697. "type": "string"
  35698. },
  35699. "userid": {
  35700. "description": "更新用户ID",
  35701. "type": "integer"
  35702. }
  35703. }
  35704. },
  35705. "models.Szdz3convertconfig": {
  35706. "type": "object",
  35707. "required": [
  35708. "converttype",
  35709. "innergoodsid",
  35710. "outergoodscode"
  35711. ],
  35712. "properties": {
  35713. "canin": {
  35714. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  35715. "type": "integer"
  35716. },
  35717. "canout": {
  35718. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  35719. "type": "integer"
  35720. },
  35721. "converttype": {
  35722. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  35723. "type": "integer"
  35724. },
  35725. "createtime": {
  35726. "description": "创建时间",
  35727. "type": "string"
  35728. },
  35729. "creatorid": {
  35730. "description": "创建人",
  35731. "type": "integer"
  35732. },
  35733. "daymaxvalue": {
  35734. "description": "当日最大转入限制",
  35735. "type": "number"
  35736. },
  35737. "freezedays": {
  35738. "description": "冻结天数 [5:花生米转交易]",
  35739. "type": "integer"
  35740. },
  35741. "innergoodsid": {
  35742. "description": "内部商品ID[交易]",
  35743. "type": "integer"
  35744. },
  35745. "inratio": {
  35746. "description": "目标值",
  35747. "type": "integer"
  35748. },
  35749. "modifierid": {
  35750. "description": "修改人",
  35751. "type": "integer"
  35752. },
  35753. "modifytime": {
  35754. "description": "修改时间",
  35755. "type": "string"
  35756. },
  35757. "outergoodscode": {
  35758. "description": "外部商品代码[JD\\PD]",
  35759. "type": "string"
  35760. },
  35761. "outratio": {
  35762. "description": "源值",
  35763. "type": "integer"
  35764. },
  35765. "pddecimalplace": {
  35766. "description": "PD小数位",
  35767. "type": "integer"
  35768. },
  35769. "timemaxvalue": {
  35770. "description": "单次最大转入限制",
  35771. "type": "number"
  35772. },
  35773. "timeminvalue": {
  35774. "description": "单次最小转入限制",
  35775. "type": "number"
  35776. }
  35777. }
  35778. },
  35779. "models.Szdz3searchwhitelist": {
  35780. "type": "object",
  35781. "required": [
  35782. "userid"
  35783. ],
  35784. "properties": {
  35785. "createtime": {
  35786. "description": "创建时间",
  35787. "type": "string"
  35788. },
  35789. "creatorid": {
  35790. "description": "创建人",
  35791. "type": "integer"
  35792. },
  35793. "modifierid": {
  35794. "description": "修改人",
  35795. "type": "integer"
  35796. },
  35797. "modifytime": {
  35798. "description": "修改时间",
  35799. "type": "string"
  35800. },
  35801. "userid": {
  35802. "description": "用户ID",
  35803. "type": "integer"
  35804. }
  35805. }
  35806. },
  35807. "models.TBGoods": {
  35808. "type": "object",
  35809. "properties": {
  35810. "agreeunit": {
  35811. "description": "合约乘数",
  35812. "type": "number"
  35813. },
  35814. "enumdicname": {
  35815. "description": "单位名称",
  35816. "type": "string"
  35817. },
  35818. "goodscode": {
  35819. "description": "商品代码(内部)",
  35820. "type": "string"
  35821. },
  35822. "goodsid": {
  35823. "description": "商品ID(自增ID SEQ_GOODS)",
  35824. "type": "integer"
  35825. },
  35826. "goodsname": {
  35827. "description": "商品名称",
  35828. "type": "string"
  35829. }
  35830. }
  35831. },
  35832. "models.TBGoodsGroup": {
  35833. "type": "object",
  35834. "properties": {
  35835. "GDLST": {
  35836. "description": "商品列表",
  35837. "type": "array",
  35838. "items": {
  35839. "$ref": "#/definitions/models.TBGoods"
  35840. }
  35841. },
  35842. "convertratio": {
  35843. "description": "折算系数",
  35844. "type": "number"
  35845. },
  35846. "enumdicname": {
  35847. "description": "单位名称",
  35848. "type": "string"
  35849. },
  35850. "exexchangecode": {
  35851. "description": "交易所代码",
  35852. "type": "string"
  35853. },
  35854. "exexchangename": {
  35855. "description": "交易所名称",
  35856. "type": "string"
  35857. },
  35858. "goodsgroupid": {
  35859. "description": "商品组ID(自增ID)",
  35860. "type": "integer"
  35861. },
  35862. "goodsgroupname": {
  35863. "description": "商品组名称",
  35864. "type": "string"
  35865. },
  35866. "goodunitid": {
  35867. "description": "报价单位ID",
  35868. "type": "integer"
  35869. }
  35870. }
  35871. },
  35872. "models.TBMiddleGoods": {
  35873. "type": "object",
  35874. "properties": {
  35875. "GPLST": {
  35876. "description": "期货品种列表",
  35877. "type": "array",
  35878. "items": {
  35879. "$ref": "#/definitions/models.TBGoodsGroup"
  35880. }
  35881. },
  35882. "WDLST": {
  35883. "description": "商品信息列表(现货品类)",
  35884. "type": "array",
  35885. "items": {
  35886. "$ref": "#/definitions/models.TBWrstandard"
  35887. }
  35888. },
  35889. "areauserid": {
  35890. "description": "机构用户ID",
  35891. "type": "integer"
  35892. },
  35893. "enumdicname": {
  35894. "description": "单位名称",
  35895. "type": "string"
  35896. },
  35897. "goodsunitid": {
  35898. "description": "套保品种单位id",
  35899. "type": "integer"
  35900. },
  35901. "middlegoodscode": {
  35902. "description": "套保品种代码",
  35903. "type": "string"
  35904. },
  35905. "middlegoodsid": {
  35906. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  35907. "type": "integer"
  35908. },
  35909. "middlegoodsname": {
  35910. "description": "套保品种名称",
  35911. "type": "string"
  35912. },
  35913. "needarbitrageratio": {
  35914. "description": "套利比率",
  35915. "type": "number"
  35916. },
  35917. "needhedgeratio": {
  35918. "description": "套保比率",
  35919. "type": "number"
  35920. }
  35921. }
  35922. },
  35923. "models.TBWrstandard": {
  35924. "type": "object",
  35925. "properties": {
  35926. "convertratio": {
  35927. "description": "折算系数",
  35928. "type": "number"
  35929. },
  35930. "deliverygoodsname": {
  35931. "description": "品种名称",
  35932. "type": "string"
  35933. },
  35934. "enumdicname": {
  35935. "description": "单位名称",
  35936. "type": "string"
  35937. },
  35938. "vatrate": {
  35939. "description": "增值税率",
  35940. "type": "number"
  35941. },
  35942. "wrstandardcode": {
  35943. "description": "现货商品代码",
  35944. "type": "string"
  35945. },
  35946. "wrstandardid": {
  35947. "description": "现货商品ID(SEQ_WRSTANDARD)",
  35948. "type": "integer"
  35949. },
  35950. "wrstandardname": {
  35951. "description": "现货商品名称",
  35952. "type": "string"
  35953. }
  35954. }
  35955. },
  35956. "models.Taaccount": {
  35957. "type": "object",
  35958. "required": [
  35959. "accountid",
  35960. "userid"
  35961. ],
  35962. "properties": {
  35963. "accountflag": {
  35964. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  35965. "type": "integer"
  35966. },
  35967. "accountid": {
  35968. "description": "资金账户ID",
  35969. "type": "integer"
  35970. },
  35971. "accountname": {
  35972. "description": "账户名称",
  35973. "type": "string"
  35974. },
  35975. "balance": {
  35976. "description": "期初余额",
  35977. "type": "number"
  35978. },
  35979. "capitalbalance": {
  35980. "description": "本金余额[外部子账户实际出入金余额]",
  35981. "type": "number"
  35982. },
  35983. "changeflag": {
  35984. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  35985. "type": "integer"
  35986. },
  35987. "changetime": {
  35988. "description": "账户状态变更时间",
  35989. "type": "string"
  35990. },
  35991. "closepl": {
  35992. "description": "今日平仓盈亏",
  35993. "type": "number"
  35994. },
  35995. "creditdecrease": {
  35996. "description": "今日授信减少",
  35997. "type": "number"
  35998. },
  35999. "creditincrease": {
  36000. "description": "今日授信增加",
  36001. "type": "number"
  36002. },
  36003. "curamount": {
  36004. "description": "总市值(从持仓中统计)",
  36005. "type": "number"
  36006. },
  36007. "currencyid": {
  36008. "description": "货币ID",
  36009. "type": "integer"
  36010. },
  36011. "currentbalance": {
  36012. "description": "期末余额",
  36013. "type": "number"
  36014. },
  36015. "freezecharge": {
  36016. "description": "手续费冻结",
  36017. "type": "number"
  36018. },
  36019. "freezemargin": {
  36020. "description": "冻结保证金",
  36021. "type": "number"
  36022. },
  36023. "fromaccountid": {
  36024. "description": "所属上级账户",
  36025. "type": "integer"
  36026. },
  36027. "inamount": {
  36028. "description": "今日入金金额(包括三方入金)",
  36029. "type": "number"
  36030. },
  36031. "ismain": {
  36032. "description": "是否母账号 0:不是母账户 1:是母账户",
  36033. "type": "integer"
  36034. },
  36035. "ismarketaccount": {
  36036. "description": "是否机构接单账号 0:不是 1:是",
  36037. "type": "integer"
  36038. },
  36039. "isreckonaccount": {
  36040. "description": "是否机构分润账号 0:不是 1:是",
  36041. "type": "integer"
  36042. },
  36043. "mortgagecredit": {
  36044. "description": "授信金额",
  36045. "type": "number"
  36046. },
  36047. "orifreezecharge": {
  36048. "description": "期初手续费冻结",
  36049. "type": "number"
  36050. },
  36051. "orifreezemargin": {
  36052. "description": "期初冻结保证金",
  36053. "type": "number"
  36054. },
  36055. "orimortgagecredit": {
  36056. "description": "期初授信金额",
  36057. "type": "number"
  36058. },
  36059. "oriothercredit": {
  36060. "description": "期初其它授信金额",
  36061. "type": "number"
  36062. },
  36063. "oriotherfreezemargin": {
  36064. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  36065. "type": "number"
  36066. },
  36067. "orioutamountfreeze": {
  36068. "description": "期初出金冻结",
  36069. "type": "number"
  36070. },
  36071. "oriusedmargin": {
  36072. "description": "期初占用保证金",
  36073. "type": "number"
  36074. },
  36075. "othercredit": {
  36076. "description": "其它授信金额",
  36077. "type": "number"
  36078. },
  36079. "othercreditdecrease": {
  36080. "description": "今日其它授信减少",
  36081. "type": "number"
  36082. },
  36083. "othercreditincrease": {
  36084. "description": "今日其它授信增加",
  36085. "type": "number"
  36086. },
  36087. "otherfreezemargin": {
  36088. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  36089. "type": "number"
  36090. },
  36091. "otherincome": {
  36092. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  36093. "type": "number"
  36094. },
  36095. "otherpay": {
  36096. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  36097. "type": "number"
  36098. },
  36099. "outamount": {
  36100. "description": "今日出金金额(包括三方出金)",
  36101. "type": "number"
  36102. },
  36103. "outamountfreeze": {
  36104. "description": "出金冻结",
  36105. "type": "number"
  36106. },
  36107. "outthreshold": {
  36108. "description": "出金阈值",
  36109. "type": "number"
  36110. },
  36111. "parentaccountid": {
  36112. "description": "所属根账号",
  36113. "type": "integer"
  36114. },
  36115. "paycharge": {
  36116. "description": "今日手续费支出",
  36117. "type": "number"
  36118. },
  36119. "relatedaccountstatus": {
  36120. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  36121. "type": "integer"
  36122. },
  36123. "relateduserid": {
  36124. "description": "关联用户",
  36125. "type": "integer"
  36126. },
  36127. "remainamount": {
  36128. "description": "融资额(从融资合同中统计)",
  36129. "type": "number"
  36130. },
  36131. "serivcegroup": {
  36132. "description": "服务分组",
  36133. "type": "integer"
  36134. },
  36135. "signstatus": {
  36136. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  36137. "type": "integer"
  36138. },
  36139. "sublevelpath": {
  36140. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  36141. "type": "string"
  36142. },
  36143. "taaccounttype": {
  36144. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  36145. "type": "integer"
  36146. },
  36147. "thirdinamount": {
  36148. "description": "今日三方入金",
  36149. "type": "number"
  36150. },
  36151. "thirdoutamount": {
  36152. "description": "今日三方出金",
  36153. "type": "number"
  36154. },
  36155. "tradestatus": {
  36156. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  36157. "type": "integer"
  36158. },
  36159. "tradestatuschangetime": {
  36160. "description": "激活时间",
  36161. "type": "string"
  36162. },
  36163. "transferamount": {
  36164. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  36165. "type": "number"
  36166. },
  36167. "usedmargin": {
  36168. "description": "占用保证金",
  36169. "type": "number"
  36170. },
  36171. "userid": {
  36172. "description": "用户ID",
  36173. "type": "integer"
  36174. }
  36175. }
  36176. },
  36177. "models.Tablecolumnconfig": {
  36178. "type": "object",
  36179. "required": [
  36180. "autoid"
  36181. ],
  36182. "properties": {
  36183. "aligntype": {
  36184. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  36185. "type": "integer"
  36186. },
  36187. "autoid": {
  36188. "description": "AutoID",
  36189. "type": "integer"
  36190. },
  36191. "columnfield": {
  36192. "description": "列字段",
  36193. "type": "string"
  36194. },
  36195. "columntitle": {
  36196. "description": "列Title",
  36197. "type": "string"
  36198. },
  36199. "columnwidth": {
  36200. "description": "列宽",
  36201. "type": "string"
  36202. },
  36203. "formatterstring": {
  36204. "description": "格式化字符",
  36205. "type": "string"
  36206. },
  36207. "formattertype": {
  36208. "description": "格式化类型",
  36209. "type": "string"
  36210. },
  36211. "groupname": {
  36212. "description": "表头分组名称",
  36213. "type": "string"
  36214. },
  36215. "isshow": {
  36216. "description": "是否显示 - 0:不显示 1:显示",
  36217. "type": "integer"
  36218. },
  36219. "needsummary": {
  36220. "description": "是否需要汇总 - 0:不需要 1:需要",
  36221. "type": "integer"
  36222. },
  36223. "orderindex": {
  36224. "description": "顺序",
  36225. "type": "integer"
  36226. },
  36227. "remark": {
  36228. "description": "备注",
  36229. "type": "string"
  36230. },
  36231. "summarytype": {
  36232. "description": "汇总类型 - 1:加总 2:最后一个",
  36233. "type": "integer"
  36234. },
  36235. "tablekey": {
  36236. "description": "列表Key",
  36237. "type": "string"
  36238. }
  36239. }
  36240. },
  36241. "models.TjmdHolderDetailTradeInfo": {
  36242. "type": "object",
  36243. "properties": {
  36244. "agreeunit": {
  36245. "description": "合约乘数",
  36246. "type": "number"
  36247. },
  36248. "buyaccountid": {
  36249. "description": "买方账户",
  36250. "type": "string"
  36251. },
  36252. "buyusername": {
  36253. "description": "买方",
  36254. "type": "string"
  36255. },
  36256. "delistingdate": {
  36257. "description": "最后结算日",
  36258. "type": "string"
  36259. },
  36260. "expiredate": {
  36261. "description": "到期结算价定价日",
  36262. "type": "string"
  36263. },
  36264. "exprieprice": {
  36265. "description": "到期清算价格",
  36266. "type": "string"
  36267. },
  36268. "goodscode": {
  36269. "description": "商品代码",
  36270. "type": "string"
  36271. },
  36272. "goodsid": {
  36273. "description": "商品ID",
  36274. "type": "integer"
  36275. },
  36276. "goodsname": {
  36277. "description": "商品名称(交易标的)",
  36278. "type": "string"
  36279. },
  36280. "lasttradedate": {
  36281. "description": "最后交易日",
  36282. "type": "string"
  36283. },
  36284. "listingdate": {
  36285. "description": "开始交易日",
  36286. "type": "string"
  36287. },
  36288. "openprice": {
  36289. "description": "成交价",
  36290. "type": "number"
  36291. },
  36292. "openqty": {
  36293. "description": "交易数量",
  36294. "type": "integer"
  36295. },
  36296. "sellaccountid": {
  36297. "description": "卖方账户",
  36298. "type": "string"
  36299. },
  36300. "sellusername": {
  36301. "description": "卖方",
  36302. "type": "string"
  36303. },
  36304. "tradeamount": {
  36305. "description": "初始名义价值",
  36306. "type": "number"
  36307. },
  36308. "tradedate": {
  36309. "description": "成交日期",
  36310. "type": "string"
  36311. },
  36312. "tradeid": {
  36313. "description": "成交编号",
  36314. "type": "string"
  36315. }
  36316. }
  36317. },
  36318. "models.TjmdMarketSection": {
  36319. "type": "object",
  36320. "properties": {
  36321. "marketsectionid": {
  36322. "description": "市场版块ID(SEQ_MARKETSECTION)",
  36323. "type": "integer"
  36324. },
  36325. "marketsectionname": {
  36326. "description": "市场版块名称",
  36327. "type": "string"
  36328. },
  36329. "mlist": {
  36330. "description": "市场列表(板块下面有多少个市场)",
  36331. "type": "array",
  36332. "items": {
  36333. "$ref": "#/definitions/models.TjmdMarketSectionConfig"
  36334. }
  36335. },
  36336. "orderindex": {
  36337. "description": "排序",
  36338. "type": "integer"
  36339. },
  36340. "pictureurl": {
  36341. "description": "图片url, 规格(90*90)",
  36342. "type": "string"
  36343. },
  36344. "remark": {
  36345. "description": "备注",
  36346. "type": "string"
  36347. }
  36348. }
  36349. },
  36350. "models.TjmdMarketSectionConfig": {
  36351. "type": "object",
  36352. "properties": {
  36353. "auctionwrtype": {
  36354. "description": "仓单类型(现货交易) - 1:无仓单 2:有仓单 3;有无仓单均可",
  36355. "type": "integer"
  36356. },
  36357. "canacceptquote": {
  36358. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  36359. "type": "integer"
  36360. },
  36361. "cangoodsexercise": {
  36362. "description": "[期权]是否可现货行权- 0:否 1:是",
  36363. "type": "integer"
  36364. },
  36365. "cangoodsexercisetype": {
  36366. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  36367. "type": "integer"
  36368. },
  36369. "canmanualquotestrike": {
  36370. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  36371. "type": "integer"
  36372. },
  36373. "canmutistage": {
  36374. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  36375. "type": "integer"
  36376. },
  36377. "canpreexercise": {
  36378. "description": "[期权]是否可预申报- 0:否 1:是",
  36379. "type": "integer"
  36380. },
  36381. "clearinterval": {
  36382. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  36383. "type": "integer"
  36384. },
  36385. "contracttmp": {
  36386. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  36387. "type": "string"
  36388. },
  36389. "exchareaid": {
  36390. "description": "所属交易所,可以没有",
  36391. "type": "integer"
  36392. },
  36393. "financemarketid": {
  36394. "description": "融资回购市场ID [仓单贸易]",
  36395. "type": "integer"
  36396. },
  36397. "goodstype": {
  36398. "description": "商品类型 - 1:交易商品 2:仓单商品",
  36399. "type": "integer"
  36400. },
  36401. "hasrebate": {
  36402. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  36403. "type": "integer"
  36404. },
  36405. "hastradecredit": {
  36406. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  36407. "type": "integer"
  36408. },
  36409. "haswr": {
  36410. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  36411. "type": "integer"
  36412. },
  36413. "isdeductmargin": {
  36414. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  36415. "type": "integer"
  36416. },
  36417. "isrecordsource": {
  36418. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  36419. "type": "integer"
  36420. },
  36421. "isreleasemargin": {
  36422. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  36423. "type": "integer"
  36424. },
  36425. "isupdatereckonprice": {
  36426. "description": "输入结算价标识 - 0:系统生成 1:手工输入(自动) 2:手工输入(手动)",
  36427. "type": "integer"
  36428. },
  36429. "listingmode": {
  36430. "description": "挂牌方式 1:一口价 2:浮动价 3:贸易圈 4:协议指定",
  36431. "type": "integer"
  36432. },
  36433. "marginformula": {
  36434. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  36435. "type": "integer"
  36436. },
  36437. "marginformula2": {
  36438. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  36439. "type": "integer"
  36440. },
  36441. "marketid": {
  36442. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  36443. "type": "integer"
  36444. },
  36445. "marketname": {
  36446. "description": "市场名称",
  36447. "type": "string"
  36448. },
  36449. "marketsectionid": {
  36450. "description": "市场版块ID(SEQ_MARKETSECTION)",
  36451. "type": "integer"
  36452. },
  36453. "marketserviceid": {
  36454. "description": "市场服务ID",
  36455. "type": "integer"
  36456. },
  36457. "marketstatus": {
  36458. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  36459. "type": "integer"
  36460. },
  36461. "markettype": {
  36462. "description": "市场类型- 1:非交易服务 2:交易服务",
  36463. "type": "integer"
  36464. },
  36465. "matchermode": {
  36466. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手 - 作废",
  36467. "type": "integer"
  36468. },
  36469. "nowrquotaflag": {
  36470. "description": "是否校验无仓单额度(仓单贸易) 0:否 1:是",
  36471. "type": "integer"
  36472. },
  36473. "openmethod": {
  36474. "description": "开盘模式 - 0 自动 1手动",
  36475. "type": "integer"
  36476. },
  36477. "orderindex": {
  36478. "description": "排序",
  36479. "type": "integer"
  36480. },
  36481. "otcuserid": {
  36482. "description": "场外期权做市商[场外期权]",
  36483. "type": "integer"
  36484. },
  36485. "outersynctime": {
  36486. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  36487. "type": "string"
  36488. },
  36489. "paylaterflag": {
  36490. "description": "是否支持后付 - 0:不支持 1;支持 - [挂牌点选 所有权、预售挂牌支持]",
  36491. "type": "integer"
  36492. },
  36493. "pendingflag": {
  36494. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  36495. "type": "integer"
  36496. },
  36497. "pendingtime": {
  36498. "description": "待开市时间[通道交易-对冲](HH:mm)",
  36499. "type": "string"
  36500. },
  36501. "performancetempid": {
  36502. "description": "履约计划模板ID - 作废",
  36503. "type": "integer"
  36504. },
  36505. "premiumquotemode": {
  36506. "description": "权利金报价方式 - 1:自动 2:手动",
  36507. "type": "integer"
  36508. },
  36509. "rebateratio": {
  36510. "description": "返利比率[竞价式]",
  36511. "type": "number"
  36512. },
  36513. "reckonorder": {
  36514. "description": "结算顺序",
  36515. "type": "integer"
  36516. },
  36517. "reckonpricealgorithm": {
  36518. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  36519. "type": "integer"
  36520. },
  36521. "reckonpriceparam": {
  36522. "description": "结算价参数",
  36523. "type": "integer"
  36524. },
  36525. "reckontime": {
  36526. "description": "结算时间[通道交易-对冲](HH:mm)",
  36527. "type": "string"
  36528. },
  36529. "roleprioritytype": {
  36530. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  36531. "type": "integer"
  36532. },
  36533. "selllistingauditflag": {
  36534. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  36535. "type": "integer"
  36536. },
  36537. "trademarkettype": {
  36538. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  36539. "type": "integer"
  36540. },
  36541. "trademode": {
  36542. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  36543. "type": "integer"
  36544. },
  36545. "tradeproperty": {
  36546. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  36547. "type": "integer"
  36548. },
  36549. "tradetype": {
  36550. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  36551. "type": "integer"
  36552. },
  36553. "updatereckonpriceinterval": {
  36554. "description": "输入结算价时长(分钟) [1:手工输入(自动)]",
  36555. "type": "integer"
  36556. }
  36557. }
  36558. },
  36559. "models.TjmdQuoteGoods": {
  36560. "type": "object",
  36561. "properties": {
  36562. "buyqty": {
  36563. "description": "买量(暂不做, 无值, 保留字段)",
  36564. "type": "number"
  36565. },
  36566. "decimalplace": {
  36567. "description": "报价小数位",
  36568. "type": "integer"
  36569. },
  36570. "goodscode": {
  36571. "description": "合约代码",
  36572. "type": "string"
  36573. },
  36574. "goodsgroupid": {
  36575. "description": "商品组ID(自增ID)",
  36576. "type": "integer"
  36577. },
  36578. "goodsgroupname": {
  36579. "description": "商品组名称",
  36580. "type": "string"
  36581. },
  36582. "goodsid": {
  36583. "description": "合约id",
  36584. "type": "integer"
  36585. },
  36586. "goodsname": {
  36587. "description": "合约名称",
  36588. "type": "string"
  36589. },
  36590. "refgoodscode": {
  36591. "description": "标的合约代码",
  36592. "type": "string"
  36593. },
  36594. "refgoodsid": {
  36595. "description": "标的合约id",
  36596. "type": "integer"
  36597. },
  36598. "refgoodsname": {
  36599. "description": "标的合约名称",
  36600. "type": "string"
  36601. },
  36602. "sellqty": {
  36603. "description": "卖量(暂不做, 无值, 保留字段)",
  36604. "type": "number"
  36605. }
  36606. }
  36607. },
  36608. "models.TjmdTodayAccountMargin": {
  36609. "type": "object",
  36610. "properties": {
  36611. "accountid": {
  36612. "description": "账号ID",
  36613. "type": "integer"
  36614. },
  36615. "goodsid": {
  36616. "description": "商品ID",
  36617. "type": "integer"
  36618. },
  36619. "infoc": {
  36620. "description": "配置参数",
  36621. "$ref": "#/definitions/pb.GoodsMarginCfgStruct"
  36622. },
  36623. "marketid": {
  36624. "description": "市场ID",
  36625. "type": "integer"
  36626. }
  36627. }
  36628. },
  36629. "models.TjmdTradeOrderDetail": {
  36630. "type": "object",
  36631. "properties": {
  36632. "buyorsell": {
  36633. "description": "买卖方向 0-买 1-卖",
  36634. "type": "integer"
  36635. },
  36636. "goodsid": {
  36637. "description": "商品id",
  36638. "type": "integer"
  36639. },
  36640. "marketmaxsub": {
  36641. "description": "市价最大偏移范围 [浮动价 - 点差]",
  36642. "type": "number"
  36643. },
  36644. "orderid": {
  36645. "description": "委托单号",
  36646. "type": "string"
  36647. },
  36648. "orderprice": {
  36649. "description": "委托价格",
  36650. "type": "number"
  36651. },
  36652. "orderqty": {
  36653. "description": "委托数量",
  36654. "type": "integer"
  36655. },
  36656. "pricemode": {
  36657. "description": "取价方式 - 1:市价 2: 限价 3:浮动价",
  36658. "type": "integer"
  36659. },
  36660. "userid": {
  36661. "description": "用户id",
  36662. "type": "integer"
  36663. },
  36664. "username": {
  36665. "description": "用户名称(已脱敏)",
  36666. "type": "string"
  36667. }
  36668. }
  36669. },
  36670. "models.TjmdTransferApply": {
  36671. "type": "object",
  36672. "properties": {
  36673. "applyid": {
  36674. "description": "申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)",
  36675. "type": "integer"
  36676. },
  36677. "applystatus": {
  36678. "description": "状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销",
  36679. "type": "integer"
  36680. },
  36681. "applytime": {
  36682. "description": "申请时间(时间)",
  36683. "type": "string"
  36684. },
  36685. "auditremark": {
  36686. "description": "审核备注(拒绝原因?)",
  36687. "type": "string"
  36688. },
  36689. "begindate": {
  36690. "description": "开始交易日(yyyymmdd)",
  36691. "type": "string"
  36692. },
  36693. "buyorsell": {
  36694. "description": "买卖 - 0:买 1:卖",
  36695. "type": "integer"
  36696. },
  36697. "enddate": {
  36698. "description": "结束交易日(yyyymmdd)",
  36699. "type": "string"
  36700. },
  36701. "goodscode": {
  36702. "description": "商品代码",
  36703. "type": "string"
  36704. },
  36705. "goodsid": {
  36706. "description": "商品ID",
  36707. "type": "integer"
  36708. },
  36709. "goodsname": {
  36710. "description": "商品名称",
  36711. "type": "string"
  36712. },
  36713. "marketid": {
  36714. "description": "市场ID",
  36715. "type": "integer"
  36716. },
  36717. "qty": {
  36718. "description": "转让数量(数量)",
  36719. "type": "number"
  36720. },
  36721. "tradeid": {
  36722. "description": "成交单号(关联持仓)",
  36723. "type": "string"
  36724. },
  36725. "transferamount": {
  36726. "description": "转让总金额(金额)",
  36727. "type": "number"
  36728. },
  36729. "transferprice": {
  36730. "description": "转让价格(协议价格)",
  36731. "type": "number"
  36732. }
  36733. }
  36734. },
  36735. "models.TradeHolderDetail": {
  36736. "type": "object",
  36737. "properties": {
  36738. "accountid": {
  36739. "description": "账号ID",
  36740. "type": "integer"
  36741. },
  36742. "agreeunit": {
  36743. "description": "合约乘数",
  36744. "type": "number"
  36745. },
  36746. "buyorsell": {
  36747. "description": "方向 - 0:买 1:卖",
  36748. "type": "integer"
  36749. },
  36750. "currencyid": {
  36751. "description": "商品币种id",
  36752. "type": "integer"
  36753. },
  36754. "currencyname": {
  36755. "description": "币种名称",
  36756. "type": "string"
  36757. },
  36758. "decimalplace": {
  36759. "description": "商品价格小数位",
  36760. "type": "integer"
  36761. },
  36762. "enumdicname": {
  36763. "description": "商品单位名称",
  36764. "type": "string"
  36765. },
  36766. "expirecycle": {
  36767. "description": "行权周期(天) - 1:滚动行权时填写",
  36768. "type": "integer"
  36769. },
  36770. "expiredate": {
  36771. "description": "行权日(yyyyMMdd) - 到期日",
  36772. "type": "string"
  36773. },
  36774. "expiretype": {
  36775. "description": "行权日类型 - 1:滚动行权 2:固定日行权",
  36776. "type": "integer"
  36777. },
  36778. "freezeqty": {
  36779. "description": "冻结数量",
  36780. "type": "number"
  36781. },
  36782. "goodscode": {
  36783. "description": "商品代码",
  36784. "type": "string"
  36785. },
  36786. "goodsid": {
  36787. "description": "商品ID",
  36788. "type": "integer"
  36789. },
  36790. "goodsname": {
  36791. "description": "商品名称",
  36792. "type": "string"
  36793. },
  36794. "goodunitid": {
  36795. "description": "商品单位id",
  36796. "type": "integer"
  36797. },
  36798. "holderamount": {
  36799. "description": "持仓金额",
  36800. "type": "number"
  36801. },
  36802. "holdercredit": {
  36803. "description": "持仓授信金额",
  36804. "type": "number"
  36805. },
  36806. "holderdays": {
  36807. "description": "剩余冻结天数",
  36808. "type": "integer"
  36809. },
  36810. "holderprice": {
  36811. "description": "持仓价格",
  36812. "type": "number"
  36813. },
  36814. "holderqty": {
  36815. "description": "持仓数量",
  36816. "type": "number"
  36817. },
  36818. "isconfirmexercise": {
  36819. "description": "是否确认行权- 0:否 1:是",
  36820. "type": "integer"
  36821. },
  36822. "ispreexercise": {
  36823. "description": "是否预申报- 0:否 1:是 2:不可行权",
  36824. "type": "integer"
  36825. },
  36826. "marketid": {
  36827. "description": "市场id",
  36828. "type": "integer"
  36829. },
  36830. "marketname": {
  36831. "description": "市场名称",
  36832. "type": "string"
  36833. },
  36834. "openprice": {
  36835. "description": "建仓价格",
  36836. "type": "number"
  36837. },
  36838. "openqty": {
  36839. "description": "建仓数量",
  36840. "type": "number"
  36841. },
  36842. "optiontype": {
  36843. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  36844. "type": "integer"
  36845. },
  36846. "preexerciseprice": {
  36847. "description": "预申报价格",
  36848. "type": "number"
  36849. },
  36850. "premium": {
  36851. "description": "权利金",
  36852. "type": "number"
  36853. },
  36854. "qtydecimalplace": {
  36855. "description": "商品成交量小数位",
  36856. "type": "integer"
  36857. },
  36858. "refgoodscode": {
  36859. "description": "标的合约代码",
  36860. "type": "string"
  36861. },
  36862. "refgoodsid": {
  36863. "description": "标的合约id",
  36864. "type": "integer"
  36865. },
  36866. "releaseamount": {
  36867. "description": "释放持仓金额",
  36868. "type": "number"
  36869. },
  36870. "releaseholdercredit": {
  36871. "description": "释放持仓授信金额",
  36872. "type": "number"
  36873. },
  36874. "taname": {
  36875. "description": "资金账号名称",
  36876. "type": "string"
  36877. },
  36878. "tradeamount": {
  36879. "description": "成交金额",
  36880. "type": "number"
  36881. },
  36882. "tradedate": {
  36883. "description": "交易日(yyyyMMdd)",
  36884. "type": "string"
  36885. },
  36886. "tradeid": {
  36887. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  36888. "type": "string"
  36889. },
  36890. "trademode": {
  36891. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价 46:掉期",
  36892. "type": "integer"
  36893. },
  36894. "tradeproperty": {
  36895. "description": "交易属性",
  36896. "type": "integer"
  36897. },
  36898. "tradetime": {
  36899. "description": "交易时间",
  36900. "type": "string"
  36901. },
  36902. "userid": {
  36903. "description": "用户id",
  36904. "type": "integer"
  36905. },
  36906. "username": {
  36907. "description": "用户名称",
  36908. "type": "string"
  36909. }
  36910. }
  36911. },
  36912. "models.Unlinkermcphedgeplan": {
  36913. "type": "object",
  36914. "required": [
  36915. "areauserid"
  36916. ],
  36917. "properties": {
  36918. "accountid": {
  36919. "description": "期货账户ID - 作废",
  36920. "type": "integer"
  36921. },
  36922. "accountname": {
  36923. "description": "交易用户",
  36924. "type": "string"
  36925. },
  36926. "applyid": {
  36927. "description": "申请人",
  36928. "type": "integer"
  36929. },
  36930. "applysrc": {
  36931. "description": "申请来源 - 1:管理端 2:终端",
  36932. "type": "integer"
  36933. },
  36934. "applytime": {
  36935. "description": "申请时间",
  36936. "type": "string"
  36937. },
  36938. "areauserid": {
  36939. "description": "[企业ID]机构ID",
  36940. "type": "integer"
  36941. },
  36942. "auditid": {
  36943. "description": "审核人",
  36944. "type": "integer"
  36945. },
  36946. "auditremark": {
  36947. "description": "审核备注",
  36948. "type": "string"
  36949. },
  36950. "auditsrc": {
  36951. "description": "审核来源 - 1:管理端 2:终端",
  36952. "type": "integer"
  36953. },
  36954. "audittime": {
  36955. "description": "审核时间",
  36956. "type": "string"
  36957. },
  36958. "audittradedate": {
  36959. "description": "审核交易日(yyyyMMdd)",
  36960. "type": "string"
  36961. },
  36962. "biztype": {
  36963. "description": "业务类型 - 1:套保",
  36964. "type": "integer"
  36965. },
  36966. "contracttype": {
  36967. "description": "计划类型 - 1:采购 -1:销售",
  36968. "type": "integer"
  36969. },
  36970. "convertfactor": {
  36971. "description": "标仓系数 - 作废",
  36972. "type": "number"
  36973. },
  36974. "createtime": {
  36975. "description": "创建时间",
  36976. "type": "string"
  36977. },
  36978. "currencyid": {
  36979. "description": "结算币种ID - 作废",
  36980. "type": "integer"
  36981. },
  36982. "deliverygoodsid": {
  36983. "description": "现货品种ID",
  36984. "type": "integer"
  36985. },
  36986. "enumdicname": {
  36987. "description": "结算币种",
  36988. "type": "string"
  36989. },
  36990. "hedgeplanid": {
  36991. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  36992. "type": "integer"
  36993. },
  36994. "hedgeplanno": {
  36995. "description": "[计划编号]套保计划编号,模糊查询",
  36996. "type": "string"
  36997. },
  36998. "hedgeplanstatus": {
  36999. "description": "[状态]套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  37000. "type": "integer"
  37001. },
  37002. "isrelated": {
  37003. "description": "是否已关联计划项目 - 0:否 1:是",
  37004. "type": "integer"
  37005. },
  37006. "planqty": {
  37007. "description": "[计划量]计划数量",
  37008. "type": "number"
  37009. },
  37010. "plantime": {
  37011. "description": "计划时间",
  37012. "type": "string"
  37013. },
  37014. "producttype": {
  37015. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  37016. "type": "integer"
  37017. },
  37018. "remark": {
  37019. "description": "备注",
  37020. "type": "string"
  37021. },
  37022. "spotgoodsdesc": {
  37023. "description": "商品型号",
  37024. "type": "string"
  37025. },
  37026. "tradedate": {
  37027. "description": "交易日(yyyyMMdd)",
  37028. "type": "string"
  37029. },
  37030. "tradeuserid": {
  37031. "description": "交易用户ID",
  37032. "type": "integer"
  37033. },
  37034. "updatetime": {
  37035. "description": "更新时间",
  37036. "type": "string"
  37037. },
  37038. "wrstandardid": {
  37039. "description": "现货商品ID",
  37040. "type": "integer"
  37041. },
  37042. "wrstandardname": {
  37043. "description": "现货商品,模糊查询",
  37044. "type": "string"
  37045. }
  37046. }
  37047. },
  37048. "models.UserCollectConfig": {
  37049. "type": "object",
  37050. "properties": {
  37051. "accountstatus": {
  37052. "description": "账户状态 - 1:正常 2:停用 3:注销",
  37053. "type": "integer"
  37054. },
  37055. "collectaccountname": {
  37056. "description": "收款人账户名称",
  37057. "type": "string"
  37058. },
  37059. "collectaccountno": {
  37060. "description": "收款人账户",
  37061. "type": "string"
  37062. },
  37063. "collectbankname": {
  37064. "description": "收款人开户行",
  37065. "type": "string"
  37066. },
  37067. "collectbranchbankname": {
  37068. "description": "收款人开户支行",
  37069. "type": "string"
  37070. },
  37071. "collectconfigid": {
  37072. "description": "收款账户配置ID(SEQ_USERCOLLECTCONFIG)",
  37073. "type": "string"
  37074. },
  37075. "remark": {
  37076. "description": "备注",
  37077. "type": "string"
  37078. },
  37079. "userid": {
  37080. "description": "收款人用户ID",
  37081. "type": "integer"
  37082. }
  37083. }
  37084. },
  37085. "models.UserReceiveInfo": {
  37086. "type": "object",
  37087. "properties": {
  37088. "address": {
  37089. "description": "提货人详细地址",
  37090. "type": "string"
  37091. },
  37092. "autoid": {
  37093. "description": "AutoID",
  37094. "type": "integer"
  37095. },
  37096. "cardnum": {
  37097. "description": "证件号码(加密存储)",
  37098. "type": "string"
  37099. },
  37100. "cardtypeid": {
  37101. "description": "证件类型",
  37102. "type": "integer"
  37103. },
  37104. "cityid": {
  37105. "description": "市",
  37106. "type": "integer"
  37107. },
  37108. "cityname": {
  37109. "description": "城市名称",
  37110. "type": "string"
  37111. },
  37112. "countryid": {
  37113. "description": "国家",
  37114. "type": "integer"
  37115. },
  37116. "countryname": {
  37117. "description": "国家名称",
  37118. "type": "string"
  37119. },
  37120. "districtid": {
  37121. "description": "地区",
  37122. "type": "integer"
  37123. },
  37124. "districtname": {
  37125. "description": "地区名称",
  37126. "type": "string"
  37127. },
  37128. "hasencrypt": {
  37129. "description": "数据是否已加密 - 0:未加密 1:已加密",
  37130. "type": "integer"
  37131. },
  37132. "isdefault": {
  37133. "description": "是否默认地址 - 0:否 1:是",
  37134. "type": "integer"
  37135. },
  37136. "phonenum": {
  37137. "description": "提货人联系方式(加密存储)",
  37138. "type": "string"
  37139. },
  37140. "provinceid": {
  37141. "description": "省",
  37142. "type": "integer"
  37143. },
  37144. "provincename": {
  37145. "description": "省名称",
  37146. "type": "string"
  37147. },
  37148. "receivername": {
  37149. "description": "提货人姓名",
  37150. "type": "string"
  37151. },
  37152. "takeremark": {
  37153. "description": "提货备注",
  37154. "type": "string"
  37155. },
  37156. "userid": {
  37157. "description": "用户ID",
  37158. "type": "integer"
  37159. }
  37160. }
  37161. },
  37162. "models.Useraccount": {
  37163. "type": "object",
  37164. "required": [
  37165. "userid"
  37166. ],
  37167. "properties": {
  37168. "accountname": {
  37169. "description": "账户名称(机构名称)",
  37170. "type": "string"
  37171. },
  37172. "accountstatus": {
  37173. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  37174. "type": "integer"
  37175. },
  37176. "applysrc": {
  37177. "description": "申请来源 - 1:管理端 2:终端",
  37178. "type": "integer"
  37179. },
  37180. "auditremark": {
  37181. "description": "审核备注",
  37182. "type": "string"
  37183. },
  37184. "auditsrc": {
  37185. "description": "审核来源 - 1:管理端 2:终端",
  37186. "type": "integer"
  37187. },
  37188. "audittime": {
  37189. "description": "审核时间",
  37190. "type": "string"
  37191. },
  37192. "audituserid": {
  37193. "description": "审核人",
  37194. "type": "integer"
  37195. },
  37196. "broker": {
  37197. "description": "所属经纪人ID",
  37198. "type": "integer"
  37199. },
  37200. "canceltime": {
  37201. "description": "销户时间",
  37202. "type": "string"
  37203. },
  37204. "canceluserid": {
  37205. "description": "销户人",
  37206. "type": "integer"
  37207. },
  37208. "canrecommend": {
  37209. "description": "是否可推荐 - 0:不可 1;可",
  37210. "type": "integer"
  37211. },
  37212. "createtime": {
  37213. "description": "创建时间",
  37214. "type": "string"
  37215. },
  37216. "creatorid": {
  37217. "description": "创建人",
  37218. "type": "integer"
  37219. },
  37220. "hasauth": {
  37221. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  37222. "type": "integer"
  37223. },
  37224. "isanonymous": {
  37225. "description": "是否匿名下单 - 0:否 1:是",
  37226. "type": "integer"
  37227. },
  37228. "maxinvestornum": {
  37229. "description": "最大用户数(经纪会员下投资者个数)",
  37230. "type": "integer"
  37231. },
  37232. "memberuserid": {
  37233. "description": "所属会员ID",
  37234. "type": "integer"
  37235. },
  37236. "modifierid": {
  37237. "description": "修改人",
  37238. "type": "integer"
  37239. },
  37240. "modifyremark": {
  37241. "description": "变更备注",
  37242. "type": "string"
  37243. },
  37244. "modifystatus": {
  37245. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  37246. "type": "integer"
  37247. },
  37248. "modifytime": {
  37249. "description": "修改时间",
  37250. "type": "string"
  37251. },
  37252. "parenttopuser": {
  37253. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  37254. "type": "string"
  37255. },
  37256. "parentuserid": {
  37257. "description": "所属机构ID",
  37258. "type": "integer"
  37259. },
  37260. "reckonaccountid": {
  37261. "description": "默认结算资金账号ID(机构分润使用) 作废",
  37262. "type": "integer"
  37263. },
  37264. "refercount": {
  37265. "description": "推荐总人数",
  37266. "type": "integer"
  37267. },
  37268. "refereeuserid": {
  37269. "description": "推荐人ID",
  37270. "type": "integer"
  37271. },
  37272. "refernum": {
  37273. "description": "推荐码",
  37274. "type": "string"
  37275. },
  37276. "rootuserid": {
  37277. "description": "根用户ID",
  37278. "type": "integer"
  37279. },
  37280. "subaccountlevel": {
  37281. "description": "子账户层数",
  37282. "type": "integer"
  37283. },
  37284. "subarealevelpath": {
  37285. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  37286. "type": "string"
  37287. },
  37288. "userid": {
  37289. "description": "用户ID",
  37290. "type": "integer"
  37291. },
  37292. "usertype": {
  37293. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  37294. "type": "integer"
  37295. }
  37296. }
  37297. },
  37298. "models.Userfavoritegoods": {
  37299. "type": "object",
  37300. "required": [
  37301. "goodsid"
  37302. ],
  37303. "properties": {
  37304. "goodsid": {
  37305. "description": "商品ID",
  37306. "type": "integer"
  37307. }
  37308. }
  37309. },
  37310. "models.Userinfo": {
  37311. "type": "object",
  37312. "required": [
  37313. "userid"
  37314. ],
  37315. "properties": {
  37316. "address": {
  37317. "description": "地址",
  37318. "type": "string"
  37319. },
  37320. "attachment1": {
  37321. "description": "附件1",
  37322. "type": "string"
  37323. },
  37324. "attachment2": {
  37325. "description": "附件2",
  37326. "type": "string"
  37327. },
  37328. "bankaccount": {
  37329. "description": "银行帐号 (加密存储)",
  37330. "type": "string"
  37331. },
  37332. "bankaccountname": {
  37333. "description": "收款人名称",
  37334. "type": "string"
  37335. },
  37336. "bankcardfrontphotourl": {
  37337. "description": "银行卡正面照地址",
  37338. "type": "string"
  37339. },
  37340. "bankid": {
  37341. "description": "银行编码",
  37342. "type": "string"
  37343. },
  37344. "bankname": {
  37345. "description": "银行名称",
  37346. "type": "string"
  37347. },
  37348. "biznature": {
  37349. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  37350. "type": "integer"
  37351. },
  37352. "bizscope": {
  37353. "description": "企业经营范围(企业)",
  37354. "type": "string"
  37355. },
  37356. "cardbackphotourl": {
  37357. "description": "证件背面图片地址",
  37358. "type": "string"
  37359. },
  37360. "cardfrontphotourl": {
  37361. "description": "证件正面图片地址",
  37362. "type": "string"
  37363. },
  37364. "cardnum": {
  37365. "description": "证件号码(加密存储)",
  37366. "type": "string"
  37367. },
  37368. "cardtypeid": {
  37369. "description": "证件类型ID",
  37370. "type": "integer"
  37371. },
  37372. "cityid": {
  37373. "description": "市",
  37374. "type": "integer"
  37375. },
  37376. "company": {
  37377. "description": "公司(个人)",
  37378. "type": "string"
  37379. },
  37380. "contactname": {
  37381. "description": "联系人",
  37382. "type": "string"
  37383. },
  37384. "countryid": {
  37385. "description": "国家",
  37386. "type": "integer"
  37387. },
  37388. "createtime": {
  37389. "description": "创建时间",
  37390. "type": "string"
  37391. },
  37392. "creatorid": {
  37393. "description": "创建人",
  37394. "type": "integer"
  37395. },
  37396. "customername": {
  37397. "description": "客户名称(企业名称)",
  37398. "type": "string"
  37399. },
  37400. "districtid": {
  37401. "description": "地区",
  37402. "type": "integer"
  37403. },
  37404. "email": {
  37405. "description": "邮件(加密存储)",
  37406. "type": "string"
  37407. },
  37408. "fax": {
  37409. "description": "传真(加密存储)",
  37410. "type": "string"
  37411. },
  37412. "halfbodyphotourl": {
  37413. "description": "半身照地址",
  37414. "type": "string"
  37415. },
  37416. "hasencrypt": {
  37417. "description": "数据是否已加密 - 0:未加密 1:已加密",
  37418. "type": "integer"
  37419. },
  37420. "headurl": {
  37421. "description": "头像地址",
  37422. "type": "string"
  37423. },
  37424. "legalcardbackphotourl": {
  37425. "description": "法人身份证背面照地址",
  37426. "type": "string"
  37427. },
  37428. "legalcardfrontphotourl": {
  37429. "description": "法人身份证正面照地址",
  37430. "type": "string"
  37431. },
  37432. "legalpersonname": {
  37433. "description": "法人姓名(企业)",
  37434. "type": "string"
  37435. },
  37436. "mobile": {
  37437. "description": "手机号码(加密存储)",
  37438. "type": "string"
  37439. },
  37440. "mobile2": {
  37441. "description": "手机号码[明文-尚志]",
  37442. "type": "string"
  37443. },
  37444. "modifierid": {
  37445. "description": "修改人",
  37446. "type": "integer"
  37447. },
  37448. "modifiertime": {
  37449. "description": "修改时间",
  37450. "type": "string"
  37451. },
  37452. "needinvoice": {
  37453. "description": "是否需要发票 - 0:不需要 1:需要",
  37454. "type": "integer"
  37455. },
  37456. "nickname": {
  37457. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  37458. "type": "string"
  37459. },
  37460. "openmode": {
  37461. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  37462. "type": "integer"
  37463. },
  37464. "otherurl": {
  37465. "description": "其它图片地址[使用分号分隔]",
  37466. "type": "string"
  37467. },
  37468. "postalcode": {
  37469. "description": "邮政编码",
  37470. "type": "string"
  37471. },
  37472. "provinceid": {
  37473. "description": "省",
  37474. "type": "integer"
  37475. },
  37476. "qq": {
  37477. "description": "QQ(加密存储",
  37478. "type": "string"
  37479. },
  37480. "remark": {
  37481. "description": "备注",
  37482. "type": "string"
  37483. },
  37484. "sex": {
  37485. "description": "用户性别 0: 女 1: 男",
  37486. "type": "integer"
  37487. },
  37488. "signpdfurl": {
  37489. "description": "签约pdf文件",
  37490. "type": "string"
  37491. },
  37492. "telphone": {
  37493. "description": "联系电话(加密存储)",
  37494. "type": "string"
  37495. },
  37496. "userid": {
  37497. "description": "用户ID",
  37498. "type": "integer"
  37499. },
  37500. "userinfotype": {
  37501. "description": "用户信息类型 - 1:个人 2:企业",
  37502. "type": "integer"
  37503. },
  37504. "userstatus": {
  37505. "description": "用户状态 - 1:正常 2:注销",
  37506. "type": "integer"
  37507. },
  37508. "usertype": {
  37509. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  37510. "type": "integer"
  37511. },
  37512. "wechat": {
  37513. "description": "微信(加密存储)",
  37514. "type": "string"
  37515. },
  37516. "wskhinfo": {
  37517. "description": "开户申请信息(JSON)",
  37518. "type": "string"
  37519. }
  37520. }
  37521. },
  37522. "models.WRSConverTDetail": {
  37523. "type": "object",
  37524. "properties": {
  37525. "convertratio": {
  37526. "description": "套保系数",
  37527. "type": "number"
  37528. },
  37529. "deliverygoodscode": {
  37530. "description": "现货商品代码",
  37531. "type": "string"
  37532. },
  37533. "deliverygoodsid": {
  37534. "description": "现货品种ID",
  37535. "type": "integer"
  37536. },
  37537. "deliverygoodsname": {
  37538. "description": "现货商品名称",
  37539. "type": "string"
  37540. },
  37541. "enumdicname": {
  37542. "description": "单位名称",
  37543. "type": "string"
  37544. },
  37545. "goodsunitid": {
  37546. "description": "套保品种单位id",
  37547. "type": "integer"
  37548. },
  37549. "middlegoodscode": {
  37550. "description": "套保品种代码",
  37551. "type": "string"
  37552. },
  37553. "middlegoodsid": {
  37554. "description": "套保品种ID",
  37555. "type": "integer"
  37556. },
  37557. "middlegoodsname": {
  37558. "description": "套保品种名称",
  37559. "type": "string"
  37560. },
  37561. "modifytime": {
  37562. "description": "修改时间",
  37563. "type": "string"
  37564. },
  37565. "wrstandardid": {
  37566. "description": "品类ID",
  37567. "type": "integer"
  37568. }
  37569. }
  37570. },
  37571. "models.WRStandardInfo": {
  37572. "type": "object",
  37573. "required": [
  37574. "wrstandardid"
  37575. ],
  37576. "properties": {
  37577. "areauserid": {
  37578. "description": "所属机构",
  37579. "type": "integer"
  37580. },
  37581. "convertfactor": {
  37582. "description": "标仓系数",
  37583. "type": "number"
  37584. },
  37585. "createtime": {
  37586. "description": "创建时间",
  37587. "type": "string"
  37588. },
  37589. "creatorid": {
  37590. "description": "创建人",
  37591. "type": "integer"
  37592. },
  37593. "deliverygoodsid": {
  37594. "description": "品种ID",
  37595. "type": "integer"
  37596. },
  37597. "deliverygoodsname": {
  37598. "description": "交割商品名称",
  37599. "type": "string"
  37600. },
  37601. "factoryitemjson": {
  37602. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  37603. "type": "string"
  37604. },
  37605. "isvalid": {
  37606. "description": "是否有效 - 0:无效 1:有效",
  37607. "type": "integer"
  37608. },
  37609. "minivalue": {
  37610. "description": "最小变动值",
  37611. "type": "integer"
  37612. },
  37613. "minivaluedp": {
  37614. "description": "最小变动值小数位",
  37615. "type": "integer"
  37616. },
  37617. "realminivalue": {
  37618. "description": "实际最小变动值",
  37619. "type": "integer"
  37620. },
  37621. "realminivaluedp": {
  37622. "description": "实际最小变动值小数位",
  37623. "type": "integer"
  37624. },
  37625. "remark": {
  37626. "description": "备注",
  37627. "type": "string"
  37628. },
  37629. "unitid": {
  37630. "description": "单位ID",
  37631. "type": "integer"
  37632. },
  37633. "unitname": {
  37634. "description": "单位",
  37635. "type": "string"
  37636. },
  37637. "updatetime": {
  37638. "description": "更新时间",
  37639. "type": "string"
  37640. },
  37641. "updatorid": {
  37642. "description": "更新人",
  37643. "type": "integer"
  37644. },
  37645. "wrsstatus": {
  37646. "description": "状态 - 作废 - 0:未激活 1:正常",
  37647. "type": "integer"
  37648. },
  37649. "wrstandardcode": {
  37650. "description": "现货品类代码",
  37651. "type": "string"
  37652. },
  37653. "wrstandardid": {
  37654. "description": "现货品类ID(SEQ_WRSTANDARD)",
  37655. "type": "integer"
  37656. },
  37657. "wrstandardname": {
  37658. "description": "现货品类名称",
  37659. "type": "string"
  37660. }
  37661. }
  37662. },
  37663. "models.WRTradeBargainApply": {
  37664. "type": "object",
  37665. "properties": {
  37666. "accountid": {
  37667. "description": "摘牌资金账号",
  37668. "type": "integer"
  37669. },
  37670. "applyprice": {
  37671. "description": "申请价格(议价价格)",
  37672. "type": "string"
  37673. },
  37674. "applyqty": {
  37675. "description": "摘牌数量(议价数量)",
  37676. "type": "number"
  37677. },
  37678. "applyremark": {
  37679. "description": "申请备注",
  37680. "type": "string"
  37681. },
  37682. "applystatus": {
  37683. "description": "申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中",
  37684. "type": "integer"
  37685. },
  37686. "applytime": {
  37687. "description": "申请时间(议价时间)",
  37688. "type": "string"
  37689. },
  37690. "begindate": {
  37691. "description": "开始交易日(yyyymmdd)",
  37692. "type": "string"
  37693. },
  37694. "buyorsell": {
  37695. "description": "买卖(挂牌类型) - 0:买 1:卖",
  37696. "type": "integer"
  37697. },
  37698. "confirmremark": {
  37699. "description": "确认备注",
  37700. "type": "string"
  37701. },
  37702. "confirmtime": {
  37703. "description": "确认时间",
  37704. "type": "string"
  37705. },
  37706. "confirmuserid": {
  37707. "description": "确认人",
  37708. "type": "integer"
  37709. },
  37710. "deliverygoodscode": {
  37711. "description": "品种代码",
  37712. "type": "string"
  37713. },
  37714. "deliverygoodsid": {
  37715. "description": "品种ID",
  37716. "type": "integer"
  37717. },
  37718. "deliverygoodsname": {
  37719. "description": "品种名称",
  37720. "type": "string"
  37721. },
  37722. "deliverymonth": {
  37723. "description": "交收月",
  37724. "type": "string"
  37725. },
  37726. "enddate": {
  37727. "description": "结束交易日(yyyymmdd)",
  37728. "type": "string"
  37729. },
  37730. "enumdicname": {
  37731. "description": "单位名称",
  37732. "type": "string"
  37733. },
  37734. "fixedprice": {
  37735. "description": "挂牌价格",
  37736. "type": "number"
  37737. },
  37738. "handlestatus": {
  37739. "description": "处理状态",
  37740. "type": "integer"
  37741. },
  37742. "marginvalue": {
  37743. "description": "履约保证金比例",
  37744. "type": "number"
  37745. },
  37746. "marketid": {
  37747. "description": "市场ID",
  37748. "type": "integer"
  37749. },
  37750. "matchaccountid": {
  37751. "description": "挂牌方资金账号",
  37752. "type": "integer"
  37753. },
  37754. "matchuserid": {
  37755. "description": "挂牌方用户id",
  37756. "type": "integer"
  37757. },
  37758. "matchusername": {
  37759. "description": "挂牌方用户名称(已脱敏)",
  37760. "type": "string"
  37761. },
  37762. "minivalue": {
  37763. "description": "现货商品最小变动值",
  37764. "type": "integer"
  37765. },
  37766. "optioncompare": {
  37767. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  37768. "type": "string"
  37769. },
  37770. "orderqty": {
  37771. "description": "挂牌数量",
  37772. "type": "integer"
  37773. },
  37774. "refprice": {
  37775. "description": "参考价格",
  37776. "type": "string"
  37777. },
  37778. "retcode": {
  37779. "description": "委托返回代码",
  37780. "type": "integer"
  37781. },
  37782. "templatename": {
  37783. "description": "履约方式(履约模板名称)",
  37784. "type": "string"
  37785. },
  37786. "tradedate": {
  37787. "description": "交易日(yyyyMMdd)",
  37788. "type": "string"
  37789. },
  37790. "userid": {
  37791. "description": "摘牌人用户ID(议价人ID)",
  37792. "type": "integer"
  37793. },
  37794. "username": {
  37795. "description": "议价人名字(已脱敏)",
  37796. "type": "string"
  37797. },
  37798. "validtime": {
  37799. "description": "有效期限",
  37800. "type": "string"
  37801. },
  37802. "warehouseid": {
  37803. "description": "仓库ID",
  37804. "type": "integer"
  37805. },
  37806. "warehousename": {
  37807. "description": "仓库名称",
  37808. "type": "string"
  37809. },
  37810. "wrbargainid": {
  37811. "description": "议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)",
  37812. "type": "string"
  37813. },
  37814. "wrfactortypeid": {
  37815. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  37816. "type": "string"
  37817. },
  37818. "wrfactortypename": {
  37819. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  37820. "type": "string"
  37821. },
  37822. "wrstandardcode": {
  37823. "description": "现货商品代码",
  37824. "type": "string"
  37825. },
  37826. "wrstandardid": {
  37827. "description": "现货商品ID",
  37828. "type": "integer"
  37829. },
  37830. "wrstandardname": {
  37831. "description": "商品名称",
  37832. "type": "string"
  37833. },
  37834. "wrtradeorderid": {
  37835. "description": "关联委托单ID",
  37836. "type": "string"
  37837. },
  37838. "wrtypename": {
  37839. "description": "商品",
  37840. "type": "string"
  37841. }
  37842. }
  37843. },
  37844. "models.Warehouseinfo": {
  37845. "type": "object",
  37846. "required": [
  37847. "autoid",
  37848. "warehousecode"
  37849. ],
  37850. "properties": {
  37851. "address": {
  37852. "description": "详细地址",
  37853. "type": "string"
  37854. },
  37855. "areauserid": {
  37856. "description": "所属机构",
  37857. "type": "integer"
  37858. },
  37859. "autoid": {
  37860. "description": "自增ID",
  37861. "type": "integer"
  37862. },
  37863. "cityid": {
  37864. "description": "市",
  37865. "type": "integer"
  37866. },
  37867. "contactname": {
  37868. "description": "联系人",
  37869. "type": "string"
  37870. },
  37871. "contactnum": {
  37872. "description": "联系电话",
  37873. "type": "string"
  37874. },
  37875. "countryid": {
  37876. "description": "国家",
  37877. "type": "integer"
  37878. },
  37879. "createtime": {
  37880. "description": "创建时间",
  37881. "type": "string"
  37882. },
  37883. "districtid": {
  37884. "description": "区",
  37885. "type": "integer"
  37886. },
  37887. "hasvideo": {
  37888. "description": "是否有视频 - 0:无 1:有",
  37889. "type": "integer"
  37890. },
  37891. "provinceid": {
  37892. "description": "省",
  37893. "type": "integer"
  37894. },
  37895. "remark": {
  37896. "description": "审核备注",
  37897. "type": "string"
  37898. },
  37899. "videourl": {
  37900. "description": "视频地址",
  37901. "type": "string"
  37902. },
  37903. "warehousecode": {
  37904. "description": "仓库代码",
  37905. "type": "string"
  37906. },
  37907. "warehousename": {
  37908. "description": "仓库名称",
  37909. "type": "string"
  37910. },
  37911. "warehousestatus": {
  37912. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  37913. "type": "integer"
  37914. },
  37915. "warehousetype": {
  37916. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  37917. "type": "integer"
  37918. }
  37919. }
  37920. },
  37921. "models.WrAverageTradePrice": {
  37922. "type": "object",
  37923. "properties": {
  37924. "averageprice": {
  37925. "description": "成交均价",
  37926. "type": "number"
  37927. },
  37928. "tradedate": {
  37929. "description": "交易日yyyymm",
  37930. "type": "string"
  37931. }
  37932. }
  37933. },
  37934. "models.WrBrandAndYears": {
  37935. "type": "object",
  37936. "properties": {
  37937. "brandlst": {
  37938. "description": "品牌列表",
  37939. "type": "array",
  37940. "items": {
  37941. "$ref": "#/definitions/models.DgFactoryItem"
  37942. }
  37943. },
  37944. "yearslst": {
  37945. "description": "年份列表",
  37946. "type": "array",
  37947. "items": {
  37948. "$ref": "#/definitions/models.DgFactoryItem"
  37949. }
  37950. }
  37951. }
  37952. },
  37953. "models.WrBsGoodsInfo": {
  37954. "type": "object",
  37955. "properties": {
  37956. "buyorsell": {
  37957. "description": "买卖方向 0-买 1-卖",
  37958. "type": "integer"
  37959. },
  37960. "goodsid": {
  37961. "description": "交易合约ID",
  37962. "type": "integer"
  37963. },
  37964. "lstitem": {
  37965. "description": "商品信息项",
  37966. "type": "array",
  37967. "items": {
  37968. "$ref": "#/definitions/models.WrTypeItem"
  37969. }
  37970. },
  37971. "lststep": {
  37972. "description": "履约规则",
  37973. "type": "array",
  37974. "items": {
  37975. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  37976. }
  37977. }
  37978. }
  37979. },
  37980. "models.WrBuybackDetail": {
  37981. "type": "object",
  37982. "properties": {
  37983. "buybackamount": {
  37984. "description": "回购金额",
  37985. "type": "number"
  37986. },
  37987. "buybackqty": {
  37988. "description": "回购数量",
  37989. "type": "number"
  37990. },
  37991. "buybackreleasemargin": {
  37992. "description": "回购释放保证金",
  37993. "type": "number"
  37994. },
  37995. "buybacktime": {
  37996. "description": "回购时间",
  37997. "type": "string"
  37998. },
  37999. "errordesc": {
  38000. "description": "错误描述",
  38001. "type": "string"
  38002. },
  38003. "handlestatus": {
  38004. "description": "处理 - 1:待处理 2:处理成功 3:处理失败",
  38005. "type": "integer"
  38006. },
  38007. "relatedwrid": {
  38008. "description": "关联仓单ID",
  38009. "type": "integer"
  38010. },
  38011. "scfcontractid": {
  38012. "description": "SCF合同ID",
  38013. "type": "string"
  38014. },
  38015. "scfwrbuybackid": {
  38016. "description": "SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)",
  38017. "type": "integer"
  38018. },
  38019. "tradedate": {
  38020. "description": "交易日(yyyyMMdd)",
  38021. "type": "string"
  38022. }
  38023. }
  38024. },
  38025. "models.WrClientAdSpaceConfig": {
  38026. "type": "object",
  38027. "properties": {
  38028. "adspaceid": {
  38029. "description": "广告位ID",
  38030. "type": "integer"
  38031. },
  38032. "adspacename": {
  38033. "description": "广告位名称",
  38034. "type": "string"
  38035. },
  38036. "adspacetype": {
  38037. "description": "广告位类型 - 1:固定广告位",
  38038. "type": "integer"
  38039. },
  38040. "areauserid": {
  38041. "description": "所属机构ID",
  38042. "type": "integer"
  38043. },
  38044. "createdate": {
  38045. "description": "创建时间",
  38046. "type": "string"
  38047. },
  38048. "imagepath": {
  38049. "description": "图片",
  38050. "type": "string"
  38051. },
  38052. "modifierid": {
  38053. "description": "操作人",
  38054. "type": "integer"
  38055. },
  38056. "recsize": {
  38057. "description": "推荐尺寸",
  38058. "type": "string"
  38059. },
  38060. "title": {
  38061. "description": "标题",
  38062. "type": "string"
  38063. },
  38064. "updatedate": {
  38065. "description": "更新时间",
  38066. "type": "string"
  38067. },
  38068. "urlcontent": {
  38069. "description": "链接(地址\\商品ID\\功能菜单Key\\appid)",
  38070. "type": "string"
  38071. },
  38072. "urltype": {
  38073. "description": "链接类型 - 0:无 1:直接地址 2:商品ID 3:图片详情 4:App功能 5:微信小程序",
  38074. "type": "integer"
  38075. }
  38076. }
  38077. },
  38078. "models.WrDeliveryAvalidHoldLB": {
  38079. "type": "object",
  38080. "properties": {
  38081. "accountid": {
  38082. "description": "资金账号",
  38083. "type": "integer"
  38084. },
  38085. "avalidqty": {
  38086. "description": "数量(可点选数量)",
  38087. "type": "number"
  38088. },
  38089. "deliverygoodsid": {
  38090. "description": "品种id",
  38091. "type": "integer"
  38092. },
  38093. "enumdicname": {
  38094. "description": "单位名称",
  38095. "type": "string"
  38096. },
  38097. "goodsid": {
  38098. "description": "x合约商品id",
  38099. "type": "integer"
  38100. },
  38101. "ladingbillid": {
  38102. "description": "提单id",
  38103. "type": "string"
  38104. },
  38105. "pgoodscode": {
  38106. "description": "p商品代码(点价合约)",
  38107. "type": "string"
  38108. },
  38109. "pgoodsid": {
  38110. "description": "p商品id(点价合约)",
  38111. "type": "integer"
  38112. },
  38113. "pgoodsname": {
  38114. "description": "p商品名称(点价合约)",
  38115. "type": "string"
  38116. },
  38117. "pricemove": {
  38118. "description": "升贴水",
  38119. "type": "number"
  38120. },
  38121. "subnum": {
  38122. "description": "提单子id",
  38123. "type": "integer"
  38124. },
  38125. "userid": {
  38126. "description": "用户id",
  38127. "type": "integer"
  38128. },
  38129. "username": {
  38130. "description": "仓单持有人",
  38131. "type": "string"
  38132. },
  38133. "warehousecode": {
  38134. "description": "仓库代码",
  38135. "type": "string"
  38136. },
  38137. "warehouseid": {
  38138. "description": "仓库id",
  38139. "type": "integer"
  38140. },
  38141. "warehousename": {
  38142. "description": "仓库名称",
  38143. "type": "string"
  38144. },
  38145. "wrfactortypeid": {
  38146. "description": "仓单要素id",
  38147. "type": "string"
  38148. },
  38149. "wrstandardcode": {
  38150. "description": "品代码",
  38151. "type": "string"
  38152. },
  38153. "wrstandardid": {
  38154. "description": "品类d",
  38155. "type": "integer"
  38156. },
  38157. "wrstandardname": {
  38158. "description": "品类名称",
  38159. "type": "string"
  38160. },
  38161. "wrtypename": {
  38162. "description": "商品",
  38163. "type": "string"
  38164. },
  38165. "xgoodscode": {
  38166. "description": "x合约代码",
  38167. "type": "string"
  38168. },
  38169. "xgoodsname": {
  38170. "description": "x合约名称",
  38171. "type": "string"
  38172. }
  38173. }
  38174. },
  38175. "models.WrDeliveryDetail": {
  38176. "type": "object",
  38177. "properties": {
  38178. "accountid": {
  38179. "description": "账号ID",
  38180. "type": "integer"
  38181. },
  38182. "averageprice": {
  38183. "description": "交割均价 = 交割金额 / 交割数量",
  38184. "type": "number"
  38185. },
  38186. "begindate": {
  38187. "description": "开始交易日(yyyymmdd)",
  38188. "type": "string"
  38189. },
  38190. "buyorsell": {
  38191. "description": "方向 - 0:买 1:卖",
  38192. "type": "integer"
  38193. },
  38194. "deliveryamount": {
  38195. "description": "货款金额(X总货款+P总货款)",
  38196. "type": "number"
  38197. },
  38198. "deliveryid": {
  38199. "description": "交割单号(121+Unix秒时间戳(10位)+xxxxxx)",
  38200. "type": "string"
  38201. },
  38202. "deliveryorderid": {
  38203. "description": "申报单号",
  38204. "type": "string"
  38205. },
  38206. "deliverypricemove": {
  38207. "description": "升贴水(升贴水总额)",
  38208. "type": "number"
  38209. },
  38210. "deliveryqty": {
  38211. "description": "交收数量(点选数量)",
  38212. "type": "number"
  38213. },
  38214. "deliverystatus": {
  38215. "description": "状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成",
  38216. "type": "integer"
  38217. },
  38218. "deliverytime": {
  38219. "description": "交割时间",
  38220. "type": "string"
  38221. },
  38222. "deliverytotalamount": {
  38223. "description": "交收金额",
  38224. "type": "number"
  38225. },
  38226. "enddate": {
  38227. "description": "结束交易日(yyyymmdd)",
  38228. "type": "string"
  38229. },
  38230. "enumdicname": {
  38231. "description": "单位名称",
  38232. "type": "string"
  38233. },
  38234. "matchaccountid": {
  38235. "description": "对手账号ID",
  38236. "type": "integer"
  38237. },
  38238. "matchusername": {
  38239. "description": "对手方名称(仓单持有人)",
  38240. "type": "string"
  38241. },
  38242. "p1goodsremainamount": {
  38243. "description": "点价货款 ps:当PPRICEMODE=2时, 界面需显示\"-\"",
  38244. "type": "number"
  38245. },
  38246. "pdeliverycloseqty": {
  38247. "description": "p合约平仓数量",
  38248. "type": "number"
  38249. },
  38250. "pdeliveryprice": {
  38251. "description": "点价价格 ps:当PPRICEMODE=2时, 界面需显示\"-\"",
  38252. "type": "number"
  38253. },
  38254. "pgoodscode": {
  38255. "description": "商品代码",
  38256. "type": "string"
  38257. },
  38258. "pgoodsid": {
  38259. "description": "p点选合约id",
  38260. "type": "integer"
  38261. },
  38262. "pgoodsname": {
  38263. "description": "商品名称",
  38264. "type": "string"
  38265. },
  38266. "ppricemode": {
  38267. "description": "点价价格方式 - 1:商品价 2:固定值",
  38268. "type": "integer"
  38269. },
  38270. "tradedate": {
  38271. "description": "交易日(yyyymmdd)",
  38272. "type": "string"
  38273. },
  38274. "userid": {
  38275. "description": "用户id",
  38276. "type": "integer"
  38277. },
  38278. "username": {
  38279. "description": "用户名称",
  38280. "type": "string"
  38281. },
  38282. "warehousename": {
  38283. "description": "仓库名称",
  38284. "type": "string"
  38285. },
  38286. "wrfactortypeid": {
  38287. "description": "仓单要素类型ID",
  38288. "type": "string"
  38289. },
  38290. "wrtypename": {
  38291. "description": "商品",
  38292. "type": "string"
  38293. },
  38294. "xdeliverycloseqty": {
  38295. "description": "合约数量",
  38296. "type": "number"
  38297. },
  38298. "xgoodsamount": {
  38299. "description": "合约金额 = 货款金额(DELIVERYAMOUNT) - 点价货款(P1GOODSREMAINAMOUNT)",
  38300. "type": "number"
  38301. },
  38302. "xgoodscode": {
  38303. "description": "商品代码",
  38304. "type": "string"
  38305. },
  38306. "xgoodsid": {
  38307. "description": "x交易合约ID",
  38308. "type": "integer"
  38309. },
  38310. "xgoodsname": {
  38311. "description": "商品名称",
  38312. "type": "string"
  38313. }
  38314. }
  38315. },
  38316. "models.WrDeliveryGoodsSection": {
  38317. "type": "object",
  38318. "properties": {
  38319. "dglst": {
  38320. "description": "板块商品列表",
  38321. "type": "array",
  38322. "items": {
  38323. "$ref": "#/definitions/models.WrDeliveryGoodsSectionConfig"
  38324. }
  38325. },
  38326. "imagepath": {
  38327. "description": "图片地址",
  38328. "type": "string"
  38329. },
  38330. "orderindex": {
  38331. "description": "排序",
  38332. "type": "integer"
  38333. },
  38334. "sectionid": {
  38335. "description": "版块ID (SEQ_DELIVERYGOODSSECTION) - 自增100开始, 前面ID预留给SectionType = 1的版块1 - 云融指数",
  38336. "type": "integer"
  38337. },
  38338. "sectionname": {
  38339. "description": "版块名称",
  38340. "type": "string"
  38341. },
  38342. "sectiontype": {
  38343. "description": "版块类型 - 1:指数版块 2:普通版块",
  38344. "type": "integer"
  38345. }
  38346. }
  38347. },
  38348. "models.WrDeliveryGoodsSectionConfig": {
  38349. "type": "object",
  38350. "properties": {
  38351. "deliverygoodscode": {
  38352. "description": "现货商品代码",
  38353. "type": "string"
  38354. },
  38355. "deliverygoodsid": {
  38356. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  38357. "type": "integer"
  38358. },
  38359. "deliverygoodsname": {
  38360. "description": "现货商品名称",
  38361. "type": "string"
  38362. },
  38363. "orderindex": {
  38364. "description": "排序",
  38365. "type": "integer"
  38366. }
  38367. }
  38368. },
  38369. "models.WrDraftUserInfo": {
  38370. "type": "object",
  38371. "properties": {
  38372. "address": {
  38373. "description": "地址",
  38374. "type": "string"
  38375. },
  38376. "attachment1": {
  38377. "description": "附件1",
  38378. "type": "string"
  38379. },
  38380. "attachment2": {
  38381. "description": "附件2",
  38382. "type": "string"
  38383. },
  38384. "attachment3": {
  38385. "description": "附件3",
  38386. "type": "string"
  38387. },
  38388. "attachment4": {
  38389. "description": "附件4",
  38390. "type": "string"
  38391. },
  38392. "attachment5": {
  38393. "description": "附件5",
  38394. "type": "string"
  38395. },
  38396. "bankaccount": {
  38397. "description": "银行帐号 (加密存储)",
  38398. "type": "string"
  38399. },
  38400. "bankaccountname": {
  38401. "description": "收款人名称",
  38402. "type": "string"
  38403. },
  38404. "bankcardfrontphotourl": {
  38405. "description": "银行卡正面照地址",
  38406. "type": "string"
  38407. },
  38408. "bankid": {
  38409. "description": "银行编码",
  38410. "type": "string"
  38411. },
  38412. "bankname": {
  38413. "description": "银行名称",
  38414. "type": "string"
  38415. },
  38416. "birthday": {
  38417. "description": "生日(个人:年月日)",
  38418. "type": "string"
  38419. },
  38420. "biznature": {
  38421. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  38422. "type": "integer"
  38423. },
  38424. "bizscope": {
  38425. "description": "企业经营范围(企业)",
  38426. "type": "string"
  38427. },
  38428. "biztype": {
  38429. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  38430. "type": "integer"
  38431. },
  38432. "cardbackphotourl": {
  38433. "description": "证件背面图片地址",
  38434. "type": "string"
  38435. },
  38436. "cardfrontphotourl": {
  38437. "description": "证件正面图片地址",
  38438. "type": "string"
  38439. },
  38440. "cardnum": {
  38441. "description": "证件号码(加密存储)",
  38442. "type": "string"
  38443. },
  38444. "cardtypeid": {
  38445. "description": "证件类型ID",
  38446. "type": "integer"
  38447. },
  38448. "cityid": {
  38449. "description": "市",
  38450. "type": "integer"
  38451. },
  38452. "company": {
  38453. "description": "公司(个人)",
  38454. "type": "string"
  38455. },
  38456. "contactcardbackphotourl": {
  38457. "description": "联系人证件背面图片地址",
  38458. "type": "string"
  38459. },
  38460. "contactcardfrontphotourl": {
  38461. "description": "联系人证件正面图片地址",
  38462. "type": "string"
  38463. },
  38464. "contactname": {
  38465. "description": "联系人",
  38466. "type": "string"
  38467. },
  38468. "countryid": {
  38469. "description": "国家",
  38470. "type": "integer"
  38471. },
  38472. "createtime": {
  38473. "description": "创建时间",
  38474. "type": "string"
  38475. },
  38476. "creatorid": {
  38477. "description": "创建人",
  38478. "type": "integer"
  38479. },
  38480. "creditquota": {
  38481. "description": "授信额度(金瑞)",
  38482. "type": "number"
  38483. },
  38484. "customername": {
  38485. "description": "客户名称(企业名称)",
  38486. "type": "string"
  38487. },
  38488. "districtid": {
  38489. "description": "地区",
  38490. "type": "integer"
  38491. },
  38492. "email": {
  38493. "description": "邮件(加密存储)",
  38494. "type": "string"
  38495. },
  38496. "fax": {
  38497. "description": "传真(加密存储)",
  38498. "type": "string"
  38499. },
  38500. "halfbodyphotourl": {
  38501. "description": "半身照地址",
  38502. "type": "string"
  38503. },
  38504. "hasencrypt": {
  38505. "description": "数据是否已加密 - 0:未加密 1:已加密",
  38506. "type": "integer"
  38507. },
  38508. "headurl": {
  38509. "description": "头像地址",
  38510. "type": "string"
  38511. },
  38512. "legalcardbackphotourl": {
  38513. "description": "法人身份证背面照地址",
  38514. "type": "string"
  38515. },
  38516. "legalcardfrontphotourl": {
  38517. "description": "法人身份证正面照地址",
  38518. "type": "string"
  38519. },
  38520. "legalpersonname": {
  38521. "description": "法人姓名(企业)",
  38522. "type": "string"
  38523. },
  38524. "mobile": {
  38525. "description": "手机号码(加密存储)",
  38526. "type": "string"
  38527. },
  38528. "mobile2": {
  38529. "description": "手机号码[明文-尚志]",
  38530. "type": "string"
  38531. },
  38532. "modifierid": {
  38533. "description": "修改人",
  38534. "type": "integer"
  38535. },
  38536. "modifiertime": {
  38537. "description": "修改时间",
  38538. "type": "string"
  38539. },
  38540. "needinvoice": {
  38541. "description": "是否需要发票 - 0:不需要 1:需要",
  38542. "type": "integer"
  38543. },
  38544. "nickname": {
  38545. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  38546. "type": "string"
  38547. },
  38548. "openmode": {
  38549. "description": "开户方式 - 1:管理端开户 2\t:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册",
  38550. "type": "integer"
  38551. },
  38552. "otherurl": {
  38553. "description": "其它图片地址[使用分号分隔]",
  38554. "type": "string"
  38555. },
  38556. "postalcode": {
  38557. "description": "邮政编码",
  38558. "type": "string"
  38559. },
  38560. "provinceid": {
  38561. "description": "省",
  38562. "type": "integer"
  38563. },
  38564. "proxystatementurl": {
  38565. "description": "授权委托书",
  38566. "type": "string"
  38567. },
  38568. "qq": {
  38569. "description": "QQ(加密存储",
  38570. "type": "string"
  38571. },
  38572. "remark": {
  38573. "description": "备注",
  38574. "type": "string"
  38575. },
  38576. "sex": {
  38577. "description": "用户性别 0: 女 1: 男",
  38578. "type": "integer"
  38579. },
  38580. "signpdfurl": {
  38581. "description": "签约pdf文件",
  38582. "type": "string"
  38583. },
  38584. "taxpayernum": {
  38585. "description": "纳税人识别号",
  38586. "type": "string"
  38587. },
  38588. "telphone": {
  38589. "description": "联系电话(加密存储)",
  38590. "type": "string"
  38591. },
  38592. "userid": {
  38593. "description": "用户ID",
  38594. "type": "integer"
  38595. },
  38596. "userinfotype": {
  38597. "description": "用户信息类型 - 1:个人 2:企业",
  38598. "type": "integer"
  38599. },
  38600. "userstatus": {
  38601. "description": "用户状态 - 1:正常 2:注销",
  38602. "type": "integer"
  38603. },
  38604. "usertype": {
  38605. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者",
  38606. "type": "integer"
  38607. },
  38608. "wechat": {
  38609. "description": "微信(加密存储)",
  38610. "type": "string"
  38611. },
  38612. "wskhinfo": {
  38613. "description": "开户申请信息(JSON)",
  38614. "type": "string"
  38615. }
  38616. }
  38617. },
  38618. "models.WrFAProductDetail": {
  38619. "type": "object",
  38620. "properties": {
  38621. "accountid": {
  38622. "description": "资金账号",
  38623. "type": "integer"
  38624. },
  38625. "areauserid": {
  38626. "description": "金融机构ID",
  38627. "type": "integer"
  38628. },
  38629. "financingdays": {
  38630. "description": "天数(天)",
  38631. "type": "integer"
  38632. },
  38633. "interestminlen": {
  38634. "description": "最小起息天数",
  38635. "type": "integer"
  38636. },
  38637. "interestrate": {
  38638. "description": "利率",
  38639. "type": "number"
  38640. },
  38641. "interestratemode": {
  38642. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  38643. "type": "integer"
  38644. },
  38645. "interestsettlemode": {
  38646. "description": "结息方式 - 1:按日结息 3:按月结息",
  38647. "type": "integer"
  38648. },
  38649. "interestsettlevalue": {
  38650. "description": "结息方式值",
  38651. "type": "integer"
  38652. },
  38653. "isautoloan": {
  38654. "description": "是否自动放款 0-手动 1-自动 (当为自动放款时,显示\"放款快\")",
  38655. "type": "integer"
  38656. },
  38657. "loantag": {
  38658. "description": "放款标识: \"放款快\" 或者为空",
  38659. "type": "string"
  38660. },
  38661. "marginratio": {
  38662. "description": "保证金比率质押率 - [仓单质押]",
  38663. "type": "number"
  38664. },
  38665. "productdetailid": {
  38666. "description": "产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)",
  38667. "type": "integer"
  38668. },
  38669. "productid": {
  38670. "description": "金融产品ID",
  38671. "type": "integer"
  38672. },
  38673. "productname": {
  38674. "description": "产品名称",
  38675. "type": "string"
  38676. },
  38677. "updatetime": {
  38678. "description": "更新时间",
  38679. "type": "string"
  38680. },
  38681. "username": {
  38682. "description": "融出方",
  38683. "type": "string"
  38684. }
  38685. }
  38686. },
  38687. "models.WrFactorTypeInfo": {
  38688. "type": "object",
  38689. "properties": {
  38690. "deliverygoodscode": {
  38691. "description": "品种代码",
  38692. "type": "string"
  38693. },
  38694. "deliverygoodsname": {
  38695. "description": "品种名称",
  38696. "type": "string"
  38697. },
  38698. "dgfactoryitemid": {
  38699. "description": "选择项id",
  38700. "type": "integer"
  38701. },
  38702. "dgfactoryitemtypeid": {
  38703. "description": "要素选择项ID (1-仓库 2-品牌)",
  38704. "type": "integer"
  38705. },
  38706. "dgfactoryitemvalue": {
  38707. "description": "要素项值",
  38708. "type": "string"
  38709. },
  38710. "itemtypename": {
  38711. "description": "要素项名称",
  38712. "type": "string"
  38713. },
  38714. "optioncompare": {
  38715. "description": "选择比较串",
  38716. "type": "string"
  38717. },
  38718. "warehouseid": {
  38719. "description": "仓库id",
  38720. "type": "integer"
  38721. },
  38722. "wrfactortypeid": {
  38723. "description": "仓单要素ID",
  38724. "type": "string"
  38725. },
  38726. "wrfactortypename": {
  38727. "description": "要素名称",
  38728. "type": "string"
  38729. },
  38730. "wrfactortypename2": {
  38731. "description": "要素名称(不含仓库)",
  38732. "type": "string"
  38733. },
  38734. "wrstandardcode": {
  38735. "description": "品类代码",
  38736. "type": "string"
  38737. },
  38738. "wrstandardid": {
  38739. "description": "品类id",
  38740. "type": "integer"
  38741. },
  38742. "wrstandardname": {
  38743. "description": "品类名称",
  38744. "type": "string"
  38745. }
  38746. }
  38747. },
  38748. "models.WrFilterItem": {
  38749. "type": "object",
  38750. "properties": {
  38751. "itemcode": {
  38752. "description": "代码",
  38753. "type": "string"
  38754. },
  38755. "itemid": {
  38756. "description": "项id",
  38757. "type": "integer"
  38758. },
  38759. "itemname": {
  38760. "description": "名称",
  38761. "type": "string"
  38762. },
  38763. "itemtype": {
  38764. "description": "类型 1-品种 2-品类(商品) 3-仓库",
  38765. "type": "integer"
  38766. }
  38767. }
  38768. },
  38769. "models.WrFinanceBuyApply": {
  38770. "type": "object",
  38771. "properties": {
  38772. "applydate": {
  38773. "description": "申请时间",
  38774. "type": "string"
  38775. },
  38776. "applystatus": {
  38777. "description": "申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败",
  38778. "type": "integer"
  38779. },
  38780. "applyuserid": {
  38781. "description": "申请人",
  38782. "type": "integer"
  38783. },
  38784. "auditdate": {
  38785. "description": "审核时间",
  38786. "type": "string"
  38787. },
  38788. "auditremark": {
  38789. "description": "审核备注",
  38790. "type": "string"
  38791. },
  38792. "audituserid": {
  38793. "description": "审核人",
  38794. "type": "integer"
  38795. },
  38796. "buyaccountid": {
  38797. "description": "买方资金账号",
  38798. "type": "integer"
  38799. },
  38800. "buyorsell": {
  38801. "description": "买卖 - 0:买 1:卖",
  38802. "type": "integer"
  38803. },
  38804. "buyuserid": {
  38805. "description": "买方用户ID",
  38806. "type": "integer"
  38807. },
  38808. "buyusername": {
  38809. "description": "买方名称",
  38810. "type": "string"
  38811. },
  38812. "buywrtradeorderid": {
  38813. "description": "融资方买委托单ID",
  38814. "type": "string"
  38815. },
  38816. "deliverygoodscode": {
  38817. "description": "品种代码",
  38818. "type": "string"
  38819. },
  38820. "deliverygoodsid": {
  38821. "description": "品种ID",
  38822. "type": "integer"
  38823. },
  38824. "deliverygoodsname": {
  38825. "description": "品种名称",
  38826. "type": "string"
  38827. },
  38828. "deliverymonth": {
  38829. "description": "交收月(yyyy-MM) [无仓单HasWR =0]",
  38830. "type": "string"
  38831. },
  38832. "enumdicname": {
  38833. "description": "单位名称",
  38834. "type": "string"
  38835. },
  38836. "financeaccountid": {
  38837. "description": "融资方资金帐户ID",
  38838. "type": "integer"
  38839. },
  38840. "financeapplyid": {
  38841. "description": "融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  38842. "type": "string"
  38843. },
  38844. "financeareauserid": {
  38845. "description": "融资方用户ID",
  38846. "type": "string"
  38847. },
  38848. "financename": {
  38849. "description": "融出方名称",
  38850. "type": "string"
  38851. },
  38852. "financetype": {
  38853. "description": "融资类型 1-融资回购",
  38854. "type": "integer"
  38855. },
  38856. "financingdays": {
  38857. "description": "天数(天)",
  38858. "type": "integer"
  38859. },
  38860. "freezebuymargin": {
  38861. "description": "冻结融资保证金(买方)",
  38862. "type": "number"
  38863. },
  38864. "handleremark": {
  38865. "description": "处理备注",
  38866. "type": "string"
  38867. },
  38868. "handlestatus": {
  38869. "description": "处理状态",
  38870. "type": "integer"
  38871. },
  38872. "interestminlen": {
  38873. "description": "最小起息天数",
  38874. "type": "integer"
  38875. },
  38876. "interestrate": {
  38877. "description": "利率",
  38878. "type": "number"
  38879. },
  38880. "interestratemode": {
  38881. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  38882. "type": "integer"
  38883. },
  38884. "interestsettlemode": {
  38885. "description": "结息方式 - 1:按日结息 3:按月结息",
  38886. "type": "integer"
  38887. },
  38888. "interestsettlevalue": {
  38889. "description": "结息方式值",
  38890. "type": "integer"
  38891. },
  38892. "isautoloan": {
  38893. "description": "是否自动放款 - 0:手动 1:自动",
  38894. "type": "integer"
  38895. },
  38896. "marginratio": {
  38897. "description": "保证金比率质押率 - [仓单质押]",
  38898. "type": "number"
  38899. },
  38900. "marketid": {
  38901. "description": "市场ID",
  38902. "type": "integer"
  38903. },
  38904. "minivalue": {
  38905. "description": "现货商品最小变动值",
  38906. "type": "integer"
  38907. },
  38908. "optioncompare": {
  38909. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  38910. "type": "string"
  38911. },
  38912. "orderqty": {
  38913. "description": "委托数量(商品数量)",
  38914. "type": "number"
  38915. },
  38916. "productdetailid": {
  38917. "description": "产品组合ID",
  38918. "type": "integer"
  38919. },
  38920. "productid": {
  38921. "description": "金融产品ID",
  38922. "type": "integer"
  38923. },
  38924. "productname": {
  38925. "description": "产品名称",
  38926. "type": "string"
  38927. },
  38928. "remark": {
  38929. "description": "备注",
  38930. "type": "string"
  38931. },
  38932. "scfcontractid": {
  38933. "description": "仓单回购合同ID",
  38934. "type": "string"
  38935. },
  38936. "sellaccountid": {
  38937. "description": "卖方资金账号",
  38938. "type": "integer"
  38939. },
  38940. "selluserid": {
  38941. "description": "卖方用户ID",
  38942. "type": "integer"
  38943. },
  38944. "sellwrtradeorderid": {
  38945. "description": "卖方委托单ID",
  38946. "type": "string"
  38947. },
  38948. "tradeamount": {
  38949. "description": "成交金额(借款金额)",
  38950. "type": "number"
  38951. },
  38952. "tradedate": {
  38953. "description": "交易日(yyyyMMdd)",
  38954. "type": "string"
  38955. },
  38956. "tradeprice": {
  38957. "description": "成交价格",
  38958. "type": "number"
  38959. },
  38960. "warehouseid": {
  38961. "description": "仓库ID",
  38962. "type": "integer"
  38963. },
  38964. "warehousename": {
  38965. "description": "仓库名称",
  38966. "type": "string"
  38967. },
  38968. "wrfactortypeid": {
  38969. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  38970. "type": "string"
  38971. },
  38972. "wrfactortypename": {
  38973. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  38974. "type": "string"
  38975. },
  38976. "wrpricetype": {
  38977. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌单]",
  38978. "type": "integer"
  38979. },
  38980. "wrstandardcode": {
  38981. "description": "现货商品代码",
  38982. "type": "string"
  38983. },
  38984. "wrstandardid": {
  38985. "description": "现货商品ID",
  38986. "type": "integer"
  38987. },
  38988. "wrstandardname": {
  38989. "description": "商品名称",
  38990. "type": "string"
  38991. },
  38992. "wrtypename": {
  38993. "description": "商品",
  38994. "type": "string"
  38995. }
  38996. }
  38997. },
  38998. "models.WrFriendApply": {
  38999. "type": "object",
  39000. "properties": {
  39001. "applicantid": {
  39002. "description": "申请人",
  39003. "type": "integer"
  39004. },
  39005. "applyname": {
  39006. "description": "申请人名称",
  39007. "type": "string"
  39008. },
  39009. "applysrc": {
  39010. "description": "申请来源 - 1:管理端 2:终端",
  39011. "type": "integer"
  39012. },
  39013. "applystatus": {
  39014. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  39015. "type": "integer"
  39016. },
  39017. "applytime": {
  39018. "description": "申请时间",
  39019. "type": "string"
  39020. },
  39021. "auditname": {
  39022. "description": "审核人名称",
  39023. "type": "string"
  39024. },
  39025. "auditorid": {
  39026. "description": "审核人",
  39027. "type": "integer"
  39028. },
  39029. "auditremark": {
  39030. "description": "审核备注",
  39031. "type": "string"
  39032. },
  39033. "auditsrc": {
  39034. "description": "审核来源 - 1:管理端 2:终端",
  39035. "type": "integer"
  39036. },
  39037. "audittime": {
  39038. "description": "审核时间",
  39039. "type": "string"
  39040. },
  39041. "friendapplyid": {
  39042. "description": "申请ID(SEQ_FRIENDAPPLY)",
  39043. "type": "string"
  39044. },
  39045. "friendname": {
  39046. "description": "好友名字(已脱敏)",
  39047. "type": "string"
  39048. },
  39049. "frienduserid": {
  39050. "description": "好友用户ID",
  39051. "type": "string"
  39052. },
  39053. "remark": {
  39054. "description": "备注",
  39055. "type": "string"
  39056. },
  39057. "userid": {
  39058. "description": "申请人用户ID",
  39059. "type": "integer"
  39060. }
  39061. }
  39062. },
  39063. "models.WrFtDeliveryGoods": {
  39064. "type": "object",
  39065. "properties": {
  39066. "deliverygoodscode": {
  39067. "description": "品种代码",
  39068. "type": "string"
  39069. },
  39070. "deliverygoodsid": {
  39071. "description": "品种ID",
  39072. "type": "integer"
  39073. },
  39074. "deliverygoodsname": {
  39075. "description": "品种名称",
  39076. "type": "string"
  39077. },
  39078. "wdlst": {
  39079. "description": "商品列表",
  39080. "type": "array",
  39081. "items": {
  39082. "$ref": "#/definitions/models.WrFtWrstandard"
  39083. }
  39084. }
  39085. }
  39086. },
  39087. "models.WrFtWrstandard": {
  39088. "type": "object",
  39089. "properties": {
  39090. "enumdicname": {
  39091. "description": "单位名称",
  39092. "type": "string"
  39093. },
  39094. "minivalue": {
  39095. "description": "最小变动值",
  39096. "type": "integer"
  39097. },
  39098. "wrstandardcode": {
  39099. "description": "现货商品代码",
  39100. "type": "string"
  39101. },
  39102. "wrstandardid": {
  39103. "description": "现货商品ID",
  39104. "type": "integer"
  39105. },
  39106. "wrstandardname": {
  39107. "description": "商品名称",
  39108. "type": "string"
  39109. }
  39110. }
  39111. },
  39112. "models.WrGoodsInfo": {
  39113. "type": "object",
  39114. "properties": {
  39115. "haswr": {
  39116. "description": "0:仓单预售 1:仓单贸易",
  39117. "type": "integer"
  39118. },
  39119. "lstitem": {
  39120. "description": "商品信息项",
  39121. "type": "array",
  39122. "items": {
  39123. "$ref": "#/definitions/models.WrTypeItem"
  39124. }
  39125. },
  39126. "lststep": {
  39127. "description": "履约规则",
  39128. "type": "array",
  39129. "items": {
  39130. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  39131. }
  39132. },
  39133. "marketid": {
  39134. "description": "市场id",
  39135. "type": "integer"
  39136. }
  39137. }
  39138. },
  39139. "models.WrGoodsPerformanceStep": {
  39140. "type": "object",
  39141. "properties": {
  39142. "autoid": {
  39143. "description": "AutoID",
  39144. "type": "integer"
  39145. },
  39146. "isauto": {
  39147. "description": "是否自动 - 0:不自动 1:自动",
  39148. "type": "integer"
  39149. },
  39150. "remark": {
  39151. "description": "备注",
  39152. "type": "string"
  39153. },
  39154. "stepdate": {
  39155. "description": "天数信息(T+N)",
  39156. "type": "string"
  39157. },
  39158. "stepdays": {
  39159. "description": "距离上一步天数",
  39160. "type": "integer"
  39161. },
  39162. "stepindex": {
  39163. "description": "步骤序号",
  39164. "type": "integer"
  39165. },
  39166. "stepinfo": {
  39167. "description": "步骤信息(步骤名称+步骤值)",
  39168. "type": "string"
  39169. },
  39170. "steptypeid": {
  39171. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  39172. "type": "integer"
  39173. },
  39174. "steptypename": {
  39175. "description": "步骤名称",
  39176. "type": "string"
  39177. },
  39178. "stepvalue": {
  39179. "description": "步骤值",
  39180. "type": "number"
  39181. },
  39182. "templateid": {
  39183. "description": "履约计划模板ID",
  39184. "type": "integer"
  39185. }
  39186. }
  39187. },
  39188. "models.WrHoldLB": {
  39189. "type": "object",
  39190. "properties": {
  39191. "accountid": {
  39192. "description": "持有人帐户ID",
  39193. "type": "integer"
  39194. },
  39195. "bannerpicurl": {
  39196. "description": "Banner图",
  39197. "type": "string"
  39198. },
  39199. "createtime": {
  39200. "description": "创建时间(过户时间)",
  39201. "type": "string"
  39202. },
  39203. "deliverygoodscode": {
  39204. "description": "品种代码",
  39205. "type": "string"
  39206. },
  39207. "deliverygoodsid": {
  39208. "description": "品种ID",
  39209. "type": "integer"
  39210. },
  39211. "deliverygoodsname": {
  39212. "description": "品种名称",
  39213. "type": "string"
  39214. },
  39215. "enableqty": {
  39216. "description": "可用数量",
  39217. "type": "number"
  39218. },
  39219. "enumdicname": {
  39220. "description": "单位名称",
  39221. "type": "string"
  39222. },
  39223. "freezerqty": {
  39224. "description": "冻结数量",
  39225. "type": "number"
  39226. },
  39227. "ladingbillid": {
  39228. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  39229. "type": "string"
  39230. },
  39231. "minivalue": {
  39232. "description": "现货商品最小变动值",
  39233. "type": "integer"
  39234. },
  39235. "optioncompare": {
  39236. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  39237. "type": "string"
  39238. },
  39239. "parentsubnum": {
  39240. "description": "拆分父子单号",
  39241. "type": "integer"
  39242. },
  39243. "pledgeqty": {
  39244. "description": "质押数量",
  39245. "type": "number"
  39246. },
  39247. "qty": {
  39248. "description": "数量",
  39249. "type": "number"
  39250. },
  39251. "subnum": {
  39252. "description": "提单子单号",
  39253. "type": "integer"
  39254. },
  39255. "thumurls": {
  39256. "description": "缩略图",
  39257. "type": "string"
  39258. },
  39259. "tradedate": {
  39260. "description": "交易日(yyyyMMdd)",
  39261. "type": "string"
  39262. },
  39263. "userid": {
  39264. "description": "持有人ID",
  39265. "type": "integer"
  39266. },
  39267. "warehouseid": {
  39268. "description": "仓库ID",
  39269. "type": "integer"
  39270. },
  39271. "warehousename": {
  39272. "description": "仓库名称",
  39273. "type": "string"
  39274. },
  39275. "wrfactortypeid": {
  39276. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  39277. "type": "string"
  39278. },
  39279. "wrfactortypename": {
  39280. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  39281. "type": "string"
  39282. },
  39283. "wrholdeno": {
  39284. "description": "仓单编号",
  39285. "type": "string"
  39286. },
  39287. "wrid": {
  39288. "description": "仓单变更ID",
  39289. "type": "string"
  39290. },
  39291. "wrstandardcode": {
  39292. "description": "现货商品代码",
  39293. "type": "string"
  39294. },
  39295. "wrstandardid": {
  39296. "description": "现货商品ID",
  39297. "type": "integer"
  39298. },
  39299. "wrstandardname": {
  39300. "description": "商品名称",
  39301. "type": "string"
  39302. },
  39303. "wrtypename": {
  39304. "description": "商品",
  39305. "type": "string"
  39306. }
  39307. }
  39308. },
  39309. "models.WrMarketTradeConfig": {
  39310. "type": "object",
  39311. "properties": {
  39312. "basisdownratio": {
  39313. "description": "浮动价基差下限比例(仓单贸易)",
  39314. "type": "number"
  39315. },
  39316. "basisupratio": {
  39317. "description": "浮动价基差上限比例(仓单贸易)",
  39318. "type": "number"
  39319. },
  39320. "buychargealgorithm": {
  39321. "description": "买方手续费收取方式 1:比率 2:固定",
  39322. "type": "integer"
  39323. },
  39324. "buychargealgorithm2": {
  39325. "description": "回购买方手续费收取方式 1:比率 2:固定 --77:现货商城",
  39326. "type": "integer"
  39327. },
  39328. "buychargealgorithmvalue": {
  39329. "description": "买方手续费设置值(交易所部分)",
  39330. "type": "number"
  39331. },
  39332. "buychargealgorithmvalue2": {
  39333. "description": "买方手续费设置值(会员部分)",
  39334. "type": "number"
  39335. },
  39336. "buychargealgorithmvalue3": {
  39337. "description": "回购买方手续费设置值(交易所部分) --77:现货商城",
  39338. "type": "number"
  39339. },
  39340. "buychargealgorithmvalue4": {
  39341. "description": "回购买方手续费设置值(会员部分) --77:现货商城",
  39342. "type": "number"
  39343. },
  39344. "buyfirstmarginalgorithm": {
  39345. "description": "买方出价保证金方式 - 1:比率 2:固定 - [竞拍]",
  39346. "type": "integer"
  39347. },
  39348. "buyfirstmarginvalue": {
  39349. "description": "买方出价保证金设置值 - [竞拍]",
  39350. "type": "number"
  39351. },
  39352. "buymarginalgorithm": {
  39353. "description": "买方保证金方式 - 1:比率 2:固定",
  39354. "type": "integer"
  39355. },
  39356. "buymarginvalue": {
  39357. "description": "买方保证金设置值",
  39358. "type": "number"
  39359. },
  39360. "buyreleaseratio": {
  39361. "description": "买方释放比率[2:分步履约]",
  39362. "type": "number"
  39363. },
  39364. "executemode": {
  39365. "description": "执行方式[2:分步履约] - 1:顺序执行 2:交叉执行",
  39366. "type": "integer"
  39367. },
  39368. "executeside": {
  39369. "description": "执行方[2:分步履约] - 1:买方 2:卖方",
  39370. "type": "integer"
  39371. },
  39372. "failedchargealgorithm": {
  39373. "description": "流拍手续费收取方式 1:比率 2:固定",
  39374. "type": "integer"
  39375. },
  39376. "failedchargevalue": {
  39377. "description": "流拍手续费设置值",
  39378. "type": "number"
  39379. },
  39380. "failedchargevalue2": {
  39381. "description": "流拍卖方手续费设置值",
  39382. "type": "number"
  39383. },
  39384. "holddays": {
  39385. "description": "合同期限[2:分步履约]",
  39386. "type": "integer"
  39387. },
  39388. "listingmode": {
  39389. "description": "挂牌方式 - 1:一口价 2:浮动价 3:贸易圈 4:协议指定",
  39390. "type": "integer"
  39391. },
  39392. "marketid": {
  39393. "description": "市场ID-仓单贸易、竞拍、预售",
  39394. "type": "integer"
  39395. },
  39396. "minqty": {
  39397. "description": "最小执行量[2:分步履约]",
  39398. "type": "number"
  39399. },
  39400. "modifierid": {
  39401. "description": "修改人",
  39402. "type": "integer"
  39403. },
  39404. "nowrquotaflag": {
  39405. "description": "是否校验无仓单额度(仓单贸易) - 0:否 1:是",
  39406. "type": "integer"
  39407. },
  39408. "performancetempid": {
  39409. "description": "履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)",
  39410. "type": "integer"
  39411. },
  39412. "performancetempid2": {
  39413. "description": "履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行",
  39414. "type": "integer"
  39415. },
  39416. "performancetempid2s": {
  39417. "description": "履约计划模板IDs(无仓单) - 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行",
  39418. "type": "string"
  39419. },
  39420. "performancetempids": {
  39421. "description": "履约计划模板IDs(有仓单)- 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)",
  39422. "type": "string"
  39423. },
  39424. "performanceway": {
  39425. "description": "交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]",
  39426. "type": "integer"
  39427. },
  39428. "sellchargealgorithm": {
  39429. "description": "卖方手续费收取方式 1:比率 2:固定",
  39430. "type": "integer"
  39431. },
  39432. "sellchargealgorithm2": {
  39433. "description": "回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城",
  39434. "type": "integer"
  39435. },
  39436. "sellchargealgorithmvalue": {
  39437. "description": "卖方手续费设置值(交易所部分)",
  39438. "type": "number"
  39439. },
  39440. "sellchargealgorithmvalue2": {
  39441. "description": "卖方手续费设置值(会员部分)",
  39442. "type": "number"
  39443. },
  39444. "sellchargealgorithmvalue3": {
  39445. "description": "回购卖方手续费设置值(交易所部分) --77:现货商城",
  39446. "type": "number"
  39447. },
  39448. "sellchargealgorithmvalue4": {
  39449. "description": "回购卖方手续费设置值(会员部分) --77:现货商城",
  39450. "type": "number"
  39451. },
  39452. "sellmarginalgorithm": {
  39453. "description": "卖方保证金方式 - 1:比率 2:固定",
  39454. "type": "integer"
  39455. },
  39456. "sellmarginvalue": {
  39457. "description": "卖方保证金设置值",
  39458. "type": "number"
  39459. },
  39460. "sellmarginvalue2": {
  39461. "description": "卖方保证金设置值(无仓单)",
  39462. "type": "number"
  39463. },
  39464. "sellreleaseratio": {
  39465. "description": "卖方释放比率[2:分步履约]",
  39466. "type": "number"
  39467. },
  39468. "updatetime": {
  39469. "description": "更新时间",
  39470. "type": "string"
  39471. }
  39472. }
  39473. },
  39474. "models.WrOrderDetail": {
  39475. "type": "object",
  39476. "properties": {
  39477. "accountid": {
  39478. "description": "交易账号(资金账号)",
  39479. "type": "integer"
  39480. },
  39481. "allfriendsflag": {
  39482. "description": "是否全好友可见 - 0:否 1:是",
  39483. "type": "integer"
  39484. },
  39485. "amount": {
  39486. "description": "挂牌金额 = 委托数量 * 固定价或升贴水",
  39487. "type": "number"
  39488. },
  39489. "bannerpicurl": {
  39490. "description": "Banner图",
  39491. "type": "string"
  39492. },
  39493. "begindate": {
  39494. "description": "开始交易日(yyyymmdd)",
  39495. "type": "string"
  39496. },
  39497. "buyorsell": {
  39498. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  39499. "type": "integer"
  39500. },
  39501. "canbargain": {
  39502. "description": "是否可议价 - 0:不可 1:可",
  39503. "type": "integer"
  39504. },
  39505. "cancelqty": {
  39506. "description": "撤销数量",
  39507. "type": "number"
  39508. },
  39509. "canpart": {
  39510. "description": "是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)",
  39511. "type": "integer"
  39512. },
  39513. "delistminqty": {
  39514. "description": "起摘数量",
  39515. "type": "integer"
  39516. },
  39517. "deliverygoodscode": {
  39518. "description": "品种代码",
  39519. "type": "string"
  39520. },
  39521. "deliverygoodsid": {
  39522. "description": "品种ID",
  39523. "type": "integer"
  39524. },
  39525. "deliverygoodsname": {
  39526. "description": "品种名称",
  39527. "type": "string"
  39528. },
  39529. "deliverymonth": {
  39530. "description": "交收月",
  39531. "type": "string"
  39532. },
  39533. "enddate": {
  39534. "description": "结束交易日(yyyymmdd)",
  39535. "type": "string"
  39536. },
  39537. "enumdicname": {
  39538. "description": "单位名称",
  39539. "type": "string"
  39540. },
  39541. "fixedprice": {
  39542. "description": "固定价格 - [挂牌]",
  39543. "type": "number"
  39544. },
  39545. "freezecharge": {
  39546. "description": "冻结手续费",
  39547. "type": "number"
  39548. },
  39549. "freezemargin": {
  39550. "description": "冻结保证金(保证金)",
  39551. "type": "number"
  39552. },
  39553. "futupricemove": {
  39554. "description": "期货升贴水",
  39555. "type": "number"
  39556. },
  39557. "futushow": {
  39558. "description": "期货合约/升贴水",
  39559. "type": "string"
  39560. },
  39561. "goodscode": {
  39562. "description": "期货合约",
  39563. "type": "string"
  39564. },
  39565. "goodsid": {
  39566. "description": "期货商品id",
  39567. "type": "integer"
  39568. },
  39569. "goodsname": {
  39570. "description": "商品名称",
  39571. "type": "string"
  39572. },
  39573. "haswr": {
  39574. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  39575. "type": "integer"
  39576. },
  39577. "isspecified": {
  39578. "description": "是否指定对手 - 0:不指定 1:指定 - [挂牌]",
  39579. "type": "integer"
  39580. },
  39581. "ladingbillid": {
  39582. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  39583. "type": "string"
  39584. },
  39585. "marginvalue": {
  39586. "description": "保证金设置值(履约保证金)",
  39587. "type": "number"
  39588. },
  39589. "marketid": {
  39590. "description": "市场ID",
  39591. "type": "integer"
  39592. },
  39593. "matchusername": {
  39594. "description": "对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)",
  39595. "type": "string"
  39596. },
  39597. "minivalue": {
  39598. "description": "现货商品最小变动值",
  39599. "type": "integer"
  39600. },
  39601. "optioncompare": {
  39602. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  39603. "type": "string"
  39604. },
  39605. "orderqty": {
  39606. "description": "委托数量",
  39607. "type": "number"
  39608. },
  39609. "ordertime": {
  39610. "description": "委托时间(挂牌时间)",
  39611. "type": "string"
  39612. },
  39613. "performancetemplateid": {
  39614. "description": "履约模板id",
  39615. "type": "integer"
  39616. },
  39617. "pricemove": {
  39618. "description": "升贴水(浮动价时填写) - [挂牌]",
  39619. "type": "number"
  39620. },
  39621. "taname": {
  39622. "description": "交易用户名称(资金账号名称)",
  39623. "type": "string"
  39624. },
  39625. "thumurls": {
  39626. "description": "缩略图",
  39627. "type": "string"
  39628. },
  39629. "tradedate": {
  39630. "description": "交易日(yyyyMMdd)",
  39631. "type": "string"
  39632. },
  39633. "tradeprice": {
  39634. "description": "成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)* 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)",
  39635. "type": "number"
  39636. },
  39637. "tradeqty": {
  39638. "description": "成交数量",
  39639. "type": "number"
  39640. },
  39641. "userid": {
  39642. "description": "用户ID",
  39643. "type": "integer"
  39644. },
  39645. "validtime": {
  39646. "description": "挂牌有效期",
  39647. "type": "string"
  39648. },
  39649. "validtype": {
  39650. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  39651. "type": "integer"
  39652. },
  39653. "warehouseid": {
  39654. "description": "仓库ID",
  39655. "type": "integer"
  39656. },
  39657. "warehousename": {
  39658. "description": "仓库名称",
  39659. "type": "string"
  39660. },
  39661. "wrfactortypeid": {
  39662. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  39663. "type": "string"
  39664. },
  39665. "wrfactortypename": {
  39666. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  39667. "type": "string"
  39668. },
  39669. "wrpricetype": {
  39670. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  39671. "type": "integer"
  39672. },
  39673. "wrstandardcode": {
  39674. "description": "现货商品代码",
  39675. "type": "string"
  39676. },
  39677. "wrstandardid": {
  39678. "description": "现货商品ID",
  39679. "type": "integer"
  39680. },
  39681. "wrstandardname": {
  39682. "description": "商品名称",
  39683. "type": "string"
  39684. },
  39685. "wrtradeorderid": {
  39686. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  39687. "type": "string"
  39688. },
  39689. "wrtradeorderstatus": {
  39690. "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:撤单解冻贷款失败",
  39691. "type": "integer"
  39692. },
  39693. "wrtradetype": {
  39694. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  39695. "type": "integer"
  39696. },
  39697. "wrtypename": {
  39698. "description": "商品",
  39699. "type": "string"
  39700. }
  39701. }
  39702. },
  39703. "models.WrOrderQuote": {
  39704. "type": "object",
  39705. "properties": {
  39706. "bannerpicurl": {
  39707. "description": "Banner图",
  39708. "type": "string"
  39709. },
  39710. "buyprice": {
  39711. "description": "买价",
  39712. "type": "number"
  39713. },
  39714. "buypricemove": {
  39715. "description": "买升贴水(基差)",
  39716. "type": "number"
  39717. },
  39718. "buyqty": {
  39719. "description": "买量",
  39720. "type": "number"
  39721. },
  39722. "deliverygoodscode": {
  39723. "description": "品种代码",
  39724. "type": "string"
  39725. },
  39726. "deliverygoodsid": {
  39727. "description": "品种id",
  39728. "type": "integer"
  39729. },
  39730. "deliverygoodsname": {
  39731. "description": "品种名称",
  39732. "type": "string"
  39733. },
  39734. "deliverymonth": {
  39735. "description": "交收月",
  39736. "type": "string"
  39737. },
  39738. "enumdicname": {
  39739. "description": "单位名称",
  39740. "type": "string"
  39741. },
  39742. "goodscode": {
  39743. "description": "商品合约(浮动价列表才有)",
  39744. "type": "string"
  39745. },
  39746. "goodsid": {
  39747. "description": "商品id(浮动价列表才有)",
  39748. "type": "integer"
  39749. },
  39750. "minivalue": {
  39751. "description": "现货商品最小变动值",
  39752. "type": "integer"
  39753. },
  39754. "pictureurls": {
  39755. "description": "详情图片(逗号分隔)",
  39756. "type": "string"
  39757. },
  39758. "sellprice": {
  39759. "description": "卖价",
  39760. "type": "number"
  39761. },
  39762. "sellpricemove": {
  39763. "description": "卖升贴水(基差)",
  39764. "type": "number"
  39765. },
  39766. "sellqty": {
  39767. "description": "卖量",
  39768. "type": "number"
  39769. },
  39770. "thumurls": {
  39771. "description": "缩略图片(1:1)(逗号分隔)",
  39772. "type": "string"
  39773. },
  39774. "warehousecode": {
  39775. "description": "仓库代码",
  39776. "type": "string"
  39777. },
  39778. "warehouseid": {
  39779. "description": "仓库id",
  39780. "type": "integer"
  39781. },
  39782. "warehousename": {
  39783. "description": "仓库名称",
  39784. "type": "string"
  39785. },
  39786. "wrfactortypeid": {
  39787. "description": "仓单要素id",
  39788. "type": "string"
  39789. },
  39790. "wrfactortypename": {
  39791. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  39792. "type": "string"
  39793. },
  39794. "wrgoodsname": {
  39795. "description": "商品(商品名称+仓库要素名称 拼接)",
  39796. "type": "string"
  39797. },
  39798. "wrstandardcode": {
  39799. "description": "商品代码",
  39800. "type": "string"
  39801. },
  39802. "wrstandardid": {
  39803. "description": "商品id",
  39804. "type": "integer"
  39805. },
  39806. "wrstandardname": {
  39807. "description": "商品名称",
  39808. "type": "string"
  39809. }
  39810. }
  39811. },
  39812. "models.WrOrderQuoteDetail": {
  39813. "type": "object",
  39814. "properties": {
  39815. "buyorsell": {
  39816. "description": "买卖 - 0:买 1:卖",
  39817. "type": "integer"
  39818. },
  39819. "delistminqty": {
  39820. "description": "起摘数量",
  39821. "type": "number"
  39822. },
  39823. "deliverymonth": {
  39824. "description": "交收月",
  39825. "type": "string"
  39826. },
  39827. "enumdicname": {
  39828. "description": "单位名称",
  39829. "type": "string"
  39830. },
  39831. "fixedprice": {
  39832. "description": "买(卖)价",
  39833. "type": "number"
  39834. },
  39835. "marketid": {
  39836. "description": "市场id",
  39837. "type": "integer"
  39838. },
  39839. "minivalue": {
  39840. "description": "现货商品最小变动值",
  39841. "type": "integer"
  39842. },
  39843. "orderqty": {
  39844. "description": "买(卖)量(=委托量-成交量)",
  39845. "type": "number"
  39846. },
  39847. "ordertime": {
  39848. "description": "委托时间",
  39849. "type": "string"
  39850. },
  39851. "pricemove": {
  39852. "description": "买(卖)升贴水- 基差",
  39853. "type": "number"
  39854. },
  39855. "userid": {
  39856. "description": "购买方(销售方)用户ID",
  39857. "type": "integer"
  39858. },
  39859. "username": {
  39860. "description": "购买方(销售方)",
  39861. "type": "string"
  39862. },
  39863. "wrtradeorderid": {
  39864. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  39865. "type": "string"
  39866. }
  39867. }
  39868. },
  39869. "models.WrOutInApply": {
  39870. "type": "object",
  39871. "properties": {
  39872. "applyid": {
  39873. "description": "申请单id",
  39874. "type": "string"
  39875. },
  39876. "applystatus": {
  39877. "description": "申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  39878. "type": "integer"
  39879. },
  39880. "applytime": {
  39881. "description": "申请时间",
  39882. "type": "string"
  39883. },
  39884. "applytype": {
  39885. "description": "申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销",
  39886. "type": "integer"
  39887. },
  39888. "bannerpicurl": {
  39889. "description": "Banner图",
  39890. "type": "string"
  39891. },
  39892. "begindate": {
  39893. "description": "开始交易日(yyyymmdd)",
  39894. "type": "string"
  39895. },
  39896. "deliverygoodscode": {
  39897. "description": "品种代码",
  39898. "type": "string"
  39899. },
  39900. "deliverygoodsid": {
  39901. "description": "品种ID",
  39902. "type": "integer"
  39903. },
  39904. "deliverygoodsname": {
  39905. "description": "品种名称",
  39906. "type": "string"
  39907. },
  39908. "enddate": {
  39909. "description": "结束交易日(yyyymmdd)",
  39910. "type": "string"
  39911. },
  39912. "enumdicname": {
  39913. "description": "单位名称",
  39914. "type": "string"
  39915. },
  39916. "expresscompany": {
  39917. "description": "物流公司",
  39918. "type": "string"
  39919. },
  39920. "expressnum": {
  39921. "description": "物流单号",
  39922. "type": "string"
  39923. },
  39924. "minivalue": {
  39925. "description": "现货商品最小变动值",
  39926. "type": "integer"
  39927. },
  39928. "optioncompare": {
  39929. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  39930. "type": "string"
  39931. },
  39932. "qty": {
  39933. "description": "数量",
  39934. "type": "integer"
  39935. },
  39936. "userid": {
  39937. "description": "用户id",
  39938. "type": "integer"
  39939. },
  39940. "warehouseid": {
  39941. "description": "仓库ID",
  39942. "type": "integer"
  39943. },
  39944. "warehousename": {
  39945. "description": "仓库名称",
  39946. "type": "string"
  39947. },
  39948. "wrfactortypeid": {
  39949. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  39950. "type": "string"
  39951. },
  39952. "wrfactortypename": {
  39953. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  39954. "type": "string"
  39955. },
  39956. "wrstandardcode": {
  39957. "description": "现货商品代码",
  39958. "type": "string"
  39959. },
  39960. "wrstandardid": {
  39961. "description": "现货商品ID",
  39962. "type": "integer"
  39963. },
  39964. "wrstandardname": {
  39965. "description": "商品名称",
  39966. "type": "string"
  39967. },
  39968. "wrtypename": {
  39969. "description": "商品",
  39970. "type": "string"
  39971. }
  39972. }
  39973. },
  39974. "models.WrPerformancePlan": {
  39975. "type": "object",
  39976. "required": [
  39977. "userid"
  39978. ],
  39979. "properties": {
  39980. "activatemonth": {
  39981. "description": "履约激活月 [无仓单的交易收月](yyyy-MM)",
  39982. "type": "string"
  39983. },
  39984. "amount": {
  39985. "description": "履约金额(总金额)",
  39986. "type": "number"
  39987. },
  39988. "begindate": {
  39989. "description": "开始交易日(yyyymmdd)",
  39990. "type": "string"
  39991. },
  39992. "buyaccountid": {
  39993. "description": "买方账号",
  39994. "type": "integer"
  39995. },
  39996. "buyerfreezeamount": {
  39997. "description": "履约冻结(买履约)",
  39998. "type": "number"
  39999. },
  40000. "buyerfreezeamountremain": {
  40001. "description": "履约冻结剩余(买履约)",
  40002. "type": "number"
  40003. },
  40004. "buyorsell": {
  40005. "description": "买卖方向 0-买 1-卖",
  40006. "type": "integer"
  40007. },
  40008. "buypaidamount": {
  40009. "description": "买方已冻/已扣金额 (已付金额)",
  40010. "type": "number"
  40011. },
  40012. "buyusername": {
  40013. "description": "买方名字",
  40014. "type": "string"
  40015. },
  40016. "contractid": {
  40017. "description": "合同ID",
  40018. "type": "integer"
  40019. },
  40020. "createtime": {
  40021. "description": "创建时间",
  40022. "type": "string"
  40023. },
  40024. "creatorid": {
  40025. "description": "创建人",
  40026. "type": "integer"
  40027. },
  40028. "curstepdeadline": {
  40029. "description": "当前步骤到期时间",
  40030. "type": "string"
  40031. },
  40032. "curstepid": {
  40033. "description": "当前步骤ID",
  40034. "type": "string"
  40035. },
  40036. "curstepname": {
  40037. "description": "当前步骤名称",
  40038. "type": "string"
  40039. },
  40040. "deliverygoodscode": {
  40041. "description": "品种代码",
  40042. "type": "string"
  40043. },
  40044. "deliverygoodsid": {
  40045. "description": "品种ID",
  40046. "type": "integer"
  40047. },
  40048. "deliverygoodsname": {
  40049. "description": "品种名称",
  40050. "type": "string"
  40051. },
  40052. "enddate": {
  40053. "description": "结束交易日(yyyymmdd)",
  40054. "type": "string"
  40055. },
  40056. "enumdicname": {
  40057. "description": "单位名称",
  40058. "type": "string"
  40059. },
  40060. "expressfee": {
  40061. "description": "运费",
  40062. "type": "number"
  40063. },
  40064. "expressfeeconfirmed": {
  40065. "description": "是否确认运费 - 0:无 1:买方确认 2:卖方确认",
  40066. "type": "integer"
  40067. },
  40068. "hasovershort": {
  40069. "description": "是否确认溢短 - 0:没有 1:买方确认 2:卖方确认",
  40070. "type": "integer"
  40071. },
  40072. "haswr": {
  40073. "description": "类型 0-仓单预售 1-仓单贸易",
  40074. "type": "integer"
  40075. },
  40076. "marketid": {
  40077. "description": "市场ID",
  40078. "type": "integer"
  40079. },
  40080. "middleaccountid": {
  40081. "description": "中间商资金账号ID",
  40082. "type": "integer"
  40083. },
  40084. "middleuserid": {
  40085. "description": "中间商用户ID",
  40086. "type": "integer"
  40087. },
  40088. "minivalue": {
  40089. "description": "现货商品最小变动值",
  40090. "type": "integer"
  40091. },
  40092. "optioncompare": {
  40093. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  40094. "type": "string"
  40095. },
  40096. "overshortamount": {
  40097. "description": "溢短金额",
  40098. "type": "number"
  40099. },
  40100. "overshortqty": {
  40101. "description": "溢短数量",
  40102. "type": "number"
  40103. },
  40104. "paymenttype": {
  40105. "description": "付款方式 - 1:冻结 2:扣款",
  40106. "type": "integer"
  40107. },
  40108. "performanceplanid": {
  40109. "description": "履约计划ID(130+yyMMddHHmmss+xxxx)",
  40110. "type": "string"
  40111. },
  40112. "performancestatus": {
  40113. "description": "履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭",
  40114. "type": "integer"
  40115. },
  40116. "performancetype": {
  40117. "description": "履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统",
  40118. "type": "integer"
  40119. },
  40120. "qty": {
  40121. "description": "履约数量",
  40122. "type": "number"
  40123. },
  40124. "relatedorderid": {
  40125. "description": "关联单号(履约类型的关联单号)",
  40126. "type": "string"
  40127. },
  40128. "remark": {
  40129. "description": "备注",
  40130. "type": "string"
  40131. },
  40132. "sellaccountid": {
  40133. "description": "卖方账号",
  40134. "type": "integer"
  40135. },
  40136. "sellerfreezeamount": {
  40137. "description": "履约冻结(卖履约)",
  40138. "type": "number"
  40139. },
  40140. "sellerfreezeamountremain": {
  40141. "description": "履约冻结剩余(卖履约)",
  40142. "type": "number"
  40143. },
  40144. "sellreceivedamount": {
  40145. "description": "卖方已收金额",
  40146. "type": "number"
  40147. },
  40148. "sellusername": {
  40149. "description": "卖方名字",
  40150. "type": "string"
  40151. },
  40152. "shipremark": {
  40153. "description": "发货备注[物流单号]",
  40154. "type": "string"
  40155. },
  40156. "starttime": {
  40157. "description": "开始时间",
  40158. "type": "string"
  40159. },
  40160. "steptypeid": {
  40161. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  40162. "type": "integer"
  40163. },
  40164. "typename": {
  40165. "description": "履约类型 名称",
  40166. "type": "string"
  40167. },
  40168. "unpaidamount": {
  40169. "description": "剩余款(待支付金额)",
  40170. "type": "number"
  40171. },
  40172. "userid": {
  40173. "description": "用户id",
  40174. "type": "integer"
  40175. },
  40176. "warehouseid": {
  40177. "description": "仓库ID",
  40178. "type": "integer"
  40179. },
  40180. "warehousename": {
  40181. "description": "仓库名称",
  40182. "type": "string"
  40183. },
  40184. "wrfactortypeid": {
  40185. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  40186. "type": "string"
  40187. },
  40188. "wrfactortypename": {
  40189. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  40190. "type": "string"
  40191. },
  40192. "wrstandardcode": {
  40193. "description": "现货商品代码",
  40194. "type": "string"
  40195. },
  40196. "wrstandardid": {
  40197. "description": "现货商品ID",
  40198. "type": "integer"
  40199. },
  40200. "wrstandardname": {
  40201. "description": "商品名称",
  40202. "type": "string"
  40203. },
  40204. "wrtransferuserid": {
  40205. "description": "仓单受让用户",
  40206. "type": "integer"
  40207. },
  40208. "wrtypename": {
  40209. "description": "商品",
  40210. "type": "string"
  40211. }
  40212. }
  40213. },
  40214. "models.WrPerformancePlanStep": {
  40215. "type": "object",
  40216. "properties": {
  40217. "delaydays": {
  40218. "description": "延期申请天数",
  40219. "type": "integer"
  40220. },
  40221. "deliverygoodscode": {
  40222. "description": "品种代码",
  40223. "type": "string"
  40224. },
  40225. "deliverygoodsid": {
  40226. "description": "品种ID",
  40227. "type": "integer"
  40228. },
  40229. "deliverygoodsname": {
  40230. "description": "品种名称",
  40231. "type": "string"
  40232. },
  40233. "endtime": {
  40234. "description": "结束日期",
  40235. "type": "string"
  40236. },
  40237. "enumdicname": {
  40238. "description": "单位名称",
  40239. "type": "string"
  40240. },
  40241. "executeside": {
  40242. "description": "步骤执行方 - 1:买方 2:卖方",
  40243. "type": "integer"
  40244. },
  40245. "handlestatus": {
  40246. "description": "处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败",
  40247. "type": "integer"
  40248. },
  40249. "isauto": {
  40250. "description": "是否自动 - 0:不自动 1:自动",
  40251. "type": "integer"
  40252. },
  40253. "islastreceivestep": {
  40254. "description": "是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)",
  40255. "type": "integer"
  40256. },
  40257. "minivalue": {
  40258. "description": "现货商品最小变动值",
  40259. "type": "integer"
  40260. },
  40261. "optioncompare": {
  40262. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  40263. "type": "string"
  40264. },
  40265. "overdays": {
  40266. "description": "超期天数 = 当前时间(数据库时间) - 结束日期",
  40267. "type": "integer"
  40268. },
  40269. "performancestepid": {
  40270. "description": "履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)",
  40271. "type": "string"
  40272. },
  40273. "planid": {
  40274. "description": "所属履约计划ID",
  40275. "type": "string"
  40276. },
  40277. "realamount": {
  40278. "description": "实际完成金额",
  40279. "type": "number"
  40280. },
  40281. "relatedorderid": {
  40282. "description": "关联单号",
  40283. "type": "string"
  40284. },
  40285. "remaindays": {
  40286. "description": "剩余天数",
  40287. "type": "integer"
  40288. },
  40289. "remark": {
  40290. "description": "错误备注",
  40291. "type": "string"
  40292. },
  40293. "starttime": {
  40294. "description": "开始日期",
  40295. "type": "string"
  40296. },
  40297. "stepamount": {
  40298. "description": "步骤金额",
  40299. "type": "number"
  40300. },
  40301. "stepdays": {
  40302. "description": "距离上一步天数(分钟)",
  40303. "type": "integer"
  40304. },
  40305. "stepindex": {
  40306. "description": "步骤序号",
  40307. "type": "integer"
  40308. },
  40309. "steplanchtype": {
  40310. "description": "步骤启动类型 - 1:系统自动 2:手动",
  40311. "type": "integer"
  40312. },
  40313. "stepremark": {
  40314. "description": "步骤备注",
  40315. "type": "string"
  40316. },
  40317. "stepstatus": {
  40318. "description": "步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭",
  40319. "type": "integer"
  40320. },
  40321. "steptypeid": {
  40322. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  40323. "type": "integer"
  40324. },
  40325. "steptypename": {
  40326. "description": "步骤名称",
  40327. "type": "string"
  40328. },
  40329. "stepvalue": {
  40330. "description": "步骤值",
  40331. "type": "number"
  40332. },
  40333. "warehouseid": {
  40334. "description": "仓库ID",
  40335. "type": "integer"
  40336. },
  40337. "warehousename": {
  40338. "description": "仓库名称",
  40339. "type": "string"
  40340. },
  40341. "wrfactortypeid": {
  40342. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  40343. "type": "string"
  40344. },
  40345. "wrfactortypename": {
  40346. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  40347. "type": "string"
  40348. },
  40349. "wrstandardcode": {
  40350. "description": "现货商品代码",
  40351. "type": "string"
  40352. },
  40353. "wrstandardid": {
  40354. "description": "现货商品ID",
  40355. "type": "integer"
  40356. },
  40357. "wrstandardname": {
  40358. "description": "商品名称",
  40359. "type": "string"
  40360. },
  40361. "wrtypename": {
  40362. "description": "商品",
  40363. "type": "string"
  40364. }
  40365. }
  40366. },
  40367. "models.WrPerformanceStepType": {
  40368. "type": "object",
  40369. "properties": {
  40370. "canauto": {
  40371. "description": "能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)",
  40372. "type": "integer"
  40373. },
  40374. "steptypeid": {
  40375. "description": "步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移",
  40376. "type": "integer"
  40377. },
  40378. "steptypename": {
  40379. "description": "步骤类型名称",
  40380. "type": "string"
  40381. }
  40382. }
  40383. },
  40384. "models.WrPerformanceTemplateEx": {
  40385. "type": "object",
  40386. "properties": {
  40387. "autoid": {
  40388. "description": "AutoID 模板id",
  40389. "type": "integer"
  40390. },
  40391. "createtime": {
  40392. "description": "创建时间",
  40393. "type": "string"
  40394. },
  40395. "creatorid": {
  40396. "description": "创建人",
  40397. "type": "integer"
  40398. },
  40399. "lstStep": {
  40400. "description": "步骤信息列表",
  40401. "type": "array",
  40402. "items": {
  40403. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  40404. }
  40405. },
  40406. "paymenttype": {
  40407. "description": "支付方式 - 1:冻结 2:扣款",
  40408. "type": "integer"
  40409. },
  40410. "takemode": {
  40411. "description": "提货方式 - 1:无 2:买方自提 3:卖方发货",
  40412. "type": "integer"
  40413. },
  40414. "templatename": {
  40415. "description": "模板名称",
  40416. "type": "string"
  40417. },
  40418. "templatetype": {
  40419. "description": "模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式",
  40420. "type": "integer"
  40421. },
  40422. "userid": {
  40423. "description": "所属用户",
  40424. "type": "integer"
  40425. }
  40426. }
  40427. },
  40428. "models.WrPosition": {
  40429. "type": "object",
  40430. "properties": {
  40431. "accountid": {
  40432. "description": "帐户ID",
  40433. "type": "integer"
  40434. },
  40435. "buyexcuteqty": {
  40436. "description": "采购履约中数量",
  40437. "type": "number"
  40438. },
  40439. "creditcurqty": {
  40440. "description": "授信当前数量(预售仓单:预售当前量)",
  40441. "type": "number"
  40442. },
  40443. "creditenableqty": {
  40444. "description": "授信可用数量(预售仓单: 可用数量)",
  40445. "type": "number"
  40446. },
  40447. "creditfreezeqty": {
  40448. "description": "授信冻结数量(预售仓单: 当前数量)",
  40449. "type": "number"
  40450. },
  40451. "credittotalqty": {
  40452. "description": "授信总数量(预售仓单:预售总量)",
  40453. "type": "number"
  40454. },
  40455. "credittradeqty": {
  40456. "description": "授信成交数量(预售仓单:成交总量)",
  40457. "type": "number"
  40458. },
  40459. "deliverygoodscode": {
  40460. "description": "品种代码",
  40461. "type": "string"
  40462. },
  40463. "deliverygoodsid": {
  40464. "description": "品种ID",
  40465. "type": "integer"
  40466. },
  40467. "deliverygoodsname": {
  40468. "description": "品种名称",
  40469. "type": "string"
  40470. },
  40471. "enalbeqty": {
  40472. "description": "可用数量",
  40473. "type": "number"
  40474. },
  40475. "enumdicname": {
  40476. "description": "单位名称",
  40477. "type": "string"
  40478. },
  40479. "freezeqty": {
  40480. "description": "总冻结数量",
  40481. "type": "number"
  40482. },
  40483. "haswr": {
  40484. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  40485. "type": "integer"
  40486. },
  40487. "minivalue": {
  40488. "description": "现货商品最小变动值",
  40489. "type": "integer"
  40490. },
  40491. "modifytime": {
  40492. "description": "修改时间(过户时间)",
  40493. "type": "string"
  40494. },
  40495. "optioncompare": {
  40496. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  40497. "type": "string"
  40498. },
  40499. "pledgeqty": {
  40500. "description": "质押数量",
  40501. "type": "number"
  40502. },
  40503. "querytype": {
  40504. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总)",
  40505. "type": "integer"
  40506. },
  40507. "sellexcuteqty": {
  40508. "description": "销售履约中数量",
  40509. "type": "number"
  40510. },
  40511. "totalqty": {
  40512. "description": "总数量(库存数量)",
  40513. "type": "number"
  40514. },
  40515. "warehouseid": {
  40516. "description": "仓库ID",
  40517. "type": "integer"
  40518. },
  40519. "warehousename": {
  40520. "description": "仓库名称",
  40521. "type": "string"
  40522. },
  40523. "wrfactortypeid": {
  40524. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  40525. "type": "string"
  40526. },
  40527. "wrfactortypename": {
  40528. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  40529. "type": "string"
  40530. },
  40531. "wrpositionid": {
  40532. "description": "仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)",
  40533. "type": "string"
  40534. },
  40535. "wrpositionno": {
  40536. "description": "仓单编号",
  40537. "type": "string"
  40538. },
  40539. "wrstandardcode": {
  40540. "description": "现货商品代码",
  40541. "type": "string"
  40542. },
  40543. "wrstandardid": {
  40544. "description": "现货商品ID",
  40545. "type": "integer"
  40546. },
  40547. "wrstandardname": {
  40548. "description": "商品名称",
  40549. "type": "string"
  40550. },
  40551. "wrtypename": {
  40552. "description": "商品",
  40553. "type": "string"
  40554. },
  40555. "wruserid": {
  40556. "description": "持有人ID",
  40557. "type": "integer"
  40558. }
  40559. }
  40560. },
  40561. "models.WrPreSaleInfo": {
  40562. "type": "object",
  40563. "properties": {
  40564. "bannerpicurl": {
  40565. "description": "Banner图",
  40566. "type": "string"
  40567. },
  40568. "baseqty": {
  40569. "description": "中签基数",
  40570. "type": "number"
  40571. },
  40572. "createtime": {
  40573. "description": "创建时间",
  40574. "type": "string"
  40575. },
  40576. "deliverygoodsid": {
  40577. "description": "现货品种ID",
  40578. "type": "integer"
  40579. },
  40580. "enddate": {
  40581. "description": "预售结束日期",
  40582. "type": "string"
  40583. },
  40584. "enumdicname": {
  40585. "description": "单位名称",
  40586. "type": "string"
  40587. },
  40588. "lotteryflag": {
  40589. "description": "摇号标识 - 0:未摇号 1:已摇号",
  40590. "type": "integer"
  40591. },
  40592. "lotteryqty": {
  40593. "description": "摇号总量",
  40594. "type": "number"
  40595. },
  40596. "luckyqty": {
  40597. "description": "已中签量",
  40598. "type": "number"
  40599. },
  40600. "marketid": {
  40601. "description": "市场ID",
  40602. "type": "integer"
  40603. },
  40604. "maxbuyqty": {
  40605. "description": "单人最大申购量",
  40606. "type": "number"
  40607. },
  40608. "maxluckyqty": {
  40609. "description": "单人最大中签量",
  40610. "type": "number"
  40611. },
  40612. "pictureurls": {
  40613. "description": "详情图片(逗号分隔)",
  40614. "type": "string"
  40615. },
  40616. "placeqty": {
  40617. "description": "已配售量",
  40618. "type": "number"
  40619. },
  40620. "presaleapplyid": {
  40621. "description": "预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)",
  40622. "type": "string",
  40623. "example": "0"
  40624. },
  40625. "presaleqty": {
  40626. "description": "预售总量",
  40627. "type": "number"
  40628. },
  40629. "presalestatus": {
  40630. "description": "预售状态 - 1:未开始 2:进行中 3:已结束 4:已关闭",
  40631. "type": "integer"
  40632. },
  40633. "sellaccountid": {
  40634. "description": "发行方资金账户ID",
  40635. "type": "integer"
  40636. },
  40637. "selluserid": {
  40638. "description": "发行方用户ID",
  40639. "type": "integer"
  40640. },
  40641. "sellwrtradeorderid": {
  40642. "description": "发行方卖委托单ID",
  40643. "type": "string"
  40644. },
  40645. "startdate": {
  40646. "description": "预售开始日期",
  40647. "type": "string"
  40648. },
  40649. "takestartdate": {
  40650. "description": "提货开始日期",
  40651. "type": "string"
  40652. },
  40653. "thumurls": {
  40654. "description": "缩略图片(1:1)(逗号分隔)",
  40655. "type": "string"
  40656. },
  40657. "tradedate": {
  40658. "description": "交易日",
  40659. "type": "string"
  40660. },
  40661. "unitid": {
  40662. "description": "单位ID",
  40663. "type": "integer"
  40664. },
  40665. "unitprice": {
  40666. "description": "商品单价",
  40667. "type": "number"
  40668. },
  40669. "username": {
  40670. "description": "发行方用户名称",
  40671. "type": "string"
  40672. },
  40673. "warehousecode": {
  40674. "description": "仓库代码(仓库简称)",
  40675. "type": "string"
  40676. },
  40677. "warehouseid": {
  40678. "description": "仓库ID",
  40679. "type": "integer"
  40680. },
  40681. "warehousename": {
  40682. "description": "仓库名称",
  40683. "type": "string"
  40684. },
  40685. "wrfactortypeid": {
  40686. "description": "仓单要素类型ID - 根据现货商品\\仓库生成",
  40687. "type": "string",
  40688. "example": "0"
  40689. },
  40690. "wrstandardid": {
  40691. "description": "现货商品ID",
  40692. "type": "integer"
  40693. },
  40694. "wrstandardname": {
  40695. "description": "现货商品名称",
  40696. "type": "string"
  40697. }
  40698. }
  40699. },
  40700. "models.WrQuoteOrderMyq": {
  40701. "type": "object",
  40702. "properties": {
  40703. "buyorsell": {
  40704. "description": "买卖 - 0:买 1:卖",
  40705. "type": "integer"
  40706. },
  40707. "canbargain": {
  40708. "description": "是否可议价 - 0:不可 1:可",
  40709. "type": "integer"
  40710. },
  40711. "canpart": {
  40712. "description": "是否允许部份摘牌 - 0:不允许 1:允许",
  40713. "type": "integer"
  40714. },
  40715. "delistminqty": {
  40716. "description": "起摘数量",
  40717. "type": "number"
  40718. },
  40719. "deliverygoodscode": {
  40720. "description": "品种代码",
  40721. "type": "string"
  40722. },
  40723. "deliverygoodsid": {
  40724. "description": "品种ID",
  40725. "type": "integer"
  40726. },
  40727. "deliverygoodsname": {
  40728. "description": "品种名称",
  40729. "type": "string"
  40730. },
  40731. "deliverymonth": {
  40732. "description": "交收月",
  40733. "type": "string"
  40734. },
  40735. "enumdicname": {
  40736. "description": "单位名称",
  40737. "type": "string"
  40738. },
  40739. "fixedprice": {
  40740. "description": "买(卖)价",
  40741. "type": "number"
  40742. },
  40743. "goodscode": {
  40744. "description": "商品合约代码",
  40745. "type": "string"
  40746. },
  40747. "marginflag": {
  40748. "description": "挂牌是否指定保证金 - 0:未指定 1:指定",
  40749. "type": "integer"
  40750. },
  40751. "marginvalue": {
  40752. "description": "保证金设置值",
  40753. "type": "number"
  40754. },
  40755. "minivalue": {
  40756. "description": "现货商品最小变动值",
  40757. "type": "integer"
  40758. },
  40759. "orderqty": {
  40760. "description": "买(卖)量(=委托量-成交量)",
  40761. "type": "number"
  40762. },
  40763. "ordertime": {
  40764. "description": "委托时间",
  40765. "type": "string"
  40766. },
  40767. "performancetemplateid": {
  40768. "description": "履约模板id",
  40769. "type": "integer"
  40770. },
  40771. "pricemove": {
  40772. "description": "买(卖)升贴水- 基差",
  40773. "type": "number"
  40774. },
  40775. "templatename": {
  40776. "description": "履约模板名称",
  40777. "type": "string"
  40778. },
  40779. "userid": {
  40780. "description": "购买方(销售方)用户ID",
  40781. "type": "integer"
  40782. },
  40783. "username": {
  40784. "description": "购买方(销售方)",
  40785. "type": "string"
  40786. },
  40787. "validtime": {
  40788. "description": "有效期限",
  40789. "type": "string"
  40790. },
  40791. "validtype": {
  40792. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  40793. "type": "integer"
  40794. },
  40795. "warehousename": {
  40796. "description": "仓库名称",
  40797. "type": "string"
  40798. },
  40799. "wrfactortypeid": {
  40800. "description": "仓单要素id",
  40801. "type": "string"
  40802. },
  40803. "wrstandardcode": {
  40804. "description": "现货商品代码",
  40805. "type": "string"
  40806. },
  40807. "wrstandardid": {
  40808. "description": "现货商品ID",
  40809. "type": "integer"
  40810. },
  40811. "wrstandardname": {
  40812. "description": "商品名称",
  40813. "type": "string"
  40814. },
  40815. "wrtradeorderid": {
  40816. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  40817. "type": "string"
  40818. },
  40819. "wrtypename": {
  40820. "description": "商品",
  40821. "type": "string"
  40822. }
  40823. }
  40824. },
  40825. "models.WrReckonSpotGoodsTradeSum": {
  40826. "type": "object",
  40827. "properties": {
  40828. "begindate": {
  40829. "description": "开始日期(结果含开始日期) yyyymmdd",
  40830. "type": "string"
  40831. },
  40832. "enddate": {
  40833. "description": "结束日期(结果含结束日期) yyyymmdd",
  40834. "type": "string"
  40835. },
  40836. "istoday": {
  40837. "description": "是否当日",
  40838. "type": "boolean"
  40839. },
  40840. "marketid": {
  40841. "description": "市场ID",
  40842. "type": "integer"
  40843. },
  40844. "price": {
  40845. "description": "价格 = 日成交金额 / 日成交数量",
  40846. "type": "string"
  40847. },
  40848. "reckondate": {
  40849. "description": "日期 格式 yyyymmdd",
  40850. "type": "string"
  40851. },
  40852. "tradeamount": {
  40853. "description": "日成交金额(当日单方向成交金额)",
  40854. "type": "number"
  40855. },
  40856. "tradeqty": {
  40857. "description": "日成交数量(当日单方向成交数量)",
  40858. "type": "number"
  40859. },
  40860. "wrstandardid": {
  40861. "description": "现货商品ID",
  40862. "type": "integer"
  40863. }
  40864. }
  40865. },
  40866. "models.WrScfContract": {
  40867. "type": "object",
  40868. "properties": {
  40869. "borroweruserid": {
  40870. "description": "借款用户ID",
  40871. "type": "integer"
  40872. },
  40873. "buybackwrpositionqty": {
  40874. "description": "已回购仓单头寸数量 - [仓单回购\\仓单质押] -\u003e 已回购数量",
  40875. "type": "number"
  40876. },
  40877. "closeinterest": {
  40878. "description": "已结利息 -\u003e 已结费用",
  40879. "type": "number"
  40880. },
  40881. "currisklevel": {
  40882. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  40883. "type": "integer"
  40884. },
  40885. "deadline": {
  40886. "description": "截止日期(yyyyMMdd) -\u003e 借款到期时间",
  40887. "type": "string"
  40888. },
  40889. "deliverygoodscode": {
  40890. "description": "品种代码",
  40891. "type": "string"
  40892. },
  40893. "deliverygoodsid": {
  40894. "description": "品种ID",
  40895. "type": "integer"
  40896. },
  40897. "deliverygoodsname": {
  40898. "description": "品种名称",
  40899. "type": "string"
  40900. },
  40901. "enumdicname": {
  40902. "description": "单位名称",
  40903. "type": "string"
  40904. },
  40905. "financingdays": {
  40906. "description": "天数(天)",
  40907. "type": "integer"
  40908. },
  40909. "initmargin": {
  40910. "description": "保证金 - [仓单回购]",
  40911. "type": "number"
  40912. },
  40913. "interestamount": {
  40914. "description": "计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \\ 合同剩余金额",
  40915. "type": "number"
  40916. },
  40917. "interestdebt": {
  40918. "description": "利息欠款(记录负数) -\u003e 费用欠款",
  40919. "type": "number"
  40920. },
  40921. "interestminlen": {
  40922. "description": "最小起息天数",
  40923. "type": "integer"
  40924. },
  40925. "interestrate": {
  40926. "description": "利率",
  40927. "type": "number"
  40928. },
  40929. "interestratemode": {
  40930. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  40931. "type": "integer"
  40932. },
  40933. "interestsettlemode": {
  40934. "description": "结息方式 - 1:按日结息 3:按月结息",
  40935. "type": "integer"
  40936. },
  40937. "interestsettlevalue": {
  40938. "description": "结息方式值",
  40939. "type": "integer"
  40940. },
  40941. "isautoloan": {
  40942. "description": "是否自动放款 - 0:手动 1:自动 - [仓单质押]",
  40943. "type": "integer"
  40944. },
  40945. "lastcloseinterestday": {
  40946. "description": "最近结息日(yyyyMMdd)",
  40947. "type": "string"
  40948. },
  40949. "lenderamount": {
  40950. "description": "贷款金额 -\u003e 借款金额",
  40951. "type": "number"
  40952. },
  40953. "lenderuserid": {
  40954. "description": "贷款方用户ID -\u003e 融出方用户ID",
  40955. "type": "integer"
  40956. },
  40957. "lenderusername": {
  40958. "description": "融出方",
  40959. "type": "string"
  40960. },
  40961. "marginratio": {
  40962. "description": "保证金比率质押率 - [仓单质押]",
  40963. "type": "number"
  40964. },
  40965. "marketid": {
  40966. "description": "市场ID - 拆成三个独立模式后,根据市场ID处理",
  40967. "type": "integer"
  40968. },
  40969. "minivalue": {
  40970. "description": "现货商品最小变动值",
  40971. "type": "integer"
  40972. },
  40973. "optioncompare": {
  40974. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  40975. "type": "string"
  40976. },
  40977. "pricemove": {
  40978. "description": "估值升贴水值",
  40979. "type": "number"
  40980. },
  40981. "productdetailid": {
  40982. "description": "产品组合ID",
  40983. "type": "integer"
  40984. },
  40985. "productid": {
  40986. "description": "金融产品ID",
  40987. "type": "integer"
  40988. },
  40989. "productname": {
  40990. "description": "产品名称",
  40991. "type": "string"
  40992. },
  40993. "remainamount": {
  40994. "description": "合同剩余金额 -\u003e 剩余金额",
  40995. "type": "number"
  40996. },
  40997. "remainwrpositionqty": {
  40998. "description": "剩余仓单头寸数量 - [仓单回购\\仓单质押] -\u003e 剩余数量(待回购数量)",
  40999. "type": "number"
  41000. },
  41001. "remark": {
  41002. "description": "备注",
  41003. "type": "string"
  41004. },
  41005. "scfcontractid": {
  41006. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  41007. "type": "string"
  41008. },
  41009. "scfcontractstatus": {
  41010. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  41011. "type": "integer"
  41012. },
  41013. "scfcontracttype": {
  41014. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购",
  41015. "type": "integer"
  41016. },
  41017. "startinterestday": {
  41018. "description": "计息开始日(yyyyMMdd) -\u003e 开始计费日期",
  41019. "type": "string"
  41020. },
  41021. "totalinterest": {
  41022. "description": "已计利息 -\u003e 已计费用",
  41023. "type": "number"
  41024. },
  41025. "unpaidinterest": {
  41026. "description": "未结费用",
  41027. "type": "number"
  41028. },
  41029. "updatetime": {
  41030. "description": "更新时间",
  41031. "type": "string"
  41032. },
  41033. "warehouseid": {
  41034. "description": "仓库ID",
  41035. "type": "integer"
  41036. },
  41037. "warehousename": {
  41038. "description": "仓库名称",
  41039. "type": "string"
  41040. },
  41041. "wrfactortypeid": {
  41042. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  41043. "type": "string"
  41044. },
  41045. "wrfactortypename": {
  41046. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  41047. "type": "string"
  41048. },
  41049. "wrqty": {
  41050. "description": "仓单数量 - [仓单回购\\仓单质押] -\u003e 数量",
  41051. "type": "number"
  41052. },
  41053. "wrstandardcode": {
  41054. "description": "现货商品代码",
  41055. "type": "string"
  41056. },
  41057. "wrstandardid": {
  41058. "description": "现货商品ID",
  41059. "type": "integer"
  41060. },
  41061. "wrstandardname": {
  41062. "description": "商品名称",
  41063. "type": "string"
  41064. },
  41065. "wrtypename": {
  41066. "description": "商品",
  41067. "type": "string"
  41068. }
  41069. }
  41070. },
  41071. "models.WrScfContractInterest": {
  41072. "type": "object",
  41073. "properties": {
  41074. "closeinterest": {
  41075. "description": "已结利息",
  41076. "type": "number"
  41077. },
  41078. "closeintereststatus": {
  41079. "description": "结息状态 - 1:未结 2:已结",
  41080. "type": "integer"
  41081. },
  41082. "closetime": {
  41083. "description": "结息时间",
  41084. "type": "string"
  41085. },
  41086. "closetradedate": {
  41087. "description": "结息交易日",
  41088. "type": "string"
  41089. },
  41090. "creatorid": {
  41091. "description": "操作人ID",
  41092. "type": "integer"
  41093. },
  41094. "dayrate": {
  41095. "description": "日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)",
  41096. "type": "number"
  41097. },
  41098. "interest": {
  41099. "description": "利息",
  41100. "type": "number"
  41101. },
  41102. "interestamount": {
  41103. "description": "计息金额",
  41104. "type": "number"
  41105. },
  41106. "interestday": {
  41107. "description": "计息日(yyyyMMdd)",
  41108. "type": "string"
  41109. },
  41110. "scfcontractid": {
  41111. "description": "SCF合同ID",
  41112. "type": "string"
  41113. },
  41114. "scfcontractinterestid": {
  41115. "description": "SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)",
  41116. "type": "integer"
  41117. },
  41118. "updatetime": {
  41119. "description": "更新时间",
  41120. "type": "string"
  41121. }
  41122. }
  41123. },
  41124. "models.WrSearchUser": {
  41125. "type": "object",
  41126. "required": [
  41127. "username"
  41128. ],
  41129. "properties": {
  41130. "userid": {
  41131. "description": "用户ID",
  41132. "type": "integer"
  41133. },
  41134. "username": {
  41135. "description": "用户名称(已脱敏)",
  41136. "type": "string"
  41137. },
  41138. "username2": {
  41139. "description": "用户名称(未脱敏)",
  41140. "type": "string"
  41141. },
  41142. "usertype": {
  41143. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  41144. "type": "integer"
  41145. }
  41146. }
  41147. },
  41148. "models.WrSiteColumnDetail": {
  41149. "type": "object",
  41150. "properties": {
  41151. "brief": {
  41152. "description": "简介",
  41153. "type": "string"
  41154. },
  41155. "context": {
  41156. "description": "内容",
  41157. "type": "string"
  41158. },
  41159. "coverimage": {
  41160. "description": "封面图片",
  41161. "type": "string"
  41162. },
  41163. "creaedate": {
  41164. "description": "创建时间",
  41165. "type": "string"
  41166. },
  41167. "id": {
  41168. "description": "ID(SEQ_SITE_COLUMNDETAIL)",
  41169. "type": "integer"
  41170. },
  41171. "istop": {
  41172. "description": "是否置顶 - 0:不置 1:置顶",
  41173. "type": "integer"
  41174. },
  41175. "publishdate": {
  41176. "description": "发布日期",
  41177. "type": "string"
  41178. },
  41179. "title": {
  41180. "description": "标题",
  41181. "type": "string"
  41182. },
  41183. "updatedate": {
  41184. "description": "修改时间",
  41185. "type": "string"
  41186. }
  41187. }
  41188. },
  41189. "models.WrSpecialMatchOrder": {
  41190. "type": "object",
  41191. "properties": {
  41192. "amount": {
  41193. "description": "金额 = 数量 * 价格",
  41194. "type": "number"
  41195. },
  41196. "buyorsell": {
  41197. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  41198. "type": "integer"
  41199. },
  41200. "cancelqty": {
  41201. "description": "撤销数量",
  41202. "type": "number"
  41203. },
  41204. "deliverygoodscode": {
  41205. "description": "品种代码",
  41206. "type": "string"
  41207. },
  41208. "deliverygoodsid": {
  41209. "description": "品种ID",
  41210. "type": "integer"
  41211. },
  41212. "deliverygoodsname": {
  41213. "description": "品种名称",
  41214. "type": "string"
  41215. },
  41216. "enumdicname": {
  41217. "description": "单位名称",
  41218. "type": "string"
  41219. },
  41220. "fixedprice": {
  41221. "description": "固定价格(价格)",
  41222. "type": "number"
  41223. },
  41224. "haswr": {
  41225. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  41226. "type": "integer"
  41227. },
  41228. "isspecified": {
  41229. "description": "是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]",
  41230. "type": "integer"
  41231. },
  41232. "marketid": {
  41233. "description": "市场ID",
  41234. "type": "integer"
  41235. },
  41236. "matchuserid": {
  41237. "description": "指定方资金账号(字段名为userid,实际存的是accountid by:邓工)",
  41238. "type": "integer"
  41239. },
  41240. "matchusername": {
  41241. "description": "指定方",
  41242. "type": "string"
  41243. },
  41244. "minivalue": {
  41245. "description": "现货商品最小变动值",
  41246. "type": "integer"
  41247. },
  41248. "optioncompare": {
  41249. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  41250. "type": "string"
  41251. },
  41252. "orderqty": {
  41253. "description": "委托数量",
  41254. "type": "number"
  41255. },
  41256. "ordertime": {
  41257. "description": "委托时间",
  41258. "type": "string"
  41259. },
  41260. "pricemove": {
  41261. "description": "升贴水(浮动价时填写) - [挂牌]",
  41262. "type": "number"
  41263. },
  41264. "tradedate": {
  41265. "description": "交易日(yyyyMMdd)",
  41266. "type": "string"
  41267. },
  41268. "tradeprice": {
  41269. "description": "成交价格",
  41270. "type": "number"
  41271. },
  41272. "tradeqty": {
  41273. "description": "成交数量",
  41274. "type": "number"
  41275. },
  41276. "userid": {
  41277. "description": "用户ID",
  41278. "type": "integer"
  41279. },
  41280. "username": {
  41281. "description": "发起方",
  41282. "type": "string"
  41283. },
  41284. "warehouseid": {
  41285. "description": "仓库ID",
  41286. "type": "integer"
  41287. },
  41288. "warehousename": {
  41289. "description": "仓库名称",
  41290. "type": "string"
  41291. },
  41292. "wrfactortypeid": {
  41293. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  41294. "type": "string"
  41295. },
  41296. "wrfactortypename": {
  41297. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  41298. "type": "string"
  41299. },
  41300. "wrpricetype": {
  41301. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  41302. "type": "integer"
  41303. },
  41304. "wrstandardcode": {
  41305. "description": "现货商品代码",
  41306. "type": "string"
  41307. },
  41308. "wrstandardid": {
  41309. "description": "现货商品ID",
  41310. "type": "integer"
  41311. },
  41312. "wrstandardname": {
  41313. "description": "商品名称",
  41314. "type": "string"
  41315. },
  41316. "wrtradeorderid": {
  41317. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  41318. "type": "string"
  41319. },
  41320. "wrtradeorderstatus": {
  41321. "description": "委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤",
  41322. "type": "integer"
  41323. },
  41324. "wrtradetype": {
  41325. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  41326. "type": "integer"
  41327. },
  41328. "wrtypename": {
  41329. "description": "商品",
  41330. "type": "string"
  41331. }
  41332. }
  41333. },
  41334. "models.WrSpotGroupTradeSum": {
  41335. "type": "object",
  41336. "properties": {
  41337. "deliverygoodscode": {
  41338. "description": "现货品种代码",
  41339. "type": "string"
  41340. },
  41341. "deliverygoodsid": {
  41342. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  41343. "type": "integer"
  41344. },
  41345. "deliverygoodsname": {
  41346. "description": "现货品种名称",
  41347. "type": "string"
  41348. },
  41349. "lastavgprice": {
  41350. "description": "上上个交易日价格(前2天价格)",
  41351. "type": "string"
  41352. },
  41353. "lastreckondate": {
  41354. "description": "上上个交易日(前2天交易日)",
  41355. "type": "string"
  41356. },
  41357. "reckondate": {
  41358. "description": "上个交易日(前1天交易日)",
  41359. "type": "string"
  41360. },
  41361. "todayavgprice": {
  41362. "description": "上个交易日价格(前1天价格)",
  41363. "type": "string"
  41364. },
  41365. "updown": {
  41366. "description": "涨跌",
  41367. "type": "string"
  41368. },
  41369. "updownratio": {
  41370. "description": "涨幅(已格式化, 直接显示即可)",
  41371. "type": "string"
  41372. }
  41373. }
  41374. },
  41375. "models.WrSpotGroupTradeSumDetail": {
  41376. "type": "object",
  41377. "properties": {
  41378. "deliverygoodsid": {
  41379. "description": "现货商品id",
  41380. "type": "integer"
  41381. },
  41382. "price": {
  41383. "description": "价格",
  41384. "type": "number"
  41385. },
  41386. "reckondate": {
  41387. "description": "日期(yyymmdd, 如:20211031)",
  41388. "type": "string"
  41389. }
  41390. }
  41391. },
  41392. "models.WrSpotGroupTradeSumEx": {
  41393. "type": "object",
  41394. "properties": {
  41395. "lst": {
  41396. "description": "指数列表",
  41397. "type": "array",
  41398. "items": {
  41399. "$ref": "#/definitions/models.WrSpotGroupTradeSum"
  41400. }
  41401. },
  41402. "prereckondate": {
  41403. "description": "上上个交易日(yyymmdd)",
  41404. "type": "string"
  41405. },
  41406. "reckondate": {
  41407. "description": "上个交易日(yyyymmdd)",
  41408. "type": "string"
  41409. }
  41410. }
  41411. },
  41412. "models.WrStandardFactoryItem": {
  41413. "type": "object",
  41414. "properties": {
  41415. "dgfactoryitemid": {
  41416. "description": "选择项id",
  41417. "type": "integer"
  41418. },
  41419. "dgfactoryitemvalue": {
  41420. "description": "要素项值",
  41421. "type": "string"
  41422. },
  41423. "warehouseid": {
  41424. "description": "仓库id",
  41425. "type": "integer"
  41426. }
  41427. }
  41428. },
  41429. "models.WrStandardFactoryItemEx": {
  41430. "type": "object",
  41431. "properties": {
  41432. "dgfactoryitemtypeid": {
  41433. "description": "要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)",
  41434. "type": "integer"
  41435. },
  41436. "itemlst": {
  41437. "description": "要素项列表",
  41438. "type": "array",
  41439. "items": {
  41440. "$ref": "#/definitions/models.WrStandardFactoryItem"
  41441. }
  41442. },
  41443. "itemtypename": {
  41444. "description": "要素项类型名称",
  41445. "type": "string"
  41446. },
  41447. "wrstandardid": {
  41448. "description": "品类",
  41449. "type": "integer"
  41450. }
  41451. }
  41452. },
  41453. "models.WrTradeDetail": {
  41454. "type": "object",
  41455. "properties": {
  41456. "accountid": {
  41457. "description": "资金账号",
  41458. "type": "integer"
  41459. },
  41460. "bannerpicurl": {
  41461. "description": "Banner图",
  41462. "type": "string"
  41463. },
  41464. "begindate": {
  41465. "description": "开始交易日(yyyymmdd)",
  41466. "type": "string"
  41467. },
  41468. "buyorsell": {
  41469. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  41470. "type": "integer"
  41471. },
  41472. "chargevalue": {
  41473. "description": "手续费",
  41474. "type": "number"
  41475. },
  41476. "deliverygoodscode": {
  41477. "description": "品种代码",
  41478. "type": "string"
  41479. },
  41480. "deliverygoodsid": {
  41481. "description": "品种ID",
  41482. "type": "integer"
  41483. },
  41484. "deliverygoodsname": {
  41485. "description": "品种名称",
  41486. "type": "string"
  41487. },
  41488. "deliverymonth": {
  41489. "description": "交收月",
  41490. "type": "string"
  41491. },
  41492. "enddate": {
  41493. "description": "结束交易日(yyyymmdd)",
  41494. "type": "string"
  41495. },
  41496. "enumdicname": {
  41497. "description": "单位名称",
  41498. "type": "string"
  41499. },
  41500. "haswr": {
  41501. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  41502. "type": "integer"
  41503. },
  41504. "marketid": {
  41505. "description": "市场ID",
  41506. "type": "integer"
  41507. },
  41508. "matchaccountid": {
  41509. "description": "对手账号",
  41510. "type": "integer"
  41511. },
  41512. "matchusername": {
  41513. "description": "对手方",
  41514. "type": "string"
  41515. },
  41516. "minivalue": {
  41517. "description": "现货商品最小变动值",
  41518. "type": "integer"
  41519. },
  41520. "optioncompare": {
  41521. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  41522. "type": "string"
  41523. },
  41524. "thumurls": {
  41525. "description": "缩略图",
  41526. "type": "string"
  41527. },
  41528. "tradedate": {
  41529. "description": "交易日(yyyyMMdd)",
  41530. "type": "string"
  41531. },
  41532. "tradeprice": {
  41533. "description": "成交价格",
  41534. "type": "number"
  41535. },
  41536. "tradeqty": {
  41537. "description": "成交数量",
  41538. "type": "number"
  41539. },
  41540. "tradetime": {
  41541. "description": "成交时间",
  41542. "type": "string"
  41543. },
  41544. "userid": {
  41545. "description": "用户ID",
  41546. "type": "integer"
  41547. },
  41548. "warehouseid": {
  41549. "description": "仓库ID",
  41550. "type": "integer"
  41551. },
  41552. "warehousename": {
  41553. "description": "仓库名称",
  41554. "type": "string"
  41555. },
  41556. "wrfactortypeid": {
  41557. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  41558. "type": "string"
  41559. },
  41560. "wrfactortypename": {
  41561. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  41562. "type": "string"
  41563. },
  41564. "wrstandardcode": {
  41565. "description": "现货商品代码",
  41566. "type": "string"
  41567. },
  41568. "wrstandardid": {
  41569. "description": "现货商品ID",
  41570. "type": "integer"
  41571. },
  41572. "wrstandardname": {
  41573. "description": "商品名称",
  41574. "type": "string"
  41575. },
  41576. "wrtradedetailid": {
  41577. "description": "仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)",
  41578. "type": "string"
  41579. },
  41580. "wrtradetype": {
  41581. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  41582. "type": "integer"
  41583. },
  41584. "wrtypename": {
  41585. "description": "商品",
  41586. "type": "string"
  41587. }
  41588. }
  41589. },
  41590. "models.WrTradeOrderDetail": {
  41591. "type": "object",
  41592. "properties": {
  41593. "buyorsell": {
  41594. "description": "买卖方向 0-买 1-卖",
  41595. "type": "integer"
  41596. },
  41597. "goodsid": {
  41598. "description": "商品id",
  41599. "type": "integer"
  41600. },
  41601. "orderid": {
  41602. "description": "委托单号",
  41603. "type": "string"
  41604. },
  41605. "orderprice": {
  41606. "description": "委托价格",
  41607. "type": "number"
  41608. },
  41609. "orderqty": {
  41610. "description": "委托数量",
  41611. "type": "integer"
  41612. },
  41613. "userid": {
  41614. "description": "用户id",
  41615. "type": "integer"
  41616. },
  41617. "username": {
  41618. "description": "用户名称(已脱敏)",
  41619. "type": "string"
  41620. }
  41621. }
  41622. },
  41623. "models.WrTypeItem": {
  41624. "type": "object",
  41625. "properties": {
  41626. "name": {
  41627. "description": "名称",
  41628. "type": "string"
  41629. },
  41630. "value": {
  41631. "description": "值",
  41632. "type": "string"
  41633. }
  41634. }
  41635. },
  41636. "models.WrUserFriend": {
  41637. "type": "object",
  41638. "properties": {
  41639. "friendname": {
  41640. "description": "朋友名称(已脱敏)",
  41641. "type": "string"
  41642. },
  41643. "frienduserid": {
  41644. "description": "朋友id",
  41645. "type": "integer"
  41646. },
  41647. "isfriend": {
  41648. "description": "是否好友 0-不是 1-是",
  41649. "type": "integer"
  41650. },
  41651. "userid": {
  41652. "description": "用户id",
  41653. "type": "integer"
  41654. }
  41655. }
  41656. },
  41657. "models.WrUserReceiptInfo": {
  41658. "type": "object",
  41659. "properties": {
  41660. "address": {
  41661. "description": "地址[发票类型:企业]",
  41662. "type": "string"
  41663. },
  41664. "autoid": {
  41665. "description": "AutoID",
  41666. "type": "integer"
  41667. },
  41668. "contactinfo": {
  41669. "description": "联系方式",
  41670. "type": "string"
  41671. },
  41672. "idnum": {
  41673. "description": "身份证号码[发票类型:个人]",
  41674. "type": "string"
  41675. },
  41676. "isdefault": {
  41677. "description": "是否默认地址 - 0:否 1:是",
  41678. "type": "integer"
  41679. },
  41680. "receiptaccount": {
  41681. "description": "发票帐号[发票类型:企业]",
  41682. "type": "string"
  41683. },
  41684. "receiptbank": {
  41685. "description": "发票开户行[发票类型:企业]",
  41686. "type": "string"
  41687. },
  41688. "receipttype": {
  41689. "description": "发票类型 - 1:个人 2:企业",
  41690. "type": "integer"
  41691. },
  41692. "taxpayerid": {
  41693. "description": "纳税人识别号",
  41694. "type": "string"
  41695. },
  41696. "userid": {
  41697. "description": "用户ID",
  41698. "type": "integer"
  41699. },
  41700. "username": {
  41701. "description": "户名(个人姓名或企业名称)",
  41702. "type": "string"
  41703. }
  41704. }
  41705. },
  41706. "models.XHBRAND": {
  41707. "type": "object",
  41708. "properties": {
  41709. "brandid": {
  41710. "description": "品牌id",
  41711. "type": "integer"
  41712. },
  41713. "brandname": {
  41714. "description": "品牌名称",
  41715. "type": "string"
  41716. },
  41717. "isvalid": {
  41718. "description": "是否有效 0-无效 1-有效",
  41719. "type": "integer"
  41720. }
  41721. }
  41722. },
  41723. "models.XHDeliveryGoods": {
  41724. "type": "object",
  41725. "properties": {
  41726. "areauserid": {
  41727. "description": "所属机构",
  41728. "type": "integer"
  41729. },
  41730. "bdlst": {
  41731. "description": "品牌列表",
  41732. "type": "array",
  41733. "items": {
  41734. "$ref": "#/definitions/models.XHBRAND"
  41735. }
  41736. },
  41737. "deliverygoodscode": {
  41738. "description": "现货品种代码",
  41739. "type": "string"
  41740. },
  41741. "deliverygoodsid": {
  41742. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  41743. "type": "integer"
  41744. },
  41745. "deliverygoodsname": {
  41746. "description": "现货品种名称",
  41747. "type": "string"
  41748. },
  41749. "dgstatus": {
  41750. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  41751. "type": "integer"
  41752. },
  41753. "filterSubEmpty": {
  41754. "description": "过滤下级为空的",
  41755. "type": "integer"
  41756. },
  41757. "isvalid": {
  41758. "description": "是否有效 - 0:无效 1:有效",
  41759. "type": "integer"
  41760. },
  41761. "remark": {
  41762. "description": "备注",
  41763. "type": "string"
  41764. },
  41765. "unitid": {
  41766. "description": "单位id(目前看,数据库中是空值)",
  41767. "type": "integer"
  41768. },
  41769. "wdlst": {
  41770. "description": "品类(现货商品)列表",
  41771. "type": "array",
  41772. "items": {
  41773. "$ref": "#/definitions/models.XHWrstandard"
  41774. }
  41775. }
  41776. }
  41777. },
  41778. "models.XHMiddleGoods": {
  41779. "type": "object",
  41780. "properties": {
  41781. "GPLST": {
  41782. "description": "期货品种列表",
  41783. "type": "array",
  41784. "items": {
  41785. "$ref": "#/definitions/models.TBGoodsGroup"
  41786. }
  41787. },
  41788. "convertratio": {
  41789. "description": "拆算系数",
  41790. "type": "number"
  41791. },
  41792. "costratio": {
  41793. "description": "成本权重",
  41794. "type": "number"
  41795. },
  41796. "deliverygoodsid": {
  41797. "description": "现货商品id",
  41798. "type": "integer"
  41799. },
  41800. "enumdicname": {
  41801. "description": "单位名称",
  41802. "type": "string"
  41803. },
  41804. "middlegoodscode": {
  41805. "description": "套保品种代码",
  41806. "type": "string"
  41807. },
  41808. "middlegoodsid": {
  41809. "description": "套保品种id",
  41810. "type": "integer"
  41811. },
  41812. "middlegoodsname": {
  41813. "description": "套保品种名称",
  41814. "type": "string"
  41815. },
  41816. "unitid": {
  41817. "description": "单位id",
  41818. "type": "integer"
  41819. }
  41820. }
  41821. },
  41822. "models.XHWrstandard": {
  41823. "type": "object",
  41824. "properties": {
  41825. "bannerpicurl": {
  41826. "description": "banner图",
  41827. "type": "string"
  41828. },
  41829. "deliverygoodsid": {
  41830. "description": "品种ID",
  41831. "type": "integer"
  41832. },
  41833. "enumdicname": {
  41834. "description": "单位名称",
  41835. "type": "string"
  41836. },
  41837. "mglst": {
  41838. "description": "套保品列表",
  41839. "type": "array",
  41840. "items": {
  41841. "$ref": "#/definitions/models.XHMiddleGoods"
  41842. }
  41843. },
  41844. "pictureurls": {
  41845. "description": "详情图片(逗号分隔)",
  41846. "type": "string"
  41847. },
  41848. "thumurls": {
  41849. "description": "缩略图片(1:1)(逗号分隔)",
  41850. "type": "string"
  41851. },
  41852. "unitid": {
  41853. "description": "单位id",
  41854. "type": "integer"
  41855. },
  41856. "vatrate": {
  41857. "description": "增值税率",
  41858. "type": "number"
  41859. },
  41860. "wrstandardcode": {
  41861. "description": "现货商品代码",
  41862. "type": "string"
  41863. },
  41864. "wrstandardid": {
  41865. "description": "现货商品ID(SEQ_WRSTANDARD)",
  41866. "type": "integer"
  41867. },
  41868. "wrstandardname": {
  41869. "description": "现货商品名称",
  41870. "type": "string"
  41871. }
  41872. }
  41873. },
  41874. "models.XhcpSellBackApplyEx": {
  41875. "type": "object",
  41876. "required": [
  41877. "userid"
  41878. ],
  41879. "properties": {
  41880. "applyremark": {
  41881. "description": "申请备注",
  41882. "type": "string"
  41883. },
  41884. "expirytype": {
  41885. "description": "寄售有效期 - 1:3天 2:7天 3:15天 4:长期",
  41886. "type": "integer"
  41887. },
  41888. "goodsspec": {
  41889. "description": "商品规格 - 1:整件 2;整提 3:单罐 4:单盒",
  41890. "type": "integer"
  41891. },
  41892. "holeflag": {
  41893. "description": "是否破洞[原封] - 1:无破洞 2:破洞",
  41894. "type": "integer"
  41895. },
  41896. "isunopened": {
  41897. "description": "是否原封 - 1:否 2:是",
  41898. "type": "integer"
  41899. },
  41900. "mpflag": {
  41901. "description": "磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮",
  41902. "type": "integer"
  41903. },
  41904. "openflag": {
  41905. "description": "是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。",
  41906. "type": "integer"
  41907. },
  41908. "phonenum": {
  41909. "description": "联系电话",
  41910. "type": "string"
  41911. },
  41912. "userid": {
  41913. "description": "所属用户ID",
  41914. "type": "integer"
  41915. },
  41916. "zpflag": {
  41917. "description": "皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮",
  41918. "type": "integer"
  41919. }
  41920. }
  41921. },
  41922. "models.Xhcpsellbackapply": {
  41923. "type": "object",
  41924. "required": [
  41925. "userid"
  41926. ],
  41927. "properties": {
  41928. "applyid": {
  41929. "description": "申请人",
  41930. "type": "integer"
  41931. },
  41932. "applyremark": {
  41933. "description": "申请备注",
  41934. "type": "string"
  41935. },
  41936. "applysrc": {
  41937. "description": "申请来源 - 1:管理端 2:终端",
  41938. "type": "integer"
  41939. },
  41940. "applystatus": {
  41941. "description": "申请状态 - 1:待确认 2:已处理",
  41942. "type": "integer"
  41943. },
  41944. "applytime": {
  41945. "description": "申请时间",
  41946. "type": "string"
  41947. },
  41948. "auditremark": {
  41949. "description": "审核备注",
  41950. "type": "string"
  41951. },
  41952. "auditsrc": {
  41953. "description": "审核来源 - 1:管理端 2:终端",
  41954. "type": "integer"
  41955. },
  41956. "expirytype": {
  41957. "description": "寄售有效期 - 1:3天 2:7天 3:15天 4:长期",
  41958. "type": "integer"
  41959. },
  41960. "goodsspec": {
  41961. "description": "商品规格 - 1:整件 2;整提 3:单罐 4:单盒",
  41962. "type": "integer"
  41963. },
  41964. "holeflag": {
  41965. "description": "是否破洞[原封] - 1:无破洞 2:破洞",
  41966. "type": "integer"
  41967. },
  41968. "isunopened": {
  41969. "description": "是否原封 - 1:否 2:是",
  41970. "type": "integer"
  41971. },
  41972. "mpflag": {
  41973. "description": "磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮",
  41974. "type": "integer"
  41975. },
  41976. "openflag": {
  41977. "description": "是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。",
  41978. "type": "integer"
  41979. },
  41980. "phonenum": {
  41981. "description": "联系电话",
  41982. "type": "string"
  41983. },
  41984. "sellbackapplyid": {
  41985. "description": "回收申请ID - SEQ_XHCP_SELLBACKAPPLY",
  41986. "type": "string"
  41987. },
  41988. "userid": {
  41989. "description": "所属用户ID",
  41990. "type": "integer"
  41991. },
  41992. "zpflag": {
  41993. "description": "皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮",
  41994. "type": "integer"
  41995. }
  41996. }
  41997. },
  41998. "order.QueryHisTradeDetailRsp": {
  41999. "type": "object",
  42000. "required": [
  42001. "accountid",
  42002. "buyorsell",
  42003. "goodsid",
  42004. "histradedate",
  42005. "marketid",
  42006. "memberuserid",
  42007. "orderid",
  42008. "tradeamount",
  42009. "tradedate",
  42010. "tradeid",
  42011. "tradeprice",
  42012. "tradeqty",
  42013. "tradetime"
  42014. ],
  42015. "properties": {
  42016. "accountid": {
  42017. "description": "账户ID[报价币种]",
  42018. "type": "integer"
  42019. },
  42020. "advanceratio": {
  42021. "description": "首付比率",
  42022. "type": "number"
  42023. },
  42024. "buildtype": {
  42025. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  42026. "type": "integer"
  42027. },
  42028. "buyorsell": {
  42029. "description": "方向 - 0:买 1:卖",
  42030. "type": "integer"
  42031. },
  42032. "charge": {
  42033. "description": "手续费",
  42034. "type": "number"
  42035. },
  42036. "closecharge": {
  42037. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  42038. "type": "number"
  42039. },
  42040. "closeexchagechargevalue": {
  42041. "description": "平仓交易所手续费设置值",
  42042. "type": "number"
  42043. },
  42044. "closefeealgorithm": {
  42045. "description": "平仓手续费收取方式 1:比率 2:固定",
  42046. "type": "integer"
  42047. },
  42048. "closememberchargevalue": {
  42049. "description": "平仓会员手续费设置值",
  42050. "type": "number"
  42051. },
  42052. "closepl": {
  42053. "description": "平仓盈亏",
  42054. "type": "number"
  42055. },
  42056. "closepl2": {
  42057. "description": "平仓盈亏[逐笔]",
  42058. "type": "number"
  42059. },
  42060. "closeqty": {
  42061. "description": "平仓数量(先建后平操作 需要记录)",
  42062. "type": "number"
  42063. },
  42064. "creditamount": {
  42065. "description": "授信金额",
  42066. "type": "number"
  42067. },
  42068. "decimalplace": {
  42069. "description": "商品报价小数位",
  42070. "type": "integer"
  42071. },
  42072. "enumdicname": {
  42073. "description": "单位名称",
  42074. "type": "string"
  42075. },
  42076. "gcaccountid": {
  42077. "description": "账户ID[合约币种]",
  42078. "type": "integer"
  42079. },
  42080. "goodscode": {
  42081. "description": "商品代码",
  42082. "type": "string"
  42083. },
  42084. "goodsid": {
  42085. "description": "商品ID",
  42086. "type": "integer"
  42087. },
  42088. "goodsname": {
  42089. "description": "商品名称",
  42090. "type": "string"
  42091. },
  42092. "goodunitid": {
  42093. "description": "商品单位id",
  42094. "type": "integer"
  42095. },
  42096. "histradedate": {
  42097. "description": "历史交易日",
  42098. "type": "string"
  42099. },
  42100. "intclosepl": {
  42101. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  42102. "type": "integer"
  42103. },
  42104. "isconfirmexercise": {
  42105. "description": "是否确认行权- 0:否 1:是",
  42106. "type": "integer"
  42107. },
  42108. "ismain": {
  42109. "description": "是否主单 - 0:不是 1:是",
  42110. "type": "integer"
  42111. },
  42112. "ispreexercise": {
  42113. "description": "是否预申报- 0:否 1:是",
  42114. "type": "integer"
  42115. },
  42116. "isreckoned": {
  42117. "description": "是否结算 - 0:未结算 1:已结算",
  42118. "type": "integer"
  42119. },
  42120. "isvaliddata": {
  42121. "description": "是否有效 - 0:无效 1:有效",
  42122. "type": "integer"
  42123. },
  42124. "listingselecttype": {
  42125. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  42126. "type": "integer"
  42127. },
  42128. "marketid": {
  42129. "description": "市场ID",
  42130. "type": "integer"
  42131. },
  42132. "marketname": {
  42133. "description": "市场名称",
  42134. "type": "string"
  42135. },
  42136. "matchaccountid": {
  42137. "description": "对手账号id",
  42138. "type": "integer"
  42139. },
  42140. "memberuserid": {
  42141. "description": "会员id 个人投资者 需要填写",
  42142. "type": "integer"
  42143. },
  42144. "opencharge": {
  42145. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  42146. "type": "number"
  42147. },
  42148. "openexchagechargevalue": {
  42149. "description": "建仓交易所手续费设置值",
  42150. "type": "number"
  42151. },
  42152. "openfeealgorithm": {
  42153. "description": "建仓手续费收取方式 1:比率 2:固定",
  42154. "type": "integer"
  42155. },
  42156. "openmemberchargevalue": {
  42157. "description": "建仓会员手续费设置值",
  42158. "type": "number"
  42159. },
  42160. "openqty": {
  42161. "description": "开仓数量(先建后平操作 需要记录)",
  42162. "type": "number"
  42163. },
  42164. "optiontype": {
  42165. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  42166. "type": "integer"
  42167. },
  42168. "orderid": {
  42169. "description": "委托单号",
  42170. "type": "string"
  42171. },
  42172. "payamount": {
  42173. "description": "支付金额(付款金额)",
  42174. "type": "number"
  42175. },
  42176. "performanceplanid": {
  42177. "description": "履约计划ID[期权]",
  42178. "type": "integer"
  42179. },
  42180. "performancestatus": {
  42181. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  42182. "type": "integer"
  42183. },
  42184. "preexerciseprice": {
  42185. "description": "预申报价格",
  42186. "type": "number"
  42187. },
  42188. "premium": {
  42189. "description": "权利金 - [持仓单的权利金]",
  42190. "type": "number"
  42191. },
  42192. "qtydecimalplace": {
  42193. "description": "商品报价小数位",
  42194. "type": "integer"
  42195. },
  42196. "recvamount": {
  42197. "description": "到账金额 = 成交金额 - 手续费",
  42198. "type": "number"
  42199. },
  42200. "relatedouttradeid": {
  42201. "description": "关联外部成交单ID",
  42202. "type": "integer"
  42203. },
  42204. "status": {
  42205. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  42206. "type": "integer"
  42207. },
  42208. "totalamount": {
  42209. "description": "订单总额 = 成交金额 + 手续费",
  42210. "type": "number"
  42211. },
  42212. "tradeamount": {
  42213. "description": "成交金额[账户币种,用于所有权]",
  42214. "type": "number"
  42215. },
  42216. "tradedate": {
  42217. "description": "交易日(yyyyMMdd)",
  42218. "type": "string"
  42219. },
  42220. "tradeid": {
  42221. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  42222. "type": "string"
  42223. },
  42224. "trademode": {
  42225. "description": "交易模式",
  42226. "type": "integer"
  42227. },
  42228. "tradeprice": {
  42229. "description": "成交价格",
  42230. "type": "number"
  42231. },
  42232. "tradeproperty": {
  42233. "description": "交易属性",
  42234. "type": "integer"
  42235. },
  42236. "tradeqty": {
  42237. "description": "成交数量",
  42238. "type": "number"
  42239. },
  42240. "tradetime": {
  42241. "description": "成交时间",
  42242. "type": "string"
  42243. },
  42244. "tradetype": {
  42245. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  42246. "type": "integer"
  42247. }
  42248. }
  42249. },
  42250. "order.QueryHisTradeOrderDetailRsp": {
  42251. "type": "object",
  42252. "required": [
  42253. "accountid",
  42254. "buildtype",
  42255. "buyorsell",
  42256. "goodsid",
  42257. "histradedate",
  42258. "marketid",
  42259. "memberuserid",
  42260. "operatetype",
  42261. "orderid",
  42262. "orderqty",
  42263. "ordertime",
  42264. "pricemode",
  42265. "tradedate",
  42266. "validtype"
  42267. ],
  42268. "properties": {
  42269. "accountid": {
  42270. "description": "账户ID[报价币种]",
  42271. "type": "integer"
  42272. },
  42273. "buildtype": {
  42274. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  42275. "type": "integer"
  42276. },
  42277. "buyorsell": {
  42278. "description": "买卖 - 0:买 1:卖",
  42279. "type": "integer"
  42280. },
  42281. "cancelorderid": {
  42282. "description": "撤单单号(撤单时填写)",
  42283. "type": "string"
  42284. },
  42285. "cancelqty": {
  42286. "description": "撤单数量",
  42287. "type": "number"
  42288. },
  42289. "clientordertime": {
  42290. "description": "客户端委托时间",
  42291. "type": "string"
  42292. },
  42293. "clientticket": {
  42294. "description": "客户端流水号",
  42295. "type": "string"
  42296. },
  42297. "clienttype": {
  42298. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  42299. "type": "integer"
  42300. },
  42301. "closeexchagechargevalue": {
  42302. "description": "平仓交易所手续费设置值",
  42303. "type": "number"
  42304. },
  42305. "closefeealgorithm": {
  42306. "description": "平仓手续费收取方式 1:比率 2:固定",
  42307. "type": "integer"
  42308. },
  42309. "closefreezecharge": {
  42310. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  42311. "type": "number"
  42312. },
  42313. "closememberchargevalue": {
  42314. "description": "平仓会员手续费设置值",
  42315. "type": "number"
  42316. },
  42317. "closeqty": {
  42318. "description": "平仓数量(先建后平操作 需要记录)",
  42319. "type": "number"
  42320. },
  42321. "closetradeqty": {
  42322. "description": "平仓成交数量(先建后平操作,需要记录)",
  42323. "type": "number"
  42324. },
  42325. "closeunfreezecharge": {
  42326. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  42327. "type": "number"
  42328. },
  42329. "decimalplace": {
  42330. "description": "商品报价小数位",
  42331. "type": "integer"
  42332. },
  42333. "delistingtype": {
  42334. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  42335. "type": "integer"
  42336. },
  42337. "enumdicname": {
  42338. "description": "单位名称",
  42339. "type": "string"
  42340. },
  42341. "freezecharge": {
  42342. "description": "冻结手续费",
  42343. "type": "number"
  42344. },
  42345. "freezemargin": {
  42346. "description": "冻结保证金(冻结交易金额)",
  42347. "type": "number"
  42348. },
  42349. "gcaccountid": {
  42350. "description": "账户ID[合约币种]",
  42351. "type": "integer"
  42352. },
  42353. "goodscode": {
  42354. "description": "商品代码",
  42355. "type": "string"
  42356. },
  42357. "goodsid": {
  42358. "description": "商品ID",
  42359. "type": "integer"
  42360. },
  42361. "goodsname": {
  42362. "description": "商品名称",
  42363. "type": "string"
  42364. },
  42365. "goodunitid": {
  42366. "description": "商品单位id",
  42367. "type": "integer"
  42368. },
  42369. "histradedate": {
  42370. "description": "历史交易日",
  42371. "type": "string"
  42372. },
  42373. "isconfirmexercise": {
  42374. "description": "是否确认行权- 0:否 1:是",
  42375. "type": "integer"
  42376. },
  42377. "ispreexercise": {
  42378. "description": "是否预申报- 0:否 1:是",
  42379. "type": "integer"
  42380. },
  42381. "isvaliddata": {
  42382. "description": "是否有效 - 0:无效 1:有效",
  42383. "type": "integer"
  42384. },
  42385. "listingselecttype": {
  42386. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  42387. "type": "integer"
  42388. },
  42389. "marginalgorithm": {
  42390. "description": "保证金收取方式 1:比率 2:固定",
  42391. "type": "integer"
  42392. },
  42393. "marginvalue": {
  42394. "description": "即市保证金设置值",
  42395. "type": "number"
  42396. },
  42397. "marketid": {
  42398. "description": "市场ID",
  42399. "type": "integer"
  42400. },
  42401. "marketmaxsub": {
  42402. "description": "市价最大偏移范围",
  42403. "type": "number"
  42404. },
  42405. "marketname": {
  42406. "description": "市场名称",
  42407. "type": "string"
  42408. },
  42409. "memberuserid": {
  42410. "description": "所属会员UserID",
  42411. "type": "integer"
  42412. },
  42413. "openexchagechargevalue": {
  42414. "description": "建仓交易所手续费设置值",
  42415. "type": "number"
  42416. },
  42417. "openfeealgorithm": {
  42418. "description": "建仓手续费收取方式 1:比率 2:固定",
  42419. "type": "integer"
  42420. },
  42421. "openfreezecharge": {
  42422. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  42423. "type": "number"
  42424. },
  42425. "openmemberchargevalue": {
  42426. "description": "建仓会员手续费设置值",
  42427. "type": "number"
  42428. },
  42429. "openqty": {
  42430. "description": "开仓数量(先建后平操作,需要记录)",
  42431. "type": "number"
  42432. },
  42433. "opentradeqty": {
  42434. "description": "开仓成交数量(先建后平操作,需要记录)",
  42435. "type": "number"
  42436. },
  42437. "openunfreezecharge": {
  42438. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  42439. "type": "number"
  42440. },
  42441. "operatetype": {
  42442. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  42443. "type": "integer"
  42444. },
  42445. "operatorid": {
  42446. "description": "登录账号(LoginID)",
  42447. "type": "integer"
  42448. },
  42449. "optiontype": {
  42450. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  42451. "type": "integer"
  42452. },
  42453. "orderid": {
  42454. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  42455. "type": "string"
  42456. },
  42457. "orderprice": {
  42458. "description": "委托价格",
  42459. "type": "number"
  42460. },
  42461. "orderqty": {
  42462. "description": "委托数量",
  42463. "type": "number"
  42464. },
  42465. "ordersrc": {
  42466. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  42467. "type": "integer"
  42468. },
  42469. "orderstatus": {
  42470. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  42471. "type": "integer"
  42472. },
  42473. "ordertime": {
  42474. "description": "委托时间",
  42475. "type": "string"
  42476. },
  42477. "preexerciseprice": {
  42478. "description": "预申报价格",
  42479. "type": "number"
  42480. },
  42481. "premium": {
  42482. "description": "权利金",
  42483. "type": "number"
  42484. },
  42485. "preorderid": {
  42486. "description": "关联预埋单号(止盈止损单时填写)",
  42487. "type": "string"
  42488. },
  42489. "pricemode": {
  42490. "description": "取价方式 - 1:市价 2: 限价",
  42491. "type": "integer"
  42492. },
  42493. "qtydecimalplace": {
  42494. "description": "成交量小数位",
  42495. "type": "integer"
  42496. },
  42497. "quoteid": {
  42498. "description": "报价单ID",
  42499. "type": "integer"
  42500. },
  42501. "relatedid": {
  42502. "description": "关联单号(交割单)",
  42503. "type": "string"
  42504. },
  42505. "retcode": {
  42506. "description": "错误代码",
  42507. "type": "integer"
  42508. },
  42509. "sessionid": {
  42510. "description": "会话ID",
  42511. "type": "integer"
  42512. },
  42513. "tradedate": {
  42514. "description": "交易日(yyyyMMdd)",
  42515. "type": "string"
  42516. },
  42517. "trademode": {
  42518. "description": "交易模式",
  42519. "type": "integer"
  42520. },
  42521. "tradeproperty": {
  42522. "description": "交易属性",
  42523. "type": "integer"
  42524. },
  42525. "tradeqty": {
  42526. "description": "成交数量",
  42527. "type": "number"
  42528. },
  42529. "unfreezecharge": {
  42530. "description": "解冻手续费",
  42531. "type": "number"
  42532. },
  42533. "unfreezemargin": {
  42534. "description": "解冻保证金",
  42535. "type": "number"
  42536. },
  42537. "updatetime": {
  42538. "description": "更新时间",
  42539. "type": "string"
  42540. },
  42541. "uuid": {
  42542. "description": "发起端唯一id",
  42543. "type": "string"
  42544. },
  42545. "validtime": {
  42546. "description": "有效期限",
  42547. "type": "string"
  42548. },
  42549. "validtype": {
  42550. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  42551. "type": "integer"
  42552. },
  42553. "volumetype": {
  42554. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  42555. "type": "integer"
  42556. }
  42557. }
  42558. },
  42559. "order.QueryTradeDetailRsp": {
  42560. "type": "object",
  42561. "required": [
  42562. "accountid",
  42563. "buyorsell",
  42564. "goodsid",
  42565. "marketid",
  42566. "memberuserid",
  42567. "orderid",
  42568. "tradeamount",
  42569. "tradedate",
  42570. "tradeid",
  42571. "tradeprice",
  42572. "tradeqty",
  42573. "tradetime"
  42574. ],
  42575. "properties": {
  42576. "accountid": {
  42577. "description": "账户ID[报价币种]",
  42578. "type": "integer"
  42579. },
  42580. "advanceratio": {
  42581. "description": "首付比率",
  42582. "type": "number"
  42583. },
  42584. "buildtype": {
  42585. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  42586. "type": "integer"
  42587. },
  42588. "buyorsell": {
  42589. "description": "方向 - 0:买 1:卖",
  42590. "type": "integer"
  42591. },
  42592. "charge": {
  42593. "description": "手续费",
  42594. "type": "number"
  42595. },
  42596. "closecharge": {
  42597. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  42598. "type": "number"
  42599. },
  42600. "closeexchagechargevalue": {
  42601. "description": "平仓交易所手续费设置值",
  42602. "type": "number"
  42603. },
  42604. "closefeealgorithm": {
  42605. "description": "平仓手续费收取方式 1:比率 2:固定",
  42606. "type": "integer"
  42607. },
  42608. "closememberchargevalue": {
  42609. "description": "平仓会员手续费设置值",
  42610. "type": "number"
  42611. },
  42612. "closepl": {
  42613. "description": "平仓盈亏",
  42614. "type": "number"
  42615. },
  42616. "closepl2": {
  42617. "description": "平仓盈亏[逐笔]",
  42618. "type": "number"
  42619. },
  42620. "closeqty": {
  42621. "description": "平仓数量(先建后平操作 需要记录)",
  42622. "type": "number"
  42623. },
  42624. "creditamount": {
  42625. "description": "授信金额",
  42626. "type": "number"
  42627. },
  42628. "decimalplace": {
  42629. "description": "商品报价小数位",
  42630. "type": "integer"
  42631. },
  42632. "enumdicname": {
  42633. "description": "单位名称",
  42634. "type": "string"
  42635. },
  42636. "gcaccountid": {
  42637. "description": "账户ID[合约币种]",
  42638. "type": "integer"
  42639. },
  42640. "goodscode": {
  42641. "description": "商品代码",
  42642. "type": "string"
  42643. },
  42644. "goodsid": {
  42645. "description": "商品ID",
  42646. "type": "integer"
  42647. },
  42648. "goodsname": {
  42649. "description": "商品名称",
  42650. "type": "string"
  42651. },
  42652. "goodunitid": {
  42653. "description": "商品单位id",
  42654. "type": "integer"
  42655. },
  42656. "intclosepl": {
  42657. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  42658. "type": "integer"
  42659. },
  42660. "isconfirmexercise": {
  42661. "description": "是否确认行权- 0:否 1:是",
  42662. "type": "integer"
  42663. },
  42664. "ismain": {
  42665. "description": "是否主单 - 0:不是 1:是",
  42666. "type": "integer"
  42667. },
  42668. "ispreexercise": {
  42669. "description": "是否预申报- 0:否 1:是",
  42670. "type": "integer"
  42671. },
  42672. "isreckoned": {
  42673. "description": "是否结算 - 0:未结算 1:已结算",
  42674. "type": "integer"
  42675. },
  42676. "listingselecttype": {
  42677. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  42678. "type": "integer"
  42679. },
  42680. "marketid": {
  42681. "description": "市场ID",
  42682. "type": "integer"
  42683. },
  42684. "marketname": {
  42685. "description": "市场名称",
  42686. "type": "string"
  42687. },
  42688. "matchaccountid": {
  42689. "description": "对手账号id",
  42690. "type": "integer"
  42691. },
  42692. "memberuserid": {
  42693. "description": "会员id 个人投资者 需要填写",
  42694. "type": "integer"
  42695. },
  42696. "opencharge": {
  42697. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  42698. "type": "number"
  42699. },
  42700. "openexchagechargevalue": {
  42701. "description": "建仓交易所手续费设置值",
  42702. "type": "number"
  42703. },
  42704. "openfeealgorithm": {
  42705. "description": "建仓手续费收取方式 1:比率 2:固定",
  42706. "type": "integer"
  42707. },
  42708. "openmemberchargevalue": {
  42709. "description": "建仓会员手续费设置值",
  42710. "type": "number"
  42711. },
  42712. "openqty": {
  42713. "description": "开仓数量(先建后平操作 需要记录)",
  42714. "type": "number"
  42715. },
  42716. "optiontype": {
  42717. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  42718. "type": "integer"
  42719. },
  42720. "orderid": {
  42721. "description": "委托单号",
  42722. "type": "string"
  42723. },
  42724. "payamount": {
  42725. "description": "支付金额(付款金额)",
  42726. "type": "number"
  42727. },
  42728. "performanceplanid": {
  42729. "description": "履约计划ID[期权]",
  42730. "type": "integer"
  42731. },
  42732. "performancestatus": {
  42733. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  42734. "type": "integer"
  42735. },
  42736. "preexerciseprice": {
  42737. "description": "预申报价格",
  42738. "type": "number"
  42739. },
  42740. "premium": {
  42741. "description": "权利金 - [持仓单的权利金]",
  42742. "type": "number"
  42743. },
  42744. "qtydecimalplace": {
  42745. "description": "商品报价小数位",
  42746. "type": "integer"
  42747. },
  42748. "recvamount": {
  42749. "description": "到账金额 = 成交金额 - 手续费",
  42750. "type": "number"
  42751. },
  42752. "relatedouttradeid": {
  42753. "description": "关联外部成交单ID",
  42754. "type": "integer"
  42755. },
  42756. "status": {
  42757. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  42758. "type": "integer"
  42759. },
  42760. "totalamount": {
  42761. "description": "订单总额 = 成交金额 + 手续费",
  42762. "type": "number"
  42763. },
  42764. "tradeamount": {
  42765. "description": "成交金额[账户币种,用于所有权]",
  42766. "type": "number"
  42767. },
  42768. "tradedate": {
  42769. "description": "交易日(yyyyMMdd)",
  42770. "type": "string"
  42771. },
  42772. "tradeid": {
  42773. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  42774. "type": "string"
  42775. },
  42776. "trademode": {
  42777. "description": "交易模式",
  42778. "type": "integer"
  42779. },
  42780. "tradeprice": {
  42781. "description": "成交价格",
  42782. "type": "number"
  42783. },
  42784. "tradeproperty": {
  42785. "description": "交易属性",
  42786. "type": "integer"
  42787. },
  42788. "tradeqty": {
  42789. "description": "成交数量",
  42790. "type": "number"
  42791. },
  42792. "tradetime": {
  42793. "description": "成交时间",
  42794. "type": "string"
  42795. },
  42796. "tradetype": {
  42797. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  42798. "type": "integer"
  42799. }
  42800. }
  42801. },
  42802. "order.QueryTradeOrderDetailRsp": {
  42803. "type": "object",
  42804. "required": [
  42805. "accountid",
  42806. "buildtype",
  42807. "buyorsell",
  42808. "goodsid",
  42809. "marketid",
  42810. "operatetype",
  42811. "orderqty",
  42812. "ordertime",
  42813. "pricemode",
  42814. "tradedate",
  42815. "validtype"
  42816. ],
  42817. "properties": {
  42818. "accountid": {
  42819. "description": "账户ID[报价币种]",
  42820. "type": "integer"
  42821. },
  42822. "buildtype": {
  42823. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  42824. "type": "integer"
  42825. },
  42826. "buyorsell": {
  42827. "description": "买卖 - 0:买 1:卖",
  42828. "type": "integer"
  42829. },
  42830. "cancelorderid": {
  42831. "description": "撤单单号(撤单时填写)",
  42832. "type": "string"
  42833. },
  42834. "cancelqty": {
  42835. "description": "撤单数量",
  42836. "type": "number"
  42837. },
  42838. "clienttype": {
  42839. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  42840. "type": "integer"
  42841. },
  42842. "closefreezecharge": {
  42843. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  42844. "type": "number"
  42845. },
  42846. "closeqty": {
  42847. "description": "平仓数量(先建后平操作 需要记录)",
  42848. "type": "number"
  42849. },
  42850. "closetradeqty": {
  42851. "description": "平仓成交数量(先建后平操作,需要记录)",
  42852. "type": "number"
  42853. },
  42854. "closeunfreezecharge": {
  42855. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  42856. "type": "number"
  42857. },
  42858. "decimalplace": {
  42859. "description": "商品报价小数位",
  42860. "type": "integer"
  42861. },
  42862. "delistingtype": {
  42863. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  42864. "type": "integer"
  42865. },
  42866. "enableqty": {
  42867. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  42868. "type": "number"
  42869. },
  42870. "enumdicname": {
  42871. "description": "单位名称",
  42872. "type": "string"
  42873. },
  42874. "freezecharge": {
  42875. "description": "冻结手续费",
  42876. "type": "number"
  42877. },
  42878. "freezemargin": {
  42879. "description": "冻结保证金(冻结交易金额)",
  42880. "type": "number"
  42881. },
  42882. "goodscode": {
  42883. "description": "商品代码",
  42884. "type": "string"
  42885. },
  42886. "goodsid": {
  42887. "description": "商品ID",
  42888. "type": "integer"
  42889. },
  42890. "goodsname": {
  42891. "description": "商品名称",
  42892. "type": "string"
  42893. },
  42894. "goodunitid": {
  42895. "description": "商品单位id",
  42896. "type": "integer"
  42897. },
  42898. "listingselecttype": {
  42899. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  42900. "type": "integer"
  42901. },
  42902. "marketid": {
  42903. "description": "市场ID",
  42904. "type": "integer"
  42905. },
  42906. "marketname": {
  42907. "description": "市场名称",
  42908. "type": "string"
  42909. },
  42910. "openfreezecharge": {
  42911. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  42912. "type": "number"
  42913. },
  42914. "openqty": {
  42915. "description": "开仓数量(先建后平操作,需要记录)",
  42916. "type": "number"
  42917. },
  42918. "opentradeqty": {
  42919. "description": "开仓成交数量(先建后平操作,需要记录)",
  42920. "type": "number"
  42921. },
  42922. "openunfreezecharge": {
  42923. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  42924. "type": "number"
  42925. },
  42926. "operatetype": {
  42927. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  42928. "type": "integer"
  42929. },
  42930. "operatorid": {
  42931. "description": "登录账号(LoginID)",
  42932. "type": "integer"
  42933. },
  42934. "orderid": {
  42935. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  42936. "type": "string"
  42937. },
  42938. "orderprice": {
  42939. "description": "委托价格",
  42940. "type": "number"
  42941. },
  42942. "orderqty": {
  42943. "description": "委托数量",
  42944. "type": "number"
  42945. },
  42946. "ordersrc": {
  42947. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  42948. "type": "integer"
  42949. },
  42950. "orderstatus": {
  42951. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  42952. "type": "integer"
  42953. },
  42954. "ordertime": {
  42955. "description": "委托时间",
  42956. "type": "string"
  42957. },
  42958. "preorderid": {
  42959. "description": "关联预埋单号(止盈止损单时填写)",
  42960. "type": "string"
  42961. },
  42962. "pricemode": {
  42963. "description": "取价方式 - 1:市价 2: 限价",
  42964. "type": "integer"
  42965. },
  42966. "qtydecimalplace": {
  42967. "description": "商品报价小数位",
  42968. "type": "integer"
  42969. },
  42970. "relatedid": {
  42971. "description": "关联单号(交割单)",
  42972. "type": "string"
  42973. },
  42974. "tradedate": {
  42975. "description": "交易日(yyyyMMdd)",
  42976. "type": "string"
  42977. },
  42978. "trademode": {
  42979. "description": "交易模式",
  42980. "type": "integer"
  42981. },
  42982. "tradeqty": {
  42983. "description": "成交数量",
  42984. "type": "number"
  42985. },
  42986. "unfreezecharge": {
  42987. "description": "解冻手续费",
  42988. "type": "number"
  42989. },
  42990. "unfreezemargin": {
  42991. "description": "解冻保证金",
  42992. "type": "number"
  42993. },
  42994. "validtime": {
  42995. "description": "有效期限",
  42996. "type": "string"
  42997. },
  42998. "validtype": {
  42999. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  43000. "type": "integer"
  43001. },
  43002. "volumetype": {
  43003. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  43004. "type": "integer"
  43005. }
  43006. }
  43007. },
  43008. "order.QueryTradePositionRsp": {
  43009. "type": "object",
  43010. "required": [
  43011. "goodsid"
  43012. ],
  43013. "properties": {
  43014. "accountid": {
  43015. "description": "资金账户",
  43016. "type": "integer"
  43017. },
  43018. "agreeunit": {
  43019. "description": "合约单位",
  43020. "type": "number"
  43021. },
  43022. "averageprice": {
  43023. "description": "持仓均价",
  43024. "type": "number"
  43025. },
  43026. "buyorsell": {
  43027. "description": "方向 - 0:买 1:卖",
  43028. "type": "integer"
  43029. },
  43030. "closetotalqty": {
  43031. "description": "平仓总数量",
  43032. "type": "number"
  43033. },
  43034. "curholderamount": {
  43035. "description": "当前持仓总金额[商品币种]",
  43036. "type": "number"
  43037. },
  43038. "curpositionqty": {
  43039. "description": "当前持仓总数量",
  43040. "type": "number"
  43041. },
  43042. "currencyid": {
  43043. "description": "报价货币ID",
  43044. "type": "integer"
  43045. },
  43046. "curtdposition": {
  43047. "description": "期末今日头寸",
  43048. "type": "number"
  43049. },
  43050. "decimalplace": {
  43051. "description": "报价小数位",
  43052. "type": "integer"
  43053. },
  43054. "enableqty": {
  43055. "description": "可用量",
  43056. "type": "number"
  43057. },
  43058. "fretdposition": {
  43059. "description": "冻结今日头寸",
  43060. "type": "number"
  43061. },
  43062. "frozenqty": {
  43063. "description": "持仓冻结数量",
  43064. "type": "number"
  43065. },
  43066. "goodscode": {
  43067. "description": "商品代码",
  43068. "type": "string"
  43069. },
  43070. "goodsid": {
  43071. "description": "商品Id",
  43072. "type": "integer"
  43073. },
  43074. "goodsname": {
  43075. "description": "商品名称",
  43076. "type": "string"
  43077. },
  43078. "goodunit": {
  43079. "description": "报价单位",
  43080. "type": "string"
  43081. },
  43082. "goodunitid": {
  43083. "description": "报价单位ID",
  43084. "type": "integer"
  43085. },
  43086. "holderamount": {
  43087. "description": "期初持仓总金额[商品币种]",
  43088. "type": "number"
  43089. },
  43090. "lastprice": {
  43091. "description": "最新价",
  43092. "type": "number"
  43093. },
  43094. "marketamount": {
  43095. "description": "市值",
  43096. "type": "number"
  43097. },
  43098. "marketid": {
  43099. "description": "所属市场ID",
  43100. "type": "integer"
  43101. },
  43102. "openreqqty": {
  43103. "description": "开仓申请数量(用于比较最大持仓数量)",
  43104. "type": "number"
  43105. },
  43106. "opentotalqty": {
  43107. "description": "开仓总数量",
  43108. "type": "number"
  43109. },
  43110. "otherfrozenqty": {
  43111. "description": "持仓其他冻结数量(交割冻结)",
  43112. "type": "number"
  43113. },
  43114. "positionpl": {
  43115. "description": "持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  43116. "type": "number"
  43117. },
  43118. "positionplrate": {
  43119. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  43120. "type": "number"
  43121. },
  43122. "positionqty": {
  43123. "description": "期初持仓数量",
  43124. "type": "number"
  43125. },
  43126. "qtydecimalplace": {
  43127. "description": "成交量小数位",
  43128. "type": "integer"
  43129. },
  43130. "refgoodscode": {
  43131. "description": "参考商品代码",
  43132. "type": "string"
  43133. },
  43134. "refgoodsid": {
  43135. "description": "参考商品ID",
  43136. "type": "integer"
  43137. },
  43138. "tnqty": {
  43139. "description": "T+N冻结总量",
  43140. "type": "number"
  43141. },
  43142. "tnusedqty": {
  43143. "description": "T+N使用量(可以使用T+N的冻结数量)",
  43144. "type": "number"
  43145. },
  43146. "trademode": {
  43147. "description": "交易模式",
  43148. "type": "integer"
  43149. },
  43150. "tradeproperty": {
  43151. "description": "交易属性",
  43152. "type": "integer"
  43153. },
  43154. "usedmargin": {
  43155. "description": "占用保证金[商品币种]",
  43156. "type": "number"
  43157. }
  43158. }
  43159. },
  43160. "pb.GoodsMarginCfgStruct": {
  43161. "type": "object",
  43162. "properties": {
  43163. "CustomerTypeID": {
  43164. "description": "投资者客户类型",
  43165. "type": "integer"
  43166. },
  43167. "GoodsID": {
  43168. "description": "商品ID",
  43169. "type": "integer"
  43170. },
  43171. "IsDefault": {
  43172. "description": "是否默认标志位",
  43173. "type": "integer"
  43174. },
  43175. "LockMarginValue": {
  43176. "description": "锁仓保证金",
  43177. "type": "number"
  43178. },
  43179. "MarginAlgorithm": {
  43180. "description": "保证金计算方式",
  43181. "type": "integer"
  43182. },
  43183. "MarketMarginValue": {
  43184. "description": "即市保证金值",
  43185. "type": "number"
  43186. },
  43187. "RealMarginAlgorithm": {
  43188. "description": "实付保证金计算方式",
  43189. "type": "integer"
  43190. },
  43191. "RealMarginValue": {
  43192. "description": "实付比例",
  43193. "type": "number"
  43194. },
  43195. "ReckonMarginValue": {
  43196. "description": "结算保证金值",
  43197. "type": "number"
  43198. }
  43199. }
  43200. },
  43201. "quote.HistoryData": {
  43202. "type": "object",
  43203. "properties": {
  43204. "c": {
  43205. "description": "收盘价",
  43206. "type": "number"
  43207. },
  43208. "f": {
  43209. "description": "是否补充数据",
  43210. "type": "boolean"
  43211. },
  43212. "h": {
  43213. "description": "最高价",
  43214. "type": "number"
  43215. },
  43216. "hv": {
  43217. "description": "持仓量",
  43218. "type": "integer"
  43219. },
  43220. "l": {
  43221. "description": "最低价",
  43222. "type": "number"
  43223. },
  43224. "o": {
  43225. "description": "开盘价",
  43226. "type": "number"
  43227. },
  43228. "s": {
  43229. "description": "结算价,日线周期(包括)以上才有",
  43230. "type": "number"
  43231. },
  43232. "ts": {
  43233. "description": "时间",
  43234. "type": "string"
  43235. },
  43236. "tt": {
  43237. "description": "总金额",
  43238. "type": "number"
  43239. },
  43240. "tv": {
  43241. "description": "总量(成交量)",
  43242. "type": "integer"
  43243. }
  43244. }
  43245. },
  43246. "quote.HistoryTikData": {
  43247. "type": "object",
  43248. "properties": {
  43249. "AV": {
  43250. "description": "卖量",
  43251. "type": "integer"
  43252. },
  43253. "Ask": {
  43254. "description": "卖价",
  43255. "type": "number"
  43256. },
  43257. "BV": {
  43258. "description": "买量",
  43259. "type": "integer"
  43260. },
  43261. "Bid": {
  43262. "description": "买价",
  43263. "type": "number"
  43264. },
  43265. "HI": {
  43266. "description": "单笔持仓",
  43267. "type": "integer"
  43268. },
  43269. "HV": {
  43270. "description": "持仓量",
  43271. "type": "integer"
  43272. },
  43273. "PE": {
  43274. "description": "现价",
  43275. "type": "number"
  43276. },
  43277. "TDR": {
  43278. "description": "交易方向,0:买 1:卖",
  43279. "type": "integer"
  43280. },
  43281. "TK": {
  43282. "description": "交易类型",
  43283. "type": "integer"
  43284. },
  43285. "TS": {
  43286. "description": "行情时间文本",
  43287. "type": "string"
  43288. },
  43289. "TT": {
  43290. "description": "现金额",
  43291. "type": "number"
  43292. },
  43293. "Vol": {
  43294. "description": "现量",
  43295. "type": "integer"
  43296. }
  43297. }
  43298. },
  43299. "quote.QueryQuoteDayRsp": {
  43300. "type": "object",
  43301. "properties": {
  43302. "ask": {
  43303. "description": "卖1",
  43304. "type": "number"
  43305. },
  43306. "ask10": {
  43307. "description": "卖10",
  43308. "type": "number"
  43309. },
  43310. "ask2": {
  43311. "description": "卖2",
  43312. "type": "number"
  43313. },
  43314. "ask3": {
  43315. "description": "卖3",
  43316. "type": "number"
  43317. },
  43318. "ask4": {
  43319. "description": "卖4",
  43320. "type": "number"
  43321. },
  43322. "ask5": {
  43323. "description": "卖5",
  43324. "type": "number"
  43325. },
  43326. "ask6": {
  43327. "description": "卖6",
  43328. "type": "number"
  43329. },
  43330. "ask7": {
  43331. "description": "卖7",
  43332. "type": "number"
  43333. },
  43334. "ask8": {
  43335. "description": "卖8",
  43336. "type": "number"
  43337. },
  43338. "ask9": {
  43339. "description": "卖9",
  43340. "type": "number"
  43341. },
  43342. "askorderid": {
  43343. "description": "卖单号1",
  43344. "type": "integer"
  43345. },
  43346. "askorderid2": {
  43347. "description": "卖单号2",
  43348. "type": "integer"
  43349. },
  43350. "askorderid3": {
  43351. "description": "卖单号3",
  43352. "type": "integer"
  43353. },
  43354. "askorderid4": {
  43355. "description": "卖单号4",
  43356. "type": "integer"
  43357. },
  43358. "askorderid5": {
  43359. "description": "卖单号5",
  43360. "type": "integer"
  43361. },
  43362. "askordervolume": {
  43363. "description": "卖单量1",
  43364. "type": "integer"
  43365. },
  43366. "askordervolume10": {
  43367. "description": "卖单量10",
  43368. "type": "integer"
  43369. },
  43370. "askordervolume2": {
  43371. "description": "卖单量2",
  43372. "type": "integer"
  43373. },
  43374. "askordervolume3": {
  43375. "description": "卖单量3",
  43376. "type": "integer"
  43377. },
  43378. "askordervolume4": {
  43379. "description": "卖单量4",
  43380. "type": "integer"
  43381. },
  43382. "askordervolume5": {
  43383. "description": "卖单量5",
  43384. "type": "integer"
  43385. },
  43386. "askordervolume6": {
  43387. "description": "卖单量6",
  43388. "type": "integer"
  43389. },
  43390. "askordervolume7": {
  43391. "description": "卖单量7",
  43392. "type": "integer"
  43393. },
  43394. "askordervolume8": {
  43395. "description": "卖单量8",
  43396. "type": "integer"
  43397. },
  43398. "askordervolume9": {
  43399. "description": "卖单量9",
  43400. "type": "integer"
  43401. },
  43402. "askqueueinfo": {
  43403. "description": "大利市卖港股用",
  43404. "type": "string"
  43405. },
  43406. "askvolume": {
  43407. "description": "卖量1",
  43408. "type": "integer"
  43409. },
  43410. "askvolume10": {
  43411. "description": "卖量10",
  43412. "type": "integer"
  43413. },
  43414. "askvolume2": {
  43415. "description": "卖量2",
  43416. "type": "integer"
  43417. },
  43418. "askvolume3": {
  43419. "description": "卖量3",
  43420. "type": "integer"
  43421. },
  43422. "askvolume4": {
  43423. "description": "卖量4",
  43424. "type": "integer"
  43425. },
  43426. "askvolume5": {
  43427. "description": "卖量5",
  43428. "type": "integer"
  43429. },
  43430. "askvolume6": {
  43431. "description": "卖量6",
  43432. "type": "integer"
  43433. },
  43434. "askvolume7": {
  43435. "description": "卖量7",
  43436. "type": "integer"
  43437. },
  43438. "askvolume8": {
  43439. "description": "卖量8",
  43440. "type": "integer"
  43441. },
  43442. "askvolume9": {
  43443. "description": "卖量9",
  43444. "type": "integer"
  43445. },
  43446. "averageprice": {
  43447. "description": "均价",
  43448. "type": "number"
  43449. },
  43450. "bid": {
  43451. "description": "买1",
  43452. "type": "number"
  43453. },
  43454. "bid10": {
  43455. "description": "买10",
  43456. "type": "number"
  43457. },
  43458. "bid2": {
  43459. "description": "买2",
  43460. "type": "number"
  43461. },
  43462. "bid3": {
  43463. "description": "买3",
  43464. "type": "number"
  43465. },
  43466. "bid4": {
  43467. "description": "买4",
  43468. "type": "number"
  43469. },
  43470. "bid5": {
  43471. "description": "买5",
  43472. "type": "number"
  43473. },
  43474. "bid6": {
  43475. "description": "买6",
  43476. "type": "number"
  43477. },
  43478. "bid7": {
  43479. "description": "买7",
  43480. "type": "number"
  43481. },
  43482. "bid8": {
  43483. "description": "买8",
  43484. "type": "number"
  43485. },
  43486. "bid9": {
  43487. "description": "买9",
  43488. "type": "number"
  43489. },
  43490. "bidorderid": {
  43491. "description": "买单号1",
  43492. "type": "integer"
  43493. },
  43494. "bidorderid2": {
  43495. "description": "买单号2",
  43496. "type": "integer"
  43497. },
  43498. "bidorderid3": {
  43499. "description": "买单号3",
  43500. "type": "integer"
  43501. },
  43502. "bidorderid4": {
  43503. "description": "买单号4",
  43504. "type": "integer"
  43505. },
  43506. "bidorderid5": {
  43507. "description": "买单号5",
  43508. "type": "integer"
  43509. },
  43510. "bidordervolume": {
  43511. "description": "买单量1",
  43512. "type": "integer"
  43513. },
  43514. "bidordervolume10": {
  43515. "description": "买单量10",
  43516. "type": "integer"
  43517. },
  43518. "bidordervolume2": {
  43519. "description": "买单量2",
  43520. "type": "integer"
  43521. },
  43522. "bidordervolume3": {
  43523. "description": "买单量3",
  43524. "type": "integer"
  43525. },
  43526. "bidordervolume4": {
  43527. "description": "买单量4",
  43528. "type": "integer"
  43529. },
  43530. "bidordervolume5": {
  43531. "description": "买单量5",
  43532. "type": "integer"
  43533. },
  43534. "bidordervolume6": {
  43535. "description": "买单量6",
  43536. "type": "integer"
  43537. },
  43538. "bidordervolume7": {
  43539. "description": "买单量7",
  43540. "type": "integer"
  43541. },
  43542. "bidordervolume8": {
  43543. "description": "买单量8",
  43544. "type": "integer"
  43545. },
  43546. "bidordervolume9": {
  43547. "description": "买单量9",
  43548. "type": "integer"
  43549. },
  43550. "bidqueueinfo": {
  43551. "description": "大利市买港股用",
  43552. "type": "string"
  43553. },
  43554. "bidvolume": {
  43555. "description": "买量1",
  43556. "type": "integer"
  43557. },
  43558. "bidvolume10": {
  43559. "description": "买量10",
  43560. "type": "integer"
  43561. },
  43562. "bidvolume2": {
  43563. "description": "买量2",
  43564. "type": "integer"
  43565. },
  43566. "bidvolume3": {
  43567. "description": "买量3",
  43568. "type": "integer"
  43569. },
  43570. "bidvolume4": {
  43571. "description": "买量4",
  43572. "type": "integer"
  43573. },
  43574. "bidvolume5": {
  43575. "description": "买量5",
  43576. "type": "integer"
  43577. },
  43578. "bidvolume6": {
  43579. "description": "买量6",
  43580. "type": "integer"
  43581. },
  43582. "bidvolume7": {
  43583. "description": "买量7",
  43584. "type": "integer"
  43585. },
  43586. "bidvolume8": {
  43587. "description": "买量8",
  43588. "type": "integer"
  43589. },
  43590. "bidvolume9": {
  43591. "description": "买量9",
  43592. "type": "integer"
  43593. },
  43594. "calloptionpremiums": {
  43595. "description": "认购期权1",
  43596. "type": "integer"
  43597. },
  43598. "calloptionpremiums2": {
  43599. "description": "认购期权2",
  43600. "type": "integer"
  43601. },
  43602. "calloptionpremiums3": {
  43603. "description": "认购期权3",
  43604. "type": "integer"
  43605. },
  43606. "calloptionpremiums4": {
  43607. "description": "认购期权4",
  43608. "type": "integer"
  43609. },
  43610. "calloptionpremiums5": {
  43611. "description": "认购期权5",
  43612. "type": "integer"
  43613. },
  43614. "cleartime": {
  43615. "description": "清盘时间",
  43616. "type": "integer"
  43617. },
  43618. "exchangecode": {
  43619. "description": "交易所代码",
  43620. "type": "integer"
  43621. },
  43622. "exchangedate": {
  43623. "description": "交易日",
  43624. "type": "integer"
  43625. },
  43626. "goodscode": {
  43627. "description": "商品代码",
  43628. "type": "string"
  43629. },
  43630. "grepmarketprice": {
  43631. "description": "暗盘价 港股专用",
  43632. "type": "number"
  43633. },
  43634. "highest": {
  43635. "description": "最高价",
  43636. "type": "number"
  43637. },
  43638. "holdincrement": {
  43639. "description": "单笔持仓",
  43640. "type": "integer"
  43641. },
  43642. "holdvolume": {
  43643. "description": "持仓",
  43644. "type": "integer"
  43645. },
  43646. "iep": {
  43647. "description": "平衡价 港股专用",
  43648. "type": "number"
  43649. },
  43650. "iev": {
  43651. "description": "平衡量 港股专用",
  43652. "type": "number"
  43653. },
  43654. "inventory": {
  43655. "description": "库存",
  43656. "type": "integer"
  43657. },
  43658. "iscleared": {
  43659. "description": "是否清盘标志",
  43660. "type": "integer"
  43661. },
  43662. "issettled": {
  43663. "description": "是否结算标志",
  43664. "type": "integer"
  43665. },
  43666. "last": {
  43667. "description": "最新价",
  43668. "type": "number"
  43669. },
  43670. "lastlot": {
  43671. "description": "最新成交手数",
  43672. "type": "integer"
  43673. },
  43674. "lasttime": {
  43675. "description": "行情时间(只有现价变化行情时间才变化)",
  43676. "type": "string"
  43677. },
  43678. "lastturnover": {
  43679. "description": "最新成交金额",
  43680. "type": "number"
  43681. },
  43682. "lastvolume": {
  43683. "description": "最新成交量",
  43684. "type": "integer"
  43685. },
  43686. "limitdown": {
  43687. "description": "跌停价",
  43688. "type": "number"
  43689. },
  43690. "limitup": {
  43691. "description": "涨停价",
  43692. "type": "number"
  43693. },
  43694. "lowest": {
  43695. "description": "最低价",
  43696. "type": "number"
  43697. },
  43698. "nontotalholdervolume": {
  43699. "description": "非交易持仓量",
  43700. "type": "integer"
  43701. },
  43702. "nontotallot": {
  43703. "description": "非交易总手数",
  43704. "type": "integer"
  43705. },
  43706. "nontotalturnover": {
  43707. "description": "非交易总金额",
  43708. "type": "integer"
  43709. },
  43710. "nontotalvolume": {
  43711. "description": "非交易总量",
  43712. "type": "integer"
  43713. },
  43714. "opened": {
  43715. "description": "开盘价",
  43716. "type": "number"
  43717. },
  43718. "opentime": {
  43719. "description": "开盘时间",
  43720. "type": "string"
  43721. },
  43722. "orderid": {
  43723. "description": "序号",
  43724. "type": "integer"
  43725. },
  43726. "preclose": {
  43727. "description": "昨收",
  43728. "type": "number"
  43729. },
  43730. "preholdvolume": {
  43731. "description": "昨持仓",
  43732. "type": "integer"
  43733. },
  43734. "presettle": {
  43735. "description": "昨结价",
  43736. "type": "number"
  43737. },
  43738. "publictradetype": {
  43739. "description": "公共交易标志类型 港股专用",
  43740. "type": "string"
  43741. },
  43742. "putoptionpremiums": {
  43743. "description": "认沽期权1",
  43744. "type": "integer"
  43745. },
  43746. "putoptionpremiums2": {
  43747. "description": "认沽期权2",
  43748. "type": "integer"
  43749. },
  43750. "putoptionpremiums3": {
  43751. "description": "认沽期权3",
  43752. "type": "integer"
  43753. },
  43754. "putoptionpremiums4": {
  43755. "description": "认沽期权4",
  43756. "type": "integer"
  43757. },
  43758. "putoptionpremiums5": {
  43759. "description": "认沽期权5",
  43760. "type": "integer"
  43761. },
  43762. "settle": {
  43763. "description": "结算价",
  43764. "type": "number"
  43765. },
  43766. "strikeprice": {
  43767. "description": "发行价",
  43768. "type": "number"
  43769. },
  43770. "totalaskvolume": {
  43771. "description": "内盘",
  43772. "type": "integer"
  43773. },
  43774. "totalbidvolume": {
  43775. "description": "外盘",
  43776. "type": "integer"
  43777. },
  43778. "totallot": {
  43779. "description": "总手数",
  43780. "type": "integer"
  43781. },
  43782. "totalturnover": {
  43783. "description": "总金额",
  43784. "type": "number"
  43785. },
  43786. "totalvolume": {
  43787. "description": "总量",
  43788. "type": "integer"
  43789. },
  43790. "utclasttime": {
  43791. "description": "utc的行情时间",
  43792. "type": "string"
  43793. }
  43794. }
  43795. },
  43796. "quote.QueryTSDataRsp": {
  43797. "type": "object",
  43798. "properties": {
  43799. "Count": {
  43800. "description": "交易日应有数据个数",
  43801. "type": "integer"
  43802. },
  43803. "decimalPlace": {
  43804. "description": "小数位",
  43805. "type": "integer"
  43806. },
  43807. "endTime": {
  43808. "description": "结束时间",
  43809. "type": "string"
  43810. },
  43811. "goodsCode": {
  43812. "description": "商品代码",
  43813. "type": "string"
  43814. },
  43815. "historyDatas": {
  43816. "description": "历史数据",
  43817. "type": "array",
  43818. "items": {
  43819. "$ref": "#/definitions/quote.HistoryData"
  43820. }
  43821. },
  43822. "outGoodsCode": {
  43823. "description": "外部商品代码",
  43824. "type": "string"
  43825. },
  43826. "preSettle": {
  43827. "description": "昨结价",
  43828. "type": "number"
  43829. },
  43830. "runSteps": {
  43831. "description": "交易日开休市计划",
  43832. "type": "array",
  43833. "items": {
  43834. "$ref": "#/definitions/quote.TSDataRunStep"
  43835. }
  43836. },
  43837. "startTime": {
  43838. "description": "开始时间",
  43839. "type": "string"
  43840. },
  43841. "tradeDate": {
  43842. "description": "交易日",
  43843. "type": "string"
  43844. }
  43845. }
  43846. },
  43847. "quote.TSDataRunStep": {
  43848. "type": "object",
  43849. "properties": {
  43850. "end": {
  43851. "description": "真实结束时间",
  43852. "type": "string"
  43853. },
  43854. "endflag": {
  43855. "description": "结束日标识 - (-1:上日 0:当日 1:次日 )",
  43856. "type": "integer"
  43857. },
  43858. "endtime": {
  43859. "description": "结束时间(HH:mm)",
  43860. "type": "string"
  43861. },
  43862. "endweekday": {
  43863. "description": "结束周几",
  43864. "type": "integer"
  43865. },
  43866. "groupid": {
  43867. "description": "分组ID",
  43868. "type": "integer"
  43869. },
  43870. "runstep": {
  43871. "description": "运行阶段 - 2:连续交易",
  43872. "type": "integer"
  43873. },
  43874. "sectionid": {
  43875. "description": "从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几",
  43876. "type": "integer"
  43877. },
  43878. "start": {
  43879. "description": "真实开始时间",
  43880. "type": "string"
  43881. },
  43882. "startflag": {
  43883. "description": "开始日标识 - (-1:上日 0:当日 1:次日 )",
  43884. "type": "integer"
  43885. },
  43886. "starttime": {
  43887. "description": "起始时间(HH:mm)",
  43888. "type": "string"
  43889. },
  43890. "startweekday": {
  43891. "description": "起始周几",
  43892. "type": "integer"
  43893. },
  43894. "tradeweekday": {
  43895. "description": "交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六",
  43896. "type": "integer"
  43897. }
  43898. }
  43899. },
  43900. "szdz.QueryConvertLogRsp": {
  43901. "type": "object",
  43902. "required": [
  43903. "logid"
  43904. ],
  43905. "properties": {
  43906. "accountid": {
  43907. "description": "资金账户ID",
  43908. "type": "integer"
  43909. },
  43910. "clientticket": {
  43911. "description": "客户端流水号",
  43912. "type": "string"
  43913. },
  43914. "converttype": {
  43915. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  43916. "type": "integer"
  43917. },
  43918. "createtime": {
  43919. "description": "记账时间",
  43920. "type": "string"
  43921. },
  43922. "daymaxvalue": {
  43923. "description": "配置当日最大转入限制",
  43924. "type": "number"
  43925. },
  43926. "daymaxvalue2": {
  43927. "description": "配置当日最大转入限制(转入)",
  43928. "type": "number"
  43929. },
  43930. "goodscode": {
  43931. "description": "商品代码",
  43932. "type": "string"
  43933. },
  43934. "goodsname": {
  43935. "description": "商品名称",
  43936. "type": "string"
  43937. },
  43938. "handlestatus": {
  43939. "description": "处理状态",
  43940. "type": "integer"
  43941. },
  43942. "innergoodsid": {
  43943. "description": "内部商品ID",
  43944. "type": "integer"
  43945. },
  43946. "inratio": {
  43947. "description": "配置转入比值",
  43948. "type": "integer"
  43949. },
  43950. "invalue": {
  43951. "description": "目标值",
  43952. "type": "number"
  43953. },
  43954. "logid": {
  43955. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  43956. "type": "integer"
  43957. },
  43958. "mobile": {
  43959. "description": "手机号码(加密存储)",
  43960. "type": "string"
  43961. },
  43962. "outergoodscode": {
  43963. "description": "外部商品代码[JD\\PD]",
  43964. "type": "string"
  43965. },
  43966. "outratio": {
  43967. "description": "配置转出比值",
  43968. "type": "integer"
  43969. },
  43970. "outvalue": {
  43971. "description": "源值",
  43972. "type": "number"
  43973. },
  43974. "pddecimalplace": {
  43975. "description": "PD小数位",
  43976. "type": "integer"
  43977. },
  43978. "qty": {
  43979. "description": "数量",
  43980. "type": "string"
  43981. },
  43982. "remark": {
  43983. "description": "备注",
  43984. "type": "string"
  43985. },
  43986. "sessionid": {
  43987. "description": "会话ID",
  43988. "type": "integer"
  43989. },
  43990. "timemaxvalue": {
  43991. "description": "配置单次最大转入限制",
  43992. "type": "number"
  43993. },
  43994. "timemaxvalue2": {
  43995. "description": "配置单次最大转入限制(转入)",
  43996. "type": "number"
  43997. },
  43998. "timeminvalue": {
  43999. "description": "配置单次最小数量限制",
  44000. "type": "number"
  44001. },
  44002. "timeminvalue2": {
  44003. "description": "配置单次最小数量限制(转入)",
  44004. "type": "number"
  44005. },
  44006. "tradedate": {
  44007. "description": "交易日(yyyyMMdd)",
  44008. "type": "string"
  44009. },
  44010. "userid": {
  44011. "description": "用户ID",
  44012. "type": "integer"
  44013. }
  44014. }
  44015. },
  44016. "szdz.QueryGoodsPickupRsp": {
  44017. "type": "object",
  44018. "required": [
  44019. "takeorderid"
  44020. ],
  44021. "properties": {
  44022. "accountid": {
  44023. "description": "账户ID",
  44024. "type": "integer"
  44025. },
  44026. "address": {
  44027. "description": "提货人详细地址",
  44028. "type": "string"
  44029. },
  44030. "auditer": {
  44031. "description": "审核人",
  44032. "type": "integer"
  44033. },
  44034. "audittime": {
  44035. "description": "审核时间",
  44036. "type": "string"
  44037. },
  44038. "cardnum": {
  44039. "description": "提货人证件号码",
  44040. "type": "string"
  44041. },
  44042. "cardtypeid": {
  44043. "description": "提货人证件类型",
  44044. "type": "integer"
  44045. },
  44046. "checkremark": {
  44047. "description": "审核备注",
  44048. "type": "string"
  44049. },
  44050. "goodscode": {
  44051. "description": "商品代码",
  44052. "type": "string"
  44053. },
  44054. "goodsid": {
  44055. "description": "商品ID",
  44056. "type": "integer"
  44057. },
  44058. "goodsname": {
  44059. "description": "商品名称",
  44060. "type": "string"
  44061. },
  44062. "handlestatus": {
  44063. "description": "处理状态",
  44064. "type": "integer"
  44065. },
  44066. "marketid": {
  44067. "description": "市场ID",
  44068. "type": "integer"
  44069. },
  44070. "phonenum": {
  44071. "description": "提货人联系方式",
  44072. "type": "string"
  44073. },
  44074. "qty": {
  44075. "description": "提货数量",
  44076. "type": "number"
  44077. },
  44078. "recivername": {
  44079. "description": "提货人姓名",
  44080. "type": "string"
  44081. },
  44082. "reqtime": {
  44083. "description": "更新时间",
  44084. "type": "string"
  44085. },
  44086. "takemode": {
  44087. "description": "提货方式 - 2:自提 3:配送",
  44088. "type": "integer"
  44089. },
  44090. "takeorderid": {
  44091. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  44092. "type": "string"
  44093. },
  44094. "takeorderstatus": {
  44095. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  44096. "type": "integer"
  44097. },
  44098. "takeremark": {
  44099. "description": "提货备注",
  44100. "type": "string"
  44101. },
  44102. "tradedate": {
  44103. "description": "交易日(yyyyMMdd)",
  44104. "type": "string"
  44105. },
  44106. "userid": {
  44107. "description": "用户ID",
  44108. "type": "integer"
  44109. }
  44110. }
  44111. },
  44112. "szdz.QueryRecieptOrderRsp": {
  44113. "type": "object",
  44114. "required": [
  44115. "ordertime"
  44116. ],
  44117. "properties": {
  44118. "accountName": {
  44119. "description": "所属账号名称(已脱敏)",
  44120. "type": "string"
  44121. },
  44122. "accountid": {
  44123. "description": "资金账号",
  44124. "type": "integer"
  44125. },
  44126. "buyorsell": {
  44127. "description": "方向 - 0:买 1:卖",
  44128. "type": "integer"
  44129. },
  44130. "enableqty": {
  44131. "description": "可摘数量",
  44132. "type": "integer"
  44133. },
  44134. "goodscode": {
  44135. "description": "商品代码",
  44136. "type": "string"
  44137. },
  44138. "goodsid": {
  44139. "description": "商品ID",
  44140. "type": "integer"
  44141. },
  44142. "goodsname": {
  44143. "description": "商品名称",
  44144. "type": "string"
  44145. },
  44146. "orderid": {
  44147. "description": "委托单号",
  44148. "type": "string"
  44149. },
  44150. "orderprice": {
  44151. "description": "委托价格",
  44152. "type": "number"
  44153. },
  44154. "ordertime": {
  44155. "description": "委托时间",
  44156. "type": "string"
  44157. },
  44158. "tradedate": {
  44159. "description": "交易日(yyyyMMdd)",
  44160. "type": "string"
  44161. }
  44162. }
  44163. },
  44164. "szdz.QuerySZDZTradePositionRsp": {
  44165. "type": "object",
  44166. "properties": {
  44167. "accountid": {
  44168. "description": "账号Id",
  44169. "type": "integer"
  44170. },
  44171. "agreeunit": {
  44172. "description": "合约单位",
  44173. "type": "number"
  44174. },
  44175. "averageprice": {
  44176. "description": "持仓均价",
  44177. "type": "number"
  44178. },
  44179. "buyorsell": {
  44180. "description": "方向 - 0:买 1:卖",
  44181. "type": "integer"
  44182. },
  44183. "closetotalqty": {
  44184. "description": "平仓总数量",
  44185. "type": "integer"
  44186. },
  44187. "curholderamount": {
  44188. "description": "当前持仓总金额",
  44189. "type": "number"
  44190. },
  44191. "curpositionqty": {
  44192. "description": "当前持仓总数量",
  44193. "type": "integer"
  44194. },
  44195. "currencyid": {
  44196. "description": "报价货币ID",
  44197. "type": "integer"
  44198. },
  44199. "curtdposition": {
  44200. "description": "期末今日头寸",
  44201. "type": "integer"
  44202. },
  44203. "decimalplace": {
  44204. "description": "报价小数位",
  44205. "type": "integer"
  44206. },
  44207. "enableqty": {
  44208. "description": "可用量",
  44209. "type": "integer"
  44210. },
  44211. "fretdposition": {
  44212. "description": "冻结今日头寸",
  44213. "type": "integer"
  44214. },
  44215. "frozenqty": {
  44216. "description": "持仓冻结数量",
  44217. "type": "integer"
  44218. },
  44219. "goodscode": {
  44220. "description": "商品代码(内部)",
  44221. "type": "string"
  44222. },
  44223. "goodsid": {
  44224. "description": "商品Id",
  44225. "type": "integer"
  44226. },
  44227. "goodsname": {
  44228. "description": "商品名称",
  44229. "type": "string"
  44230. },
  44231. "goodunit": {
  44232. "description": "报价单位",
  44233. "type": "string"
  44234. },
  44235. "goodunitid": {
  44236. "description": "报价单位ID",
  44237. "type": "integer"
  44238. },
  44239. "holderamount": {
  44240. "description": "期初持仓总金额",
  44241. "type": "number"
  44242. },
  44243. "marketid": {
  44244. "description": "市场ID",
  44245. "type": "integer"
  44246. },
  44247. "openreqqty": {
  44248. "description": "开仓申请数量",
  44249. "type": "integer"
  44250. },
  44251. "opentotalqty": {
  44252. "description": "开仓总数量",
  44253. "type": "integer"
  44254. },
  44255. "otherfrozenqty": {
  44256. "description": "持仓其他冻结数量(交割冻结)",
  44257. "type": "integer"
  44258. },
  44259. "positionqty": {
  44260. "description": "期初持仓数量",
  44261. "type": "integer"
  44262. },
  44263. "szdz3freezqty": {
  44264. "description": "尚志大宗转换冻结总数量",
  44265. "type": "integer"
  44266. },
  44267. "tnqty": {
  44268. "description": "T+N冻结总量",
  44269. "type": "integer"
  44270. },
  44271. "tnusedqty": {
  44272. "description": "T+N使用量",
  44273. "type": "integer"
  44274. },
  44275. "trademode": {
  44276. "description": "交易模式",
  44277. "type": "integer"
  44278. },
  44279. "usedmargin": {
  44280. "description": "占用保证金",
  44281. "type": "number"
  44282. }
  44283. }
  44284. },
  44285. "taaccount.QueryAmountLogRsp": {
  44286. "type": "object",
  44287. "required": [
  44288. "accountid",
  44289. "amount",
  44290. "amountadjusttype",
  44291. "autoid",
  44292. "balance",
  44293. "createtime",
  44294. "currentbalance",
  44295. "operatetype"
  44296. ],
  44297. "properties": {
  44298. "OPERATETYPENAME": {
  44299. "description": "资金操作类型名称",
  44300. "type": "string"
  44301. },
  44302. "accountid": {
  44303. "description": "资金账户ID",
  44304. "type": "integer"
  44305. },
  44306. "agoodscode": {
  44307. "description": "竞拍商品代码",
  44308. "type": "string"
  44309. },
  44310. "agoodsname": {
  44311. "description": "竞拍商品名称",
  44312. "type": "string"
  44313. },
  44314. "amount": {
  44315. "description": "资金金额",
  44316. "type": "number"
  44317. },
  44318. "amountadjusttype": {
  44319. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  44320. "type": "integer"
  44321. },
  44322. "autoid": {
  44323. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  44324. "type": "integer"
  44325. },
  44326. "balance": {
  44327. "description": "期初余额",
  44328. "type": "number"
  44329. },
  44330. "businesscode": {
  44331. "description": "业务编号",
  44332. "type": "integer"
  44333. },
  44334. "createtime": {
  44335. "description": "发生时间",
  44336. "type": "string"
  44337. },
  44338. "currencyid": {
  44339. "description": "币种ID",
  44340. "type": "integer"
  44341. },
  44342. "currentbalance": {
  44343. "description": "期末余额(变动后金额)",
  44344. "type": "number"
  44345. },
  44346. "dgoodscode": {
  44347. "description": "交割商品代码",
  44348. "type": "string"
  44349. },
  44350. "dgoodsname": {
  44351. "description": "交割商品名称",
  44352. "type": "string"
  44353. },
  44354. "goodscode": {
  44355. "description": "商品代码",
  44356. "type": "string"
  44357. },
  44358. "goodsid": {
  44359. "description": "商品ID",
  44360. "type": "integer"
  44361. },
  44362. "goodsname": {
  44363. "description": "商品名称",
  44364. "type": "string"
  44365. },
  44366. "marketid": {
  44367. "description": "市场ID",
  44368. "type": "integer"
  44369. },
  44370. "marketname": {
  44371. "description": "市场名称",
  44372. "type": "string"
  44373. },
  44374. "moneyticket": {
  44375. "description": "资金流水号:银行端流水号",
  44376. "type": "integer"
  44377. },
  44378. "operatetype": {
  44379. "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:营销收款",
  44380. "type": "integer"
  44381. },
  44382. "relationorderid": {
  44383. "description": "关联单号",
  44384. "type": "string"
  44385. },
  44386. "remark": {
  44387. "description": "备注",
  44388. "type": "string"
  44389. },
  44390. "trademode": {
  44391. "description": "交易模式",
  44392. "type": "integer"
  44393. }
  44394. }
  44395. },
  44396. "taaccount.QueryHisAmountLogRsp": {
  44397. "type": "object",
  44398. "required": [
  44399. "accountid",
  44400. "amount",
  44401. "amountadjusttype",
  44402. "autoid",
  44403. "balance",
  44404. "createtime",
  44405. "currentbalance",
  44406. "histradedate",
  44407. "operatetype"
  44408. ],
  44409. "properties": {
  44410. "OPERATETYPENAME": {
  44411. "description": "资金操作类型名称",
  44412. "type": "string"
  44413. },
  44414. "accountid": {
  44415. "description": "资金账户ID",
  44416. "type": "integer"
  44417. },
  44418. "agoodscode": {
  44419. "description": "竞拍商品代码",
  44420. "type": "string"
  44421. },
  44422. "agoodsname": {
  44423. "description": "竞拍商品名称",
  44424. "type": "string"
  44425. },
  44426. "amount": {
  44427. "description": "资金金额",
  44428. "type": "number"
  44429. },
  44430. "amountadjusttype": {
  44431. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  44432. "type": "integer"
  44433. },
  44434. "autoid": {
  44435. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  44436. "type": "integer"
  44437. },
  44438. "balance": {
  44439. "description": "期初余额",
  44440. "type": "number"
  44441. },
  44442. "businesscode": {
  44443. "description": "业务编号",
  44444. "type": "integer"
  44445. },
  44446. "createtime": {
  44447. "description": "发生时间",
  44448. "type": "string"
  44449. },
  44450. "currencyid": {
  44451. "description": "币种ID",
  44452. "type": "integer"
  44453. },
  44454. "currentbalance": {
  44455. "description": "期末余额(变动后金额)",
  44456. "type": "number"
  44457. },
  44458. "dgoodscode": {
  44459. "description": "交割商品代码",
  44460. "type": "string"
  44461. },
  44462. "dgoodsname": {
  44463. "description": "交割商品名称",
  44464. "type": "string"
  44465. },
  44466. "goodscode": {
  44467. "description": "商品代码",
  44468. "type": "string"
  44469. },
  44470. "goodsid": {
  44471. "description": "商品ID",
  44472. "type": "integer"
  44473. },
  44474. "goodsname": {
  44475. "description": "商品名称",
  44476. "type": "string"
  44477. },
  44478. "histradedate": {
  44479. "description": "历史交易日",
  44480. "type": "string"
  44481. },
  44482. "isvaliddata": {
  44483. "description": "是否有效 - 0:无效 1:有效",
  44484. "type": "integer"
  44485. },
  44486. "marketid": {
  44487. "description": "市场ID",
  44488. "type": "integer"
  44489. },
  44490. "marketname": {
  44491. "description": "市场名称",
  44492. "type": "string"
  44493. },
  44494. "moneyticket": {
  44495. "description": "资金流水号:银行端流水号",
  44496. "type": "integer"
  44497. },
  44498. "operatetype": {
  44499. "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:营销收款",
  44500. "type": "integer"
  44501. },
  44502. "relationorderid": {
  44503. "description": "关联单号",
  44504. "type": "string"
  44505. },
  44506. "remark": {
  44507. "description": "备注",
  44508. "type": "string"
  44509. },
  44510. "trademode": {
  44511. "description": "交易模式",
  44512. "type": "integer"
  44513. }
  44514. }
  44515. },
  44516. "trade.QueryRecieptOrderRsp": {
  44517. "type": "object",
  44518. "required": [
  44519. "ordertime"
  44520. ],
  44521. "properties": {
  44522. "accountName": {
  44523. "description": "所属账号名称(已脱敏)",
  44524. "type": "string"
  44525. },
  44526. "accountid": {
  44527. "description": "资金账号",
  44528. "type": "integer"
  44529. },
  44530. "buyorsell": {
  44531. "description": "方向 - 0:买 1:卖",
  44532. "type": "integer"
  44533. },
  44534. "enableqty": {
  44535. "description": "可摘数量",
  44536. "type": "integer"
  44537. },
  44538. "goodscode": {
  44539. "description": "商品代码",
  44540. "type": "string"
  44541. },
  44542. "goodsid": {
  44543. "description": "商品ID",
  44544. "type": "integer"
  44545. },
  44546. "goodsname": {
  44547. "description": "商品名称",
  44548. "type": "string"
  44549. },
  44550. "orderid": {
  44551. "description": "委托单号",
  44552. "type": "string"
  44553. },
  44554. "orderprice": {
  44555. "description": "委托价格",
  44556. "type": "number"
  44557. },
  44558. "ordertime": {
  44559. "description": "委托时间",
  44560. "type": "string"
  44561. },
  44562. "tradedate": {
  44563. "description": "交易日(yyyyMMdd)",
  44564. "type": "string"
  44565. }
  44566. }
  44567. },
  44568. "user.LoginQueryRsp": {
  44569. "type": "object",
  44570. "properties": {
  44571. "areaRoles": {
  44572. "description": "所属角色信息",
  44573. "type": "array",
  44574. "items": {
  44575. "$ref": "#/definitions/models.Arearole"
  44576. }
  44577. },
  44578. "externalExchanges": {
  44579. "description": "外部交易所",
  44580. "type": "array",
  44581. "items": {
  44582. "$ref": "#/definitions/models.Externalexchange"
  44583. }
  44584. },
  44585. "goodsgroups": {
  44586. "description": "商品组",
  44587. "type": "array",
  44588. "items": {
  44589. "$ref": "#/definitions/models.Goodsgroup"
  44590. }
  44591. },
  44592. "loginAccount": {
  44593. "description": "登录账号",
  44594. "$ref": "#/definitions/models.Loginaccount"
  44595. },
  44596. "markets": {
  44597. "description": "市场",
  44598. "type": "array",
  44599. "items": {
  44600. "$ref": "#/definitions/models.Market"
  44601. }
  44602. },
  44603. "systemParams": {
  44604. "description": "系统参数",
  44605. "type": "array",
  44606. "items": {
  44607. "$ref": "#/definitions/models.Systemparam"
  44608. }
  44609. },
  44610. "userAccount": {
  44611. "description": "用户账号",
  44612. "$ref": "#/definitions/models.Useraccount"
  44613. },
  44614. "userInfo": {
  44615. "description": "用户信息",
  44616. "$ref": "#/definitions/models.Userinfo"
  44617. },
  44618. "username": {
  44619. "description": "用户姓名",
  44620. "type": "string"
  44621. }
  44622. }
  44623. }
  44624. },
  44625. "securityDefinitions": {
  44626. "ApiKeyAuth": {
  44627. "type": "apiKey",
  44628. "name": "Authorization",
  44629. "in": "header"
  44630. }
  44631. }
  44632. }`
  44633. type swaggerInfo struct {
  44634. Version string
  44635. Host string
  44636. BasePath string
  44637. Schemes []string
  44638. Title string
  44639. Description string
  44640. }
  44641. // SwaggerInfo holds exported Swagger Info so clients can modify it
  44642. var SwaggerInfo = swaggerInfo{
  44643. Version: "1.0",
  44644. Host: "",
  44645. BasePath: "/api",
  44646. Schemes: []string{},
  44647. Title: "MTP2.0 查询服务 API",
  44648. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  44649. }
  44650. type s struct{}
  44651. func (s *s) ReadDoc() string {
  44652. sInfo := SwaggerInfo
  44653. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  44654. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  44655. "marshal": func(v interface{}) string {
  44656. a, _ := json.Marshal(v)
  44657. return string(a)
  44658. },
  44659. }).Parse(doc)
  44660. if err != nil {
  44661. return doc
  44662. }
  44663. var tpl bytes.Buffer
  44664. if err := t.Execute(&tpl, sInfo); err != nil {
  44665. return doc
  44666. }
  44667. return tpl.String()
  44668. }
  44669. func init() {
  44670. swag.Register(swag.Name, &s{})
  44671. }