docs.go 1.6 MB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635256362563725638256392564025641256422564325644256452564625647256482564925650256512565225653256542565525656256572565825659256602566125662256632566425665256662566725668256692567025671256722567325674256752567625677256782567925680256812568225683256842568525686256872568825689256902569125692256932569425695256962569725698256992570025701257022570325704257052570625707257082570925710257112571225713257142571525716257172571825719257202572125722257232572425725257262572725728257292573025731257322573325734257352573625737257382573925740257412574225743257442574525746257472574825749257502575125752257532575425755257562575725758257592576025761257622576325764257652576625767257682576925770257712577225773257742577525776257772577825779257802578125782257832578425785257862578725788257892579025791257922579325794257952579625797257982579925800258012580225803258042580525806258072580825809258102581125812258132581425815258162581725818258192582025821258222582325824258252582625827258282582925830258312583225833258342583525836258372583825839258402584125842258432584425845258462584725848258492585025851258522585325854258552585625857258582585925860258612586225863258642586525866258672586825869258702587125872258732587425875258762587725878258792588025881258822588325884258852588625887258882588925890258912589225893258942589525896258972589825899259002590125902259032590425905259062590725908259092591025911259122591325914259152591625917259182591925920259212592225923259242592525926259272592825929259302593125932259332593425935259362593725938259392594025941259422594325944259452594625947259482594925950259512595225953259542595525956259572595825959259602596125962259632596425965259662596725968259692597025971259722597325974259752597625977259782597925980259812598225983259842598525986259872598825989259902599125992259932599425995259962599725998259992600026001260022600326004260052600626007260082600926010260112601226013260142601526016260172601826019260202602126022260232602426025260262602726028260292603026031260322603326034260352603626037260382603926040260412604226043260442604526046260472604826049260502605126052260532605426055260562605726058260592606026061260622606326064260652606626067260682606926070260712607226073260742607526076260772607826079260802608126082260832608426085260862608726088260892609026091260922609326094260952609626097260982609926100261012610226103261042610526106261072610826109261102611126112261132611426115261162611726118261192612026121261222612326124261252612626127261282612926130261312613226133261342613526136261372613826139261402614126142261432614426145261462614726148261492615026151261522615326154261552615626157261582615926160261612616226163261642616526166261672616826169261702617126172261732617426175261762617726178261792618026181261822618326184261852618626187261882618926190261912619226193261942619526196261972619826199262002620126202262032620426205262062620726208262092621026211262122621326214262152621626217262182621926220262212622226223262242622526226262272622826229262302623126232262332623426235262362623726238262392624026241262422624326244262452624626247262482624926250262512625226253262542625526256262572625826259262602626126262262632626426265262662626726268262692627026271262722627326274262752627626277262782627926280262812628226283262842628526286262872628826289262902629126292262932629426295262962629726298262992630026301263022630326304263052630626307263082630926310263112631226313263142631526316263172631826319263202632126322263232632426325263262632726328263292633026331263322633326334263352633626337263382633926340263412634226343263442634526346263472634826349263502635126352263532635426355263562635726358263592636026361263622636326364263652636626367263682636926370263712637226373263742637526376263772637826379263802638126382263832638426385263862638726388263892639026391263922639326394263952639626397263982639926400264012640226403264042640526406264072640826409264102641126412264132641426415264162641726418264192642026421264222642326424264252642626427264282642926430264312643226433264342643526436264372643826439264402644126442264432644426445264462644726448264492645026451264522645326454264552645626457264582645926460264612646226463264642646526466264672646826469264702647126472264732647426475264762647726478264792648026481264822648326484264852648626487264882648926490264912649226493264942649526496264972649826499265002650126502265032650426505265062650726508265092651026511265122651326514265152651626517265182651926520265212652226523265242652526526265272652826529265302653126532265332653426535265362653726538265392654026541265422654326544265452654626547265482654926550265512655226553265542655526556265572655826559265602656126562265632656426565265662656726568265692657026571265722657326574265752657626577265782657926580265812658226583265842658526586265872658826589265902659126592265932659426595265962659726598265992660026601266022660326604266052660626607266082660926610266112661226613266142661526616266172661826619266202662126622266232662426625266262662726628266292663026631266322663326634266352663626637266382663926640266412664226643266442664526646266472664826649266502665126652266532665426655266562665726658266592666026661266622666326664266652666626667266682666926670266712667226673266742667526676266772667826679266802668126682266832668426685266862668726688266892669026691266922669326694266952669626697266982669926700267012670226703267042670526706267072670826709267102671126712267132671426715267162671726718267192672026721267222672326724267252672626727267282672926730267312673226733267342673526736267372673826739267402674126742267432674426745267462674726748267492675026751267522675326754267552675626757267582675926760267612676226763267642676526766267672676826769267702677126772267732677426775267762677726778267792678026781267822678326784267852678626787267882678926790267912679226793267942679526796267972679826799268002680126802268032680426805268062680726808268092681026811268122681326814268152681626817268182681926820268212682226823268242682526826268272682826829268302683126832268332683426835268362683726838268392684026841268422684326844268452684626847268482684926850268512685226853268542685526856268572685826859268602686126862268632686426865268662686726868268692687026871268722687326874268752687626877268782687926880268812688226883268842688526886268872688826889268902689126892268932689426895268962689726898268992690026901269022690326904269052690626907269082690926910269112691226913269142691526916269172691826919269202692126922269232692426925269262692726928269292693026931269322693326934269352693626937269382693926940269412694226943269442694526946269472694826949269502695126952269532695426955269562695726958269592696026961269622696326964269652696626967269682696926970269712697226973269742697526976269772697826979269802698126982269832698426985269862698726988269892699026991269922699326994269952699626997269982699927000270012700227003270042700527006270072700827009270102701127012270132701427015270162701727018270192702027021270222702327024270252702627027270282702927030270312703227033270342703527036270372703827039270402704127042270432704427045270462704727048270492705027051270522705327054270552705627057270582705927060270612706227063270642706527066270672706827069270702707127072270732707427075270762707727078270792708027081270822708327084270852708627087270882708927090270912709227093270942709527096270972709827099271002710127102271032710427105271062710727108271092711027111271122711327114271152711627117271182711927120271212712227123271242712527126271272712827129271302713127132271332713427135271362713727138271392714027141271422714327144271452714627147271482714927150271512715227153271542715527156271572715827159271602716127162271632716427165271662716727168271692717027171271722717327174271752717627177271782717927180271812718227183271842718527186271872718827189271902719127192271932719427195271962719727198271992720027201272022720327204272052720627207272082720927210272112721227213272142721527216272172721827219272202722127222272232722427225272262722727228272292723027231272322723327234272352723627237272382723927240272412724227243272442724527246272472724827249272502725127252272532725427255272562725727258272592726027261272622726327264272652726627267272682726927270272712727227273272742727527276272772727827279272802728127282272832728427285272862728727288272892729027291272922729327294272952729627297272982729927300273012730227303273042730527306273072730827309273102731127312273132731427315273162731727318273192732027321273222732327324273252732627327273282732927330273312733227333273342733527336273372733827339273402734127342273432734427345273462734727348273492735027351273522735327354273552735627357273582735927360273612736227363273642736527366273672736827369273702737127372273732737427375273762737727378273792738027381273822738327384273852738627387273882738927390273912739227393273942739527396273972739827399274002740127402274032740427405274062740727408274092741027411274122741327414274152741627417274182741927420274212742227423274242742527426274272742827429274302743127432274332743427435274362743727438274392744027441274422744327444274452744627447274482744927450274512745227453274542745527456274572745827459274602746127462274632746427465274662746727468274692747027471274722747327474274752747627477274782747927480274812748227483274842748527486274872748827489274902749127492274932749427495274962749727498274992750027501275022750327504275052750627507275082750927510275112751227513275142751527516275172751827519275202752127522275232752427525275262752727528275292753027531275322753327534275352753627537275382753927540275412754227543275442754527546275472754827549275502755127552275532755427555275562755727558275592756027561275622756327564275652756627567275682756927570275712757227573275742757527576275772757827579275802758127582275832758427585275862758727588275892759027591275922759327594275952759627597275982759927600276012760227603276042760527606276072760827609276102761127612276132761427615276162761727618276192762027621276222762327624276252762627627276282762927630276312763227633276342763527636276372763827639276402764127642276432764427645276462764727648276492765027651276522765327654276552765627657276582765927660276612766227663276642766527666276672766827669276702767127672276732767427675276762767727678276792768027681276822768327684276852768627687276882768927690276912769227693276942769527696276972769827699277002770127702277032770427705277062770727708277092771027711277122771327714277152771627717277182771927720277212772227723277242772527726277272772827729277302773127732277332773427735277362773727738277392774027741277422774327744277452774627747277482774927750277512775227753277542775527756277572775827759277602776127762277632776427765277662776727768277692777027771277722777327774277752777627777277782777927780277812778227783277842778527786277872778827789277902779127792277932779427795277962779727798277992780027801278022780327804278052780627807278082780927810278112781227813278142781527816278172781827819278202782127822278232782427825278262782727828278292783027831278322783327834278352783627837278382783927840278412784227843278442784527846278472784827849278502785127852278532785427855278562785727858278592786027861278622786327864278652786627867278682786927870278712787227873278742787527876278772787827879278802788127882278832788427885278862788727888278892789027891278922789327894278952789627897278982789927900279012790227903279042790527906279072790827909279102791127912279132791427915279162791727918279192792027921279222792327924279252792627927279282792927930279312793227933279342793527936279372793827939279402794127942279432794427945279462794727948279492795027951279522795327954279552795627957279582795927960279612796227963279642796527966279672796827969279702797127972279732797427975279762797727978279792798027981279822798327984279852798627987279882798927990279912799227993279942799527996279972799827999280002800128002280032800428005280062800728008280092801028011280122801328014280152801628017280182801928020280212802228023280242802528026280272802828029280302803128032280332803428035280362803728038280392804028041280422804328044280452804628047280482804928050280512805228053280542805528056280572805828059280602806128062280632806428065280662806728068280692807028071280722807328074280752807628077280782807928080280812808228083280842808528086280872808828089280902809128092280932809428095280962809728098280992810028101281022810328104281052810628107281082810928110281112811228113281142811528116281172811828119281202812128122281232812428125281262812728128281292813028131281322813328134281352813628137281382813928140281412814228143281442814528146281472814828149281502815128152281532815428155281562815728158281592816028161281622816328164281652816628167281682816928170281712817228173281742817528176281772817828179281802818128182281832818428185281862818728188281892819028191281922819328194281952819628197281982819928200282012820228203282042820528206282072820828209282102821128212282132821428215282162821728218282192822028221282222822328224282252822628227282282822928230282312823228233282342823528236282372823828239282402824128242282432824428245282462824728248282492825028251282522825328254282552825628257282582825928260282612826228263282642826528266282672826828269282702827128272282732827428275282762827728278282792828028281282822828328284282852828628287282882828928290282912829228293282942829528296282972829828299283002830128302283032830428305283062830728308283092831028311283122831328314283152831628317283182831928320283212832228323283242832528326283272832828329283302833128332283332833428335283362833728338283392834028341283422834328344283452834628347283482834928350283512835228353283542835528356283572835828359283602836128362283632836428365283662836728368283692837028371283722837328374283752837628377283782837928380283812838228383283842838528386283872838828389283902839128392283932839428395283962839728398283992840028401284022840328404284052840628407284082840928410284112841228413284142841528416284172841828419284202842128422284232842428425284262842728428284292843028431284322843328434284352843628437284382843928440284412844228443284442844528446284472844828449284502845128452284532845428455284562845728458284592846028461284622846328464284652846628467284682846928470284712847228473284742847528476284772847828479284802848128482284832848428485284862848728488284892849028491284922849328494284952849628497284982849928500285012850228503285042850528506285072850828509285102851128512285132851428515285162851728518285192852028521285222852328524285252852628527285282852928530285312853228533285342853528536285372853828539285402854128542285432854428545285462854728548285492855028551285522855328554285552855628557285582855928560285612856228563285642856528566285672856828569285702857128572285732857428575285762857728578285792858028581285822858328584285852858628587285882858928590285912859228593285942859528596285972859828599286002860128602286032860428605286062860728608286092861028611286122861328614286152861628617286182861928620286212862228623286242862528626286272862828629286302863128632286332863428635286362863728638286392864028641286422864328644286452864628647286482864928650286512865228653286542865528656286572865828659286602866128662286632866428665286662866728668286692867028671286722867328674286752867628677286782867928680286812868228683286842868528686286872868828689286902869128692286932869428695286962869728698286992870028701287022870328704287052870628707287082870928710287112871228713287142871528716287172871828719287202872128722287232872428725287262872728728287292873028731287322873328734287352873628737287382873928740287412874228743287442874528746287472874828749287502875128752287532875428755287562875728758287592876028761287622876328764287652876628767287682876928770287712877228773287742877528776287772877828779287802878128782287832878428785287862878728788287892879028791287922879328794287952879628797287982879928800288012880228803288042880528806288072880828809288102881128812288132881428815288162881728818288192882028821288222882328824288252882628827288282882928830288312883228833288342883528836288372883828839288402884128842288432884428845288462884728848288492885028851288522885328854288552885628857288582885928860288612886228863288642886528866288672886828869288702887128872288732887428875288762887728878288792888028881288822888328884288852888628887288882888928890288912889228893288942889528896288972889828899289002890128902289032890428905289062890728908289092891028911289122891328914289152891628917289182891928920289212892228923289242892528926289272892828929289302893128932289332893428935289362893728938289392894028941289422894328944289452894628947289482894928950289512895228953289542895528956289572895828959289602896128962289632896428965289662896728968289692897028971289722897328974289752897628977289782897928980289812898228983289842898528986289872898828989289902899128992289932899428995289962899728998289992900029001290022900329004290052900629007290082900929010290112901229013290142901529016290172901829019290202902129022290232902429025290262902729028290292903029031290322903329034290352903629037290382903929040290412904229043290442904529046290472904829049290502905129052290532905429055290562905729058290592906029061290622906329064290652906629067290682906929070290712907229073290742907529076290772907829079290802908129082290832908429085290862908729088290892909029091290922909329094290952909629097290982909929100291012910229103291042910529106291072910829109291102911129112291132911429115291162911729118291192912029121291222912329124291252912629127291282912929130291312913229133291342913529136291372913829139291402914129142291432914429145291462914729148291492915029151291522915329154291552915629157291582915929160291612916229163291642916529166291672916829169291702917129172291732917429175291762917729178291792918029181291822918329184291852918629187291882918929190291912919229193291942919529196291972919829199292002920129202292032920429205292062920729208292092921029211292122921329214292152921629217292182921929220292212922229223292242922529226292272922829229292302923129232292332923429235292362923729238292392924029241292422924329244292452924629247292482924929250292512925229253292542925529256292572925829259292602926129262292632926429265292662926729268292692927029271292722927329274292752927629277292782927929280292812928229283292842928529286292872928829289292902929129292292932929429295292962929729298292992930029301293022930329304293052930629307293082930929310293112931229313293142931529316293172931829319293202932129322293232932429325293262932729328293292933029331293322933329334293352933629337293382933929340293412934229343293442934529346293472934829349293502935129352293532935429355293562935729358293592936029361293622936329364293652936629367293682936929370293712937229373293742937529376293772937829379293802938129382293832938429385293862938729388293892939029391293922939329394293952939629397293982939929400294012940229403294042940529406294072940829409294102941129412294132941429415294162941729418294192942029421294222942329424294252942629427294282942929430294312943229433294342943529436294372943829439294402944129442294432944429445294462944729448294492945029451294522945329454294552945629457294582945929460294612946229463294642946529466294672946829469294702947129472294732947429475294762947729478294792948029481294822948329484294852948629487294882948929490294912949229493294942949529496294972949829499295002950129502295032950429505295062950729508295092951029511295122951329514295152951629517295182951929520295212952229523295242952529526295272952829529295302953129532295332953429535295362953729538295392954029541295422954329544295452954629547295482954929550295512955229553295542955529556295572955829559295602956129562295632956429565295662956729568295692957029571295722957329574295752957629577295782957929580295812958229583295842958529586295872958829589295902959129592295932959429595295962959729598295992960029601296022960329604296052960629607296082960929610296112961229613296142961529616296172961829619296202962129622296232962429625296262962729628296292963029631296322963329634296352963629637296382963929640296412964229643296442964529646296472964829649296502965129652296532965429655296562965729658296592966029661296622966329664296652966629667296682966929670296712967229673296742967529676296772967829679296802968129682296832968429685296862968729688296892969029691296922969329694296952969629697296982969929700297012970229703297042970529706297072970829709297102971129712297132971429715297162971729718297192972029721297222972329724297252972629727297282972929730297312973229733297342973529736297372973829739297402974129742297432974429745297462974729748297492975029751297522975329754297552975629757297582975929760297612976229763297642976529766297672976829769297702977129772297732977429775297762977729778297792978029781297822978329784297852978629787297882978929790297912979229793297942979529796297972979829799298002980129802298032980429805298062980729808298092981029811298122981329814298152981629817298182981929820298212982229823298242982529826298272982829829298302983129832298332983429835298362983729838298392984029841298422984329844298452984629847298482984929850298512985229853298542985529856298572985829859298602986129862298632986429865298662986729868298692987029871298722987329874298752987629877298782987929880298812988229883298842988529886298872988829889298902989129892298932989429895298962989729898298992990029901299022990329904299052990629907299082990929910299112991229913299142991529916299172991829919299202992129922299232992429925299262992729928299292993029931299322993329934299352993629937299382993929940299412994229943299442994529946299472994829949299502995129952299532995429955299562995729958299592996029961299622996329964299652996629967299682996929970299712997229973299742997529976299772997829979299802998129982299832998429985299862998729988299892999029991299922999329994299952999629997299982999930000300013000230003300043000530006300073000830009300103001130012300133001430015300163001730018300193002030021300223002330024300253002630027300283002930030300313003230033300343003530036300373003830039300403004130042300433004430045300463004730048300493005030051300523005330054300553005630057300583005930060300613006230063300643006530066300673006830069300703007130072300733007430075300763007730078300793008030081300823008330084300853008630087300883008930090300913009230093300943009530096300973009830099301003010130102301033010430105301063010730108301093011030111301123011330114301153011630117301183011930120301213012230123301243012530126301273012830129301303013130132301333013430135301363013730138301393014030141301423014330144301453014630147301483014930150301513015230153301543015530156301573015830159301603016130162301633016430165301663016730168301693017030171301723017330174301753017630177301783017930180301813018230183301843018530186301873018830189301903019130192301933019430195301963019730198301993020030201302023020330204302053020630207302083020930210302113021230213302143021530216302173021830219302203022130222302233022430225302263022730228302293023030231302323023330234302353023630237302383023930240302413024230243302443024530246302473024830249302503025130252302533025430255302563025730258302593026030261302623026330264302653026630267302683026930270302713027230273302743027530276302773027830279302803028130282302833028430285302863028730288302893029030291302923029330294302953029630297302983029930300303013030230303303043030530306303073030830309303103031130312303133031430315303163031730318303193032030321303223032330324303253032630327303283032930330303313033230333303343033530336303373033830339303403034130342303433034430345303463034730348303493035030351303523035330354303553035630357303583035930360303613036230363303643036530366303673036830369303703037130372303733037430375303763037730378303793038030381303823038330384303853038630387303883038930390303913039230393303943039530396303973039830399304003040130402304033040430405304063040730408304093041030411304123041330414304153041630417304183041930420304213042230423304243042530426304273042830429304303043130432304333043430435304363043730438304393044030441304423044330444304453044630447304483044930450304513045230453304543045530456304573045830459304603046130462304633046430465304663046730468304693047030471304723047330474304753047630477304783047930480304813048230483304843048530486304873048830489304903049130492304933049430495304963049730498304993050030501305023050330504305053050630507305083050930510305113051230513305143051530516305173051830519305203052130522305233052430525305263052730528305293053030531305323053330534305353053630537305383053930540305413054230543305443054530546305473054830549305503055130552305533055430555305563055730558305593056030561305623056330564305653056630567305683056930570305713057230573305743057530576305773057830579305803058130582305833058430585305863058730588305893059030591305923059330594305953059630597305983059930600306013060230603306043060530606306073060830609306103061130612306133061430615306163061730618306193062030621306223062330624306253062630627306283062930630306313063230633306343063530636306373063830639306403064130642306433064430645306463064730648306493065030651306523065330654306553065630657306583065930660306613066230663306643066530666306673066830669306703067130672306733067430675306763067730678306793068030681306823068330684306853068630687306883068930690306913069230693306943069530696306973069830699307003070130702307033070430705307063070730708307093071030711307123071330714307153071630717307183071930720307213072230723307243072530726307273072830729307303073130732307333073430735307363073730738307393074030741307423074330744307453074630747307483074930750307513075230753307543075530756307573075830759307603076130762307633076430765307663076730768307693077030771307723077330774307753077630777307783077930780307813078230783307843078530786307873078830789307903079130792307933079430795307963079730798307993080030801308023080330804308053080630807308083080930810308113081230813308143081530816308173081830819308203082130822308233082430825308263082730828308293083030831308323083330834308353083630837308383083930840308413084230843308443084530846308473084830849308503085130852308533085430855308563085730858308593086030861308623086330864308653086630867308683086930870308713087230873308743087530876308773087830879308803088130882308833088430885308863088730888308893089030891308923089330894308953089630897308983089930900309013090230903309043090530906309073090830909309103091130912309133091430915309163091730918309193092030921309223092330924309253092630927309283092930930309313093230933309343093530936309373093830939309403094130942309433094430945309463094730948309493095030951309523095330954309553095630957309583095930960309613096230963309643096530966309673096830969309703097130972309733097430975309763097730978309793098030981309823098330984309853098630987309883098930990309913099230993309943099530996309973099830999310003100131002310033100431005310063100731008310093101031011310123101331014310153101631017310183101931020310213102231023310243102531026310273102831029310303103131032310333103431035310363103731038310393104031041310423104331044310453104631047310483104931050310513105231053310543105531056310573105831059310603106131062310633106431065310663106731068310693107031071310723107331074310753107631077310783107931080310813108231083310843108531086310873108831089310903109131092310933109431095310963109731098310993110031101311023110331104311053110631107311083110931110311113111231113311143111531116311173111831119311203112131122311233112431125311263112731128311293113031131311323113331134311353113631137311383113931140311413114231143311443114531146311473114831149311503115131152311533115431155311563115731158311593116031161311623116331164311653116631167311683116931170311713117231173311743117531176311773117831179311803118131182311833118431185311863118731188311893119031191311923119331194311953119631197311983119931200312013120231203312043120531206312073120831209312103121131212312133121431215312163121731218312193122031221312223122331224312253122631227312283122931230312313123231233312343123531236312373123831239312403124131242312433124431245312463124731248312493125031251312523125331254312553125631257312583125931260312613126231263312643126531266312673126831269312703127131272312733127431275312763127731278312793128031281312823128331284312853128631287312883128931290312913129231293312943129531296312973129831299313003130131302313033130431305313063130731308313093131031311313123131331314313153131631317313183131931320313213132231323313243132531326313273132831329313303133131332313333133431335313363133731338313393134031341313423134331344313453134631347313483134931350313513135231353313543135531356313573135831359313603136131362313633136431365313663136731368313693137031371313723137331374313753137631377313783137931380313813138231383313843138531386313873138831389313903139131392313933139431395313963139731398313993140031401314023140331404314053140631407314083140931410314113141231413314143141531416314173141831419314203142131422314233142431425314263142731428314293143031431314323143331434314353143631437314383143931440314413144231443314443144531446314473144831449314503145131452314533145431455314563145731458314593146031461314623146331464314653146631467314683146931470314713147231473314743147531476314773147831479314803148131482314833148431485314863148731488314893149031491314923149331494314953149631497314983149931500315013150231503315043150531506315073150831509315103151131512315133151431515315163151731518315193152031521315223152331524315253152631527315283152931530315313153231533315343153531536315373153831539315403154131542315433154431545315463154731548315493155031551315523155331554315553155631557315583155931560315613156231563315643156531566315673156831569315703157131572315733157431575315763157731578315793158031581315823158331584315853158631587315883158931590315913159231593315943159531596315973159831599316003160131602316033160431605316063160731608316093161031611316123161331614316153161631617316183161931620316213162231623316243162531626316273162831629316303163131632316333163431635316363163731638316393164031641316423164331644316453164631647316483164931650316513165231653316543165531656316573165831659316603166131662316633166431665316663166731668316693167031671316723167331674316753167631677316783167931680316813168231683316843168531686316873168831689316903169131692316933169431695316963169731698316993170031701317023170331704317053170631707317083170931710317113171231713317143171531716317173171831719317203172131722317233172431725317263172731728317293173031731317323173331734317353173631737317383173931740317413174231743317443174531746317473174831749317503175131752317533175431755317563175731758317593176031761317623176331764317653176631767317683176931770317713177231773317743177531776317773177831779317803178131782317833178431785317863178731788317893179031791317923179331794317953179631797317983179931800318013180231803318043180531806318073180831809318103181131812318133181431815318163181731818318193182031821318223182331824318253182631827318283182931830318313183231833318343183531836318373183831839318403184131842318433184431845318463184731848318493185031851318523185331854318553185631857318583185931860318613186231863318643186531866318673186831869318703187131872318733187431875318763187731878318793188031881318823188331884318853188631887318883188931890318913189231893318943189531896318973189831899319003190131902319033190431905319063190731908319093191031911319123191331914319153191631917319183191931920319213192231923319243192531926319273192831929319303193131932319333193431935319363193731938319393194031941319423194331944319453194631947319483194931950319513195231953319543195531956319573195831959319603196131962319633196431965319663196731968319693197031971319723197331974319753197631977319783197931980319813198231983319843198531986319873198831989319903199131992319933199431995319963199731998319993200032001320023200332004320053200632007320083200932010320113201232013320143201532016320173201832019320203202132022320233202432025320263202732028320293203032031320323203332034320353203632037320383203932040320413204232043320443204532046320473204832049320503205132052320533205432055320563205732058320593206032061320623206332064320653206632067320683206932070320713207232073320743207532076320773207832079320803208132082320833208432085320863208732088320893209032091320923209332094320953209632097320983209932100321013210232103321043210532106321073210832109321103211132112321133211432115321163211732118321193212032121321223212332124321253212632127321283212932130321313213232133321343213532136321373213832139321403214132142321433214432145321463214732148321493215032151321523215332154321553215632157321583215932160321613216232163321643216532166321673216832169321703217132172321733217432175321763217732178321793218032181321823218332184321853218632187321883218932190321913219232193321943219532196321973219832199322003220132202322033220432205322063220732208322093221032211322123221332214322153221632217322183221932220322213222232223322243222532226322273222832229322303223132232322333223432235322363223732238322393224032241322423224332244322453224632247322483224932250322513225232253322543225532256322573225832259322603226132262322633226432265322663226732268322693227032271322723227332274322753227632277322783227932280322813228232283322843228532286322873228832289322903229132292322933229432295322963229732298322993230032301323023230332304323053230632307323083230932310323113231232313323143231532316323173231832319323203232132322323233232432325323263232732328323293233032331323323233332334323353233632337323383233932340323413234232343323443234532346323473234832349323503235132352323533235432355323563235732358323593236032361323623236332364323653236632367323683236932370323713237232373323743237532376323773237832379323803238132382323833238432385323863238732388323893239032391323923239332394323953239632397323983239932400324013240232403324043240532406324073240832409324103241132412324133241432415324163241732418324193242032421324223242332424324253242632427324283242932430324313243232433324343243532436324373243832439324403244132442324433244432445324463244732448324493245032451324523245332454324553245632457324583245932460324613246232463324643246532466324673246832469324703247132472324733247432475324763247732478324793248032481324823248332484324853248632487324883248932490324913249232493324943249532496324973249832499325003250132502325033250432505325063250732508325093251032511325123251332514325153251632517325183251932520325213252232523325243252532526325273252832529325303253132532325333253432535325363253732538325393254032541325423254332544325453254632547325483254932550325513255232553325543255532556325573255832559325603256132562325633256432565325663256732568325693257032571325723257332574325753257632577325783257932580325813258232583325843258532586325873258832589325903259132592325933259432595325963259732598325993260032601326023260332604326053260632607326083260932610326113261232613326143261532616326173261832619326203262132622326233262432625326263262732628326293263032631326323263332634326353263632637326383263932640326413264232643326443264532646326473264832649326503265132652326533265432655326563265732658326593266032661326623266332664326653266632667326683266932670326713267232673326743267532676326773267832679326803268132682326833268432685326863268732688326893269032691326923269332694326953269632697326983269932700327013270232703327043270532706327073270832709327103271132712327133271432715327163271732718327193272032721327223272332724327253272632727327283272932730327313273232733327343273532736327373273832739327403274132742327433274432745327463274732748327493275032751327523275332754327553275632757327583275932760327613276232763327643276532766327673276832769327703277132772327733277432775327763277732778327793278032781327823278332784327853278632787327883278932790327913279232793327943279532796327973279832799328003280132802328033280432805328063280732808328093281032811328123281332814328153281632817328183281932820328213282232823328243282532826328273282832829328303283132832328333283432835328363283732838328393284032841328423284332844328453284632847328483284932850328513285232853328543285532856328573285832859328603286132862328633286432865328663286732868328693287032871328723287332874328753287632877328783287932880328813288232883328843288532886328873288832889328903289132892328933289432895328963289732898328993290032901329023290332904329053290632907329083290932910329113291232913329143291532916329173291832919329203292132922329233292432925329263292732928329293293032931329323293332934329353293632937329383293932940329413294232943329443294532946329473294832949329503295132952329533295432955329563295732958329593296032961329623296332964329653296632967329683296932970329713297232973329743297532976329773297832979329803298132982329833298432985329863298732988329893299032991329923299332994329953299632997329983299933000330013300233003330043300533006330073300833009330103301133012330133301433015330163301733018330193302033021330223302333024330253302633027330283302933030330313303233033330343303533036330373303833039330403304133042330433304433045330463304733048330493305033051330523305333054330553305633057330583305933060330613306233063330643306533066330673306833069330703307133072330733307433075330763307733078330793308033081330823308333084330853308633087330883308933090330913309233093330943309533096330973309833099331003310133102331033310433105331063310733108331093311033111331123311333114331153311633117331183311933120331213312233123331243312533126331273312833129331303313133132331333313433135331363313733138331393314033141331423314333144331453314633147331483314933150331513315233153331543315533156331573315833159331603316133162331633316433165331663316733168331693317033171331723317333174331753317633177331783317933180331813318233183331843318533186331873318833189331903319133192331933319433195331963319733198331993320033201332023320333204332053320633207332083320933210332113321233213332143321533216332173321833219332203322133222332233322433225332263322733228332293323033231332323323333234332353323633237332383323933240332413324233243332443324533246332473324833249332503325133252332533325433255332563325733258332593326033261332623326333264332653326633267332683326933270332713327233273332743327533276332773327833279332803328133282332833328433285332863328733288332893329033291332923329333294332953329633297332983329933300333013330233303333043330533306333073330833309333103331133312333133331433315333163331733318333193332033321333223332333324333253332633327333283332933330333313333233333333343333533336333373333833339333403334133342333433334433345333463334733348333493335033351333523335333354333553335633357333583335933360333613336233363333643336533366333673336833369333703337133372333733337433375333763337733378333793338033381333823338333384333853338633387333883338933390333913339233393333943339533396333973339833399334003340133402334033340433405334063340733408334093341033411334123341333414334153341633417334183341933420334213342233423334243342533426334273342833429334303343133432334333343433435334363343733438334393344033441334423344333444334453344633447334483344933450334513345233453334543345533456334573345833459334603346133462334633346433465334663346733468334693347033471334723347333474334753347633477334783347933480334813348233483334843348533486334873348833489334903349133492334933349433495334963349733498334993350033501335023350333504335053350633507335083350933510335113351233513335143351533516335173351833519335203352133522335233352433525335263352733528335293353033531335323353333534335353353633537335383353933540335413354233543335443354533546335473354833549335503355133552335533355433555335563355733558335593356033561335623356333564335653356633567335683356933570335713357233573335743357533576335773357833579335803358133582335833358433585335863358733588335893359033591335923359333594335953359633597335983359933600336013360233603336043360533606336073360833609336103361133612336133361433615336163361733618336193362033621336223362333624336253362633627336283362933630336313363233633336343363533636336373363833639336403364133642336433364433645336463364733648336493365033651336523365333654336553365633657336583365933660336613366233663336643366533666336673366833669336703367133672336733367433675336763367733678336793368033681336823368333684336853368633687336883368933690336913369233693336943369533696336973369833699337003370133702337033370433705337063370733708337093371033711337123371333714337153371633717337183371933720337213372233723337243372533726337273372833729337303373133732337333373433735337363373733738337393374033741337423374333744337453374633747337483374933750337513375233753337543375533756337573375833759337603376133762337633376433765337663376733768337693377033771337723377333774337753377633777337783377933780337813378233783337843378533786337873378833789337903379133792337933379433795337963379733798337993380033801338023380333804338053380633807338083380933810338113381233813338143381533816338173381833819338203382133822338233382433825338263382733828338293383033831338323383333834338353383633837338383383933840338413384233843338443384533846338473384833849338503385133852338533385433855338563385733858338593386033861338623386333864338653386633867338683386933870338713387233873338743387533876338773387833879338803388133882338833388433885338863388733888338893389033891338923389333894338953389633897338983389933900339013390233903339043390533906339073390833909339103391133912339133391433915339163391733918339193392033921339223392333924339253392633927339283392933930339313393233933339343393533936339373393833939339403394133942339433394433945339463394733948339493395033951339523395333954339553395633957339583395933960339613396233963339643396533966339673396833969339703397133972339733397433975339763397733978339793398033981339823398333984339853398633987339883398933990339913399233993339943399533996339973399833999340003400134002340033400434005340063400734008340093401034011340123401334014340153401634017340183401934020340213402234023340243402534026340273402834029340303403134032340333403434035340363403734038340393404034041340423404334044340453404634047340483404934050340513405234053340543405534056340573405834059340603406134062340633406434065340663406734068340693407034071340723407334074340753407634077340783407934080340813408234083340843408534086340873408834089340903409134092340933409434095340963409734098340993410034101341023410334104341053410634107341083410934110341113411234113341143411534116341173411834119341203412134122341233412434125341263412734128341293413034131341323413334134341353413634137341383413934140341413414234143341443414534146341473414834149341503415134152341533415434155341563415734158341593416034161341623416334164341653416634167341683416934170341713417234173341743417534176341773417834179341803418134182341833418434185341863418734188341893419034191341923419334194341953419634197341983419934200342013420234203342043420534206342073420834209342103421134212342133421434215342163421734218342193422034221342223422334224342253422634227342283422934230342313423234233342343423534236342373423834239342403424134242342433424434245342463424734248342493425034251342523425334254342553425634257342583425934260342613426234263342643426534266342673426834269342703427134272342733427434275342763427734278342793428034281342823428334284342853428634287342883428934290342913429234293342943429534296342973429834299343003430134302343033430434305343063430734308343093431034311343123431334314343153431634317343183431934320343213432234323343243432534326343273432834329343303433134332343333433434335343363433734338343393434034341343423434334344343453434634347343483434934350343513435234353343543435534356343573435834359343603436134362343633436434365343663436734368343693437034371343723437334374343753437634377343783437934380343813438234383343843438534386343873438834389343903439134392343933439434395343963439734398343993440034401344023440334404344053440634407344083440934410344113441234413344143441534416344173441834419344203442134422344233442434425344263442734428344293443034431344323443334434344353443634437344383443934440344413444234443344443444534446344473444834449344503445134452344533445434455344563445734458344593446034461344623446334464344653446634467344683446934470344713447234473344743447534476344773447834479344803448134482344833448434485344863448734488344893449034491344923449334494344953449634497344983449934500345013450234503345043450534506345073450834509345103451134512345133451434515345163451734518345193452034521345223452334524345253452634527345283452934530345313453234533345343453534536345373453834539345403454134542345433454434545345463454734548345493455034551345523455334554345553455634557345583455934560345613456234563345643456534566345673456834569345703457134572345733457434575345763457734578345793458034581345823458334584345853458634587345883458934590345913459234593345943459534596345973459834599346003460134602346033460434605346063460734608346093461034611346123461334614346153461634617346183461934620346213462234623346243462534626346273462834629346303463134632346333463434635346363463734638346393464034641346423464334644346453464634647346483464934650346513465234653346543465534656346573465834659346603466134662346633466434665346663466734668346693467034671346723467334674346753467634677346783467934680346813468234683346843468534686346873468834689346903469134692346933469434695346963469734698346993470034701347023470334704347053470634707347083470934710347113471234713347143471534716347173471834719347203472134722347233472434725347263472734728347293473034731347323473334734347353473634737347383473934740347413474234743347443474534746347473474834749347503475134752347533475434755347563475734758347593476034761347623476334764347653476634767347683476934770347713477234773347743477534776347773477834779347803478134782347833478434785347863478734788347893479034791347923479334794347953479634797347983479934800348013480234803348043480534806348073480834809348103481134812348133481434815348163481734818348193482034821348223482334824348253482634827348283482934830348313483234833348343483534836348373483834839348403484134842348433484434845348463484734848348493485034851348523485334854348553485634857348583485934860348613486234863348643486534866348673486834869348703487134872348733487434875348763487734878348793488034881348823488334884348853488634887348883488934890348913489234893348943489534896348973489834899349003490134902349033490434905349063490734908349093491034911349123491334914349153491634917349183491934920349213492234923349243492534926349273492834929349303493134932349333493434935349363493734938349393494034941349423494334944349453494634947349483494934950349513495234953349543495534956349573495834959349603496134962349633496434965349663496734968349693497034971349723497334974349753497634977349783497934980349813498234983349843498534986349873498834989349903499134992349933499434995349963499734998349993500035001350023500335004350053500635007350083500935010350113501235013350143501535016350173501835019350203502135022350233502435025350263502735028350293503035031350323503335034350353503635037350383503935040350413504235043350443504535046350473504835049350503505135052350533505435055350563505735058350593506035061350623506335064350653506635067350683506935070350713507235073350743507535076350773507835079350803508135082350833508435085350863508735088350893509035091350923509335094350953509635097350983509935100351013510235103351043510535106351073510835109351103511135112351133511435115351163511735118351193512035121351223512335124351253512635127351283512935130351313513235133351343513535136351373513835139351403514135142351433514435145351463514735148351493515035151351523515335154351553515635157351583515935160351613516235163351643516535166351673516835169351703517135172351733517435175351763517735178351793518035181351823518335184351853518635187351883518935190351913519235193351943519535196351973519835199352003520135202352033520435205352063520735208352093521035211352123521335214352153521635217352183521935220352213522235223352243522535226352273522835229352303523135232352333523435235352363523735238352393524035241352423524335244352453524635247352483524935250352513525235253352543525535256352573525835259352603526135262352633526435265352663526735268352693527035271352723527335274352753527635277352783527935280352813528235283352843528535286352873528835289352903529135292352933529435295352963529735298352993530035301353023530335304353053530635307353083530935310353113531235313353143531535316353173531835319353203532135322353233532435325353263532735328353293533035331353323533335334353353533635337353383533935340353413534235343353443534535346353473534835349353503535135352353533535435355353563535735358353593536035361353623536335364353653536635367353683536935370353713537235373353743537535376353773537835379353803538135382353833538435385353863538735388353893539035391353923539335394353953539635397353983539935400354013540235403354043540535406354073540835409354103541135412354133541435415354163541735418354193542035421354223542335424354253542635427354283542935430354313543235433354343543535436354373543835439354403544135442354433544435445354463544735448354493545035451354523545335454354553545635457354583545935460354613546235463354643546535466354673546835469354703547135472354733547435475354763547735478354793548035481354823548335484354853548635487354883548935490354913549235493354943549535496354973549835499355003550135502355033550435505355063550735508355093551035511355123551335514355153551635517355183551935520355213552235523355243552535526355273552835529355303553135532355333553435535355363553735538355393554035541355423554335544355453554635547355483554935550355513555235553355543555535556355573555835559355603556135562355633556435565355663556735568355693557035571355723557335574355753557635577355783557935580355813558235583355843558535586355873558835589355903559135592355933559435595355963559735598355993560035601356023560335604356053560635607356083560935610356113561235613356143561535616356173561835619356203562135622356233562435625356263562735628356293563035631356323563335634356353563635637356383563935640356413564235643356443564535646356473564835649356503565135652356533565435655356563565735658356593566035661356623566335664356653566635667356683566935670356713567235673356743567535676356773567835679356803568135682356833568435685356863568735688356893569035691356923569335694356953569635697356983569935700357013570235703357043570535706357073570835709357103571135712357133571435715357163571735718357193572035721357223572335724357253572635727357283572935730357313573235733357343573535736357373573835739357403574135742357433574435745357463574735748357493575035751357523575335754357553575635757357583575935760357613576235763357643576535766357673576835769357703577135772357733577435775357763577735778357793578035781357823578335784357853578635787357883578935790357913579235793357943579535796357973579835799358003580135802358033580435805358063580735808358093581035811358123581335814358153581635817358183581935820358213582235823358243582535826358273582835829358303583135832358333583435835358363583735838358393584035841358423584335844358453584635847358483584935850358513585235853358543585535856358573585835859358603586135862358633586435865358663586735868358693587035871358723587335874358753587635877358783587935880358813588235883358843588535886358873588835889358903589135892358933589435895358963589735898358993590035901359023590335904359053590635907359083590935910359113591235913359143591535916359173591835919359203592135922359233592435925359263592735928359293593035931359323593335934359353593635937359383593935940359413594235943359443594535946359473594835949359503595135952359533595435955359563595735958359593596035961359623596335964359653596635967359683596935970359713597235973359743597535976359773597835979359803598135982359833598435985359863598735988359893599035991359923599335994359953599635997359983599936000360013600236003360043600536006360073600836009360103601136012360133601436015360163601736018360193602036021360223602336024360253602636027360283602936030360313603236033360343603536036360373603836039360403604136042360433604436045360463604736048360493605036051360523605336054360553605636057360583605936060360613606236063360643606536066360673606836069360703607136072360733607436075360763607736078360793608036081360823608336084360853608636087360883608936090360913609236093360943609536096360973609836099361003610136102361033610436105361063610736108361093611036111361123611336114361153611636117361183611936120361213612236123361243612536126361273612836129361303613136132361333613436135361363613736138361393614036141361423614336144361453614636147361483614936150361513615236153361543615536156361573615836159361603616136162361633616436165361663616736168361693617036171361723617336174361753617636177361783617936180361813618236183361843618536186361873618836189361903619136192361933619436195361963619736198361993620036201362023620336204362053620636207362083620936210362113621236213362143621536216362173621836219362203622136222362233622436225362263622736228362293623036231362323623336234362353623636237362383623936240362413624236243362443624536246362473624836249362503625136252362533625436255362563625736258362593626036261362623626336264362653626636267362683626936270362713627236273362743627536276362773627836279362803628136282362833628436285362863628736288362893629036291362923629336294362953629636297362983629936300363013630236303363043630536306363073630836309363103631136312363133631436315363163631736318363193632036321363223632336324363253632636327363283632936330363313633236333363343633536336363373633836339363403634136342363433634436345363463634736348363493635036351363523635336354363553635636357363583635936360363613636236363363643636536366363673636836369363703637136372363733637436375363763637736378363793638036381363823638336384363853638636387363883638936390363913639236393363943639536396363973639836399364003640136402364033640436405364063640736408364093641036411364123641336414364153641636417364183641936420364213642236423364243642536426364273642836429364303643136432364333643436435364363643736438364393644036441364423644336444364453644636447364483644936450364513645236453364543645536456364573645836459364603646136462364633646436465364663646736468364693647036471364723647336474364753647636477364783647936480364813648236483364843648536486364873648836489364903649136492364933649436495364963649736498364993650036501365023650336504365053650636507365083650936510365113651236513365143651536516365173651836519365203652136522365233652436525365263652736528365293653036531365323653336534365353653636537365383653936540365413654236543365443654536546365473654836549365503655136552365533655436555365563655736558365593656036561365623656336564365653656636567365683656936570365713657236573365743657536576365773657836579365803658136582365833658436585365863658736588365893659036591365923659336594365953659636597365983659936600366013660236603366043660536606366073660836609366103661136612366133661436615366163661736618366193662036621366223662336624366253662636627366283662936630366313663236633366343663536636366373663836639366403664136642366433664436645366463664736648366493665036651366523665336654366553665636657366583665936660366613666236663366643666536666366673666836669366703667136672366733667436675366763667736678366793668036681366823668336684366853668636687366883668936690366913669236693366943669536696366973669836699367003670136702367033670436705367063670736708367093671036711367123671336714367153671636717367183671936720367213672236723367243672536726367273672836729367303673136732367333673436735367363673736738367393674036741367423674336744367453674636747367483674936750367513675236753367543675536756367573675836759367603676136762367633676436765367663676736768367693677036771367723677336774367753677636777367783677936780367813678236783367843678536786367873678836789367903679136792367933679436795367963679736798367993680036801368023680336804368053680636807368083680936810368113681236813368143681536816368173681836819368203682136822368233682436825368263682736828368293683036831368323683336834368353683636837368383683936840368413684236843368443684536846368473684836849368503685136852368533685436855368563685736858368593686036861368623686336864368653686636867368683686936870368713687236873368743687536876368773687836879368803688136882368833688436885368863688736888368893689036891368923689336894368953689636897368983689936900369013690236903369043690536906369073690836909369103691136912369133691436915369163691736918369193692036921369223692336924369253692636927369283692936930369313693236933369343693536936369373693836939369403694136942369433694436945369463694736948369493695036951369523695336954369553695636957369583695936960369613696236963369643696536966369673696836969369703697136972369733697436975369763697736978369793698036981369823698336984369853698636987369883698936990369913699236993369943699536996369973699836999370003700137002370033700437005370063700737008370093701037011370123701337014370153701637017370183701937020370213702237023370243702537026370273702837029370303703137032370333703437035370363703737038370393704037041370423704337044370453704637047370483704937050370513705237053370543705537056370573705837059370603706137062370633706437065370663706737068370693707037071370723707337074370753707637077370783707937080370813708237083370843708537086370873708837089370903709137092370933709437095370963709737098370993710037101371023710337104371053710637107371083710937110371113711237113371143711537116371173711837119371203712137122371233712437125371263712737128371293713037131371323713337134371353713637137371383713937140371413714237143371443714537146371473714837149371503715137152371533715437155371563715737158371593716037161371623716337164371653716637167371683716937170371713717237173371743717537176371773717837179371803718137182371833718437185371863718737188371893719037191371923719337194371953719637197371983719937200372013720237203372043720537206372073720837209372103721137212372133721437215372163721737218372193722037221372223722337224372253722637227372283722937230372313723237233372343723537236372373723837239372403724137242372433724437245372463724737248372493725037251372523725337254372553725637257372583725937260372613726237263372643726537266372673726837269372703727137272372733727437275372763727737278372793728037281372823728337284372853728637287372883728937290372913729237293372943729537296372973729837299373003730137302373033730437305373063730737308373093731037311373123731337314373153731637317373183731937320373213732237323373243732537326373273732837329373303733137332373333733437335373363733737338373393734037341373423734337344373453734637347373483734937350373513735237353373543735537356373573735837359373603736137362373633736437365373663736737368373693737037371373723737337374373753737637377373783737937380373813738237383373843738537386373873738837389373903739137392373933739437395373963739737398373993740037401374023740337404374053740637407374083740937410374113741237413374143741537416374173741837419374203742137422374233742437425374263742737428374293743037431374323743337434374353743637437374383743937440374413744237443374443744537446374473744837449374503745137452374533745437455374563745737458374593746037461374623746337464374653746637467374683746937470374713747237473374743747537476374773747837479374803748137482374833748437485374863748737488374893749037491374923749337494374953749637497374983749937500375013750237503375043750537506375073750837509375103751137512375133751437515375163751737518375193752037521375223752337524375253752637527375283752937530375313753237533375343753537536375373753837539375403754137542375433754437545375463754737548375493755037551375523755337554375553755637557375583755937560375613756237563375643756537566375673756837569375703757137572375733757437575375763757737578375793758037581375823758337584375853758637587375883758937590375913759237593375943759537596375973759837599376003760137602376033760437605376063760737608376093761037611376123761337614376153761637617376183761937620376213762237623376243762537626376273762837629376303763137632376333763437635376363763737638376393764037641376423764337644376453764637647376483764937650376513765237653376543765537656376573765837659376603766137662376633766437665376663766737668376693767037671376723767337674376753767637677376783767937680376813768237683376843768537686376873768837689376903769137692376933769437695376963769737698376993770037701377023770337704377053770637707377083770937710377113771237713377143771537716377173771837719377203772137722377233772437725377263772737728377293773037731377323773337734377353773637737377383773937740377413774237743377443774537746377473774837749377503775137752377533775437755377563775737758377593776037761377623776337764377653776637767377683776937770377713777237773377743777537776377773777837779377803778137782377833778437785377863778737788377893779037791377923779337794377953779637797377983779937800378013780237803378043780537806378073780837809378103781137812378133781437815378163781737818378193782037821378223782337824378253782637827378283782937830378313783237833378343783537836378373783837839378403784137842378433784437845378463784737848378493785037851378523785337854378553785637857378583785937860378613786237863378643786537866378673786837869378703787137872378733787437875378763787737878378793788037881378823788337884378853788637887378883788937890378913789237893378943789537896378973789837899379003790137902379033790437905379063790737908379093791037911379123791337914379153791637917379183791937920379213792237923379243792537926379273792837929379303793137932379333793437935379363793737938379393794037941379423794337944379453794637947379483794937950379513795237953379543795537956379573795837959379603796137962379633796437965379663796737968379693797037971379723797337974379753797637977379783797937980379813798237983379843798537986379873798837989379903799137992379933799437995379963799737998379993800038001380023800338004380053800638007380083800938010380113801238013380143801538016380173801838019380203802138022380233802438025380263802738028380293803038031380323803338034380353803638037380383803938040380413804238043380443804538046380473804838049380503805138052380533805438055380563805738058380593806038061380623806338064380653806638067380683806938070380713807238073380743807538076380773807838079380803808138082380833808438085380863808738088380893809038091380923809338094380953809638097380983809938100381013810238103381043810538106381073810838109381103811138112381133811438115381163811738118381193812038121381223812338124381253812638127381283812938130381313813238133381343813538136381373813838139381403814138142381433814438145381463814738148381493815038151381523815338154381553815638157381583815938160381613816238163381643816538166381673816838169381703817138172381733817438175381763817738178381793818038181381823818338184381853818638187381883818938190381913819238193381943819538196381973819838199382003820138202382033820438205382063820738208382093821038211382123821338214382153821638217382183821938220382213822238223382243822538226382273822838229382303823138232382333823438235382363823738238382393824038241382423824338244382453824638247382483824938250382513825238253382543825538256382573825838259382603826138262382633826438265382663826738268382693827038271382723827338274382753827638277382783827938280382813828238283382843828538286382873828838289382903829138292382933829438295382963829738298382993830038301383023830338304383053830638307383083830938310383113831238313383143831538316383173831838319383203832138322383233832438325383263832738328383293833038331383323833338334383353833638337383383833938340383413834238343383443834538346383473834838349383503835138352383533835438355383563835738358383593836038361383623836338364383653836638367383683836938370383713837238373383743837538376383773837838379383803838138382383833838438385383863838738388383893839038391383923839338394383953839638397383983839938400384013840238403384043840538406384073840838409384103841138412384133841438415384163841738418384193842038421384223842338424384253842638427384283842938430384313843238433384343843538436384373843838439384403844138442384433844438445384463844738448384493845038451384523845338454384553845638457384583845938460384613846238463384643846538466384673846838469384703847138472384733847438475384763847738478384793848038481384823848338484384853848638487384883848938490384913849238493384943849538496384973849838499385003850138502385033850438505385063850738508385093851038511385123851338514385153851638517385183851938520385213852238523385243852538526385273852838529385303853138532385333853438535385363853738538385393854038541385423854338544385453854638547385483854938550385513855238553385543855538556385573855838559385603856138562385633856438565385663856738568385693857038571385723857338574385753857638577385783857938580385813858238583385843858538586385873858838589385903859138592385933859438595385963859738598385993860038601386023860338604386053860638607386083860938610386113861238613386143861538616386173861838619386203862138622386233862438625386263862738628386293863038631386323863338634386353863638637386383863938640386413864238643386443864538646386473864838649386503865138652386533865438655386563865738658386593866038661386623866338664386653866638667386683866938670386713867238673386743867538676386773867838679386803868138682386833868438685386863868738688386893869038691386923869338694386953869638697386983869938700387013870238703387043870538706387073870838709387103871138712387133871438715387163871738718387193872038721387223872338724387253872638727387283872938730387313873238733387343873538736387373873838739387403874138742387433874438745387463874738748387493875038751387523875338754387553875638757387583875938760387613876238763387643876538766387673876838769387703877138772387733877438775387763877738778387793878038781387823878338784387853878638787387883878938790387913879238793387943879538796387973879838799388003880138802388033880438805388063880738808388093881038811388123881338814388153881638817388183881938820388213882238823388243882538826388273882838829388303883138832388333883438835388363883738838388393884038841388423884338844388453884638847388483884938850388513885238853388543885538856388573885838859388603886138862388633886438865388663886738868388693887038871388723887338874388753887638877388783887938880388813888238883388843888538886388873888838889388903889138892388933889438895388963889738898388993890038901389023890338904389053890638907389083890938910389113891238913389143891538916389173891838919389203892138922389233892438925389263892738928389293893038931389323893338934389353893638937389383893938940389413894238943389443894538946389473894838949389503895138952389533895438955389563895738958389593896038961389623896338964389653896638967389683896938970389713897238973389743897538976389773897838979389803898138982389833898438985389863898738988389893899038991389923899338994389953899638997389983899939000390013900239003390043900539006390073900839009390103901139012390133901439015390163901739018390193902039021390223902339024390253902639027390283902939030390313903239033390343903539036390373903839039390403904139042390433904439045390463904739048390493905039051390523905339054390553905639057390583905939060390613906239063390643906539066390673906839069390703907139072390733907439075390763907739078390793908039081390823908339084390853908639087390883908939090390913909239093390943909539096390973909839099391003910139102391033910439105391063910739108391093911039111391123911339114391153911639117391183911939120391213912239123391243912539126391273912839129391303913139132391333913439135391363913739138391393914039141391423914339144391453914639147391483914939150391513915239153391543915539156391573915839159391603916139162391633916439165391663916739168391693917039171391723917339174391753917639177391783917939180391813918239183391843918539186391873918839189391903919139192391933919439195391963919739198391993920039201392023920339204392053920639207392083920939210392113921239213392143921539216392173921839219392203922139222392233922439225392263922739228392293923039231392323923339234392353923639237392383923939240392413924239243392443924539246392473924839249392503925139252392533925439255392563925739258392593926039261392623926339264392653926639267392683926939270392713927239273392743927539276392773927839279392803928139282392833928439285392863928739288392893929039291392923929339294392953929639297392983929939300393013930239303393043930539306393073930839309393103931139312393133931439315393163931739318393193932039321393223932339324393253932639327393283932939330393313933239333393343933539336393373933839339393403934139342393433934439345393463934739348393493935039351393523935339354393553935639357393583935939360393613936239363393643936539366393673936839369393703937139372393733937439375393763937739378393793938039381393823938339384393853938639387393883938939390393913939239393393943939539396393973939839399394003940139402394033940439405394063940739408394093941039411394123941339414394153941639417394183941939420394213942239423394243942539426394273942839429394303943139432394333943439435394363943739438394393944039441394423944339444394453944639447394483944939450394513945239453394543945539456394573945839459394603946139462394633946439465394663946739468394693947039471394723947339474394753947639477394783947939480394813948239483394843948539486394873948839489394903949139492394933949439495394963949739498394993950039501395023950339504395053950639507395083950939510395113951239513395143951539516395173951839519395203952139522395233952439525395263952739528395293953039531395323953339534395353953639537395383953939540395413954239543395443954539546395473954839549395503955139552395533955439555395563955739558395593956039561395623956339564395653956639567395683956939570395713957239573395743957539576395773957839579395803958139582395833958439585395863958739588395893959039591395923959339594395953959639597395983959939600396013960239603396043960539606396073960839609396103961139612396133961439615396163961739618396193962039621396223962339624396253962639627396283962939630396313963239633396343963539636396373963839639396403964139642396433964439645396463964739648396493965039651396523965339654396553965639657396583965939660396613966239663396643966539666396673966839669396703967139672396733967439675396763967739678396793968039681396823968339684396853968639687396883968939690396913969239693396943969539696396973969839699397003970139702397033970439705397063970739708397093971039711397123971339714397153971639717397183971939720397213972239723397243972539726397273972839729397303973139732397333973439735397363973739738397393974039741397423974339744397453974639747397483974939750397513975239753397543975539756397573975839759397603976139762397633976439765397663976739768397693977039771397723977339774397753977639777397783977939780397813978239783397843978539786397873978839789397903979139792397933979439795397963979739798397993980039801398023980339804398053980639807398083980939810398113981239813398143981539816398173981839819398203982139822398233982439825398263982739828398293983039831398323983339834398353983639837398383983939840398413984239843398443984539846398473984839849398503985139852398533985439855398563985739858398593986039861398623986339864398653986639867398683986939870398713987239873398743987539876398773987839879398803988139882398833988439885398863988739888398893989039891398923989339894398953989639897398983989939900399013990239903399043990539906399073990839909399103991139912399133991439915399163991739918399193992039921399223992339924399253992639927399283992939930399313993239933399343993539936399373993839939399403994139942399433994439945399463994739948399493995039951399523995339954399553995639957399583995939960399613996239963399643996539966399673996839969399703997139972399733997439975399763997739978399793998039981399823998339984399853998639987399883998939990399913999239993399943999539996399973999839999400004000140002400034000440005400064000740008400094001040011400124001340014400154001640017400184001940020400214002240023400244002540026400274002840029400304003140032400334003440035400364003740038400394004040041400424004340044400454004640047400484004940050400514005240053400544005540056400574005840059400604006140062400634006440065400664006740068400694007040071400724007340074400754007640077400784007940080400814008240083400844008540086400874008840089400904009140092400934009440095400964009740098400994010040101401024010340104401054010640107401084010940110401114011240113401144011540116401174011840119401204012140122401234012440125401264012740128401294013040131401324013340134401354013640137401384013940140401414014240143401444014540146401474014840149401504015140152401534015440155401564015740158401594016040161401624016340164401654016640167401684016940170401714017240173401744017540176401774017840179401804018140182401834018440185401864018740188401894019040191401924019340194401954019640197401984019940200402014020240203402044020540206402074020840209402104021140212402134021440215402164021740218402194022040221402224022340224402254022640227402284022940230402314023240233402344023540236402374023840239402404024140242402434024440245402464024740248402494025040251402524025340254402554025640257402584025940260402614026240263402644026540266402674026840269402704027140272402734027440275402764027740278402794028040281402824028340284402854028640287402884028940290402914029240293402944029540296402974029840299403004030140302403034030440305403064030740308403094031040311403124031340314403154031640317403184031940320403214032240323403244032540326403274032840329403304033140332403334033440335403364033740338403394034040341403424034340344403454034640347403484034940350403514035240353403544035540356403574035840359403604036140362403634036440365403664036740368403694037040371403724037340374403754037640377403784037940380403814038240383403844038540386403874038840389403904039140392403934039440395403964039740398403994040040401404024040340404404054040640407404084040940410404114041240413404144041540416404174041840419404204042140422404234042440425404264042740428404294043040431404324043340434404354043640437404384043940440404414044240443404444044540446404474044840449404504045140452404534045440455404564045740458404594046040461404624046340464404654046640467404684046940470404714047240473404744047540476404774047840479404804048140482404834048440485404864048740488404894049040491404924049340494404954049640497404984049940500405014050240503405044050540506405074050840509405104051140512405134051440515405164051740518405194052040521405224052340524405254052640527405284052940530405314053240533405344053540536405374053840539405404054140542405434054440545405464054740548405494055040551405524055340554405554055640557405584055940560405614056240563405644056540566405674056840569405704057140572405734057440575405764057740578405794058040581405824058340584405854058640587405884058940590405914059240593405944059540596405974059840599406004060140602406034060440605406064060740608406094061040611406124061340614406154061640617406184061940620406214062240623406244062540626406274062840629406304063140632406334063440635406364063740638406394064040641406424064340644406454064640647406484064940650406514065240653406544065540656406574065840659406604066140662406634066440665406664066740668406694067040671406724067340674406754067640677406784067940680406814068240683406844068540686406874068840689406904069140692406934069440695406964069740698406994070040701407024070340704407054070640707407084070940710407114071240713407144071540716407174071840719407204072140722407234072440725407264072740728407294073040731407324073340734407354073640737407384073940740407414074240743407444074540746407474074840749407504075140752407534075440755407564075740758407594076040761407624076340764407654076640767407684076940770407714077240773407744077540776407774077840779407804078140782407834078440785407864078740788407894079040791407924079340794407954079640797407984079940800408014080240803408044080540806408074080840809408104081140812408134081440815408164081740818408194082040821408224082340824408254082640827408284082940830408314083240833408344083540836408374083840839408404084140842408434084440845408464084740848408494085040851408524085340854408554085640857408584085940860408614086240863408644086540866408674086840869408704087140872408734087440875408764087740878408794088040881408824088340884408854088640887408884088940890408914089240893408944089540896408974089840899409004090140902409034090440905409064090740908409094091040911409124091340914409154091640917409184091940920409214092240923409244092540926409274092840929409304093140932409334093440935409364093740938409394094040941409424094340944409454094640947409484094940950409514095240953409544095540956409574095840959409604096140962409634096440965409664096740968409694097040971409724097340974409754097640977409784097940980409814098240983409844098540986409874098840989409904099140992409934099440995409964099740998409994100041001410024100341004410054100641007410084100941010410114101241013410144101541016410174101841019410204102141022410234102441025410264102741028410294103041031410324103341034410354103641037410384103941040410414104241043410444104541046410474104841049410504105141052410534105441055410564105741058410594106041061410624106341064410654106641067410684106941070410714107241073410744107541076410774107841079410804108141082410834108441085410864108741088410894109041091410924109341094410954109641097410984109941100411014110241103411044110541106411074110841109411104111141112411134111441115411164111741118411194112041121411224112341124411254112641127411284112941130411314113241133411344113541136411374113841139411404114141142411434114441145411464114741148411494115041151411524115341154411554115641157411584115941160411614116241163411644116541166411674116841169411704117141172411734117441175411764117741178411794118041181411824118341184411854118641187411884118941190411914119241193411944119541196411974119841199412004120141202412034120441205412064120741208412094121041211412124121341214412154121641217412184121941220412214122241223412244122541226412274122841229412304123141232412334123441235412364123741238412394124041241412424124341244412454124641247412484124941250412514125241253412544125541256412574125841259412604126141262412634126441265412664126741268412694127041271412724127341274412754127641277412784127941280412814128241283412844128541286412874128841289412904129141292412934129441295412964129741298412994130041301413024130341304413054130641307413084130941310413114131241313413144131541316413174131841319413204132141322413234132441325413264132741328413294133041331413324133341334413354133641337413384133941340413414134241343413444134541346413474134841349413504135141352413534135441355413564135741358413594136041361413624136341364413654136641367413684136941370413714137241373413744137541376413774137841379413804138141382413834138441385413864138741388413894139041391413924139341394413954139641397413984139941400414014140241403414044140541406414074140841409414104141141412414134141441415414164141741418414194142041421414224142341424414254142641427414284142941430414314143241433414344143541436414374143841439414404144141442414434144441445414464144741448414494145041451414524145341454414554145641457414584145941460414614146241463414644146541466414674146841469414704147141472414734147441475414764147741478414794148041481414824148341484414854148641487414884148941490414914149241493414944149541496414974149841499415004150141502415034150441505415064150741508415094151041511415124151341514415154151641517415184151941520415214152241523415244152541526415274152841529415304153141532415334153441535415364153741538415394154041541415424154341544415454154641547415484154941550415514155241553415544155541556415574155841559415604156141562415634156441565415664156741568415694157041571415724157341574415754157641577415784157941580415814158241583415844158541586415874158841589415904159141592415934159441595415964159741598415994160041601416024160341604416054160641607416084160941610416114161241613416144161541616416174161841619416204162141622416234162441625416264162741628416294163041631416324163341634416354163641637416384163941640416414164241643416444164541646416474164841649416504165141652416534165441655416564165741658416594166041661416624166341664416654166641667416684166941670416714167241673416744167541676416774167841679416804168141682416834168441685416864168741688416894169041691416924169341694416954169641697416984169941700417014170241703417044170541706417074170841709417104171141712417134171441715417164171741718417194172041721417224172341724417254172641727417284172941730417314173241733417344173541736417374173841739417404174141742417434174441745417464174741748417494175041751417524175341754417554175641757417584175941760417614176241763417644176541766417674176841769417704177141772417734177441775417764177741778417794178041781417824178341784417854178641787417884178941790417914179241793417944179541796417974179841799418004180141802418034180441805418064180741808418094181041811418124181341814418154181641817418184181941820418214182241823418244182541826418274182841829418304183141832418334183441835418364183741838418394184041841418424184341844418454184641847418484184941850418514185241853418544185541856418574185841859418604186141862418634186441865418664186741868418694187041871418724187341874418754187641877418784187941880418814188241883418844188541886418874188841889418904189141892418934189441895418964189741898418994190041901419024190341904419054190641907419084190941910419114191241913419144191541916419174191841919419204192141922419234192441925419264192741928419294193041931419324193341934419354193641937419384193941940419414194241943419444194541946419474194841949419504195141952419534195441955419564195741958419594196041961419624196341964419654196641967419684196941970419714197241973419744197541976419774197841979419804198141982419834198441985419864198741988419894199041991419924199341994419954199641997419984199942000420014200242003420044200542006420074200842009420104201142012420134201442015420164201742018420194202042021420224202342024420254202642027420284202942030420314203242033420344203542036420374203842039420404204142042420434204442045420464204742048420494205042051420524205342054420554205642057420584205942060420614206242063420644206542066420674206842069420704207142072420734207442075420764207742078420794208042081420824208342084420854208642087420884208942090420914209242093420944209542096420974209842099421004210142102421034210442105421064210742108421094211042111421124211342114421154211642117421184211942120421214212242123421244212542126421274212842129421304213142132421334213442135421364213742138421394214042141421424214342144421454214642147421484214942150421514215242153421544215542156421574215842159421604216142162421634216442165421664216742168421694217042171421724217342174421754217642177421784217942180421814218242183421844218542186421874218842189421904219142192421934219442195421964219742198421994220042201422024220342204422054220642207422084220942210422114221242213422144221542216422174221842219422204222142222422234222442225422264222742228422294223042231422324223342234422354223642237422384223942240422414224242243422444224542246422474224842249422504225142252422534225442255422564225742258422594226042261422624226342264422654226642267422684226942270422714227242273422744227542276422774227842279422804228142282422834228442285422864228742288422894229042291422924229342294422954229642297422984229942300423014230242303423044230542306423074230842309423104231142312423134231442315423164231742318423194232042321423224232342324423254232642327423284232942330423314233242333423344233542336423374233842339423404234142342423434234442345423464234742348423494235042351423524235342354423554235642357423584235942360423614236242363423644236542366423674236842369423704237142372423734237442375423764237742378423794238042381423824238342384423854238642387423884238942390423914239242393423944239542396423974239842399424004240142402424034240442405424064240742408424094241042411424124241342414424154241642417424184241942420424214242242423424244242542426424274242842429424304243142432424334243442435424364243742438424394244042441424424244342444424454244642447424484244942450424514245242453424544245542456424574245842459424604246142462424634246442465424664246742468424694247042471424724247342474424754247642477424784247942480424814248242483424844248542486424874248842489424904249142492424934249442495424964249742498424994250042501425024250342504425054250642507425084250942510425114251242513425144251542516425174251842519425204252142522425234252442525425264252742528425294253042531425324253342534425354253642537425384253942540425414254242543425444254542546425474254842549425504255142552425534255442555425564255742558425594256042561425624256342564425654256642567425684256942570425714257242573425744257542576425774257842579425804258142582425834258442585425864258742588425894259042591425924259342594425954259642597425984259942600426014260242603426044260542606426074260842609426104261142612426134261442615426164261742618426194262042621426224262342624426254262642627426284262942630426314263242633426344263542636426374263842639426404264142642426434264442645426464264742648426494265042651426524265342654426554265642657426584265942660426614266242663426644266542666426674266842669426704267142672426734267442675426764267742678426794268042681426824268342684426854268642687426884268942690426914269242693426944269542696426974269842699427004270142702427034270442705427064270742708427094271042711427124271342714427154271642717427184271942720427214272242723427244272542726427274272842729427304273142732427334273442735427364273742738427394274042741427424274342744427454274642747427484274942750427514275242753427544275542756427574275842759427604276142762427634276442765427664276742768427694277042771427724277342774427754277642777427784277942780427814278242783427844278542786427874278842789427904279142792427934279442795427964279742798427994280042801428024280342804428054280642807428084280942810428114281242813428144281542816428174281842819428204282142822428234282442825428264282742828428294283042831428324283342834428354283642837428384283942840428414284242843428444284542846428474284842849428504285142852428534285442855428564285742858428594286042861428624286342864428654286642867428684286942870428714287242873428744287542876428774287842879428804288142882428834288442885428864288742888428894289042891428924289342894428954289642897428984289942900429014290242903429044290542906429074290842909429104291142912429134291442915429164291742918429194292042921429224292342924429254292642927429284292942930429314293242933429344293542936429374293842939429404294142942429434294442945429464294742948429494295042951429524295342954429554295642957429584295942960429614296242963429644296542966429674296842969429704297142972429734297442975429764297742978429794298042981429824298342984429854298642987429884298942990429914299242993429944299542996429974299842999430004300143002430034300443005430064300743008430094301043011430124301343014430154301643017430184301943020430214302243023430244302543026430274302843029430304303143032430334303443035430364303743038430394304043041430424304343044430454304643047430484304943050430514305243053430544305543056430574305843059430604306143062430634306443065430664306743068430694307043071430724307343074430754307643077430784307943080430814308243083430844308543086430874308843089430904309143092430934309443095430964309743098430994310043101431024310343104431054310643107431084310943110431114311243113431144311543116431174311843119431204312143122431234312443125431264312743128431294313043131431324313343134431354313643137431384313943140431414314243143431444314543146431474314843149431504315143152431534315443155431564315743158431594316043161431624316343164431654316643167431684316943170431714317243173431744317543176431774317843179431804318143182431834318443185431864318743188431894319043191431924319343194431954319643197431984319943200432014320243203432044320543206432074320843209432104321143212432134321443215432164321743218432194322043221432224322343224432254322643227432284322943230432314323243233432344323543236432374323843239432404324143242432434324443245432464324743248432494325043251432524325343254432554325643257432584325943260432614326243263432644326543266432674326843269432704327143272432734327443275432764327743278432794328043281432824328343284432854328643287432884328943290432914329243293432944329543296432974329843299433004330143302433034330443305433064330743308433094331043311433124331343314433154331643317433184331943320433214332243323433244332543326433274332843329433304333143332433334333443335433364333743338433394334043341433424334343344433454334643347433484334943350433514335243353433544335543356433574335843359433604336143362433634336443365433664336743368433694337043371433724337343374433754337643377433784337943380433814338243383433844338543386433874338843389433904339143392433934339443395433964339743398433994340043401434024340343404434054340643407434084340943410434114341243413434144341543416434174341843419434204342143422434234342443425434264342743428434294343043431434324343343434434354343643437434384343943440434414344243443434444344543446434474344843449434504345143452434534345443455434564345743458434594346043461434624346343464434654346643467434684346943470434714347243473434744347543476434774347843479434804348143482434834348443485434864348743488434894349043491434924349343494434954349643497434984349943500435014350243503435044350543506435074350843509435104351143512435134351443515435164351743518435194352043521435224352343524435254352643527435284352943530435314353243533435344353543536435374353843539435404354143542435434354443545435464354743548435494355043551435524355343554435554355643557435584355943560435614356243563435644356543566435674356843569435704357143572435734357443575435764357743578435794358043581435824358343584435854358643587435884358943590435914359243593435944359543596435974359843599436004360143602436034360443605436064360743608436094361043611436124361343614436154361643617436184361943620436214362243623436244362543626436274362843629436304363143632436334363443635436364363743638436394364043641436424364343644436454364643647436484364943650436514365243653436544365543656436574365843659436604366143662436634366443665436664366743668436694367043671436724367343674436754367643677436784367943680436814368243683436844368543686436874368843689436904369143692436934369443695436964369743698436994370043701437024370343704437054370643707437084370943710437114371243713437144371543716437174371843719437204372143722437234372443725437264372743728437294373043731437324373343734437354373643737437384373943740437414374243743437444374543746437474374843749437504375143752437534375443755437564375743758437594376043761437624376343764437654376643767437684376943770437714377243773437744377543776437774377843779437804378143782437834378443785437864378743788437894379043791437924379343794437954379643797437984379943800438014380243803438044380543806438074380843809438104381143812438134381443815438164381743818438194382043821438224382343824438254382643827438284382943830438314383243833438344383543836438374383843839438404384143842438434384443845438464384743848438494385043851438524385343854438554385643857438584385943860438614386243863438644386543866438674386843869438704387143872438734387443875438764387743878438794388043881438824388343884438854388643887438884388943890438914389243893438944389543896438974389843899439004390143902439034390443905439064390743908439094391043911439124391343914439154391643917439184391943920439214392243923439244392543926439274392843929439304393143932439334393443935439364393743938439394394043941439424394343944439454394643947439484394943950439514395243953439544395543956439574395843959439604396143962439634396443965439664396743968439694397043971439724397343974439754397643977439784397943980439814398243983439844398543986439874398843989439904399143992439934399443995439964399743998439994400044001440024400344004440054400644007440084400944010440114401244013440144401544016440174401844019440204402144022440234402444025440264402744028440294403044031440324403344034440354403644037440384403944040440414404244043440444404544046440474404844049440504405144052440534405444055440564405744058440594406044061440624406344064440654406644067440684406944070440714407244073440744407544076440774407844079440804408144082440834408444085440864408744088440894409044091440924409344094440954409644097440984409944100441014410244103441044410544106441074410844109441104411144112441134411444115441164411744118441194412044121441224412344124441254412644127441284412944130441314413244133441344413544136441374413844139441404414144142441434414444145441464414744148441494415044151441524415344154441554415644157441584415944160441614416244163441644416544166441674416844169441704417144172441734417444175441764417744178441794418044181441824418344184441854418644187441884418944190441914419244193441944419544196441974419844199442004420144202442034420444205442064420744208442094421044211442124421344214442154421644217442184421944220442214422244223442244422544226442274422844229442304423144232442334423444235442364423744238442394424044241442424424344244442454424644247442484424944250442514425244253442544425544256442574425844259442604426144262442634426444265442664426744268442694427044271442724427344274442754427644277442784427944280442814428244283442844428544286442874428844289442904429144292442934429444295442964429744298442994430044301443024430344304443054430644307443084430944310443114431244313443144431544316443174431844319443204432144322443234432444325443264432744328443294433044331443324433344334443354433644337443384433944340443414434244343443444434544346443474434844349443504435144352443534435444355443564435744358443594436044361443624436344364443654436644367443684436944370443714437244373443744437544376443774437844379443804438144382443834438444385443864438744388443894439044391443924439344394443954439644397443984439944400444014440244403444044440544406444074440844409444104441144412444134441444415444164441744418444194442044421444224442344424444254442644427444284442944430444314443244433444344443544436444374443844439444404444144442444434444444445444464444744448444494445044451444524445344454444554445644457444584445944460444614446244463444644446544466444674446844469444704447144472444734447444475444764447744478444794448044481444824448344484444854448644487444884448944490444914449244493444944449544496444974449844499445004450144502445034450444505445064450744508445094451044511445124451344514445154451644517445184451944520445214452244523445244452544526445274452844529445304453144532445334453444535445364453744538445394454044541445424454344544445454454644547445484454944550445514455244553445544455544556445574455844559445604456144562445634456444565445664456744568445694457044571445724457344574445754457644577445784457944580445814458244583445844458544586445874458844589445904459144592445934459444595445964459744598445994460044601446024460344604446054460644607446084460944610446114461244613446144461544616446174461844619446204462144622446234462444625446264462744628446294463044631446324463344634446354463644637446384463944640446414464244643446444464544646446474464844649446504465144652446534465444655446564465744658446594466044661446624466344664446654466644667446684466944670446714467244673446744467544676446774467844679446804468144682446834468444685446864468744688446894469044691
  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. "middlegoodschange": {
  21394. "description": "套期商品变化量 = RELATEDQTY * 折算系数 * (1/(1+增值税))",
  21395. "type": "number"
  21396. },
  21397. "oriavgprice": {
  21398. "description": "期初市场价[当初市场价]",
  21399. "type": "number"
  21400. },
  21401. "relatedamount": {
  21402. "description": "市价总额 = 关联数量 * 期初市场价",
  21403. "type": "number"
  21404. },
  21405. "relatedhedgeplanid": {
  21406. "description": "关联计划ID 【1:采购计划 2:销售计划】",
  21407. "type": "integer"
  21408. },
  21409. "relatedqty": {
  21410. "description": "[期间变化量]关联数量",
  21411. "type": "number"
  21412. },
  21413. "relatedspotcontractid": {
  21414. "description": "关联合同ID 【3:采购合同 4:销售合同】",
  21415. "type": "integer"
  21416. },
  21417. "relatedtype": {
  21418. "description": "关联类型 - 1:套期关联 2:执行关联",
  21419. "type": "integer"
  21420. },
  21421. "spotgoodsbrandid": {
  21422. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\" = 2",
  21423. "type": "integer"
  21424. },
  21425. "spotpricedamount": {
  21426. "description": "定价总额",
  21427. "type": "number"
  21428. },
  21429. "spotpricedavgprice": {
  21430. "description": "现货均价 = 定价总额 / 关联数量",
  21431. "type": "number"
  21432. },
  21433. "spottype": {
  21434. "description": "现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货",
  21435. "type": "integer"
  21436. },
  21437. "tradeuserid": {
  21438. "description": "交易用户ID",
  21439. "type": "integer"
  21440. },
  21441. "unexeqty": {
  21442. "description": "未执行现货量 = 套期现货量 - 执行现货量",
  21443. "type": "number"
  21444. },
  21445. "wrstandardid": {
  21446. "description": "现货商品ID",
  21447. "type": "integer"
  21448. },
  21449. "wrstandardname": {
  21450. "description": "现货商品",
  21451. "type": "string"
  21452. }
  21453. }
  21454. },
  21455. "models.Ermcp2hedgeditemspot": {
  21456. "type": "object",
  21457. "required": [
  21458. "hedgeditemid"
  21459. ],
  21460. "properties": {
  21461. "areauserid": {
  21462. "description": "企业ID",
  21463. "type": "integer"
  21464. },
  21465. "createtime": {
  21466. "description": "创建时间",
  21467. "type": "string"
  21468. },
  21469. "customeruserid": {
  21470. "description": "对手方 【3:采购合同 4:销售合同】",
  21471. "type": "integer"
  21472. },
  21473. "deliverygoodsid": {
  21474. "description": "现货品种ID",
  21475. "type": "integer"
  21476. },
  21477. "enumdicname": {
  21478. "description": "单位",
  21479. "type": "string"
  21480. },
  21481. "hedgeditemid": {
  21482. "description": "被套期项目ID",
  21483. "type": "string"
  21484. },
  21485. "hedgeditemspotid": {
  21486. "description": "现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)",
  21487. "type": "string"
  21488. },
  21489. "hedgedtype": {
  21490. "description": "套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  21491. "type": "integer"
  21492. },
  21493. "hedgeplanno": {
  21494. "description": "计划编号",
  21495. "type": "string"
  21496. },
  21497. "oriavgprice": {
  21498. "description": "期初市场价[当初市场价]",
  21499. "type": "number"
  21500. },
  21501. "relatedamount": {
  21502. "description": "市价总额 = 关联数量 * 期初市场价",
  21503. "type": "number"
  21504. },
  21505. "relatedhedgeplanid": {
  21506. "description": "关联计划ID 【1:采购计划 2:销售计划】",
  21507. "type": "integer"
  21508. },
  21509. "relatedqty": {
  21510. "description": "关联数量[数量]",
  21511. "type": "number"
  21512. },
  21513. "relatedspotcontractid": {
  21514. "description": "关联合同ID 【3:采购合同 4:销售合同】",
  21515. "type": "integer"
  21516. },
  21517. "relatedtype": {
  21518. "description": "关联类型 - 1:套期关联 2:执行关联",
  21519. "type": "integer"
  21520. },
  21521. "spotgoodsbrandid": {
  21522. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\" = 2",
  21523. "type": "integer"
  21524. },
  21525. "spotpricedamount": {
  21526. "description": "定价总额",
  21527. "type": "number"
  21528. },
  21529. "spotpricedavgprice": {
  21530. "description": "现货均价 = 定价总额 / 关联数量",
  21531. "type": "number"
  21532. },
  21533. "spottype": {
  21534. "description": "现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货",
  21535. "type": "integer"
  21536. },
  21537. "tradeuserid": {
  21538. "description": "交易用户ID",
  21539. "type": "integer"
  21540. },
  21541. "wrstandardid": {
  21542. "description": "现货商品ID",
  21543. "type": "integer"
  21544. },
  21545. "wrstandardname": {
  21546. "description": "现货商品",
  21547. "type": "string"
  21548. }
  21549. }
  21550. },
  21551. "models.Ermcp2hedgeditemspotDetail": {
  21552. "type": "object",
  21553. "required": [
  21554. "hedgeditemid"
  21555. ],
  21556. "properties": {
  21557. "accountname": {
  21558. "description": "对手方",
  21559. "type": "string"
  21560. },
  21561. "areauserid": {
  21562. "description": "企业ID",
  21563. "type": "integer"
  21564. },
  21565. "brandname": {
  21566. "description": "品牌",
  21567. "type": "string"
  21568. },
  21569. "contractno": {
  21570. "description": "合同编号",
  21571. "type": "string"
  21572. },
  21573. "createtime": {
  21574. "description": "创建时间",
  21575. "type": "string"
  21576. },
  21577. "customeruserid": {
  21578. "description": "对手方 【3:采购合同 4:销售合同】",
  21579. "type": "integer"
  21580. },
  21581. "deliverygoodsid": {
  21582. "description": "现货品种ID",
  21583. "type": "integer"
  21584. },
  21585. "enumdicname": {
  21586. "description": "单位",
  21587. "type": "string"
  21588. },
  21589. "hedgeditemid": {
  21590. "description": "被套期项目ID",
  21591. "type": "string"
  21592. },
  21593. "hedgeditemspotid": {
  21594. "description": "现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)",
  21595. "type": "string"
  21596. },
  21597. "hedgedtype": {
  21598. "description": "套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  21599. "type": "integer"
  21600. },
  21601. "oriavgprice": {
  21602. "description": "期初市场价[当初市场价]",
  21603. "type": "number"
  21604. },
  21605. "relatedamount": {
  21606. "description": "市价总额 = 关联数量 * 期初市场价",
  21607. "type": "number"
  21608. },
  21609. "relatedhedgeplanid": {
  21610. "description": "关联计划ID 【1:采购计划 2:销售计划】",
  21611. "type": "integer"
  21612. },
  21613. "relatedqty": {
  21614. "description": "关联数量[数量]",
  21615. "type": "number"
  21616. },
  21617. "relatedspotcontractid": {
  21618. "description": "关联合同ID 【3:采购合同 4:销售合同】",
  21619. "type": "integer"
  21620. },
  21621. "relatedtype": {
  21622. "description": "关联类型 - 1:套期关联 2:执行关联",
  21623. "type": "integer"
  21624. },
  21625. "spotgoodsbrandid": {
  21626. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\" = 2",
  21627. "type": "integer"
  21628. },
  21629. "spotpricedamount": {
  21630. "description": "定价总额[金额]",
  21631. "type": "number"
  21632. },
  21633. "spotpricedavgprice": {
  21634. "description": "现货均价 = 定价总额 / 关联数量",
  21635. "type": "number"
  21636. },
  21637. "spottype": {
  21638. "description": "现货类型[合同类型] - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货",
  21639. "type": "integer"
  21640. },
  21641. "tradeuserid": {
  21642. "description": "交易用户ID",
  21643. "type": "integer"
  21644. },
  21645. "wrstandardid": {
  21646. "description": "现货商品ID",
  21647. "type": "integer"
  21648. },
  21649. "wrstandardname": {
  21650. "description": "现货商品",
  21651. "type": "string"
  21652. }
  21653. }
  21654. },
  21655. "models.Ermcp2himiddlegoods": {
  21656. "type": "object",
  21657. "required": [
  21658. "hedgeditemid",
  21659. "middlegoodsid"
  21660. ],
  21661. "properties": {
  21662. "futurehedgeqty": {
  21663. "description": "期货持仓套期量",
  21664. "type": "number"
  21665. },
  21666. "hedgeditemid": {
  21667. "description": "被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)",
  21668. "type": "integer"
  21669. },
  21670. "hiexpsoure": {
  21671. "description": "期现敞口量 = 未执行套期量 + 期货持仓套期量",
  21672. "type": "number"
  21673. },
  21674. "middlegoodscode": {
  21675. "description": "套保商品代码",
  21676. "type": "string"
  21677. },
  21678. "middlegoodsid": {
  21679. "description": "套保品种ID",
  21680. "type": "integer"
  21681. },
  21682. "middlegoodsname": {
  21683. "description": "套保商品名称",
  21684. "type": "string"
  21685. },
  21686. "unexehedgeqty": {
  21687. "description": "未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)",
  21688. "type": "number"
  21689. }
  21690. }
  21691. },
  21692. "models.Ermcp2stockspotchangelog": {
  21693. "type": "object",
  21694. "properties": {
  21695. "accountname": {
  21696. "description": "套期主体",
  21697. "type": "string"
  21698. },
  21699. "aftervalue": {
  21700. "description": "现货量",
  21701. "type": "number"
  21702. },
  21703. "beforevalue": {
  21704. "description": "变更前现货量",
  21705. "type": "number"
  21706. },
  21707. "contractno": {
  21708. "description": "[编号]现货合同编号",
  21709. "type": "string"
  21710. },
  21711. "contracttype": {
  21712. "description": "现货合同类型 - 1:采购 -1:销售",
  21713. "type": "integer"
  21714. },
  21715. "createtime": {
  21716. "description": "创建时间",
  21717. "type": "string"
  21718. },
  21719. "customerusername": {
  21720. "description": "对手方",
  21721. "type": "string"
  21722. },
  21723. "deliverygoodsid": {
  21724. "description": "现货品种ID",
  21725. "type": "integer"
  21726. },
  21727. "exetype": {
  21728. "description": "执行类型 - 1:采购合同 2:销售合同 3:生产入库 4:生产出库",
  21729. "type": "integer"
  21730. },
  21731. "logid": {
  21732. "description": "流水ID(604+Unix秒时间戳(10位)+xxxxxx)",
  21733. "type": "integer"
  21734. },
  21735. "logvalue": {
  21736. "description": "[期间变化量]现货量变更值",
  21737. "type": "number"
  21738. },
  21739. "middlegoodschange": {
  21740. "description": "套期商品变化量 = LogValue * 折算系数 * (1/(1+增值税))",
  21741. "type": "number"
  21742. },
  21743. "operatelogtype": {
  21744. "description": "操作流水类型 - 2:点价数量 21:正常完结(合同) 22:异常终止(合同) 24:采购入库 25:销售出库 26:生产入库 27:生产出库",
  21745. "type": "integer"
  21746. },
  21747. "relatedid": {
  21748. "description": "现货合同ID",
  21749. "type": "integer"
  21750. },
  21751. "spotgoodsbrandid": {
  21752. "description": "现货品牌ID",
  21753. "type": "integer"
  21754. },
  21755. "tradedate": {
  21756. "description": "交易日(yyyyMMdd)",
  21757. "type": "string"
  21758. },
  21759. "userid": {
  21760. "description": "机构ID",
  21761. "type": "integer"
  21762. },
  21763. "warehouseinfoid": {
  21764. "description": "仓库ID",
  21765. "type": "integer"
  21766. },
  21767. "wrfactortypeid": {
  21768. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  21769. "type": "integer"
  21770. },
  21771. "wrstandardid": {
  21772. "description": "现货商品ID",
  21773. "type": "integer"
  21774. },
  21775. "wrstandardname": {
  21776. "description": "商品名称",
  21777. "type": "string"
  21778. }
  21779. }
  21780. },
  21781. "models.Ermcp3AreaSpot": {
  21782. "type": "object",
  21783. "properties": {
  21784. "areauserid": {
  21785. "description": "所属机构",
  21786. "type": "integer"
  21787. },
  21788. "convertratio": {
  21789. "description": "套保系数",
  21790. "type": "number"
  21791. },
  21792. "decreaseqty": {
  21793. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  21794. "type": "number"
  21795. },
  21796. "enumdicname": {
  21797. "description": "单位名称",
  21798. "type": "string"
  21799. },
  21800. "increaseqty": {
  21801. "description": "增加数量=销售计划数量+采购已定价数量",
  21802. "type": "number"
  21803. },
  21804. "oritoalspotqty": {
  21805. "description": "昨日数量",
  21806. "type": "number"
  21807. },
  21808. "totalspotqty": {
  21809. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  21810. "type": "number"
  21811. },
  21812. "unitid": {
  21813. "description": "现货商品单位id",
  21814. "type": "integer"
  21815. },
  21816. "updatetime": {
  21817. "description": "更新时间",
  21818. "type": "string"
  21819. },
  21820. "wrstandardcode": {
  21821. "description": "现货商品代码",
  21822. "type": "string"
  21823. },
  21824. "wrstandardid": {
  21825. "description": "现货商品ID(SEQ_WRSTANDARD)",
  21826. "type": "integer"
  21827. },
  21828. "wrstandardname": {
  21829. "description": "现货商品名称",
  21830. "type": "string"
  21831. }
  21832. }
  21833. },
  21834. "models.Ermcp3AreaSpotDetail": {
  21835. "type": "object",
  21836. "properties": {
  21837. "contracttype": {
  21838. "description": "合同类型 1-采购 -1-销售",
  21839. "type": "integer"
  21840. },
  21841. "createtime": {
  21842. "description": "创建时间",
  21843. "type": "string"
  21844. },
  21845. "enumdicname": {
  21846. "description": "现货商品单位名称",
  21847. "type": "string"
  21848. },
  21849. "logtype": {
  21850. "description": "记录类型 1-套保 2-现货合同",
  21851. "type": "integer"
  21852. },
  21853. "qty": {
  21854. "description": "数量",
  21855. "type": "number"
  21856. },
  21857. "recordname": {
  21858. "description": "类型名称",
  21859. "type": "string"
  21860. },
  21861. "relatedid": {
  21862. "description": "套保计划ID/现货合同ID",
  21863. "type": "string"
  21864. },
  21865. "relatedno": {
  21866. "description": "编号",
  21867. "type": "string"
  21868. },
  21869. "strtime": {
  21870. "description": "时间",
  21871. "type": "string"
  21872. },
  21873. "wrstandardcode": {
  21874. "description": "现货商品代码",
  21875. "type": "string"
  21876. },
  21877. "wrstandardid": {
  21878. "description": "现货商品ID(SEQ_WRSTANDARD)",
  21879. "type": "integer"
  21880. },
  21881. "wrstandardname": {
  21882. "description": "现货商品名称",
  21883. "type": "string"
  21884. }
  21885. }
  21886. },
  21887. "models.Ermcp3AreaSpotPLReport": {
  21888. "type": "object",
  21889. "properties": {
  21890. "accountid": {
  21891. "description": "期货账户ID (作废, 默认为0)",
  21892. "type": "integer"
  21893. },
  21894. "accountname": {
  21895. "description": "机构名称",
  21896. "type": "string"
  21897. },
  21898. "actualpl": {
  21899. "description": "现货损益",
  21900. "type": "number"
  21901. },
  21902. "areauserid": {
  21903. "description": "所属机构\\交易用户ID",
  21904. "type": "integer"
  21905. },
  21906. "begindate": {
  21907. "description": "开始交易日",
  21908. "type": "string"
  21909. },
  21910. "biztype": {
  21911. "description": "业务类型 - 1:套保 2:套利",
  21912. "type": "integer"
  21913. },
  21914. "brandname": {
  21915. "description": "品牌名称",
  21916. "type": "string"
  21917. },
  21918. "curamount": {
  21919. "description": "期末额",
  21920. "type": "number"
  21921. },
  21922. "curaverageprice": {
  21923. "description": "期末均价",
  21924. "type": "number"
  21925. },
  21926. "curbuyamount": {
  21927. "description": "期末采购总额",
  21928. "type": "number"
  21929. },
  21930. "curbuyqty": {
  21931. "description": "期末采购总量",
  21932. "type": "number"
  21933. },
  21934. "curmarketvalue": {
  21935. "description": "参考市值(期末市值)",
  21936. "type": "number"
  21937. },
  21938. "curqty": {
  21939. "description": "期末量",
  21940. "type": "number"
  21941. },
  21942. "currencyid": {
  21943. "description": "结算币种ID【原值】",
  21944. "type": "integer"
  21945. },
  21946. "currencyname": {
  21947. "description": "币种名称",
  21948. "type": "string"
  21949. },
  21950. "cursellamount": {
  21951. "description": "期末销售总额",
  21952. "type": "number"
  21953. },
  21954. "cursellqty": {
  21955. "description": "期末销售总量",
  21956. "type": "number"
  21957. },
  21958. "curspotprice": {
  21959. "description": "参考市价(最新价)",
  21960. "type": "number"
  21961. },
  21962. "cycletime": {
  21963. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  21964. "type": "string"
  21965. },
  21966. "cycletype": {
  21967. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  21968. "type": "integer"
  21969. },
  21970. "deliverygoodscode": {
  21971. "description": "现货品种代码",
  21972. "type": "string"
  21973. },
  21974. "deliverygoodsid": {
  21975. "description": "现货品种ID",
  21976. "type": "integer"
  21977. },
  21978. "deliverygoodsname": {
  21979. "description": "现货品种名称",
  21980. "type": "string"
  21981. },
  21982. "enddate": {
  21983. "description": "结束交易日",
  21984. "type": "string"
  21985. },
  21986. "enumdicname": {
  21987. "description": "现货品种单位名称(作废)",
  21988. "type": "string"
  21989. },
  21990. "floatpl": {
  21991. "description": "浮动损益",
  21992. "type": "number"
  21993. },
  21994. "goodsunitid": {
  21995. "description": "现货品种单位id(作废)",
  21996. "type": "integer"
  21997. },
  21998. "oriamount": {
  21999. "description": "期初额",
  22000. "type": "number"
  22001. },
  22002. "oriaverageprice": {
  22003. "description": "期初均价",
  22004. "type": "number"
  22005. },
  22006. "oribuyamount": {
  22007. "description": "期初采购总额",
  22008. "type": "number"
  22009. },
  22010. "oribuyqty": {
  22011. "description": "期初采购总量",
  22012. "type": "number"
  22013. },
  22014. "oriqty": {
  22015. "description": "期初量",
  22016. "type": "number"
  22017. },
  22018. "orisellamount": {
  22019. "description": "期初销售总额",
  22020. "type": "number"
  22021. },
  22022. "orisellqty": {
  22023. "description": "期初销售总量",
  22024. "type": "number"
  22025. },
  22026. "reckondate": {
  22027. "description": "日照时期(yyyyMMdd)",
  22028. "type": "string"
  22029. },
  22030. "spotgoodsbrandid": {
  22031. "description": "现货品牌ID",
  22032. "type": "integer"
  22033. },
  22034. "todaybuyamount": {
  22035. "description": "今日采购额(今采购额)",
  22036. "type": "number"
  22037. },
  22038. "todaybuyaverageprice": {
  22039. "description": "今日采购均价",
  22040. "type": "number"
  22041. },
  22042. "todaybuyqty": {
  22043. "description": "今日采购量(今采购量)",
  22044. "type": "number"
  22045. },
  22046. "todayinqty": {
  22047. "description": "今日入库量(今入库量)",
  22048. "type": "number"
  22049. },
  22050. "todayoutqty": {
  22051. "description": "今日出库量(今出库量)",
  22052. "type": "number"
  22053. },
  22054. "todaysellamount": {
  22055. "description": "今日销售额(今销售额)",
  22056. "type": "number"
  22057. },
  22058. "todaysellaverageprice": {
  22059. "description": "今日销售均价",
  22060. "type": "number"
  22061. },
  22062. "todaysellqty": {
  22063. "description": "今日销售量(今销售量)",
  22064. "type": "number"
  22065. },
  22066. "unitid": {
  22067. "description": "品类单位id",
  22068. "type": "integer"
  22069. },
  22070. "unitidname": {
  22071. "description": "品类单位名称",
  22072. "type": "string"
  22073. },
  22074. "updatetime": {
  22075. "description": "更新时间",
  22076. "type": "string"
  22077. },
  22078. "wrfactortypeid": {
  22079. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  22080. "type": "integer"
  22081. },
  22082. "wrstandardcode": {
  22083. "description": "现货商品(品类)代码",
  22084. "type": "string"
  22085. },
  22086. "wrstandardid": {
  22087. "description": "现货品类ID",
  22088. "type": "integer"
  22089. },
  22090. "wrstandardname": {
  22091. "description": "现货商品(品类)名称",
  22092. "type": "string"
  22093. }
  22094. }
  22095. },
  22096. "models.Ermcp3AreaStock": {
  22097. "type": "object",
  22098. "required": [
  22099. "userid"
  22100. ],
  22101. "properties": {
  22102. "brandname": {
  22103. "description": "品牌名称",
  22104. "type": "string"
  22105. },
  22106. "curstock": {
  22107. "description": "期末库存量(今日量)",
  22108. "type": "number"
  22109. },
  22110. "deliverygoodscode": {
  22111. "description": "现货品种代码",
  22112. "type": "string"
  22113. },
  22114. "deliverygoodsid": {
  22115. "description": "现货品种id",
  22116. "type": "integer"
  22117. },
  22118. "deliverygoodsname": {
  22119. "description": "现货品种名称",
  22120. "type": "string"
  22121. },
  22122. "enumdicname": {
  22123. "description": "单位名称",
  22124. "type": "string"
  22125. },
  22126. "goodsunitid": {
  22127. "description": "现货商品单位id",
  22128. "type": "integer"
  22129. },
  22130. "oristock": {
  22131. "description": "期初库存量(昨日量)",
  22132. "type": "number"
  22133. },
  22134. "spotgoodsbrandid": {
  22135. "description": "现货品牌ID",
  22136. "type": "integer"
  22137. },
  22138. "todaybuyinqty": {
  22139. "description": "今日采购入库量",
  22140. "type": "number"
  22141. },
  22142. "todayproduceinqty": {
  22143. "description": "今日生产入库量",
  22144. "type": "number"
  22145. },
  22146. "todayproduceoutqty": {
  22147. "description": "今日生产出库量",
  22148. "type": "number"
  22149. },
  22150. "todayselloutqty": {
  22151. "description": "今日销售出库量",
  22152. "type": "number"
  22153. },
  22154. "unitid": {
  22155. "description": "单位id",
  22156. "type": "integer"
  22157. },
  22158. "updatetime": {
  22159. "description": "更新时间",
  22160. "type": "string"
  22161. },
  22162. "userid": {
  22163. "description": "机构ID",
  22164. "type": "integer"
  22165. },
  22166. "username": {
  22167. "description": "机构名称",
  22168. "type": "string"
  22169. },
  22170. "warehousecode": {
  22171. "description": "仓库代码",
  22172. "type": "string"
  22173. },
  22174. "warehouseinfoid": {
  22175. "description": "仓库ID",
  22176. "type": "string"
  22177. },
  22178. "warehousename": {
  22179. "description": "仓库名称",
  22180. "type": "string"
  22181. },
  22182. "warehousetype": {
  22183. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  22184. "type": "integer"
  22185. },
  22186. "wrstandardcode": {
  22187. "description": "品类代码",
  22188. "type": "string"
  22189. },
  22190. "wrstandardid": {
  22191. "description": "品类ID",
  22192. "type": "string"
  22193. },
  22194. "wrstandardname": {
  22195. "description": "品类名称",
  22196. "type": "string"
  22197. }
  22198. }
  22199. },
  22200. "models.Ermcp3AreaStockApply": {
  22201. "type": "object",
  22202. "properties": {
  22203. "applyid": {
  22204. "description": "申请人",
  22205. "type": "integer"
  22206. },
  22207. "applyname": {
  22208. "description": "申请人名称",
  22209. "type": "string"
  22210. },
  22211. "applyremark": {
  22212. "description": "申请备注",
  22213. "type": "string"
  22214. },
  22215. "applysrc": {
  22216. "description": "申请来源 - 1:管理端 2:终端",
  22217. "type": "integer"
  22218. },
  22219. "applystatus": {
  22220. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  22221. "type": "integer"
  22222. },
  22223. "applytime": {
  22224. "description": "申请时间",
  22225. "type": "string"
  22226. },
  22227. "auditid": {
  22228. "description": "审核人",
  22229. "type": "integer"
  22230. },
  22231. "auditname": {
  22232. "description": "审核人名称",
  22233. "type": "string"
  22234. },
  22235. "auditremark": {
  22236. "description": "审核备注",
  22237. "type": "string"
  22238. },
  22239. "auditsrc": {
  22240. "description": "审核来源 - 1:管理端 2:终端",
  22241. "type": "integer"
  22242. },
  22243. "audittime": {
  22244. "description": "审核时间",
  22245. "type": "string"
  22246. },
  22247. "audittradedate": {
  22248. "description": "审核交易日(yyyyMMdd)",
  22249. "type": "string"
  22250. },
  22251. "brandname": {
  22252. "description": "品牌名称",
  22253. "type": "string"
  22254. },
  22255. "buynickname": {
  22256. "description": "采购方昵称",
  22257. "type": "string"
  22258. },
  22259. "buyuserid": {
  22260. "description": "采购方userid",
  22261. "type": "integer"
  22262. },
  22263. "buyusername": {
  22264. "description": "采购方名称",
  22265. "type": "string"
  22266. },
  22267. "contractno": {
  22268. "description": "合同编号",
  22269. "type": "string"
  22270. },
  22271. "contractqty": {
  22272. "description": "合同量",
  22273. "type": "number"
  22274. },
  22275. "contracttype": {
  22276. "description": "现货合同类型 - 1:采购 -1:销售",
  22277. "type": "integer"
  22278. },
  22279. "deliverygoodscode": {
  22280. "description": "现货品种代码",
  22281. "type": "string"
  22282. },
  22283. "deliverygoodsid": {
  22284. "description": "现货品种id",
  22285. "type": "integer"
  22286. },
  22287. "deliverygoodsname": {
  22288. "description": "现货品种名称",
  22289. "type": "string"
  22290. },
  22291. "detailjson": {
  22292. "description": "明细数据",
  22293. "type": "string"
  22294. },
  22295. "enumdicname": {
  22296. "description": "现货商品单位名称",
  22297. "type": "string"
  22298. },
  22299. "inoutapplyid": {
  22300. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  22301. "type": "string"
  22302. },
  22303. "inouttype": {
  22304. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  22305. "type": "integer"
  22306. },
  22307. "pricetype": {
  22308. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  22309. "type": "integer"
  22310. },
  22311. "qty": {
  22312. "description": "数量",
  22313. "type": "number"
  22314. },
  22315. "sellnickname": {
  22316. "description": "销售方昵称",
  22317. "type": "string"
  22318. },
  22319. "selluserid": {
  22320. "description": "销售方userid",
  22321. "type": "integer"
  22322. },
  22323. "sellusername": {
  22324. "description": "销售方名称",
  22325. "type": "string"
  22326. },
  22327. "spotcontractid": {
  22328. "description": "关联现货合同ID",
  22329. "type": "string"
  22330. },
  22331. "spotgoodsbrandid": {
  22332. "description": "现货品牌ID",
  22333. "type": "integer"
  22334. },
  22335. "unitid": {
  22336. "description": "单位id",
  22337. "type": "integer"
  22338. },
  22339. "userid": {
  22340. "description": "机构ID",
  22341. "type": "integer"
  22342. },
  22343. "warehousecode": {
  22344. "description": "仓库代码",
  22345. "type": "string"
  22346. },
  22347. "warehouseinfoid": {
  22348. "description": "现货仓库ID",
  22349. "type": "string"
  22350. },
  22351. "warehousename": {
  22352. "description": "仓库名称",
  22353. "type": "string"
  22354. },
  22355. "warehousetype": {
  22356. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  22357. "type": "integer"
  22358. },
  22359. "wrstandardcode": {
  22360. "description": "品类代码",
  22361. "type": "string"
  22362. },
  22363. "wrstandardid": {
  22364. "description": "品类ID",
  22365. "type": "integer"
  22366. },
  22367. "wrstandardname": {
  22368. "description": "品类名称",
  22369. "type": "string"
  22370. }
  22371. }
  22372. },
  22373. "models.Ermcp3AreaStockApplySum": {
  22374. "type": "object",
  22375. "properties": {
  22376. "brandname": {
  22377. "description": "品牌名称",
  22378. "type": "string"
  22379. },
  22380. "inouttype": {
  22381. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  22382. "type": "integer"
  22383. },
  22384. "spotcontractid": {
  22385. "description": "关联现货合同ID",
  22386. "type": "string"
  22387. },
  22388. "spotgoodsbrandid": {
  22389. "description": "品牌id",
  22390. "type": "integer"
  22391. },
  22392. "totalqty": {
  22393. "description": "总数量",
  22394. "type": "number"
  22395. },
  22396. "wrstandardid": {
  22397. "description": "品类id",
  22398. "type": "integer"
  22399. },
  22400. "wrstandardname": {
  22401. "description": "品类名称",
  22402. "type": "string"
  22403. }
  22404. }
  22405. },
  22406. "models.Ermcp3AreaStockReportEx": {
  22407. "type": "object",
  22408. "properties": {
  22409. "begindate": {
  22410. "description": "开始交易日",
  22411. "type": "string"
  22412. },
  22413. "brandname": {
  22414. "description": "品牌名称",
  22415. "type": "string"
  22416. },
  22417. "curstock": {
  22418. "description": "期末库存量",
  22419. "type": "number"
  22420. },
  22421. "cycletime": {
  22422. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  22423. "type": "string"
  22424. },
  22425. "cycletype": {
  22426. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  22427. "type": "integer"
  22428. },
  22429. "deliverygoodscode": {
  22430. "description": "现货品种代码",
  22431. "type": "string"
  22432. },
  22433. "deliverygoodsid": {
  22434. "description": "现货品种id",
  22435. "type": "integer"
  22436. },
  22437. "deliverygoodsname": {
  22438. "description": "现货品种名称",
  22439. "type": "string"
  22440. },
  22441. "diffqty": {
  22442. "description": "库存变化量 = 期末 - 期初",
  22443. "type": "number"
  22444. },
  22445. "enddate": {
  22446. "description": "结束交易日",
  22447. "type": "string"
  22448. },
  22449. "enumdicname": {
  22450. "description": "单位名称",
  22451. "type": "string"
  22452. },
  22453. "goodsunitid": {
  22454. "description": "现货单位id",
  22455. "type": "integer"
  22456. },
  22457. "oristock": {
  22458. "description": "期初库存量",
  22459. "type": "number"
  22460. },
  22461. "reckondate": {
  22462. "description": "日照时期(yyyyMMdd)",
  22463. "type": "string"
  22464. },
  22465. "spotgoodsbrandid": {
  22466. "description": "现货品牌ID",
  22467. "type": "integer"
  22468. },
  22469. "todaybuyinqty": {
  22470. "description": "今采购入库量",
  22471. "type": "number"
  22472. },
  22473. "todayproduceinqty": {
  22474. "description": "今内部入库量",
  22475. "type": "number"
  22476. },
  22477. "todayproduceoutqty": {
  22478. "description": "今内部出库量",
  22479. "type": "number"
  22480. },
  22481. "todayselloutqty": {
  22482. "description": "今销售出库量",
  22483. "type": "number"
  22484. },
  22485. "unbuyinqty": {
  22486. "description": "采购未入库量(数据库未找到相关字段?)",
  22487. "type": "number"
  22488. },
  22489. "unitid": {
  22490. "description": "品类单位id",
  22491. "type": "integer"
  22492. },
  22493. "unselloutqty": {
  22494. "description": "销售未出库量(数据库未找到相关字段?)",
  22495. "type": "number"
  22496. },
  22497. "updatetime": {
  22498. "description": "更新时间",
  22499. "type": "string"
  22500. },
  22501. "userid": {
  22502. "description": "机构ID",
  22503. "type": "integer"
  22504. },
  22505. "username": {
  22506. "description": "机构名称",
  22507. "type": "string"
  22508. },
  22509. "warehousecode": {
  22510. "description": "仓库代码",
  22511. "type": "string"
  22512. },
  22513. "warehouseinfoid": {
  22514. "description": "仓库ID",
  22515. "type": "string"
  22516. },
  22517. "warehousename": {
  22518. "description": "仓库名称",
  22519. "type": "string"
  22520. },
  22521. "warehousetype": {
  22522. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  22523. "type": "integer"
  22524. },
  22525. "wrstandardcode": {
  22526. "description": "品类代码",
  22527. "type": "string"
  22528. },
  22529. "wrstandardid": {
  22530. "description": "品类ID",
  22531. "type": "integer"
  22532. },
  22533. "wrstandardname": {
  22534. "description": "品类名称",
  22535. "type": "string"
  22536. }
  22537. }
  22538. },
  22539. "models.Ermcp3ArealSumPL": {
  22540. "type": "object",
  22541. "properties": {
  22542. "accountname": {
  22543. "description": "机构名称",
  22544. "type": "string"
  22545. },
  22546. "areauserid": {
  22547. "description": "所属机构\\交易用户ID",
  22548. "type": "integer"
  22549. },
  22550. "begindate": {
  22551. "description": "开始交易日",
  22552. "type": "string"
  22553. },
  22554. "currencyid": {
  22555. "description": "结算币种ID",
  22556. "type": "integer"
  22557. },
  22558. "currencyname": {
  22559. "description": "币种名称",
  22560. "type": "string"
  22561. },
  22562. "cycletime": {
  22563. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  22564. "type": "string"
  22565. },
  22566. "cycletype": {
  22567. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  22568. "type": "integer"
  22569. },
  22570. "enddate": {
  22571. "description": "结束交易日",
  22572. "type": "string"
  22573. },
  22574. "enumdicname": {
  22575. "description": "单位名称(套保品种)",
  22576. "type": "string"
  22577. },
  22578. "futureactualpl": {
  22579. "description": "期货损益",
  22580. "type": "number"
  22581. },
  22582. "futurefloatpl": {
  22583. "description": "期货浮动损益",
  22584. "type": "number"
  22585. },
  22586. "futurespotratio": {
  22587. "description": "期现比例 = 期货头寸总量 / 现货头寸总量",
  22588. "type": "number"
  22589. },
  22590. "goodsunitid": {
  22591. "description": "套保品种单位id",
  22592. "type": "integer"
  22593. },
  22594. "hedgeexposurepl": {
  22595. "description": "套保敞口损益",
  22596. "type": "number"
  22597. },
  22598. "middlegoodscode": {
  22599. "description": "套保品种代码",
  22600. "type": "string"
  22601. },
  22602. "middlegoodsid": {
  22603. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  22604. "type": "integer"
  22605. },
  22606. "middlegoodsname": {
  22607. "description": "套保品种名称",
  22608. "type": "string"
  22609. },
  22610. "reckondate": {
  22611. "description": "日照时期(yyyyMMdd)",
  22612. "type": "string"
  22613. },
  22614. "spotactualpl": {
  22615. "description": "现货损益",
  22616. "type": "number"
  22617. },
  22618. "spotfloatpl": {
  22619. "description": "现货浮动损益",
  22620. "type": "number"
  22621. },
  22622. "sumactualpl": {
  22623. "description": "实际损益 = (ActualPL + FutureActualPL)",
  22624. "type": "number"
  22625. },
  22626. "sumpl": {
  22627. "description": "总敞口损益 | 汇总损益",
  22628. "type": "number"
  22629. },
  22630. "totalfutureqty": {
  22631. "description": "期货头寸总量",
  22632. "type": "number"
  22633. },
  22634. "totalneedhedgeqty": {
  22635. "description": "应套保总量",
  22636. "type": "number"
  22637. },
  22638. "totalspotqty": {
  22639. "description": "现货头寸总量",
  22640. "type": "number"
  22641. },
  22642. "updatetime": {
  22643. "description": "更新时间",
  22644. "type": "string"
  22645. }
  22646. }
  22647. },
  22648. "models.Ermcp3Brand": {
  22649. "type": "object",
  22650. "properties": {
  22651. "areauserid": {
  22652. "description": "用户id",
  22653. "type": "integer"
  22654. },
  22655. "brandid": {
  22656. "description": "品牌id",
  22657. "type": "integer"
  22658. },
  22659. "brandname": {
  22660. "description": "品牌名称",
  22661. "type": "string"
  22662. },
  22663. "deliverygoodsid": {
  22664. "description": "品种ID",
  22665. "type": "integer"
  22666. },
  22667. "isvalid": {
  22668. "description": "是否有效",
  22669. "type": "integer"
  22670. }
  22671. }
  22672. },
  22673. "models.Ermcp3Contract": {
  22674. "type": "object",
  22675. "properties": {
  22676. "accountid": {
  22677. "description": "期货账户id",
  22678. "type": "string"
  22679. },
  22680. "amount": {
  22681. "description": "金额 [1:一口价、3:暂定价]",
  22682. "type": "number"
  22683. },
  22684. "attachment": {
  22685. "description": "附件",
  22686. "type": "string"
  22687. },
  22688. "auditremark": {
  22689. "description": "审核意见",
  22690. "type": "string"
  22691. },
  22692. "audittime": {
  22693. "description": "审核时间",
  22694. "type": "string"
  22695. },
  22696. "biztype": {
  22697. "description": "业务类型 1-套保 2-套利",
  22698. "type": "integer"
  22699. },
  22700. "brandname": {
  22701. "description": "品牌名称",
  22702. "type": "string"
  22703. },
  22704. "buynickname": {
  22705. "description": "销售方昵称",
  22706. "type": "string"
  22707. },
  22708. "buyuserid": {
  22709. "description": "采购方ID",
  22710. "type": "integer"
  22711. },
  22712. "buyusername": {
  22713. "description": "采购方名称",
  22714. "type": "string"
  22715. },
  22716. "contracctstatus": {
  22717. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  22718. "type": "integer"
  22719. },
  22720. "contractmargin": {
  22721. "description": "合同保证金",
  22722. "type": "number"
  22723. },
  22724. "contractno": {
  22725. "description": "现货合同编号",
  22726. "type": "string"
  22727. },
  22728. "contracttype": {
  22729. "description": "现货合同类型 - 1:采购 -1:销售",
  22730. "type": "integer"
  22731. },
  22732. "convertfactor": {
  22733. "description": "标仓系数(品类)",
  22734. "type": "number"
  22735. },
  22736. "createtime": {
  22737. "description": "创建时间",
  22738. "type": "string"
  22739. },
  22740. "currencyid": {
  22741. "description": "币种id",
  22742. "type": "integer"
  22743. },
  22744. "currencyname": {
  22745. "description": "币种名称",
  22746. "type": "string"
  22747. },
  22748. "deliveryenddate": {
  22749. "description": "交收期(结束)",
  22750. "type": "string"
  22751. },
  22752. "deliverygoodscode": {
  22753. "description": "现货品种代码",
  22754. "type": "string"
  22755. },
  22756. "deliverygoodsid": {
  22757. "description": "现货品种ID",
  22758. "type": "integer"
  22759. },
  22760. "deliverygoodsname": {
  22761. "description": "现货品种名称",
  22762. "type": "string"
  22763. },
  22764. "deliverystartdate": {
  22765. "description": "交收期(开始)",
  22766. "type": "string"
  22767. },
  22768. "enddate": {
  22769. "description": "点价结束日期 [2:点价 3:暂定价]",
  22770. "type": "string"
  22771. },
  22772. "enumdicname": {
  22773. "description": "单位名称",
  22774. "type": "string"
  22775. },
  22776. "goodscode": {
  22777. "description": "点价合约代码",
  22778. "type": "string"
  22779. },
  22780. "goodsid": {
  22781. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  22782. "type": "integer"
  22783. },
  22784. "goodsname": {
  22785. "description": "点价商品名称",
  22786. "type": "string"
  22787. },
  22788. "margin": {
  22789. "description": "当前保证金",
  22790. "type": "number"
  22791. },
  22792. "meruserid": {
  22793. "description": "跟单员id",
  22794. "type": "integer"
  22795. },
  22796. "meruserlogincode": {
  22797. "description": "跟单员登录代码",
  22798. "type": "string"
  22799. },
  22800. "merusername": {
  22801. "description": "跟单员名称",
  22802. "type": "string"
  22803. },
  22804. "pointdesc": {
  22805. "description": "点价备注",
  22806. "type": "string"
  22807. },
  22808. "price": {
  22809. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  22810. "type": "number"
  22811. },
  22812. "pricemove": {
  22813. "description": "升贴水 [2:点价 3:暂定价]",
  22814. "type": "number"
  22815. },
  22816. "pricetype": {
  22817. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  22818. "type": "integer"
  22819. },
  22820. "producttype": {
  22821. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  22822. "type": "integer"
  22823. },
  22824. "qty": {
  22825. "description": "数量",
  22826. "type": "number"
  22827. },
  22828. "remark": {
  22829. "description": "备注",
  22830. "type": "string"
  22831. },
  22832. "saleuserid": {
  22833. "description": "业务员id",
  22834. "type": "integer"
  22835. },
  22836. "saleuserlogincode": {
  22837. "description": "业务员登录代码",
  22838. "type": "string"
  22839. },
  22840. "saleusername": {
  22841. "description": "业务员名称",
  22842. "type": "string"
  22843. },
  22844. "sellnickname": {
  22845. "description": "采购方昵称",
  22846. "type": "string"
  22847. },
  22848. "selluserid": {
  22849. "description": "销售方ID",
  22850. "type": "integer"
  22851. },
  22852. "sellusername": {
  22853. "description": "销售方名称",
  22854. "type": "string"
  22855. },
  22856. "spotcontractid": {
  22857. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  22858. "type": "string"
  22859. },
  22860. "spotgoodsbrandid": {
  22861. "description": "现货品牌ID(DGFactoryItem表的ID)",
  22862. "type": "integer"
  22863. },
  22864. "spotgoodsdesc": {
  22865. "description": "商品型号",
  22866. "type": "string"
  22867. },
  22868. "startdate": {
  22869. "description": "点价开始日期 [2:点价 3:暂定价]",
  22870. "type": "string"
  22871. },
  22872. "subjectid": {
  22873. "description": "交易主体ID",
  22874. "type": "integer"
  22875. },
  22876. "subjectname": {
  22877. "description": "交易主体名称",
  22878. "type": "string"
  22879. },
  22880. "tradeuserid": {
  22881. "description": "交易员id",
  22882. "type": "integer"
  22883. },
  22884. "tradeuserlogincode": {
  22885. "description": "交易员登录代码",
  22886. "type": "string"
  22887. },
  22888. "tradeusername": {
  22889. "description": "交易员名称",
  22890. "type": "string"
  22891. },
  22892. "unitid": {
  22893. "description": "单位id(取品类上的单位id)",
  22894. "type": "integer"
  22895. },
  22896. "updatetime": {
  22897. "description": "更新时间",
  22898. "type": "string"
  22899. },
  22900. "userid": {
  22901. "description": "所属机构ID",
  22902. "type": "integer"
  22903. },
  22904. "vatrate": {
  22905. "description": "增值税率",
  22906. "type": "number"
  22907. },
  22908. "wrstandardcode": {
  22909. "description": "品类代码",
  22910. "type": "string"
  22911. },
  22912. "wrstandardid": {
  22913. "description": "品类ID",
  22914. "type": "integer"
  22915. },
  22916. "wrstandardname": {
  22917. "description": "品类名称",
  22918. "type": "string"
  22919. }
  22920. }
  22921. },
  22922. "models.Ermcp3ContractMiddleGoodsCfg": {
  22923. "type": "object",
  22924. "properties": {
  22925. "agreeunit": {
  22926. "description": "合约乘数",
  22927. "type": "number"
  22928. },
  22929. "convertratio": {
  22930. "description": "期货品种系数",
  22931. "type": "number"
  22932. },
  22933. "covertqty": {
  22934. "description": "折算手数 =【待点价量 / (合约乘数*期货品种系数) 】",
  22935. "type": "integer"
  22936. },
  22937. "middlegoodsid": {
  22938. "description": "套保品种ID",
  22939. "type": "integer"
  22940. },
  22941. "middlegoodspricedqty3": {
  22942. "description": "已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率",
  22943. "type": "string",
  22944. "example": "0"
  22945. },
  22946. "pendingpricedqty": {
  22947. "description": "待点价量",
  22948. "type": "string",
  22949. "example": "0"
  22950. },
  22951. "relatedmiddlegoodsqty": {
  22952. "description": "已关联量(套保品种-期货)",
  22953. "type": "string",
  22954. "example": "0"
  22955. },
  22956. "spotcontractid": {
  22957. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  22958. "type": "string"
  22959. }
  22960. }
  22961. },
  22962. "models.Ermcp3ExposureContractDetail": {
  22963. "type": "object",
  22964. "properties": {
  22965. "biztype": {
  22966. "description": "业务类型 1-套保 2-套利",
  22967. "type": "integer"
  22968. },
  22969. "brandname": {
  22970. "description": "品牌名称",
  22971. "type": "string"
  22972. },
  22973. "buyuserid": {
  22974. "description": "采购方id",
  22975. "type": "integer"
  22976. },
  22977. "buyusername": {
  22978. "description": "采购方名称",
  22979. "type": "string"
  22980. },
  22981. "contractno": {
  22982. "description": "合同编号",
  22983. "type": "string"
  22984. },
  22985. "contracttype": {
  22986. "description": "现货合同类型 - 1:采购 -1:销售",
  22987. "type": "integer"
  22988. },
  22989. "convertfactor": {
  22990. "description": "标仓系数",
  22991. "type": "number"
  22992. },
  22993. "convertratio": {
  22994. "description": "折算系数(套保品种)",
  22995. "type": "number"
  22996. },
  22997. "curqty": {
  22998. "description": "今定价量",
  22999. "type": "number"
  23000. },
  23001. "deliverygoodscode": {
  23002. "description": "现货品种代码",
  23003. "type": "string"
  23004. },
  23005. "deliverygoodsid": {
  23006. "description": "现货品种id",
  23007. "type": "integer"
  23008. },
  23009. "deliverygoodsname": {
  23010. "description": "现货品种名称",
  23011. "type": "string"
  23012. },
  23013. "diffhedgeqty": {
  23014. "description": "套保变动量",
  23015. "type": "number"
  23016. },
  23017. "diffneedhedgeqty": {
  23018. "description": "应套保变动量",
  23019. "type": "number"
  23020. },
  23021. "diffqty": {
  23022. "description": "套保品种今变动量",
  23023. "type": "number"
  23024. },
  23025. "enumdicname": {
  23026. "description": "单位名称",
  23027. "type": "string"
  23028. },
  23029. "mgunitname": {
  23030. "description": "套保品种单位名称",
  23031. "type": "string"
  23032. },
  23033. "middlegoodscode": {
  23034. "description": "套保品种代码",
  23035. "type": "string"
  23036. },
  23037. "middlegoodsid": {
  23038. "description": "套保品种id",
  23039. "type": "integer"
  23040. },
  23041. "middlegoodsname": {
  23042. "description": "套保品种名称",
  23043. "type": "string"
  23044. },
  23045. "needarbitrageratio": {
  23046. "description": "应套利比例",
  23047. "type": "number"
  23048. },
  23049. "needhedgeratio": {
  23050. "description": "应套保比例",
  23051. "type": "number"
  23052. },
  23053. "pricedqty": {
  23054. "description": "已定价量",
  23055. "type": "number"
  23056. },
  23057. "qty": {
  23058. "description": "合同量",
  23059. "type": "number"
  23060. },
  23061. "reckondate": {
  23062. "description": "交易日(reckondate)",
  23063. "type": "string"
  23064. },
  23065. "selluserid": {
  23066. "description": "销售方id",
  23067. "type": "integer"
  23068. },
  23069. "sellusername": {
  23070. "description": "销售方名称",
  23071. "type": "string"
  23072. },
  23073. "spotcontractid": {
  23074. "description": "合同id",
  23075. "type": "string"
  23076. },
  23077. "todaypricedqty": {
  23078. "description": "今定价量",
  23079. "type": "number"
  23080. },
  23081. "tradedate": {
  23082. "description": "交易日",
  23083. "type": "string"
  23084. },
  23085. "unitid": {
  23086. "description": "品类单位id",
  23087. "type": "integer"
  23088. },
  23089. "userid": {
  23090. "description": "机构id",
  23091. "type": "integer"
  23092. },
  23093. "username": {
  23094. "description": "交易用户",
  23095. "type": "string"
  23096. },
  23097. "wrstandardcode": {
  23098. "description": "现货商品代码",
  23099. "type": "string"
  23100. },
  23101. "wrstandardid": {
  23102. "description": "现货商品id",
  23103. "type": "integer"
  23104. },
  23105. "wrstandardname": {
  23106. "description": "现货商品名称",
  23107. "type": "string"
  23108. }
  23109. }
  23110. },
  23111. "models.Ermcp3ExposureDetail": {
  23112. "type": "object",
  23113. "properties": {
  23114. "areauserid": {
  23115. "description": "机构ID",
  23116. "type": "integer"
  23117. },
  23118. "changeQty": {
  23119. "description": "套保变动量",
  23120. "type": "number"
  23121. },
  23122. "contracttype": {
  23123. "description": "现货合同类型 - 1:采购 -1:销售",
  23124. "type": "integer"
  23125. },
  23126. "convertfactor": {
  23127. "description": "标仓系数",
  23128. "type": "number"
  23129. },
  23130. "convertratio": {
  23131. "description": "折算系数",
  23132. "type": "number"
  23133. },
  23134. "createtime": {
  23135. "description": "时间",
  23136. "type": "string"
  23137. },
  23138. "enumdicname": {
  23139. "description": "现货商品单位名称",
  23140. "type": "string"
  23141. },
  23142. "logtype": {
  23143. "description": "类型 - 1:套保计划 2:现货合同",
  23144. "type": "integer"
  23145. },
  23146. "mgunitid": {
  23147. "description": "套保品种单位id",
  23148. "type": "integer"
  23149. },
  23150. "mgunitidname": {
  23151. "description": "套保品种单位名称",
  23152. "type": "string"
  23153. },
  23154. "middlegoodsId": {
  23155. "description": "套保商品id",
  23156. "type": "integer"
  23157. },
  23158. "middlegoodscode": {
  23159. "description": "套保商品代码",
  23160. "type": "string"
  23161. },
  23162. "middlegoodsname": {
  23163. "description": "套保商品名称",
  23164. "type": "string"
  23165. },
  23166. "qty": {
  23167. "description": "数量",
  23168. "type": "number"
  23169. },
  23170. "relateNo": {
  23171. "description": "现货合同/套保计划编号",
  23172. "type": "string"
  23173. },
  23174. "unitid": {
  23175. "description": "现货商品单位id",
  23176. "type": "integer"
  23177. },
  23178. "wrstandardcode": {
  23179. "description": "现货商品代码",
  23180. "type": "string"
  23181. },
  23182. "wrstandardid": {
  23183. "description": "现货商品ID(SEQ_WRSTANDARD)",
  23184. "type": "integer"
  23185. },
  23186. "wrstandardname": {
  23187. "description": "现货商品名称",
  23188. "type": "string"
  23189. }
  23190. }
  23191. },
  23192. "models.Ermcp3ExposureFutuDetail": {
  23193. "type": "object",
  23194. "properties": {
  23195. "accountid": {
  23196. "description": "交易账户id",
  23197. "type": "integer"
  23198. },
  23199. "accountname": {
  23200. "description": "交易账户",
  23201. "type": "string"
  23202. },
  23203. "begindate": {
  23204. "description": "开始交易日",
  23205. "type": "string"
  23206. },
  23207. "buyorsell": {
  23208. "description": "方向 0-买 1-卖",
  23209. "type": "integer"
  23210. },
  23211. "diffmgqty": {
  23212. "description": "套保品种今变化量",
  23213. "type": "number"
  23214. },
  23215. "diffneedqty": {
  23216. "description": "应套保总量变化量",
  23217. "type": "number"
  23218. },
  23219. "difftradeqty": {
  23220. "description": "交易品种今变化量",
  23221. "type": "number"
  23222. },
  23223. "enddate": {
  23224. "description": "结束交易日",
  23225. "type": "string"
  23226. },
  23227. "enumdicname": {
  23228. "description": "单位名称",
  23229. "type": "string"
  23230. },
  23231. "goodscode": {
  23232. "description": "商品代码",
  23233. "type": "string"
  23234. },
  23235. "goodsid": {
  23236. "description": "商品id",
  23237. "type": "integer"
  23238. },
  23239. "goodsname": {
  23240. "description": "商品名称",
  23241. "type": "string"
  23242. },
  23243. "holdqty": {
  23244. "description": "期末持仓量",
  23245. "type": "number"
  23246. },
  23247. "middlegoodscode": {
  23248. "description": "套保商品代码",
  23249. "type": "string"
  23250. },
  23251. "middlegoodsid": {
  23252. "description": "套保商品id",
  23253. "type": "integer"
  23254. },
  23255. "middlegoodsname": {
  23256. "description": "套保商品名称",
  23257. "type": "string"
  23258. },
  23259. "oriholdqty": {
  23260. "description": "期初持仓量",
  23261. "type": "number"
  23262. },
  23263. "reckondate": {
  23264. "description": "交易日(RECKONDATE)",
  23265. "type": "string"
  23266. },
  23267. "todaycloseqty": {
  23268. "description": "今平仓量",
  23269. "type": "number"
  23270. },
  23271. "todayopenqty": {
  23272. "description": "今开仓量",
  23273. "type": "number"
  23274. },
  23275. "tradedate": {
  23276. "description": "交易日(RECKONDATE)",
  23277. "type": "string"
  23278. },
  23279. "username": {
  23280. "description": "用户名称(交易用户)",
  23281. "type": "string"
  23282. }
  23283. }
  23284. },
  23285. "models.Ermcp3ExposureHedgeplanDetail": {
  23286. "type": "object",
  23287. "properties": {
  23288. "biztype": {
  23289. "description": "业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利",
  23290. "type": "integer"
  23291. },
  23292. "changqty": {
  23293. "description": "应套保总量变化量",
  23294. "type": "number"
  23295. },
  23296. "contracttype": {
  23297. "description": "计划类型 - 1:采购 -1:销售",
  23298. "type": "integer"
  23299. },
  23300. "convertratio": {
  23301. "description": "折算系数(套保品种)",
  23302. "type": "number"
  23303. },
  23304. "deliverygoodscode": {
  23305. "description": "现货商品代码",
  23306. "type": "string"
  23307. },
  23308. "deliverygoodsid": {
  23309. "description": "现货商品id",
  23310. "type": "integer"
  23311. },
  23312. "deliverygoodsname": {
  23313. "description": "现货商吕名称",
  23314. "type": "string"
  23315. },
  23316. "dgunitid": {
  23317. "description": "现货商品单位id",
  23318. "type": "integer"
  23319. },
  23320. "dgunitidname": {
  23321. "description": "单位名称(现货商品)",
  23322. "type": "string"
  23323. },
  23324. "diffqty": {
  23325. "description": "套保品种今变动量",
  23326. "type": "number"
  23327. },
  23328. "enumdicname": {
  23329. "description": "单位名称(品类)",
  23330. "type": "string"
  23331. },
  23332. "hedgeplanid": {
  23333. "description": "套保计划id",
  23334. "type": "string"
  23335. },
  23336. "hedgeplanno": {
  23337. "description": "套保计划名称",
  23338. "type": "string"
  23339. },
  23340. "hedgeplanstatus": {
  23341. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  23342. "type": "integer"
  23343. },
  23344. "mgunitidname": {
  23345. "description": "单位名称(套保商品)",
  23346. "type": "string"
  23347. },
  23348. "middlegoodscode": {
  23349. "description": "套保品种代码",
  23350. "type": "string"
  23351. },
  23352. "middlegoodsid": {
  23353. "description": "套保品种id",
  23354. "type": "integer"
  23355. },
  23356. "middlegoodsname": {
  23357. "description": "套保品种名称",
  23358. "type": "string"
  23359. },
  23360. "needarbitrageratio": {
  23361. "description": "应套利比例",
  23362. "type": "number"
  23363. },
  23364. "needhedgeratio": {
  23365. "description": "应套保比例",
  23366. "type": "number"
  23367. },
  23368. "pricedqty": {
  23369. "description": "已定价量",
  23370. "type": "number"
  23371. },
  23372. "qty": {
  23373. "description": "合同量",
  23374. "type": "number"
  23375. },
  23376. "reckondate": {
  23377. "description": "交易日(reckondate)",
  23378. "type": "string"
  23379. },
  23380. "tradedate": {
  23381. "description": "交易日(登记日)",
  23382. "type": "string"
  23383. },
  23384. "unitid": {
  23385. "description": "品类单位id",
  23386. "type": "integer"
  23387. },
  23388. "userid": {
  23389. "description": "机构id",
  23390. "type": "integer"
  23391. },
  23392. "wrstandardcode": {
  23393. "description": "品类代码",
  23394. "type": "string"
  23395. },
  23396. "wrstandardid": {
  23397. "description": "品类id",
  23398. "type": "integer"
  23399. },
  23400. "wrstandardname": {
  23401. "description": "品类名称",
  23402. "type": "string"
  23403. }
  23404. }
  23405. },
  23406. "models.Ermcp3ExposureParamChLog": {
  23407. "type": "object",
  23408. "properties": {
  23409. "accountid": {
  23410. "description": "期货账户ID (作废, 默认为0)",
  23411. "type": "integer"
  23412. },
  23413. "aftervalue": {
  23414. "description": "应套保\\套利量变更后(调整后应套保总量)",
  23415. "type": "number"
  23416. },
  23417. "areauserid": {
  23418. "description": "所属机构\\交易用户ID",
  23419. "type": "integer"
  23420. },
  23421. "beforevalue": {
  23422. "description": "应套保\\套利量变更前(调整前应套保总量)",
  23423. "type": "number"
  23424. },
  23425. "begindate": {
  23426. "description": "开始交易日",
  23427. "type": "string"
  23428. },
  23429. "changelogtype": {
  23430. "description": "变更流水类型 - 1:套保比率变更 2:套利比率变更",
  23431. "type": "integer"
  23432. },
  23433. "curvalue": {
  23434. "description": "当前套保\\套利量(套保总量|套利总量)",
  23435. "type": "number"
  23436. },
  23437. "diffvalue": {
  23438. "description": "应套保总量变化量",
  23439. "type": "number"
  23440. },
  23441. "enddate": {
  23442. "description": "结束交易日",
  23443. "type": "string"
  23444. },
  23445. "logdatetime": {
  23446. "description": "流水日期",
  23447. "type": "string"
  23448. },
  23449. "logid": {
  23450. "description": "流水ID(609+Unix秒时间戳(10位)+xxxxxx)",
  23451. "type": "string"
  23452. },
  23453. "middlegoodscode": {
  23454. "description": "套保品种代码",
  23455. "type": "string"
  23456. },
  23457. "middlegoodsid": {
  23458. "description": "套保品种",
  23459. "type": "integer"
  23460. },
  23461. "middlegoodsname": {
  23462. "description": "套保品种名称",
  23463. "type": "string"
  23464. },
  23465. "paramaftervalue": {
  23466. "description": "参数变更后(调整后参数值)",
  23467. "type": "number"
  23468. },
  23469. "parambeforevalue": {
  23470. "description": "参数变更前(调整前参数值)",
  23471. "type": "number"
  23472. },
  23473. "reckondate": {
  23474. "description": "交易日(reckondate)",
  23475. "type": "string"
  23476. },
  23477. "tradedate": {
  23478. "description": "交易日(yyyyMMdd)",
  23479. "type": "string"
  23480. }
  23481. }
  23482. },
  23483. "models.Ermcp3ExpourseReport": {
  23484. "type": "object",
  23485. "properties": {
  23486. "accountid": {
  23487. "description": "期货账户ID (作废, 默认为0)",
  23488. "type": "integer"
  23489. },
  23490. "accountname": {
  23491. "description": "机构名称",
  23492. "type": "string"
  23493. },
  23494. "arbitrageqty": {
  23495. "description": "套利量",
  23496. "type": "number"
  23497. },
  23498. "areauserid": {
  23499. "description": "所属机构\\交易用户ID",
  23500. "type": "integer"
  23501. },
  23502. "begindate": {
  23503. "description": "开始交易日",
  23504. "type": "string"
  23505. },
  23506. "buyfutureqty": {
  23507. "description": "买入期货数量",
  23508. "type": "number"
  23509. },
  23510. "buyplanqty": {
  23511. "description": "采购计划数量",
  23512. "type": "number"
  23513. },
  23514. "buypricedqty": {
  23515. "description": "采购合同已定价数量",
  23516. "type": "number"
  23517. },
  23518. "cycletime": {
  23519. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  23520. "type": "string"
  23521. },
  23522. "cycletype": {
  23523. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  23524. "type": "integer"
  23525. },
  23526. "diffexposure": {
  23527. "description": "变动量(套保敞口)",
  23528. "type": "number"
  23529. },
  23530. "difffutuqty": {
  23531. "description": "变动量(期货)",
  23532. "type": "number"
  23533. },
  23534. "diffhedgeqty": {
  23535. "description": "变动量(现货应套保总量)",
  23536. "type": "number"
  23537. },
  23538. "diffmgqtya": {
  23539. "description": "套保变动量",
  23540. "type": "number"
  23541. },
  23542. "diffmgqtyb": {
  23543. "description": "套利变动量",
  23544. "type": "number"
  23545. },
  23546. "diffneedqty": {
  23547. "description": "应套变动量 = 应套保量 - 期初应套保量 + 应套利量 - 期初应套利量",
  23548. "type": "number"
  23549. },
  23550. "diffqty": {
  23551. "description": "变动量(总敞口)",
  23552. "type": "number"
  23553. },
  23554. "diffspotqty": {
  23555. "description": "变动量(现货) | 除税变动量",
  23556. "type": "number"
  23557. },
  23558. "enddate": {
  23559. "description": "结束交易日",
  23560. "type": "string"
  23561. },
  23562. "enumdicname": {
  23563. "description": "单位名称",
  23564. "type": "string"
  23565. },
  23566. "hedgeqty": {
  23567. "description": "套保量",
  23568. "type": "number"
  23569. },
  23570. "mgneedhedgeratio": {
  23571. "description": "套保比例(套保品的)",
  23572. "type": "number"
  23573. },
  23574. "middlegoodsid": {
  23575. "description": "套保品种ID",
  23576. "type": "integer"
  23577. },
  23578. "middlegoodsname": {
  23579. "description": "套保商品名称",
  23580. "type": "string"
  23581. },
  23582. "middlgoodscode": {
  23583. "description": "套保商品代码",
  23584. "type": "string"
  23585. },
  23586. "needarbitrageqty": {
  23587. "description": "应套利量",
  23588. "type": "number"
  23589. },
  23590. "needarbitrageratio": {
  23591. "description": "套利比例(套保品的)",
  23592. "type": "number"
  23593. },
  23594. "needhedgeexposoure": {
  23595. "description": "应套保敞口(套保敞口)",
  23596. "type": "number"
  23597. },
  23598. "needhedgeqty": {
  23599. "description": "应套保量",
  23600. "type": "number"
  23601. },
  23602. "needhedgeratio": {
  23603. "description": "应套保敞口比例",
  23604. "type": "number"
  23605. },
  23606. "needqty": {
  23607. "description": "应套总量 = 应套保量 + 应套利量",
  23608. "type": "number"
  23609. },
  23610. "oriarbitrageqty": {
  23611. "description": "期初套利量",
  23612. "type": "number"
  23613. },
  23614. "oribuyfutureqty": {
  23615. "description": "期初买入期货数量",
  23616. "type": "number"
  23617. },
  23618. "oribuyplanqty": {
  23619. "description": "期初采购计划数量",
  23620. "type": "number"
  23621. },
  23622. "oribuypricedqty": {
  23623. "description": "期初采购合同已定价数量",
  23624. "type": "number"
  23625. },
  23626. "orihedgeqty": {
  23627. "description": "期初套保量",
  23628. "type": "number"
  23629. },
  23630. "orineedarbitrageqty": {
  23631. "description": "期初应套利量",
  23632. "type": "number"
  23633. },
  23634. "orineedhedgeexposoure": {
  23635. "description": "期初应套保敞口",
  23636. "type": "number"
  23637. },
  23638. "orineedhedgeqty": {
  23639. "description": "期初应套保量",
  23640. "type": "number"
  23641. },
  23642. "orisellfutureqty": {
  23643. "description": "期初卖出期货数量",
  23644. "type": "number"
  23645. },
  23646. "orisellplanqty": {
  23647. "description": "期初销售计划数量",
  23648. "type": "number"
  23649. },
  23650. "orisellpricedqty": {
  23651. "description": "期初销售合同已定价数量",
  23652. "type": "number"
  23653. },
  23654. "oritotalexposure": {
  23655. "description": "期初实时总敞口",
  23656. "type": "number"
  23657. },
  23658. "oritotalfutureqty": {
  23659. "description": "期初期货头寸总量",
  23660. "type": "number"
  23661. },
  23662. "oritotalneedhedgeqty": {
  23663. "description": "期初应套保总量",
  23664. "type": "number"
  23665. },
  23666. "oritotalspotqty": {
  23667. "description": "期初现货头寸总量",
  23668. "type": "number"
  23669. },
  23670. "reckondate": {
  23671. "description": "日照时期(yyyyMMdd)",
  23672. "type": "string"
  23673. },
  23674. "sellfutureqty": {
  23675. "description": "卖出期货数量",
  23676. "type": "number"
  23677. },
  23678. "sellplanqty": {
  23679. "description": "销售计划数量",
  23680. "type": "number"
  23681. },
  23682. "sellpricedqty": {
  23683. "description": "销售合同已定价数量",
  23684. "type": "number"
  23685. },
  23686. "totalexposure": {
  23687. "description": "实时总敞口(总敞口)",
  23688. "type": "number"
  23689. },
  23690. "totalfutureqty": {
  23691. "description": "期货头寸总量(期货总量)",
  23692. "type": "number"
  23693. },
  23694. "totalhedgeratio": {
  23695. "description": "敞口比例",
  23696. "type": "number"
  23697. },
  23698. "totalneedhedgeqty": {
  23699. "description": "应套保总量(现货应套保总量)",
  23700. "type": "number"
  23701. },
  23702. "totalspotqty": {
  23703. "description": "现货头寸总量 | 除税总量",
  23704. "type": "number"
  23705. },
  23706. "unitid": {
  23707. "description": "单位id",
  23708. "type": "integer"
  23709. },
  23710. "updatetime": {
  23711. "description": "更新时间",
  23712. "type": "string"
  23713. }
  23714. }
  23715. },
  23716. "models.Ermcp3FinanceReport": {
  23717. "type": "object",
  23718. "properties": {
  23719. "accountname": {
  23720. "description": "机构名称",
  23721. "type": "string"
  23722. },
  23723. "areauserid": {
  23724. "description": "所属机构\\交易用户ID",
  23725. "type": "integer"
  23726. },
  23727. "begindate": {
  23728. "description": "开始交易日",
  23729. "type": "string"
  23730. },
  23731. "biztype": {
  23732. "description": "业务类型 - 1:套保 2:套利",
  23733. "type": "integer"
  23734. },
  23735. "brandname": {
  23736. "description": "品牌名称",
  23737. "type": "string"
  23738. },
  23739. "buypreinvoicedamount": {
  23740. "description": "采购预收票额(预收票额)",
  23741. "type": "number"
  23742. },
  23743. "buyprepaidamount": {
  23744. "description": "采购预付款额(预付货款额)",
  23745. "type": "number"
  23746. },
  23747. "buytodayinvoiceamount": {
  23748. "description": "采购今收票额(今收票额)",
  23749. "type": "number"
  23750. },
  23751. "buytodayrefundamount": {
  23752. "description": "采购今收退款额(今收退款额)",
  23753. "type": "number"
  23754. },
  23755. "buytodaysettleamount": {
  23756. "description": "采购今付款额(今付货款额)",
  23757. "type": "number"
  23758. },
  23759. "buyuninvoicedamount": {
  23760. "description": "采购应收票额(应收票额)",
  23761. "type": "number"
  23762. },
  23763. "buyunpaidamount": {
  23764. "description": "采购应付款额(应付货款额)",
  23765. "type": "number"
  23766. },
  23767. "currencyid": {
  23768. "description": "结算币种ID",
  23769. "type": "integer"
  23770. },
  23771. "currencyname": {
  23772. "description": "币种名称",
  23773. "type": "string"
  23774. },
  23775. "cycletime": {
  23776. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  23777. "type": "string"
  23778. },
  23779. "cycletype": {
  23780. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  23781. "type": "integer"
  23782. },
  23783. "deliverygoodscode": {
  23784. "description": "现货品种代码",
  23785. "type": "string"
  23786. },
  23787. "deliverygoodsid": {
  23788. "description": "现货品种ID",
  23789. "type": "integer"
  23790. },
  23791. "deliverygoodsname": {
  23792. "description": "现货品种名称",
  23793. "type": "string"
  23794. },
  23795. "enddate": {
  23796. "description": "结束交易日",
  23797. "type": "string"
  23798. },
  23799. "reckondate": {
  23800. "description": "日照时期(yyyyMMdd)",
  23801. "type": "string"
  23802. },
  23803. "sellpreinvoicedamount": {
  23804. "description": "销售预开票额(预开票额)",
  23805. "type": "number"
  23806. },
  23807. "sellprepaidamount": {
  23808. "description": "销售预收款额(预收货款额)",
  23809. "type": "number"
  23810. },
  23811. "selltodayinvoiceamount": {
  23812. "description": "销售今开票额(今开票额)",
  23813. "type": "number"
  23814. },
  23815. "selltodayrefundamount": {
  23816. "description": "销售今付退款额(今付退款额)",
  23817. "type": "number"
  23818. },
  23819. "selltodaysettleamount": {
  23820. "description": "销售今收款额(今收货款额)",
  23821. "type": "number"
  23822. },
  23823. "selluninvoicedamount": {
  23824. "description": "销售应开票额(应开票额)",
  23825. "type": "number"
  23826. },
  23827. "sellunpaidamount": {
  23828. "description": "销售应收款额(应收货款额)",
  23829. "type": "number"
  23830. },
  23831. "spotgoodsbrandid": {
  23832. "description": "现货品牌ID",
  23833. "type": "integer"
  23834. },
  23835. "todaypaysum": {
  23836. "description": "今付款合计",
  23837. "type": "number"
  23838. },
  23839. "todayreceivesum": {
  23840. "description": "今收款合计",
  23841. "type": "number"
  23842. },
  23843. "updatetime": {
  23844. "description": "更新时间",
  23845. "type": "string"
  23846. },
  23847. "wrfactortypeid": {
  23848. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  23849. "type": "integer"
  23850. },
  23851. "wrstandardcode": {
  23852. "description": "品类代码",
  23853. "type": "string"
  23854. },
  23855. "wrstandardid": {
  23856. "description": "现货商品ID",
  23857. "type": "integer"
  23858. },
  23859. "wrstandardname": {
  23860. "description": "品类名称",
  23861. "type": "string"
  23862. }
  23863. }
  23864. },
  23865. "models.Ermcp3GoodsGroup": {
  23866. "type": "object",
  23867. "required": [
  23868. "areauserid"
  23869. ],
  23870. "properties": {
  23871. "agreeunit": {
  23872. "description": "合约单位",
  23873. "type": "number"
  23874. },
  23875. "areauserid": {
  23876. "description": "所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)",
  23877. "type": "integer"
  23878. },
  23879. "canshort": {
  23880. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  23881. "type": "integer"
  23882. },
  23883. "closepricemode": {
  23884. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  23885. "type": "integer"
  23886. },
  23887. "createtime": {
  23888. "description": "创建时间",
  23889. "type": "string"
  23890. },
  23891. "creatorid": {
  23892. "description": "创建人",
  23893. "type": "integer"
  23894. },
  23895. "currencyid": {
  23896. "description": "报价货币ID",
  23897. "type": "integer"
  23898. },
  23899. "decimalplace": {
  23900. "description": "报价小数位",
  23901. "type": "integer"
  23902. },
  23903. "enumdicname": {
  23904. "description": "单位名称",
  23905. "type": "string"
  23906. },
  23907. "exchangefullname": {
  23908. "description": "交易所全称",
  23909. "type": "string"
  23910. },
  23911. "excludecfg": {
  23912. "description": "排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除",
  23913. "type": "integer"
  23914. },
  23915. "exexchangecode": {
  23916. "description": "交易所代码",
  23917. "type": "string"
  23918. },
  23919. "exexchangeid": {
  23920. "description": "外部交易所ID[通道交易]",
  23921. "type": "integer"
  23922. },
  23923. "exexchangename": {
  23924. "description": "交易所名称",
  23925. "type": "string"
  23926. },
  23927. "goodsgroupid": {
  23928. "description": "商品组ID(自增ID)",
  23929. "type": "integer"
  23930. },
  23931. "goodsgroupname": {
  23932. "description": "商品组名称",
  23933. "type": "string"
  23934. },
  23935. "goodsgroupstatus": {
  23936. "description": "商品组状态 - 1:正常 2:注销",
  23937. "type": "integer"
  23938. },
  23939. "goodunitid": {
  23940. "description": "报价单位ID",
  23941. "type": "integer"
  23942. },
  23943. "groupcategroyid": {
  23944. "description": "品种分类ID",
  23945. "type": "integer"
  23946. },
  23947. "innerdealmode": {
  23948. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  23949. "type": "integer"
  23950. },
  23951. "marketid": {
  23952. "description": "所属市场ID",
  23953. "type": "integer"
  23954. },
  23955. "modifierid": {
  23956. "description": "修改人",
  23957. "type": "integer"
  23958. },
  23959. "modifytime": {
  23960. "description": "修改时间",
  23961. "type": "string"
  23962. },
  23963. "outerdealmode": {
  23964. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  23965. "type": "integer"
  23966. },
  23967. "outergroupcode": {
  23968. "description": "外部商品组代码[通道交易]",
  23969. "type": "string"
  23970. },
  23971. "quoteminunit": {
  23972. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  23973. "type": "integer"
  23974. },
  23975. "quotesourcegroupid": {
  23976. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  23977. "type": "integer"
  23978. },
  23979. "syncgoodsqty": {
  23980. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  23981. "type": "integer"
  23982. }
  23983. }
  23984. },
  23985. "models.Ermcp3HPMiddleGoods": {
  23986. "type": "object",
  23987. "properties": {
  23988. "biztype": {
  23989. "description": "业务类型 1:套保 2:套利",
  23990. "type": "integer"
  23991. },
  23992. "contracttype": {
  23993. "description": "合同类型 1:采购 -1:销售",
  23994. "type": "integer"
  23995. },
  23996. "convertratio": {
  23997. "description": "折算系数",
  23998. "type": "number"
  23999. },
  24000. "customername": {
  24001. "description": "对手手名称",
  24002. "type": "string"
  24003. },
  24004. "customeruserid": {
  24005. "description": "对手id",
  24006. "type": "integer"
  24007. },
  24008. "enumdicname": {
  24009. "description": "现货单位名称",
  24010. "type": "string"
  24011. },
  24012. "hedgeplanid": {
  24013. "description": "计划id",
  24014. "type": "string"
  24015. },
  24016. "hedgeplanno": {
  24017. "description": "计划编号",
  24018. "type": "string"
  24019. },
  24020. "middlegoodsid": {
  24021. "description": "套保品种ID",
  24022. "type": "integer"
  24023. },
  24024. "middlegoodsplanqty3": {
  24025. "description": "应套保计划量",
  24026. "type": "number"
  24027. },
  24028. "needhedgeratio": {
  24029. "description": "套保比例",
  24030. "type": "number"
  24031. },
  24032. "pricedqty": {
  24033. "description": "已定价量",
  24034. "type": "number"
  24035. },
  24036. "relatedmiddlegoodsqty": {
  24037. "description": "已关联量(套保品种)(期货)",
  24038. "type": "number"
  24039. },
  24040. "unitid": {
  24041. "description": "现货单位id",
  24042. "type": "integer"
  24043. },
  24044. "userid": {
  24045. "description": "用户id",
  24046. "type": "integer"
  24047. },
  24048. "vatrate": {
  24049. "description": "增值税率",
  24050. "type": "number"
  24051. },
  24052. "wrstandardcode": {
  24053. "description": "现货商品代码",
  24054. "type": "string"
  24055. },
  24056. "wrstandardid": {
  24057. "description": "现货商品id",
  24058. "type": "integer"
  24059. },
  24060. "wrstandardname": {
  24061. "description": "现货商品名称",
  24062. "type": "string"
  24063. }
  24064. }
  24065. },
  24066. "models.Ermcp3HedgePlan": {
  24067. "type": "object",
  24068. "properties": {
  24069. "accountid": {
  24070. "description": "资金账号",
  24071. "type": "integer"
  24072. },
  24073. "areauserid": {
  24074. "description": "用户ID",
  24075. "type": "integer"
  24076. },
  24077. "auditid": {
  24078. "description": "审核id",
  24079. "type": "integer"
  24080. },
  24081. "auditname": {
  24082. "description": "审核人名称",
  24083. "type": "string"
  24084. },
  24085. "auditremark": {
  24086. "description": "审核备注",
  24087. "type": "string"
  24088. },
  24089. "auditsrc": {
  24090. "description": "审核来源 1-管理端 2-终端",
  24091. "type": "integer"
  24092. },
  24093. "audittime": {
  24094. "description": "审核时间",
  24095. "type": "string"
  24096. },
  24097. "contracttype": {
  24098. "description": "计划类型 - 1:采购 -1:销售",
  24099. "type": "integer"
  24100. },
  24101. "convertfactor": {
  24102. "description": "标仓系数",
  24103. "type": "number"
  24104. },
  24105. "createtime": {
  24106. "description": "创建时间",
  24107. "type": "string"
  24108. },
  24109. "currencyid": {
  24110. "description": "币种id",
  24111. "type": "integer"
  24112. },
  24113. "currencyname": {
  24114. "description": "币种名称",
  24115. "type": "string"
  24116. },
  24117. "deliverygoodscode": {
  24118. "description": "现货品种代码",
  24119. "type": "string"
  24120. },
  24121. "deliverygoodsid": {
  24122. "description": "现货品种ID",
  24123. "type": "integer"
  24124. },
  24125. "deliverygoodsname": {
  24126. "description": "现货品种名称",
  24127. "type": "string"
  24128. },
  24129. "enumdicname": {
  24130. "description": "单位名称(现货商品)",
  24131. "type": "string"
  24132. },
  24133. "hedgeplanid": {
  24134. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  24135. "type": "string"
  24136. },
  24137. "hedgeplanno": {
  24138. "description": "套保计划编号(名称)",
  24139. "type": "string"
  24140. },
  24141. "hedgeplanstatus": {
  24142. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  24143. "type": "integer"
  24144. },
  24145. "planqty": {
  24146. "description": "计划数量",
  24147. "type": "number"
  24148. },
  24149. "plantime": {
  24150. "description": "计划时间",
  24151. "type": "string"
  24152. },
  24153. "producttype": {
  24154. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  24155. "type": "integer"
  24156. },
  24157. "remark": {
  24158. "description": "备注",
  24159. "type": "string"
  24160. },
  24161. "spotgoodsdesc": {
  24162. "description": "商品型号",
  24163. "type": "string"
  24164. },
  24165. "taaccountname": {
  24166. "description": "资金账号名称",
  24167. "type": "string"
  24168. },
  24169. "tradeuserid": {
  24170. "description": "交易用户id",
  24171. "type": "integer"
  24172. },
  24173. "tradeusername": {
  24174. "description": "交易用户名称",
  24175. "type": "string"
  24176. },
  24177. "unitid": {
  24178. "description": "单位id(现货商品)",
  24179. "type": "integer"
  24180. },
  24181. "updatetime": {
  24182. "description": "更新时间",
  24183. "type": "string"
  24184. },
  24185. "vatrate": {
  24186. "description": "增值税率",
  24187. "type": "number"
  24188. },
  24189. "wrstandardcode": {
  24190. "description": "品类代码",
  24191. "type": "string"
  24192. },
  24193. "wrstandardid": {
  24194. "description": "品类id",
  24195. "type": "integer"
  24196. },
  24197. "wrstandardname": {
  24198. "description": "品类名称",
  24199. "type": "string"
  24200. },
  24201. "wrunitid": {
  24202. "description": "品类单位id",
  24203. "type": "integer"
  24204. },
  24205. "wrunitidame": {
  24206. "description": "品类单位名称",
  24207. "type": "string"
  24208. }
  24209. }
  24210. },
  24211. "models.Ermcp3InnerTradeLink": {
  24212. "type": "object",
  24213. "properties": {
  24214. "accountid": {
  24215. "description": "期货账号代码 | 资金账号ID",
  24216. "type": "integer"
  24217. },
  24218. "buyorsell": {
  24219. "description": "方向 - 0:买 1:卖",
  24220. "type": "integer"
  24221. },
  24222. "channelbuildtype": {
  24223. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  24224. "type": "integer"
  24225. },
  24226. "currencyid": {
  24227. "description": "币种id",
  24228. "type": "integer"
  24229. },
  24230. "currencyname": {
  24231. "description": "结算币种 名称",
  24232. "type": "string"
  24233. },
  24234. "goodscode": {
  24235. "description": "商品代码",
  24236. "type": "string"
  24237. },
  24238. "goodsid": {
  24239. "description": "商品ID",
  24240. "type": "integer"
  24241. },
  24242. "goodsname": {
  24243. "description": "商品名称",
  24244. "type": "string"
  24245. },
  24246. "outtradeid": {
  24247. "description": "外部成交单号",
  24248. "type": "string"
  24249. },
  24250. "taname": {
  24251. "description": "期货账户名称",
  24252. "type": "string"
  24253. },
  24254. "tradeid": {
  24255. "description": "期货单号 | 内部成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  24256. "type": "string"
  24257. },
  24258. "tradeprice": {
  24259. "description": "成交价格",
  24260. "type": "number"
  24261. },
  24262. "tradeqty": {
  24263. "description": "期货成交数量",
  24264. "type": "integer"
  24265. },
  24266. "tradetime": {
  24267. "description": "关联时间 | 成交时间 ps:因为数据库表里没有关联时间, 所以取外部成交单的成交时间",
  24268. "type": "string"
  24269. },
  24270. "username": {
  24271. "description": "用户名称",
  24272. "type": "string"
  24273. }
  24274. }
  24275. },
  24276. "models.Ermcp3OutTradeLink": {
  24277. "type": "object",
  24278. "properties": {
  24279. "buyorsell": {
  24280. "description": "买卖方向 - 0:买 1:卖",
  24281. "type": "integer"
  24282. },
  24283. "channelbuildtype": {
  24284. "description": "开平标志- 0:无 1:建仓 2:平仓",
  24285. "type": "integer"
  24286. },
  24287. "currencyname": {
  24288. "description": "币种名称",
  24289. "type": "string"
  24290. },
  24291. "exexchangecode": {
  24292. "description": "交易所代码",
  24293. "type": "string"
  24294. },
  24295. "exexchangename": {
  24296. "description": "交易所名称",
  24297. "type": "string"
  24298. },
  24299. "goodscode": {
  24300. "description": "合约代码",
  24301. "type": "string"
  24302. },
  24303. "goodsid": {
  24304. "description": "合约id",
  24305. "type": "integer"
  24306. },
  24307. "goodsname": {
  24308. "description": "合约名称",
  24309. "type": "string"
  24310. },
  24311. "hasinnerorder": {
  24312. "description": "是否有内部单关联 - 0:无 1:有",
  24313. "type": "integer"
  24314. },
  24315. "hedgeaccountcode": {
  24316. "description": "外部账号 | 对冲账号",
  24317. "type": "string"
  24318. },
  24319. "outtradeid": {
  24320. "description": "外部订单号 | 外部成交单ID(114+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  24321. "type": "string"
  24322. },
  24323. "tradeprice": {
  24324. "description": "成交价格",
  24325. "type": "number"
  24326. },
  24327. "tradeqty": {
  24328. "description": "成交数量",
  24329. "type": "integer"
  24330. },
  24331. "tradetime": {
  24332. "description": "成交时间",
  24333. "type": "string"
  24334. }
  24335. }
  24336. },
  24337. "models.Ermcp3PaAreaAuditCfg": {
  24338. "type": "object",
  24339. "properties": {
  24340. "areauserid": {
  24341. "description": "用户ID",
  24342. "type": "integer"
  24343. },
  24344. "buyinauditflag": {
  24345. "description": "采购入库是否需要审核 - 0:不需审核 1:需要审核",
  24346. "type": "integer"
  24347. },
  24348. "costratioauditflag": {
  24349. "description": "现货商品成本权重修改是否需要审核 - 0:不需审核 1:需要审核",
  24350. "type": "integer"
  24351. },
  24352. "customerauditflag": {
  24353. "description": "客户资料是否需要审核 - 0:不需审核 1:需要审核",
  24354. "type": "integer"
  24355. },
  24356. "deliveryauditflag": {
  24357. "description": "交收是否需要审核 - 0:不需审核 1:需要审核",
  24358. "type": "integer"
  24359. },
  24360. "invoiceauditflag": {
  24361. "description": "发票是否需要审核 - 0:不需审核 1:需要审核",
  24362. "type": "integer"
  24363. },
  24364. "mgneedhedgeratioauditflag": {
  24365. "description": "套保品种套保比例修改是否需要审 - 0:不需审核 1:需要审核",
  24366. "type": "integer"
  24367. },
  24368. "moneyauditflag": {
  24369. "description": "款项是否需要审核 - 0:不需审核 1:需要审核",
  24370. "type": "integer"
  24371. },
  24372. "operatorid": {
  24373. "description": "操作人",
  24374. "type": "integer"
  24375. },
  24376. "operatorsrc": {
  24377. "description": "操作来源 - 1:管理端 2:终端",
  24378. "type": "integer"
  24379. },
  24380. "pointpriceauditflag": {
  24381. "description": "点价是否需要审核 - 0:不需审核 1:需要审核",
  24382. "type": "integer"
  24383. },
  24384. "produceinauditflag": {
  24385. "description": "生产入库是否需要审核 - 0:不需审核 1:需要审核",
  24386. "type": "integer"
  24387. },
  24388. "produceoutauditflag": {
  24389. "description": "生产出库是否需要审核 - 0:不需审核 1:需要审核",
  24390. "type": "integer"
  24391. },
  24392. "selloutauditflag": {
  24393. "description": "销售出库是否需要审核 - 0:不需审核 1:需要审核",
  24394. "type": "integer"
  24395. },
  24396. "sgconvertratioauditflag": {
  24397. "description": "现货商品折算系数修改是否需要审核 - 0:不需审核 1:需要审核",
  24398. "type": "integer"
  24399. },
  24400. "sgvtaratioauditflag": {
  24401. "description": "现货商品增值税税率修改是否需要审核 - 0:不需审核 1:需要审核",
  24402. "type": "integer"
  24403. },
  24404. "spotcontractauditflag": {
  24405. "description": "现货合同是否需要审核 - 0:不需审核 1:需要审核",
  24406. "type": "integer"
  24407. },
  24408. "updatetime": {
  24409. "description": "更新时间",
  24410. "type": "string"
  24411. }
  24412. }
  24413. },
  24414. "models.Ermcp3PaAreaSubject": {
  24415. "type": "object",
  24416. "properties": {
  24417. "areauserid": {
  24418. "description": "所属机构",
  24419. "type": "integer"
  24420. },
  24421. "canmodify": {
  24422. "description": "是否可修改 - 0:否 1:是",
  24423. "type": "integer"
  24424. },
  24425. "createtime": {
  24426. "description": "创建时间",
  24427. "type": "string"
  24428. },
  24429. "creatorid": {
  24430. "description": "创建人ID",
  24431. "type": "string"
  24432. },
  24433. "creatorsrc": {
  24434. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  24435. "type": "integer"
  24436. },
  24437. "modifierid": {
  24438. "description": "修改人",
  24439. "type": "string"
  24440. },
  24441. "modifiersrc": {
  24442. "description": "修改人来源 - 1:管理端 2:终端",
  24443. "type": "integer"
  24444. },
  24445. "modifytime": {
  24446. "description": "修改时间",
  24447. "type": "string"
  24448. },
  24449. "parentsubjectid": {
  24450. "description": "上级主体ID",
  24451. "type": "string"
  24452. },
  24453. "remark": {
  24454. "description": "备注",
  24455. "type": "string"
  24456. },
  24457. "subjectid": {
  24458. "description": "主体ID(SEQ_ERMCP_PA_AREASUBJECT)",
  24459. "type": "integer"
  24460. },
  24461. "subjectname": {
  24462. "description": "主体名称",
  24463. "type": "string"
  24464. },
  24465. "subjectstatus": {
  24466. "description": "主体状态 - 1:正常 2: 停用",
  24467. "type": "integer"
  24468. },
  24469. "subjecttype": {
  24470. "description": "主体类型 - 1:交易主体 2:业务部门",
  24471. "type": "integer"
  24472. }
  24473. }
  24474. },
  24475. "models.Ermcp3PaTradeLink": {
  24476. "type": "object",
  24477. "properties": {
  24478. "accountid": {
  24479. "description": "期货账户代码 | 账号ID",
  24480. "type": "integer"
  24481. },
  24482. "agreeunit": {
  24483. "description": "合约乘数",
  24484. "type": "number"
  24485. },
  24486. "buyorsell": {
  24487. "description": "方向 - 0:买 1:卖",
  24488. "type": "integer"
  24489. },
  24490. "channelbuildtype": {
  24491. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  24492. "type": "integer"
  24493. },
  24494. "charge": {
  24495. "description": "手续费",
  24496. "type": "number"
  24497. },
  24498. "closepl": {
  24499. "description": "平仓盈亏",
  24500. "type": "number"
  24501. },
  24502. "closetype": {
  24503. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  24504. "type": "integer"
  24505. },
  24506. "convertratio": {
  24507. "description": "折算系数",
  24508. "type": "number"
  24509. },
  24510. "enumdicname": {
  24511. "description": "单位名称",
  24512. "type": "string"
  24513. },
  24514. "executeprice": {
  24515. "description": "执行价 [期权]",
  24516. "type": "integer"
  24517. },
  24518. "goodscode": {
  24519. "description": "合约代码",
  24520. "type": "string"
  24521. },
  24522. "goodsgroupid": {
  24523. "description": "对冲品种ID[期货合约商品组ID]",
  24524. "type": "integer"
  24525. },
  24526. "goodsid": {
  24527. "description": "商品ID",
  24528. "type": "integer"
  24529. },
  24530. "goodsname": {
  24531. "description": "合约名称",
  24532. "type": "string"
  24533. },
  24534. "goodunitid": {
  24535. "description": "单位id",
  24536. "type": "integer"
  24537. },
  24538. "hedgeflag": {
  24539. "description": "投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)",
  24540. "type": "integer"
  24541. },
  24542. "marketid": {
  24543. "description": "市场ID",
  24544. "type": "integer"
  24545. },
  24546. "middlegoodsid": {
  24547. "description": "套保品种ID",
  24548. "type": "integer"
  24549. },
  24550. "middlegoodsqty": {
  24551. "description": "套保品种数量 = TradeQty * AgreeUnit * ConvertRatio",
  24552. "type": "number"
  24553. },
  24554. "optioncode": {
  24555. "description": "期权代码 [期权]",
  24556. "type": "string"
  24557. },
  24558. "ordertype": {
  24559. "description": "单据类型 - 1:期货单 2:看涨期权单 3:看跌期权单",
  24560. "type": "integer"
  24561. },
  24562. "ordertypename": {
  24563. "description": "订单类型",
  24564. "type": "string"
  24565. },
  24566. "parentaccountid": {
  24567. "description": "所属母账户",
  24568. "type": "integer"
  24569. },
  24570. "premium": {
  24571. "description": "权利金 [期权]",
  24572. "type": "number"
  24573. },
  24574. "relatedlot": {
  24575. "description": "已关联数量(已关联数量手) | db:关联手数",
  24576. "type": "number"
  24577. },
  24578. "relatedouttradeid": {
  24579. "description": "关联外部成交单ID",
  24580. "type": "string"
  24581. },
  24582. "relatedqty": {
  24583. "description": "关联数量",
  24584. "type": "number"
  24585. },
  24586. "spotcontractid": {
  24587. "description": "现货合同ID [4:套期保值\\10\\11]",
  24588. "type": "string"
  24589. },
  24590. "taname": {
  24591. "description": "期货账户名称",
  24592. "type": "string"
  24593. },
  24594. "tradeamount": {
  24595. "description": "成交金额(账户)",
  24596. "type": "number"
  24597. },
  24598. "tradedate": {
  24599. "description": "交易日(yyyyMMdd)",
  24600. "type": "string"
  24601. },
  24602. "tradeid": {
  24603. "description": "期货单号 | db:成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  24604. "type": "string"
  24605. },
  24606. "tradelot": {
  24607. "description": "成交数量(期货数量) ps:这是手数,转换为具体多少吨要乘以AGREEUNIT | db:成交手数",
  24608. "type": "integer"
  24609. },
  24610. "tradeprice": {
  24611. "description": "成交价格",
  24612. "type": "number"
  24613. },
  24614. "tradetime": {
  24615. "description": "时间 | db:成交时间",
  24616. "type": "string"
  24617. },
  24618. "tradetype": {
  24619. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  24620. "type": "integer"
  24621. },
  24622. "userid": {
  24623. "description": "所属机构 - 所属母账户的UserID",
  24624. "type": "string"
  24625. },
  24626. "username": {
  24627. "description": "用户名称",
  24628. "type": "string"
  24629. }
  24630. }
  24631. },
  24632. "models.Ermcp3ParamChangeApp": {
  24633. "type": "object",
  24634. "properties": {
  24635. "aftervalue": {
  24636. "description": "变更后",
  24637. "type": "number"
  24638. },
  24639. "applicationid": {
  24640. "description": "申请ID(619+Unix秒时间戳(10位)+xxxxxx)",
  24641. "type": "string"
  24642. },
  24643. "applyid": {
  24644. "description": "申请人",
  24645. "type": "string"
  24646. },
  24647. "applyname": {
  24648. "description": "申请人名称(代码)",
  24649. "type": "string"
  24650. },
  24651. "applyremark": {
  24652. "description": "申请备注",
  24653. "type": "string"
  24654. },
  24655. "applysrc": {
  24656. "description": "申请来源 - 1:管理端 2:终端",
  24657. "type": "integer"
  24658. },
  24659. "applystatus": {
  24660. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  24661. "type": "integer"
  24662. },
  24663. "applytime": {
  24664. "description": "申请时间",
  24665. "type": "string"
  24666. },
  24667. "areauserid": {
  24668. "description": "所属机构用户ID",
  24669. "type": "integer"
  24670. },
  24671. "auditid": {
  24672. "description": "审核人",
  24673. "type": "string"
  24674. },
  24675. "auditname": {
  24676. "description": "审核人名称(代码)",
  24677. "type": "string"
  24678. },
  24679. "auditremark": {
  24680. "description": "审核备注",
  24681. "type": "string"
  24682. },
  24683. "auditsrc": {
  24684. "description": "审核来源 - 1:管理端 2:终端",
  24685. "type": "integer"
  24686. },
  24687. "audittime": {
  24688. "description": "审核时间",
  24689. "type": "string"
  24690. },
  24691. "audittradedate": {
  24692. "description": "审核交易日(yyyyMMdd)",
  24693. "type": "string"
  24694. },
  24695. "beforevalue": {
  24696. "description": "变更前",
  24697. "type": "number"
  24698. },
  24699. "deliverygoodscode": {
  24700. "description": "品种代码",
  24701. "type": "string"
  24702. },
  24703. "deliverygoodsid": {
  24704. "description": "品种id",
  24705. "type": "integer"
  24706. },
  24707. "deliverygoodsname": {
  24708. "description": "品种名称",
  24709. "type": "string"
  24710. },
  24711. "middlegoodscode": {
  24712. "description": "套保品种代码",
  24713. "type": "string"
  24714. },
  24715. "middlegoodsid": {
  24716. "description": "套保品种ID [ParamChangeType = 2,3,4]",
  24717. "type": "integer"
  24718. },
  24719. "middlegoodsname": {
  24720. "description": "套保品种名称",
  24721. "type": "string"
  24722. },
  24723. "operatetype": {
  24724. "description": "操作类型 - 1:新增 2:修改",
  24725. "type": "integer"
  24726. },
  24727. "paramchangetype": {
  24728. "description": "参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)",
  24729. "type": "integer"
  24730. },
  24731. "wrstandardcode": {
  24732. "description": "现货商品代码",
  24733. "type": "string"
  24734. },
  24735. "wrstandardid": {
  24736. "description": "现货商品ID [ParamChangeType = 1,2,3]",
  24737. "type": "integer"
  24738. },
  24739. "wrstandardname": {
  24740. "description": "现货商品名称",
  24741. "type": "string"
  24742. }
  24743. }
  24744. },
  24745. "models.Ermcp3RootUserAccount": {
  24746. "type": "object",
  24747. "properties": {
  24748. "accountname": {
  24749. "description": "账户名称(机构名称)",
  24750. "type": "string"
  24751. },
  24752. "accountstatus": {
  24753. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  24754. "type": "integer"
  24755. },
  24756. "applysrc": {
  24757. "description": "申请来源 - 1:管理端 2:终端",
  24758. "type": "integer"
  24759. },
  24760. "auditremark": {
  24761. "description": "审核备注",
  24762. "type": "string"
  24763. },
  24764. "auditsrc": {
  24765. "description": "审核来源 - 1:管理端 2:终端",
  24766. "type": "integer"
  24767. },
  24768. "audittime": {
  24769. "description": "审核时间",
  24770. "type": "string"
  24771. },
  24772. "audituserid": {
  24773. "description": "审核人",
  24774. "type": "integer"
  24775. },
  24776. "broker": {
  24777. "description": "所属经纪人ID",
  24778. "type": "integer"
  24779. },
  24780. "canceltime": {
  24781. "description": "销户时间",
  24782. "type": "string"
  24783. },
  24784. "canceluserid": {
  24785. "description": "销户人",
  24786. "type": "integer"
  24787. },
  24788. "canrecommend": {
  24789. "description": "是否可推荐 - 0:不可 1;可",
  24790. "type": "integer"
  24791. },
  24792. "createtime": {
  24793. "description": "创建时间",
  24794. "type": "string"
  24795. },
  24796. "creatorid": {
  24797. "description": "创建人",
  24798. "type": "integer"
  24799. },
  24800. "hasauth": {
  24801. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  24802. "type": "integer"
  24803. },
  24804. "isanonymous": {
  24805. "description": "是否匿名下单 - 0:否 1:是",
  24806. "type": "integer"
  24807. },
  24808. "maxinvestornum": {
  24809. "description": "最大用户数(经纪会员下投资者个数)",
  24810. "type": "integer"
  24811. },
  24812. "memberuserid": {
  24813. "description": "所属会员ID",
  24814. "type": "integer"
  24815. },
  24816. "modifierid": {
  24817. "description": "修改人",
  24818. "type": "integer"
  24819. },
  24820. "modifyremark": {
  24821. "description": "变更备注",
  24822. "type": "string"
  24823. },
  24824. "modifystatus": {
  24825. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  24826. "type": "integer"
  24827. },
  24828. "modifytime": {
  24829. "description": "修改时间",
  24830. "type": "string"
  24831. },
  24832. "nickname": {
  24833. "description": "昵称",
  24834. "type": "string"
  24835. },
  24836. "parenttopuser": {
  24837. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  24838. "type": "string"
  24839. },
  24840. "parentuserid": {
  24841. "description": "所属机构ID",
  24842. "type": "integer"
  24843. },
  24844. "reckonaccountid": {
  24845. "description": "默认结算资金账号ID(机构分润使用) 作废",
  24846. "type": "integer"
  24847. },
  24848. "refercount": {
  24849. "description": "推荐总人数",
  24850. "type": "integer"
  24851. },
  24852. "refereeuserid": {
  24853. "description": "推荐人ID",
  24854. "type": "integer"
  24855. },
  24856. "refernum": {
  24857. "description": "推荐码",
  24858. "type": "string"
  24859. },
  24860. "rootuserid": {
  24861. "description": "根用户ID",
  24862. "type": "integer"
  24863. },
  24864. "subaccountlevel": {
  24865. "description": "子账户层数",
  24866. "type": "integer"
  24867. },
  24868. "subarealevelpath": {
  24869. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  24870. "type": "string"
  24871. },
  24872. "userid": {
  24873. "description": "用户ID",
  24874. "type": "integer"
  24875. },
  24876. "usertype": {
  24877. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  24878. "type": "integer"
  24879. }
  24880. }
  24881. },
  24882. "models.Ermcp3SCMiddleGoods": {
  24883. "type": "object",
  24884. "properties": {
  24885. "biztype": {
  24886. "description": "业务类型 1:套保 2:套利",
  24887. "type": "integer"
  24888. },
  24889. "contractno": {
  24890. "description": "合同编号",
  24891. "type": "string"
  24892. },
  24893. "contracttype": {
  24894. "description": "合同类型 1:采购 -1:销售",
  24895. "type": "integer"
  24896. },
  24897. "convertratio": {
  24898. "description": "折算系数",
  24899. "type": "number"
  24900. },
  24901. "customername": {
  24902. "description": "对手手名称",
  24903. "type": "string"
  24904. },
  24905. "customeruserid": {
  24906. "description": "对手id",
  24907. "type": "integer"
  24908. },
  24909. "deliverygoodscode": {
  24910. "description": "现货品种代码",
  24911. "type": "string"
  24912. },
  24913. "deliverygoodsid": {
  24914. "description": "现货品种ID",
  24915. "type": "integer"
  24916. },
  24917. "deliverygoodsname": {
  24918. "description": "现货品种名称",
  24919. "type": "string"
  24920. },
  24921. "enumdicname": {
  24922. "description": "现货单位名称",
  24923. "type": "string"
  24924. },
  24925. "middlegoodsid": {
  24926. "description": "套保品种ID",
  24927. "type": "integer"
  24928. },
  24929. "middlegoodspricedqty3": {
  24930. "description": "应套保数量 = MiddleGoodsPricedQty2 * 套保比率",
  24931. "type": "number"
  24932. },
  24933. "needhedgeratio": {
  24934. "description": "套保比例",
  24935. "type": "number"
  24936. },
  24937. "pricedqty": {
  24938. "description": "已定价量",
  24939. "type": "number"
  24940. },
  24941. "relatedmiddlegoodsqty": {
  24942. "description": "已关联量(套保品种)(期货)",
  24943. "type": "number"
  24944. },
  24945. "spotcontractid": {
  24946. "description": "合同编号",
  24947. "type": "string"
  24948. },
  24949. "unitid": {
  24950. "description": "现货单位id",
  24951. "type": "integer"
  24952. },
  24953. "userid": {
  24954. "description": "用户id",
  24955. "type": "integer"
  24956. },
  24957. "vatrate": {
  24958. "description": "增值税率",
  24959. "type": "number"
  24960. },
  24961. "wrstandardcode": {
  24962. "description": "现货商品代码",
  24963. "type": "string"
  24964. },
  24965. "wrstandardid": {
  24966. "description": "现货商品id",
  24967. "type": "integer"
  24968. },
  24969. "wrstandardname": {
  24970. "description": "现货商品名称",
  24971. "type": "string"
  24972. }
  24973. }
  24974. },
  24975. "models.Ermcp3SCMiddleGoodsReport": {
  24976. "type": "object",
  24977. "properties": {
  24978. "begindate": {
  24979. "description": "开始交易日",
  24980. "type": "string"
  24981. },
  24982. "contractno": {
  24983. "description": "合同编号",
  24984. "type": "string"
  24985. },
  24986. "contracttype": {
  24987. "description": "合同类型 1:采购 -1:销售",
  24988. "type": "integer"
  24989. },
  24990. "convertratio": {
  24991. "description": "折算系数",
  24992. "type": "number"
  24993. },
  24994. "cycletime": {
  24995. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  24996. "type": "string"
  24997. },
  24998. "cycletype": {
  24999. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  25000. "type": "integer"
  25001. },
  25002. "deliverygoodscode": {
  25003. "description": "品种代码",
  25004. "type": "string"
  25005. },
  25006. "deliverygoodsid": {
  25007. "description": "现货品种ID",
  25008. "type": "integer"
  25009. },
  25010. "deliverygoodsname": {
  25011. "description": "品种名称",
  25012. "type": "string"
  25013. },
  25014. "diffprice": {
  25015. "description": "现期价格差 = 今日点价登记均价(基价) - 今日期货成交均价",
  25016. "type": "number"
  25017. },
  25018. "diffqty": {
  25019. "description": "期现数量差 = 套保计划量 - 今日期货关联成交量",
  25020. "type": "number"
  25021. },
  25022. "enddate": {
  25023. "description": "结束交易日",
  25024. "type": "string"
  25025. },
  25026. "hedgeplanqty": {
  25027. "description": "套保计划量 = TodayPricedQty * 折算系数 * (1/(1+增值税率)) * 套保比例",
  25028. "type": "number"
  25029. },
  25030. "matchname": {
  25031. "description": "交易对手方(个人:用户名称 企业:简称)",
  25032. "type": "string"
  25033. },
  25034. "matchnickname": {
  25035. "description": "交易对手方昵称",
  25036. "type": "string"
  25037. },
  25038. "middlegoodscode": {
  25039. "description": "套保品种代码",
  25040. "type": "string"
  25041. },
  25042. "middlegoodsid": {
  25043. "description": "套保品种ID",
  25044. "type": "integer"
  25045. },
  25046. "middlegoodsname": {
  25047. "description": "套保品种名称",
  25048. "type": "string"
  25049. },
  25050. "middlegoodspricedqty": {
  25051. "description": "已定价量(套保品种 - 税前) = PricedQty * 折算系数",
  25052. "type": "number"
  25053. },
  25054. "middlegoodspricedqty2": {
  25055. "description": "已定价量(套保品种- 税后) = MiddleGoodsPricedQty * (1/(1+增值税率))",
  25056. "type": "number"
  25057. },
  25058. "middlegoodspricedqty3": {
  25059. "description": "已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率",
  25060. "type": "number"
  25061. },
  25062. "needhedgeratio": {
  25063. "description": "套保系数",
  25064. "type": "number"
  25065. },
  25066. "pricedamount": {
  25067. "description": "已定价额(现货)",
  25068. "type": "number"
  25069. },
  25070. "pricedamount2": {
  25071. "description": "已定价额(现货-基价额)",
  25072. "type": "number"
  25073. },
  25074. "pricedqty": {
  25075. "description": "已定价量(现货)",
  25076. "type": "number"
  25077. },
  25078. "reckondate": {
  25079. "description": "日照时期(yyyyMMdd)",
  25080. "type": "string"
  25081. },
  25082. "relatedmiddlegoodsamount": {
  25083. "description": "已关联额(期货)",
  25084. "type": "number"
  25085. },
  25086. "relatedmiddlegoodsqty": {
  25087. "description": "已关联量(套保品种)(期货)",
  25088. "type": "number"
  25089. },
  25090. "spotcontractid": {
  25091. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  25092. "type": "string"
  25093. },
  25094. "todayavgfutuprice": {
  25095. "description": "今日期货成交均价 = TodayRelatedMiddleGoodsAmount /todayrelatedfutureqty",
  25096. "type": "number"
  25097. },
  25098. "todayavgprice": {
  25099. "description": "今日定价均价 = TodayPricedAmount / TodayPricedQty",
  25100. "type": "number"
  25101. },
  25102. "todayavgprice2": {
  25103. "description": "今日点价登记均价(基价) = TodayPricedAmount2 / TodayPricedQty",
  25104. "type": "number"
  25105. },
  25106. "todaypricedamount": {
  25107. "description": "今日定价额(现货)",
  25108. "type": "number"
  25109. },
  25110. "todaypricedamount2": {
  25111. "description": "今日定价额(现货-基价额)",
  25112. "type": "number"
  25113. },
  25114. "todaypricedqty": {
  25115. "description": "今日定价量(现货)",
  25116. "type": "number"
  25117. },
  25118. "todayrelatedfutureqty": {
  25119. "description": "今日关联量(期货)",
  25120. "type": "number"
  25121. },
  25122. "todayrelatedmiddlegoodsamount": {
  25123. "description": "今日关联额(期货)",
  25124. "type": "number"
  25125. },
  25126. "todayrelatedmiddlegoodsqty": {
  25127. "description": "今日关联量(套保品-期货)",
  25128. "type": "number"
  25129. },
  25130. "updatetime": {
  25131. "description": "更新时间",
  25132. "type": "string"
  25133. },
  25134. "userid": {
  25135. "description": "合同所属用户id",
  25136. "type": "integer"
  25137. },
  25138. "vatrate": {
  25139. "description": "增值税率",
  25140. "type": "number"
  25141. },
  25142. "wrstandardcode": {
  25143. "description": "商品(品类) 代码",
  25144. "type": "string"
  25145. },
  25146. "wrstandardid": {
  25147. "description": "现货商品ID",
  25148. "type": "integer"
  25149. },
  25150. "wrstandardname": {
  25151. "description": "商品(品类) 名称",
  25152. "type": "string"
  25153. }
  25154. }
  25155. },
  25156. "models.Ermcp3SellBuyContract": {
  25157. "type": "object",
  25158. "properties": {
  25159. "accountid": {
  25160. "description": "期货账户id",
  25161. "type": "string"
  25162. },
  25163. "accountname": {
  25164. "description": "账户名称",
  25165. "type": "string"
  25166. },
  25167. "attachment": {
  25168. "description": "附件",
  25169. "type": "string"
  25170. },
  25171. "audittime": {
  25172. "description": "审核时间",
  25173. "type": "string"
  25174. },
  25175. "bizsubjectid": {
  25176. "description": "归属业务部门ID - SubjectID",
  25177. "type": "integer"
  25178. },
  25179. "biztype": {
  25180. "description": "业务类型 1-套保 2-套利",
  25181. "type": "integer"
  25182. },
  25183. "brandname": {
  25184. "description": "品牌名称",
  25185. "type": "string"
  25186. },
  25187. "contracctstatus": {
  25188. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  25189. "type": "integer"
  25190. },
  25191. "contractmargin": {
  25192. "description": "合同保证金",
  25193. "type": "number"
  25194. },
  25195. "contractno": {
  25196. "description": "合同编号",
  25197. "type": "string"
  25198. },
  25199. "contracttype": {
  25200. "description": "合同类型 1-采购, -1-销售",
  25201. "type": "integer"
  25202. },
  25203. "convertfactor": {
  25204. "description": "标仓系数(品类)",
  25205. "type": "number"
  25206. },
  25207. "createtime": {
  25208. "description": "创建时间",
  25209. "type": "string"
  25210. },
  25211. "currencyid": {
  25212. "description": "币种id",
  25213. "type": "integer"
  25214. },
  25215. "currencyname": {
  25216. "description": "币种名称",
  25217. "type": "string"
  25218. },
  25219. "daikaiamount": {
  25220. "description": "应收(开)票额 | 未收票额",
  25221. "type": "number"
  25222. },
  25223. "deliveryenddate": {
  25224. "description": "交割结束日",
  25225. "type": "string"
  25226. },
  25227. "deliverygoodscode": {
  25228. "description": "现货品种代码",
  25229. "type": "string"
  25230. },
  25231. "deliverygoodsid": {
  25232. "description": "现货商品ID",
  25233. "type": "integer"
  25234. },
  25235. "deliverygoodsname": {
  25236. "description": "现货品种名称",
  25237. "type": "string"
  25238. },
  25239. "deliverystartdate": {
  25240. "description": "交割开始日",
  25241. "type": "string"
  25242. },
  25243. "enddate": {
  25244. "description": "点价结束日",
  25245. "type": "string"
  25246. },
  25247. "enumdicname": {
  25248. "description": "单位名称",
  25249. "type": "string"
  25250. },
  25251. "goodscode": {
  25252. "description": "点价商品代码",
  25253. "type": "string"
  25254. },
  25255. "goodsgroupid": {
  25256. "description": "点价商品组id",
  25257. "type": "integer"
  25258. },
  25259. "goodsid": {
  25260. "description": "点价商品ID",
  25261. "type": "integer"
  25262. },
  25263. "goodsname": {
  25264. "description": "点价商品名称",
  25265. "type": "string"
  25266. },
  25267. "invoiceamount": {
  25268. "description": "已开票额",
  25269. "type": "number"
  25270. },
  25271. "loanamount": {
  25272. "description": "贷款总额=已定价额+调整金额",
  25273. "type": "number"
  25274. },
  25275. "margin": {
  25276. "description": "保证金",
  25277. "type": "number"
  25278. },
  25279. "meruserid": {
  25280. "description": "跟单员id",
  25281. "type": "integer"
  25282. },
  25283. "meruserlogincode": {
  25284. "description": "跟单员登录代码",
  25285. "type": "string"
  25286. },
  25287. "merusername": {
  25288. "description": "跟单员名称",
  25289. "type": "string"
  25290. },
  25291. "nickname": {
  25292. "description": "账户昵称",
  25293. "type": "string"
  25294. },
  25295. "orireckonrealqty": {
  25296. "description": "应交收量",
  25297. "type": "number"
  25298. },
  25299. "payamount": {
  25300. "description": "已收付额(收款或付款)",
  25301. "type": "number"
  25302. },
  25303. "preinvoiceamount": {
  25304. "description": "预收(开)票额",
  25305. "type": "number"
  25306. },
  25307. "prepayamount": {
  25308. "description": "预收付额",
  25309. "type": "number"
  25310. },
  25311. "price": {
  25312. "description": "价格",
  25313. "type": "number"
  25314. },
  25315. "pricedamount": {
  25316. "description": "已定价额",
  25317. "type": "number"
  25318. },
  25319. "pricedavg": {
  25320. "description": "已点均价",
  25321. "type": "number"
  25322. },
  25323. "pricedqty": {
  25324. "description": "已定价量",
  25325. "type": "number"
  25326. },
  25327. "pricemove": {
  25328. "description": "升贴水",
  25329. "type": "number"
  25330. },
  25331. "pricetype": {
  25332. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  25333. "type": "integer"
  25334. },
  25335. "producttype": {
  25336. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  25337. "type": "integer"
  25338. },
  25339. "qty": {
  25340. "description": "合同量",
  25341. "type": "number"
  25342. },
  25343. "reckonadjustamount": {
  25344. "description": "调整金额",
  25345. "type": "number"
  25346. },
  25347. "reckonedamount": {
  25348. "description": "实际已收付额(已确定额,已收付总额-已退款总额)",
  25349. "type": "number"
  25350. },
  25351. "reckonotheramount": {
  25352. "description": "其它费用",
  25353. "type": "number"
  25354. },
  25355. "reckonrealqty": {
  25356. "description": "已交收量",
  25357. "type": "number"
  25358. },
  25359. "remark": {
  25360. "description": "备注",
  25361. "type": "string"
  25362. },
  25363. "saleuserid": {
  25364. "description": "业务员id",
  25365. "type": "integer"
  25366. },
  25367. "saleuserlogincode": {
  25368. "description": "业务员登录代码",
  25369. "type": "string"
  25370. },
  25371. "saleusername": {
  25372. "description": "业务员名称",
  25373. "type": "string"
  25374. },
  25375. "spotcontractid": {
  25376. "description": "合同ID",
  25377. "type": "string"
  25378. },
  25379. "spotgoodsbrandid": {
  25380. "description": "现货品牌ID(DGFactoryItem表的ID)",
  25381. "type": "integer"
  25382. },
  25383. "spotgoodsdesc": {
  25384. "description": "商品型号(商品规格)",
  25385. "type": "string"
  25386. },
  25387. "startdate": {
  25388. "description": "点价开始日",
  25389. "type": "string"
  25390. },
  25391. "subjectid": {
  25392. "description": "交易主体ID",
  25393. "type": "integer"
  25394. },
  25395. "subjectname": {
  25396. "description": "交易主体名称",
  25397. "type": "string"
  25398. },
  25399. "totalamount": {
  25400. "description": "合计总额",
  25401. "type": "number"
  25402. },
  25403. "tradeuserid": {
  25404. "description": "交易员id",
  25405. "type": "integer"
  25406. },
  25407. "tradeuserlogincode": {
  25408. "description": "交易员登录代码",
  25409. "type": "string"
  25410. },
  25411. "tradeusername": {
  25412. "description": "交易员名称",
  25413. "type": "string"
  25414. },
  25415. "unpayamount": {
  25416. "description": "应收付款额(应支付或应收款) | 未付款额",
  25417. "type": "number"
  25418. },
  25419. "unpricedqty": {
  25420. "description": "未定价量",
  25421. "type": "number"
  25422. },
  25423. "unsureqty": {
  25424. "description": "未确定量 | 未交收量",
  25425. "type": "number"
  25426. },
  25427. "userid": {
  25428. "description": "机构ID",
  25429. "type": "integer"
  25430. },
  25431. "vatrate": {
  25432. "description": "增值税率",
  25433. "type": "number"
  25434. },
  25435. "wrstandardcode": {
  25436. "description": "品类代码",
  25437. "type": "string"
  25438. },
  25439. "wrstandardid": {
  25440. "description": "品类ID",
  25441. "type": "integer"
  25442. },
  25443. "wrstandardname": {
  25444. "description": "品类名称",
  25445. "type": "string"
  25446. }
  25447. }
  25448. },
  25449. "models.Ermcp3SpotGoodsPrice": {
  25450. "type": "object",
  25451. "properties": {
  25452. "areauserid": {
  25453. "description": "所属机构id",
  25454. "type": "integer"
  25455. },
  25456. "brandname": {
  25457. "description": "品牌名称",
  25458. "type": "string"
  25459. },
  25460. "currencyid": {
  25461. "description": "报价货币ID",
  25462. "type": "integer"
  25463. },
  25464. "currencyname": {
  25465. "description": "币种名称",
  25466. "type": "string"
  25467. },
  25468. "deliverygoodscode": {
  25469. "description": "现货商品代码",
  25470. "type": "string"
  25471. },
  25472. "deliverygoodsid": {
  25473. "description": "现货商品id",
  25474. "type": "integer"
  25475. },
  25476. "deliverygoodsname": {
  25477. "description": "现货商品名称",
  25478. "type": "string"
  25479. },
  25480. "enumdicname": {
  25481. "description": "现货商品单位名称",
  25482. "type": "string"
  25483. },
  25484. "gbenumdicname": {
  25485. "description": "品类单位名称",
  25486. "type": "string"
  25487. },
  25488. "gmunitid": {
  25489. "description": "品类单位id",
  25490. "type": "integer"
  25491. },
  25492. "isvalid": {
  25493. "description": "是否有效 - 0:无效 1:有效",
  25494. "type": "integer"
  25495. },
  25496. "operateid": {
  25497. "description": "最后操作人",
  25498. "type": "integer"
  25499. },
  25500. "operatesrc": {
  25501. "description": "最后操作来源 - 1:管理端 2:终端",
  25502. "type": "integer"
  25503. },
  25504. "operatetime": {
  25505. "description": "最后操作时间",
  25506. "type": "string"
  25507. },
  25508. "operatorname": {
  25509. "description": "操作人名称",
  25510. "type": "string"
  25511. },
  25512. "spotgoodsbrandid": {
  25513. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  25514. "type": "integer"
  25515. },
  25516. "spotgoodsprice": {
  25517. "description": "现货价格",
  25518. "type": "number"
  25519. },
  25520. "tradedate": {
  25521. "description": "交易日(yyyyMMdd)",
  25522. "type": "string"
  25523. },
  25524. "unitid": {
  25525. "description": "现货商品单位id",
  25526. "type": "integer"
  25527. },
  25528. "wrstandardcode": {
  25529. "description": "品类代码",
  25530. "type": "string"
  25531. },
  25532. "wrstandardid": {
  25533. "description": "现货品类ID(通用则为0)",
  25534. "type": "integer"
  25535. },
  25536. "wrstandardname": {
  25537. "description": "品类名称",
  25538. "type": "string"
  25539. }
  25540. }
  25541. },
  25542. "models.Ermcp3SpotGoodsPriceLog": {
  25543. "type": "object",
  25544. "properties": {
  25545. "areauserid": {
  25546. "description": "所属机构id",
  25547. "type": "integer"
  25548. },
  25549. "brandname": {
  25550. "description": "品牌名称",
  25551. "type": "string"
  25552. },
  25553. "currencyid": {
  25554. "description": "报价货币ID",
  25555. "type": "integer"
  25556. },
  25557. "deliverygoodscode": {
  25558. "description": "现货商品代码",
  25559. "type": "string"
  25560. },
  25561. "deliverygoodsid": {
  25562. "description": "现货商品id",
  25563. "type": "integer"
  25564. },
  25565. "deliverygoodsname": {
  25566. "description": "现货商品名称",
  25567. "type": "string"
  25568. },
  25569. "enumdicname": {
  25570. "description": "现货商品单位名称",
  25571. "type": "string"
  25572. },
  25573. "gbenumdicname": {
  25574. "description": "品类单位名称",
  25575. "type": "string"
  25576. },
  25577. "gmunitid": {
  25578. "description": "品类单位id",
  25579. "type": "integer"
  25580. },
  25581. "logid": {
  25582. "description": "日志id",
  25583. "type": "integer"
  25584. },
  25585. "operateid": {
  25586. "description": "最后操作人",
  25587. "type": "integer"
  25588. },
  25589. "operatesrc": {
  25590. "description": "最后操作来源 - 1:管理端 2:终端",
  25591. "type": "integer"
  25592. },
  25593. "operatetime": {
  25594. "description": "最后操作时间",
  25595. "type": "string"
  25596. },
  25597. "operatorname": {
  25598. "description": "操作人名称",
  25599. "type": "string"
  25600. },
  25601. "spotgoodsbrandid": {
  25602. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  25603. "type": "integer"
  25604. },
  25605. "spotgoodsprice": {
  25606. "description": "现货价格",
  25607. "type": "number"
  25608. },
  25609. "tradedate": {
  25610. "description": "交易日(yyyyMMdd)",
  25611. "type": "string"
  25612. },
  25613. "unitid": {
  25614. "description": "现货商品单位id",
  25615. "type": "integer"
  25616. },
  25617. "wrstandardcode": {
  25618. "description": "品类代码",
  25619. "type": "string"
  25620. },
  25621. "wrstandardid": {
  25622. "description": "现货品类ID(通用则为0)",
  25623. "type": "integer"
  25624. },
  25625. "wrstandardname": {
  25626. "description": "品类名称",
  25627. "type": "string"
  25628. }
  25629. }
  25630. },
  25631. "models.Ermcp3SubTaaccount": {
  25632. "type": "object",
  25633. "properties": {
  25634. "accountid": {
  25635. "description": "资金账户ID",
  25636. "type": "integer"
  25637. },
  25638. "parentaccountcode": {
  25639. "description": "所属根账号代码(母账号代码)",
  25640. "type": "string"
  25641. },
  25642. "parentaccountid": {
  25643. "description": "所属根账号(母账号)",
  25644. "type": "integer"
  25645. },
  25646. "taname": {
  25647. "description": "资金账号名称",
  25648. "type": "string"
  25649. },
  25650. "tradestatus": {
  25651. "description": "交易状态 - 1:正常 2:受限 3:冻结(停用) 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已删除(注销)",
  25652. "type": "integer"
  25653. },
  25654. "username": {
  25655. "description": "交易用户",
  25656. "type": "string"
  25657. }
  25658. }
  25659. },
  25660. "models.Ermcp3TaFutuReDataReport": {
  25661. "type": "object",
  25662. "properties": {
  25663. "accountid": {
  25664. "description": "交易账户",
  25665. "type": "integer"
  25666. },
  25667. "accountname": {
  25668. "description": "交易账号名称",
  25669. "type": "string"
  25670. },
  25671. "agreeunit": {
  25672. "description": "商品合约单位",
  25673. "type": "number"
  25674. },
  25675. "begindate": {
  25676. "description": "开始交易日",
  25677. "type": "string"
  25678. },
  25679. "buyorsell": {
  25680. "description": "持仓方向",
  25681. "type": "integer"
  25682. },
  25683. "charge": {
  25684. "description": "手续费",
  25685. "type": "number"
  25686. },
  25687. "closeavgprice": {
  25688. "description": "平仓均价",
  25689. "type": "number"
  25690. },
  25691. "closepl": {
  25692. "description": "平仓损益",
  25693. "type": "number"
  25694. },
  25695. "currencyid": {
  25696. "description": "结算币种ID",
  25697. "type": "integer"
  25698. },
  25699. "currencyname": {
  25700. "description": "币种名称",
  25701. "type": "string"
  25702. },
  25703. "cycletime": {
  25704. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  25705. "type": "string"
  25706. },
  25707. "cycletype": {
  25708. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  25709. "type": "integer"
  25710. },
  25711. "enddate": {
  25712. "description": "结束交易日",
  25713. "type": "string"
  25714. },
  25715. "enumdicname": {
  25716. "description": "单位名称",
  25717. "type": "string"
  25718. },
  25719. "floatpl": {
  25720. "description": "浮动损益",
  25721. "type": "number"
  25722. },
  25723. "goodscode": {
  25724. "description": "交易合约代码",
  25725. "type": "string"
  25726. },
  25727. "goodsgroupid": {
  25728. "description": "交易品种",
  25729. "type": "integer"
  25730. },
  25731. "goodsgroupname": {
  25732. "description": "交易品种名称",
  25733. "type": "string"
  25734. },
  25735. "goodsgroupspotqty": {
  25736. "description": "交易品种期末量 (= 期末持仓量 * 合约乘数)",
  25737. "type": "number"
  25738. },
  25739. "goodsid": {
  25740. "description": "交易合约",
  25741. "type": "integer"
  25742. },
  25743. "goodsname": {
  25744. "description": "交易合约名称",
  25745. "type": "string"
  25746. },
  25747. "goodunitid": {
  25748. "description": "交易合约单位id",
  25749. "type": "integer"
  25750. },
  25751. "holdamount": {
  25752. "description": "期末持仓额",
  25753. "type": "number"
  25754. },
  25755. "holdqty": {
  25756. "description": "期末持仓量",
  25757. "type": "number"
  25758. },
  25759. "lastholdamount": {
  25760. "description": "当前持仓额",
  25761. "type": "number"
  25762. },
  25763. "lastprice": {
  25764. "description": "最新价",
  25765. "type": "number"
  25766. },
  25767. "middlegoodsid": {
  25768. "description": "套保品种id",
  25769. "type": "integer"
  25770. },
  25771. "middlegoodsname": {
  25772. "description": "套保商品名称",
  25773. "type": "string"
  25774. },
  25775. "middlegoodsqty": {
  25776. "description": "套保品种期末量 (=交易品种期末量 * 期货品种折算系数)",
  25777. "type": "number"
  25778. },
  25779. "middlgoodscode": {
  25780. "description": "套保商品代码",
  25781. "type": "string"
  25782. },
  25783. "openamount": {
  25784. "description": "期末开仓额",
  25785. "type": "number"
  25786. },
  25787. "openavgprice": {
  25788. "description": "开仓均价",
  25789. "type": "number"
  25790. },
  25791. "oriholdamount": {
  25792. "description": "期初持仓额",
  25793. "type": "number"
  25794. },
  25795. "oriholdqty": {
  25796. "description": "期初持仓量",
  25797. "type": "number"
  25798. },
  25799. "oriopenamount": {
  25800. "description": "期初开仓额",
  25801. "type": "number"
  25802. },
  25803. "outergroupcode": {
  25804. "description": "交易品种代码",
  25805. "type": "string"
  25806. },
  25807. "qtydecimalplace": {
  25808. "description": "成交量小数位",
  25809. "type": "integer"
  25810. },
  25811. "reckondate": {
  25812. "description": "日照时期(yyyyMMdd)",
  25813. "type": "string"
  25814. },
  25815. "reckonholdamount": {
  25816. "description": "结算持仓额",
  25817. "type": "number"
  25818. },
  25819. "reckonpl": {
  25820. "description": "结算损益",
  25821. "type": "number"
  25822. },
  25823. "reckonpl2": {
  25824. "description": "结算逐笔盈亏",
  25825. "type": "number"
  25826. },
  25827. "reckonprice": {
  25828. "description": "结算价",
  25829. "type": "number"
  25830. },
  25831. "relateduserid": {
  25832. "description": "账户关联用户ID",
  25833. "type": "integer"
  25834. },
  25835. "todaycloseamount": {
  25836. "description": "今平仓额",
  25837. "type": "number"
  25838. },
  25839. "todaycloseqty": {
  25840. "description": "今平仓量",
  25841. "type": "number"
  25842. },
  25843. "todaygoodsgroupspotqty": {
  25844. "description": "交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)",
  25845. "type": "number"
  25846. },
  25847. "todaymiddlegoodsqty": {
  25848. "description": "套保品种变化量 (= 交易品种变化量*期货品种折算系数)",
  25849. "type": "number"
  25850. },
  25851. "todayopenamount": {
  25852. "description": "今开仓额",
  25853. "type": "number"
  25854. },
  25855. "todayopenqty": {
  25856. "description": "今开仓量",
  25857. "type": "number"
  25858. },
  25859. "userid": {
  25860. "description": "账户所属用户ID",
  25861. "type": "integer"
  25862. }
  25863. }
  25864. },
  25865. "models.Ermcp3TradeLinkDetail": {
  25866. "type": "object",
  25867. "properties": {
  25868. "accountid": {
  25869. "description": "资金账号",
  25870. "type": "integer"
  25871. },
  25872. "agreeunit": {
  25873. "description": "合约乘数",
  25874. "type": "number"
  25875. },
  25876. "areauserid": {
  25877. "description": "所属机构",
  25878. "type": "string"
  25879. },
  25880. "bizsubjectid": {
  25881. "description": "归属业务部门ID - SubjectID",
  25882. "type": "string"
  25883. },
  25884. "buyorsell": {
  25885. "description": "方向 - 0:买 1:卖",
  25886. "type": "integer"
  25887. },
  25888. "channelbuildtype": {
  25889. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  25890. "type": "integer"
  25891. },
  25892. "contractno": {
  25893. "description": "现货编号 (合同编号)",
  25894. "type": "string"
  25895. },
  25896. "convertratio": {
  25897. "description": "折算系数",
  25898. "type": "number"
  25899. },
  25900. "createtime": {
  25901. "description": "关联时间 | 创建时间",
  25902. "type": "string"
  25903. },
  25904. "creatorid": {
  25905. "description": "创建人ID",
  25906. "type": "string"
  25907. },
  25908. "creatorsrc": {
  25909. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  25910. "type": "integer"
  25911. },
  25912. "enumdicname": {
  25913. "description": "单位名称",
  25914. "type": "string"
  25915. },
  25916. "goodscode": {
  25917. "description": "合约代码",
  25918. "type": "string"
  25919. },
  25920. "goodsgroupid": {
  25921. "description": "对冲品种ID[期货合约商品组ID]",
  25922. "type": "integer"
  25923. },
  25924. "goodsid": {
  25925. "description": "商品ID",
  25926. "type": "integer"
  25927. },
  25928. "goodsname": {
  25929. "description": "合约名称",
  25930. "type": "string"
  25931. },
  25932. "hedgeflag": {
  25933. "description": "业务类型 | 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)",
  25934. "type": "integer"
  25935. },
  25936. "linkdetailid": {
  25937. "description": "关联ID(614+Unix秒时间戳(10位)+xxxxxx)",
  25938. "type": "string"
  25939. },
  25940. "linkstatus": {
  25941. "description": "关联状态 - 1:成功 2:失败 3:解绑",
  25942. "type": "integer"
  25943. },
  25944. "middlegoodscode": {
  25945. "description": "套保品种代码",
  25946. "type": "string"
  25947. },
  25948. "middlegoodsid": {
  25949. "description": "套保品种ID",
  25950. "type": "integer"
  25951. },
  25952. "middlegoodsname": {
  25953. "description": "套保品种名称",
  25954. "type": "string"
  25955. },
  25956. "relatedlot": {
  25957. "description": "关联手数",
  25958. "type": "number"
  25959. },
  25960. "relatedmode": {
  25961. "description": "关联方式 - 1:自动关联 2:手动关联 3:解绑关联",
  25962. "type": "integer"
  25963. },
  25964. "relatedqty": {
  25965. "description": "关联数量 = RelatedLot * AgreeUnit * ConvertRatio",
  25966. "type": "number"
  25967. },
  25968. "retcode": {
  25969. "description": "返回码",
  25970. "type": "integer"
  25971. },
  25972. "saleuserid": {
  25973. "description": "业务员ID",
  25974. "type": "string"
  25975. },
  25976. "spotcontractid": {
  25977. "description": "现货合同\\套保计划ID [4,10,11 - 现货合同ID] [9:套期保值(计划) - 套保计划ID]",
  25978. "type": "string"
  25979. },
  25980. "taname": {
  25981. "description": "期货账户",
  25982. "type": "string"
  25983. },
  25984. "tradedate": {
  25985. "description": "关联交易日(yyyyMMdd)",
  25986. "type": "string"
  25987. },
  25988. "tradeid": {
  25989. "description": "期货订单号 | 内部成交单ID",
  25990. "type": "string"
  25991. },
  25992. "tradelot": {
  25993. "description": "成交数量 | 成交手数",
  25994. "type": "integer"
  25995. },
  25996. "tradeprice": {
  25997. "description": "成交价格",
  25998. "type": "number"
  25999. },
  26000. "tradetime": {
  26001. "description": "期货成交时间",
  26002. "type": "string"
  26003. },
  26004. "tradetradedate": {
  26005. "description": "成交交易日(yyyyMMdd)",
  26006. "type": "string"
  26007. },
  26008. "username": {
  26009. "description": "用户名称",
  26010. "type": "string"
  26011. }
  26012. }
  26013. },
  26014. "models.Ermcp3Wrstandard": {
  26015. "type": "object",
  26016. "properties": {
  26017. "areauserid": {
  26018. "description": "所属机构",
  26019. "type": "integer"
  26020. },
  26021. "cantrade": {
  26022. "description": "是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)",
  26023. "type": "integer"
  26024. },
  26025. "convertfactor": {
  26026. "description": "标仓系数",
  26027. "type": "number"
  26028. },
  26029. "createtime": {
  26030. "description": "创建时间",
  26031. "type": "string"
  26032. },
  26033. "creatorid": {
  26034. "description": "创建人",
  26035. "type": "integer"
  26036. },
  26037. "deliverygoodsid": {
  26038. "description": "现货品种ID",
  26039. "type": "integer"
  26040. },
  26041. "enumdicname": {
  26042. "description": "品类单位名称",
  26043. "type": "string"
  26044. },
  26045. "isvalid": {
  26046. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  26047. "type": "integer"
  26048. },
  26049. "minivalue": {
  26050. "description": "最小变动值",
  26051. "type": "integer"
  26052. },
  26053. "minivaluedp": {
  26054. "description": "最小变动值小数位",
  26055. "type": "integer"
  26056. },
  26057. "realminivalue": {
  26058. "description": "实际最小变动值",
  26059. "type": "integer"
  26060. },
  26061. "realminivaluedp": {
  26062. "description": "实际最小变动值小数位",
  26063. "type": "integer"
  26064. },
  26065. "remark": {
  26066. "description": "备注",
  26067. "type": "string"
  26068. },
  26069. "unitid": {
  26070. "description": "品类单位ID",
  26071. "type": "integer"
  26072. },
  26073. "updatetime": {
  26074. "description": "更新时间",
  26075. "type": "string"
  26076. },
  26077. "wrstandardcode": {
  26078. "description": "品类代码",
  26079. "type": "string"
  26080. },
  26081. "wrstandardid": {
  26082. "description": "品类ID(SEQ_WRSTANDARD)",
  26083. "type": "integer"
  26084. },
  26085. "wrstandardname": {
  26086. "description": "品类名称",
  26087. "type": "string"
  26088. }
  26089. }
  26090. },
  26091. "models.Ermcp8EnableHedgeditem": {
  26092. "type": "object",
  26093. "properties": {
  26094. "accountname": {
  26095. "description": "套期主体",
  26096. "type": "string"
  26097. },
  26098. "hedgeditemid": {
  26099. "description": "被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)",
  26100. "type": "string"
  26101. },
  26102. "hedgeditemname": {
  26103. "description": "项目名称",
  26104. "type": "string"
  26105. },
  26106. "hedgeditemnum": {
  26107. "description": "项目编号",
  26108. "type": "string"
  26109. },
  26110. "hedgedtype": {
  26111. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  26112. "type": "integer"
  26113. },
  26114. "planenddate": {
  26115. "description": "计划结束日期",
  26116. "type": "string"
  26117. },
  26118. "planstartdate": {
  26119. "description": "计划开始日期",
  26120. "type": "string"
  26121. }
  26122. }
  26123. },
  26124. "models.Ermcp8HedgeditemReport": {
  26125. "type": "object",
  26126. "properties": {
  26127. "accountname": {
  26128. "description": "套期主体",
  26129. "type": "string"
  26130. },
  26131. "areauserid": {
  26132. "description": "企业ID",
  26133. "type": "integer"
  26134. },
  26135. "curprice": {
  26136. "description": "[当日现货市场价]当前市场价",
  26137. "type": "number"
  26138. },
  26139. "enumdicname": {
  26140. "description": "单位",
  26141. "type": "string"
  26142. },
  26143. "exeamount": {
  26144. "description": "[执行现货金额]执行市价总额",
  26145. "type": "number"
  26146. },
  26147. "exeavgprice": {
  26148. "description": "[执行价]执行市场均价= 执行市价总额 / 执行现货量",
  26149. "type": "number"
  26150. },
  26151. "exeqty": {
  26152. "description": "[执行数量]执行现货量",
  26153. "type": "number"
  26154. },
  26155. "futurehedgepl": {
  26156. "description": "期货实际损益",
  26157. "type": "number"
  26158. },
  26159. "futurehedgeplchange": {
  26160. "description": "期货实际变动 = 期货实际损益 - 期初期货实际损益",
  26161. "type": "number"
  26162. },
  26163. "futurepl": {
  26164. "description": "期货套期损益",
  26165. "type": "number"
  26166. },
  26167. "futureplchange": {
  26168. "description": "期货套期变动 = 期货套期损益 - 期初期货套期损益",
  26169. "type": "number"
  26170. },
  26171. "hedgeamount": {
  26172. "description": "[套期现货金额]套期市价总额",
  26173. "type": "number"
  26174. },
  26175. "hedgeditemnum": {
  26176. "description": "项目编号,模糊查询",
  26177. "type": "string"
  26178. },
  26179. "hedgeditemstatus": {
  26180. "description": "项目状态 - 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  26181. "type": "integer"
  26182. },
  26183. "hedgedtype": {
  26184. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  26185. "type": "integer"
  26186. },
  26187. "hedgeqty": {
  26188. "description": "[套期数量]套期现货量",
  26189. "type": "number"
  26190. },
  26191. "oriavgprice": {
  26192. "description": "[期初价]期初市场均价 = 套期市价总额 / 套期现货量",
  26193. "type": "number"
  26194. },
  26195. "orifuturehedgepl": {
  26196. "description": "期初期货实际损益",
  26197. "type": "number"
  26198. },
  26199. "orifuturepl": {
  26200. "description": "期初期货套期损益",
  26201. "type": "number"
  26202. },
  26203. "orispothedgepl": {
  26204. "description": "期初现货实际损益",
  26205. "type": "number"
  26206. },
  26207. "orispotpl": {
  26208. "description": "期初现货套期损益",
  26209. "type": "number"
  26210. },
  26211. "planenddate": {
  26212. "description": "计划结束日期",
  26213. "type": "string"
  26214. },
  26215. "planstartdate": {
  26216. "description": "计划开始日期",
  26217. "type": "string"
  26218. },
  26219. "spothedgepl": {
  26220. "description": "现货实际损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)",
  26221. "type": "number"
  26222. },
  26223. "spothedgeplchange": {
  26224. "description": "现货实际变动 = 现货实际损益 - 期初现货实际损益",
  26225. "type": "number"
  26226. },
  26227. "spotpl": {
  26228. "description": "现货套期损益 = 现货实际损益 + 现货浮动损益",
  26229. "type": "number"
  26230. },
  26231. "spotplchange": {
  26232. "description": "现货套期变动 = 现货套期损益 - 期初现货套期损益",
  26233. "type": "number"
  26234. },
  26235. "tradeuserid": {
  26236. "description": "交易用户ID",
  26237. "type": "integer"
  26238. },
  26239. "unexeqty": {
  26240. "description": "未执行现货量 = 套期现货量 - 执行现货量",
  26241. "type": "number"
  26242. },
  26243. "wrstandardcode": {
  26244. "description": "现货品类代码",
  26245. "type": "string"
  26246. },
  26247. "wrstandardid": {
  26248. "description": "现货商品ID",
  26249. "type": "integer"
  26250. },
  26251. "wrstandardname": {
  26252. "description": "[现货商品]现货品类名称",
  26253. "type": "string"
  26254. }
  26255. }
  26256. },
  26257. "models.Ermcp8RunningHedgeditem": {
  26258. "type": "object",
  26259. "properties": {
  26260. "accountname": {
  26261. "description": "套期主体",
  26262. "type": "string"
  26263. },
  26264. "applyid": {
  26265. "description": "申请人",
  26266. "type": "integer"
  26267. },
  26268. "applysrc": {
  26269. "description": "申请来源 - 1:管理端 2:终端",
  26270. "type": "integer"
  26271. },
  26272. "areauserid": {
  26273. "description": "企业ID",
  26274. "type": "integer"
  26275. },
  26276. "auditid": {
  26277. "description": "审核人",
  26278. "type": "integer"
  26279. },
  26280. "auditremark": {
  26281. "description": "审核备注",
  26282. "type": "string"
  26283. },
  26284. "auditsrc": {
  26285. "description": "审核来源 - 1:管理端 2:终端",
  26286. "type": "integer"
  26287. },
  26288. "audittime": {
  26289. "description": "审核时间",
  26290. "type": "string"
  26291. },
  26292. "audittradedate": {
  26293. "description": "审核交易日(yyyyMMdd)",
  26294. "type": "string"
  26295. },
  26296. "createtime": {
  26297. "description": "申请时间",
  26298. "type": "string"
  26299. },
  26300. "curprice": {
  26301. "description": "当前市场价",
  26302. "type": "number"
  26303. },
  26304. "curstock": {
  26305. "description": "期末库存量 = 采购总量 - 销售总量",
  26306. "type": "number"
  26307. },
  26308. "deliverygoodsid": {
  26309. "description": "现货品种ID",
  26310. "type": "integer"
  26311. },
  26312. "enddate": {
  26313. "description": "完成日期",
  26314. "type": "string"
  26315. },
  26316. "endtradedate": {
  26317. "description": "完成交易日",
  26318. "type": "string"
  26319. },
  26320. "enumdicname": {
  26321. "description": "单位",
  26322. "type": "string"
  26323. },
  26324. "exeamount": {
  26325. "description": "执行市价总额",
  26326. "type": "number"
  26327. },
  26328. "exeavgprice": {
  26329. "description": "执行市场均价= 执行市价总额 / 执行现货量",
  26330. "type": "number"
  26331. },
  26332. "execontractamount": {
  26333. "description": "执行定价总额",
  26334. "type": "number"
  26335. },
  26336. "exeqty": {
  26337. "description": "执行现货量",
  26338. "type": "number"
  26339. },
  26340. "exerestamount": {
  26341. "description": "执行剩余市价总额【现货贸易】",
  26342. "type": "number"
  26343. },
  26344. "futurefloatpl": {
  26345. "description": "期货浮动损益",
  26346. "type": "number"
  26347. },
  26348. "futurehedgepl": {
  26349. "description": "期货实际损益",
  26350. "type": "number"
  26351. },
  26352. "futurehedgeplchange": {
  26353. "description": "期货实际损益变动",
  26354. "type": "number"
  26355. },
  26356. "futurepl": {
  26357. "description": "期货套期损益",
  26358. "type": "number"
  26359. },
  26360. "futureplchange": {
  26361. "description": "期货套期损益变动",
  26362. "type": "number"
  26363. },
  26364. "hedgeamount": {
  26365. "description": "套期市价总额",
  26366. "type": "number"
  26367. },
  26368. "hedgecontractamount": {
  26369. "description": "套期定价总额 【定价采购合同】【现货贸易】",
  26370. "type": "number"
  26371. },
  26372. "hedgeditemid": {
  26373. "description": "被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)",
  26374. "type": "string"
  26375. },
  26376. "hedgeditemname": {
  26377. "description": "项目名称",
  26378. "type": "string"
  26379. },
  26380. "hedgeditemnum": {
  26381. "description": "项目编号",
  26382. "type": "string"
  26383. },
  26384. "hedgeditemstatus": {
  26385. "description": "项目状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  26386. "type": "integer"
  26387. },
  26388. "hedgedtype": {
  26389. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  26390. "type": "integer"
  26391. },
  26392. "hedgeqty": {
  26393. "description": "套期现货量",
  26394. "type": "number"
  26395. },
  26396. "hedgerate": {
  26397. "description": "套保比率",
  26398. "type": "number"
  26399. },
  26400. "hedgerestamount": {
  26401. "description": "套期剩余市价总额【现货贸易】",
  26402. "type": "number"
  26403. },
  26404. "hedgesumpl": {
  26405. "description": "套期汇总损益 = 期货汇总损益 + 现货汇总损益",
  26406. "type": "number"
  26407. },
  26408. "middlegoodslist": {
  26409. "description": "套期商品列表",
  26410. "type": "array",
  26411. "items": {
  26412. "$ref": "#/definitions/models.Ermcp2himiddlegoods"
  26413. }
  26414. },
  26415. "oriavgprice": {
  26416. "description": "期初市场均价 = 套期市价总额 / 套期现货量",
  26417. "type": "number"
  26418. },
  26419. "orifuturehedgepl": {
  26420. "description": "期初期货实际损益",
  26421. "type": "number"
  26422. },
  26423. "orifuturepl": {
  26424. "description": "期初期货套期损益",
  26425. "type": "number"
  26426. },
  26427. "orispothedgepl": {
  26428. "description": "期初现货实际损益",
  26429. "type": "number"
  26430. },
  26431. "orispotpl": {
  26432. "description": "期初现货套期损益",
  26433. "type": "number"
  26434. },
  26435. "planenddate": {
  26436. "description": "计划结束日期",
  26437. "type": "string"
  26438. },
  26439. "planstartdate": {
  26440. "description": "计划开始日期",
  26441. "type": "string"
  26442. },
  26443. "remark": {
  26444. "description": "备注",
  26445. "type": "string"
  26446. },
  26447. "spotbookamount": {
  26448. "description": "现货账面总额",
  26449. "type": "number"
  26450. },
  26451. "spotfloatpl": {
  26452. "description": "现货浮动损益 =(当前市场价 - 期初市场价)*未执行现货量 * 方向(销售计划 为 -1, 其它为1)",
  26453. "type": "number"
  26454. },
  26455. "spothedgepl": {
  26456. "description": "现货套期损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)",
  26457. "type": "number"
  26458. },
  26459. "spothedgeplchange": {
  26460. "description": "现货实际损益变动",
  26461. "type": "number"
  26462. },
  26463. "spotpl": {
  26464. "description": "现货套期损益 = 现货实际损益 + 现货浮动损益",
  26465. "type": "number"
  26466. },
  26467. "spotplchange": {
  26468. "description": "现货套期损益变动",
  26469. "type": "number"
  26470. },
  26471. "spottradepl": {
  26472. "description": "现货贸易损益【现货贸易】= 执行合同定价总额 - 套期合同定价总额",
  26473. "type": "number"
  26474. },
  26475. "sumobspl": {
  26476. "description": "汇总绝对损益【现货贸易】=现货贸易损益+增值税损益+期货套期损益",
  26477. "type": "number"
  26478. },
  26479. "tradeuserid": {
  26480. "description": "交易用户ID",
  26481. "type": "integer"
  26482. },
  26483. "unexeqty": {
  26484. "description": "未执行现货量 = 套期现货量 - 执行现货量",
  26485. "type": "number"
  26486. },
  26487. "updatetime": {
  26488. "description": "更新时间",
  26489. "type": "string"
  26490. },
  26491. "vatpl": {
  26492. "description": "增值税损益【现货贸易】= 现货贸易损益 * (增值税率 /(1+增值税率))",
  26493. "type": "number"
  26494. },
  26495. "vatrate": {
  26496. "description": "增值税",
  26497. "type": "number"
  26498. },
  26499. "wrstandardid": {
  26500. "description": "现货商品ID",
  26501. "type": "integer"
  26502. },
  26503. "wrstandardname": {
  26504. "description": "商品名称",
  26505. "type": "string"
  26506. }
  26507. }
  26508. },
  26509. "models.ErmcpBizGroupEx": {
  26510. "type": "object",
  26511. "properties": {
  26512. "acclist": {
  26513. "description": "账号列表",
  26514. "type": "array",
  26515. "items": {
  26516. "$ref": "#/definitions/models.ErmcpBizGroupTaAccount"
  26517. }
  26518. },
  26519. "bizgroupid": {
  26520. "description": "业务分组id",
  26521. "type": "integer"
  26522. },
  26523. "biztype": {
  26524. "description": "业务类型 1-套保 2-套利",
  26525. "type": "integer"
  26526. },
  26527. "wrlist": {
  26528. "description": "现货商品表",
  26529. "type": "array",
  26530. "items": {
  26531. "$ref": "#/definitions/models.ErmcpBizGroupSpotGoods"
  26532. }
  26533. }
  26534. }
  26535. },
  26536. "models.ErmcpBizGroupSpotGoods": {
  26537. "type": "object",
  26538. "properties": {
  26539. "areauserid": {
  26540. "description": "所属机构id",
  26541. "type": "integer"
  26542. },
  26543. "bizgroupid": {
  26544. "description": "分组id",
  26545. "type": "integer"
  26546. },
  26547. "biztype": {
  26548. "description": "业务类型 1-套保 2-套利",
  26549. "type": "integer"
  26550. },
  26551. "deliverygoodscode": {
  26552. "description": "现货商品代码",
  26553. "type": "string"
  26554. },
  26555. "deliverygoodsid": {
  26556. "description": "现货商品id",
  26557. "type": "integer"
  26558. },
  26559. "deliverygoodsname": {
  26560. "description": "现货商品名称",
  26561. "type": "string"
  26562. },
  26563. "unitid": {
  26564. "description": "现货商品单位id",
  26565. "type": "integer"
  26566. }
  26567. }
  26568. },
  26569. "models.ErmcpBizGroupTaAccount": {
  26570. "type": "object",
  26571. "properties": {
  26572. "accountid": {
  26573. "description": "账号id",
  26574. "type": "integer"
  26575. },
  26576. "accountname": {
  26577. "description": "账号名称",
  26578. "type": "string"
  26579. },
  26580. "areauserid": {
  26581. "description": "所属机构id",
  26582. "type": "integer"
  26583. },
  26584. "bizgroupid": {
  26585. "description": "业务分组id",
  26586. "type": "integer"
  26587. },
  26588. "ismain": {
  26589. "description": "是否主账号 1-是 0-否",
  26590. "type": "integer"
  26591. }
  26592. }
  26593. },
  26594. "models.ErmcpDGFactoryItem": {
  26595. "type": "object",
  26596. "properties": {
  26597. "areauserid": {
  26598. "description": "用户id",
  26599. "type": "integer"
  26600. },
  26601. "deliverygoodsid": {
  26602. "description": "现货品种ID",
  26603. "type": "integer"
  26604. },
  26605. "dgfactoryitemid": {
  26606. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  26607. "type": "integer"
  26608. },
  26609. "dgfactoryitemtypeid": {
  26610. "description": "要素项类型",
  26611. "type": "integer"
  26612. },
  26613. "dgfactoryitemvalue": {
  26614. "description": "要素项值(类型为仓库时填写仓库名称)",
  26615. "type": "string"
  26616. },
  26617. "isvalid": {
  26618. "description": "是否有效 - 0:无效 1:有效",
  26619. "type": "integer"
  26620. },
  26621. "orderindex": {
  26622. "description": "顺序",
  26623. "type": "integer"
  26624. },
  26625. "warehouseid": {
  26626. "description": "仓库ID(类型为仓库时填写)",
  26627. "type": "integer"
  26628. }
  26629. }
  26630. },
  26631. "models.ErmcpDeliveryGoods": {
  26632. "type": "object",
  26633. "properties": {
  26634. "agreeunit": {
  26635. "description": "合约单位[散货时默认为1, 整装时默认为标准数量]",
  26636. "type": "integer"
  26637. },
  26638. "areauserid": {
  26639. "description": "所属机构",
  26640. "type": "integer"
  26641. },
  26642. "auditflag": {
  26643. "description": "交割是否需要审核 - 0:不需要 1:需要审核 默认为0",
  26644. "type": "integer"
  26645. },
  26646. "categoryid": {
  26647. "description": "类别ID(SEQ_WRCATEGORY)",
  26648. "type": "integer"
  26649. },
  26650. "deliverygoodscode": {
  26651. "description": "现货品种代码",
  26652. "type": "string"
  26653. },
  26654. "deliverygoodsid": {
  26655. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  26656. "type": "integer"
  26657. },
  26658. "deliverygoodsname": {
  26659. "description": "现货品种名称",
  26660. "type": "string"
  26661. },
  26662. "deliverygoodstype": {
  26663. "description": "现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细",
  26664. "type": "integer"
  26665. },
  26666. "dgstatus": {
  26667. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  26668. "type": "integer"
  26669. },
  26670. "enumdicname": {
  26671. "description": "现货品种单位名称",
  26672. "type": "string"
  26673. },
  26674. "goodsunitid": {
  26675. "description": "现货品种单位ID",
  26676. "type": "integer"
  26677. },
  26678. "isvalid": {
  26679. "description": "是否有效 - 0:无效 1:有效",
  26680. "type": "integer"
  26681. },
  26682. "qtydecimalplace": {
  26683. "description": "成交量小数位",
  26684. "type": "integer"
  26685. },
  26686. "remark": {
  26687. "description": "备注",
  26688. "type": "string"
  26689. },
  26690. "standardqty": {
  26691. "description": "标准数量(库位数量) [标准品特有]",
  26692. "type": "integer"
  26693. },
  26694. "standardqtyrange": {
  26695. "description": "标准数量偏差范围 [标准品特有]",
  26696. "type": "integer"
  26697. }
  26698. }
  26699. },
  26700. "models.ErmcpFuturesCompany": {
  26701. "type": "object",
  26702. "properties": {
  26703. "brokerid": {
  26704. "description": "经纪公司代码",
  26705. "type": "string"
  26706. },
  26707. "channeladdress": {
  26708. "description": "对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001",
  26709. "type": "string"
  26710. },
  26711. "channelid": {
  26712. "description": "对冲渠道ID",
  26713. "type": "string"
  26714. },
  26715. "createtime": {
  26716. "description": "创建时间",
  26717. "type": "string"
  26718. },
  26719. "creatorid": {
  26720. "description": "创建人",
  26721. "type": "string"
  26722. },
  26723. "fcid": {
  26724. "description": "期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)",
  26725. "type": "integer"
  26726. },
  26727. "fcname": {
  26728. "description": "期货公司名称",
  26729. "type": "string"
  26730. },
  26731. "isvalid": {
  26732. "description": "是否有效 - 0:无效 1:有效",
  26733. "type": "integer"
  26734. },
  26735. "mhpaddress": {
  26736. "description": "MHP服务地址(IP:Port)",
  26737. "type": "string"
  26738. },
  26739. "riskrulegroupid": {
  26740. "description": "风控规则组ID",
  26741. "type": "string"
  26742. },
  26743. "tradefeetmpid": {
  26744. "description": "手续费模板ID[TradeConfigTmpType为2]",
  26745. "type": "string"
  26746. },
  26747. "trademargintmpid": {
  26748. "description": "保证金模板ID [TradeConfigTmpType为1]",
  26749. "type": "string"
  26750. },
  26751. "traderatetmpid": {
  26752. "description": "汇率模板ID[TradeConfigTmpType为3]",
  26753. "type": "string"
  26754. },
  26755. "updatetime": {
  26756. "description": "更新时间",
  26757. "type": "string"
  26758. },
  26759. "updatorid": {
  26760. "description": "更新人",
  26761. "type": "string"
  26762. }
  26763. }
  26764. },
  26765. "models.ErmcpGGConvertCfg": {
  26766. "type": "object",
  26767. "properties": {
  26768. "convertratio": {
  26769. "description": "折算系数",
  26770. "type": "number"
  26771. },
  26772. "destgoodsgroupid": {
  26773. "description": "目标品种ID",
  26774. "type": "integer"
  26775. },
  26776. "dstcode": {
  26777. "description": "目录品种代码",
  26778. "type": "string"
  26779. },
  26780. "dstexchangecode": {
  26781. "description": "目标期货交易所",
  26782. "type": "string"
  26783. },
  26784. "dstname": {
  26785. "description": "目标品种名称",
  26786. "type": "string"
  26787. },
  26788. "dstunitid": {
  26789. "description": "目标品种单位ID",
  26790. "type": "integer"
  26791. },
  26792. "dstunitidname": {
  26793. "description": "目标品种单位名称",
  26794. "type": "string"
  26795. },
  26796. "modifytime": {
  26797. "description": "修改时间",
  26798. "type": "string"
  26799. },
  26800. "srccode": {
  26801. "description": "源品种代码",
  26802. "type": "string"
  26803. },
  26804. "srcexchangecode": {
  26805. "description": "源期货交易所",
  26806. "type": "string"
  26807. },
  26808. "srcgoodsgroupid": {
  26809. "description": "源品种ID",
  26810. "type": "integer"
  26811. },
  26812. "srcname": {
  26813. "description": "源品种名称",
  26814. "type": "string"
  26815. },
  26816. "srcunitid": {
  26817. "description": "源品种单位ID",
  26818. "type": "integer"
  26819. },
  26820. "srcunitidname": {
  26821. "description": "源品种单位名称",
  26822. "type": "string"
  26823. }
  26824. }
  26825. },
  26826. "models.ErmcpGoods": {
  26827. "type": "object",
  26828. "required": [
  26829. "goodscode",
  26830. "goodsid",
  26831. "goodsname",
  26832. "marketid"
  26833. ],
  26834. "properties": {
  26835. "agreeunit": {
  26836. "description": "合约单位",
  26837. "type": "number"
  26838. },
  26839. "areauserid": {
  26840. "description": "所属机构",
  26841. "type": "integer"
  26842. },
  26843. "auditaccountid": {
  26844. "description": "审核操作员账号",
  26845. "type": "integer"
  26846. },
  26847. "audittime": {
  26848. "description": "审核时间",
  26849. "type": "string"
  26850. },
  26851. "cancelaccountid": {
  26852. "description": "注销操作员账号",
  26853. "type": "integer"
  26854. },
  26855. "canceltime": {
  26856. "description": "注销时间",
  26857. "type": "string"
  26858. },
  26859. "closepricemode": {
  26860. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  26861. "type": "integer"
  26862. },
  26863. "closepriceparam": {
  26864. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  26865. "type": "number"
  26866. },
  26867. "createtime": {
  26868. "description": "创建时间",
  26869. "type": "string"
  26870. },
  26871. "creatorid": {
  26872. "description": "创建人",
  26873. "type": "integer"
  26874. },
  26875. "currencyid": {
  26876. "description": "报价货币ID",
  26877. "type": "integer"
  26878. },
  26879. "cutmode": {
  26880. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  26881. "type": "integer"
  26882. },
  26883. "decimalplace": {
  26884. "description": "报价小数位",
  26885. "type": "integer"
  26886. },
  26887. "delistingdate": {
  26888. "description": "商品退市时间(状态:退市) -- 已作废",
  26889. "type": "string"
  26890. },
  26891. "delistingmode": {
  26892. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  26893. "type": "integer"
  26894. },
  26895. "deliveryflag": {
  26896. "description": "交割标志 - 0:不可交割 1:可交割",
  26897. "type": "integer"
  26898. },
  26899. "enumdicname": {
  26900. "description": "单位名称",
  26901. "type": "string"
  26902. },
  26903. "forceclosemode": {
  26904. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  26905. "type": "integer"
  26906. },
  26907. "forceclosevalue": {
  26908. "description": "定期强平参数 [收益权]",
  26909. "type": "integer"
  26910. },
  26911. "goodscode": {
  26912. "description": "商品代码(内部)",
  26913. "type": "string"
  26914. },
  26915. "goodscurrencyid": {
  26916. "description": "合约货币ID",
  26917. "type": "integer"
  26918. },
  26919. "goodsgroupid": {
  26920. "description": "所属商品组ID",
  26921. "type": "integer"
  26922. },
  26923. "goodsid": {
  26924. "description": "商品ID(自增ID SEQ_GOODS)",
  26925. "type": "integer"
  26926. },
  26927. "goodsname": {
  26928. "description": "商品名称",
  26929. "type": "string"
  26930. },
  26931. "goodsquotetype": {
  26932. "description": "合约报价类型: 1-直接报价 2-间接报价",
  26933. "type": "integer"
  26934. },
  26935. "goodsstatus": {
  26936. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  26937. "type": "integer"
  26938. },
  26939. "goodstradetype": {
  26940. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  26941. "type": "integer"
  26942. },
  26943. "goodunitid": {
  26944. "description": "报价单位ID",
  26945. "type": "integer"
  26946. },
  26947. "hasquoter": {
  26948. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  26949. "type": "integer"
  26950. },
  26951. "hqprotecttime": {
  26952. "description": "行情保护时间(秒)",
  26953. "type": "integer"
  26954. },
  26955. "innerdealmode": {
  26956. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  26957. "type": "integer"
  26958. },
  26959. "isbuylimited": {
  26960. "description": "是否限制建仓量 - 0:不限制 1:限制",
  26961. "type": "integer"
  26962. },
  26963. "isvisible": {
  26964. "description": "游客是否可见 - 0:不可见 1:可见",
  26965. "type": "integer"
  26966. },
  26967. "lasttradedate": {
  26968. "description": "最后交易日期(状态:待退市)",
  26969. "type": "string"
  26970. },
  26971. "listingdate": {
  26972. "description": "交易开始日期",
  26973. "type": "string"
  26974. },
  26975. "marketid": {
  26976. "description": "所属市场ID",
  26977. "type": "integer"
  26978. },
  26979. "modifierid": {
  26980. "description": "修改人",
  26981. "type": "integer"
  26982. },
  26983. "modifystatus": {
  26984. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  26985. "type": "integer"
  26986. },
  26987. "modifytime": {
  26988. "description": "修改时间",
  26989. "type": "string"
  26990. },
  26991. "outerdealmode": {
  26992. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  26993. "type": "integer"
  26994. },
  26995. "outgoodscode": {
  26996. "description": "商品代码(外部)",
  26997. "type": "string"
  26998. },
  26999. "pictureurl": {
  27000. "description": "商品图片",
  27001. "type": "string"
  27002. },
  27003. "qtydecimalplace": {
  27004. "description": "成交量小数位",
  27005. "type": "integer"
  27006. },
  27007. "quotegear": {
  27008. "description": "行情档位(1-10)",
  27009. "type": "integer"
  27010. },
  27011. "quoteminunit": {
  27012. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  27013. "type": "integer"
  27014. },
  27015. "quoteshowtype": {
  27016. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  27017. "type": "integer"
  27018. },
  27019. "quoteshowtypeinterval": {
  27020. "description": "行情报价间隔时间(秒)(成交价时为0)",
  27021. "type": "integer"
  27022. },
  27023. "relatedgoodsid": {
  27024. "description": "关联参考商品ID",
  27025. "type": "integer"
  27026. },
  27027. "remark": {
  27028. "description": "备注",
  27029. "type": "string"
  27030. },
  27031. "trademode": {
  27032. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  27033. "type": "integer"
  27034. }
  27035. }
  27036. },
  27037. "models.ErmcpGoodsBrand": {
  27038. "type": "object",
  27039. "properties": {
  27040. "areauserid": {
  27041. "description": "所属机构",
  27042. "type": "integer"
  27043. },
  27044. "brandid": {
  27045. "description": "BrandID(SEQ_SPOTGOODSBRAND)",
  27046. "type": "integer"
  27047. },
  27048. "brandname": {
  27049. "description": "品牌名称",
  27050. "type": "string"
  27051. },
  27052. "createtime": {
  27053. "description": "创建时间",
  27054. "type": "string"
  27055. },
  27056. "creatorid": {
  27057. "description": "创建人",
  27058. "type": "integer"
  27059. },
  27060. "creatorsrc": {
  27061. "description": "创建人来源 - 1:管理端 2:终端",
  27062. "type": "integer"
  27063. },
  27064. "deliverygoodsid": {
  27065. "description": "现货品种ID",
  27066. "type": "integer"
  27067. },
  27068. "isvalid": {
  27069. "description": "是否有效 - 0:无效 1:有效",
  27070. "type": "integer"
  27071. },
  27072. "updatetime": {
  27073. "description": "更新时间",
  27074. "type": "string"
  27075. },
  27076. "updatorid": {
  27077. "description": "更新人",
  27078. "type": "integer"
  27079. },
  27080. "updatorsrc": {
  27081. "description": "更新人来源 - 1:管理端 2:终端",
  27082. "type": "integer"
  27083. },
  27084. "wrstandardid": {
  27085. "description": "现货商品ID",
  27086. "type": "integer"
  27087. }
  27088. }
  27089. },
  27090. "models.ErmcpGoodsModel": {
  27091. "type": "object",
  27092. "properties": {
  27093. "areauserid": {
  27094. "description": "所属机构",
  27095. "type": "integer"
  27096. },
  27097. "convertfactor": {
  27098. "description": "标仓系数",
  27099. "type": "number"
  27100. },
  27101. "createtime": {
  27102. "description": "创建时间",
  27103. "type": "string"
  27104. },
  27105. "creatorid": {
  27106. "description": "创建人",
  27107. "type": "integer"
  27108. },
  27109. "creatorsrc": {
  27110. "description": "创建人来源 - 1:管理端 2:终端",
  27111. "type": "integer"
  27112. },
  27113. "deliverygoodsid": {
  27114. "description": "现货品种ID",
  27115. "type": "integer"
  27116. },
  27117. "isvalid": {
  27118. "description": "是否有效 - 0:无效 1:有效",
  27119. "type": "integer"
  27120. },
  27121. "modelid": {
  27122. "description": "ModelID(SEQ_SPOTGOODSMODEL)",
  27123. "type": "integer"
  27124. },
  27125. "modelname": {
  27126. "description": "型号名称",
  27127. "type": "string"
  27128. },
  27129. "updatetime": {
  27130. "description": "更新时间",
  27131. "type": "string"
  27132. },
  27133. "updatorid": {
  27134. "description": "更新人",
  27135. "type": "integer"
  27136. },
  27137. "updatorsrc": {
  27138. "description": "更新人来源 - 1:管理端 2:终端",
  27139. "type": "integer"
  27140. },
  27141. "wrstandardid": {
  27142. "description": "现货商品ID",
  27143. "type": "integer"
  27144. }
  27145. }
  27146. },
  27147. "models.ErmcpHisExposure": {
  27148. "type": "object",
  27149. "properties": {
  27150. "needhedgeexposoure": {
  27151. "description": "应套保敞口",
  27152. "type": "number"
  27153. },
  27154. "reckondate": {
  27155. "description": "日照时期(yyyyMMdd)",
  27156. "type": "string"
  27157. },
  27158. "totalexposure": {
  27159. "description": "总敞口",
  27160. "type": "number"
  27161. }
  27162. }
  27163. },
  27164. "models.ErmcpLoginTaAccount": {
  27165. "type": "object",
  27166. "properties": {
  27167. "accountid": {
  27168. "description": "账号id",
  27169. "type": "integer"
  27170. },
  27171. "accountname": {
  27172. "description": "账号名称",
  27173. "type": "string"
  27174. }
  27175. }
  27176. },
  27177. "models.ErmcpLoginUser": {
  27178. "type": "object",
  27179. "properties": {
  27180. "acclist": {
  27181. "description": "关联资金账号",
  27182. "type": "array",
  27183. "items": {
  27184. "$ref": "#/definitions/models.ErmcpLoginTaAccount"
  27185. }
  27186. },
  27187. "accountname": {
  27188. "description": "用户名称",
  27189. "type": "string"
  27190. },
  27191. "clientroleid": {
  27192. "description": "角色id(usertype=2)",
  27193. "type": "integer"
  27194. },
  27195. "createtime": {
  27196. "description": "创建时间",
  27197. "type": "string"
  27198. },
  27199. "logincode": {
  27200. "description": "登录代码",
  27201. "type": "string"
  27202. },
  27203. "loginid": {
  27204. "description": "登录id(LOGINID)",
  27205. "type": "integer"
  27206. },
  27207. "loginname": {
  27208. "description": "登录名称(loginaccount表中的accountname字段)",
  27209. "type": "string"
  27210. },
  27211. "loginstatus": {
  27212. "description": "登录账户状态 - 1:正常 2:冻结 3:无效",
  27213. "type": "integer"
  27214. },
  27215. "memberuserid": {
  27216. "description": "所属会员id",
  27217. "type": "integer"
  27218. },
  27219. "mobile": {
  27220. "description": "手机号",
  27221. "type": "string"
  27222. },
  27223. "modifytime": {
  27224. "description": "修改时间",
  27225. "type": "string"
  27226. },
  27227. "password": {
  27228. "description": "密码(不可解密)",
  27229. "type": "string"
  27230. },
  27231. "rolename": {
  27232. "description": "角色名称",
  27233. "type": "string"
  27234. },
  27235. "rolestatus": {
  27236. "description": "角色状态 1-启用 2-停用",
  27237. "type": "integer"
  27238. },
  27239. "roletype": {
  27240. "description": "角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员",
  27241. "type": "string"
  27242. },
  27243. "userid": {
  27244. "description": "用户id",
  27245. "type": "integer"
  27246. },
  27247. "usertype": {
  27248. "description": "用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  27249. "type": "integer"
  27250. }
  27251. }
  27252. },
  27253. "models.ErmcpLoginUserEx": {
  27254. "type": "object",
  27255. "properties": {
  27256. "accountstatus": {
  27257. "description": "账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  27258. "type": "integer"
  27259. },
  27260. "mobile": {
  27261. "description": "手机号",
  27262. "type": "string"
  27263. },
  27264. "querytype": {
  27265. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  27266. "type": "integer"
  27267. },
  27268. "roleid": {
  27269. "description": "角色id(交易账户-\u003e用户id)",
  27270. "type": "integer"
  27271. },
  27272. "rolename": {
  27273. "description": "角色名称(交易账户-\u003e用户名称)",
  27274. "type": "string"
  27275. },
  27276. "userlist": {
  27277. "description": "用户列表",
  27278. "type": "array",
  27279. "items": {
  27280. "$ref": "#/definitions/models.ErmcpLoginUser"
  27281. }
  27282. },
  27283. "usertype": {
  27284. "description": "用户类型 2-机构 7-企业成员(云平台)",
  27285. "type": "integer"
  27286. }
  27287. }
  27288. },
  27289. "models.ErmcpMiddleGoodsModel": {
  27290. "type": "object",
  27291. "properties": {
  27292. "areauserid": {
  27293. "description": "机构用户ID",
  27294. "type": "integer"
  27295. },
  27296. "createtime": {
  27297. "description": "修改时间",
  27298. "type": "string"
  27299. },
  27300. "enumdicname": {
  27301. "description": "单位名称",
  27302. "type": "string"
  27303. },
  27304. "evaluateratio": {
  27305. "description": "估价系数",
  27306. "type": "number"
  27307. },
  27308. "goodsgroupid": {
  27309. "description": "关联期货品种ID",
  27310. "type": "integer"
  27311. },
  27312. "goodsunitid": {
  27313. "description": "单位ID",
  27314. "type": "integer"
  27315. },
  27316. "isvalid": {
  27317. "description": "状态 0-无效(停用) 1-有效(正常)",
  27318. "type": "integer"
  27319. },
  27320. "middlegoodscode": {
  27321. "description": "套保品种代码",
  27322. "type": "string"
  27323. },
  27324. "middlegoodsid": {
  27325. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  27326. "type": "integer"
  27327. },
  27328. "middlegoodsname": {
  27329. "description": "套保品种名称",
  27330. "type": "string"
  27331. },
  27332. "modifytime": {
  27333. "description": "修改时间",
  27334. "type": "string"
  27335. },
  27336. "needarbitrageratio": {
  27337. "description": "套利比例",
  27338. "type": "number"
  27339. },
  27340. "needhedgeratio": {
  27341. "description": "套保比率",
  27342. "type": "number"
  27343. },
  27344. "qtydecimalplace": {
  27345. "description": "数量小数位",
  27346. "type": "integer"
  27347. },
  27348. "relatedgoodsid": {
  27349. "description": "关联交易商品ID",
  27350. "type": "integer"
  27351. },
  27352. "relatedgoodstype": {
  27353. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  27354. "type": "integer"
  27355. },
  27356. "remark": {
  27357. "description": "备注",
  27358. "type": "string"
  27359. }
  27360. }
  27361. },
  27362. "models.ErmcpMiddlegoodsRelateGoods": {
  27363. "type": "object",
  27364. "properties": {
  27365. "agreeunit": {
  27366. "description": "合约乘数",
  27367. "type": "number"
  27368. },
  27369. "convertratio": {
  27370. "description": "折算系数",
  27371. "type": "number"
  27372. },
  27373. "enumdicname": {
  27374. "description": "单位名称(交易商品)",
  27375. "type": "string"
  27376. },
  27377. "goodscode": {
  27378. "description": "交易商品代码",
  27379. "type": "string"
  27380. },
  27381. "goodsgroupid": {
  27382. "description": "交易品种id",
  27383. "type": "integer"
  27384. },
  27385. "goodsid": {
  27386. "description": "商品Id",
  27387. "type": "integer"
  27388. },
  27389. "goodsname": {
  27390. "description": "交易商品名称",
  27391. "type": "string"
  27392. },
  27393. "goodunitid": {
  27394. "description": "交易商品单位id",
  27395. "type": "integer"
  27396. },
  27397. "middlegoodsid": {
  27398. "description": "套保商品id",
  27399. "type": "integer"
  27400. },
  27401. "middlegoodsname": {
  27402. "description": "套保商品名称",
  27403. "type": "string"
  27404. },
  27405. "middlegoodsswcode": {
  27406. "description": "套保商品代码",
  27407. "type": "string"
  27408. },
  27409. "needarbitrageratio": {
  27410. "description": "应套利比例",
  27411. "type": "number"
  27412. },
  27413. "needhedgeratio": {
  27414. "description": "应套保比例",
  27415. "type": "number"
  27416. }
  27417. }
  27418. },
  27419. "models.ErmcpRole": {
  27420. "type": "object",
  27421. "properties": {
  27422. "areauserid": {
  27423. "description": "所属机构",
  27424. "type": "integer"
  27425. },
  27426. "autoid": {
  27427. "description": "角色ID(自增ID)",
  27428. "type": "integer"
  27429. },
  27430. "modifierid": {
  27431. "description": "修改人(创建人)",
  27432. "type": "integer"
  27433. },
  27434. "modifiername": {
  27435. "description": "修改人名称",
  27436. "type": "string"
  27437. },
  27438. "modifytime": {
  27439. "description": "修改时间(创建时间)",
  27440. "type": "string"
  27441. },
  27442. "rolename": {
  27443. "description": "角色名称",
  27444. "type": "string"
  27445. },
  27446. "rolestatus": {
  27447. "description": "角色状态 - 1:启用 2:停用",
  27448. "type": "integer"
  27449. },
  27450. "roletype": {
  27451. "description": "角色类型 - 1- 管理端 2- 交易端",
  27452. "type": "integer"
  27453. }
  27454. }
  27455. },
  27456. "models.ErmcpRoleMenu": {
  27457. "type": "object",
  27458. "properties": {
  27459. "iconame": {
  27460. "description": "菜单图标",
  27461. "type": "string"
  27462. },
  27463. "ishadrole": {
  27464. "description": "是否有权限",
  27465. "type": "boolean"
  27466. },
  27467. "menutype": {
  27468. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 5:PCWEB(v6)",
  27469. "type": "integer"
  27470. },
  27471. "parentcode": {
  27472. "description": "上级资源代码",
  27473. "type": "string"
  27474. },
  27475. "remark": {
  27476. "description": "菜单备注",
  27477. "type": "string"
  27478. },
  27479. "resourcecode": {
  27480. "description": "菜单代码",
  27481. "type": "string"
  27482. },
  27483. "resourcelevel": {
  27484. "description": "级别",
  27485. "type": "integer"
  27486. },
  27487. "resourcename": {
  27488. "description": "菜单名称",
  27489. "type": "string"
  27490. },
  27491. "roleid": {
  27492. "description": "角色id",
  27493. "type": "integer"
  27494. },
  27495. "sort": {
  27496. "description": "排序",
  27497. "type": "integer"
  27498. },
  27499. "url": {
  27500. "description": "URL",
  27501. "type": "string"
  27502. },
  27503. "userid": {
  27504. "description": "用户id",
  27505. "type": "integer"
  27506. }
  27507. }
  27508. },
  27509. "models.ErmcpRoleMenuEx": {
  27510. "type": "object",
  27511. "properties": {
  27512. "menu": {
  27513. "description": "父级菜单",
  27514. "$ref": "#/definitions/models.ErmcpRoleMenu"
  27515. },
  27516. "subMenu": {
  27517. "description": "子级菜单",
  27518. "type": "array",
  27519. "items": {
  27520. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  27521. }
  27522. }
  27523. }
  27524. },
  27525. "models.ErmcpSpotContractModelEx": {
  27526. "type": "object",
  27527. "properties": {
  27528. "accountname": {
  27529. "description": "套期主体",
  27530. "type": "string"
  27531. },
  27532. "amount": {
  27533. "description": "金额 [1:一口价、3:暂定价]",
  27534. "type": "number"
  27535. },
  27536. "attachment": {
  27537. "description": "附件",
  27538. "type": "string"
  27539. },
  27540. "auditremark": {
  27541. "description": "审核意见",
  27542. "type": "string"
  27543. },
  27544. "audittime": {
  27545. "description": "审核时间",
  27546. "type": "string"
  27547. },
  27548. "avgprice": {
  27549. "description": "定价均价 = 已定价金额 / 已定价量",
  27550. "type": "number"
  27551. },
  27552. "brandname": {
  27553. "description": "品牌名称",
  27554. "type": "string"
  27555. },
  27556. "buyuserid": {
  27557. "description": "采购方ID",
  27558. "type": "integer"
  27559. },
  27560. "buyusername": {
  27561. "description": "采购方名称",
  27562. "type": "string"
  27563. },
  27564. "contracctstatus": {
  27565. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  27566. "type": "integer"
  27567. },
  27568. "contractmargin": {
  27569. "description": "合同保证金",
  27570. "type": "number"
  27571. },
  27572. "contractno": {
  27573. "description": "[合同编号]现货合同编号",
  27574. "type": "string"
  27575. },
  27576. "contracttype": {
  27577. "description": "[合同类型]现货合同类型 - 1:采购 -1:销售",
  27578. "type": "integer"
  27579. },
  27580. "convertfactor": {
  27581. "description": "标仓系数",
  27582. "type": "number"
  27583. },
  27584. "createtime": {
  27585. "description": "创建时间",
  27586. "type": "string"
  27587. },
  27588. "customername": {
  27589. "description": "对手方",
  27590. "type": "string"
  27591. },
  27592. "customeruserid": {
  27593. "description": "客户ID",
  27594. "type": "integer"
  27595. },
  27596. "deliveryenddate": {
  27597. "description": "交收期(结束)",
  27598. "type": "string"
  27599. },
  27600. "deliverygoodscode": {
  27601. "description": "现货品种代码",
  27602. "type": "string"
  27603. },
  27604. "deliverygoodsid": {
  27605. "description": "现货品种ID",
  27606. "type": "integer"
  27607. },
  27608. "deliverygoodsname": {
  27609. "description": "现货品种名称",
  27610. "type": "string"
  27611. },
  27612. "deliverystartdate": {
  27613. "description": "交收期(开始)",
  27614. "type": "string"
  27615. },
  27616. "enddate": {
  27617. "description": "点价结束日期 [2:点价 3:暂定价]",
  27618. "type": "string"
  27619. },
  27620. "enumdicname": {
  27621. "description": "单位名称",
  27622. "type": "string"
  27623. },
  27624. "goodscode": {
  27625. "description": "点价合约代码",
  27626. "type": "string"
  27627. },
  27628. "goodsid": {
  27629. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  27630. "type": "integer"
  27631. },
  27632. "goodsname": {
  27633. "description": "点价商品名称",
  27634. "type": "string"
  27635. },
  27636. "isrelated": {
  27637. "description": "是否已关联计划项目 - 0:否 1:是",
  27638. "type": "integer"
  27639. },
  27640. "isrelated2": {
  27641. "description": "是否已关联现货项目 - 0:否 1:是",
  27642. "type": "integer"
  27643. },
  27644. "margin": {
  27645. "description": "当前保证金",
  27646. "type": "number"
  27647. },
  27648. "modelname": {
  27649. "description": "型号名称",
  27650. "type": "string"
  27651. },
  27652. "price": {
  27653. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  27654. "type": "number"
  27655. },
  27656. "pricedamount": {
  27657. "description": "已定价金额 = (点价价格+升贴水) * 数量",
  27658. "type": "number"
  27659. },
  27660. "pricedqty": {
  27661. "description": "已定价量",
  27662. "type": "number"
  27663. },
  27664. "pricemove": {
  27665. "description": "升贴水 [2:点价 3:暂定价]",
  27666. "type": "number"
  27667. },
  27668. "pricetype": {
  27669. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  27670. "type": "integer"
  27671. },
  27672. "producttype": {
  27673. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  27674. "type": "integer"
  27675. },
  27676. "qty": {
  27677. "description": "[合同数量]数量",
  27678. "type": "number"
  27679. },
  27680. "remark": {
  27681. "description": "备注",
  27682. "type": "string"
  27683. },
  27684. "selluserid": {
  27685. "description": "销售方ID",
  27686. "type": "integer"
  27687. },
  27688. "sellusername": {
  27689. "description": "销售方名称",
  27690. "type": "string"
  27691. },
  27692. "spotamount": {
  27693. "description": "合同现货金额 [不含升贴水]",
  27694. "type": "number"
  27695. },
  27696. "spotavgprice": {
  27697. "description": "现货均价 = 合同现货金额 / 已定价量",
  27698. "type": "number"
  27699. },
  27700. "spotcontractid": {
  27701. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  27702. "type": "string"
  27703. },
  27704. "spotgoodsbrandid": {
  27705. "description": "现货品牌ID",
  27706. "type": "integer"
  27707. },
  27708. "spotgoodsdesc": {
  27709. "description": "商品型号",
  27710. "type": "string"
  27711. },
  27712. "spotgoodsmodelid": {
  27713. "description": "现货型号ID",
  27714. "type": "integer"
  27715. },
  27716. "startdate": {
  27717. "description": "点价开始日期 [2:点价 3:暂定价]",
  27718. "type": "string"
  27719. },
  27720. "tradeuserid": {
  27721. "description": "交易用户ID",
  27722. "type": "integer"
  27723. },
  27724. "unpricedqty": {
  27725. "description": "未定价量 = 合同数量 - 已定价量",
  27726. "type": "number"
  27727. },
  27728. "updatetime": {
  27729. "description": "更新时间",
  27730. "type": "string"
  27731. },
  27732. "userid": {
  27733. "description": "机构ID",
  27734. "type": "integer"
  27735. },
  27736. "wrstandardcode": {
  27737. "description": "现货商品代码",
  27738. "type": "string"
  27739. },
  27740. "wrstandardid": {
  27741. "description": "现货商品ID",
  27742. "type": "integer"
  27743. },
  27744. "wrstandardname": {
  27745. "description": "[现货商品]现货商品名称",
  27746. "type": "string"
  27747. }
  27748. }
  27749. },
  27750. "models.ErmcpTaAccount": {
  27751. "type": "object",
  27752. "properties": {
  27753. "accountid": {
  27754. "description": "账户id",
  27755. "type": "integer"
  27756. },
  27757. "accountname": {
  27758. "description": "账户名称",
  27759. "type": "string"
  27760. },
  27761. "currencyid": {
  27762. "description": "币种id",
  27763. "type": "integer"
  27764. },
  27765. "hedgeaccountcode": {
  27766. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  27767. "type": "string"
  27768. },
  27769. "ismain": {
  27770. "description": "是否主账户 0-否 1-是",
  27771. "type": "integer"
  27772. },
  27773. "parentaccountid": {
  27774. "description": "父账户id",
  27775. "type": "integer"
  27776. },
  27777. "relateduserid": {
  27778. "description": "关联userid",
  27779. "type": "integer"
  27780. },
  27781. "tradefeetmpid": {
  27782. "description": "手续费模板id",
  27783. "type": "integer"
  27784. },
  27785. "tradefeetmpname": {
  27786. "description": "手续费模板名称",
  27787. "type": "string"
  27788. },
  27789. "trademargintmpid": {
  27790. "description": "保证金模板id",
  27791. "type": "integer"
  27792. },
  27793. "trademargintmpname": {
  27794. "description": "保证金模板名称",
  27795. "type": "string"
  27796. },
  27797. "traderatetmpid": {
  27798. "description": "汇率模板id",
  27799. "type": "integer"
  27800. },
  27801. "traderatetmpname": {
  27802. "description": "汇率模板名称",
  27803. "type": "string"
  27804. },
  27805. "tradestatus": {
  27806. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  27807. "type": "integer"
  27808. },
  27809. "userid": {
  27810. "description": "用户id",
  27811. "type": "integer"
  27812. }
  27813. }
  27814. },
  27815. "models.ErmcpTaAccountEx": {
  27816. "type": "object",
  27817. "properties": {
  27818. "mainAcc": {
  27819. "description": "主账号",
  27820. "$ref": "#/definitions/models.ErmcpTaAccountM"
  27821. },
  27822. "subacclist": {
  27823. "description": "子账号列表",
  27824. "type": "array",
  27825. "items": {
  27826. "$ref": "#/definitions/models.ErmcpTaAccount"
  27827. }
  27828. }
  27829. }
  27830. },
  27831. "models.ErmcpTaAccountInfo": {
  27832. "type": "object",
  27833. "properties": {
  27834. "accountid": {
  27835. "description": "资金账户ID",
  27836. "type": "integer"
  27837. },
  27838. "accountname": {
  27839. "description": "账户名称",
  27840. "type": "string"
  27841. },
  27842. "balance": {
  27843. "description": "期初余额",
  27844. "type": "number"
  27845. },
  27846. "capitalbalance": {
  27847. "description": "本金余额[外部子账户实际出入金余额]",
  27848. "type": "number"
  27849. },
  27850. "closepl": {
  27851. "description": "今日平仓盈亏",
  27852. "type": "number"
  27853. },
  27854. "creditdecrease": {
  27855. "description": "今日授信减少",
  27856. "type": "number"
  27857. },
  27858. "creditincrease": {
  27859. "description": "今日授信增加",
  27860. "type": "number"
  27861. },
  27862. "curdebt": {
  27863. "description": "期末欠款",
  27864. "type": "number"
  27865. },
  27866. "currencyid": {
  27867. "description": "货币ID",
  27868. "type": "integer"
  27869. },
  27870. "currentbalance": {
  27871. "description": "期末余额",
  27872. "type": "number"
  27873. },
  27874. "freezecharge": {
  27875. "description": "手续费冻结",
  27876. "type": "number"
  27877. },
  27878. "freezemargin": {
  27879. "description": "冻结保证金",
  27880. "type": "number"
  27881. },
  27882. "fromaccountid": {
  27883. "description": "所属上级账户",
  27884. "type": "integer"
  27885. },
  27886. "inamount": {
  27887. "description": "今日入金金额(包括三方入金)",
  27888. "type": "number"
  27889. },
  27890. "ismain": {
  27891. "description": "是否母账号 0:不是母账户 1:是母账户",
  27892. "type": "integer"
  27893. },
  27894. "mortgagecredit": {
  27895. "description": "授信金额",
  27896. "type": "number"
  27897. },
  27898. "oridebt": {
  27899. "description": "期初欠款",
  27900. "type": "number"
  27901. },
  27902. "orifreezecharge": {
  27903. "description": "期初手续费冻结",
  27904. "type": "number"
  27905. },
  27906. "orifreezemargin": {
  27907. "description": "期初冻结保证金",
  27908. "type": "number"
  27909. },
  27910. "orimortgagecredit": {
  27911. "description": "期初授信金额",
  27912. "type": "number"
  27913. },
  27914. "oriothercredit": {
  27915. "description": "期初其它授信金额",
  27916. "type": "number"
  27917. },
  27918. "oriotherfreezemargin": {
  27919. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  27920. "type": "number"
  27921. },
  27922. "orioutamountfreeze": {
  27923. "description": "期初出金冻结",
  27924. "type": "number"
  27925. },
  27926. "oriusedmargin": {
  27927. "description": "期初占用保证金",
  27928. "type": "number"
  27929. },
  27930. "othercredit": {
  27931. "description": "其它授信金额",
  27932. "type": "number"
  27933. },
  27934. "othercreditdecrease": {
  27935. "description": "今日其它授信减少",
  27936. "type": "number"
  27937. },
  27938. "othercreditincrease": {
  27939. "description": "今日其它授信增加",
  27940. "type": "number"
  27941. },
  27942. "otherfreezemargin": {
  27943. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  27944. "type": "number"
  27945. },
  27946. "outamount": {
  27947. "description": "今日出金金额(包括三方出金)",
  27948. "type": "number"
  27949. },
  27950. "outamountfreeze": {
  27951. "description": "出金冻结",
  27952. "type": "number"
  27953. },
  27954. "outthreshold": {
  27955. "description": "出金阈值",
  27956. "type": "number"
  27957. },
  27958. "parentaccountid": {
  27959. "description": "所属根账号",
  27960. "type": "integer"
  27961. },
  27962. "paycharge": {
  27963. "description": "今日手续费支出",
  27964. "type": "number"
  27965. },
  27966. "relateduserid": {
  27967. "description": "关联用户",
  27968. "type": "integer"
  27969. },
  27970. "signstatus": {
  27971. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  27972. "type": "integer"
  27973. },
  27974. "sublevelpath": {
  27975. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  27976. "type": "string"
  27977. },
  27978. "taaccounttype": {
  27979. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  27980. "type": "integer"
  27981. },
  27982. "thirdinamount": {
  27983. "description": "今日三方入金",
  27984. "type": "number"
  27985. },
  27986. "thirdoutamount": {
  27987. "description": "今日三方出金",
  27988. "type": "number"
  27989. },
  27990. "tradestatus": {
  27991. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  27992. "type": "integer"
  27993. },
  27994. "transferamount": {
  27995. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  27996. "type": "number"
  27997. },
  27998. "usedmargin": {
  27999. "description": "占用保证金",
  28000. "type": "number"
  28001. },
  28002. "userid": {
  28003. "description": "用户ID",
  28004. "type": "integer"
  28005. }
  28006. }
  28007. },
  28008. "models.ErmcpTaAccountM": {
  28009. "type": "object",
  28010. "properties": {
  28011. "accountid": {
  28012. "description": "账户id",
  28013. "type": "integer"
  28014. },
  28015. "accountname": {
  28016. "description": "账户名称",
  28017. "type": "string"
  28018. },
  28019. "currencyid": {
  28020. "description": "币种id",
  28021. "type": "integer"
  28022. },
  28023. "fcid": {
  28024. "description": "期货公司id",
  28025. "type": "integer"
  28026. },
  28027. "fcname": {
  28028. "description": "期货公司代码",
  28029. "type": "string"
  28030. },
  28031. "hedgeaccountcode": {
  28032. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  28033. "type": "string"
  28034. },
  28035. "ismain": {
  28036. "description": "是否主账户 0-否 1-是",
  28037. "type": "integer"
  28038. },
  28039. "parentaccountid": {
  28040. "description": "父账户id",
  28041. "type": "integer"
  28042. },
  28043. "relateduserid": {
  28044. "description": "关联userid",
  28045. "type": "integer"
  28046. },
  28047. "tradefeetmpid": {
  28048. "description": "手续费模板id",
  28049. "type": "integer"
  28050. },
  28051. "tradefeetmpname": {
  28052. "description": "手续费模板名称",
  28053. "type": "string"
  28054. },
  28055. "trademargintmpid": {
  28056. "description": "保证金模板id",
  28057. "type": "integer"
  28058. },
  28059. "trademargintmpname": {
  28060. "description": "保证金模板名称",
  28061. "type": "string"
  28062. },
  28063. "traderatetmpid": {
  28064. "description": "汇率模板id",
  28065. "type": "integer"
  28066. },
  28067. "traderatetmpname": {
  28068. "description": "汇率模板名称",
  28069. "type": "string"
  28070. },
  28071. "tradestatus": {
  28072. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  28073. "type": "integer"
  28074. },
  28075. "userid": {
  28076. "description": "用户id",
  28077. "type": "integer"
  28078. }
  28079. }
  28080. },
  28081. "models.ErmcpTradeConfigTMP": {
  28082. "type": "object",
  28083. "properties": {
  28084. "areauserid": {
  28085. "description": "所属机构",
  28086. "type": "integer"
  28087. },
  28088. "basiccurrencyid": {
  28089. "description": "基本币种ID[汇率] - 目标币种",
  28090. "type": "integer"
  28091. },
  28092. "mainaccountid": {
  28093. "description": "主账户ID",
  28094. "type": "integer"
  28095. },
  28096. "modifierid": {
  28097. "description": "修改人",
  28098. "type": "integer"
  28099. },
  28100. "remark": {
  28101. "description": "备注",
  28102. "type": "string"
  28103. },
  28104. "tradeconfigtmpid": {
  28105. "description": "交易配置模板ID(SEQ_TRADECONFIGTMP)",
  28106. "type": "integer"
  28107. },
  28108. "tradeconfigtmpname": {
  28109. "description": "交易配置模板名称",
  28110. "type": "string"
  28111. },
  28112. "tradeconfigtmptype": {
  28113. "description": "交易配置模板类型 - 1:保证金 2:手续费 3:汇率",
  28114. "type": "integer"
  28115. },
  28116. "updatetime": {
  28117. "description": "更新时间",
  28118. "type": "string"
  28119. }
  28120. }
  28121. },
  28122. "models.Ermcpjrlinkpos": {
  28123. "type": "object",
  28124. "required": [
  28125. "spotcontractid"
  28126. ],
  28127. "properties": {
  28128. "areauserid": {
  28129. "description": "所属企业",
  28130. "type": "integer"
  28131. },
  28132. "averageprice": {
  28133. "description": "持仓均价 (TotalBuyHoldAmount - TotalSellHoldAmount) / NetQty",
  28134. "type": "number"
  28135. },
  28136. "closepl": {
  28137. "description": "总平仓盈亏 [期货损益]",
  28138. "type": "number"
  28139. },
  28140. "executeprice": {
  28141. "description": "执行价 - 1:期货单 为 0",
  28142. "type": "integer"
  28143. },
  28144. "futurehedgeqty": {
  28145. "description": "期货套期量",
  28146. "type": "number"
  28147. },
  28148. "goodsid": {
  28149. "description": "期货合约",
  28150. "type": "integer"
  28151. },
  28152. "middlegoodscode": {
  28153. "description": "套保商品代码",
  28154. "type": "string"
  28155. },
  28156. "middlegoodsname": {
  28157. "description": "套保商品名称",
  28158. "type": "string"
  28159. },
  28160. "netqty": {
  28161. "description": "净头寸",
  28162. "type": "number"
  28163. },
  28164. "optioncode": {
  28165. "description": "期权代码",
  28166. "type": "string"
  28167. },
  28168. "ordertype": {
  28169. "description": "单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单",
  28170. "type": "integer"
  28171. },
  28172. "reckonpl": {
  28173. "description": "总盈亏(平仓盈亏 + 结算盈亏 - 手续费)",
  28174. "type": "number"
  28175. },
  28176. "spotcontractid": {
  28177. "description": "现货ID [套期项目ID - 金瑞:合同\\虚拟合同ID",
  28178. "type": "string"
  28179. },
  28180. "todayfutureclosepl": {
  28181. "description": "今日平仓盈亏",
  28182. "type": "number"
  28183. },
  28184. "totalbuyamount": {
  28185. "description": "买金额 [期货]",
  28186. "type": "number"
  28187. },
  28188. "totalbuyholdamount": {
  28189. "description": "买持仓总金额[期货]",
  28190. "type": "number"
  28191. },
  28192. "totalbuyqty": {
  28193. "description": "买数量",
  28194. "type": "number"
  28195. },
  28196. "totalcharge": {
  28197. "description": "手续费",
  28198. "type": "number"
  28199. },
  28200. "totalpremium": {
  28201. "description": "权利金 [期权]",
  28202. "type": "number"
  28203. },
  28204. "totalsellamount": {
  28205. "description": "卖金额 [期货]",
  28206. "type": "number"
  28207. },
  28208. "totalsellholdamount": {
  28209. "description": "卖持仓总金额[期货]",
  28210. "type": "number"
  28211. },
  28212. "totalsellqty": {
  28213. "description": "卖数量",
  28214. "type": "number"
  28215. },
  28216. "updatetime": {
  28217. "description": "更新时间",
  28218. "type": "string"
  28219. }
  28220. }
  28221. },
  28222. "models.Ermcppatradelinkdetail": {
  28223. "type": "object",
  28224. "required": [
  28225. "hedgeditemid"
  28226. ],
  28227. "properties": {
  28228. "agreeunit": {
  28229. "description": "合约乘数",
  28230. "type": "number"
  28231. },
  28232. "amount": {
  28233. "description": "金额 = RelatedLot * TradePrice * AgreeUnit",
  28234. "type": "number"
  28235. },
  28236. "areauserid": {
  28237. "description": "所属机构",
  28238. "type": "integer"
  28239. },
  28240. "bizsubjectid": {
  28241. "description": "归属业务部门ID - SubjectID",
  28242. "type": "integer"
  28243. },
  28244. "buyorsell": {
  28245. "description": "方向 - 0:买 1:卖",
  28246. "type": "integer"
  28247. },
  28248. "convertratio": {
  28249. "description": "品种系数",
  28250. "type": "number"
  28251. },
  28252. "createtime": {
  28253. "description": "创建时间",
  28254. "type": "string"
  28255. },
  28256. "creatorid": {
  28257. "description": "创建人ID",
  28258. "type": "integer"
  28259. },
  28260. "creatorsrc": {
  28261. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  28262. "type": "integer"
  28263. },
  28264. "goodsgroupid": {
  28265. "description": "对冲品种ID[期货合约商品组ID]",
  28266. "type": "integer"
  28267. },
  28268. "goodsid": {
  28269. "description": "商品ID",
  28270. "type": "integer"
  28271. },
  28272. "hedgeditemid": {
  28273. "description": "现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]",
  28274. "type": "integer"
  28275. },
  28276. "hedgeflag": {
  28277. "description": "投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目",
  28278. "type": "integer"
  28279. },
  28280. "linkdetailid": {
  28281. "description": "期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)",
  28282. "type": "string"
  28283. },
  28284. "linkstatus": {
  28285. "description": "关联状态 - 1:成功 2:失败 3:解绑",
  28286. "type": "integer"
  28287. },
  28288. "middlegoodsid": {
  28289. "description": "套保品种ID",
  28290. "type": "integer"
  28291. },
  28292. "name": {
  28293. "description": "账户名/子账户",
  28294. "type": "string"
  28295. },
  28296. "optioncode": {
  28297. "description": "[期货合约]期权代码 [期权]",
  28298. "type": "string"
  28299. },
  28300. "ordertype": {
  28301. "description": "单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单",
  28302. "type": "integer"
  28303. },
  28304. "relatedlot": {
  28305. "description": "[数量]关联手数",
  28306. "type": "number"
  28307. },
  28308. "relatedmode": {
  28309. "description": "关联方式 - 1:自动关联 2:手动关联 3:解绑关联",
  28310. "type": "integer"
  28311. },
  28312. "relatedqty": {
  28313. "description": "关联数量 = RelatedLot * AgreeUnit * ConvertRatio",
  28314. "type": "number"
  28315. },
  28316. "retcode": {
  28317. "description": "返回码",
  28318. "type": "integer"
  28319. },
  28320. "saleuserid": {
  28321. "description": "业务员ID",
  28322. "type": "integer"
  28323. },
  28324. "tradedate": {
  28325. "description": "关联交易日(yyyyMMdd)",
  28326. "type": "string"
  28327. },
  28328. "tradeid": {
  28329. "description": "[成交单号]内部成交单ID",
  28330. "type": "string"
  28331. },
  28332. "tradelot": {
  28333. "description": "成交手数",
  28334. "type": "integer"
  28335. },
  28336. "tradeprice": {
  28337. "description": "[价格]成交价格",
  28338. "type": "number"
  28339. },
  28340. "tradetime": {
  28341. "description": "日期时间",
  28342. "type": "string"
  28343. },
  28344. "tradetradedate": {
  28345. "description": "成交交易日(yyyyMMdd)",
  28346. "type": "string"
  28347. }
  28348. }
  28349. },
  28350. "models.Externalexchange": {
  28351. "type": "object",
  28352. "required": [
  28353. "autoid"
  28354. ],
  28355. "properties": {
  28356. "autoid": {
  28357. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  28358. "type": "integer"
  28359. },
  28360. "exchangefullname": {
  28361. "description": "外部交易所全称",
  28362. "type": "string"
  28363. },
  28364. "exexchangecode": {
  28365. "description": "外部交易所代码",
  28366. "type": "string"
  28367. },
  28368. "exexchangename": {
  28369. "description": "外部交易所名称(简称)",
  28370. "type": "string"
  28371. },
  28372. "ismarketprice": {
  28373. "description": "是否支持市价 - 0:不支持 1:支持",
  28374. "type": "integer"
  28375. },
  28376. "quotegear": {
  28377. "description": "行情档位(1-10)",
  28378. "type": "integer"
  28379. },
  28380. "showbrokerflag": {
  28381. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  28382. "type": "integer"
  28383. },
  28384. "updatetime": {
  28385. "description": "更新时间",
  28386. "type": "string"
  28387. }
  28388. }
  28389. },
  28390. "models.Funcmenulist": {
  28391. "type": "object",
  28392. "required": [
  28393. "resourcecode"
  28394. ],
  28395. "properties": {
  28396. "iconame": {
  28397. "description": "菜单图标",
  28398. "type": "string"
  28399. },
  28400. "menutype": {
  28401. "description": "菜单类型 1-管理端 2-交易端 3-终端权限",
  28402. "type": "integer"
  28403. },
  28404. "parentcode": {
  28405. "description": "上级资源代码",
  28406. "type": "string"
  28407. },
  28408. "remark": {
  28409. "description": "备注",
  28410. "type": "string"
  28411. },
  28412. "resourcecode": {
  28413. "description": "资源代码",
  28414. "type": "string"
  28415. },
  28416. "resourcelevel": {
  28417. "description": "级别 1-一级 2-二级 3-三级 4-四级",
  28418. "type": "integer"
  28419. },
  28420. "resourcename": {
  28421. "description": "资源名",
  28422. "type": "string"
  28423. },
  28424. "sort": {
  28425. "description": "排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序",
  28426. "type": "integer"
  28427. },
  28428. "url": {
  28429. "description": "URL",
  28430. "type": "string"
  28431. }
  28432. }
  28433. },
  28434. "models.Goods": {
  28435. "type": "object",
  28436. "required": [
  28437. "goodscode",
  28438. "goodsid",
  28439. "goodsname",
  28440. "marketid"
  28441. ],
  28442. "properties": {
  28443. "agreeunit": {
  28444. "description": "合约单位",
  28445. "type": "number"
  28446. },
  28447. "areauserid": {
  28448. "description": "所属机构",
  28449. "type": "integer"
  28450. },
  28451. "auditaccountid": {
  28452. "description": "审核操作员账号",
  28453. "type": "integer"
  28454. },
  28455. "audittime": {
  28456. "description": "审核时间",
  28457. "type": "string"
  28458. },
  28459. "cancelaccountid": {
  28460. "description": "注销操作员账号",
  28461. "type": "integer"
  28462. },
  28463. "canceltime": {
  28464. "description": "注销时间",
  28465. "type": "string"
  28466. },
  28467. "closepricemode": {
  28468. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  28469. "type": "integer"
  28470. },
  28471. "closepriceparam": {
  28472. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  28473. "type": "number"
  28474. },
  28475. "createtime": {
  28476. "description": "创建时间",
  28477. "type": "string"
  28478. },
  28479. "creatorid": {
  28480. "description": "创建人",
  28481. "type": "integer"
  28482. },
  28483. "currencyid": {
  28484. "description": "报价货币ID",
  28485. "type": "integer"
  28486. },
  28487. "cutmode": {
  28488. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  28489. "type": "integer"
  28490. },
  28491. "decimalplace": {
  28492. "description": "报价小数位",
  28493. "type": "integer"
  28494. },
  28495. "delistingdate": {
  28496. "description": "商品退市时间(状态:退市) -- 已作废",
  28497. "type": "string"
  28498. },
  28499. "delistingmode": {
  28500. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  28501. "type": "integer"
  28502. },
  28503. "deliveryflag": {
  28504. "description": "交割标志 - 0:不可交割 1:可交割",
  28505. "type": "integer"
  28506. },
  28507. "forceclosemode": {
  28508. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  28509. "type": "integer"
  28510. },
  28511. "forceclosevalue": {
  28512. "description": "定期强平参数 [收益权]",
  28513. "type": "integer"
  28514. },
  28515. "goodscode": {
  28516. "description": "商品代码(内部)",
  28517. "type": "string"
  28518. },
  28519. "goodscurrencyid": {
  28520. "description": "合约货币ID",
  28521. "type": "integer"
  28522. },
  28523. "goodsgroupid": {
  28524. "description": "所属商品组ID",
  28525. "type": "integer"
  28526. },
  28527. "goodsid": {
  28528. "description": "商品ID(自增ID SEQ_GOODS)",
  28529. "type": "integer"
  28530. },
  28531. "goodsname": {
  28532. "description": "商品名称",
  28533. "type": "string"
  28534. },
  28535. "goodsquotetype": {
  28536. "description": "合约报价类型: 1-直接报价 2-间接报价",
  28537. "type": "integer"
  28538. },
  28539. "goodsstatus": {
  28540. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  28541. "type": "integer"
  28542. },
  28543. "goodstradetype": {
  28544. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  28545. "type": "integer"
  28546. },
  28547. "goodunitid": {
  28548. "description": "报价单位ID",
  28549. "type": "integer"
  28550. },
  28551. "hasquoter": {
  28552. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  28553. "type": "integer"
  28554. },
  28555. "hqprotecttime": {
  28556. "description": "行情保护时间(秒)",
  28557. "type": "integer"
  28558. },
  28559. "innerdealmode": {
  28560. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  28561. "type": "integer"
  28562. },
  28563. "isbuylimited": {
  28564. "description": "是否限制建仓量 - 0:不限制 1:限制",
  28565. "type": "integer"
  28566. },
  28567. "isvisible": {
  28568. "description": "游客是否可见 - 0:不可见 1:可见",
  28569. "type": "integer"
  28570. },
  28571. "lasttradedate": {
  28572. "description": "最后交易日期(状态:待退市)",
  28573. "type": "string"
  28574. },
  28575. "listingdate": {
  28576. "description": "交易开始日期",
  28577. "type": "string"
  28578. },
  28579. "marketid": {
  28580. "description": "所属市场ID",
  28581. "type": "integer"
  28582. },
  28583. "modifierid": {
  28584. "description": "修改人",
  28585. "type": "integer"
  28586. },
  28587. "modifystatus": {
  28588. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  28589. "type": "integer"
  28590. },
  28591. "modifytime": {
  28592. "description": "修改时间",
  28593. "type": "string"
  28594. },
  28595. "outerdealmode": {
  28596. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  28597. "type": "integer"
  28598. },
  28599. "outgoodscode": {
  28600. "description": "商品代码(外部)",
  28601. "type": "string"
  28602. },
  28603. "pictureurl": {
  28604. "description": "商品图片",
  28605. "type": "string"
  28606. },
  28607. "qtydecimalplace": {
  28608. "description": "成交量小数位",
  28609. "type": "integer"
  28610. },
  28611. "quotegear": {
  28612. "description": "行情档位(1-10)",
  28613. "type": "integer"
  28614. },
  28615. "quoteminunit": {
  28616. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  28617. "type": "integer"
  28618. },
  28619. "quoteshowtype": {
  28620. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  28621. "type": "integer"
  28622. },
  28623. "quoteshowtypeinterval": {
  28624. "description": "行情报价间隔时间(秒)(成交价时为0)",
  28625. "type": "integer"
  28626. },
  28627. "remark": {
  28628. "description": "备注",
  28629. "type": "string"
  28630. }
  28631. }
  28632. },
  28633. "models.GoodsIDAndName": {
  28634. "type": "object",
  28635. "required": [
  28636. "goodscode",
  28637. "goodsid",
  28638. "goodsname",
  28639. "marketid"
  28640. ],
  28641. "properties": {
  28642. "goodscode": {
  28643. "description": "商品代码(内部)",
  28644. "type": "string"
  28645. },
  28646. "goodsid": {
  28647. "description": "商品ID(自增ID SEQ_GOODS)",
  28648. "type": "integer"
  28649. },
  28650. "goodsname": {
  28651. "description": "商品名称",
  28652. "type": "string"
  28653. },
  28654. "marketid": {
  28655. "description": "所属市场ID",
  28656. "type": "integer"
  28657. }
  28658. }
  28659. },
  28660. "models.Goodsgroup": {
  28661. "type": "object",
  28662. "required": [
  28663. "goodsgroupid",
  28664. "goodsgroupname",
  28665. "goodsgroupstatus",
  28666. "marketid"
  28667. ],
  28668. "properties": {
  28669. "agreeunit": {
  28670. "description": "合约单位",
  28671. "type": "number"
  28672. },
  28673. "canshort": {
  28674. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  28675. "type": "integer"
  28676. },
  28677. "closepricemode": {
  28678. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  28679. "type": "integer"
  28680. },
  28681. "closepriceparam": {
  28682. "description": "强平最新价浮动比例 - 方式为2时使用",
  28683. "type": "number"
  28684. },
  28685. "createtime": {
  28686. "description": "创建时间",
  28687. "type": "string"
  28688. },
  28689. "creatorid": {
  28690. "description": "创建人",
  28691. "type": "integer"
  28692. },
  28693. "currencyid": {
  28694. "description": "报价货币ID",
  28695. "type": "integer"
  28696. },
  28697. "decimalplace": {
  28698. "description": "报价小数位",
  28699. "type": "integer"
  28700. },
  28701. "exercisetype": {
  28702. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  28703. "type": "integer"
  28704. },
  28705. "exexchangeid": {
  28706. "description": "外部交易所ID[通道交易]",
  28707. "type": "integer"
  28708. },
  28709. "goodsgroupid": {
  28710. "description": "商品组ID(自增ID)",
  28711. "type": "integer"
  28712. },
  28713. "goodsgroupname": {
  28714. "description": "商品组名称",
  28715. "type": "string"
  28716. },
  28717. "goodsgroupstatus": {
  28718. "description": "商品组状态 - 1:正常 2:注销",
  28719. "type": "integer"
  28720. },
  28721. "goodunitid": {
  28722. "description": "报价单位ID",
  28723. "type": "integer"
  28724. },
  28725. "innerdealmode": {
  28726. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  28727. "type": "integer"
  28728. },
  28729. "isbuylimited": {
  28730. "description": "是否限制建仓量 - 0:不限制 1:限制",
  28731. "type": "integer"
  28732. },
  28733. "marketid": {
  28734. "description": "所属市场ID",
  28735. "type": "integer"
  28736. },
  28737. "modifierid": {
  28738. "description": "修改人",
  28739. "type": "integer"
  28740. },
  28741. "modifytime": {
  28742. "description": "修改时间",
  28743. "type": "string"
  28744. },
  28745. "outerdealmode": {
  28746. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  28747. "type": "integer"
  28748. },
  28749. "outergroupcode": {
  28750. "description": "外部商品组代码[通道交易]",
  28751. "type": "string"
  28752. },
  28753. "premiumdecimalplace": {
  28754. "description": "权利金小数位[场外期权]",
  28755. "type": "integer"
  28756. },
  28757. "premiumspreadalgorithm": {
  28758. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  28759. "type": "integer"
  28760. },
  28761. "premiumspreadvalue": {
  28762. "description": "权利金点差值[场外期权]",
  28763. "type": "number"
  28764. },
  28765. "qtydecimalplace": {
  28766. "description": "成交量小数位",
  28767. "type": "integer"
  28768. },
  28769. "quotegear": {
  28770. "description": "行情档位(1-10)",
  28771. "type": "integer"
  28772. },
  28773. "quoteminunit": {
  28774. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  28775. "type": "integer"
  28776. },
  28777. "quoterid": {
  28778. "description": "报价商ID[场外期权]",
  28779. "type": "integer"
  28780. },
  28781. "quotesourcegroupid": {
  28782. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  28783. "type": "integer"
  28784. },
  28785. "syncgoodsqty": {
  28786. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  28787. "type": "integer"
  28788. }
  28789. }
  28790. },
  28791. "models.Goodssortbypreposition": {
  28792. "type": "object",
  28793. "required": [
  28794. "goodscode",
  28795. "tradedate"
  28796. ],
  28797. "properties": {
  28798. "goodscode": {
  28799. "description": "合约代码 - 易盛接口:合约代码=品种代码+合约代码",
  28800. "type": "string"
  28801. },
  28802. "goodsgroupcode": {
  28803. "description": "品种代码",
  28804. "type": "string"
  28805. },
  28806. "prepositionqty": {
  28807. "description": "昨持仓量",
  28808. "type": "integer"
  28809. },
  28810. "sortindex": {
  28811. "description": "排序",
  28812. "type": "integer"
  28813. },
  28814. "tradedate": {
  28815. "description": "交易日",
  28816. "type": "string"
  28817. },
  28818. "updatetime": {
  28819. "description": "更新时间",
  28820. "type": "string"
  28821. }
  28822. }
  28823. },
  28824. "models.Hedgeinnerholderdetail": {
  28825. "type": "object",
  28826. "required": [
  28827. "buyorsell",
  28828. "tradeid"
  28829. ],
  28830. "properties": {
  28831. "accountid": {
  28832. "description": "账号ID",
  28833. "type": "integer"
  28834. },
  28835. "buyorsell": {
  28836. "description": "方向 - 0:买 1:卖",
  28837. "type": "integer"
  28838. },
  28839. "freezeqty": {
  28840. "description": "冻结数量 - 按单平使用",
  28841. "type": "integer"
  28842. },
  28843. "goodsid": {
  28844. "description": "商品ID",
  28845. "type": "integer"
  28846. },
  28847. "holderamount": {
  28848. "description": "持仓金额 [商品币种]",
  28849. "type": "number"
  28850. },
  28851. "holderdays": {
  28852. "description": "剩余冻结天数",
  28853. "type": "integer"
  28854. },
  28855. "holderprice": {
  28856. "description": "持仓价格",
  28857. "type": "number"
  28858. },
  28859. "holderqty": {
  28860. "description": "持仓数量",
  28861. "type": "integer"
  28862. },
  28863. "marketid": {
  28864. "description": "市场ID",
  28865. "type": "integer"
  28866. },
  28867. "openprice": {
  28868. "description": "建仓价格",
  28869. "type": "number"
  28870. },
  28871. "openqty": {
  28872. "description": "建仓数量",
  28873. "type": "integer"
  28874. },
  28875. "parentaccountid": {
  28876. "description": "所属母账户",
  28877. "type": "integer"
  28878. },
  28879. "releaseamount": {
  28880. "description": "释放持仓金额[商品币种]",
  28881. "type": "number"
  28882. },
  28883. "tradeamount": {
  28884. "description": "成交金额[账户]",
  28885. "type": "number"
  28886. },
  28887. "tradedate": {
  28888. "description": "交易日(yyyyMMdd)",
  28889. "type": "string"
  28890. },
  28891. "tradeid": {
  28892. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  28893. "type": "string"
  28894. },
  28895. "tradetime": {
  28896. "description": "交易时间",
  28897. "type": "string"
  28898. }
  28899. }
  28900. },
  28901. "models.Hedgemarketopenlog": {
  28902. "type": "object",
  28903. "required": [
  28904. "accountid"
  28905. ],
  28906. "properties": {
  28907. "accountid": {
  28908. "description": "资金账号[外部母账户]",
  28909. "type": "integer"
  28910. },
  28911. "fcname": {
  28912. "description": "期货公司名称",
  28913. "type": "string"
  28914. },
  28915. "handlestatus": {
  28916. "description": "处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp",
  28917. "type": "integer"
  28918. },
  28919. "marketid": {
  28920. "description": "市场ID",
  28921. "type": "integer"
  28922. },
  28923. "status": {
  28924. "description": "状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败",
  28925. "type": "integer"
  28926. },
  28927. "tradedate": {
  28928. "description": "交易日(yyyyMMdd)",
  28929. "type": "string"
  28930. },
  28931. "updatetime": {
  28932. "description": "更新时间",
  28933. "type": "string"
  28934. }
  28935. }
  28936. },
  28937. "models.HsbyBuyMyPayOrder": {
  28938. "type": "object",
  28939. "required": [
  28940. "goodscode",
  28941. "goodsname",
  28942. "tradeid",
  28943. "trademode"
  28944. ],
  28945. "properties": {
  28946. "agreeunit": {
  28947. "description": "合约单位",
  28948. "type": "number"
  28949. },
  28950. "buyaccountid": {
  28951. "description": "买方账号ID[报价币种]",
  28952. "type": "integer"
  28953. },
  28954. "buyorderid": {
  28955. "description": "买方委托单号",
  28956. "type": "string"
  28957. },
  28958. "createtime": {
  28959. "description": "创建时间",
  28960. "type": "string"
  28961. },
  28962. "currencysign": {
  28963. "description": "货币符号",
  28964. "type": "string"
  28965. },
  28966. "decimalplace": {
  28967. "description": "报价小数位",
  28968. "type": "integer"
  28969. },
  28970. "goodscode": {
  28971. "description": "商品代码(内部)",
  28972. "type": "string"
  28973. },
  28974. "goodsid": {
  28975. "description": "商品ID",
  28976. "type": "integer"
  28977. },
  28978. "goodsname": {
  28979. "description": "商品名称",
  28980. "type": "string"
  28981. },
  28982. "marketid": {
  28983. "description": "市场ID",
  28984. "type": "integer"
  28985. },
  28986. "offamount": {
  28987. "description": "优惠金额",
  28988. "type": "number"
  28989. },
  28990. "originalamount": {
  28991. "description": "原金额 = TradeAmount + TradeCharge + OffAmount",
  28992. "type": "number"
  28993. },
  28994. "payamount": {
  28995. "description": "支付金额 = TradeAmount + TradeCharge",
  28996. "type": "number"
  28997. },
  28998. "payflag": {
  28999. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  29000. "type": "integer"
  29001. },
  29002. "paylimitedtime": {
  29003. "description": "支付期限",
  29004. "type": "string"
  29005. },
  29006. "paytime": {
  29007. "description": "付款时间",
  29008. "type": "string"
  29009. },
  29010. "picurls1": {
  29011. "description": "预售商品介绍图片[多张用逗号分隔]",
  29012. "type": "string"
  29013. },
  29014. "picurls2": {
  29015. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  29016. "type": "string"
  29017. },
  29018. "sellaccountid": {
  29019. "description": "卖方账号ID[报价币种]",
  29020. "type": "integer"
  29021. },
  29022. "sellorderid": {
  29023. "description": "卖方委托单号",
  29024. "type": "string"
  29025. },
  29026. "tradeamount": {
  29027. "description": "成交金额",
  29028. "type": "number"
  29029. },
  29030. "tradecharge": {
  29031. "description": "成交手续费(买方)",
  29032. "type": "number"
  29033. },
  29034. "tradedate": {
  29035. "description": "交易日(yyyyMMdd)",
  29036. "type": "string"
  29037. },
  29038. "tradeid": {
  29039. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  29040. "type": "string"
  29041. },
  29042. "trademode": {
  29043. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  29044. "type": "integer"
  29045. },
  29046. "tradeprice": {
  29047. "description": "成交价格",
  29048. "type": "number"
  29049. },
  29050. "tradeqty": {
  29051. "description": "成交数量",
  29052. "type": "integer"
  29053. },
  29054. "vendorname1": {
  29055. "description": "预售商品供应商名称",
  29056. "type": "string"
  29057. },
  29058. "vendorname2": {
  29059. "description": "挂牌商品供应商名称",
  29060. "type": "string"
  29061. }
  29062. }
  29063. },
  29064. "models.HsbyBuyMyTradeDetail": {
  29065. "type": "object",
  29066. "required": [
  29067. "accountid",
  29068. "buyorsell",
  29069. "goodscode",
  29070. "goodsid",
  29071. "goodsname",
  29072. "marketid",
  29073. "orderid",
  29074. "qty",
  29075. "time",
  29076. "trademode"
  29077. ],
  29078. "properties": {
  29079. "accountid": {
  29080. "description": "账户ID[报价币种]",
  29081. "type": "integer"
  29082. },
  29083. "agreeunit": {
  29084. "description": "合约单位",
  29085. "type": "number"
  29086. },
  29087. "amount": {
  29088. "description": "金额 = 价格 * 数量 * 合约单位",
  29089. "type": "number"
  29090. },
  29091. "buyorsell": {
  29092. "description": "买卖 - 0:买 1:卖",
  29093. "type": "integer"
  29094. },
  29095. "currencysign": {
  29096. "description": "货币符号",
  29097. "type": "string"
  29098. },
  29099. "decimalplace": {
  29100. "description": "报价小数位",
  29101. "type": "integer"
  29102. },
  29103. "goodscode": {
  29104. "description": "商品代码(内部)",
  29105. "type": "string"
  29106. },
  29107. "goodsid": {
  29108. "description": "商品ID",
  29109. "type": "integer"
  29110. },
  29111. "goodsname": {
  29112. "description": "商品名称",
  29113. "type": "string"
  29114. },
  29115. "marketid": {
  29116. "description": "市场ID",
  29117. "type": "integer"
  29118. },
  29119. "orderamount": {
  29120. "description": "委托金额",
  29121. "type": "number"
  29122. },
  29123. "orderid": {
  29124. "description": "单号(成交单号)",
  29125. "type": "string"
  29126. },
  29127. "picurls1": {
  29128. "description": "预售商品介绍图片[多张用逗号分隔]",
  29129. "type": "string"
  29130. },
  29131. "picurls2": {
  29132. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  29133. "type": "string"
  29134. },
  29135. "price": {
  29136. "description": "价格",
  29137. "type": "number"
  29138. },
  29139. "qty": {
  29140. "description": "数量",
  29141. "type": "integer"
  29142. },
  29143. "time": {
  29144. "description": "时间",
  29145. "type": "string"
  29146. },
  29147. "trademode": {
  29148. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  29149. "type": "integer"
  29150. },
  29151. "vendorname1": {
  29152. "description": "预售商品供应商名称",
  29153. "type": "string"
  29154. },
  29155. "vendorname2": {
  29156. "description": "挂牌商品供应商名称",
  29157. "type": "string"
  29158. }
  29159. }
  29160. },
  29161. "models.HsbyGoodsOrderDetail": {
  29162. "type": "object",
  29163. "required": [
  29164. "buyorsell",
  29165. "orderid",
  29166. "ordertime"
  29167. ],
  29168. "properties": {
  29169. "buyorsell": {
  29170. "description": "买卖 - 0:买 1:卖",
  29171. "type": "integer"
  29172. },
  29173. "currencysign": {
  29174. "description": "货币符号",
  29175. "type": "string"
  29176. },
  29177. "customername": {
  29178. "description": "客户名称(企业名称),已脱敏",
  29179. "type": "string"
  29180. },
  29181. "enableqty": {
  29182. "description": "可用数量",
  29183. "type": "integer"
  29184. },
  29185. "goodunit": {
  29186. "description": "报价单位",
  29187. "type": "string"
  29188. },
  29189. "orderid": {
  29190. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  29191. "type": "string"
  29192. },
  29193. "orderprice": {
  29194. "description": "委托价格",
  29195. "type": "number"
  29196. },
  29197. "ordertime": {
  29198. "description": "委托时间",
  29199. "type": "string"
  29200. }
  29201. }
  29202. },
  29203. "models.HsbyListingGoodsDetail": {
  29204. "type": "object",
  29205. "required": [
  29206. "goodscode",
  29207. "goodsid",
  29208. "goodsname",
  29209. "marketid",
  29210. "trademode"
  29211. ],
  29212. "properties": {
  29213. "agreeunit": {
  29214. "description": "合约单位",
  29215. "type": "number"
  29216. },
  29217. "buymaxqty": {
  29218. "description": "购买上限 [71] - 0为不限",
  29219. "type": "integer"
  29220. },
  29221. "currency": {
  29222. "description": "货币",
  29223. "type": "string"
  29224. },
  29225. "currencysign": {
  29226. "description": "货币符号",
  29227. "type": "string"
  29228. },
  29229. "decimalplace": {
  29230. "description": "报价小数位",
  29231. "type": "integer"
  29232. },
  29233. "desccityid": {
  29234. "description": "目的地(市)ID",
  29235. "type": "integer"
  29236. },
  29237. "descprovinceid": {
  29238. "description": "目的地(省)ID",
  29239. "type": "integer"
  29240. },
  29241. "goodscode": {
  29242. "description": "商品代码(内部)",
  29243. "type": "string"
  29244. },
  29245. "goodsdesc": {
  29246. "description": "商品详情",
  29247. "type": "string"
  29248. },
  29249. "goodsid": {
  29250. "description": "商品ID(自增ID SEQ_GOODS)",
  29251. "type": "integer"
  29252. },
  29253. "goodsname": {
  29254. "description": "商品名称",
  29255. "type": "string"
  29256. },
  29257. "goodsprice": {
  29258. "description": "商品价格",
  29259. "type": "number"
  29260. },
  29261. "hotindex": {
  29262. "description": "景点热度",
  29263. "type": "integer"
  29264. },
  29265. "last": {
  29266. "description": "现价",
  29267. "type": "number"
  29268. },
  29269. "limitdown": {
  29270. "description": "跌停价",
  29271. "type": "number"
  29272. },
  29273. "limitup": {
  29274. "description": "涨停价",
  29275. "type": "number"
  29276. },
  29277. "lotsize": {
  29278. "description": "手数最小变动单位",
  29279. "type": "integer"
  29280. },
  29281. "marketid": {
  29282. "description": "所属市场ID",
  29283. "type": "integer"
  29284. },
  29285. "picurls": {
  29286. "description": "介绍图片[多张用逗号分隔]",
  29287. "type": "string"
  29288. },
  29289. "quoteminunit": {
  29290. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  29291. "type": "integer"
  29292. },
  29293. "stepvalue": {
  29294. "description": "价格最小变动单位",
  29295. "type": "number"
  29296. },
  29297. "trademode": {
  29298. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  29299. "type": "integer"
  29300. },
  29301. "vendorattr": {
  29302. "description": "供应商附件(多张,逗号分隔)",
  29303. "type": "string"
  29304. },
  29305. "vendorname": {
  29306. "description": "供应商名称",
  29307. "type": "string"
  29308. },
  29309. "vendorphone": {
  29310. "description": "供应商客服电话",
  29311. "type": "string"
  29312. },
  29313. "videourls": {
  29314. "description": "介绍视频[多张用逗号分隔]",
  29315. "type": "string"
  29316. }
  29317. }
  29318. },
  29319. "models.HsbyMarketGoods": {
  29320. "type": "object",
  29321. "required": [
  29322. "accountid",
  29323. "buyorsell",
  29324. "goodscode",
  29325. "goodsid",
  29326. "goodsname",
  29327. "marketid",
  29328. "orderid",
  29329. "trademode"
  29330. ],
  29331. "properties": {
  29332. "accountid": {
  29333. "description": "账户ID[报价币种]",
  29334. "type": "integer"
  29335. },
  29336. "agreeunit": {
  29337. "description": "合约单位",
  29338. "type": "number"
  29339. },
  29340. "buyorsell": {
  29341. "description": "买卖 - 0:买 1:卖",
  29342. "type": "integer"
  29343. },
  29344. "categoryid": {
  29345. "description": "类别ID(WRCATEGORY)",
  29346. "type": "integer"
  29347. },
  29348. "currency": {
  29349. "description": "货币",
  29350. "type": "string"
  29351. },
  29352. "currencysign": {
  29353. "description": "货币符号",
  29354. "type": "string"
  29355. },
  29356. "customername": {
  29357. "description": "卖家名称",
  29358. "type": "string"
  29359. },
  29360. "decimalplace": {
  29361. "description": "报价小数位",
  29362. "type": "integer"
  29363. },
  29364. "goodscode": {
  29365. "description": "商品代码(内部)",
  29366. "type": "string"
  29367. },
  29368. "goodsid": {
  29369. "description": "商品ID",
  29370. "type": "integer"
  29371. },
  29372. "goodsname": {
  29373. "description": "商品名称",
  29374. "type": "string"
  29375. },
  29376. "goodsprice": {
  29377. "description": "商品价格",
  29378. "type": "number"
  29379. },
  29380. "hascoupon": {
  29381. "description": "是否可用优惠卷",
  29382. "type": "boolean"
  29383. },
  29384. "hotindex": {
  29385. "description": "景点热度",
  29386. "type": "integer"
  29387. },
  29388. "marketid": {
  29389. "description": "市场ID",
  29390. "type": "integer"
  29391. },
  29392. "orderid": {
  29393. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  29394. "type": "string"
  29395. },
  29396. "orderprice": {
  29397. "description": "委托价格",
  29398. "type": "number"
  29399. },
  29400. "orderstatus": {
  29401. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  29402. "type": "integer"
  29403. },
  29404. "picurls": {
  29405. "description": "介绍图片[多张用逗号分隔]",
  29406. "type": "string"
  29407. },
  29408. "quoteminunit": {
  29409. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  29410. "type": "integer"
  29411. },
  29412. "sellUserID": {
  29413. "description": "卖方UserID",
  29414. "type": "integer"
  29415. },
  29416. "trademode": {
  29417. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  29418. "type": "integer"
  29419. },
  29420. "videourls": {
  29421. "description": "介绍视频[多张用逗号分隔]",
  29422. "type": "string"
  29423. }
  29424. }
  29425. },
  29426. "models.HsbyMarketGoodsDetail": {
  29427. "type": "object",
  29428. "required": [
  29429. "accountid",
  29430. "buyorsell",
  29431. "goodscode",
  29432. "goodsid",
  29433. "goodsname",
  29434. "marketid",
  29435. "orderid",
  29436. "orderqty",
  29437. "trademode"
  29438. ],
  29439. "properties": {
  29440. "accountid": {
  29441. "description": "账户ID[报价币种]",
  29442. "type": "integer"
  29443. },
  29444. "agreeunit": {
  29445. "description": "合约单位",
  29446. "type": "number"
  29447. },
  29448. "buymaxqty": {
  29449. "description": "购买上限 [71] - 0为不限",
  29450. "type": "integer"
  29451. },
  29452. "buyorsell": {
  29453. "description": "买卖 - 0:买 1:卖",
  29454. "type": "integer"
  29455. },
  29456. "cancelqty": {
  29457. "description": "撤单数量",
  29458. "type": "integer"
  29459. },
  29460. "categoryid": {
  29461. "description": "类别ID(WRCATEGORY)",
  29462. "type": "integer"
  29463. },
  29464. "currency": {
  29465. "description": "货币",
  29466. "type": "string"
  29467. },
  29468. "currencysign": {
  29469. "description": "货币符号",
  29470. "type": "string"
  29471. },
  29472. "customername": {
  29473. "description": "卖家名称",
  29474. "type": "string"
  29475. },
  29476. "decimalplace": {
  29477. "description": "报价小数位",
  29478. "type": "integer"
  29479. },
  29480. "goodscode": {
  29481. "description": "商品代码(内部)",
  29482. "type": "string"
  29483. },
  29484. "goodsdesc": {
  29485. "description": "商品详情",
  29486. "type": "string"
  29487. },
  29488. "goodsid": {
  29489. "description": "商品ID",
  29490. "type": "integer"
  29491. },
  29492. "goodsname": {
  29493. "description": "商品名称",
  29494. "type": "string"
  29495. },
  29496. "goodsprice": {
  29497. "description": "商品价格",
  29498. "type": "number"
  29499. },
  29500. "hotindex": {
  29501. "description": "景点热度",
  29502. "type": "integer"
  29503. },
  29504. "lotsize": {
  29505. "description": "手数最小变动单位",
  29506. "type": "integer"
  29507. },
  29508. "marketid": {
  29509. "description": "市场ID",
  29510. "type": "integer"
  29511. },
  29512. "orderid": {
  29513. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  29514. "type": "string"
  29515. },
  29516. "orderprice": {
  29517. "description": "委托价格",
  29518. "type": "number"
  29519. },
  29520. "orderqty": {
  29521. "description": "委托数量",
  29522. "type": "integer"
  29523. },
  29524. "orderstatus": {
  29525. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  29526. "type": "integer"
  29527. },
  29528. "picurls": {
  29529. "description": "介绍图片[多张用逗号分隔]",
  29530. "type": "string"
  29531. },
  29532. "quoteminunit": {
  29533. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  29534. "type": "integer"
  29535. },
  29536. "sellUserID": {
  29537. "description": "卖方UserID",
  29538. "type": "integer"
  29539. },
  29540. "trademode": {
  29541. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  29542. "type": "integer"
  29543. },
  29544. "tradeqty": {
  29545. "description": "成交数量",
  29546. "type": "integer"
  29547. },
  29548. "vendorattr": {
  29549. "description": "供应商附件(多张,逗号分隔)",
  29550. "type": "string"
  29551. },
  29552. "vendorname": {
  29553. "description": "供应商名称",
  29554. "type": "string"
  29555. },
  29556. "vendorphone": {
  29557. "description": "供应商客服电话",
  29558. "type": "string"
  29559. },
  29560. "videourls": {
  29561. "description": "介绍视频[多张用逗号分隔]",
  29562. "type": "string"
  29563. }
  29564. }
  29565. },
  29566. "models.HsbyMarketInfo": {
  29567. "type": "object",
  29568. "required": [
  29569. "marketid",
  29570. "marketstatus",
  29571. "trademode"
  29572. ],
  29573. "properties": {
  29574. "marketid": {
  29575. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  29576. "type": "integer"
  29577. },
  29578. "marketname": {
  29579. "description": "市场名称",
  29580. "type": "string"
  29581. },
  29582. "marketstatus": {
  29583. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  29584. "type": "integer"
  29585. },
  29586. "trademode": {
  29587. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  29588. "type": "integer"
  29589. }
  29590. }
  29591. },
  29592. "models.HsbyMyGoods": {
  29593. "type": "object",
  29594. "required": [
  29595. "accountid",
  29596. "goodscode",
  29597. "goodsid",
  29598. "goodsname",
  29599. "marketid",
  29600. "trademode"
  29601. ],
  29602. "properties": {
  29603. "accountid": {
  29604. "description": "账号Id",
  29605. "type": "integer"
  29606. },
  29607. "agreeunit": {
  29608. "description": "合约单位",
  29609. "type": "number"
  29610. },
  29611. "buyaverageprice": {
  29612. "description": "持仓均价",
  29613. "type": "number"
  29614. },
  29615. "buycurholderamount": {
  29616. "description": "买当前持仓总金额[商品币种]",
  29617. "type": "number"
  29618. },
  29619. "buycurpositionqty": {
  29620. "description": "买当前持仓总数量",
  29621. "type": "integer"
  29622. },
  29623. "buymaxqty": {
  29624. "description": "购买上限 [71] - 0为不限",
  29625. "type": "integer"
  29626. },
  29627. "currencysign": {
  29628. "description": "货币符号",
  29629. "type": "string"
  29630. },
  29631. "decimalplace": {
  29632. "description": "报价小数位",
  29633. "type": "integer"
  29634. },
  29635. "enableqty": {
  29636. "description": "可用数量",
  29637. "type": "integer"
  29638. },
  29639. "goodscode": {
  29640. "description": "商品代码(内部)",
  29641. "type": "string"
  29642. },
  29643. "goodsid": {
  29644. "description": "商品Id",
  29645. "type": "integer"
  29646. },
  29647. "goodsname": {
  29648. "description": "商品名称",
  29649. "type": "string"
  29650. },
  29651. "goodsprice": {
  29652. "description": "商品价格",
  29653. "type": "number"
  29654. },
  29655. "goodsstatus": {
  29656. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  29657. "type": "integer"
  29658. },
  29659. "last": {
  29660. "description": "现价(仅使用于挂牌点选)",
  29661. "type": "number"
  29662. },
  29663. "limitdown": {
  29664. "description": "跌停价(仅使用于挂牌点选)",
  29665. "type": "number"
  29666. },
  29667. "limitup": {
  29668. "description": "涨停价(仅使用于挂牌点选)",
  29669. "type": "number"
  29670. },
  29671. "lotsize": {
  29672. "description": "手数最小变动单位",
  29673. "type": "integer"
  29674. },
  29675. "marketid": {
  29676. "description": "所属市场ID",
  29677. "type": "integer"
  29678. },
  29679. "picurls": {
  29680. "description": "介绍图片[多张用逗号分隔]",
  29681. "type": "string"
  29682. },
  29683. "quoteminunit": {
  29684. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  29685. "type": "integer"
  29686. },
  29687. "stepvalue": {
  29688. "description": "价格最小变动单位",
  29689. "type": "number"
  29690. },
  29691. "trademode": {
  29692. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  29693. "type": "integer"
  29694. }
  29695. }
  29696. },
  29697. "models.HsbyMyPackage": {
  29698. "type": "object",
  29699. "required": [
  29700. "goodscode",
  29701. "goodsname",
  29702. "takeorderid",
  29703. "trademode"
  29704. ],
  29705. "properties": {
  29706. "accountid": {
  29707. "description": "账户ID",
  29708. "type": "integer"
  29709. },
  29710. "address": {
  29711. "description": "提货人详细地址",
  29712. "type": "string"
  29713. },
  29714. "agreeunit": {
  29715. "description": "合约单位",
  29716. "type": "number"
  29717. },
  29718. "amount": {
  29719. "description": "提货金额",
  29720. "type": "number"
  29721. },
  29722. "auditer": {
  29723. "description": "审核人",
  29724. "type": "integer"
  29725. },
  29726. "audittime": {
  29727. "description": "审核时间",
  29728. "type": "string"
  29729. },
  29730. "averageprice": {
  29731. "description": "均价",
  29732. "type": "number"
  29733. },
  29734. "cardnum": {
  29735. "description": "提货人证件号码",
  29736. "type": "string"
  29737. },
  29738. "cardtypeid": {
  29739. "description": "提货人证件类型",
  29740. "type": "integer"
  29741. },
  29742. "checkremark": {
  29743. "description": "审核备注",
  29744. "type": "string"
  29745. },
  29746. "currencysign": {
  29747. "description": "货币符号",
  29748. "type": "string"
  29749. },
  29750. "decimalplace": {
  29751. "description": "报价小数位",
  29752. "type": "integer"
  29753. },
  29754. "goodscode": {
  29755. "description": "商品代码(内部)",
  29756. "type": "string"
  29757. },
  29758. "goodsid": {
  29759. "description": "商品ID",
  29760. "type": "integer"
  29761. },
  29762. "goodsname": {
  29763. "description": "商品名称",
  29764. "type": "string"
  29765. },
  29766. "handlestatus": {
  29767. "description": "处理状态",
  29768. "type": "integer"
  29769. },
  29770. "marketid": {
  29771. "description": "市场ID",
  29772. "type": "integer"
  29773. },
  29774. "phonenum": {
  29775. "description": "提货人联系方式",
  29776. "type": "string"
  29777. },
  29778. "picurls": {
  29779. "description": "介绍图片[多张用逗号分隔]",
  29780. "type": "string"
  29781. },
  29782. "qty": {
  29783. "description": "提货数量",
  29784. "type": "number"
  29785. },
  29786. "recivername": {
  29787. "description": "提货人姓名",
  29788. "type": "string"
  29789. },
  29790. "reqtime": {
  29791. "description": "更新时间",
  29792. "type": "string"
  29793. },
  29794. "takemode": {
  29795. "description": "提货方式 - 2:自提 3:配送",
  29796. "type": "integer"
  29797. },
  29798. "takeorderid": {
  29799. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  29800. "type": "string"
  29801. },
  29802. "takeorderstatus": {
  29803. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  29804. "type": "integer"
  29805. },
  29806. "takeremark": {
  29807. "description": "提货备注",
  29808. "type": "string"
  29809. },
  29810. "tradedate": {
  29811. "description": "交易日(yyyyMMdd)",
  29812. "type": "string"
  29813. },
  29814. "trademode": {
  29815. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  29816. "type": "integer"
  29817. },
  29818. "userid": {
  29819. "description": "用户ID",
  29820. "type": "integer"
  29821. },
  29822. "vendorname": {
  29823. "description": "供应商名称",
  29824. "type": "string"
  29825. }
  29826. }
  29827. },
  29828. "models.HsbyPreGoods": {
  29829. "type": "object",
  29830. "required": [
  29831. "goodscode",
  29832. "goodsid",
  29833. "goodsname",
  29834. "marketid",
  29835. "trademode"
  29836. ],
  29837. "properties": {
  29838. "agreeunit": {
  29839. "description": "合约单位",
  29840. "type": "number"
  29841. },
  29842. "currency": {
  29843. "description": "货币",
  29844. "type": "string"
  29845. },
  29846. "currencysign": {
  29847. "description": "货币符号",
  29848. "type": "string"
  29849. },
  29850. "decimalplace": {
  29851. "description": "报价小数位",
  29852. "type": "integer"
  29853. },
  29854. "desccityid": {
  29855. "description": "目的地(市)",
  29856. "type": "integer"
  29857. },
  29858. "descprovinceid": {
  29859. "description": "目的地(省)",
  29860. "type": "integer"
  29861. },
  29862. "enableqty": {
  29863. "description": "剩余数量",
  29864. "type": "integer"
  29865. },
  29866. "goodscode": {
  29867. "description": "商品代码(内部)",
  29868. "type": "string"
  29869. },
  29870. "goodsid": {
  29871. "description": "商品ID(自增ID SEQ_GOODS)",
  29872. "type": "integer"
  29873. },
  29874. "goodsname": {
  29875. "description": "商品名称",
  29876. "type": "string"
  29877. },
  29878. "goodsstatus": {
  29879. "description": "商品状态- 2:未上市 3:上市",
  29880. "type": "integer"
  29881. },
  29882. "lasttradedate": {
  29883. "description": "最后交易日期(状态:待退市)",
  29884. "type": "string"
  29885. },
  29886. "listingdate": {
  29887. "description": "交易开始日期",
  29888. "type": "string"
  29889. },
  29890. "marketid": {
  29891. "description": "所属市场ID",
  29892. "type": "integer"
  29893. },
  29894. "picurls": {
  29895. "description": "介绍图片[多张用逗号分隔]",
  29896. "type": "string"
  29897. },
  29898. "presaledqty": {
  29899. "description": "已预售量(预售结束时更新)",
  29900. "type": "integer"
  29901. },
  29902. "presaleqty": {
  29903. "description": "预售数量",
  29904. "type": "integer"
  29905. },
  29906. "quoteminunit": {
  29907. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  29908. "type": "integer"
  29909. },
  29910. "refprice": {
  29911. "description": "参考价格[一口价]",
  29912. "type": "number"
  29913. },
  29914. "relatedgoodsid": {
  29915. "description": "关联交易合约ID",
  29916. "type": "integer"
  29917. },
  29918. "trademode": {
  29919. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  29920. "type": "integer"
  29921. },
  29922. "videourls": {
  29923. "description": "介绍视频[多张用逗号分隔]",
  29924. "type": "string"
  29925. }
  29926. }
  29927. },
  29928. "models.HsbyPreGoodsDetail": {
  29929. "type": "object",
  29930. "required": [
  29931. "goodscode",
  29932. "goodsid",
  29933. "goodsname",
  29934. "marketid",
  29935. "trademode"
  29936. ],
  29937. "properties": {
  29938. "agreeunit": {
  29939. "description": "合约单位",
  29940. "type": "number"
  29941. },
  29942. "buymaxqty": {
  29943. "description": "购买上限 [71] - 0为不限",
  29944. "type": "integer"
  29945. },
  29946. "currency": {
  29947. "description": "货币",
  29948. "type": "string"
  29949. },
  29950. "currencysign": {
  29951. "description": "货币符号",
  29952. "type": "string"
  29953. },
  29954. "customername": {
  29955. "description": "发行单位",
  29956. "type": "string"
  29957. },
  29958. "decimalplace": {
  29959. "description": "报价小数位",
  29960. "type": "integer"
  29961. },
  29962. "desccityid": {
  29963. "description": "目的地(市)ID",
  29964. "type": "integer"
  29965. },
  29966. "descprovinceid": {
  29967. "description": "目的地(省)ID",
  29968. "type": "integer"
  29969. },
  29970. "enableqty": {
  29971. "description": "剩余数量",
  29972. "type": "integer"
  29973. },
  29974. "goodscode": {
  29975. "description": "商品代码(内部)",
  29976. "type": "string"
  29977. },
  29978. "goodsdesc": {
  29979. "description": "商品详情",
  29980. "type": "string"
  29981. },
  29982. "goodsid": {
  29983. "description": "商品ID(自增ID SEQ_GOODS)",
  29984. "type": "integer"
  29985. },
  29986. "goodsname": {
  29987. "description": "商品名称",
  29988. "type": "string"
  29989. },
  29990. "goodsstatus": {
  29991. "description": "商品状态- 2:未上市 3:上市",
  29992. "type": "integer"
  29993. },
  29994. "goodunit": {
  29995. "description": "报价单位",
  29996. "type": "string"
  29997. },
  29998. "lasttradedate": {
  29999. "description": "最后交易日期(状态:待退市)",
  30000. "type": "string"
  30001. },
  30002. "listingdate": {
  30003. "description": "交易开始日期",
  30004. "type": "string"
  30005. },
  30006. "lotsize": {
  30007. "description": "手数最小变动单位",
  30008. "type": "integer"
  30009. },
  30010. "marketid": {
  30011. "description": "所属市场ID",
  30012. "type": "integer"
  30013. },
  30014. "picurls": {
  30015. "description": "介绍图片[多张用逗号分隔]",
  30016. "type": "string"
  30017. },
  30018. "presaledqty": {
  30019. "description": "已预售量(预售结束时更新)",
  30020. "type": "integer"
  30021. },
  30022. "presaleqty": {
  30023. "description": "预售数量",
  30024. "type": "integer"
  30025. },
  30026. "quoteminunit": {
  30027. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  30028. "type": "integer"
  30029. },
  30030. "refprice": {
  30031. "description": "参考价格[一口价]",
  30032. "type": "number"
  30033. },
  30034. "relatedgoodsid": {
  30035. "description": "关联交易合约ID",
  30036. "type": "integer"
  30037. },
  30038. "stepvalue": {
  30039. "description": "价格最小变动单位",
  30040. "type": "number"
  30041. },
  30042. "trademode": {
  30043. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  30044. "type": "integer"
  30045. },
  30046. "vendorattr": {
  30047. "description": "供应商附件(多张,逗号分隔)",
  30048. "type": "string"
  30049. },
  30050. "vendorname": {
  30051. "description": "供应商名称",
  30052. "type": "string"
  30053. },
  30054. "vendorphone": {
  30055. "description": "供应商客服电话",
  30056. "type": "string"
  30057. },
  30058. "videourls": {
  30059. "description": "介绍视频[多张用逗号分隔]",
  30060. "type": "string"
  30061. }
  30062. }
  30063. },
  30064. "models.HsbySellCollectionOrder": {
  30065. "type": "object",
  30066. "required": [
  30067. "goodscode",
  30068. "goodsname",
  30069. "tradeid",
  30070. "trademode"
  30071. ],
  30072. "properties": {
  30073. "agreeunit": {
  30074. "description": "合约单位",
  30075. "type": "number"
  30076. },
  30077. "buyaccountid": {
  30078. "description": "买方账号ID[报价币种]",
  30079. "type": "integer"
  30080. },
  30081. "buyorderid": {
  30082. "description": "买方委托单号",
  30083. "type": "string"
  30084. },
  30085. "createtime": {
  30086. "description": "创建时间",
  30087. "type": "string"
  30088. },
  30089. "currencysign": {
  30090. "description": "货币符号",
  30091. "type": "string"
  30092. },
  30093. "decimalplace": {
  30094. "description": "报价小数位",
  30095. "type": "integer"
  30096. },
  30097. "goodscode": {
  30098. "description": "商品代码(内部)",
  30099. "type": "string"
  30100. },
  30101. "goodsid": {
  30102. "description": "商品ID",
  30103. "type": "integer"
  30104. },
  30105. "goodsname": {
  30106. "description": "商品名称",
  30107. "type": "string"
  30108. },
  30109. "marketid": {
  30110. "description": "市场ID",
  30111. "type": "integer"
  30112. },
  30113. "offamount": {
  30114. "description": "优惠金额",
  30115. "type": "number"
  30116. },
  30117. "payamount": {
  30118. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  30119. "type": "number"
  30120. },
  30121. "payflag": {
  30122. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  30123. "type": "integer"
  30124. },
  30125. "paylimitedtime": {
  30126. "description": "支付期限",
  30127. "type": "string"
  30128. },
  30129. "paytime": {
  30130. "description": "付款时间",
  30131. "type": "string"
  30132. },
  30133. "picurls": {
  30134. "description": "商品介绍图片[多张用逗号分隔]",
  30135. "type": "string"
  30136. },
  30137. "sellaccountid": {
  30138. "description": "卖方账号ID[报价币种]",
  30139. "type": "integer"
  30140. },
  30141. "sellorderid": {
  30142. "description": "卖方委托单号",
  30143. "type": "string"
  30144. },
  30145. "tradeamount": {
  30146. "description": "成交金额",
  30147. "type": "number"
  30148. },
  30149. "tradecharge": {
  30150. "description": "成交手续费(买方)",
  30151. "type": "number"
  30152. },
  30153. "tradedate": {
  30154. "description": "交易日(yyyyMMdd)",
  30155. "type": "string"
  30156. },
  30157. "tradeid": {
  30158. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  30159. "type": "string"
  30160. },
  30161. "trademode": {
  30162. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  30163. "type": "integer"
  30164. },
  30165. "tradeprice": {
  30166. "description": "成交价格",
  30167. "type": "number"
  30168. },
  30169. "tradeqty": {
  30170. "description": "成交数量",
  30171. "type": "integer"
  30172. }
  30173. }
  30174. },
  30175. "models.HsbySellMyDetail": {
  30176. "type": "object",
  30177. "required": [
  30178. "accountid",
  30179. "buyorsell",
  30180. "goodscode",
  30181. "goodsid",
  30182. "goodsname",
  30183. "marketid",
  30184. "orderid",
  30185. "time",
  30186. "trademode"
  30187. ],
  30188. "properties": {
  30189. "accountid": {
  30190. "description": "账户ID[报价币种]",
  30191. "type": "integer"
  30192. },
  30193. "agreeunit": {
  30194. "description": "合约单位",
  30195. "type": "number"
  30196. },
  30197. "buyorsell": {
  30198. "description": "买卖 - 0:买 1:卖",
  30199. "type": "integer"
  30200. },
  30201. "currencysign": {
  30202. "description": "货币符号",
  30203. "type": "string"
  30204. },
  30205. "decimalplace": {
  30206. "description": "报价小数位",
  30207. "type": "integer"
  30208. },
  30209. "goodscode": {
  30210. "description": "商品代码(内部)",
  30211. "type": "string"
  30212. },
  30213. "goodsid": {
  30214. "description": "商品ID",
  30215. "type": "integer"
  30216. },
  30217. "goodsname": {
  30218. "description": "商品名称",
  30219. "type": "string"
  30220. },
  30221. "marketid": {
  30222. "description": "市场ID",
  30223. "type": "integer"
  30224. },
  30225. "orderid": {
  30226. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  30227. "type": "string"
  30228. },
  30229. "ordertype": {
  30230. "description": "单据类型:0 - 发布中, 1 - 已完成",
  30231. "type": "integer"
  30232. },
  30233. "picurls": {
  30234. "description": "介绍图片[多张用逗号分隔]",
  30235. "type": "string"
  30236. },
  30237. "price": {
  30238. "description": "价格",
  30239. "type": "number"
  30240. },
  30241. "qty": {
  30242. "description": "数量",
  30243. "type": "integer"
  30244. },
  30245. "time": {
  30246. "description": "时间",
  30247. "type": "string"
  30248. },
  30249. "trademode": {
  30250. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  30251. "type": "integer"
  30252. },
  30253. "vendorname": {
  30254. "description": "供应商名称",
  30255. "type": "string"
  30256. }
  30257. }
  30258. },
  30259. "models.HsbyTopGoods": {
  30260. "type": "object",
  30261. "required": [
  30262. "goodscode",
  30263. "goodsid",
  30264. "goodsname",
  30265. "marketid",
  30266. "trademode"
  30267. ],
  30268. "properties": {
  30269. "agreeunit": {
  30270. "description": "合约单位",
  30271. "type": "number"
  30272. },
  30273. "currency": {
  30274. "description": "货币",
  30275. "type": "string"
  30276. },
  30277. "currencysign": {
  30278. "description": "货币符号",
  30279. "type": "string"
  30280. },
  30281. "decimalplace": {
  30282. "description": "报价小数位",
  30283. "type": "integer"
  30284. },
  30285. "desccityid": {
  30286. "description": "目的地(市)",
  30287. "type": "integer"
  30288. },
  30289. "descprovinceid": {
  30290. "description": "目的地(省)",
  30291. "type": "integer"
  30292. },
  30293. "goodscode": {
  30294. "description": "商品代码(内部)",
  30295. "type": "string"
  30296. },
  30297. "goodsid": {
  30298. "description": "商品ID(自增ID SEQ_GOODS)",
  30299. "type": "integer"
  30300. },
  30301. "goodsname": {
  30302. "description": "商品名称",
  30303. "type": "string"
  30304. },
  30305. "hotindex": {
  30306. "description": "景点热度",
  30307. "type": "integer"
  30308. },
  30309. "last": {
  30310. "description": "现价",
  30311. "type": "number"
  30312. },
  30313. "marketid": {
  30314. "description": "所属市场ID",
  30315. "type": "integer"
  30316. },
  30317. "picurls": {
  30318. "description": "介绍图片[多张用逗号分隔]",
  30319. "type": "string"
  30320. },
  30321. "quoteminunit": {
  30322. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  30323. "type": "integer"
  30324. },
  30325. "trademode": {
  30326. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  30327. "type": "integer"
  30328. },
  30329. "videourls": {
  30330. "description": "介绍视频[多张用逗号分隔]",
  30331. "type": "string"
  30332. }
  30333. }
  30334. },
  30335. "models.HybsMyBuyOrderDetail": {
  30336. "type": "object",
  30337. "required": [
  30338. "accountid",
  30339. "buyorsell",
  30340. "goodscode",
  30341. "goodsid",
  30342. "goodsname",
  30343. "marketid",
  30344. "orderid",
  30345. "orderqty",
  30346. "ordertime",
  30347. "trademode"
  30348. ],
  30349. "properties": {
  30350. "accountid": {
  30351. "description": "账户ID[报价币种]",
  30352. "type": "integer"
  30353. },
  30354. "agreeunit": {
  30355. "description": "合约单位",
  30356. "type": "number"
  30357. },
  30358. "buyorsell": {
  30359. "description": "买卖 - 0:买 1:卖",
  30360. "type": "integer"
  30361. },
  30362. "cancelqty": {
  30363. "description": "撤单数量",
  30364. "type": "integer"
  30365. },
  30366. "currencysign": {
  30367. "description": "货币符号",
  30368. "type": "string"
  30369. },
  30370. "decimalplace": {
  30371. "description": "报价小数位",
  30372. "type": "integer"
  30373. },
  30374. "goodscode": {
  30375. "description": "商品代码(内部)",
  30376. "type": "string"
  30377. },
  30378. "goodsid": {
  30379. "description": "商品ID",
  30380. "type": "integer"
  30381. },
  30382. "goodsname": {
  30383. "description": "商品名称",
  30384. "type": "string"
  30385. },
  30386. "listingselecttype": {
  30387. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  30388. "type": "integer"
  30389. },
  30390. "marketid": {
  30391. "description": "市场ID",
  30392. "type": "integer"
  30393. },
  30394. "mybuystatus": {
  30395. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  30396. "type": "integer"
  30397. },
  30398. "orderamount": {
  30399. "description": "委托金额",
  30400. "type": "number"
  30401. },
  30402. "orderid": {
  30403. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  30404. "type": "string"
  30405. },
  30406. "orderprice": {
  30407. "description": "委托价格",
  30408. "type": "number"
  30409. },
  30410. "orderqty": {
  30411. "description": "委托数量",
  30412. "type": "integer"
  30413. },
  30414. "orderstatus": {
  30415. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  30416. "type": "integer"
  30417. },
  30418. "ordertime": {
  30419. "description": "委托时间",
  30420. "type": "string"
  30421. },
  30422. "picurls1": {
  30423. "description": "预售商品介绍图片[多张用逗号分隔]",
  30424. "type": "string"
  30425. },
  30426. "picurls2": {
  30427. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  30428. "type": "string"
  30429. },
  30430. "trademode": {
  30431. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  30432. "type": "integer"
  30433. },
  30434. "tradeqty": {
  30435. "description": "成交数量",
  30436. "type": "integer"
  30437. },
  30438. "vendorname1": {
  30439. "description": "预售商品供应商名称",
  30440. "type": "string"
  30441. },
  30442. "vendorname2": {
  30443. "description": "挂牌商品供应商名称",
  30444. "type": "string"
  30445. }
  30446. }
  30447. },
  30448. "models.InternalEnableTradeDetail": {
  30449. "type": "object",
  30450. "required": [
  30451. "areauserid",
  30452. "goodsid"
  30453. ],
  30454. "properties": {
  30455. "agreeunit": {
  30456. "description": "合约乘数",
  30457. "type": "number"
  30458. },
  30459. "areauserid": {
  30460. "description": "企业ID",
  30461. "type": "integer"
  30462. },
  30463. "convertratio": {
  30464. "description": "品种系数",
  30465. "type": "number"
  30466. },
  30467. "deliverygoodscode": {
  30468. "description": "现货品种代码",
  30469. "type": "string"
  30470. },
  30471. "deliverygoodsid": {
  30472. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  30473. "type": "integer"
  30474. },
  30475. "deliverygoodsname": {
  30476. "description": "现货品种名称",
  30477. "type": "string"
  30478. },
  30479. "futurehedgeqty": {
  30480. "description": "[已关联数量]期货持仓套期量",
  30481. "type": "number"
  30482. },
  30483. "goodsid": {
  30484. "description": "期货合约ID",
  30485. "type": "integer"
  30486. },
  30487. "hedgeditemid": {
  30488. "description": "被套期项目ID",
  30489. "type": "string"
  30490. },
  30491. "hedgeditemnum": {
  30492. "description": "项目编号",
  30493. "type": "string"
  30494. },
  30495. "unexehedgeqty": {
  30496. "description": "未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)",
  30497. "type": "number"
  30498. },
  30499. "unexespotqty": {
  30500. "description": "未执行现货量",
  30501. "type": "number"
  30502. },
  30503. "wrstandardcode": {
  30504. "description": "现货品类代码",
  30505. "type": "string"
  30506. },
  30507. "wrstandardid": {
  30508. "description": "现货品类ID(SEQ_WRSTANDARD)",
  30509. "type": "integer"
  30510. },
  30511. "wrstandardname": {
  30512. "description": "现货品类名称",
  30513. "type": "string"
  30514. }
  30515. }
  30516. },
  30517. "models.InternalUncorrelatedTradeDetail": {
  30518. "type": "object",
  30519. "properties": {
  30520. "accountid": {
  30521. "description": "账号ID",
  30522. "type": "integer"
  30523. },
  30524. "accountname": {
  30525. "description": "套期主体",
  30526. "type": "string"
  30527. },
  30528. "agreeunit": {
  30529. "description": "合约乘数",
  30530. "type": "number"
  30531. },
  30532. "areauserid": {
  30533. "description": "所属机构",
  30534. "type": "integer"
  30535. },
  30536. "bizsubjectid": {
  30537. "description": "归属业务部门ID - SubjectID",
  30538. "type": "integer"
  30539. },
  30540. "buyorsell": {
  30541. "description": "方向 - 0:买 1:卖",
  30542. "type": "integer"
  30543. },
  30544. "channelbuildtype": {
  30545. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  30546. "type": "integer"
  30547. },
  30548. "convertratio": {
  30549. "description": "品种系数",
  30550. "type": "number"
  30551. },
  30552. "createtime": {
  30553. "description": "创建时间",
  30554. "type": "string"
  30555. },
  30556. "creatorid": {
  30557. "description": "创建人ID",
  30558. "type": "integer"
  30559. },
  30560. "creatorsrc": {
  30561. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  30562. "type": "integer"
  30563. },
  30564. "enableqty": {
  30565. "description": "项目可关联手数 = 成交手数 - 关联数量",
  30566. "type": "number"
  30567. },
  30568. "goodscode": {
  30569. "description": "合约代码",
  30570. "type": "string"
  30571. },
  30572. "goodsgroupid": {
  30573. "description": "对冲品种ID[期货合约商品组ID]",
  30574. "type": "integer"
  30575. },
  30576. "goodsid": {
  30577. "description": "商品ID",
  30578. "type": "integer"
  30579. },
  30580. "goodsname": {
  30581. "description": "合约名称",
  30582. "type": "string"
  30583. },
  30584. "hedgeditemid": {
  30585. "description": "现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]",
  30586. "type": "integer"
  30587. },
  30588. "hedgeflag": {
  30589. "description": "投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目",
  30590. "type": "integer"
  30591. },
  30592. "linkdetailid": {
  30593. "description": "期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)",
  30594. "type": "string"
  30595. },
  30596. "linkstatus": {
  30597. "description": "关联状态 - 1:成功 2:失败 3:解绑",
  30598. "type": "integer"
  30599. },
  30600. "middlegoodsid": {
  30601. "description": "套保品种ID",
  30602. "type": "integer"
  30603. },
  30604. "relatedlot": {
  30605. "description": "[数量]关联手数",
  30606. "type": "number"
  30607. },
  30608. "relatedmode": {
  30609. "description": "关联方式 - 1:自动关联 2:手动关联 3:解绑关联",
  30610. "type": "integer"
  30611. },
  30612. "relatedqty": {
  30613. "description": "[套期商品数量]关联数量 = RelatedLot * AgreeUnit * ConvertRatio",
  30614. "type": "number"
  30615. },
  30616. "retcode": {
  30617. "description": "返回码",
  30618. "type": "integer"
  30619. },
  30620. "saleuserid": {
  30621. "description": "业务员ID",
  30622. "type": "integer"
  30623. },
  30624. "tradedate": {
  30625. "description": "关联交易日(yyyyMMdd)",
  30626. "type": "string"
  30627. },
  30628. "tradeid": {
  30629. "description": "成交单号",
  30630. "type": "string"
  30631. },
  30632. "tradelot": {
  30633. "description": "成交手数",
  30634. "type": "integer"
  30635. },
  30636. "tradeprice": {
  30637. "description": "成交价",
  30638. "type": "number"
  30639. },
  30640. "tradetime": {
  30641. "description": "成交时间",
  30642. "type": "string"
  30643. },
  30644. "tradetradedate": {
  30645. "description": "成交交易日(yyyyMMdd)",
  30646. "type": "string"
  30647. }
  30648. }
  30649. },
  30650. "models.Loginaccount": {
  30651. "type": "object",
  30652. "required": [
  30653. "loginid"
  30654. ],
  30655. "properties": {
  30656. "accountname": {
  30657. "description": "账户名称",
  30658. "type": "string"
  30659. },
  30660. "canoutin": {
  30661. "description": "是否可出入金 - 0:不可 1:可",
  30662. "type": "integer"
  30663. },
  30664. "clientroleid": {
  30665. "description": "终端角色ID",
  30666. "type": "integer"
  30667. },
  30668. "haslogined": {
  30669. "description": "是否已登录 - 0:未登录 1:已登录",
  30670. "type": "integer"
  30671. },
  30672. "hasupdatedpwd": {
  30673. "description": "是否已更改密码 - 0:未修改 1:已修改",
  30674. "type": "integer"
  30675. },
  30676. "lastloginip": {
  30677. "description": "最新登录地址",
  30678. "type": "string"
  30679. },
  30680. "lastloginmode": {
  30681. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  30682. "type": "integer"
  30683. },
  30684. "lastloginremark": {
  30685. "description": "最新登录描述",
  30686. "type": "string"
  30687. },
  30688. "lastlogintime": {
  30689. "description": "最新登录时间",
  30690. "type": "string"
  30691. },
  30692. "logincode": {
  30693. "description": "登录代码",
  30694. "type": "string"
  30695. },
  30696. "loginfailnum": {
  30697. "description": "连续登录失败次数(登录成功时清零)",
  30698. "type": "integer"
  30699. },
  30700. "loginid": {
  30701. "description": "登陆账号",
  30702. "type": "integer"
  30703. },
  30704. "loginport": {
  30705. "description": "最新登录端口",
  30706. "type": "integer"
  30707. },
  30708. "loginstatus": {
  30709. "description": "登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)",
  30710. "type": "integer"
  30711. },
  30712. "loginusertype": {
  30713. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  30714. "type": "integer"
  30715. },
  30716. "mobile": {
  30717. "description": "手机号码(加密存储)",
  30718. "type": "string"
  30719. },
  30720. "modifierid": {
  30721. "description": "修改人",
  30722. "type": "integer"
  30723. },
  30724. "modifysrc": {
  30725. "description": "审核来源 - 1:管理端 2:终端",
  30726. "type": "integer"
  30727. },
  30728. "modifytime": {
  30729. "description": "修改时间",
  30730. "type": "string"
  30731. },
  30732. "password": {
  30733. "description": "登陆密码",
  30734. "type": "string"
  30735. },
  30736. "pwdwrongcount": {
  30737. "description": "密码错误次数",
  30738. "type": "integer"
  30739. },
  30740. "relateduserid": {
  30741. "description": "关联用户ID(机构)",
  30742. "type": "integer"
  30743. },
  30744. "taaccountrighttype": {
  30745. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  30746. "type": "integer"
  30747. },
  30748. "unfreezetime": {
  30749. "description": "账户解冻时间",
  30750. "type": "string"
  30751. },
  30752. "userid": {
  30753. "description": "用户ID",
  30754. "type": "integer"
  30755. }
  30756. }
  30757. },
  30758. "models.MainAccountInfo": {
  30759. "type": "object",
  30760. "properties": {
  30761. "accountid": {
  30762. "description": "账号id",
  30763. "type": "integer"
  30764. },
  30765. "accountname": {
  30766. "description": "账号名称(taaccount表中的名称)",
  30767. "type": "string"
  30768. },
  30769. "appid": {
  30770. "description": "AppID",
  30771. "type": "string"
  30772. },
  30773. "authcode": {
  30774. "description": "授权码",
  30775. "type": "string"
  30776. },
  30777. "brokerid": {
  30778. "description": "经纪商id",
  30779. "type": "string"
  30780. },
  30781. "fcid": {
  30782. "description": "期货公司id",
  30783. "type": "integer"
  30784. },
  30785. "fcname": {
  30786. "description": "期货公司代码",
  30787. "type": "string"
  30788. },
  30789. "hedgeaccountcode": {
  30790. "description": "外部账号代码(主账号登录代码)",
  30791. "type": "string"
  30792. },
  30793. "hedgeaccountpwd": {
  30794. "description": "密码",
  30795. "type": "string"
  30796. },
  30797. "ismain": {
  30798. "description": "是否主账号",
  30799. "type": "integer"
  30800. },
  30801. "relateduserid": {
  30802. "description": "关联用户id",
  30803. "type": "integer"
  30804. },
  30805. "userid": {
  30806. "description": "关联用户id",
  30807. "type": "integer"
  30808. }
  30809. }
  30810. },
  30811. "models.Market": {
  30812. "type": "object",
  30813. "required": [
  30814. "marketid",
  30815. "marketstatus",
  30816. "openmethod",
  30817. "reckonpricealgorithm",
  30818. "trademode",
  30819. "tradeproperty"
  30820. ],
  30821. "properties": {
  30822. "auctionwrtype": {
  30823. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  30824. "type": "integer"
  30825. },
  30826. "canacceptquote": {
  30827. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  30828. "type": "integer"
  30829. },
  30830. "cangoodsexercise": {
  30831. "description": "[期权]是否可现货行权- 0:否 1:是",
  30832. "type": "integer"
  30833. },
  30834. "cangoodsexercisetype": {
  30835. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  30836. "type": "integer"
  30837. },
  30838. "canmanualquotestrike": {
  30839. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  30840. "type": "integer"
  30841. },
  30842. "canmutistage": {
  30843. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  30844. "type": "integer"
  30845. },
  30846. "canpreexercise": {
  30847. "description": "[期权]是否可预申报- 0:否 1:是",
  30848. "type": "integer"
  30849. },
  30850. "clearinterval": {
  30851. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  30852. "type": "integer"
  30853. },
  30854. "contracttmp": {
  30855. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  30856. "type": "string"
  30857. },
  30858. "exchareaid": {
  30859. "description": "所属交易所,可以没有",
  30860. "type": "integer"
  30861. },
  30862. "goodstype": {
  30863. "description": "商品类型 - 1:交易商品 2:仓单商品",
  30864. "type": "integer"
  30865. },
  30866. "hasrebate": {
  30867. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  30868. "type": "integer"
  30869. },
  30870. "hastradecredit": {
  30871. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  30872. "type": "integer"
  30873. },
  30874. "haswr": {
  30875. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  30876. "type": "integer"
  30877. },
  30878. "isdeductmargin": {
  30879. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  30880. "type": "integer"
  30881. },
  30882. "isrecordsource": {
  30883. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  30884. "type": "integer"
  30885. },
  30886. "isreleasemargin": {
  30887. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  30888. "type": "integer"
  30889. },
  30890. "marginformula": {
  30891. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  30892. "type": "integer"
  30893. },
  30894. "marginformula2": {
  30895. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  30896. "type": "integer"
  30897. },
  30898. "marketid": {
  30899. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  30900. "type": "integer"
  30901. },
  30902. "marketname": {
  30903. "description": "市场名称",
  30904. "type": "string"
  30905. },
  30906. "marketserviceid": {
  30907. "description": "市场服务ID",
  30908. "type": "integer"
  30909. },
  30910. "marketstatus": {
  30911. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  30912. "type": "integer"
  30913. },
  30914. "markettype": {
  30915. "description": "市场类型- 1:非交易服务 2:交易服务",
  30916. "type": "integer"
  30917. },
  30918. "matchermode": {
  30919. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  30920. "type": "integer"
  30921. },
  30922. "openmethod": {
  30923. "description": "开盘模式 - 0 自动 1手动",
  30924. "type": "integer"
  30925. },
  30926. "otcuserid": {
  30927. "description": "场外期权做市商[场外期权]",
  30928. "type": "integer"
  30929. },
  30930. "outersynctime": {
  30931. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  30932. "type": "string"
  30933. },
  30934. "pendingflag": {
  30935. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  30936. "type": "integer"
  30937. },
  30938. "pendingtime": {
  30939. "description": "待开市时间[通道交易-对冲](HH:mm)",
  30940. "type": "string"
  30941. },
  30942. "performancetempid": {
  30943. "description": "履约计划模板ID - 作废",
  30944. "type": "integer"
  30945. },
  30946. "premiumquotemode": {
  30947. "description": "权利金报价方式 - 1:自动 2:手动",
  30948. "type": "integer"
  30949. },
  30950. "rebateratio": {
  30951. "description": "返利比率[竞价式]",
  30952. "type": "number"
  30953. },
  30954. "reckonorder": {
  30955. "description": "结算顺序",
  30956. "type": "integer"
  30957. },
  30958. "reckonpricealgorithm": {
  30959. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  30960. "type": "integer"
  30961. },
  30962. "reckonpriceparam": {
  30963. "description": "结算价参数",
  30964. "type": "integer"
  30965. },
  30966. "reckontime": {
  30967. "description": "结算时间[通道交易-对冲](HH:mm)",
  30968. "type": "string"
  30969. },
  30970. "roleprioritytype": {
  30971. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  30972. "type": "integer"
  30973. },
  30974. "selllistingauditflag": {
  30975. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  30976. "type": "integer"
  30977. },
  30978. "trademarkettype": {
  30979. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  30980. "type": "integer"
  30981. },
  30982. "trademode": {
  30983. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  30984. "type": "integer"
  30985. },
  30986. "tradeproperty": {
  30987. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  30988. "type": "integer"
  30989. },
  30990. "tradetype": {
  30991. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  30992. "type": "integer"
  30993. }
  30994. }
  30995. },
  30996. "models.Marketrun": {
  30997. "type": "object",
  30998. "required": [
  30999. "marketid",
  31000. "nexttradedate",
  31001. "reckonflag",
  31002. "runstatus",
  31003. "tradedate",
  31004. "tradedate2"
  31005. ],
  31006. "properties": {
  31007. "afternexttradedate": {
  31008. "description": "下下交易日",
  31009. "type": "string"
  31010. },
  31011. "clearquoteflag": {
  31012. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  31013. "type": "integer"
  31014. },
  31015. "lastreckondate": {
  31016. "description": "最新交易日(结算成功)",
  31017. "type": "string"
  31018. },
  31019. "machinedate": {
  31020. "description": "机器时间",
  31021. "type": "string"
  31022. },
  31023. "manualflag": {
  31024. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  31025. "type": "integer"
  31026. },
  31027. "marketid": {
  31028. "description": "市场ID",
  31029. "type": "integer"
  31030. },
  31031. "nexttradedate": {
  31032. "description": "下一交易日",
  31033. "type": "string"
  31034. },
  31035. "pretradedate": {
  31036. "description": "上一交易日",
  31037. "type": "string"
  31038. },
  31039. "reckonflag": {
  31040. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  31041. "type": "integer"
  31042. },
  31043. "runstatus": {
  31044. "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.今日免清算",
  31045. "type": "integer"
  31046. },
  31047. "sectionid": {
  31048. "description": "时间段号[多时段时用]",
  31049. "type": "integer"
  31050. },
  31051. "tradedate": {
  31052. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  31053. "type": "string"
  31054. },
  31055. "tradedate2": {
  31056. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  31057. "type": "string"
  31058. },
  31059. "updatetime": {
  31060. "description": "更新时间",
  31061. "type": "string"
  31062. }
  31063. }
  31064. },
  31065. "models.Messageboard": {
  31066. "type": "object",
  31067. "required": [
  31068. "messageboardid"
  31069. ],
  31070. "properties": {
  31071. "contactnum": {
  31072. "description": "联系电话",
  31073. "type": "string"
  31074. },
  31075. "createtime": {
  31076. "description": "创建时间",
  31077. "type": "string"
  31078. },
  31079. "message": {
  31080. "description": "留言信息",
  31081. "type": "string"
  31082. },
  31083. "messageboardid": {
  31084. "description": "留言簿ID(SEQ_MessageBoard)",
  31085. "type": "integer"
  31086. },
  31087. "userid": {
  31088. "description": "用户ID",
  31089. "type": "integer"
  31090. }
  31091. }
  31092. },
  31093. "models.MyCoupon": {
  31094. "type": "object",
  31095. "required": [
  31096. "accountid",
  31097. "coupontypeid"
  31098. ],
  31099. "properties": {
  31100. "accountid": {
  31101. "description": "资金账户ID",
  31102. "type": "integer"
  31103. },
  31104. "areauserid": {
  31105. "description": "所属机构",
  31106. "type": "integer"
  31107. },
  31108. "conditionvalue": {
  31109. "description": "条件阈值(可为0)",
  31110. "type": "number"
  31111. },
  31112. "couponcategroy": {
  31113. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  31114. "type": "integer"
  31115. },
  31116. "couponname": {
  31117. "description": "优惠券名称",
  31118. "type": "string"
  31119. },
  31120. "coupontypeid": {
  31121. "description": "优惠券类型ID",
  31122. "type": "string"
  31123. },
  31124. "couponvalue": {
  31125. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  31126. "type": "number"
  31127. },
  31128. "curfreezeqty": {
  31129. "description": "期末冻结数量",
  31130. "type": "integer"
  31131. },
  31132. "curqty": {
  31133. "description": "期末数量",
  31134. "type": "integer"
  31135. },
  31136. "isgeneral": {
  31137. "description": "是否通用券 - 0:否 1:是",
  31138. "type": "integer"
  31139. },
  31140. "isunusable": {
  31141. "description": "是否不可用",
  31142. "type": "boolean"
  31143. },
  31144. "limitedflag": {
  31145. "description": "是否指定商品 - 0:不限 1:限制",
  31146. "type": "integer"
  31147. },
  31148. "limitedgoodsids": {
  31149. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  31150. "type": "string"
  31151. },
  31152. "orifreezeqty": {
  31153. "description": "期初冻结数量",
  31154. "type": "integer"
  31155. },
  31156. "oriqty": {
  31157. "description": "期初数量",
  31158. "type": "integer"
  31159. },
  31160. "reasontype": {
  31161. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  31162. "type": "integer"
  31163. },
  31164. "todaydecrease": {
  31165. "description": "今日减少",
  31166. "type": "integer"
  31167. },
  31168. "todayincrease": {
  31169. "description": "今日增加",
  31170. "type": "integer"
  31171. },
  31172. "userid": {
  31173. "description": "用户ID",
  31174. "type": "integer"
  31175. },
  31176. "userscope": {
  31177. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  31178. "type": "string"
  31179. }
  31180. }
  31181. },
  31182. "models.MyCouponHold": {
  31183. "type": "object",
  31184. "required": [
  31185. "couponholdid"
  31186. ],
  31187. "properties": {
  31188. "accountid": {
  31189. "description": "资金账户ID",
  31190. "type": "integer"
  31191. },
  31192. "conditionvalue": {
  31193. "description": "条件阈值(可为0)",
  31194. "type": "number"
  31195. },
  31196. "couponcategroy": {
  31197. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  31198. "type": "integer"
  31199. },
  31200. "couponholdid": {
  31201. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  31202. "type": "string"
  31203. },
  31204. "couponname": {
  31205. "description": "优惠券名称",
  31206. "type": "string"
  31207. },
  31208. "coupontypeid": {
  31209. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  31210. "type": "string"
  31211. },
  31212. "couponvalue": {
  31213. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  31214. "type": "number"
  31215. },
  31216. "createtime": {
  31217. "description": "创建时间",
  31218. "type": "string"
  31219. },
  31220. "enddate": {
  31221. "description": "结束日期",
  31222. "type": "string"
  31223. },
  31224. "giveapplyid": {
  31225. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  31226. "type": "integer"
  31227. },
  31228. "holdstatus": {
  31229. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  31230. "type": "integer"
  31231. },
  31232. "isgeneral": {
  31233. "description": "是否通用券 - 0:否 1:是",
  31234. "type": "integer"
  31235. },
  31236. "limitedflag": {
  31237. "description": "是否指定商品 - 0:不限 1:限制",
  31238. "type": "integer"
  31239. },
  31240. "limitedgoodsids": {
  31241. "description": "指定商品IDs[逗号分隔]",
  31242. "type": "string"
  31243. },
  31244. "qty": {
  31245. "description": "数量(按1平铺)",
  31246. "type": "integer"
  31247. },
  31248. "startdate": {
  31249. "description": "开始日期",
  31250. "type": "string"
  31251. },
  31252. "userid": {
  31253. "description": "用户ID",
  31254. "type": "integer"
  31255. },
  31256. "userscope": {
  31257. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  31258. "type": "string"
  31259. }
  31260. }
  31261. },
  31262. "models.MyUsedCoupon": {
  31263. "type": "object",
  31264. "required": [
  31265. "coupontypeid",
  31266. "orderid"
  31267. ],
  31268. "properties": {
  31269. "accountid": {
  31270. "description": "资金账户ID(买方)",
  31271. "type": "integer"
  31272. },
  31273. "conditionvalue": {
  31274. "description": "条件阈值(可为0)",
  31275. "type": "number"
  31276. },
  31277. "couponcategroy": {
  31278. "description": "种类 - 1:现金券 2:折扣券",
  31279. "type": "integer"
  31280. },
  31281. "couponname": {
  31282. "description": "优惠券名称",
  31283. "type": "string"
  31284. },
  31285. "coupontypeid": {
  31286. "description": "优惠券类型ID(买方)",
  31287. "type": "string"
  31288. },
  31289. "couponvalue": {
  31290. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  31291. "type": "number"
  31292. },
  31293. "createtime": {
  31294. "description": "创建时间",
  31295. "type": "string"
  31296. },
  31297. "goodsid": {
  31298. "description": "商品ID",
  31299. "type": "integer"
  31300. },
  31301. "handlestatus": {
  31302. "description": "处理状态",
  31303. "type": "integer"
  31304. },
  31305. "marketid": {
  31306. "description": "市场ID",
  31307. "type": "integer"
  31308. },
  31309. "offamount": {
  31310. "description": "优惠金额",
  31311. "type": "number"
  31312. },
  31313. "orderid": {
  31314. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  31315. "type": "string"
  31316. },
  31317. "sellaccountid": {
  31318. "description": "资金账户ID(卖方)",
  31319. "type": "integer"
  31320. },
  31321. "tradeamount": {
  31322. "description": "成交金额",
  31323. "type": "number"
  31324. },
  31325. "tradeid": {
  31326. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  31327. "type": "string"
  31328. },
  31329. "usedqty": {
  31330. "description": "使用数量",
  31331. "type": "integer"
  31332. }
  31333. }
  31334. },
  31335. "models.OperationPrimaryMenu": {
  31336. "type": "object",
  31337. "properties": {
  31338. "Children": {
  31339. "description": "二级功能菜单",
  31340. "type": "array",
  31341. "items": {
  31342. "$ref": "#/definitions/models.OperationSecondaryMenu"
  31343. }
  31344. },
  31345. "Key": {
  31346. "description": "菜单KEY",
  31347. "type": "string"
  31348. },
  31349. "Label": {
  31350. "description": "菜单标题",
  31351. "type": "string"
  31352. }
  31353. }
  31354. },
  31355. "models.OperationSecondaryMenu": {
  31356. "type": "object",
  31357. "properties": {
  31358. "Key": {
  31359. "description": "菜单KEY",
  31360. "type": "string"
  31361. },
  31362. "Label": {
  31363. "description": "菜单标题",
  31364. "type": "string"
  31365. },
  31366. "TabList": {
  31367. "description": "三级功能菜单",
  31368. "type": "array",
  31369. "items": {
  31370. "$ref": "#/definitions/models.OperationTabMenu"
  31371. }
  31372. }
  31373. }
  31374. },
  31375. "models.OperationTabMenu": {
  31376. "type": "object",
  31377. "properties": {
  31378. "Key": {
  31379. "description": "菜单KEY",
  31380. "type": "string"
  31381. },
  31382. "Label": {
  31383. "description": "菜单标题",
  31384. "type": "string"
  31385. }
  31386. }
  31387. },
  31388. "models.Patradelinkdetail": {
  31389. "type": "object",
  31390. "properties": {
  31391. "accountname": {
  31392. "description": "套期主体",
  31393. "type": "string"
  31394. },
  31395. "agreeunit": {
  31396. "description": "合约乘数",
  31397. "type": "number"
  31398. },
  31399. "amount": {
  31400. "description": "金额 = RelatedLot * TradePrice * AgreeUnit",
  31401. "type": "number"
  31402. },
  31403. "areauserid": {
  31404. "description": "所属机构",
  31405. "type": "integer"
  31406. },
  31407. "bizsubjectid": {
  31408. "description": "归属业务部门ID - SubjectID",
  31409. "type": "integer"
  31410. },
  31411. "buyorsell": {
  31412. "description": "方向 - 0:买 1:卖",
  31413. "type": "integer"
  31414. },
  31415. "convertratio": {
  31416. "description": "品种系数",
  31417. "type": "number"
  31418. },
  31419. "convertratiochange": {
  31420. "description": "套期商品变化量 = RelatedLot * AgreeUnit * ConvertRatio",
  31421. "type": "number"
  31422. },
  31423. "createtime": {
  31424. "description": "[日期时间]创建时间",
  31425. "type": "string"
  31426. },
  31427. "creatorid": {
  31428. "description": "创建人ID",
  31429. "type": "integer"
  31430. },
  31431. "creatorsrc": {
  31432. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  31433. "type": "integer"
  31434. },
  31435. "goodscode": {
  31436. "description": "商品代码(内部)",
  31437. "type": "string"
  31438. },
  31439. "goodsgroupid": {
  31440. "description": "对冲品种ID[期货合约商品组ID]",
  31441. "type": "integer"
  31442. },
  31443. "goodsid": {
  31444. "description": "商品ID",
  31445. "type": "integer"
  31446. },
  31447. "hedgeditemid": {
  31448. "description": "现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]",
  31449. "type": "integer"
  31450. },
  31451. "hedgeflag": {
  31452. "description": "投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目",
  31453. "type": "integer"
  31454. },
  31455. "linkdetailid": {
  31456. "description": "期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)",
  31457. "type": "string"
  31458. },
  31459. "linkstatus": {
  31460. "description": "关联状态 - 1:成功 2:失败 3:解绑",
  31461. "type": "integer"
  31462. },
  31463. "middlegoodsid": {
  31464. "description": "套保品种ID",
  31465. "type": "integer"
  31466. },
  31467. "name": {
  31468. "description": "账户名/子账户",
  31469. "type": "string"
  31470. },
  31471. "optioncode": {
  31472. "description": "[期货合约]期权代码 [期权]",
  31473. "type": "string"
  31474. },
  31475. "ordertype": {
  31476. "description": "单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单",
  31477. "type": "integer"
  31478. },
  31479. "relatedlot": {
  31480. "description": "[数量]关联手数",
  31481. "type": "number"
  31482. },
  31483. "relatedmode": {
  31484. "description": "关联方式 - 1:自动关联 2:手动关联 3:解绑关联",
  31485. "type": "integer"
  31486. },
  31487. "relatedqty": {
  31488. "description": "关联数量 = RelatedLot * AgreeUnit * ConvertRatio",
  31489. "type": "number"
  31490. },
  31491. "retcode": {
  31492. "description": "返回码",
  31493. "type": "integer"
  31494. },
  31495. "saleuserid": {
  31496. "description": "业务员ID",
  31497. "type": "integer"
  31498. },
  31499. "tradedate": {
  31500. "description": "关联交易日(yyyyMMdd)",
  31501. "type": "string"
  31502. },
  31503. "tradeid": {
  31504. "description": "[成交单号]内部成交单ID",
  31505. "type": "string"
  31506. },
  31507. "tradelot": {
  31508. "description": "成交手数",
  31509. "type": "integer"
  31510. },
  31511. "tradeprice": {
  31512. "description": "[价格]成交价格",
  31513. "type": "number"
  31514. },
  31515. "tradetradedate": {
  31516. "description": "成交交易日(yyyyMMdd)",
  31517. "type": "string"
  31518. }
  31519. }
  31520. },
  31521. "models.QhjAccountOutInApply": {
  31522. "type": "object",
  31523. "properties": {
  31524. "accountcode": {
  31525. "description": "资金账号",
  31526. "type": "string"
  31527. },
  31528. "accountname": {
  31529. "description": "用户名称(名称)",
  31530. "type": "string"
  31531. },
  31532. "accountpwd": {
  31533. "description": "资金密码",
  31534. "type": "string"
  31535. },
  31536. "accountticket": {
  31537. "description": "最新账户服务流水号",
  31538. "type": "string"
  31539. },
  31540. "amount": {
  31541. "description": "金额",
  31542. "type": "number"
  31543. },
  31544. "applyremark": {
  31545. "description": "申请备注",
  31546. "type": "string"
  31547. },
  31548. "applystatus": {
  31549. "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: 复审通过,账户冻结金额检查中;",
  31550. "type": "integer"
  31551. },
  31552. "auditid": {
  31553. "description": "审核人",
  31554. "type": "integer"
  31555. },
  31556. "audittime": {
  31557. "description": "审核时间",
  31558. "type": "string"
  31559. },
  31560. "bank_apply_ticket": {
  31561. "description": "银行申请流水",
  31562. "type": "string"
  31563. },
  31564. "bankaccountname": {
  31565. "description": "银行账户名",
  31566. "type": "string"
  31567. },
  31568. "bankaccountno": {
  31569. "description": "银行卡号",
  31570. "type": "string"
  31571. },
  31572. "bankid": {
  31573. "description": "银行编号",
  31574. "type": "string"
  31575. },
  31576. "bankticket": {
  31577. "description": "银行流水",
  31578. "type": "string"
  31579. },
  31580. "branchbankid": {
  31581. "description": "银行支行号",
  31582. "type": "string"
  31583. },
  31584. "branchbankname": {
  31585. "description": "银行支行名称",
  31586. "type": "string"
  31587. },
  31588. "capamountout": {
  31589. "description": "出金(劣后本金) - 外部子账户",
  31590. "type": "number"
  31591. },
  31592. "certificatephotourl": {
  31593. "description": "凭证地址",
  31594. "type": "string"
  31595. },
  31596. "charge": {
  31597. "description": "手续费",
  31598. "type": "number"
  31599. },
  31600. "checkerrorflag": {
  31601. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  31602. "type": "integer"
  31603. },
  31604. "currency": {
  31605. "description": "币种",
  31606. "type": "string"
  31607. },
  31608. "cusbankid": {
  31609. "description": "托管银行编号",
  31610. "type": "string"
  31611. },
  31612. "exchticket": {
  31613. "description": "银行服务流水号",
  31614. "type": "string"
  31615. },
  31616. "executetype": {
  31617. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  31618. "type": "integer"
  31619. },
  31620. "extendinfo": {
  31621. "description": "扩展信息",
  31622. "type": "string"
  31623. },
  31624. "extoperateid": {
  31625. "description": "交易服务流水号",
  31626. "type": "integer"
  31627. },
  31628. "infamount": {
  31629. "description": "劣后金额(自有)",
  31630. "type": "number"
  31631. },
  31632. "logincode": {
  31633. "description": "登录账号(账号)",
  31634. "type": "string"
  31635. },
  31636. "netaddr": {
  31637. "description": "调转网址",
  31638. "type": "string"
  31639. },
  31640. "priamount": {
  31641. "description": "优先金额(授信)",
  31642. "type": "number"
  31643. },
  31644. "reauditid": {
  31645. "description": "复审人",
  31646. "type": "integer"
  31647. },
  31648. "reauditremark": {
  31649. "description": "复审备注",
  31650. "type": "string"
  31651. },
  31652. "reaudittime": {
  31653. "description": "复审时间",
  31654. "type": "string"
  31655. },
  31656. "relatedorderid": {
  31657. "description": "三方关联ID",
  31658. "type": "string"
  31659. },
  31660. "remark": {
  31661. "description": "备注",
  31662. "type": "string"
  31663. },
  31664. "remark2": {
  31665. "description": "备注(失败原因)",
  31666. "type": "string"
  31667. },
  31668. "soucreamount": {
  31669. "description": "原始出入金金额",
  31670. "type": "number"
  31671. },
  31672. "soucrecurrencyid": {
  31673. "description": "原始出入金币种",
  31674. "type": "integer"
  31675. },
  31676. "tradedate": {
  31677. "description": "交易日(yyyyMMdd)",
  31678. "type": "string"
  31679. },
  31680. "updatetime": {
  31681. "description": "更新时间(申请时间)",
  31682. "type": "string"
  31683. },
  31684. "userid": {
  31685. "description": "用户id",
  31686. "type": "integer"
  31687. },
  31688. "userinfotype": {
  31689. "description": "账户类型 1-个人 2-企业",
  31690. "type": "integer"
  31691. }
  31692. }
  31693. },
  31694. "models.QhjAgreementChangeLog": {
  31695. "type": "object",
  31696. "properties": {
  31697. "agreementcontent": {
  31698. "description": "协议内容",
  31699. "type": "string"
  31700. },
  31701. "agreementfrequency": {
  31702. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  31703. "type": "integer"
  31704. },
  31705. "agreementid": {
  31706. "description": "协议ID",
  31707. "type": "integer"
  31708. },
  31709. "agreementname": {
  31710. "description": "协议名称",
  31711. "type": "string"
  31712. },
  31713. "agreementno": {
  31714. "description": "协议编号",
  31715. "type": "string"
  31716. },
  31717. "agreementtype": {
  31718. "description": "协议类型 - 1:注册 2:登录 3:交易",
  31719. "type": "integer"
  31720. },
  31721. "agreementversion": {
  31722. "description": "协议版本号",
  31723. "type": "integer"
  31724. },
  31725. "logid": {
  31726. "description": "流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)",
  31727. "type": "integer"
  31728. },
  31729. "reviserid": {
  31730. "description": "修改人",
  31731. "type": "integer"
  31732. },
  31733. "revisersrc": {
  31734. "description": "修改来源 - 1:管理端 2:终端",
  31735. "type": "integer"
  31736. },
  31737. "updatetime": {
  31738. "description": "更新时间",
  31739. "type": "string"
  31740. }
  31741. }
  31742. },
  31743. "models.QhjAgreementConfig": {
  31744. "type": "object",
  31745. "properties": {
  31746. "agreementcontent": {
  31747. "description": "协议内容",
  31748. "type": "string"
  31749. },
  31750. "agreementfrequency": {
  31751. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  31752. "type": "integer"
  31753. },
  31754. "agreementid": {
  31755. "description": "协议ID(SEQ_QHJ_AGREEMENTCONFIG)",
  31756. "type": "integer"
  31757. },
  31758. "agreementname": {
  31759. "description": "协议名称",
  31760. "type": "string"
  31761. },
  31762. "agreementno": {
  31763. "description": "协议编号",
  31764. "type": "string"
  31765. },
  31766. "agreementtype": {
  31767. "description": "协议类型 - 1:注册 2:登录 3:交易",
  31768. "type": "integer"
  31769. },
  31770. "agreementversion": {
  31771. "description": "协议版本号(从1开始每次修改加1)",
  31772. "type": "integer"
  31773. },
  31774. "createtime": {
  31775. "description": "创建时间",
  31776. "type": "string"
  31777. },
  31778. "creatorid": {
  31779. "description": "创建人",
  31780. "type": "integer"
  31781. },
  31782. "creatorsrc": {
  31783. "description": "创建来源 - 1:管理端 2:终端",
  31784. "type": "integer"
  31785. },
  31786. "isvalid": {
  31787. "description": "是否有效 - 是否有效 - 1:正常 2:停用 3:注销",
  31788. "type": "integer"
  31789. },
  31790. "reviserid": {
  31791. "description": "修改人",
  31792. "type": "integer"
  31793. },
  31794. "revisersrc": {
  31795. "description": "修改来源 - 1:管理端 2:终端",
  31796. "type": "integer"
  31797. },
  31798. "updatetime": {
  31799. "description": "更新时间",
  31800. "type": "string"
  31801. }
  31802. }
  31803. },
  31804. "models.QhjAreaFinanceConfig": {
  31805. "type": "object",
  31806. "properties": {
  31807. "additionalratio": {
  31808. "description": "追加款比例",
  31809. "type": "number"
  31810. },
  31811. "advanceratio": {
  31812. "description": "预付款比例",
  31813. "type": "number"
  31814. },
  31815. "alarmratio": {
  31816. "description": "告警比例",
  31817. "type": "number"
  31818. },
  31819. "consumptiondirectreward": {
  31820. "description": "消费直推奖励值",
  31821. "type": "number"
  31822. },
  31823. "consumptionenabled": {
  31824. "description": "是否启用消费奖励 - 0:不启用 1:启用",
  31825. "type": "integer"
  31826. },
  31827. "consumptionindirectreward": {
  31828. "description": "消费间推奖励值",
  31829. "type": "number"
  31830. },
  31831. "consumptionmodel": {
  31832. "description": "消费奖励方式 - 1:比率 2:固定",
  31833. "type": "integer"
  31834. },
  31835. "customerservicenum": {
  31836. "description": "客服电话",
  31837. "type": "string"
  31838. },
  31839. "dayinterestrate": {
  31840. "description": "日利率",
  31841. "type": "number"
  31842. },
  31843. "disableconsumptiontips": {
  31844. "description": "关闭消费奖励提示",
  31845. "type": "string"
  31846. },
  31847. "modifierid": {
  31848. "description": "修改人ID",
  31849. "type": "integer"
  31850. },
  31851. "modifysrc": {
  31852. "description": "审核来源 - 1:管理端 2:终端",
  31853. "type": "integer"
  31854. },
  31855. "modifytime": {
  31856. "description": "修改时间",
  31857. "type": "string"
  31858. },
  31859. "promotionvalue": {
  31860. "description": "推广奖励值(固定)",
  31861. "type": "number"
  31862. },
  31863. "scoreconfigvalue1": {
  31864. "description": "提货积分配置1",
  31865. "type": "integer"
  31866. },
  31867. "scoreconfigvalue2": {
  31868. "description": "提货积分配置2",
  31869. "type": "integer"
  31870. },
  31871. "userid": {
  31872. "description": "机构用户ID其他做市关系,都设置为 1",
  31873. "type": "integer"
  31874. },
  31875. "username": {
  31876. "description": "用户名称",
  31877. "type": "string"
  31878. }
  31879. }
  31880. },
  31881. "models.QhjBankAccountSign": {
  31882. "type": "object",
  31883. "properties": {
  31884. "accountcode": {
  31885. "description": "资金账号",
  31886. "type": "string"
  31887. },
  31888. "accountname": {
  31889. "description": "资金账号对应的账号名(UserName)",
  31890. "type": "string"
  31891. },
  31892. "accountname2": {
  31893. "description": "资金账号对应的账号名(UserName) - 密文",
  31894. "type": "string"
  31895. },
  31896. "accounttype": {
  31897. "description": "账户类型(UserType)",
  31898. "type": "integer"
  31899. },
  31900. "applicationtime": {
  31901. "description": "最后一次更新的时间",
  31902. "type": "string"
  31903. },
  31904. "applyexchticket": {
  31905. "description": "申请流水",
  31906. "type": "string"
  31907. },
  31908. "auditid": {
  31909. "description": "审核人",
  31910. "type": "integer"
  31911. },
  31912. "audittime": {
  31913. "description": "审核时间",
  31914. "type": "string"
  31915. },
  31916. "bankaccountname": {
  31917. "description": "签约银行卡账号名",
  31918. "type": "string"
  31919. },
  31920. "bankaccountname2": {
  31921. "description": "签约银行卡账号名 - 密文",
  31922. "type": "string"
  31923. },
  31924. "bankaccountno": {
  31925. "description": "银行卡号",
  31926. "type": "string"
  31927. },
  31928. "bankaccountno2": {
  31929. "description": "银行卡号 - 密文",
  31930. "type": "string"
  31931. },
  31932. "bankaccounttype": {
  31933. "description": "银行账户类型 - 1-对私; 2-对公",
  31934. "type": "integer"
  31935. },
  31936. "bankcardtype": {
  31937. "description": "银行卡类型",
  31938. "type": "integer"
  31939. },
  31940. "bankchildaccount": {
  31941. "description": "银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)",
  31942. "type": "string"
  31943. },
  31944. "bankcity": {
  31945. "description": "开户行城市",
  31946. "type": "string"
  31947. },
  31948. "bankid": {
  31949. "description": "签约银行ID",
  31950. "type": "string"
  31951. },
  31952. "bankname": {
  31953. "description": "签约银行名称",
  31954. "type": "string"
  31955. },
  31956. "bankprovince": {
  31957. "description": "开户行省份",
  31958. "type": "string"
  31959. },
  31960. "branchbankid": {
  31961. "description": "签约银行支行号",
  31962. "type": "string"
  31963. },
  31964. "branchbankname": {
  31965. "description": "签约银行支行名称",
  31966. "type": "string"
  31967. },
  31968. "cardno": {
  31969. "description": "证件号码",
  31970. "type": "string"
  31971. },
  31972. "cardno2": {
  31973. "description": "证件号码 - 密文",
  31974. "type": "string"
  31975. },
  31976. "cardtype": {
  31977. "description": "证件类型",
  31978. "type": "string"
  31979. },
  31980. "currency": {
  31981. "description": "币种",
  31982. "type": "string"
  31983. },
  31984. "cusbankid": {
  31985. "description": "托管银行编号",
  31986. "type": "string"
  31987. },
  31988. "direct": {
  31989. "description": "方向(可以判断那方先发起的签约)",
  31990. "type": "integer"
  31991. },
  31992. "exchticket": {
  31993. "description": "最后一次签约成功的流水号",
  31994. "type": "string"
  31995. },
  31996. "extendinfo": {
  31997. "description": "扩展信息(JSON字符串)",
  31998. "type": "string"
  31999. },
  32000. "mobilephone": {
  32001. "description": "手机号",
  32002. "type": "string"
  32003. },
  32004. "mobilephone2": {
  32005. "description": "手机号 - 密文",
  32006. "type": "string"
  32007. },
  32008. "netaddr": {
  32009. "description": "调转网址",
  32010. "type": "string"
  32011. },
  32012. "relateduserid": {
  32013. "description": "关联使用者userid",
  32014. "type": "integer"
  32015. },
  32016. "signstatus": {
  32017. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中 10:审核拒绝 11:换签待审核",
  32018. "type": "integer"
  32019. },
  32020. "updatetime": {
  32021. "description": "更新时间(签解约更新时间)",
  32022. "type": "string"
  32023. }
  32024. }
  32025. },
  32026. "models.QhjBankInfo": {
  32027. "type": "object",
  32028. "properties": {
  32029. "bankid": {
  32030. "description": "银行ID",
  32031. "type": "string"
  32032. },
  32033. "bankname": {
  32034. "description": "银行名称",
  32035. "type": "string"
  32036. },
  32037. "clearbankno": {
  32038. "description": "清算系统银行编号",
  32039. "type": "string"
  32040. },
  32041. "orderindex": {
  32042. "description": "排序顺序",
  32043. "type": "integer"
  32044. },
  32045. "status": {
  32046. "description": "状态 - 0:正常 1:注销",
  32047. "type": "integer"
  32048. }
  32049. }
  32050. },
  32051. "models.QhjBrokerApply": {
  32052. "type": "object",
  32053. "properties": {
  32054. "applicantid": {
  32055. "description": "申请人",
  32056. "type": "integer"
  32057. },
  32058. "applysrc": {
  32059. "description": "申请来源 - 1:管理端 2:终端",
  32060. "type": "integer"
  32061. },
  32062. "applystatus": {
  32063. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  32064. "type": "integer"
  32065. },
  32066. "applytime": {
  32067. "description": "申请时间",
  32068. "type": "string"
  32069. },
  32070. "auditorid": {
  32071. "description": "审核人",
  32072. "type": "integer"
  32073. },
  32074. "auditremark": {
  32075. "description": "审核备注",
  32076. "type": "string"
  32077. },
  32078. "auditsrc": {
  32079. "description": "审核来源 - 1:管理端 2:终端",
  32080. "type": "integer"
  32081. },
  32082. "audittime": {
  32083. "description": "审核时间",
  32084. "type": "string"
  32085. },
  32086. "audittradedate": {
  32087. "description": "审核交易日(yyyyMMdd)",
  32088. "type": "string"
  32089. },
  32090. "brokerapplyid": {
  32091. "description": "申请ID(SEQ_BROKERAPPLY)",
  32092. "type": "integer"
  32093. },
  32094. "cardbackphotourl": {
  32095. "description": "证件背面图片地址",
  32096. "type": "string"
  32097. },
  32098. "cardfrontphotourl": {
  32099. "description": "证件正面图片地址",
  32100. "type": "string"
  32101. },
  32102. "cardnum": {
  32103. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  32104. "type": "string"
  32105. },
  32106. "customername": {
  32107. "description": "姓名",
  32108. "type": "string"
  32109. },
  32110. "logincode": {
  32111. "description": "登录代码",
  32112. "type": "string"
  32113. },
  32114. "mobile": {
  32115. "description": "手机号码",
  32116. "type": "string"
  32117. },
  32118. "parentuserid": {
  32119. "description": "所属机构id",
  32120. "type": "integer"
  32121. },
  32122. "parentusername": {
  32123. "description": "所属机构名称",
  32124. "type": "string"
  32125. },
  32126. "refereeuserid": {
  32127. "description": "推荐人id(经纪人)",
  32128. "type": "integer"
  32129. },
  32130. "refernum": {
  32131. "description": "推荐码",
  32132. "type": "string"
  32133. },
  32134. "remark": {
  32135. "description": "备注",
  32136. "type": "string"
  32137. },
  32138. "subarealevelpath": {
  32139. "description": "层级路径",
  32140. "type": "string"
  32141. },
  32142. "tradedate": {
  32143. "description": "交易日(yyyyMMdd)",
  32144. "type": "string"
  32145. },
  32146. "userid": {
  32147. "description": "申请人用户ID",
  32148. "type": "integer"
  32149. },
  32150. "userinfotype": {
  32151. "description": "用户类型 1-个人 2-企业",
  32152. "type": "integer"
  32153. },
  32154. "username": {
  32155. "description": "用户名称",
  32156. "type": "string"
  32157. }
  32158. }
  32159. },
  32160. "models.QhjBrokerApplyEx": {
  32161. "type": "object",
  32162. "properties": {
  32163. "applylist": {
  32164. "description": "经纪人申请记录(只返回最新一条)",
  32165. "type": "array",
  32166. "items": {
  32167. "$ref": "#/definitions/models.QhjBrokerApply"
  32168. }
  32169. },
  32170. "canrecommend": {
  32171. "description": "是否经纪人 0-不是 1-是",
  32172. "type": "integer"
  32173. },
  32174. "refernum": {
  32175. "description": "推荐码",
  32176. "type": "string"
  32177. },
  32178. "userid": {
  32179. "description": "用户id",
  32180. "type": "integer"
  32181. },
  32182. "userinfotype": {
  32183. "description": "用户类型 1-个人 2-企业",
  32184. "type": "integer"
  32185. }
  32186. }
  32187. },
  32188. "models.QhjBrokerRewardLog": {
  32189. "type": "object",
  32190. "properties": {
  32191. "accountid": {
  32192. "description": "资金账号ID",
  32193. "type": "integer"
  32194. },
  32195. "createtime": {
  32196. "description": "创建时间(时间)",
  32197. "type": "string"
  32198. },
  32199. "handlestatus": {
  32200. "description": "处理状态",
  32201. "type": "integer"
  32202. },
  32203. "logid": {
  32204. "description": "奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  32205. "type": "string"
  32206. },
  32207. "marketid": {
  32208. "description": "市场ID",
  32209. "type": "integer"
  32210. },
  32211. "mmaccountid": {
  32212. "description": "做市商资金账号ID",
  32213. "type": "string"
  32214. },
  32215. "mmuserid": {
  32216. "description": "做市商用户ID",
  32217. "type": "string"
  32218. },
  32219. "rewardamount": {
  32220. "description": "奖励金额",
  32221. "type": "number"
  32222. },
  32223. "rewardmodel": {
  32224. "description": "消费奖励方式 - 1:比率 2:固定",
  32225. "type": "integer"
  32226. },
  32227. "rewardtype": {
  32228. "description": "奖励类型 - 1:推广 2:消费1级 3:消费2级",
  32229. "type": "integer"
  32230. },
  32231. "rewardvalue": {
  32232. "description": "配置奖励值",
  32233. "type": "number"
  32234. },
  32235. "srcamount": {
  32236. "description": "成交金额 [消费奖励] (金额)",
  32237. "type": "number"
  32238. },
  32239. "srcgoodsid": {
  32240. "description": "来源商品ID [消费奖励]",
  32241. "type": "string"
  32242. },
  32243. "srctime": {
  32244. "description": "来源时间 (成交时间) [消费奖励]",
  32245. "type": "string"
  32246. },
  32247. "srctradeid": {
  32248. "description": "来源成交单ID [消费奖励] - 排除提货成交",
  32249. "type": "string"
  32250. },
  32251. "srcuserid": {
  32252. "description": "来源用户ID(推广账户)",
  32253. "type": "string"
  32254. },
  32255. "srcusername": {
  32256. "description": "推广账户名称",
  32257. "type": "string"
  32258. },
  32259. "tradedate": {
  32260. "description": "交易日(yyyyMMdd)",
  32261. "type": "string"
  32262. },
  32263. "userid": {
  32264. "description": "经纪人用户ID",
  32265. "type": "integer"
  32266. }
  32267. }
  32268. },
  32269. "models.QhjContract": {
  32270. "type": "object",
  32271. "properties": {
  32272. "contractconfirmtime": {
  32273. "description": "合同确认时间(时间)",
  32274. "type": "string"
  32275. },
  32276. "currisklevel": {
  32277. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  32278. "type": "integer"
  32279. },
  32280. "decimalplace": {
  32281. "description": "商品报价小数位",
  32282. "type": "integer"
  32283. },
  32284. "enumdicname": {
  32285. "description": "单位名称",
  32286. "type": "string"
  32287. },
  32288. "goodscode": {
  32289. "description": "商品代码",
  32290. "type": "string"
  32291. },
  32292. "goodsid": {
  32293. "description": "商品ID [5:融资单]",
  32294. "type": "integer"
  32295. },
  32296. "goodsname": {
  32297. "description": "商品名称",
  32298. "type": "string"
  32299. },
  32300. "goodunitid": {
  32301. "description": "商品单位id",
  32302. "type": "integer"
  32303. },
  32304. "initmargin": {
  32305. "description": "初始保证金(首付款)",
  32306. "type": "number"
  32307. },
  32308. "lenderamount": {
  32309. "description": "贷款金额(总额|订单总额)",
  32310. "type": "number"
  32311. },
  32312. "marginratio": {
  32313. "description": "保证金比率(首付比例)",
  32314. "type": "number"
  32315. },
  32316. "payamount": {
  32317. "description": "已付(已付货款)",
  32318. "type": "number"
  32319. },
  32320. "reckonrecovermargin": {
  32321. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  32322. "type": "number"
  32323. },
  32324. "recoveredmargin": {
  32325. "description": "已追缴保证金",
  32326. "type": "number"
  32327. },
  32328. "remainamount": {
  32329. "description": "合同剩余金额(融资额)",
  32330. "type": "number"
  32331. },
  32332. "scfcontractid": {
  32333. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  32334. "type": "string"
  32335. },
  32336. "scfcontractstatus": {
  32337. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  32338. "type": "integer"
  32339. },
  32340. "scfcontracttype": {
  32341. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  32342. "type": "integer"
  32343. },
  32344. "totalinterest": {
  32345. "description": "已计总利息(利息)",
  32346. "type": "number"
  32347. },
  32348. "tradeprice": {
  32349. "description": "成交价格(成本价格)",
  32350. "type": "number"
  32351. },
  32352. "userid": {
  32353. "description": "用户ID",
  32354. "type": "integer"
  32355. },
  32356. "username": {
  32357. "description": "用户名称",
  32358. "type": "string"
  32359. },
  32360. "wrqty": {
  32361. "description": "仓单数量(数量)",
  32362. "type": "number"
  32363. }
  32364. }
  32365. },
  32366. "models.QhjContractLog": {
  32367. "type": "object",
  32368. "properties": {
  32369. "amount": {
  32370. "description": "支付金额",
  32371. "type": "number"
  32372. },
  32373. "amounttype": {
  32374. "description": "资金类型 - 1:首付款 2:尾款 3:利息 4:追加款",
  32375. "type": "integer"
  32376. },
  32377. "logid": {
  32378. "description": "LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  32379. "type": "string"
  32380. },
  32381. "remainamount": {
  32382. "description": "剩余货款",
  32383. "type": "number"
  32384. },
  32385. "scfcontractid": {
  32386. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  32387. "type": "integer"
  32388. },
  32389. "updatetime": {
  32390. "description": "更新时间",
  32391. "type": "string"
  32392. }
  32393. }
  32394. },
  32395. "models.QhjCusBankSignBankEx": {
  32396. "type": "object",
  32397. "properties": {
  32398. "banklst": {
  32399. "description": "银行列表",
  32400. "type": "array",
  32401. "items": {
  32402. "$ref": "#/definitions/models.QhjBankInfo"
  32403. }
  32404. },
  32405. "canallot": {
  32406. "description": "是否支持跨行调拨 - 0:不支持 1:支持",
  32407. "type": "integer"
  32408. },
  32409. "canallotquery": {
  32410. "description": "是否支持跨行调拨查询 - 0:不支持 1:支持",
  32411. "type": "integer"
  32412. },
  32413. "canbindcard": {
  32414. "description": "是否可绑卡与解卡 - 0:不可 1:可以",
  32415. "type": "integer"
  32416. },
  32417. "caninamount": {
  32418. "description": "是否可入金 - 0:不可 1:可以",
  32419. "type": "integer"
  32420. },
  32421. "caninamount2": {
  32422. "description": "是否可入金(网银端) - 0:不可 1:可以",
  32423. "type": "integer"
  32424. },
  32425. "canmodifybankcard": {
  32426. "description": "是否可修改银行卡号 - 0:不可 1:可以",
  32427. "type": "integer"
  32428. },
  32429. "canmodifyphone": {
  32430. "description": "是否可修改手机号 - 0:不可 1:可以",
  32431. "type": "integer"
  32432. },
  32433. "canmodifysigninfo": {
  32434. "description": "是否可修改签约信息 - 0:不可 1:可以",
  32435. "type": "integer"
  32436. },
  32437. "canoutamount": {
  32438. "description": "是否可出金 - 0:不可 1:可以",
  32439. "type": "integer"
  32440. },
  32441. "canoutamount2": {
  32442. "description": "是否可出金(网银端) - 0:不可 1:可以",
  32443. "type": "integer"
  32444. },
  32445. "canrelease": {
  32446. "description": "是否可解约 - 0:不可 1:可以",
  32447. "type": "integer"
  32448. },
  32449. "canrelease2": {
  32450. "description": "是否可解约(网银端) - 0:不可 1:可以",
  32451. "type": "integer"
  32452. },
  32453. "cansign": {
  32454. "description": "是否可签约 - 0:不可 1:可以",
  32455. "type": "integer"
  32456. },
  32457. "cansign2": {
  32458. "description": "是否可签约(网银端) - 0:不可 1:可以",
  32459. "type": "integer"
  32460. },
  32461. "currency": {
  32462. "description": "币种",
  32463. "type": "string"
  32464. },
  32465. "cusbankid": {
  32466. "description": "托管银行编号(对应清算中心TRAN_NO)",
  32467. "type": "string"
  32468. },
  32469. "cusbankname": {
  32470. "description": "银行业务名称",
  32471. "type": "string"
  32472. },
  32473. "cusbankshortname": {
  32474. "description": "银行业务简称",
  32475. "type": "string"
  32476. },
  32477. "exchbankid": {
  32478. "description": "交易所开户银行ID",
  32479. "type": "string"
  32480. },
  32481. "exchpaybankaccname": {
  32482. "description": "交易所支出结算账户户名",
  32483. "type": "string"
  32484. },
  32485. "exchpaybankaccno": {
  32486. "description": "交易所支出结算账户",
  32487. "type": "string"
  32488. },
  32489. "isneedcheck": {
  32490. "description": "是否需要对账 - 0:需要 1:不需要 [不需要界面配置]",
  32491. "type": "integer"
  32492. },
  32493. "isneedclear": {
  32494. "description": "是否需要清算 - 0:不需要 1:需要",
  32495. "type": "integer"
  32496. },
  32497. "lastcheckstatus": {
  32498. "description": "最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败",
  32499. "type": "integer"
  32500. },
  32501. "lastchecktime": {
  32502. "description": "最后对账时间",
  32503. "type": "string"
  32504. },
  32505. "lastclearstatus": {
  32506. "description": "最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功",
  32507. "type": "integer"
  32508. },
  32509. "lastcleartime": {
  32510. "description": "最后清算时间",
  32511. "type": "string"
  32512. },
  32513. "lastsignintime": {
  32514. "description": "最后签到时间",
  32515. "type": "string"
  32516. },
  32517. "lastsignouttime": {
  32518. "description": "最后签退时间",
  32519. "type": "string"
  32520. },
  32521. "riskinfo": {
  32522. "description": "签约风险提示书",
  32523. "type": "string"
  32524. },
  32525. "signstatus": {
  32526. "description": "当前签到/签退状态 - 1:签到 2:签退",
  32527. "type": "integer"
  32528. },
  32529. "tradedate": {
  32530. "description": "交易日(yyyyMMdd)",
  32531. "type": "string"
  32532. },
  32533. "updatetime": {
  32534. "description": "当前签到/签退更新时间",
  32535. "type": "string"
  32536. }
  32537. }
  32538. },
  32539. "models.QhjCustomer": {
  32540. "type": "object",
  32541. "properties": {
  32542. "address": {
  32543. "description": "通讯地址",
  32544. "type": "string"
  32545. },
  32546. "attachment1": {
  32547. "description": "附件1",
  32548. "type": "string"
  32549. },
  32550. "attachment2": {
  32551. "description": "附件2",
  32552. "type": "string"
  32553. },
  32554. "audittime": {
  32555. "description": "审核时间",
  32556. "type": "string"
  32557. },
  32558. "cardbackphotourl": {
  32559. "description": "证件反面图片地址",
  32560. "type": "string"
  32561. },
  32562. "cardfrontphotourl": {
  32563. "description": "证件正面图片地址",
  32564. "type": "string"
  32565. },
  32566. "cardnum": {
  32567. "description": "证件号码",
  32568. "type": "string"
  32569. },
  32570. "cardtype": {
  32571. "description": "证件类型",
  32572. "type": "integer"
  32573. },
  32574. "cardtypename": {
  32575. "description": "证件类型名称",
  32576. "type": "string"
  32577. },
  32578. "cityid": {
  32579. "description": "市",
  32580. "type": "integer"
  32581. },
  32582. "cityname": {
  32583. "description": "城市名称",
  32584. "type": "string"
  32585. },
  32586. "contactname": {
  32587. "description": "联系人",
  32588. "type": "string"
  32589. },
  32590. "countryid": {
  32591. "description": "国家",
  32592. "type": "integer"
  32593. },
  32594. "countryname": {
  32595. "description": "国家名称",
  32596. "type": "string"
  32597. },
  32598. "createtime": {
  32599. "description": "创建时间",
  32600. "type": "string"
  32601. },
  32602. "customername": {
  32603. "description": "客户名称",
  32604. "type": "string"
  32605. },
  32606. "districtid": {
  32607. "description": "区域",
  32608. "type": "integer"
  32609. },
  32610. "districtname": {
  32611. "description": "地区名称",
  32612. "type": "string"
  32613. },
  32614. "email": {
  32615. "description": "邮件",
  32616. "type": "string"
  32617. },
  32618. "legalpersonname": {
  32619. "description": "法人姓名(企业)",
  32620. "type": "string"
  32621. },
  32622. "logincode": {
  32623. "description": "登录账号(代码)",
  32624. "type": "string"
  32625. },
  32626. "memberuserid": {
  32627. "description": "所属机构ID(所属会员)",
  32628. "type": "integer"
  32629. },
  32630. "memberusername": {
  32631. "description": "所属会员名称",
  32632. "type": "string"
  32633. },
  32634. "mobile": {
  32635. "description": "手机号码",
  32636. "type": "string"
  32637. },
  32638. "modifytime": {
  32639. "description": "修改时间",
  32640. "type": "string"
  32641. },
  32642. "nickname": {
  32643. "description": "昵称",
  32644. "type": "string"
  32645. },
  32646. "parentuserid": {
  32647. "description": "上级机构(所属机构)",
  32648. "type": "integer"
  32649. },
  32650. "parentusername": {
  32651. "description": "所属机构名称",
  32652. "type": "string"
  32653. },
  32654. "provinceid": {
  32655. "description": "省",
  32656. "type": "integer"
  32657. },
  32658. "provincename": {
  32659. "description": "省名称",
  32660. "type": "string"
  32661. },
  32662. "proxystatementurl": {
  32663. "description": "授权委托书",
  32664. "type": "string"
  32665. },
  32666. "remark": {
  32667. "description": "备注",
  32668. "type": "string"
  32669. },
  32670. "status": {
  32671. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  32672. "type": "integer"
  32673. },
  32674. "statusdesc": {
  32675. "description": "账户状态中文描述",
  32676. "type": "string"
  32677. },
  32678. "taxpayernum": {
  32679. "description": "纳税人识别号",
  32680. "type": "string"
  32681. },
  32682. "telphone": {
  32683. "description": "联系电话",
  32684. "type": "string"
  32685. },
  32686. "userid": {
  32687. "description": "用户ID",
  32688. "type": "integer"
  32689. },
  32690. "userinfotype": {
  32691. "description": "客户类型 1-个人 2-企业",
  32692. "type": "integer"
  32693. },
  32694. "username": {
  32695. "description": "用户名称",
  32696. "type": "string"
  32697. }
  32698. }
  32699. },
  32700. "models.QhjCustomerSignLog": {
  32701. "type": "object",
  32702. "properties": {
  32703. "agreementcontent": {
  32704. "description": "协议内容",
  32705. "type": "string"
  32706. },
  32707. "agreementid": {
  32708. "description": "协议ID",
  32709. "type": "integer"
  32710. },
  32711. "agreementname": {
  32712. "description": "协议名称",
  32713. "type": "string"
  32714. },
  32715. "agreementno": {
  32716. "description": "协议编号",
  32717. "type": "string"
  32718. },
  32719. "agreementtype": {
  32720. "description": "协议类型 - 1:注册 2:登录 3:交易",
  32721. "type": "integer"
  32722. },
  32723. "agreementversion": {
  32724. "description": "协议版本号",
  32725. "type": "integer"
  32726. },
  32727. "createtime": {
  32728. "description": "创建时间",
  32729. "type": "string"
  32730. },
  32731. "goodscode": {
  32732. "description": "商品代码",
  32733. "type": "string"
  32734. },
  32735. "goodsid": {
  32736. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  32737. "type": "integer"
  32738. },
  32739. "goodsname": {
  32740. "description": "商品名称",
  32741. "type": "string"
  32742. },
  32743. "logid": {
  32744. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  32745. "type": "integer"
  32746. },
  32747. "nodetype": {
  32748. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  32749. "type": "integer"
  32750. },
  32751. "signadressurl": {
  32752. "description": "签约文件地址",
  32753. "type": "string"
  32754. },
  32755. "signtimestamp": {
  32756. "description": "签约状态时间戳",
  32757. "type": "string"
  32758. },
  32759. "userid": {
  32760. "description": "客户ID",
  32761. "type": "integer"
  32762. },
  32763. "username": {
  32764. "description": "客户名称",
  32765. "type": "string"
  32766. }
  32767. }
  32768. },
  32769. "models.QhjCustomerSignStatus": {
  32770. "type": "object",
  32771. "properties": {
  32772. "createtime": {
  32773. "description": "创建时间",
  32774. "type": "string"
  32775. },
  32776. "goodscode": {
  32777. "description": "商品代码",
  32778. "type": "string"
  32779. },
  32780. "goodsid": {
  32781. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  32782. "type": "integer"
  32783. },
  32784. "goodsname": {
  32785. "description": "商品名称",
  32786. "type": "string"
  32787. },
  32788. "nodetype": {
  32789. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  32790. "type": "integer"
  32791. },
  32792. "signtimestamp": {
  32793. "description": "签约状态时间戳",
  32794. "type": "string"
  32795. },
  32796. "tradedate": {
  32797. "description": "创建交易日(yyyyMMdd)",
  32798. "type": "string"
  32799. },
  32800. "updatetime": {
  32801. "description": "更新时间",
  32802. "type": "string"
  32803. },
  32804. "userid": {
  32805. "description": "客户ID",
  32806. "type": "integer"
  32807. },
  32808. "username": {
  32809. "description": "客户名称",
  32810. "type": "string"
  32811. }
  32812. }
  32813. },
  32814. "models.QhjMgrAccountOutInApply": {
  32815. "type": "object",
  32816. "properties": {
  32817. "accountcode": {
  32818. "description": "资金账号",
  32819. "type": "string"
  32820. },
  32821. "accountname": {
  32822. "description": "用户名称(名称)",
  32823. "type": "string"
  32824. },
  32825. "accountpwd": {
  32826. "description": "资金密码",
  32827. "type": "string"
  32828. },
  32829. "accountticket": {
  32830. "description": "最新账户服务流水号",
  32831. "type": "string"
  32832. },
  32833. "amount": {
  32834. "description": "金额",
  32835. "type": "number"
  32836. },
  32837. "applyremark": {
  32838. "description": "申请备注",
  32839. "type": "string"
  32840. },
  32841. "applystatus": {
  32842. "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: 复审通过,账户冻结金额检查中;",
  32843. "type": "integer"
  32844. },
  32845. "auditid": {
  32846. "description": "审核人",
  32847. "type": "integer"
  32848. },
  32849. "audittime": {
  32850. "description": "审核时间",
  32851. "type": "string"
  32852. },
  32853. "bank_apply_ticket": {
  32854. "description": "银行申请流水",
  32855. "type": "string"
  32856. },
  32857. "bankaccountname": {
  32858. "description": "银行账户名",
  32859. "type": "string"
  32860. },
  32861. "bankaccountno": {
  32862. "description": "银行卡号",
  32863. "type": "string"
  32864. },
  32865. "bankid": {
  32866. "description": "银行编号",
  32867. "type": "string"
  32868. },
  32869. "bankname": {
  32870. "description": "银行名称",
  32871. "type": "string"
  32872. },
  32873. "bankticket": {
  32874. "description": "银行流水",
  32875. "type": "string"
  32876. },
  32877. "branchbankid": {
  32878. "description": "银行支行号",
  32879. "type": "string"
  32880. },
  32881. "branchbankname": {
  32882. "description": "银行支行名称",
  32883. "type": "string"
  32884. },
  32885. "capamountout": {
  32886. "description": "出金(劣后本金) - 外部子账户",
  32887. "type": "number"
  32888. },
  32889. "certificatephotourl": {
  32890. "description": "凭证地址",
  32891. "type": "string"
  32892. },
  32893. "charge": {
  32894. "description": "手续费",
  32895. "type": "number"
  32896. },
  32897. "checkerrorflag": {
  32898. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  32899. "type": "integer"
  32900. },
  32901. "currency": {
  32902. "description": "币种",
  32903. "type": "string"
  32904. },
  32905. "cusbankid": {
  32906. "description": "托管银行编号",
  32907. "type": "string"
  32908. },
  32909. "exchticket": {
  32910. "description": "银行服务流水号",
  32911. "type": "string"
  32912. },
  32913. "executetype": {
  32914. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  32915. "type": "integer"
  32916. },
  32917. "extendinfo": {
  32918. "description": "扩展信息",
  32919. "type": "string"
  32920. },
  32921. "extoperateid": {
  32922. "description": "交易服务流水号",
  32923. "type": "integer"
  32924. },
  32925. "infamount": {
  32926. "description": "劣后金额(自有)",
  32927. "type": "number"
  32928. },
  32929. "logincode": {
  32930. "description": "登录账号(账号)",
  32931. "type": "string"
  32932. },
  32933. "netaddr": {
  32934. "description": "调转网址",
  32935. "type": "string"
  32936. },
  32937. "priamount": {
  32938. "description": "优先金额(授信)",
  32939. "type": "number"
  32940. },
  32941. "reauditid": {
  32942. "description": "复审人",
  32943. "type": "integer"
  32944. },
  32945. "reauditremark": {
  32946. "description": "复审备注",
  32947. "type": "string"
  32948. },
  32949. "reaudittime": {
  32950. "description": "复审时间",
  32951. "type": "string"
  32952. },
  32953. "relatedorderid": {
  32954. "description": "三方关联ID",
  32955. "type": "string"
  32956. },
  32957. "remark": {
  32958. "description": "备注",
  32959. "type": "string"
  32960. },
  32961. "remark2": {
  32962. "description": "备注(失败原因)",
  32963. "type": "string"
  32964. },
  32965. "soucreamount": {
  32966. "description": "原始出入金金额",
  32967. "type": "number"
  32968. },
  32969. "soucrecurrencyid": {
  32970. "description": "原始出入金币种",
  32971. "type": "integer"
  32972. },
  32973. "tradedate": {
  32974. "description": "交易日(yyyyMMdd)",
  32975. "type": "string"
  32976. },
  32977. "updatetime": {
  32978. "description": "更新时间(申请时间)",
  32979. "type": "string"
  32980. },
  32981. "userid": {
  32982. "description": "用户id",
  32983. "type": "integer"
  32984. },
  32985. "userinfotype": {
  32986. "description": "账户类型 1-个人 2-企业",
  32987. "type": "integer"
  32988. }
  32989. }
  32990. },
  32991. "models.QhjMgrBrokerApply": {
  32992. "type": "object",
  32993. "properties": {
  32994. "applicantid": {
  32995. "description": "申请人",
  32996. "type": "integer"
  32997. },
  32998. "applysrc": {
  32999. "description": "申请来源 - 1:管理端 2:终端",
  33000. "type": "integer"
  33001. },
  33002. "applystatus": {
  33003. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  33004. "type": "integer"
  33005. },
  33006. "applytime": {
  33007. "description": "申请时间",
  33008. "type": "string"
  33009. },
  33010. "auditorid": {
  33011. "description": "审核人",
  33012. "type": "integer"
  33013. },
  33014. "auditremark": {
  33015. "description": "审核备注",
  33016. "type": "string"
  33017. },
  33018. "auditsrc": {
  33019. "description": "审核来源 - 1:管理端 2:终端",
  33020. "type": "integer"
  33021. },
  33022. "audittime": {
  33023. "description": "审核时间",
  33024. "type": "string"
  33025. },
  33026. "audittradedate": {
  33027. "description": "审核交易日(yyyyMMdd)",
  33028. "type": "string"
  33029. },
  33030. "brokerapplyid": {
  33031. "description": "申请ID(SEQ_BROKERAPPLY)",
  33032. "type": "integer"
  33033. },
  33034. "cardbackphotourl": {
  33035. "description": "证件背面图片地址",
  33036. "type": "string"
  33037. },
  33038. "cardfrontphotourl": {
  33039. "description": "证件正面图片地址",
  33040. "type": "string"
  33041. },
  33042. "cardnum": {
  33043. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  33044. "type": "string"
  33045. },
  33046. "customername": {
  33047. "description": "姓名",
  33048. "type": "string"
  33049. },
  33050. "filterstatus": {
  33051. "description": "筛选条件",
  33052. "type": "string"
  33053. },
  33054. "logincode": {
  33055. "description": "登录代码",
  33056. "type": "string"
  33057. },
  33058. "mobile": {
  33059. "description": "手机号码",
  33060. "type": "string"
  33061. },
  33062. "parentuserid": {
  33063. "description": "所属机构id",
  33064. "type": "integer"
  33065. },
  33066. "parentusername": {
  33067. "description": "所属机构名称",
  33068. "type": "string"
  33069. },
  33070. "refereeuserid": {
  33071. "description": "推荐人id(经纪人)",
  33072. "type": "integer"
  33073. },
  33074. "refernum": {
  33075. "description": "推荐码",
  33076. "type": "string"
  33077. },
  33078. "remark": {
  33079. "description": "备注",
  33080. "type": "string"
  33081. },
  33082. "subarealevelpath": {
  33083. "description": "层级路径",
  33084. "type": "string"
  33085. },
  33086. "tradedate": {
  33087. "description": "交易日(yyyyMMdd)",
  33088. "type": "string"
  33089. },
  33090. "userid": {
  33091. "description": "申请人用户ID",
  33092. "type": "integer"
  33093. },
  33094. "userinfotype": {
  33095. "description": "用户类型 1-个人 2-企业",
  33096. "type": "integer"
  33097. },
  33098. "username": {
  33099. "description": "用户名称",
  33100. "type": "string"
  33101. }
  33102. }
  33103. },
  33104. "models.QhjMgrBrokerRewardReport": {
  33105. "type": "object",
  33106. "properties": {
  33107. "createtime": {
  33108. "description": "创建时间(注册时间)",
  33109. "type": "string"
  33110. },
  33111. "cycletime": {
  33112. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】",
  33113. "type": "string"
  33114. },
  33115. "cycletype": {
  33116. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  33117. "type": "integer"
  33118. },
  33119. "directtotalnum": {
  33120. "description": "直推总人数【期末】",
  33121. "type": "integer"
  33122. },
  33123. "indirecttotalnum": {
  33124. "description": "间推总人数【期末】",
  33125. "type": "integer"
  33126. },
  33127. "mobile": {
  33128. "description": "电话号码",
  33129. "type": "string"
  33130. },
  33131. "refereeuserid": {
  33132. "description": "推荐人id(经纪人id)",
  33133. "type": "integer"
  33134. },
  33135. "refereeusername": {
  33136. "description": "推荐人名称(经纪人) 上级经纪人名称",
  33137. "type": "string"
  33138. },
  33139. "refernum": {
  33140. "description": "推荐码",
  33141. "type": "string"
  33142. },
  33143. "subarealevelpath": {
  33144. "description": "用户层级路径",
  33145. "type": "string"
  33146. },
  33147. "todayrewardamount": {
  33148. "description": "奖励总金额【汇总】",
  33149. "type": "number"
  33150. },
  33151. "updatetime": {
  33152. "description": "更新时间",
  33153. "type": "string"
  33154. },
  33155. "userid": {
  33156. "description": "经纪人用户ID",
  33157. "type": "integer"
  33158. },
  33159. "userinfotype": {
  33160. "description": "用户类型 1-个人 2-企业",
  33161. "type": "integer"
  33162. },
  33163. "username": {
  33164. "description": "用户名称",
  33165. "type": "string"
  33166. }
  33167. }
  33168. },
  33169. "models.QhjMgrContract": {
  33170. "type": "object",
  33171. "properties": {
  33172. "contractconfirmtime": {
  33173. "description": "合同确认时间(时间)",
  33174. "type": "string"
  33175. },
  33176. "currisklevel": {
  33177. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  33178. "type": "integer"
  33179. },
  33180. "decimalplace": {
  33181. "description": "商品报价小数位",
  33182. "type": "integer"
  33183. },
  33184. "enumdicname": {
  33185. "description": "单位名称",
  33186. "type": "string"
  33187. },
  33188. "goodscode": {
  33189. "description": "商品代码",
  33190. "type": "string"
  33191. },
  33192. "goodsid": {
  33193. "description": "商品ID [5:融资单]",
  33194. "type": "integer"
  33195. },
  33196. "goodsname": {
  33197. "description": "商品名称",
  33198. "type": "string"
  33199. },
  33200. "goodunitid": {
  33201. "description": "商品单位id",
  33202. "type": "integer"
  33203. },
  33204. "initmargin": {
  33205. "description": "初始保证金(首付款)",
  33206. "type": "number"
  33207. },
  33208. "lenderamount": {
  33209. "description": "贷款金额(总额|订单总额)",
  33210. "type": "number"
  33211. },
  33212. "logincode": {
  33213. "description": "账号(登录代码)",
  33214. "type": "string"
  33215. },
  33216. "marginratio": {
  33217. "description": "保证金比率(首付比例)",
  33218. "type": "number"
  33219. },
  33220. "mobile": {
  33221. "description": "电话号码(用户资料里的电话)",
  33222. "type": "string"
  33223. },
  33224. "payamount": {
  33225. "description": "已付(已付货款)",
  33226. "type": "number"
  33227. },
  33228. "reckonrecovermargin": {
  33229. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  33230. "type": "number"
  33231. },
  33232. "recoveredmargin": {
  33233. "description": "已追缴保证金",
  33234. "type": "number"
  33235. },
  33236. "remainamount": {
  33237. "description": "合同剩余金额(融资额)",
  33238. "type": "number"
  33239. },
  33240. "scfcontractid": {
  33241. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  33242. "type": "string"
  33243. },
  33244. "scfcontractstatus": {
  33245. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  33246. "type": "integer"
  33247. },
  33248. "scfcontracttype": {
  33249. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  33250. "type": "integer"
  33251. },
  33252. "totalinterest": {
  33253. "description": "已计总利息(利息)",
  33254. "type": "number"
  33255. },
  33256. "tradedate": {
  33257. "description": "交易日",
  33258. "type": "string"
  33259. },
  33260. "tradeprice": {
  33261. "description": "成交价格(成本价格)",
  33262. "type": "number"
  33263. },
  33264. "userid": {
  33265. "description": "用户ID",
  33266. "type": "integer"
  33267. },
  33268. "userinfotype": {
  33269. "description": "用户类型 1-个人 2-企业",
  33270. "type": "integer"
  33271. },
  33272. "username": {
  33273. "description": "用户名称",
  33274. "type": "string"
  33275. },
  33276. "wrqty": {
  33277. "description": "仓单数量(数量)",
  33278. "type": "number"
  33279. }
  33280. }
  33281. },
  33282. "models.QhjMgrCustomer": {
  33283. "type": "object",
  33284. "properties": {
  33285. "address": {
  33286. "description": "通讯地址",
  33287. "type": "string"
  33288. },
  33289. "attachment1": {
  33290. "description": "附件1",
  33291. "type": "string"
  33292. },
  33293. "audittime": {
  33294. "description": "审核时间",
  33295. "type": "string"
  33296. },
  33297. "birthday": {
  33298. "description": "生日",
  33299. "type": "string"
  33300. },
  33301. "brokerid": {
  33302. "description": "所属客户经理id",
  33303. "type": "integer"
  33304. },
  33305. "brokername": {
  33306. "description": "所属客户经理名称",
  33307. "type": "string"
  33308. },
  33309. "cardbackphotourl": {
  33310. "description": "证件反面图片地址",
  33311. "type": "string"
  33312. },
  33313. "cardfrontphotourl": {
  33314. "description": "证件正面图片地址",
  33315. "type": "string"
  33316. },
  33317. "cardnum": {
  33318. "description": "证件号码",
  33319. "type": "string"
  33320. },
  33321. "cardtype": {
  33322. "description": "证件类型",
  33323. "type": "integer"
  33324. },
  33325. "cardtypename": {
  33326. "description": "证件类型名称",
  33327. "type": "string"
  33328. },
  33329. "cityid": {
  33330. "description": "市",
  33331. "type": "integer"
  33332. },
  33333. "cityname": {
  33334. "description": "城市名称",
  33335. "type": "string"
  33336. },
  33337. "contactname": {
  33338. "description": "联系人",
  33339. "type": "string"
  33340. },
  33341. "countryid": {
  33342. "description": "国家",
  33343. "type": "integer"
  33344. },
  33345. "countryname": {
  33346. "description": "国家名称",
  33347. "type": "string"
  33348. },
  33349. "createtime": {
  33350. "description": "创建时间",
  33351. "type": "string"
  33352. },
  33353. "customername": {
  33354. "description": "客户名称",
  33355. "type": "string"
  33356. },
  33357. "districtid": {
  33358. "description": "区域",
  33359. "type": "integer"
  33360. },
  33361. "districtname": {
  33362. "description": "地区名称",
  33363. "type": "string"
  33364. },
  33365. "email": {
  33366. "description": "邮件",
  33367. "type": "string"
  33368. },
  33369. "legalpersonname": {
  33370. "description": "法人姓名(企业)",
  33371. "type": "string"
  33372. },
  33373. "logincode": {
  33374. "description": "登录账号(代码)",
  33375. "type": "string"
  33376. },
  33377. "memberuserid": {
  33378. "description": "所属机构ID(所属会员)",
  33379. "type": "integer"
  33380. },
  33381. "memberusername": {
  33382. "description": "所属会员名称",
  33383. "type": "string"
  33384. },
  33385. "mobile": {
  33386. "description": "手机号码",
  33387. "type": "string"
  33388. },
  33389. "modifytime": {
  33390. "description": "修改时间",
  33391. "type": "string"
  33392. },
  33393. "nickname": {
  33394. "description": "昵称",
  33395. "type": "string"
  33396. },
  33397. "parentuserid": {
  33398. "description": "上级机构(所属机构)",
  33399. "type": "integer"
  33400. },
  33401. "parentusername": {
  33402. "description": "所属机构名称",
  33403. "type": "string"
  33404. },
  33405. "provinceid": {
  33406. "description": "省",
  33407. "type": "integer"
  33408. },
  33409. "provincename": {
  33410. "description": "省名称",
  33411. "type": "string"
  33412. },
  33413. "proxystatementurl": {
  33414. "description": "授权委托书",
  33415. "type": "string"
  33416. },
  33417. "querytype": {
  33418. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  33419. "type": "integer"
  33420. },
  33421. "remark": {
  33422. "description": "备注",
  33423. "type": "string"
  33424. },
  33425. "sex": {
  33426. "description": "性别 0-女 1-男",
  33427. "type": "integer"
  33428. },
  33429. "status": {
  33430. "description": "开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过 ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  33431. "type": "integer"
  33432. },
  33433. "statusdesc": {
  33434. "description": "账户状态中文描述",
  33435. "type": "string"
  33436. },
  33437. "taxpayernum": {
  33438. "description": "纳税人识别号",
  33439. "type": "string"
  33440. },
  33441. "telphone": {
  33442. "description": "联系电话",
  33443. "type": "string"
  33444. },
  33445. "userid": {
  33446. "description": "用户ID",
  33447. "type": "integer"
  33448. },
  33449. "userinfotype": {
  33450. "description": "客户类型 1-个人 2-企业",
  33451. "type": "integer"
  33452. },
  33453. "username": {
  33454. "description": "用户名称",
  33455. "type": "string"
  33456. }
  33457. }
  33458. },
  33459. "models.QhjMgrPickGoods": {
  33460. "type": "object",
  33461. "properties": {
  33462. "enumdicname": {
  33463. "description": "单位名称(提货商品)",
  33464. "type": "string"
  33465. },
  33466. "goodsid": {
  33467. "description": "商品id",
  33468. "type": "integer"
  33469. },
  33470. "imageaddress": {
  33471. "description": "图片",
  33472. "type": "string"
  33473. },
  33474. "modifierid": {
  33475. "description": "修改人",
  33476. "type": "integer"
  33477. },
  33478. "modifiername": {
  33479. "description": "修改人名称",
  33480. "type": "string"
  33481. },
  33482. "modifysrc": {
  33483. "description": "修改来源 - 1:管理端 2:终端",
  33484. "type": "integer"
  33485. },
  33486. "pickupgoodsagreeunit": {
  33487. "description": "合约乘数",
  33488. "type": "number"
  33489. },
  33490. "pickupgoodsdesc": {
  33491. "description": "描述",
  33492. "type": "string"
  33493. },
  33494. "pickupgoodsid": {
  33495. "description": "提货商品ID",
  33496. "type": "string"
  33497. },
  33498. "pickupgoodsname": {
  33499. "description": "提货商品名称",
  33500. "type": "string"
  33501. },
  33502. "pickupgoodsstatus": {
  33503. "description": "状态 - 1:正常 2:停用 3:注销",
  33504. "type": "integer"
  33505. },
  33506. "pickupgoodsunitid": {
  33507. "description": "单位ID",
  33508. "type": "integer"
  33509. },
  33510. "pickupratio": {
  33511. "description": "提货系数",
  33512. "type": "number"
  33513. },
  33514. "preparedays": {
  33515. "description": "备货期(天)",
  33516. "type": "integer"
  33517. },
  33518. "remark": {
  33519. "description": "备注",
  33520. "type": "string"
  33521. },
  33522. "updatetime": {
  33523. "description": "更新时间",
  33524. "type": "string"
  33525. }
  33526. }
  33527. },
  33528. "models.QhjMgrPositionRsp": {
  33529. "type": "object",
  33530. "properties": {
  33531. "accountid": {
  33532. "description": "账号Id",
  33533. "type": "integer"
  33534. },
  33535. "accountname": {
  33536. "description": "用户名称",
  33537. "type": "string"
  33538. },
  33539. "agreeunit": {
  33540. "description": "合约乘数",
  33541. "type": "number"
  33542. },
  33543. "averageprice": {
  33544. "description": "均价",
  33545. "type": "number"
  33546. },
  33547. "avialqty": {
  33548. "description": "可用数量",
  33549. "type": "number"
  33550. },
  33551. "decimalplace": {
  33552. "description": "报价小数位",
  33553. "type": "integer"
  33554. },
  33555. "enumdicname": {
  33556. "description": "单位名称(商品)",
  33557. "type": "string"
  33558. },
  33559. "frozenqty": {
  33560. "description": "冻结数量",
  33561. "type": "number"
  33562. },
  33563. "goodscode": {
  33564. "description": "商品代码(内部)",
  33565. "type": "string"
  33566. },
  33567. "goodsid": {
  33568. "description": "商品Id",
  33569. "type": "integer"
  33570. },
  33571. "goodsname": {
  33572. "description": "商品名称",
  33573. "type": "string"
  33574. },
  33575. "goodunitid": {
  33576. "description": "报价单位ID",
  33577. "type": "integer"
  33578. },
  33579. "holderamount": {
  33580. "description": "金额",
  33581. "type": "number"
  33582. },
  33583. "holderqty": {
  33584. "description": "持有数量",
  33585. "type": "number"
  33586. },
  33587. "holdertype": {
  33588. "description": "持仓类别 - 1:单边持仓 2:双边持仓",
  33589. "type": "integer"
  33590. },
  33591. "logincode": {
  33592. "description": "登录代码(账户)",
  33593. "type": "string"
  33594. },
  33595. "marketid": {
  33596. "description": "市场id",
  33597. "type": "integer"
  33598. },
  33599. "qtydecimalplace": {
  33600. "description": "成交量小数位",
  33601. "type": "integer"
  33602. },
  33603. "trademode": {
  33604. "description": "交易模式",
  33605. "type": "integer"
  33606. },
  33607. "userid": {
  33608. "description": "用户id",
  33609. "type": "integer"
  33610. },
  33611. "userinfotype": {
  33612. "description": "账户类型 1-个人 2-企业",
  33613. "type": "integer"
  33614. }
  33615. }
  33616. },
  33617. "models.QhjMgrSubArea": {
  33618. "type": "object",
  33619. "properties": {
  33620. "accountname": {
  33621. "description": "账户名称(机构名称)",
  33622. "type": "string"
  33623. },
  33624. "memberuserid": {
  33625. "description": "所属会员ID",
  33626. "type": "integer"
  33627. },
  33628. "parenttopuser": {
  33629. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  33630. "type": "string"
  33631. },
  33632. "parentuserid": {
  33633. "description": "所属机构ID",
  33634. "type": "integer"
  33635. },
  33636. "rootuserid": {
  33637. "description": "根用户ID",
  33638. "type": "string"
  33639. },
  33640. "subaccountlevel": {
  33641. "description": "子账户层数",
  33642. "type": "integer"
  33643. },
  33644. "subarealevelpath": {
  33645. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  33646. "type": "string"
  33647. },
  33648. "userid": {
  33649. "description": "用户ID",
  33650. "type": "integer"
  33651. },
  33652. "usertype": {
  33653. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  33654. "type": "integer"
  33655. }
  33656. }
  33657. },
  33658. "models.QhjMgrTradeDetailRsp": {
  33659. "type": "object",
  33660. "properties": {
  33661. "accountid": {
  33662. "description": "资金账号",
  33663. "type": "integer"
  33664. },
  33665. "accountname": {
  33666. "description": "用户名称",
  33667. "type": "string"
  33668. },
  33669. "agreeunit": {
  33670. "description": "合约乘数",
  33671. "type": "number"
  33672. },
  33673. "buyorsell": {
  33674. "description": "成交类型(方向) 0:买 1:卖",
  33675. "type": "integer"
  33676. },
  33677. "decimalplace": {
  33678. "description": "报价小数位",
  33679. "type": "integer"
  33680. },
  33681. "enumdicname": {
  33682. "description": "单位名称(商品)",
  33683. "type": "string"
  33684. },
  33685. "goodscode": {
  33686. "description": "商品代码(内部)",
  33687. "type": "string"
  33688. },
  33689. "goodsid": {
  33690. "description": "商品id",
  33691. "type": "integer"
  33692. },
  33693. "goodsname": {
  33694. "description": "商品名称",
  33695. "type": "string"
  33696. },
  33697. "goodunitid": {
  33698. "description": "报价单位ID",
  33699. "type": "integer"
  33700. },
  33701. "logincode": {
  33702. "description": "登录代码(账户)",
  33703. "type": "string"
  33704. },
  33705. "marketid": {
  33706. "description": "市场id",
  33707. "type": "integer"
  33708. },
  33709. "orderid": {
  33710. "description": "关联委托单号",
  33711. "type": "string"
  33712. },
  33713. "qtydecimalplace": {
  33714. "description": "成交量小数位",
  33715. "type": "integer"
  33716. },
  33717. "tradeamount": {
  33718. "description": "金额",
  33719. "type": "number"
  33720. },
  33721. "tradedate": {
  33722. "description": "交易日",
  33723. "type": "string"
  33724. },
  33725. "tradeid": {
  33726. "description": "成交单号",
  33727. "type": "string"
  33728. },
  33729. "trademode": {
  33730. "description": "交易模式",
  33731. "type": "integer"
  33732. },
  33733. "tradeprice": {
  33734. "description": "价格",
  33735. "type": "number"
  33736. },
  33737. "tradeqty": {
  33738. "description": "数量",
  33739. "type": "number"
  33740. },
  33741. "tradetime": {
  33742. "description": "成交时间",
  33743. "type": "string"
  33744. },
  33745. "userid": {
  33746. "description": "用户id",
  33747. "type": "integer"
  33748. },
  33749. "userinfotype": {
  33750. "description": "账户类型 1-个人 2-企业",
  33751. "type": "integer"
  33752. }
  33753. }
  33754. },
  33755. "models.QhjMgrTradeOrderDetailRsp": {
  33756. "type": "object",
  33757. "properties": {
  33758. "accountid": {
  33759. "description": "资金账号",
  33760. "type": "integer"
  33761. },
  33762. "accountname": {
  33763. "description": "用户名称",
  33764. "type": "string"
  33765. },
  33766. "agreeunit": {
  33767. "description": "合约乘数",
  33768. "type": "number"
  33769. },
  33770. "amount": {
  33771. "description": "金额",
  33772. "type": "number"
  33773. },
  33774. "decimalplace": {
  33775. "description": "报价小数位",
  33776. "type": "integer"
  33777. },
  33778. "enumdicname": {
  33779. "description": "单位名称(商品)",
  33780. "type": "string"
  33781. },
  33782. "goodscode": {
  33783. "description": "商品代码(内部)",
  33784. "type": "string"
  33785. },
  33786. "goodsid": {
  33787. "description": "商品id",
  33788. "type": "integer"
  33789. },
  33790. "goodsname": {
  33791. "description": "商品名称",
  33792. "type": "string"
  33793. },
  33794. "goodunitid": {
  33795. "description": "报价单位ID",
  33796. "type": "integer"
  33797. },
  33798. "logincode": {
  33799. "description": "登录代码(账户)",
  33800. "type": "string"
  33801. },
  33802. "marketid": {
  33803. "description": "市场id",
  33804. "type": "integer"
  33805. },
  33806. "orderid": {
  33807. "description": "关联委托单号",
  33808. "type": "string"
  33809. },
  33810. "orderprice": {
  33811. "description": "价格",
  33812. "type": "number"
  33813. },
  33814. "orderqty": {
  33815. "description": "数量",
  33816. "type": "number"
  33817. },
  33818. "orderstatus": {
  33819. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  33820. "type": "integer"
  33821. },
  33822. "ordertime": {
  33823. "description": "委托时间",
  33824. "type": "string"
  33825. },
  33826. "qtydecimalplace": {
  33827. "description": "成交量小数位",
  33828. "type": "integer"
  33829. },
  33830. "tradedate": {
  33831. "description": "交易日",
  33832. "type": "string"
  33833. },
  33834. "trademode": {
  33835. "description": "交易模式",
  33836. "type": "integer"
  33837. },
  33838. "userid": {
  33839. "description": "用户id",
  33840. "type": "integer"
  33841. },
  33842. "userinfotype": {
  33843. "description": "账户类型 1-个人 2-企业",
  33844. "type": "integer"
  33845. }
  33846. }
  33847. },
  33848. "models.QhjMgrTradePayOrder": {
  33849. "type": "object",
  33850. "properties": {
  33851. "accountname": {
  33852. "description": "用户名称",
  33853. "type": "string"
  33854. },
  33855. "advanceratio": {
  33856. "description": "首付比率",
  33857. "type": "number"
  33858. },
  33859. "agreeunit": {
  33860. "description": "合约乘数",
  33861. "type": "number"
  33862. },
  33863. "buyaccountid": {
  33864. "description": "买方账号ID[报价币种]",
  33865. "type": "integer"
  33866. },
  33867. "buyorderid": {
  33868. "description": "买方委托单号(关联单号)",
  33869. "type": "string"
  33870. },
  33871. "createtime": {
  33872. "description": "创建时间",
  33873. "type": "string"
  33874. },
  33875. "decimalplace": {
  33876. "description": "报价小数位",
  33877. "type": "integer"
  33878. },
  33879. "enumdicname": {
  33880. "description": "单位名称(商品)",
  33881. "type": "string"
  33882. },
  33883. "goodscode": {
  33884. "description": "商品代码(内部)",
  33885. "type": "string"
  33886. },
  33887. "goodsid": {
  33888. "description": "商品ID",
  33889. "type": "integer"
  33890. },
  33891. "goodsname": {
  33892. "description": "商品名称",
  33893. "type": "string"
  33894. },
  33895. "goodunitid": {
  33896. "description": "报价单位ID",
  33897. "type": "integer"
  33898. },
  33899. "logincode": {
  33900. "description": "登录代码(账户)",
  33901. "type": "string"
  33902. },
  33903. "marketid": {
  33904. "description": "市场id",
  33905. "type": "integer"
  33906. },
  33907. "offamount": {
  33908. "description": "优惠金额",
  33909. "type": "number"
  33910. },
  33911. "operatetype": {
  33912. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  33913. "type": "integer"
  33914. },
  33915. "payamount": {
  33916. "description": "支付金额(金额)",
  33917. "type": "number"
  33918. },
  33919. "payflag": {
  33920. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  33921. "type": "integer"
  33922. },
  33923. "paylimitedtime": {
  33924. "description": "支付期限",
  33925. "type": "string"
  33926. },
  33927. "paytime": {
  33928. "description": "付款时间",
  33929. "type": "string"
  33930. },
  33931. "qtydecimalplace": {
  33932. "description": "成交量小数位",
  33933. "type": "integer"
  33934. },
  33935. "sellaccountid": {
  33936. "description": "卖方账号ID[报价币种]",
  33937. "type": "integer"
  33938. },
  33939. "sellorderid": {
  33940. "description": "卖方委托单号",
  33941. "type": "string"
  33942. },
  33943. "tradeamount": {
  33944. "description": "成交金额(优惠后金额)",
  33945. "type": "number"
  33946. },
  33947. "tradecharge": {
  33948. "description": "成交手续费(买方)",
  33949. "type": "number"
  33950. },
  33951. "tradedate": {
  33952. "description": "交易日(yyyyMMdd)",
  33953. "type": "string"
  33954. },
  33955. "tradeid": {
  33956. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  33957. "type": "string"
  33958. },
  33959. "trademode": {
  33960. "description": "交易模式",
  33961. "type": "integer"
  33962. },
  33963. "tradeprice": {
  33964. "description": "成交价格(价格)",
  33965. "type": "number"
  33966. },
  33967. "tradeqty": {
  33968. "description": "成交数量(数量)",
  33969. "type": "number"
  33970. },
  33971. "tradetime": {
  33972. "description": "成交时间",
  33973. "type": "string"
  33974. },
  33975. "userid": {
  33976. "description": "用户id",
  33977. "type": "integer"
  33978. },
  33979. "userinfotype": {
  33980. "description": "账户类型 1-个人 2-企业",
  33981. "type": "integer"
  33982. }
  33983. }
  33984. },
  33985. "models.QhjMyTeamEx": {
  33986. "type": "object",
  33987. "properties": {
  33988. "accountname": {
  33989. "description": "用户名称",
  33990. "type": "string"
  33991. },
  33992. "accountstatus": {
  33993. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  33994. "type": "integer"
  33995. },
  33996. "createtime": {
  33997. "description": "创建时间",
  33998. "type": "string"
  33999. },
  34000. "mobile": {
  34001. "description": "手机号码",
  34002. "type": "string"
  34003. },
  34004. "refereeuserid": {
  34005. "description": "推荐人id",
  34006. "type": "integer"
  34007. },
  34008. "refernum": {
  34009. "description": "推荐码",
  34010. "type": "string"
  34011. },
  34012. "subList": {
  34013. "type": "array",
  34014. "items": {
  34015. "$ref": "#/definitions/models.QhjMyTeamEx"
  34016. }
  34017. },
  34018. "userid": {
  34019. "description": "用户id",
  34020. "type": "integer"
  34021. },
  34022. "userinfotype": {
  34023. "description": "用户类型 1-个人 2-企业",
  34024. "type": "integer"
  34025. }
  34026. }
  34027. },
  34028. "models.QhjNodeAgreementConfig": {
  34029. "type": "object",
  34030. "properties": {
  34031. "agreementcontent": {
  34032. "description": "协议内容",
  34033. "type": "string"
  34034. },
  34035. "agreementid": {
  34036. "description": "协议ID",
  34037. "type": "integer"
  34038. },
  34039. "agreementname": {
  34040. "description": "协议名称",
  34041. "type": "string"
  34042. },
  34043. "agreementno": {
  34044. "description": "协议编号",
  34045. "type": "string"
  34046. },
  34047. "agreementtype": {
  34048. "description": "协议类型 - 1:注册 2:登录 3:交易",
  34049. "type": "integer"
  34050. },
  34051. "agreementversion": {
  34052. "description": "协议版本号",
  34053. "type": "integer"
  34054. },
  34055. "configid": {
  34056. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  34057. "type": "integer"
  34058. },
  34059. "createtime": {
  34060. "description": "创建时间",
  34061. "type": "string"
  34062. },
  34063. "goodsid": {
  34064. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  34065. "type": "integer"
  34066. },
  34067. "nodetype": {
  34068. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  34069. "type": "integer"
  34070. }
  34071. }
  34072. },
  34073. "models.QhjParentAreaList": {
  34074. "type": "object",
  34075. "properties": {
  34076. "accountname": {
  34077. "description": "账户名称(机构名称)",
  34078. "type": "string"
  34079. },
  34080. "userid": {
  34081. "description": "用户ID",
  34082. "type": "integer"
  34083. },
  34084. "usertype": {
  34085. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  34086. "type": "integer"
  34087. }
  34088. }
  34089. },
  34090. "models.QhjPayOrder": {
  34091. "type": "object",
  34092. "properties": {
  34093. "advanceratio": {
  34094. "description": "首付比率",
  34095. "type": "number"
  34096. },
  34097. "buyaccountid": {
  34098. "description": "买方账号ID[报价币种]",
  34099. "type": "integer"
  34100. },
  34101. "buyorderid": {
  34102. "description": "买方委托单号",
  34103. "type": "string"
  34104. },
  34105. "createtime": {
  34106. "description": "创建时间",
  34107. "type": "string"
  34108. },
  34109. "decimalplace": {
  34110. "description": "商品报价小数位",
  34111. "type": "integer"
  34112. },
  34113. "enumdicname": {
  34114. "description": "单位名称",
  34115. "type": "string"
  34116. },
  34117. "goodscode": {
  34118. "description": "商品代码",
  34119. "type": "string"
  34120. },
  34121. "goodsid": {
  34122. "description": "商品ID",
  34123. "type": "integer"
  34124. },
  34125. "goodsname": {
  34126. "description": "商品名称",
  34127. "type": "string"
  34128. },
  34129. "goodunitid": {
  34130. "description": "商品单位id",
  34131. "type": "integer"
  34132. },
  34133. "marketid": {
  34134. "description": "市场ID",
  34135. "type": "integer"
  34136. },
  34137. "offamount": {
  34138. "description": "优惠金额",
  34139. "type": "number"
  34140. },
  34141. "operatetype": {
  34142. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  34143. "type": "integer"
  34144. },
  34145. "payamount": {
  34146. "description": "支付金额",
  34147. "type": "number"
  34148. },
  34149. "payflag": {
  34150. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  34151. "type": "integer"
  34152. },
  34153. "paylimitedtime": {
  34154. "description": "支付期限",
  34155. "type": "string"
  34156. },
  34157. "paytime": {
  34158. "description": "付款时间",
  34159. "type": "string"
  34160. },
  34161. "qtydecimalplace": {
  34162. "description": "成交量小数位",
  34163. "type": "integer"
  34164. },
  34165. "sellaccountid": {
  34166. "description": "卖方账号ID[报价币种]",
  34167. "type": "integer"
  34168. },
  34169. "sellorderid": {
  34170. "description": "卖方委托单号",
  34171. "type": "string"
  34172. },
  34173. "tradeamount": {
  34174. "description": "成交金额(优惠后金额)",
  34175. "type": "number"
  34176. },
  34177. "tradecharge": {
  34178. "description": "成交手续费(买方)",
  34179. "type": "number"
  34180. },
  34181. "tradedate": {
  34182. "description": "交易日(yyyyMMdd)",
  34183. "type": "string"
  34184. },
  34185. "tradeid": {
  34186. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  34187. "type": "string"
  34188. },
  34189. "tradeprice": {
  34190. "description": "成交价格",
  34191. "type": "number"
  34192. },
  34193. "tradeqty": {
  34194. "description": "成交数量",
  34195. "type": "number"
  34196. }
  34197. }
  34198. },
  34199. "models.QhjPickArea": {
  34200. "type": "object",
  34201. "properties": {
  34202. "address": {
  34203. "description": "详细地址",
  34204. "type": "string"
  34205. },
  34206. "cityid": {
  34207. "description": "市",
  34208. "type": "integer"
  34209. },
  34210. "cityname": {
  34211. "description": "城市名称",
  34212. "type": "string"
  34213. },
  34214. "countryid": {
  34215. "description": "国家",
  34216. "type": "integer"
  34217. },
  34218. "countryname": {
  34219. "description": "国家名称",
  34220. "type": "string"
  34221. },
  34222. "districtid": {
  34223. "description": "地区",
  34224. "type": "integer"
  34225. },
  34226. "districtname": {
  34227. "description": "地区名称",
  34228. "type": "string"
  34229. },
  34230. "fromuserid": {
  34231. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  34232. "type": "integer"
  34233. },
  34234. "fromusername": {
  34235. "description": "所属机构名称",
  34236. "type": "string"
  34237. },
  34238. "provinceid": {
  34239. "description": "省",
  34240. "type": "integer"
  34241. },
  34242. "provincename": {
  34243. "description": "省名称",
  34244. "type": "string"
  34245. },
  34246. "suborgtype": {
  34247. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  34248. "type": "integer"
  34249. },
  34250. "userid": {
  34251. "description": "机构用户ID 其他做市关系,都设置为 1",
  34252. "type": "integer"
  34253. },
  34254. "username": {
  34255. "description": "机构用户名称(门店门称)",
  34256. "type": "string"
  34257. }
  34258. }
  34259. },
  34260. "models.QhjPickGoods": {
  34261. "type": "object",
  34262. "properties": {
  34263. "enumdicname": {
  34264. "description": "单位名称(提货商品)",
  34265. "type": "string"
  34266. },
  34267. "goodsid": {
  34268. "description": "商品id",
  34269. "type": "integer"
  34270. },
  34271. "imageaddress": {
  34272. "description": "图片",
  34273. "type": "string"
  34274. },
  34275. "modifierid": {
  34276. "description": "修改人",
  34277. "type": "integer"
  34278. },
  34279. "modifiername": {
  34280. "description": "修改人名称",
  34281. "type": "string"
  34282. },
  34283. "modifysrc": {
  34284. "description": "修改来源 - 1:管理端 2:终端",
  34285. "type": "integer"
  34286. },
  34287. "pickupgoodsagreeunit": {
  34288. "description": "合约乘数",
  34289. "type": "number"
  34290. },
  34291. "pickupgoodsdesc": {
  34292. "description": "描述",
  34293. "type": "string"
  34294. },
  34295. "pickupgoodsid": {
  34296. "description": "提货商品ID",
  34297. "type": "string"
  34298. },
  34299. "pickupgoodsname": {
  34300. "description": "提货商品名称",
  34301. "type": "string"
  34302. },
  34303. "pickupgoodsstatus": {
  34304. "description": "状态 - 1:正常 2:停用 3:注销",
  34305. "type": "integer"
  34306. },
  34307. "pickupgoodsunitid": {
  34308. "description": "单位ID",
  34309. "type": "integer"
  34310. },
  34311. "pickupratio": {
  34312. "description": "提货系数",
  34313. "type": "number"
  34314. },
  34315. "preparedays": {
  34316. "description": "备货期(天)",
  34317. "type": "integer"
  34318. },
  34319. "remark": {
  34320. "description": "备注",
  34321. "type": "string"
  34322. },
  34323. "updatetime": {
  34324. "description": "更新时间",
  34325. "type": "string"
  34326. }
  34327. }
  34328. },
  34329. "models.QhjRSTriggerLog": {
  34330. "type": "object",
  34331. "properties": {
  34332. "accountid": {
  34333. "description": "用户资金账户",
  34334. "type": "integer"
  34335. },
  34336. "accountname": {
  34337. "description": "账号名称(ACCOUNTID对应的名称)",
  34338. "type": "string"
  34339. },
  34340. "currencyid": {
  34341. "description": "币种id",
  34342. "type": "integer"
  34343. },
  34344. "currencyname": {
  34345. "description": "币种名称",
  34346. "type": "string"
  34347. },
  34348. "decimalplace": {
  34349. "description": "商品报价小数位",
  34350. "type": "integer"
  34351. },
  34352. "enumdicname": {
  34353. "description": "单位名称",
  34354. "type": "string"
  34355. },
  34356. "goodscode": {
  34357. "description": "定投商品代码",
  34358. "type": "string"
  34359. },
  34360. "goodsid": {
  34361. "description": "定投商品ID",
  34362. "type": "integer"
  34363. },
  34364. "goodsname": {
  34365. "description": "定投商品名称",
  34366. "type": "string"
  34367. },
  34368. "goodunitid": {
  34369. "description": "定投商品单位id",
  34370. "type": "integer"
  34371. },
  34372. "logid": {
  34373. "description": "LogID(SEQ_QHJ_RSTRIGGERLOG)",
  34374. "type": "string"
  34375. },
  34376. "logincode": {
  34377. "description": "账号(登录代码)",
  34378. "type": "string"
  34379. },
  34380. "qtydecimalplace": {
  34381. "description": "成交量小数位",
  34382. "type": "integer"
  34383. },
  34384. "regularlycycle": {
  34385. "description": "定投频率 - 1:每周 2:每月",
  34386. "type": "integer"
  34387. },
  34388. "regularlycyclevalue": {
  34389. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  34390. "type": "string"
  34391. },
  34392. "regularlymode": {
  34393. "description": "定投方式 - 1:按数量 2:按金额",
  34394. "type": "integer"
  34395. },
  34396. "regularlymodevalue": {
  34397. "description": "定投方式值 - 数量或金额",
  34398. "type": "number"
  34399. },
  34400. "regularlystrategyid": {
  34401. "description": "定投策略ID",
  34402. "type": "integer"
  34403. },
  34404. "retcode": {
  34405. "description": "错误码",
  34406. "type": "string"
  34407. },
  34408. "tradeid": {
  34409. "description": "成交单ID",
  34410. "type": "string"
  34411. },
  34412. "triggeramount": {
  34413. "description": "触发金额",
  34414. "type": "number"
  34415. },
  34416. "triggerqty": {
  34417. "description": "触发数量",
  34418. "type": "number"
  34419. },
  34420. "triggerstatus": {
  34421. "description": "触发状态 - 1:成功 2:失败",
  34422. "type": "integer"
  34423. },
  34424. "triggertime": {
  34425. "description": "触发时间",
  34426. "type": "string"
  34427. },
  34428. "triggertradedate": {
  34429. "description": "触发交易日",
  34430. "type": "string"
  34431. },
  34432. "userid": {
  34433. "description": "所属用户ID",
  34434. "type": "integer"
  34435. },
  34436. "userinfotype": {
  34437. "description": "用户类型 1-个人 2-企业",
  34438. "type": "integer"
  34439. },
  34440. "username": {
  34441. "description": "用户名称(userid对应的名称)",
  34442. "type": "string"
  34443. }
  34444. }
  34445. },
  34446. "models.QhjRStrategy": {
  34447. "type": "object",
  34448. "properties": {
  34449. "accountid": {
  34450. "description": "用户资金账户",
  34451. "type": "integer"
  34452. },
  34453. "accountname": {
  34454. "description": "账号名称(ACCOUNTID对应的名称)",
  34455. "type": "string"
  34456. },
  34457. "currencyid": {
  34458. "description": "币种id",
  34459. "type": "integer"
  34460. },
  34461. "currencyname": {
  34462. "description": "币种名称",
  34463. "type": "string"
  34464. },
  34465. "decimalplace": {
  34466. "description": "商品报价小数位",
  34467. "type": "integer"
  34468. },
  34469. "enumdicname": {
  34470. "description": "单位名称",
  34471. "type": "string"
  34472. },
  34473. "goodscode": {
  34474. "description": "定投商品代码",
  34475. "type": "string"
  34476. },
  34477. "goodsid": {
  34478. "description": "定投商品ID",
  34479. "type": "integer"
  34480. },
  34481. "goodsname": {
  34482. "description": "定投商品名称",
  34483. "type": "string"
  34484. },
  34485. "goodunitid": {
  34486. "description": "定投商品单位id",
  34487. "type": "integer"
  34488. },
  34489. "lasteffecttradedate": {
  34490. "description": "最新生效交易日",
  34491. "type": "string"
  34492. },
  34493. "laststoptradedate": {
  34494. "description": "最新暂停交易日",
  34495. "type": "string"
  34496. },
  34497. "lasttriggertradedate": {
  34498. "description": "最新触发交易日",
  34499. "type": "string"
  34500. },
  34501. "logincode": {
  34502. "description": "账号(登录代码)",
  34503. "type": "string"
  34504. },
  34505. "nexttriggeramount": {
  34506. "description": "下次触发金额",
  34507. "type": "number"
  34508. },
  34509. "nexttriggerdate": {
  34510. "description": "下次触发日期",
  34511. "type": "string"
  34512. },
  34513. "nexttriggerqty": {
  34514. "description": "下次触发数量 [按小数位放大值]",
  34515. "type": "number"
  34516. },
  34517. "qtydecimalplace": {
  34518. "description": "成交量小数位",
  34519. "type": "integer"
  34520. },
  34521. "regularlycycle": {
  34522. "description": "定投频率 - 1:每周 2:每月",
  34523. "type": "integer"
  34524. },
  34525. "regularlycyclevalue": {
  34526. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  34527. "type": "string"
  34528. },
  34529. "regularlymode": {
  34530. "description": "定投方式 - 1:按数量 2:按金额",
  34531. "type": "integer"
  34532. },
  34533. "regularlymodevalue": {
  34534. "description": "定投方式值 - 数量或金额",
  34535. "type": "number"
  34536. },
  34537. "regularlystrategyid": {
  34538. "description": "定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)",
  34539. "type": "integer"
  34540. },
  34541. "regularlystrategystatus": {
  34542. "description": "策略状态 - 1:正常 2:暂停 3:终止",
  34543. "type": "integer"
  34544. },
  34545. "remark": {
  34546. "description": "备注",
  34547. "type": "string"
  34548. },
  34549. "triggersuccesstimes": {
  34550. "description": "累计定投成功次数",
  34551. "type": "string"
  34552. },
  34553. "triggertotalamount": {
  34554. "description": "累计定投金额(成功)",
  34555. "type": "number"
  34556. },
  34557. "triggertotalqty": {
  34558. "description": "累计定投数量(成功) [按小数位放大值]",
  34559. "type": "number"
  34560. },
  34561. "triggertotaltimes": {
  34562. "description": "累计定投总次数",
  34563. "type": "string"
  34564. },
  34565. "updatesrc": {
  34566. "description": "更新来源 - 1:管理端 2:终端",
  34567. "type": "integer"
  34568. },
  34569. "updatetime": {
  34570. "description": "更新时间",
  34571. "type": "string"
  34572. },
  34573. "updatorid": {
  34574. "description": "更新人",
  34575. "type": "string"
  34576. },
  34577. "userid": {
  34578. "description": "所属用户ID",
  34579. "type": "integer"
  34580. },
  34581. "userinfotype": {
  34582. "description": "用户类型 1-个人 2-企业",
  34583. "type": "integer"
  34584. },
  34585. "username": {
  34586. "description": "用户名称(userid对应的名称)",
  34587. "type": "string"
  34588. }
  34589. }
  34590. },
  34591. "models.QhjReckonPriceLog": {
  34592. "type": "object",
  34593. "properties": {
  34594. "decimalplace": {
  34595. "description": "商品报价小数位",
  34596. "type": "integer"
  34597. },
  34598. "goodscode": {
  34599. "description": "商品代码",
  34600. "type": "string"
  34601. },
  34602. "goodsid": {
  34603. "description": "商品ID",
  34604. "type": "integer"
  34605. },
  34606. "goodsname": {
  34607. "description": "商品名称",
  34608. "type": "string"
  34609. },
  34610. "lastreckonprice": {
  34611. "description": "上日结算价",
  34612. "type": "number"
  34613. },
  34614. "nextdnlimitprice": {
  34615. "description": "下个交易日跌停价",
  34616. "type": "number"
  34617. },
  34618. "nexttrade": {
  34619. "description": "下个交易日",
  34620. "type": "string"
  34621. },
  34622. "nextuplimitprice": {
  34623. "description": "下个交易日涨停价",
  34624. "type": "number"
  34625. },
  34626. "reckonprice": {
  34627. "description": "今日结算价(定投价)",
  34628. "type": "number"
  34629. },
  34630. "reckontime": {
  34631. "description": "结算时间",
  34632. "type": "string"
  34633. },
  34634. "totalholderqty": {
  34635. "description": "总持仓数",
  34636. "type": "integer"
  34637. },
  34638. "totalstock": {
  34639. "description": "总库存",
  34640. "type": "integer"
  34641. },
  34642. "tradedate": {
  34643. "description": "交易日",
  34644. "type": "string"
  34645. },
  34646. "updowncount": {
  34647. "description": "连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)",
  34648. "type": "integer"
  34649. },
  34650. "updownflag": {
  34651. "description": "连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停",
  34652. "type": "integer"
  34653. },
  34654. "updownrate": {
  34655. "description": "今日涨跌幅",
  34656. "type": "number"
  34657. },
  34658. "updownrate_2d": {
  34659. "description": "连续两日涨跌幅",
  34660. "type": "number"
  34661. },
  34662. "updownrate_3d": {
  34663. "description": "连续三日涨跌幅",
  34664. "type": "number"
  34665. }
  34666. }
  34667. },
  34668. "models.QhjScoreLog": {
  34669. "type": "object",
  34670. "properties": {
  34671. "accountid": {
  34672. "description": "账户ID",
  34673. "type": "integer"
  34674. },
  34675. "createtime": {
  34676. "description": "创建时间(时间)",
  34677. "type": "string"
  34678. },
  34679. "goodsid": {
  34680. "description": "商品ID",
  34681. "type": "integer"
  34682. },
  34683. "hasuploaded": {
  34684. "description": "是否已同步(千海金) 0:未同步 1;已同步",
  34685. "type": "integer"
  34686. },
  34687. "logid": {
  34688. "description": "流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  34689. "type": "string"
  34690. },
  34691. "marketid": {
  34692. "description": "市场ID",
  34693. "type": "integer"
  34694. },
  34695. "relatedamount": {
  34696. "description": "关联金额",
  34697. "type": "number"
  34698. },
  34699. "relatedorderid": {
  34700. "description": "关联单号(ScoreType=1为Trade_GoodsPickup)",
  34701. "type": "string"
  34702. },
  34703. "scoreconfigvalue1": {
  34704. "description": "积分配置1",
  34705. "type": "integer"
  34706. },
  34707. "scoreconfigvalue2": {
  34708. "description": "积分配置1",
  34709. "type": "integer"
  34710. },
  34711. "scoretype": {
  34712. "description": "积分类型 - 1:提货积分",
  34713. "type": "integer"
  34714. },
  34715. "scorevalue": {
  34716. "description": "积分",
  34717. "type": "number"
  34718. },
  34719. "tradedate": {
  34720. "description": "交易日(yyyyMMdd)",
  34721. "type": "string"
  34722. },
  34723. "uploadedtime": {
  34724. "description": "同步时间",
  34725. "type": "string"
  34726. },
  34727. "userid": {
  34728. "description": "用户ID",
  34729. "type": "integer"
  34730. }
  34731. }
  34732. },
  34733. "models.QhjSiteColumnDetail": {
  34734. "type": "object",
  34735. "properties": {
  34736. "author": {
  34737. "description": "作者",
  34738. "type": "string"
  34739. },
  34740. "brief": {
  34741. "description": "简介",
  34742. "type": "string"
  34743. },
  34744. "columnid": {
  34745. "description": "所属栏目",
  34746. "type": "integer"
  34747. },
  34748. "context": {
  34749. "description": "内容",
  34750. "type": "string"
  34751. },
  34752. "coverimage": {
  34753. "description": "封面图片",
  34754. "type": "string"
  34755. },
  34756. "creaedate": {
  34757. "description": "创建时间",
  34758. "type": "string"
  34759. },
  34760. "creatorid": {
  34761. "description": "创建人",
  34762. "type": "integer"
  34763. },
  34764. "hits": {
  34765. "description": "点击数",
  34766. "type": "integer"
  34767. },
  34768. "id": {
  34769. "description": "ID(SEQ_SITE_COLUMNDETAIL)",
  34770. "type": "integer"
  34771. },
  34772. "isshow": {
  34773. "description": "是否展示 - 0:不展示 1:展示",
  34774. "type": "integer"
  34775. },
  34776. "istop": {
  34777. "description": "是否置顶 - 0:不置 1:置顶",
  34778. "type": "integer"
  34779. },
  34780. "modifierid": {
  34781. "description": "操作人",
  34782. "type": "integer"
  34783. },
  34784. "publishdate": {
  34785. "description": "发布日期",
  34786. "type": "string"
  34787. },
  34788. "status": {
  34789. "description": "状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝",
  34790. "type": "integer"
  34791. },
  34792. "title": {
  34793. "description": "标题",
  34794. "type": "string"
  34795. },
  34796. "updatedate": {
  34797. "description": "修改时间",
  34798. "type": "string"
  34799. },
  34800. "userid": {
  34801. "description": "用户ID(默认为0, 核心为为机构用户ID)",
  34802. "type": "integer"
  34803. },
  34804. "username": {
  34805. "description": "用户名称",
  34806. "type": "string"
  34807. }
  34808. }
  34809. },
  34810. "models.QhjTeamOrder": {
  34811. "type": "object",
  34812. "properties": {
  34813. "accountid": {
  34814. "description": "账户ID[报价币种]",
  34815. "type": "integer"
  34816. },
  34817. "accountname": {
  34818. "description": "账户名称",
  34819. "type": "string"
  34820. },
  34821. "agreeunit": {
  34822. "description": "合约乘数",
  34823. "type": "number"
  34824. },
  34825. "buyorsell": {
  34826. "description": "方向 - 0:买 1:卖",
  34827. "type": "integer"
  34828. },
  34829. "decimalplace": {
  34830. "description": "报价小数位",
  34831. "type": "integer"
  34832. },
  34833. "enumdicname": {
  34834. "description": "单位名称",
  34835. "type": "string"
  34836. },
  34837. "goodscode": {
  34838. "description": "商品代码(内部)",
  34839. "type": "string"
  34840. },
  34841. "goodsid": {
  34842. "description": "商品ID",
  34843. "type": "integer"
  34844. },
  34845. "goodsname": {
  34846. "description": "商品名称",
  34847. "type": "string"
  34848. },
  34849. "goodunitid": {
  34850. "description": "报价单位ID",
  34851. "type": "integer"
  34852. },
  34853. "marketid": {
  34854. "description": "市场ID",
  34855. "type": "integer"
  34856. },
  34857. "marketname": {
  34858. "description": "市场名称",
  34859. "type": "string"
  34860. },
  34861. "qtydecimalplace": {
  34862. "description": "成交量小数位",
  34863. "type": "integer"
  34864. },
  34865. "refereeuserid": {
  34866. "description": "推荐人ID",
  34867. "type": "integer"
  34868. },
  34869. "tradeamount": {
  34870. "description": "成交金额[账户币种,用于所有权]",
  34871. "type": "number"
  34872. },
  34873. "tradedate": {
  34874. "description": "交易日(yyyyMMdd)",
  34875. "type": "string"
  34876. },
  34877. "trademode": {
  34878. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  34879. "type": "integer"
  34880. },
  34881. "tradeprice": {
  34882. "description": "成交价格",
  34883. "type": "number"
  34884. },
  34885. "tradeqty": {
  34886. "description": "成交数量",
  34887. "type": "number"
  34888. },
  34889. "tradetime": {
  34890. "description": "成交时间",
  34891. "type": "string"
  34892. },
  34893. "userid": {
  34894. "description": "用户ID",
  34895. "type": "integer"
  34896. }
  34897. }
  34898. },
  34899. "models.QhjTradeGoodsPickup": {
  34900. "type": "object",
  34901. "properties": {
  34902. "accountid": {
  34903. "description": "账户ID",
  34904. "type": "integer"
  34905. },
  34906. "address": {
  34907. "description": "提货人详细地址",
  34908. "type": "string"
  34909. },
  34910. "amount": {
  34911. "description": "提货金额",
  34912. "type": "number"
  34913. },
  34914. "artradedate": {
  34915. "description": "自动收货交易日(yyyyMMdd)",
  34916. "type": "string"
  34917. },
  34918. "auditer": {
  34919. "description": "审核人",
  34920. "type": "integer"
  34921. },
  34922. "auditsrc": {
  34923. "description": "更新来源 - 1:管理端 2:终端",
  34924. "type": "integer"
  34925. },
  34926. "audittime": {
  34927. "description": "审核时间(发货时间 | 备货完成时间 都是这个字段)",
  34928. "type": "string"
  34929. },
  34930. "audittradedate": {
  34931. "description": "审核交易日(yyyyMMdd)",
  34932. "type": "string"
  34933. },
  34934. "cardnum": {
  34935. "description": "提货人证件号码",
  34936. "type": "string"
  34937. },
  34938. "cardtypeid": {
  34939. "description": "提货人证件类型",
  34940. "type": "integer"
  34941. },
  34942. "checkremark": {
  34943. "description": "审核备注",
  34944. "type": "string"
  34945. },
  34946. "cityid": {
  34947. "description": "市",
  34948. "type": "integer"
  34949. },
  34950. "cityname": {
  34951. "description": "城市名称",
  34952. "type": "string"
  34953. },
  34954. "confirmtime": {
  34955. "description": "取货时间 或 收货时间",
  34956. "type": "string"
  34957. },
  34958. "countryid": {
  34959. "description": "国家",
  34960. "type": "integer"
  34961. },
  34962. "countryname": {
  34963. "description": "国家名称",
  34964. "type": "string"
  34965. },
  34966. "decimalplace": {
  34967. "description": "商品报价小数位",
  34968. "type": "integer"
  34969. },
  34970. "districtid": {
  34971. "description": "地区",
  34972. "type": "integer"
  34973. },
  34974. "districtname": {
  34975. "description": "地区名称",
  34976. "type": "string"
  34977. },
  34978. "enumdicname": {
  34979. "description": "单位名称(提货商品)",
  34980. "type": "string"
  34981. },
  34982. "expresscompany": {
  34983. "description": "物流公司",
  34984. "type": "string"
  34985. },
  34986. "expressnum": {
  34987. "description": "物流单号",
  34988. "type": "string"
  34989. },
  34990. "goodsagreeunit": {
  34991. "description": "交易商品乘数",
  34992. "type": "number"
  34993. },
  34994. "goodscode": {
  34995. "description": "商品代码",
  34996. "type": "string"
  34997. },
  34998. "goodsid": {
  34999. "description": "商品ID",
  35000. "type": "integer"
  35001. },
  35002. "goodsname": {
  35003. "description": "商品名称",
  35004. "type": "string"
  35005. },
  35006. "goodsqty": {
  35007. "description": "交易商品手数(69模式按成交量小数位放大取整)",
  35008. "type": "number"
  35009. },
  35010. "handlestatus": {
  35011. "description": "处理状态",
  35012. "type": "integer"
  35013. },
  35014. "logincode": {
  35015. "description": "账号(登录代码, 有可能为空)",
  35016. "type": "string"
  35017. },
  35018. "marketid": {
  35019. "description": "市场ID",
  35020. "type": "integer"
  35021. },
  35022. "phonenum": {
  35023. "description": "提货人联系方式",
  35024. "type": "string"
  35025. },
  35026. "pickupgoodsagreeunit": {
  35027. "description": "提货商品合约乘数",
  35028. "type": "number"
  35029. },
  35030. "pickupgoodsid": {
  35031. "description": "提货商品ID",
  35032. "type": "string"
  35033. },
  35034. "pickupgoodsname": {
  35035. "description": "提货商品名称",
  35036. "type": "string"
  35037. },
  35038. "pickupgoodsqty": {
  35039. "description": "提货商品手数(数量)",
  35040. "type": "number"
  35041. },
  35042. "pickupgoodsunitid": {
  35043. "description": "单位ID(提货商品)",
  35044. "type": "integer"
  35045. },
  35046. "pickupratio": {
  35047. "description": "提货系数",
  35048. "type": "number"
  35049. },
  35050. "preparedays": {
  35051. "description": "备货期(天)-提货单明细表",
  35052. "type": "integer"
  35053. },
  35054. "provinceid": {
  35055. "description": "省",
  35056. "type": "integer"
  35057. },
  35058. "provincename": {
  35059. "description": "省名称",
  35060. "type": "string"
  35061. },
  35062. "qty": {
  35063. "description": "交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总",
  35064. "type": "number"
  35065. },
  35066. "qtydecimalplace": {
  35067. "description": "商品数量小数位",
  35068. "type": "integer"
  35069. },
  35070. "recivername": {
  35071. "description": "提货人姓名",
  35072. "type": "string"
  35073. },
  35074. "reqtime": {
  35075. "description": "提货申请时间",
  35076. "type": "string"
  35077. },
  35078. "storeuserid": {
  35079. "description": "门店用户ID (千海金)",
  35080. "type": "integer"
  35081. },
  35082. "storeusername": {
  35083. "description": "门店用户名称",
  35084. "type": "string"
  35085. },
  35086. "takemode": {
  35087. "description": "提货方式 - 2:自提 3:配送(邮寄)",
  35088. "type": "integer"
  35089. },
  35090. "takeorderid": {
  35091. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  35092. "type": "string"
  35093. },
  35094. "takeorderstatus": {
  35095. "description": "提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  35096. "type": "integer"
  35097. },
  35098. "takeremark": {
  35099. "description": "提货备注",
  35100. "type": "string"
  35101. },
  35102. "tradedate": {
  35103. "description": "交易日(yyyyMMdd)",
  35104. "type": "string"
  35105. },
  35106. "updatetime": {
  35107. "description": "更新时间",
  35108. "type": "string"
  35109. },
  35110. "userid": {
  35111. "description": "用户ID",
  35112. "type": "integer"
  35113. },
  35114. "userinfotype": {
  35115. "description": "客户类型 1-个人 2-企业",
  35116. "type": "integer"
  35117. },
  35118. "username": {
  35119. "description": "用户名称",
  35120. "type": "string"
  35121. }
  35122. }
  35123. },
  35124. "models.QhjUserNodeCfgAndStatus": {
  35125. "type": "object",
  35126. "properties": {
  35127. "agreementcontent": {
  35128. "description": "协议内容",
  35129. "type": "string"
  35130. },
  35131. "agreementid": {
  35132. "description": "协议ID",
  35133. "type": "integer"
  35134. },
  35135. "agreementname": {
  35136. "description": "协议名称",
  35137. "type": "string"
  35138. },
  35139. "agreementno": {
  35140. "description": "协议编号",
  35141. "type": "string"
  35142. },
  35143. "agreementtype": {
  35144. "description": "协议类型 - 1:注册 2:登录 3:交易",
  35145. "type": "integer"
  35146. },
  35147. "agreementversion": {
  35148. "description": "协议版本号",
  35149. "type": "integer"
  35150. },
  35151. "configid": {
  35152. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  35153. "type": "integer"
  35154. },
  35155. "createtime": {
  35156. "description": "创建时间",
  35157. "type": "string"
  35158. },
  35159. "goodsid": {
  35160. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  35161. "type": "integer"
  35162. },
  35163. "nodetype": {
  35164. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  35165. "type": "integer"
  35166. },
  35167. "signtimestamp": {
  35168. "description": "签约状态时间戳(最近一次)",
  35169. "type": "string"
  35170. },
  35171. "tradedate": {
  35172. "description": "签约交易日(yyyyMMdd)",
  35173. "type": "string"
  35174. },
  35175. "userid": {
  35176. "description": "客户ID",
  35177. "type": "integer"
  35178. }
  35179. }
  35180. },
  35181. "models.Qhjgoodsex": {
  35182. "type": "object",
  35183. "properties": {
  35184. "canfinance": {
  35185. "description": "是否支持融资 - 0:不支持 1:支持【69:铂金宝】",
  35186. "type": "integer"
  35187. },
  35188. "canregularlybuy": {
  35189. "description": "是否支持定投 - 0:不支持 1:支持【69:铂金宝】",
  35190. "type": "integer"
  35191. },
  35192. "defaulttradeuserid": {
  35193. "description": "默认交易用户ID",
  35194. "type": "integer"
  35195. },
  35196. "deliverygoodsid": {
  35197. "description": "现货品种ID",
  35198. "type": "integer"
  35199. },
  35200. "goodsid": {
  35201. "description": "商品ID(自增ID SEQ_GOODS)",
  35202. "type": "integer"
  35203. },
  35204. "minamount": {
  35205. "description": "最小购买金额",
  35206. "type": "number"
  35207. },
  35208. "regularlybuyminamount": {
  35209. "description": "定投最小金额",
  35210. "type": "number"
  35211. },
  35212. "regularlybuyminqty": {
  35213. "description": "定投最小数量",
  35214. "type": "number"
  35215. },
  35216. "spotgoodsbrandid": {
  35217. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\"",
  35218. "type": "integer"
  35219. },
  35220. "visibilityforenterprise": {
  35221. "description": "企业客户是否可见 - 0:不可见 1:可见",
  35222. "type": "integer"
  35223. },
  35224. "visibilityforpersonal": {
  35225. "description": "个人客户是否可见 - 0:不可见 1:可见",
  35226. "type": "integer"
  35227. },
  35228. "wrstandardid": {
  35229. "description": "现货商品ID",
  35230. "type": "integer"
  35231. }
  35232. }
  35233. },
  35234. "models.QueryErrorInfosRsp": {
  35235. "type": "object",
  35236. "required": [
  35237. "errorid"
  35238. ],
  35239. "properties": {
  35240. "description": {
  35241. "description": "异常描述",
  35242. "type": "string"
  35243. },
  35244. "errorcode": {
  35245. "description": "异常代码",
  35246. "type": "string"
  35247. },
  35248. "errorid": {
  35249. "description": "异常ID",
  35250. "type": "integer"
  35251. },
  35252. "modulecode": {
  35253. "description": "所属模块",
  35254. "type": "string"
  35255. },
  35256. "operatecode": {
  35257. "description": "所属操作",
  35258. "type": "string"
  35259. },
  35260. "rownumber": {
  35261. "description": "行号",
  35262. "type": "string"
  35263. }
  35264. }
  35265. },
  35266. "models.QueryHedgeOrderDetailRsp": {
  35267. "type": "object",
  35268. "properties": {
  35269. "accountid": {
  35270. "description": "账户ID",
  35271. "type": "integer"
  35272. },
  35273. "buyorsell": {
  35274. "description": "买卖 - 0:买 1:卖",
  35275. "type": "integer"
  35276. },
  35277. "cancellogincode": {
  35278. "description": "撤单人",
  35279. "type": "string"
  35280. },
  35281. "channelbuildtype": {
  35282. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  35283. "type": "integer"
  35284. },
  35285. "channelinnerorderstatus": {
  35286. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:部分成交 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  35287. "type": "integer"
  35288. },
  35289. "channeloperatetype": {
  35290. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  35291. "type": "integer"
  35292. },
  35293. "closetype": {
  35294. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  35295. "type": "integer"
  35296. },
  35297. "curexchangerate": {
  35298. "description": "当前汇率",
  35299. "type": "number"
  35300. },
  35301. "decimalplace": {
  35302. "description": "商品报价小数位",
  35303. "type": "integer"
  35304. },
  35305. "exchangefullname": {
  35306. "description": "外部交易所全称",
  35307. "type": "string"
  35308. },
  35309. "goodscode": {
  35310. "description": "商品代码(内部)",
  35311. "type": "string"
  35312. },
  35313. "goodsid": {
  35314. "description": "商品ID",
  35315. "type": "integer"
  35316. },
  35317. "goodsname": {
  35318. "description": "商品名称",
  35319. "type": "string"
  35320. },
  35321. "marketid": {
  35322. "description": "市场ID",
  35323. "type": "integer"
  35324. },
  35325. "openfreezemargin": {
  35326. "description": "冻结保证金(冻结交易金额)",
  35327. "type": "number"
  35328. },
  35329. "orderid": {
  35330. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  35331. "type": "string"
  35332. },
  35333. "orderlogincode": {
  35334. "description": "委托人",
  35335. "type": "string"
  35336. },
  35337. "orderprice": {
  35338. "description": "委托价格(账户)",
  35339. "type": "number"
  35340. },
  35341. "orderqty": {
  35342. "description": "委托数量",
  35343. "type": "integer"
  35344. },
  35345. "ordertime": {
  35346. "description": "委托时间",
  35347. "type": "string"
  35348. },
  35349. "pricemode": {
  35350. "description": "取价方式 - 1:市价 2: 限价",
  35351. "type": "integer"
  35352. },
  35353. "tradedate": {
  35354. "description": "交易日(yyyyMMdd)",
  35355. "type": "string"
  35356. },
  35357. "tradeqty": {
  35358. "description": "成交数量",
  35359. "type": "integer"
  35360. }
  35361. }
  35362. },
  35363. "models.QueryHedgeTradeDetailRsp": {
  35364. "type": "object",
  35365. "properties": {
  35366. "accountid": {
  35367. "description": "账号ID",
  35368. "type": "integer"
  35369. },
  35370. "buyorsell": {
  35371. "description": "方向 - 0:买 1:卖",
  35372. "type": "integer"
  35373. },
  35374. "channelbuildtype": {
  35375. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  35376. "type": "integer"
  35377. },
  35378. "closecharge": {
  35379. "description": "平仓手续费(账户)",
  35380. "type": "number"
  35381. },
  35382. "closecharge2": {
  35383. "description": "平仓手续费(商品)",
  35384. "type": "number"
  35385. },
  35386. "closepl": {
  35387. "description": "平仓盈亏(账户)",
  35388. "type": "number"
  35389. },
  35390. "closepl2": {
  35391. "description": "平仓盈亏(商品)",
  35392. "type": "number"
  35393. },
  35394. "closepl3": {
  35395. "description": "平仓盈亏(账户)(逐笔)",
  35396. "type": "number"
  35397. },
  35398. "closepl4": {
  35399. "description": "平仓盈亏(商品)(逐笔)",
  35400. "type": "number"
  35401. },
  35402. "closetype": {
  35403. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  35404. "type": "integer"
  35405. },
  35406. "curexchangerate": {
  35407. "description": "当前汇率",
  35408. "type": "number"
  35409. },
  35410. "decimalplace": {
  35411. "description": "商品报价小数位",
  35412. "type": "integer"
  35413. },
  35414. "exchangefullname": {
  35415. "description": "外部交易所全称",
  35416. "type": "string"
  35417. },
  35418. "goodscode": {
  35419. "description": "商品代码(内部)",
  35420. "type": "string"
  35421. },
  35422. "goodsid": {
  35423. "description": "商品ID",
  35424. "type": "integer"
  35425. },
  35426. "goodsname": {
  35427. "description": "商品名称",
  35428. "type": "string"
  35429. },
  35430. "marketid": {
  35431. "description": "市场ID",
  35432. "type": "integer"
  35433. },
  35434. "opencharge": {
  35435. "description": "建仓手续费(账户)",
  35436. "type": "number"
  35437. },
  35438. "opencharge2": {
  35439. "description": "建仓手续费(商品)",
  35440. "type": "number"
  35441. },
  35442. "orderid": {
  35443. "description": "委托单号",
  35444. "type": "string"
  35445. },
  35446. "orderlogincode": {
  35447. "description": "委托人",
  35448. "type": "string"
  35449. },
  35450. "tradeamount": {
  35451. "description": "成交金额(账户)",
  35452. "type": "number"
  35453. },
  35454. "tradedate": {
  35455. "description": "交易日(yyyyMMdd)",
  35456. "type": "string"
  35457. },
  35458. "tradeid": {
  35459. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  35460. "type": "string"
  35461. },
  35462. "tradeprice": {
  35463. "description": "成交价格",
  35464. "type": "number"
  35465. },
  35466. "tradeqty": {
  35467. "description": "成交数量",
  35468. "type": "integer"
  35469. },
  35470. "tradetime": {
  35471. "description": "成交时间",
  35472. "type": "string"
  35473. },
  35474. "tradetype": {
  35475. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  35476. "type": "integer"
  35477. }
  35478. }
  35479. },
  35480. "models.QuotePrimaryMenu": {
  35481. "type": "object",
  35482. "properties": {
  35483. "Index": {
  35484. "description": "序号",
  35485. "type": "integer"
  35486. },
  35487. "Key": {
  35488. "description": "键名",
  35489. "type": "string"
  35490. },
  35491. "Name": {
  35492. "description": "菜单名称",
  35493. "type": "string"
  35494. },
  35495. "SubMenus": {
  35496. "description": "子菜单",
  35497. "type": "array",
  35498. "items": {
  35499. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  35500. }
  35501. },
  35502. "SubTitleType": {
  35503. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  35504. "type": "integer"
  35505. },
  35506. "TradeModes": {
  35507. "description": "包含市场交易类型",
  35508. "type": "string"
  35509. }
  35510. }
  35511. },
  35512. "models.QuoteSecondaryMenu": {
  35513. "type": "object",
  35514. "properties": {
  35515. "ExExchangeCode": {
  35516. "description": "外部交易所代码",
  35517. "type": "string"
  35518. },
  35519. "ExExchangeID": {
  35520. "description": "外部交易所ID",
  35521. "type": "integer"
  35522. },
  35523. "GoodsGroupIDs": {
  35524. "description": "商品组ID列表",
  35525. "type": "array",
  35526. "items": {
  35527. "type": "integer"
  35528. }
  35529. },
  35530. "Index": {
  35531. "description": "序号",
  35532. "type": "integer"
  35533. },
  35534. "MarketID": {
  35535. "description": "市场ID",
  35536. "type": "integer"
  35537. },
  35538. "MenuTitle": {
  35539. "description": "菜单标题(市场名称或外部交易所名称)",
  35540. "type": "string"
  35541. },
  35542. "TradeMode": {
  35543. "description": "交易模式",
  35544. "type": "integer"
  35545. }
  35546. }
  35547. },
  35548. "models.RelatedTaAccount": {
  35549. "type": "object",
  35550. "properties": {
  35551. "accountid": {
  35552. "description": "资金账户ID",
  35553. "type": "integer"
  35554. }
  35555. }
  35556. },
  35557. "models.RoleMenu": {
  35558. "type": "object",
  35559. "properties": {
  35560. "hasright": {
  35561. "description": "是否有权限 0-没有权限 1-有权限",
  35562. "type": "integer"
  35563. },
  35564. "iconame": {
  35565. "description": "菜单图标",
  35566. "type": "string"
  35567. },
  35568. "menutype": {
  35569. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  35570. "type": "integer"
  35571. },
  35572. "parentcode": {
  35573. "description": "上级资源代码",
  35574. "type": "string"
  35575. },
  35576. "remark": {
  35577. "description": "菜单备注",
  35578. "type": "string"
  35579. },
  35580. "resourcecode": {
  35581. "description": "菜单代码",
  35582. "type": "string"
  35583. },
  35584. "resourcelevel": {
  35585. "description": "级别",
  35586. "type": "integer"
  35587. },
  35588. "resourcename": {
  35589. "description": "菜单名称",
  35590. "type": "string"
  35591. },
  35592. "roleid": {
  35593. "description": "角色id",
  35594. "type": "integer"
  35595. },
  35596. "sort": {
  35597. "description": "排序",
  35598. "type": "integer"
  35599. },
  35600. "subMenu": {
  35601. "description": "子级菜单(结构同上层一样, swag解析不出来)",
  35602. "type": "array",
  35603. "items": {
  35604. "$ref": "#/definitions/models.RoleMenu"
  35605. }
  35606. },
  35607. "url": {
  35608. "description": "URL",
  35609. "type": "string"
  35610. },
  35611. "userid": {
  35612. "description": "用户id",
  35613. "type": "integer"
  35614. }
  35615. }
  35616. },
  35617. "models.SearchGoods": {
  35618. "type": "object",
  35619. "required": [
  35620. "goodscode",
  35621. "goodsid",
  35622. "goodsname",
  35623. "marketid",
  35624. "trademode"
  35625. ],
  35626. "properties": {
  35627. "goodscode": {
  35628. "description": "商品代码(内部)",
  35629. "type": "string"
  35630. },
  35631. "goodsid": {
  35632. "description": "商品ID(自增ID SEQ_GOODS)",
  35633. "type": "integer"
  35634. },
  35635. "goodsname": {
  35636. "description": "商品名称",
  35637. "type": "string"
  35638. },
  35639. "marketid": {
  35640. "description": "所属市场ID",
  35641. "type": "integer"
  35642. },
  35643. "marketname": {
  35644. "description": "市场名称",
  35645. "type": "string"
  35646. },
  35647. "trademode": {
  35648. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  35649. "type": "integer"
  35650. }
  35651. }
  35652. },
  35653. "models.Systemparam": {
  35654. "type": "object",
  35655. "required": [
  35656. "paramcode"
  35657. ],
  35658. "properties": {
  35659. "loginid": {
  35660. "description": "更新用户账号,登录账号",
  35661. "type": "string"
  35662. },
  35663. "modifyflag": {
  35664. "description": "修改标志0 不允许修改 1 允许修改",
  35665. "type": "integer"
  35666. },
  35667. "paramcode": {
  35668. "description": "参数代码",
  35669. "type": "string"
  35670. },
  35671. "paramname": {
  35672. "description": "参数名",
  35673. "type": "string"
  35674. },
  35675. "paramtype": {
  35676. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  35677. "type": "integer"
  35678. },
  35679. "paramvalue": {
  35680. "description": "参数值",
  35681. "type": "string"
  35682. },
  35683. "paramvalue2": {
  35684. "description": "参数值(CLOB)",
  35685. "type": "string"
  35686. },
  35687. "regexpress": {
  35688. "description": "正则表达式",
  35689. "type": "string"
  35690. },
  35691. "remark": {
  35692. "description": "备注",
  35693. "type": "string"
  35694. },
  35695. "serverip": {
  35696. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  35697. "type": "string"
  35698. },
  35699. "showflag": {
  35700. "description": "是否显示0 不显示 1 显示",
  35701. "type": "integer"
  35702. },
  35703. "updatetime": {
  35704. "description": "更新时间",
  35705. "type": "string"
  35706. },
  35707. "userid": {
  35708. "description": "更新用户ID",
  35709. "type": "integer"
  35710. }
  35711. }
  35712. },
  35713. "models.Szdz3convertconfig": {
  35714. "type": "object",
  35715. "required": [
  35716. "converttype",
  35717. "innergoodsid",
  35718. "outergoodscode"
  35719. ],
  35720. "properties": {
  35721. "canin": {
  35722. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  35723. "type": "integer"
  35724. },
  35725. "canout": {
  35726. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  35727. "type": "integer"
  35728. },
  35729. "converttype": {
  35730. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  35731. "type": "integer"
  35732. },
  35733. "createtime": {
  35734. "description": "创建时间",
  35735. "type": "string"
  35736. },
  35737. "creatorid": {
  35738. "description": "创建人",
  35739. "type": "integer"
  35740. },
  35741. "daymaxvalue": {
  35742. "description": "当日最大转入限制",
  35743. "type": "number"
  35744. },
  35745. "freezedays": {
  35746. "description": "冻结天数 [5:花生米转交易]",
  35747. "type": "integer"
  35748. },
  35749. "innergoodsid": {
  35750. "description": "内部商品ID[交易]",
  35751. "type": "integer"
  35752. },
  35753. "inratio": {
  35754. "description": "目标值",
  35755. "type": "integer"
  35756. },
  35757. "modifierid": {
  35758. "description": "修改人",
  35759. "type": "integer"
  35760. },
  35761. "modifytime": {
  35762. "description": "修改时间",
  35763. "type": "string"
  35764. },
  35765. "outergoodscode": {
  35766. "description": "外部商品代码[JD\\PD]",
  35767. "type": "string"
  35768. },
  35769. "outratio": {
  35770. "description": "源值",
  35771. "type": "integer"
  35772. },
  35773. "pddecimalplace": {
  35774. "description": "PD小数位",
  35775. "type": "integer"
  35776. },
  35777. "timemaxvalue": {
  35778. "description": "单次最大转入限制",
  35779. "type": "number"
  35780. },
  35781. "timeminvalue": {
  35782. "description": "单次最小转入限制",
  35783. "type": "number"
  35784. }
  35785. }
  35786. },
  35787. "models.Szdz3searchwhitelist": {
  35788. "type": "object",
  35789. "required": [
  35790. "userid"
  35791. ],
  35792. "properties": {
  35793. "createtime": {
  35794. "description": "创建时间",
  35795. "type": "string"
  35796. },
  35797. "creatorid": {
  35798. "description": "创建人",
  35799. "type": "integer"
  35800. },
  35801. "modifierid": {
  35802. "description": "修改人",
  35803. "type": "integer"
  35804. },
  35805. "modifytime": {
  35806. "description": "修改时间",
  35807. "type": "string"
  35808. },
  35809. "userid": {
  35810. "description": "用户ID",
  35811. "type": "integer"
  35812. }
  35813. }
  35814. },
  35815. "models.TBGoods": {
  35816. "type": "object",
  35817. "properties": {
  35818. "agreeunit": {
  35819. "description": "合约乘数",
  35820. "type": "number"
  35821. },
  35822. "enumdicname": {
  35823. "description": "单位名称",
  35824. "type": "string"
  35825. },
  35826. "goodscode": {
  35827. "description": "商品代码(内部)",
  35828. "type": "string"
  35829. },
  35830. "goodsid": {
  35831. "description": "商品ID(自增ID SEQ_GOODS)",
  35832. "type": "integer"
  35833. },
  35834. "goodsname": {
  35835. "description": "商品名称",
  35836. "type": "string"
  35837. }
  35838. }
  35839. },
  35840. "models.TBGoodsGroup": {
  35841. "type": "object",
  35842. "properties": {
  35843. "GDLST": {
  35844. "description": "商品列表",
  35845. "type": "array",
  35846. "items": {
  35847. "$ref": "#/definitions/models.TBGoods"
  35848. }
  35849. },
  35850. "convertratio": {
  35851. "description": "折算系数",
  35852. "type": "number"
  35853. },
  35854. "enumdicname": {
  35855. "description": "单位名称",
  35856. "type": "string"
  35857. },
  35858. "exexchangecode": {
  35859. "description": "交易所代码",
  35860. "type": "string"
  35861. },
  35862. "exexchangename": {
  35863. "description": "交易所名称",
  35864. "type": "string"
  35865. },
  35866. "goodsgroupid": {
  35867. "description": "商品组ID(自增ID)",
  35868. "type": "integer"
  35869. },
  35870. "goodsgroupname": {
  35871. "description": "商品组名称",
  35872. "type": "string"
  35873. },
  35874. "goodunitid": {
  35875. "description": "报价单位ID",
  35876. "type": "integer"
  35877. }
  35878. }
  35879. },
  35880. "models.TBMiddleGoods": {
  35881. "type": "object",
  35882. "properties": {
  35883. "GPLST": {
  35884. "description": "期货品种列表",
  35885. "type": "array",
  35886. "items": {
  35887. "$ref": "#/definitions/models.TBGoodsGroup"
  35888. }
  35889. },
  35890. "WDLST": {
  35891. "description": "商品信息列表(现货品类)",
  35892. "type": "array",
  35893. "items": {
  35894. "$ref": "#/definitions/models.TBWrstandard"
  35895. }
  35896. },
  35897. "areauserid": {
  35898. "description": "机构用户ID",
  35899. "type": "integer"
  35900. },
  35901. "enumdicname": {
  35902. "description": "单位名称",
  35903. "type": "string"
  35904. },
  35905. "goodsunitid": {
  35906. "description": "套保品种单位id",
  35907. "type": "integer"
  35908. },
  35909. "middlegoodscode": {
  35910. "description": "套保品种代码",
  35911. "type": "string"
  35912. },
  35913. "middlegoodsid": {
  35914. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  35915. "type": "integer"
  35916. },
  35917. "middlegoodsname": {
  35918. "description": "套保品种名称",
  35919. "type": "string"
  35920. },
  35921. "needarbitrageratio": {
  35922. "description": "套利比率",
  35923. "type": "number"
  35924. },
  35925. "needhedgeratio": {
  35926. "description": "套保比率",
  35927. "type": "number"
  35928. }
  35929. }
  35930. },
  35931. "models.TBWrstandard": {
  35932. "type": "object",
  35933. "properties": {
  35934. "convertratio": {
  35935. "description": "折算系数",
  35936. "type": "number"
  35937. },
  35938. "deliverygoodsname": {
  35939. "description": "品种名称",
  35940. "type": "string"
  35941. },
  35942. "enumdicname": {
  35943. "description": "单位名称",
  35944. "type": "string"
  35945. },
  35946. "vatrate": {
  35947. "description": "增值税率",
  35948. "type": "number"
  35949. },
  35950. "wrstandardcode": {
  35951. "description": "现货商品代码",
  35952. "type": "string"
  35953. },
  35954. "wrstandardid": {
  35955. "description": "现货商品ID(SEQ_WRSTANDARD)",
  35956. "type": "integer"
  35957. },
  35958. "wrstandardname": {
  35959. "description": "现货商品名称",
  35960. "type": "string"
  35961. }
  35962. }
  35963. },
  35964. "models.Taaccount": {
  35965. "type": "object",
  35966. "required": [
  35967. "accountid",
  35968. "userid"
  35969. ],
  35970. "properties": {
  35971. "accountflag": {
  35972. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  35973. "type": "integer"
  35974. },
  35975. "accountid": {
  35976. "description": "资金账户ID",
  35977. "type": "integer"
  35978. },
  35979. "accountname": {
  35980. "description": "账户名称",
  35981. "type": "string"
  35982. },
  35983. "balance": {
  35984. "description": "期初余额",
  35985. "type": "number"
  35986. },
  35987. "capitalbalance": {
  35988. "description": "本金余额[外部子账户实际出入金余额]",
  35989. "type": "number"
  35990. },
  35991. "changeflag": {
  35992. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  35993. "type": "integer"
  35994. },
  35995. "changetime": {
  35996. "description": "账户状态变更时间",
  35997. "type": "string"
  35998. },
  35999. "closepl": {
  36000. "description": "今日平仓盈亏",
  36001. "type": "number"
  36002. },
  36003. "creditdecrease": {
  36004. "description": "今日授信减少",
  36005. "type": "number"
  36006. },
  36007. "creditincrease": {
  36008. "description": "今日授信增加",
  36009. "type": "number"
  36010. },
  36011. "curamount": {
  36012. "description": "总市值(从持仓中统计)",
  36013. "type": "number"
  36014. },
  36015. "currencyid": {
  36016. "description": "货币ID",
  36017. "type": "integer"
  36018. },
  36019. "currentbalance": {
  36020. "description": "期末余额",
  36021. "type": "number"
  36022. },
  36023. "freezecharge": {
  36024. "description": "手续费冻结",
  36025. "type": "number"
  36026. },
  36027. "freezemargin": {
  36028. "description": "冻结保证金",
  36029. "type": "number"
  36030. },
  36031. "fromaccountid": {
  36032. "description": "所属上级账户",
  36033. "type": "integer"
  36034. },
  36035. "inamount": {
  36036. "description": "今日入金金额(包括三方入金)",
  36037. "type": "number"
  36038. },
  36039. "ismain": {
  36040. "description": "是否母账号 0:不是母账户 1:是母账户",
  36041. "type": "integer"
  36042. },
  36043. "ismarketaccount": {
  36044. "description": "是否机构接单账号 0:不是 1:是",
  36045. "type": "integer"
  36046. },
  36047. "isreckonaccount": {
  36048. "description": "是否机构分润账号 0:不是 1:是",
  36049. "type": "integer"
  36050. },
  36051. "mortgagecredit": {
  36052. "description": "授信金额",
  36053. "type": "number"
  36054. },
  36055. "orifreezecharge": {
  36056. "description": "期初手续费冻结",
  36057. "type": "number"
  36058. },
  36059. "orifreezemargin": {
  36060. "description": "期初冻结保证金",
  36061. "type": "number"
  36062. },
  36063. "orimortgagecredit": {
  36064. "description": "期初授信金额",
  36065. "type": "number"
  36066. },
  36067. "oriothercredit": {
  36068. "description": "期初其它授信金额",
  36069. "type": "number"
  36070. },
  36071. "oriotherfreezemargin": {
  36072. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  36073. "type": "number"
  36074. },
  36075. "orioutamountfreeze": {
  36076. "description": "期初出金冻结",
  36077. "type": "number"
  36078. },
  36079. "oriusedmargin": {
  36080. "description": "期初占用保证金",
  36081. "type": "number"
  36082. },
  36083. "othercredit": {
  36084. "description": "其它授信金额",
  36085. "type": "number"
  36086. },
  36087. "othercreditdecrease": {
  36088. "description": "今日其它授信减少",
  36089. "type": "number"
  36090. },
  36091. "othercreditincrease": {
  36092. "description": "今日其它授信增加",
  36093. "type": "number"
  36094. },
  36095. "otherfreezemargin": {
  36096. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  36097. "type": "number"
  36098. },
  36099. "otherincome": {
  36100. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  36101. "type": "number"
  36102. },
  36103. "otherpay": {
  36104. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  36105. "type": "number"
  36106. },
  36107. "outamount": {
  36108. "description": "今日出金金额(包括三方出金)",
  36109. "type": "number"
  36110. },
  36111. "outamountfreeze": {
  36112. "description": "出金冻结",
  36113. "type": "number"
  36114. },
  36115. "outthreshold": {
  36116. "description": "出金阈值",
  36117. "type": "number"
  36118. },
  36119. "parentaccountid": {
  36120. "description": "所属根账号",
  36121. "type": "integer"
  36122. },
  36123. "paycharge": {
  36124. "description": "今日手续费支出",
  36125. "type": "number"
  36126. },
  36127. "relatedaccountstatus": {
  36128. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  36129. "type": "integer"
  36130. },
  36131. "relateduserid": {
  36132. "description": "关联用户",
  36133. "type": "integer"
  36134. },
  36135. "remainamount": {
  36136. "description": "融资额(从融资合同中统计)",
  36137. "type": "number"
  36138. },
  36139. "serivcegroup": {
  36140. "description": "服务分组",
  36141. "type": "integer"
  36142. },
  36143. "signstatus": {
  36144. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  36145. "type": "integer"
  36146. },
  36147. "sublevelpath": {
  36148. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  36149. "type": "string"
  36150. },
  36151. "taaccounttype": {
  36152. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  36153. "type": "integer"
  36154. },
  36155. "thirdinamount": {
  36156. "description": "今日三方入金",
  36157. "type": "number"
  36158. },
  36159. "thirdoutamount": {
  36160. "description": "今日三方出金",
  36161. "type": "number"
  36162. },
  36163. "tradestatus": {
  36164. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  36165. "type": "integer"
  36166. },
  36167. "tradestatuschangetime": {
  36168. "description": "激活时间",
  36169. "type": "string"
  36170. },
  36171. "transferamount": {
  36172. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  36173. "type": "number"
  36174. },
  36175. "usedmargin": {
  36176. "description": "占用保证金",
  36177. "type": "number"
  36178. },
  36179. "userid": {
  36180. "description": "用户ID",
  36181. "type": "integer"
  36182. }
  36183. }
  36184. },
  36185. "models.Tablecolumnconfig": {
  36186. "type": "object",
  36187. "required": [
  36188. "autoid"
  36189. ],
  36190. "properties": {
  36191. "aligntype": {
  36192. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  36193. "type": "integer"
  36194. },
  36195. "autoid": {
  36196. "description": "AutoID",
  36197. "type": "integer"
  36198. },
  36199. "columnfield": {
  36200. "description": "列字段",
  36201. "type": "string"
  36202. },
  36203. "columntitle": {
  36204. "description": "列Title",
  36205. "type": "string"
  36206. },
  36207. "columnwidth": {
  36208. "description": "列宽",
  36209. "type": "string"
  36210. },
  36211. "formatterstring": {
  36212. "description": "格式化字符",
  36213. "type": "string"
  36214. },
  36215. "formattertype": {
  36216. "description": "格式化类型",
  36217. "type": "string"
  36218. },
  36219. "groupname": {
  36220. "description": "表头分组名称",
  36221. "type": "string"
  36222. },
  36223. "isshow": {
  36224. "description": "是否显示 - 0:不显示 1:显示",
  36225. "type": "integer"
  36226. },
  36227. "needsummary": {
  36228. "description": "是否需要汇总 - 0:不需要 1:需要",
  36229. "type": "integer"
  36230. },
  36231. "orderindex": {
  36232. "description": "顺序",
  36233. "type": "integer"
  36234. },
  36235. "remark": {
  36236. "description": "备注",
  36237. "type": "string"
  36238. },
  36239. "summarytype": {
  36240. "description": "汇总类型 - 1:加总 2:最后一个",
  36241. "type": "integer"
  36242. },
  36243. "tablekey": {
  36244. "description": "列表Key",
  36245. "type": "string"
  36246. }
  36247. }
  36248. },
  36249. "models.TjmdHolderDetailTradeInfo": {
  36250. "type": "object",
  36251. "properties": {
  36252. "agreeunit": {
  36253. "description": "合约乘数",
  36254. "type": "number"
  36255. },
  36256. "buyaccountid": {
  36257. "description": "买方账户",
  36258. "type": "string"
  36259. },
  36260. "buyusername": {
  36261. "description": "买方",
  36262. "type": "string"
  36263. },
  36264. "delistingdate": {
  36265. "description": "最后结算日",
  36266. "type": "string"
  36267. },
  36268. "expiredate": {
  36269. "description": "到期结算价定价日",
  36270. "type": "string"
  36271. },
  36272. "exprieprice": {
  36273. "description": "到期清算价格",
  36274. "type": "string"
  36275. },
  36276. "goodscode": {
  36277. "description": "商品代码",
  36278. "type": "string"
  36279. },
  36280. "goodsid": {
  36281. "description": "商品ID",
  36282. "type": "integer"
  36283. },
  36284. "goodsname": {
  36285. "description": "商品名称(交易标的)",
  36286. "type": "string"
  36287. },
  36288. "lasttradedate": {
  36289. "description": "最后交易日",
  36290. "type": "string"
  36291. },
  36292. "listingdate": {
  36293. "description": "开始交易日",
  36294. "type": "string"
  36295. },
  36296. "openprice": {
  36297. "description": "成交价",
  36298. "type": "number"
  36299. },
  36300. "openqty": {
  36301. "description": "交易数量",
  36302. "type": "integer"
  36303. },
  36304. "sellaccountid": {
  36305. "description": "卖方账户",
  36306. "type": "string"
  36307. },
  36308. "sellusername": {
  36309. "description": "卖方",
  36310. "type": "string"
  36311. },
  36312. "tradeamount": {
  36313. "description": "初始名义价值",
  36314. "type": "number"
  36315. },
  36316. "tradedate": {
  36317. "description": "成交日期",
  36318. "type": "string"
  36319. },
  36320. "tradeid": {
  36321. "description": "成交编号",
  36322. "type": "string"
  36323. }
  36324. }
  36325. },
  36326. "models.TjmdMarketSection": {
  36327. "type": "object",
  36328. "properties": {
  36329. "marketsectionid": {
  36330. "description": "市场版块ID(SEQ_MARKETSECTION)",
  36331. "type": "integer"
  36332. },
  36333. "marketsectionname": {
  36334. "description": "市场版块名称",
  36335. "type": "string"
  36336. },
  36337. "mlist": {
  36338. "description": "市场列表(板块下面有多少个市场)",
  36339. "type": "array",
  36340. "items": {
  36341. "$ref": "#/definitions/models.TjmdMarketSectionConfig"
  36342. }
  36343. },
  36344. "orderindex": {
  36345. "description": "排序",
  36346. "type": "integer"
  36347. },
  36348. "pictureurl": {
  36349. "description": "图片url, 规格(90*90)",
  36350. "type": "string"
  36351. },
  36352. "remark": {
  36353. "description": "备注",
  36354. "type": "string"
  36355. }
  36356. }
  36357. },
  36358. "models.TjmdMarketSectionConfig": {
  36359. "type": "object",
  36360. "properties": {
  36361. "auctionwrtype": {
  36362. "description": "仓单类型(现货交易) - 1:无仓单 2:有仓单 3;有无仓单均可",
  36363. "type": "integer"
  36364. },
  36365. "canacceptquote": {
  36366. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  36367. "type": "integer"
  36368. },
  36369. "cangoodsexercise": {
  36370. "description": "[期权]是否可现货行权- 0:否 1:是",
  36371. "type": "integer"
  36372. },
  36373. "cangoodsexercisetype": {
  36374. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  36375. "type": "integer"
  36376. },
  36377. "canmanualquotestrike": {
  36378. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  36379. "type": "integer"
  36380. },
  36381. "canmutistage": {
  36382. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  36383. "type": "integer"
  36384. },
  36385. "canpreexercise": {
  36386. "description": "[期权]是否可预申报- 0:否 1:是",
  36387. "type": "integer"
  36388. },
  36389. "clearinterval": {
  36390. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  36391. "type": "integer"
  36392. },
  36393. "contracttmp": {
  36394. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  36395. "type": "string"
  36396. },
  36397. "exchareaid": {
  36398. "description": "所属交易所,可以没有",
  36399. "type": "integer"
  36400. },
  36401. "financemarketid": {
  36402. "description": "融资回购市场ID [仓单贸易]",
  36403. "type": "integer"
  36404. },
  36405. "goodstype": {
  36406. "description": "商品类型 - 1:交易商品 2:仓单商品",
  36407. "type": "integer"
  36408. },
  36409. "hasrebate": {
  36410. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  36411. "type": "integer"
  36412. },
  36413. "hastradecredit": {
  36414. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  36415. "type": "integer"
  36416. },
  36417. "haswr": {
  36418. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  36419. "type": "integer"
  36420. },
  36421. "isdeductmargin": {
  36422. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  36423. "type": "integer"
  36424. },
  36425. "isrecordsource": {
  36426. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  36427. "type": "integer"
  36428. },
  36429. "isreleasemargin": {
  36430. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  36431. "type": "integer"
  36432. },
  36433. "isupdatereckonprice": {
  36434. "description": "输入结算价标识 - 0:系统生成 1:手工输入(自动) 2:手工输入(手动)",
  36435. "type": "integer"
  36436. },
  36437. "listingmode": {
  36438. "description": "挂牌方式 1:一口价 2:浮动价 3:贸易圈 4:协议指定",
  36439. "type": "integer"
  36440. },
  36441. "marginformula": {
  36442. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  36443. "type": "integer"
  36444. },
  36445. "marginformula2": {
  36446. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  36447. "type": "integer"
  36448. },
  36449. "marketid": {
  36450. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  36451. "type": "integer"
  36452. },
  36453. "marketname": {
  36454. "description": "市场名称",
  36455. "type": "string"
  36456. },
  36457. "marketsectionid": {
  36458. "description": "市场版块ID(SEQ_MARKETSECTION)",
  36459. "type": "integer"
  36460. },
  36461. "marketserviceid": {
  36462. "description": "市场服务ID",
  36463. "type": "integer"
  36464. },
  36465. "marketstatus": {
  36466. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  36467. "type": "integer"
  36468. },
  36469. "markettype": {
  36470. "description": "市场类型- 1:非交易服务 2:交易服务",
  36471. "type": "integer"
  36472. },
  36473. "matchermode": {
  36474. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手 - 作废",
  36475. "type": "integer"
  36476. },
  36477. "nowrquotaflag": {
  36478. "description": "是否校验无仓单额度(仓单贸易) 0:否 1:是",
  36479. "type": "integer"
  36480. },
  36481. "openmethod": {
  36482. "description": "开盘模式 - 0 自动 1手动",
  36483. "type": "integer"
  36484. },
  36485. "orderindex": {
  36486. "description": "排序",
  36487. "type": "integer"
  36488. },
  36489. "otcuserid": {
  36490. "description": "场外期权做市商[场外期权]",
  36491. "type": "integer"
  36492. },
  36493. "outersynctime": {
  36494. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  36495. "type": "string"
  36496. },
  36497. "paylaterflag": {
  36498. "description": "是否支持后付 - 0:不支持 1;支持 - [挂牌点选 所有权、预售挂牌支持]",
  36499. "type": "integer"
  36500. },
  36501. "pendingflag": {
  36502. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  36503. "type": "integer"
  36504. },
  36505. "pendingtime": {
  36506. "description": "待开市时间[通道交易-对冲](HH:mm)",
  36507. "type": "string"
  36508. },
  36509. "performancetempid": {
  36510. "description": "履约计划模板ID - 作废",
  36511. "type": "integer"
  36512. },
  36513. "premiumquotemode": {
  36514. "description": "权利金报价方式 - 1:自动 2:手动",
  36515. "type": "integer"
  36516. },
  36517. "rebateratio": {
  36518. "description": "返利比率[竞价式]",
  36519. "type": "number"
  36520. },
  36521. "reckonorder": {
  36522. "description": "结算顺序",
  36523. "type": "integer"
  36524. },
  36525. "reckonpricealgorithm": {
  36526. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  36527. "type": "integer"
  36528. },
  36529. "reckonpriceparam": {
  36530. "description": "结算价参数",
  36531. "type": "integer"
  36532. },
  36533. "reckontime": {
  36534. "description": "结算时间[通道交易-对冲](HH:mm)",
  36535. "type": "string"
  36536. },
  36537. "roleprioritytype": {
  36538. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  36539. "type": "integer"
  36540. },
  36541. "selllistingauditflag": {
  36542. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  36543. "type": "integer"
  36544. },
  36545. "trademarkettype": {
  36546. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  36547. "type": "integer"
  36548. },
  36549. "trademode": {
  36550. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  36551. "type": "integer"
  36552. },
  36553. "tradeproperty": {
  36554. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  36555. "type": "integer"
  36556. },
  36557. "tradetype": {
  36558. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  36559. "type": "integer"
  36560. },
  36561. "updatereckonpriceinterval": {
  36562. "description": "输入结算价时长(分钟) [1:手工输入(自动)]",
  36563. "type": "integer"
  36564. }
  36565. }
  36566. },
  36567. "models.TjmdQuoteGoods": {
  36568. "type": "object",
  36569. "properties": {
  36570. "buyqty": {
  36571. "description": "买量(暂不做, 无值, 保留字段)",
  36572. "type": "number"
  36573. },
  36574. "decimalplace": {
  36575. "description": "报价小数位",
  36576. "type": "integer"
  36577. },
  36578. "goodscode": {
  36579. "description": "合约代码",
  36580. "type": "string"
  36581. },
  36582. "goodsgroupid": {
  36583. "description": "商品组ID(自增ID)",
  36584. "type": "integer"
  36585. },
  36586. "goodsgroupname": {
  36587. "description": "商品组名称",
  36588. "type": "string"
  36589. },
  36590. "goodsid": {
  36591. "description": "合约id",
  36592. "type": "integer"
  36593. },
  36594. "goodsname": {
  36595. "description": "合约名称",
  36596. "type": "string"
  36597. },
  36598. "refgoodscode": {
  36599. "description": "标的合约代码",
  36600. "type": "string"
  36601. },
  36602. "refgoodsid": {
  36603. "description": "标的合约id",
  36604. "type": "integer"
  36605. },
  36606. "refgoodsname": {
  36607. "description": "标的合约名称",
  36608. "type": "string"
  36609. },
  36610. "sellqty": {
  36611. "description": "卖量(暂不做, 无值, 保留字段)",
  36612. "type": "number"
  36613. }
  36614. }
  36615. },
  36616. "models.TjmdTodayAccountMargin": {
  36617. "type": "object",
  36618. "properties": {
  36619. "accountid": {
  36620. "description": "账号ID",
  36621. "type": "integer"
  36622. },
  36623. "goodsid": {
  36624. "description": "商品ID",
  36625. "type": "integer"
  36626. },
  36627. "infoc": {
  36628. "description": "配置参数",
  36629. "$ref": "#/definitions/pb.GoodsMarginCfgStruct"
  36630. },
  36631. "marketid": {
  36632. "description": "市场ID",
  36633. "type": "integer"
  36634. }
  36635. }
  36636. },
  36637. "models.TjmdTradeOrderDetail": {
  36638. "type": "object",
  36639. "properties": {
  36640. "buyorsell": {
  36641. "description": "买卖方向 0-买 1-卖",
  36642. "type": "integer"
  36643. },
  36644. "goodsid": {
  36645. "description": "商品id",
  36646. "type": "integer"
  36647. },
  36648. "marketmaxsub": {
  36649. "description": "市价最大偏移范围 [浮动价 - 点差]",
  36650. "type": "number"
  36651. },
  36652. "orderid": {
  36653. "description": "委托单号",
  36654. "type": "string"
  36655. },
  36656. "orderprice": {
  36657. "description": "委托价格",
  36658. "type": "number"
  36659. },
  36660. "orderqty": {
  36661. "description": "委托数量",
  36662. "type": "integer"
  36663. },
  36664. "pricemode": {
  36665. "description": "取价方式 - 1:市价 2: 限价 3:浮动价",
  36666. "type": "integer"
  36667. },
  36668. "userid": {
  36669. "description": "用户id",
  36670. "type": "integer"
  36671. },
  36672. "username": {
  36673. "description": "用户名称(已脱敏)",
  36674. "type": "string"
  36675. }
  36676. }
  36677. },
  36678. "models.TjmdTransferApply": {
  36679. "type": "object",
  36680. "properties": {
  36681. "applyid": {
  36682. "description": "申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)",
  36683. "type": "integer"
  36684. },
  36685. "applystatus": {
  36686. "description": "状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销",
  36687. "type": "integer"
  36688. },
  36689. "applytime": {
  36690. "description": "申请时间(时间)",
  36691. "type": "string"
  36692. },
  36693. "auditremark": {
  36694. "description": "审核备注(拒绝原因?)",
  36695. "type": "string"
  36696. },
  36697. "begindate": {
  36698. "description": "开始交易日(yyyymmdd)",
  36699. "type": "string"
  36700. },
  36701. "buyorsell": {
  36702. "description": "买卖 - 0:买 1:卖",
  36703. "type": "integer"
  36704. },
  36705. "enddate": {
  36706. "description": "结束交易日(yyyymmdd)",
  36707. "type": "string"
  36708. },
  36709. "goodscode": {
  36710. "description": "商品代码",
  36711. "type": "string"
  36712. },
  36713. "goodsid": {
  36714. "description": "商品ID",
  36715. "type": "integer"
  36716. },
  36717. "goodsname": {
  36718. "description": "商品名称",
  36719. "type": "string"
  36720. },
  36721. "marketid": {
  36722. "description": "市场ID",
  36723. "type": "integer"
  36724. },
  36725. "qty": {
  36726. "description": "转让数量(数量)",
  36727. "type": "number"
  36728. },
  36729. "tradeid": {
  36730. "description": "成交单号(关联持仓)",
  36731. "type": "string"
  36732. },
  36733. "transferamount": {
  36734. "description": "转让总金额(金额)",
  36735. "type": "number"
  36736. },
  36737. "transferprice": {
  36738. "description": "转让价格(协议价格)",
  36739. "type": "number"
  36740. }
  36741. }
  36742. },
  36743. "models.TradeHolderDetail": {
  36744. "type": "object",
  36745. "properties": {
  36746. "accountid": {
  36747. "description": "账号ID",
  36748. "type": "integer"
  36749. },
  36750. "agreeunit": {
  36751. "description": "合约乘数",
  36752. "type": "number"
  36753. },
  36754. "buyorsell": {
  36755. "description": "方向 - 0:买 1:卖",
  36756. "type": "integer"
  36757. },
  36758. "currencyid": {
  36759. "description": "商品币种id",
  36760. "type": "integer"
  36761. },
  36762. "currencyname": {
  36763. "description": "币种名称",
  36764. "type": "string"
  36765. },
  36766. "decimalplace": {
  36767. "description": "商品价格小数位",
  36768. "type": "integer"
  36769. },
  36770. "enumdicname": {
  36771. "description": "商品单位名称",
  36772. "type": "string"
  36773. },
  36774. "expirecycle": {
  36775. "description": "行权周期(天) - 1:滚动行权时填写",
  36776. "type": "integer"
  36777. },
  36778. "expiredate": {
  36779. "description": "行权日(yyyyMMdd) - 到期日",
  36780. "type": "string"
  36781. },
  36782. "expiretype": {
  36783. "description": "行权日类型 - 1:滚动行权 2:固定日行权",
  36784. "type": "integer"
  36785. },
  36786. "freezeqty": {
  36787. "description": "冻结数量",
  36788. "type": "number"
  36789. },
  36790. "goodscode": {
  36791. "description": "商品代码",
  36792. "type": "string"
  36793. },
  36794. "goodsid": {
  36795. "description": "商品ID",
  36796. "type": "integer"
  36797. },
  36798. "goodsname": {
  36799. "description": "商品名称",
  36800. "type": "string"
  36801. },
  36802. "goodunitid": {
  36803. "description": "商品单位id",
  36804. "type": "integer"
  36805. },
  36806. "holderamount": {
  36807. "description": "持仓金额",
  36808. "type": "number"
  36809. },
  36810. "holdercredit": {
  36811. "description": "持仓授信金额",
  36812. "type": "number"
  36813. },
  36814. "holderdays": {
  36815. "description": "剩余冻结天数",
  36816. "type": "integer"
  36817. },
  36818. "holderprice": {
  36819. "description": "持仓价格",
  36820. "type": "number"
  36821. },
  36822. "holderqty": {
  36823. "description": "持仓数量",
  36824. "type": "number"
  36825. },
  36826. "isconfirmexercise": {
  36827. "description": "是否确认行权- 0:否 1:是",
  36828. "type": "integer"
  36829. },
  36830. "ispreexercise": {
  36831. "description": "是否预申报- 0:否 1:是 2:不可行权",
  36832. "type": "integer"
  36833. },
  36834. "marketid": {
  36835. "description": "市场id",
  36836. "type": "integer"
  36837. },
  36838. "marketname": {
  36839. "description": "市场名称",
  36840. "type": "string"
  36841. },
  36842. "openprice": {
  36843. "description": "建仓价格",
  36844. "type": "number"
  36845. },
  36846. "openqty": {
  36847. "description": "建仓数量",
  36848. "type": "number"
  36849. },
  36850. "optiontype": {
  36851. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  36852. "type": "integer"
  36853. },
  36854. "preexerciseprice": {
  36855. "description": "预申报价格",
  36856. "type": "number"
  36857. },
  36858. "premium": {
  36859. "description": "权利金",
  36860. "type": "number"
  36861. },
  36862. "qtydecimalplace": {
  36863. "description": "商品成交量小数位",
  36864. "type": "integer"
  36865. },
  36866. "refgoodscode": {
  36867. "description": "标的合约代码",
  36868. "type": "string"
  36869. },
  36870. "refgoodsid": {
  36871. "description": "标的合约id",
  36872. "type": "integer"
  36873. },
  36874. "releaseamount": {
  36875. "description": "释放持仓金额",
  36876. "type": "number"
  36877. },
  36878. "releaseholdercredit": {
  36879. "description": "释放持仓授信金额",
  36880. "type": "number"
  36881. },
  36882. "taname": {
  36883. "description": "资金账号名称",
  36884. "type": "string"
  36885. },
  36886. "tradeamount": {
  36887. "description": "成交金额",
  36888. "type": "number"
  36889. },
  36890. "tradedate": {
  36891. "description": "交易日(yyyyMMdd)",
  36892. "type": "string"
  36893. },
  36894. "tradeid": {
  36895. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  36896. "type": "string"
  36897. },
  36898. "trademode": {
  36899. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价 46:掉期",
  36900. "type": "integer"
  36901. },
  36902. "tradeproperty": {
  36903. "description": "交易属性",
  36904. "type": "integer"
  36905. },
  36906. "tradetime": {
  36907. "description": "交易时间",
  36908. "type": "string"
  36909. },
  36910. "userid": {
  36911. "description": "用户id",
  36912. "type": "integer"
  36913. },
  36914. "username": {
  36915. "description": "用户名称",
  36916. "type": "string"
  36917. }
  36918. }
  36919. },
  36920. "models.Unlinkermcphedgeplan": {
  36921. "type": "object",
  36922. "required": [
  36923. "areauserid"
  36924. ],
  36925. "properties": {
  36926. "accountid": {
  36927. "description": "期货账户ID - 作废",
  36928. "type": "integer"
  36929. },
  36930. "accountname": {
  36931. "description": "交易用户",
  36932. "type": "string"
  36933. },
  36934. "applyid": {
  36935. "description": "申请人",
  36936. "type": "integer"
  36937. },
  36938. "applysrc": {
  36939. "description": "申请来源 - 1:管理端 2:终端",
  36940. "type": "integer"
  36941. },
  36942. "applytime": {
  36943. "description": "申请时间",
  36944. "type": "string"
  36945. },
  36946. "areauserid": {
  36947. "description": "[企业ID]机构ID",
  36948. "type": "integer"
  36949. },
  36950. "auditid": {
  36951. "description": "审核人",
  36952. "type": "integer"
  36953. },
  36954. "auditremark": {
  36955. "description": "审核备注",
  36956. "type": "string"
  36957. },
  36958. "auditsrc": {
  36959. "description": "审核来源 - 1:管理端 2:终端",
  36960. "type": "integer"
  36961. },
  36962. "audittime": {
  36963. "description": "审核时间",
  36964. "type": "string"
  36965. },
  36966. "audittradedate": {
  36967. "description": "审核交易日(yyyyMMdd)",
  36968. "type": "string"
  36969. },
  36970. "biztype": {
  36971. "description": "业务类型 - 1:套保",
  36972. "type": "integer"
  36973. },
  36974. "contracttype": {
  36975. "description": "计划类型 - 1:采购 -1:销售",
  36976. "type": "integer"
  36977. },
  36978. "convertfactor": {
  36979. "description": "标仓系数 - 作废",
  36980. "type": "number"
  36981. },
  36982. "createtime": {
  36983. "description": "创建时间",
  36984. "type": "string"
  36985. },
  36986. "currencyid": {
  36987. "description": "结算币种ID - 作废",
  36988. "type": "integer"
  36989. },
  36990. "deliverygoodsid": {
  36991. "description": "现货品种ID",
  36992. "type": "integer"
  36993. },
  36994. "enumdicname": {
  36995. "description": "结算币种",
  36996. "type": "string"
  36997. },
  36998. "hedgeplanid": {
  36999. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  37000. "type": "integer"
  37001. },
  37002. "hedgeplanno": {
  37003. "description": "[计划编号]套保计划编号,模糊查询",
  37004. "type": "string"
  37005. },
  37006. "hedgeplanstatus": {
  37007. "description": "[状态]套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  37008. "type": "integer"
  37009. },
  37010. "isrelated": {
  37011. "description": "是否已关联计划项目 - 0:否 1:是",
  37012. "type": "integer"
  37013. },
  37014. "planqty": {
  37015. "description": "[计划量]计划数量",
  37016. "type": "number"
  37017. },
  37018. "plantime": {
  37019. "description": "计划时间",
  37020. "type": "string"
  37021. },
  37022. "producttype": {
  37023. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  37024. "type": "integer"
  37025. },
  37026. "remark": {
  37027. "description": "备注",
  37028. "type": "string"
  37029. },
  37030. "spotgoodsdesc": {
  37031. "description": "商品型号",
  37032. "type": "string"
  37033. },
  37034. "tradedate": {
  37035. "description": "交易日(yyyyMMdd)",
  37036. "type": "string"
  37037. },
  37038. "tradeuserid": {
  37039. "description": "交易用户ID",
  37040. "type": "integer"
  37041. },
  37042. "updatetime": {
  37043. "description": "更新时间",
  37044. "type": "string"
  37045. },
  37046. "wrstandardid": {
  37047. "description": "现货商品ID",
  37048. "type": "integer"
  37049. },
  37050. "wrstandardname": {
  37051. "description": "现货商品,模糊查询",
  37052. "type": "string"
  37053. }
  37054. }
  37055. },
  37056. "models.UserCollectConfig": {
  37057. "type": "object",
  37058. "properties": {
  37059. "accountstatus": {
  37060. "description": "账户状态 - 1:正常 2:停用 3:注销",
  37061. "type": "integer"
  37062. },
  37063. "collectaccountname": {
  37064. "description": "收款人账户名称",
  37065. "type": "string"
  37066. },
  37067. "collectaccountno": {
  37068. "description": "收款人账户",
  37069. "type": "string"
  37070. },
  37071. "collectbankname": {
  37072. "description": "收款人开户行",
  37073. "type": "string"
  37074. },
  37075. "collectbranchbankname": {
  37076. "description": "收款人开户支行",
  37077. "type": "string"
  37078. },
  37079. "collectconfigid": {
  37080. "description": "收款账户配置ID(SEQ_USERCOLLECTCONFIG)",
  37081. "type": "string"
  37082. },
  37083. "remark": {
  37084. "description": "备注",
  37085. "type": "string"
  37086. },
  37087. "userid": {
  37088. "description": "收款人用户ID",
  37089. "type": "integer"
  37090. }
  37091. }
  37092. },
  37093. "models.UserReceiveInfo": {
  37094. "type": "object",
  37095. "properties": {
  37096. "address": {
  37097. "description": "提货人详细地址",
  37098. "type": "string"
  37099. },
  37100. "autoid": {
  37101. "description": "AutoID",
  37102. "type": "integer"
  37103. },
  37104. "cardnum": {
  37105. "description": "证件号码(加密存储)",
  37106. "type": "string"
  37107. },
  37108. "cardtypeid": {
  37109. "description": "证件类型",
  37110. "type": "integer"
  37111. },
  37112. "cityid": {
  37113. "description": "市",
  37114. "type": "integer"
  37115. },
  37116. "cityname": {
  37117. "description": "城市名称",
  37118. "type": "string"
  37119. },
  37120. "countryid": {
  37121. "description": "国家",
  37122. "type": "integer"
  37123. },
  37124. "countryname": {
  37125. "description": "国家名称",
  37126. "type": "string"
  37127. },
  37128. "districtid": {
  37129. "description": "地区",
  37130. "type": "integer"
  37131. },
  37132. "districtname": {
  37133. "description": "地区名称",
  37134. "type": "string"
  37135. },
  37136. "hasencrypt": {
  37137. "description": "数据是否已加密 - 0:未加密 1:已加密",
  37138. "type": "integer"
  37139. },
  37140. "isdefault": {
  37141. "description": "是否默认地址 - 0:否 1:是",
  37142. "type": "integer"
  37143. },
  37144. "phonenum": {
  37145. "description": "提货人联系方式(加密存储)",
  37146. "type": "string"
  37147. },
  37148. "provinceid": {
  37149. "description": "省",
  37150. "type": "integer"
  37151. },
  37152. "provincename": {
  37153. "description": "省名称",
  37154. "type": "string"
  37155. },
  37156. "receivername": {
  37157. "description": "提货人姓名",
  37158. "type": "string"
  37159. },
  37160. "takeremark": {
  37161. "description": "提货备注",
  37162. "type": "string"
  37163. },
  37164. "userid": {
  37165. "description": "用户ID",
  37166. "type": "integer"
  37167. }
  37168. }
  37169. },
  37170. "models.Useraccount": {
  37171. "type": "object",
  37172. "required": [
  37173. "userid"
  37174. ],
  37175. "properties": {
  37176. "accountname": {
  37177. "description": "账户名称(机构名称)",
  37178. "type": "string"
  37179. },
  37180. "accountstatus": {
  37181. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  37182. "type": "integer"
  37183. },
  37184. "applysrc": {
  37185. "description": "申请来源 - 1:管理端 2:终端",
  37186. "type": "integer"
  37187. },
  37188. "auditremark": {
  37189. "description": "审核备注",
  37190. "type": "string"
  37191. },
  37192. "auditsrc": {
  37193. "description": "审核来源 - 1:管理端 2:终端",
  37194. "type": "integer"
  37195. },
  37196. "audittime": {
  37197. "description": "审核时间",
  37198. "type": "string"
  37199. },
  37200. "audituserid": {
  37201. "description": "审核人",
  37202. "type": "integer"
  37203. },
  37204. "broker": {
  37205. "description": "所属经纪人ID",
  37206. "type": "integer"
  37207. },
  37208. "canceltime": {
  37209. "description": "销户时间",
  37210. "type": "string"
  37211. },
  37212. "canceluserid": {
  37213. "description": "销户人",
  37214. "type": "integer"
  37215. },
  37216. "canrecommend": {
  37217. "description": "是否可推荐 - 0:不可 1;可",
  37218. "type": "integer"
  37219. },
  37220. "createtime": {
  37221. "description": "创建时间",
  37222. "type": "string"
  37223. },
  37224. "creatorid": {
  37225. "description": "创建人",
  37226. "type": "integer"
  37227. },
  37228. "hasauth": {
  37229. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  37230. "type": "integer"
  37231. },
  37232. "isanonymous": {
  37233. "description": "是否匿名下单 - 0:否 1:是",
  37234. "type": "integer"
  37235. },
  37236. "maxinvestornum": {
  37237. "description": "最大用户数(经纪会员下投资者个数)",
  37238. "type": "integer"
  37239. },
  37240. "memberuserid": {
  37241. "description": "所属会员ID",
  37242. "type": "integer"
  37243. },
  37244. "modifierid": {
  37245. "description": "修改人",
  37246. "type": "integer"
  37247. },
  37248. "modifyremark": {
  37249. "description": "变更备注",
  37250. "type": "string"
  37251. },
  37252. "modifystatus": {
  37253. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  37254. "type": "integer"
  37255. },
  37256. "modifytime": {
  37257. "description": "修改时间",
  37258. "type": "string"
  37259. },
  37260. "parenttopuser": {
  37261. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  37262. "type": "string"
  37263. },
  37264. "parentuserid": {
  37265. "description": "所属机构ID",
  37266. "type": "integer"
  37267. },
  37268. "reckonaccountid": {
  37269. "description": "默认结算资金账号ID(机构分润使用) 作废",
  37270. "type": "integer"
  37271. },
  37272. "refercount": {
  37273. "description": "推荐总人数",
  37274. "type": "integer"
  37275. },
  37276. "refereeuserid": {
  37277. "description": "推荐人ID",
  37278. "type": "integer"
  37279. },
  37280. "refernum": {
  37281. "description": "推荐码",
  37282. "type": "string"
  37283. },
  37284. "rootuserid": {
  37285. "description": "根用户ID",
  37286. "type": "integer"
  37287. },
  37288. "subaccountlevel": {
  37289. "description": "子账户层数",
  37290. "type": "integer"
  37291. },
  37292. "subarealevelpath": {
  37293. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  37294. "type": "string"
  37295. },
  37296. "userid": {
  37297. "description": "用户ID",
  37298. "type": "integer"
  37299. },
  37300. "usertype": {
  37301. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  37302. "type": "integer"
  37303. }
  37304. }
  37305. },
  37306. "models.Userfavoritegoods": {
  37307. "type": "object",
  37308. "required": [
  37309. "goodsid"
  37310. ],
  37311. "properties": {
  37312. "goodsid": {
  37313. "description": "商品ID",
  37314. "type": "integer"
  37315. }
  37316. }
  37317. },
  37318. "models.Userinfo": {
  37319. "type": "object",
  37320. "required": [
  37321. "userid"
  37322. ],
  37323. "properties": {
  37324. "address": {
  37325. "description": "地址",
  37326. "type": "string"
  37327. },
  37328. "attachment1": {
  37329. "description": "附件1",
  37330. "type": "string"
  37331. },
  37332. "attachment2": {
  37333. "description": "附件2",
  37334. "type": "string"
  37335. },
  37336. "bankaccount": {
  37337. "description": "银行帐号 (加密存储)",
  37338. "type": "string"
  37339. },
  37340. "bankaccountname": {
  37341. "description": "收款人名称",
  37342. "type": "string"
  37343. },
  37344. "bankcardfrontphotourl": {
  37345. "description": "银行卡正面照地址",
  37346. "type": "string"
  37347. },
  37348. "bankid": {
  37349. "description": "银行编码",
  37350. "type": "string"
  37351. },
  37352. "bankname": {
  37353. "description": "银行名称",
  37354. "type": "string"
  37355. },
  37356. "biznature": {
  37357. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  37358. "type": "integer"
  37359. },
  37360. "bizscope": {
  37361. "description": "企业经营范围(企业)",
  37362. "type": "string"
  37363. },
  37364. "cardbackphotourl": {
  37365. "description": "证件背面图片地址",
  37366. "type": "string"
  37367. },
  37368. "cardfrontphotourl": {
  37369. "description": "证件正面图片地址",
  37370. "type": "string"
  37371. },
  37372. "cardnum": {
  37373. "description": "证件号码(加密存储)",
  37374. "type": "string"
  37375. },
  37376. "cardtypeid": {
  37377. "description": "证件类型ID",
  37378. "type": "integer"
  37379. },
  37380. "cityid": {
  37381. "description": "市",
  37382. "type": "integer"
  37383. },
  37384. "company": {
  37385. "description": "公司(个人)",
  37386. "type": "string"
  37387. },
  37388. "contactname": {
  37389. "description": "联系人",
  37390. "type": "string"
  37391. },
  37392. "countryid": {
  37393. "description": "国家",
  37394. "type": "integer"
  37395. },
  37396. "createtime": {
  37397. "description": "创建时间",
  37398. "type": "string"
  37399. },
  37400. "creatorid": {
  37401. "description": "创建人",
  37402. "type": "integer"
  37403. },
  37404. "customername": {
  37405. "description": "客户名称(企业名称)",
  37406. "type": "string"
  37407. },
  37408. "districtid": {
  37409. "description": "地区",
  37410. "type": "integer"
  37411. },
  37412. "email": {
  37413. "description": "邮件(加密存储)",
  37414. "type": "string"
  37415. },
  37416. "fax": {
  37417. "description": "传真(加密存储)",
  37418. "type": "string"
  37419. },
  37420. "halfbodyphotourl": {
  37421. "description": "半身照地址",
  37422. "type": "string"
  37423. },
  37424. "hasencrypt": {
  37425. "description": "数据是否已加密 - 0:未加密 1:已加密",
  37426. "type": "integer"
  37427. },
  37428. "headurl": {
  37429. "description": "头像地址",
  37430. "type": "string"
  37431. },
  37432. "legalcardbackphotourl": {
  37433. "description": "法人身份证背面照地址",
  37434. "type": "string"
  37435. },
  37436. "legalcardfrontphotourl": {
  37437. "description": "法人身份证正面照地址",
  37438. "type": "string"
  37439. },
  37440. "legalpersonname": {
  37441. "description": "法人姓名(企业)",
  37442. "type": "string"
  37443. },
  37444. "mobile": {
  37445. "description": "手机号码(加密存储)",
  37446. "type": "string"
  37447. },
  37448. "mobile2": {
  37449. "description": "手机号码[明文-尚志]",
  37450. "type": "string"
  37451. },
  37452. "modifierid": {
  37453. "description": "修改人",
  37454. "type": "integer"
  37455. },
  37456. "modifiertime": {
  37457. "description": "修改时间",
  37458. "type": "string"
  37459. },
  37460. "needinvoice": {
  37461. "description": "是否需要发票 - 0:不需要 1:需要",
  37462. "type": "integer"
  37463. },
  37464. "nickname": {
  37465. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  37466. "type": "string"
  37467. },
  37468. "openmode": {
  37469. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  37470. "type": "integer"
  37471. },
  37472. "otherurl": {
  37473. "description": "其它图片地址[使用分号分隔]",
  37474. "type": "string"
  37475. },
  37476. "postalcode": {
  37477. "description": "邮政编码",
  37478. "type": "string"
  37479. },
  37480. "provinceid": {
  37481. "description": "省",
  37482. "type": "integer"
  37483. },
  37484. "qq": {
  37485. "description": "QQ(加密存储",
  37486. "type": "string"
  37487. },
  37488. "remark": {
  37489. "description": "备注",
  37490. "type": "string"
  37491. },
  37492. "sex": {
  37493. "description": "用户性别 0: 女 1: 男",
  37494. "type": "integer"
  37495. },
  37496. "signpdfurl": {
  37497. "description": "签约pdf文件",
  37498. "type": "string"
  37499. },
  37500. "telphone": {
  37501. "description": "联系电话(加密存储)",
  37502. "type": "string"
  37503. },
  37504. "userid": {
  37505. "description": "用户ID",
  37506. "type": "integer"
  37507. },
  37508. "userinfotype": {
  37509. "description": "用户信息类型 - 1:个人 2:企业",
  37510. "type": "integer"
  37511. },
  37512. "userstatus": {
  37513. "description": "用户状态 - 1:正常 2:注销",
  37514. "type": "integer"
  37515. },
  37516. "usertype": {
  37517. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  37518. "type": "integer"
  37519. },
  37520. "wechat": {
  37521. "description": "微信(加密存储)",
  37522. "type": "string"
  37523. },
  37524. "wskhinfo": {
  37525. "description": "开户申请信息(JSON)",
  37526. "type": "string"
  37527. }
  37528. }
  37529. },
  37530. "models.WRSConverTDetail": {
  37531. "type": "object",
  37532. "properties": {
  37533. "convertratio": {
  37534. "description": "套保系数",
  37535. "type": "number"
  37536. },
  37537. "deliverygoodscode": {
  37538. "description": "现货商品代码",
  37539. "type": "string"
  37540. },
  37541. "deliverygoodsid": {
  37542. "description": "现货品种ID",
  37543. "type": "integer"
  37544. },
  37545. "deliverygoodsname": {
  37546. "description": "现货商品名称",
  37547. "type": "string"
  37548. },
  37549. "enumdicname": {
  37550. "description": "单位名称",
  37551. "type": "string"
  37552. },
  37553. "goodsunitid": {
  37554. "description": "套保品种单位id",
  37555. "type": "integer"
  37556. },
  37557. "middlegoodscode": {
  37558. "description": "套保品种代码",
  37559. "type": "string"
  37560. },
  37561. "middlegoodsid": {
  37562. "description": "套保品种ID",
  37563. "type": "integer"
  37564. },
  37565. "middlegoodsname": {
  37566. "description": "套保品种名称",
  37567. "type": "string"
  37568. },
  37569. "modifytime": {
  37570. "description": "修改时间",
  37571. "type": "string"
  37572. },
  37573. "wrstandardid": {
  37574. "description": "品类ID",
  37575. "type": "integer"
  37576. }
  37577. }
  37578. },
  37579. "models.WRStandardInfo": {
  37580. "type": "object",
  37581. "required": [
  37582. "wrstandardid"
  37583. ],
  37584. "properties": {
  37585. "areauserid": {
  37586. "description": "所属机构",
  37587. "type": "integer"
  37588. },
  37589. "convertfactor": {
  37590. "description": "标仓系数",
  37591. "type": "number"
  37592. },
  37593. "createtime": {
  37594. "description": "创建时间",
  37595. "type": "string"
  37596. },
  37597. "creatorid": {
  37598. "description": "创建人",
  37599. "type": "integer"
  37600. },
  37601. "deliverygoodsid": {
  37602. "description": "品种ID",
  37603. "type": "integer"
  37604. },
  37605. "deliverygoodsname": {
  37606. "description": "交割商品名称",
  37607. "type": "string"
  37608. },
  37609. "factoryitemjson": {
  37610. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  37611. "type": "string"
  37612. },
  37613. "isvalid": {
  37614. "description": "是否有效 - 0:无效 1:有效",
  37615. "type": "integer"
  37616. },
  37617. "minivalue": {
  37618. "description": "最小变动值",
  37619. "type": "integer"
  37620. },
  37621. "minivaluedp": {
  37622. "description": "最小变动值小数位",
  37623. "type": "integer"
  37624. },
  37625. "realminivalue": {
  37626. "description": "实际最小变动值",
  37627. "type": "integer"
  37628. },
  37629. "realminivaluedp": {
  37630. "description": "实际最小变动值小数位",
  37631. "type": "integer"
  37632. },
  37633. "remark": {
  37634. "description": "备注",
  37635. "type": "string"
  37636. },
  37637. "unitid": {
  37638. "description": "单位ID",
  37639. "type": "integer"
  37640. },
  37641. "unitname": {
  37642. "description": "单位",
  37643. "type": "string"
  37644. },
  37645. "updatetime": {
  37646. "description": "更新时间",
  37647. "type": "string"
  37648. },
  37649. "updatorid": {
  37650. "description": "更新人",
  37651. "type": "integer"
  37652. },
  37653. "wrsstatus": {
  37654. "description": "状态 - 作废 - 0:未激活 1:正常",
  37655. "type": "integer"
  37656. },
  37657. "wrstandardcode": {
  37658. "description": "现货品类代码",
  37659. "type": "string"
  37660. },
  37661. "wrstandardid": {
  37662. "description": "现货品类ID(SEQ_WRSTANDARD)",
  37663. "type": "integer"
  37664. },
  37665. "wrstandardname": {
  37666. "description": "现货品类名称",
  37667. "type": "string"
  37668. }
  37669. }
  37670. },
  37671. "models.WRTradeBargainApply": {
  37672. "type": "object",
  37673. "properties": {
  37674. "accountid": {
  37675. "description": "摘牌资金账号",
  37676. "type": "integer"
  37677. },
  37678. "applyprice": {
  37679. "description": "申请价格(议价价格)",
  37680. "type": "string"
  37681. },
  37682. "applyqty": {
  37683. "description": "摘牌数量(议价数量)",
  37684. "type": "number"
  37685. },
  37686. "applyremark": {
  37687. "description": "申请备注",
  37688. "type": "string"
  37689. },
  37690. "applystatus": {
  37691. "description": "申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中",
  37692. "type": "integer"
  37693. },
  37694. "applytime": {
  37695. "description": "申请时间(议价时间)",
  37696. "type": "string"
  37697. },
  37698. "begindate": {
  37699. "description": "开始交易日(yyyymmdd)",
  37700. "type": "string"
  37701. },
  37702. "buyorsell": {
  37703. "description": "买卖(挂牌类型) - 0:买 1:卖",
  37704. "type": "integer"
  37705. },
  37706. "confirmremark": {
  37707. "description": "确认备注",
  37708. "type": "string"
  37709. },
  37710. "confirmtime": {
  37711. "description": "确认时间",
  37712. "type": "string"
  37713. },
  37714. "confirmuserid": {
  37715. "description": "确认人",
  37716. "type": "integer"
  37717. },
  37718. "deliverygoodscode": {
  37719. "description": "品种代码",
  37720. "type": "string"
  37721. },
  37722. "deliverygoodsid": {
  37723. "description": "品种ID",
  37724. "type": "integer"
  37725. },
  37726. "deliverygoodsname": {
  37727. "description": "品种名称",
  37728. "type": "string"
  37729. },
  37730. "deliverymonth": {
  37731. "description": "交收月",
  37732. "type": "string"
  37733. },
  37734. "enddate": {
  37735. "description": "结束交易日(yyyymmdd)",
  37736. "type": "string"
  37737. },
  37738. "enumdicname": {
  37739. "description": "单位名称",
  37740. "type": "string"
  37741. },
  37742. "fixedprice": {
  37743. "description": "挂牌价格",
  37744. "type": "number"
  37745. },
  37746. "handlestatus": {
  37747. "description": "处理状态",
  37748. "type": "integer"
  37749. },
  37750. "marginvalue": {
  37751. "description": "履约保证金比例",
  37752. "type": "number"
  37753. },
  37754. "marketid": {
  37755. "description": "市场ID",
  37756. "type": "integer"
  37757. },
  37758. "matchaccountid": {
  37759. "description": "挂牌方资金账号",
  37760. "type": "integer"
  37761. },
  37762. "matchuserid": {
  37763. "description": "挂牌方用户id",
  37764. "type": "integer"
  37765. },
  37766. "matchusername": {
  37767. "description": "挂牌方用户名称(已脱敏)",
  37768. "type": "string"
  37769. },
  37770. "minivalue": {
  37771. "description": "现货商品最小变动值",
  37772. "type": "integer"
  37773. },
  37774. "optioncompare": {
  37775. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  37776. "type": "string"
  37777. },
  37778. "orderqty": {
  37779. "description": "挂牌数量",
  37780. "type": "integer"
  37781. },
  37782. "refprice": {
  37783. "description": "参考价格",
  37784. "type": "string"
  37785. },
  37786. "retcode": {
  37787. "description": "委托返回代码",
  37788. "type": "integer"
  37789. },
  37790. "templatename": {
  37791. "description": "履约方式(履约模板名称)",
  37792. "type": "string"
  37793. },
  37794. "tradedate": {
  37795. "description": "交易日(yyyyMMdd)",
  37796. "type": "string"
  37797. },
  37798. "userid": {
  37799. "description": "摘牌人用户ID(议价人ID)",
  37800. "type": "integer"
  37801. },
  37802. "username": {
  37803. "description": "议价人名字(已脱敏)",
  37804. "type": "string"
  37805. },
  37806. "validtime": {
  37807. "description": "有效期限",
  37808. "type": "string"
  37809. },
  37810. "warehouseid": {
  37811. "description": "仓库ID",
  37812. "type": "integer"
  37813. },
  37814. "warehousename": {
  37815. "description": "仓库名称",
  37816. "type": "string"
  37817. },
  37818. "wrbargainid": {
  37819. "description": "议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)",
  37820. "type": "string"
  37821. },
  37822. "wrfactortypeid": {
  37823. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  37824. "type": "string"
  37825. },
  37826. "wrfactortypename": {
  37827. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  37828. "type": "string"
  37829. },
  37830. "wrstandardcode": {
  37831. "description": "现货商品代码",
  37832. "type": "string"
  37833. },
  37834. "wrstandardid": {
  37835. "description": "现货商品ID",
  37836. "type": "integer"
  37837. },
  37838. "wrstandardname": {
  37839. "description": "商品名称",
  37840. "type": "string"
  37841. },
  37842. "wrtradeorderid": {
  37843. "description": "关联委托单ID",
  37844. "type": "string"
  37845. },
  37846. "wrtypename": {
  37847. "description": "商品",
  37848. "type": "string"
  37849. }
  37850. }
  37851. },
  37852. "models.Warehouseinfo": {
  37853. "type": "object",
  37854. "required": [
  37855. "autoid",
  37856. "warehousecode"
  37857. ],
  37858. "properties": {
  37859. "address": {
  37860. "description": "详细地址",
  37861. "type": "string"
  37862. },
  37863. "areauserid": {
  37864. "description": "所属机构",
  37865. "type": "integer"
  37866. },
  37867. "autoid": {
  37868. "description": "自增ID",
  37869. "type": "integer"
  37870. },
  37871. "cityid": {
  37872. "description": "市",
  37873. "type": "integer"
  37874. },
  37875. "contactname": {
  37876. "description": "联系人",
  37877. "type": "string"
  37878. },
  37879. "contactnum": {
  37880. "description": "联系电话",
  37881. "type": "string"
  37882. },
  37883. "countryid": {
  37884. "description": "国家",
  37885. "type": "integer"
  37886. },
  37887. "createtime": {
  37888. "description": "创建时间",
  37889. "type": "string"
  37890. },
  37891. "districtid": {
  37892. "description": "区",
  37893. "type": "integer"
  37894. },
  37895. "hasvideo": {
  37896. "description": "是否有视频 - 0:无 1:有",
  37897. "type": "integer"
  37898. },
  37899. "provinceid": {
  37900. "description": "省",
  37901. "type": "integer"
  37902. },
  37903. "remark": {
  37904. "description": "审核备注",
  37905. "type": "string"
  37906. },
  37907. "videourl": {
  37908. "description": "视频地址",
  37909. "type": "string"
  37910. },
  37911. "warehousecode": {
  37912. "description": "仓库代码",
  37913. "type": "string"
  37914. },
  37915. "warehousename": {
  37916. "description": "仓库名称",
  37917. "type": "string"
  37918. },
  37919. "warehousestatus": {
  37920. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  37921. "type": "integer"
  37922. },
  37923. "warehousetype": {
  37924. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  37925. "type": "integer"
  37926. }
  37927. }
  37928. },
  37929. "models.WrAverageTradePrice": {
  37930. "type": "object",
  37931. "properties": {
  37932. "averageprice": {
  37933. "description": "成交均价",
  37934. "type": "number"
  37935. },
  37936. "tradedate": {
  37937. "description": "交易日yyyymm",
  37938. "type": "string"
  37939. }
  37940. }
  37941. },
  37942. "models.WrBrandAndYears": {
  37943. "type": "object",
  37944. "properties": {
  37945. "brandlst": {
  37946. "description": "品牌列表",
  37947. "type": "array",
  37948. "items": {
  37949. "$ref": "#/definitions/models.DgFactoryItem"
  37950. }
  37951. },
  37952. "yearslst": {
  37953. "description": "年份列表",
  37954. "type": "array",
  37955. "items": {
  37956. "$ref": "#/definitions/models.DgFactoryItem"
  37957. }
  37958. }
  37959. }
  37960. },
  37961. "models.WrBsGoodsInfo": {
  37962. "type": "object",
  37963. "properties": {
  37964. "buyorsell": {
  37965. "description": "买卖方向 0-买 1-卖",
  37966. "type": "integer"
  37967. },
  37968. "goodsid": {
  37969. "description": "交易合约ID",
  37970. "type": "integer"
  37971. },
  37972. "lstitem": {
  37973. "description": "商品信息项",
  37974. "type": "array",
  37975. "items": {
  37976. "$ref": "#/definitions/models.WrTypeItem"
  37977. }
  37978. },
  37979. "lststep": {
  37980. "description": "履约规则",
  37981. "type": "array",
  37982. "items": {
  37983. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  37984. }
  37985. }
  37986. }
  37987. },
  37988. "models.WrBuybackDetail": {
  37989. "type": "object",
  37990. "properties": {
  37991. "buybackamount": {
  37992. "description": "回购金额",
  37993. "type": "number"
  37994. },
  37995. "buybackqty": {
  37996. "description": "回购数量",
  37997. "type": "number"
  37998. },
  37999. "buybackreleasemargin": {
  38000. "description": "回购释放保证金",
  38001. "type": "number"
  38002. },
  38003. "buybacktime": {
  38004. "description": "回购时间",
  38005. "type": "string"
  38006. },
  38007. "errordesc": {
  38008. "description": "错误描述",
  38009. "type": "string"
  38010. },
  38011. "handlestatus": {
  38012. "description": "处理 - 1:待处理 2:处理成功 3:处理失败",
  38013. "type": "integer"
  38014. },
  38015. "relatedwrid": {
  38016. "description": "关联仓单ID",
  38017. "type": "integer"
  38018. },
  38019. "scfcontractid": {
  38020. "description": "SCF合同ID",
  38021. "type": "string"
  38022. },
  38023. "scfwrbuybackid": {
  38024. "description": "SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)",
  38025. "type": "integer"
  38026. },
  38027. "tradedate": {
  38028. "description": "交易日(yyyyMMdd)",
  38029. "type": "string"
  38030. }
  38031. }
  38032. },
  38033. "models.WrClientAdSpaceConfig": {
  38034. "type": "object",
  38035. "properties": {
  38036. "adspaceid": {
  38037. "description": "广告位ID",
  38038. "type": "integer"
  38039. },
  38040. "adspacename": {
  38041. "description": "广告位名称",
  38042. "type": "string"
  38043. },
  38044. "adspacetype": {
  38045. "description": "广告位类型 - 1:固定广告位",
  38046. "type": "integer"
  38047. },
  38048. "areauserid": {
  38049. "description": "所属机构ID",
  38050. "type": "integer"
  38051. },
  38052. "createdate": {
  38053. "description": "创建时间",
  38054. "type": "string"
  38055. },
  38056. "imagepath": {
  38057. "description": "图片",
  38058. "type": "string"
  38059. },
  38060. "modifierid": {
  38061. "description": "操作人",
  38062. "type": "integer"
  38063. },
  38064. "recsize": {
  38065. "description": "推荐尺寸",
  38066. "type": "string"
  38067. },
  38068. "title": {
  38069. "description": "标题",
  38070. "type": "string"
  38071. },
  38072. "updatedate": {
  38073. "description": "更新时间",
  38074. "type": "string"
  38075. },
  38076. "urlcontent": {
  38077. "description": "链接(地址\\商品ID\\功能菜单Key\\appid)",
  38078. "type": "string"
  38079. },
  38080. "urltype": {
  38081. "description": "链接类型 - 0:无 1:直接地址 2:商品ID 3:图片详情 4:App功能 5:微信小程序",
  38082. "type": "integer"
  38083. }
  38084. }
  38085. },
  38086. "models.WrDeliveryAvalidHoldLB": {
  38087. "type": "object",
  38088. "properties": {
  38089. "accountid": {
  38090. "description": "资金账号",
  38091. "type": "integer"
  38092. },
  38093. "avalidqty": {
  38094. "description": "数量(可点选数量)",
  38095. "type": "number"
  38096. },
  38097. "deliverygoodsid": {
  38098. "description": "品种id",
  38099. "type": "integer"
  38100. },
  38101. "enumdicname": {
  38102. "description": "单位名称",
  38103. "type": "string"
  38104. },
  38105. "goodsid": {
  38106. "description": "x合约商品id",
  38107. "type": "integer"
  38108. },
  38109. "ladingbillid": {
  38110. "description": "提单id",
  38111. "type": "string"
  38112. },
  38113. "pgoodscode": {
  38114. "description": "p商品代码(点价合约)",
  38115. "type": "string"
  38116. },
  38117. "pgoodsid": {
  38118. "description": "p商品id(点价合约)",
  38119. "type": "integer"
  38120. },
  38121. "pgoodsname": {
  38122. "description": "p商品名称(点价合约)",
  38123. "type": "string"
  38124. },
  38125. "pricemove": {
  38126. "description": "升贴水",
  38127. "type": "number"
  38128. },
  38129. "subnum": {
  38130. "description": "提单子id",
  38131. "type": "integer"
  38132. },
  38133. "userid": {
  38134. "description": "用户id",
  38135. "type": "integer"
  38136. },
  38137. "username": {
  38138. "description": "仓单持有人",
  38139. "type": "string"
  38140. },
  38141. "warehousecode": {
  38142. "description": "仓库代码",
  38143. "type": "string"
  38144. },
  38145. "warehouseid": {
  38146. "description": "仓库id",
  38147. "type": "integer"
  38148. },
  38149. "warehousename": {
  38150. "description": "仓库名称",
  38151. "type": "string"
  38152. },
  38153. "wrfactortypeid": {
  38154. "description": "仓单要素id",
  38155. "type": "string"
  38156. },
  38157. "wrstandardcode": {
  38158. "description": "品代码",
  38159. "type": "string"
  38160. },
  38161. "wrstandardid": {
  38162. "description": "品类d",
  38163. "type": "integer"
  38164. },
  38165. "wrstandardname": {
  38166. "description": "品类名称",
  38167. "type": "string"
  38168. },
  38169. "wrtypename": {
  38170. "description": "商品",
  38171. "type": "string"
  38172. },
  38173. "xgoodscode": {
  38174. "description": "x合约代码",
  38175. "type": "string"
  38176. },
  38177. "xgoodsname": {
  38178. "description": "x合约名称",
  38179. "type": "string"
  38180. }
  38181. }
  38182. },
  38183. "models.WrDeliveryDetail": {
  38184. "type": "object",
  38185. "properties": {
  38186. "accountid": {
  38187. "description": "账号ID",
  38188. "type": "integer"
  38189. },
  38190. "averageprice": {
  38191. "description": "交割均价 = 交割金额 / 交割数量",
  38192. "type": "number"
  38193. },
  38194. "begindate": {
  38195. "description": "开始交易日(yyyymmdd)",
  38196. "type": "string"
  38197. },
  38198. "buyorsell": {
  38199. "description": "方向 - 0:买 1:卖",
  38200. "type": "integer"
  38201. },
  38202. "deliveryamount": {
  38203. "description": "货款金额(X总货款+P总货款)",
  38204. "type": "number"
  38205. },
  38206. "deliveryid": {
  38207. "description": "交割单号(121+Unix秒时间戳(10位)+xxxxxx)",
  38208. "type": "string"
  38209. },
  38210. "deliveryorderid": {
  38211. "description": "申报单号",
  38212. "type": "string"
  38213. },
  38214. "deliverypricemove": {
  38215. "description": "升贴水(升贴水总额)",
  38216. "type": "number"
  38217. },
  38218. "deliveryqty": {
  38219. "description": "交收数量(点选数量)",
  38220. "type": "number"
  38221. },
  38222. "deliverystatus": {
  38223. "description": "状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成",
  38224. "type": "integer"
  38225. },
  38226. "deliverytime": {
  38227. "description": "交割时间",
  38228. "type": "string"
  38229. },
  38230. "deliverytotalamount": {
  38231. "description": "交收金额",
  38232. "type": "number"
  38233. },
  38234. "enddate": {
  38235. "description": "结束交易日(yyyymmdd)",
  38236. "type": "string"
  38237. },
  38238. "enumdicname": {
  38239. "description": "单位名称",
  38240. "type": "string"
  38241. },
  38242. "matchaccountid": {
  38243. "description": "对手账号ID",
  38244. "type": "integer"
  38245. },
  38246. "matchusername": {
  38247. "description": "对手方名称(仓单持有人)",
  38248. "type": "string"
  38249. },
  38250. "p1goodsremainamount": {
  38251. "description": "点价货款 ps:当PPRICEMODE=2时, 界面需显示\"-\"",
  38252. "type": "number"
  38253. },
  38254. "pdeliverycloseqty": {
  38255. "description": "p合约平仓数量",
  38256. "type": "number"
  38257. },
  38258. "pdeliveryprice": {
  38259. "description": "点价价格 ps:当PPRICEMODE=2时, 界面需显示\"-\"",
  38260. "type": "number"
  38261. },
  38262. "pgoodscode": {
  38263. "description": "商品代码",
  38264. "type": "string"
  38265. },
  38266. "pgoodsid": {
  38267. "description": "p点选合约id",
  38268. "type": "integer"
  38269. },
  38270. "pgoodsname": {
  38271. "description": "商品名称",
  38272. "type": "string"
  38273. },
  38274. "ppricemode": {
  38275. "description": "点价价格方式 - 1:商品价 2:固定值",
  38276. "type": "integer"
  38277. },
  38278. "tradedate": {
  38279. "description": "交易日(yyyymmdd)",
  38280. "type": "string"
  38281. },
  38282. "userid": {
  38283. "description": "用户id",
  38284. "type": "integer"
  38285. },
  38286. "username": {
  38287. "description": "用户名称",
  38288. "type": "string"
  38289. },
  38290. "warehousename": {
  38291. "description": "仓库名称",
  38292. "type": "string"
  38293. },
  38294. "wrfactortypeid": {
  38295. "description": "仓单要素类型ID",
  38296. "type": "string"
  38297. },
  38298. "wrtypename": {
  38299. "description": "商品",
  38300. "type": "string"
  38301. },
  38302. "xdeliverycloseqty": {
  38303. "description": "合约数量",
  38304. "type": "number"
  38305. },
  38306. "xgoodsamount": {
  38307. "description": "合约金额 = 货款金额(DELIVERYAMOUNT) - 点价货款(P1GOODSREMAINAMOUNT)",
  38308. "type": "number"
  38309. },
  38310. "xgoodscode": {
  38311. "description": "商品代码",
  38312. "type": "string"
  38313. },
  38314. "xgoodsid": {
  38315. "description": "x交易合约ID",
  38316. "type": "integer"
  38317. },
  38318. "xgoodsname": {
  38319. "description": "商品名称",
  38320. "type": "string"
  38321. }
  38322. }
  38323. },
  38324. "models.WrDeliveryGoodsSection": {
  38325. "type": "object",
  38326. "properties": {
  38327. "dglst": {
  38328. "description": "板块商品列表",
  38329. "type": "array",
  38330. "items": {
  38331. "$ref": "#/definitions/models.WrDeliveryGoodsSectionConfig"
  38332. }
  38333. },
  38334. "imagepath": {
  38335. "description": "图片地址",
  38336. "type": "string"
  38337. },
  38338. "orderindex": {
  38339. "description": "排序",
  38340. "type": "integer"
  38341. },
  38342. "sectionid": {
  38343. "description": "版块ID (SEQ_DELIVERYGOODSSECTION) - 自增100开始, 前面ID预留给SectionType = 1的版块1 - 云融指数",
  38344. "type": "integer"
  38345. },
  38346. "sectionname": {
  38347. "description": "版块名称",
  38348. "type": "string"
  38349. },
  38350. "sectiontype": {
  38351. "description": "版块类型 - 1:指数版块 2:普通版块",
  38352. "type": "integer"
  38353. }
  38354. }
  38355. },
  38356. "models.WrDeliveryGoodsSectionConfig": {
  38357. "type": "object",
  38358. "properties": {
  38359. "deliverygoodscode": {
  38360. "description": "现货商品代码",
  38361. "type": "string"
  38362. },
  38363. "deliverygoodsid": {
  38364. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  38365. "type": "integer"
  38366. },
  38367. "deliverygoodsname": {
  38368. "description": "现货商品名称",
  38369. "type": "string"
  38370. },
  38371. "orderindex": {
  38372. "description": "排序",
  38373. "type": "integer"
  38374. }
  38375. }
  38376. },
  38377. "models.WrDraftUserInfo": {
  38378. "type": "object",
  38379. "properties": {
  38380. "address": {
  38381. "description": "地址",
  38382. "type": "string"
  38383. },
  38384. "attachment1": {
  38385. "description": "附件1",
  38386. "type": "string"
  38387. },
  38388. "attachment2": {
  38389. "description": "附件2",
  38390. "type": "string"
  38391. },
  38392. "attachment3": {
  38393. "description": "附件3",
  38394. "type": "string"
  38395. },
  38396. "attachment4": {
  38397. "description": "附件4",
  38398. "type": "string"
  38399. },
  38400. "attachment5": {
  38401. "description": "附件5",
  38402. "type": "string"
  38403. },
  38404. "bankaccount": {
  38405. "description": "银行帐号 (加密存储)",
  38406. "type": "string"
  38407. },
  38408. "bankaccountname": {
  38409. "description": "收款人名称",
  38410. "type": "string"
  38411. },
  38412. "bankcardfrontphotourl": {
  38413. "description": "银行卡正面照地址",
  38414. "type": "string"
  38415. },
  38416. "bankid": {
  38417. "description": "银行编码",
  38418. "type": "string"
  38419. },
  38420. "bankname": {
  38421. "description": "银行名称",
  38422. "type": "string"
  38423. },
  38424. "birthday": {
  38425. "description": "生日(个人:年月日)",
  38426. "type": "string"
  38427. },
  38428. "biznature": {
  38429. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  38430. "type": "integer"
  38431. },
  38432. "bizscope": {
  38433. "description": "企业经营范围(企业)",
  38434. "type": "string"
  38435. },
  38436. "biztype": {
  38437. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  38438. "type": "integer"
  38439. },
  38440. "cardbackphotourl": {
  38441. "description": "证件背面图片地址",
  38442. "type": "string"
  38443. },
  38444. "cardfrontphotourl": {
  38445. "description": "证件正面图片地址",
  38446. "type": "string"
  38447. },
  38448. "cardnum": {
  38449. "description": "证件号码(加密存储)",
  38450. "type": "string"
  38451. },
  38452. "cardtypeid": {
  38453. "description": "证件类型ID",
  38454. "type": "integer"
  38455. },
  38456. "cityid": {
  38457. "description": "市",
  38458. "type": "integer"
  38459. },
  38460. "company": {
  38461. "description": "公司(个人)",
  38462. "type": "string"
  38463. },
  38464. "contactcardbackphotourl": {
  38465. "description": "联系人证件背面图片地址",
  38466. "type": "string"
  38467. },
  38468. "contactcardfrontphotourl": {
  38469. "description": "联系人证件正面图片地址",
  38470. "type": "string"
  38471. },
  38472. "contactname": {
  38473. "description": "联系人",
  38474. "type": "string"
  38475. },
  38476. "countryid": {
  38477. "description": "国家",
  38478. "type": "integer"
  38479. },
  38480. "createtime": {
  38481. "description": "创建时间",
  38482. "type": "string"
  38483. },
  38484. "creatorid": {
  38485. "description": "创建人",
  38486. "type": "integer"
  38487. },
  38488. "creditquota": {
  38489. "description": "授信额度(金瑞)",
  38490. "type": "number"
  38491. },
  38492. "customername": {
  38493. "description": "客户名称(企业名称)",
  38494. "type": "string"
  38495. },
  38496. "districtid": {
  38497. "description": "地区",
  38498. "type": "integer"
  38499. },
  38500. "email": {
  38501. "description": "邮件(加密存储)",
  38502. "type": "string"
  38503. },
  38504. "fax": {
  38505. "description": "传真(加密存储)",
  38506. "type": "string"
  38507. },
  38508. "halfbodyphotourl": {
  38509. "description": "半身照地址",
  38510. "type": "string"
  38511. },
  38512. "hasencrypt": {
  38513. "description": "数据是否已加密 - 0:未加密 1:已加密",
  38514. "type": "integer"
  38515. },
  38516. "headurl": {
  38517. "description": "头像地址",
  38518. "type": "string"
  38519. },
  38520. "legalcardbackphotourl": {
  38521. "description": "法人身份证背面照地址",
  38522. "type": "string"
  38523. },
  38524. "legalcardfrontphotourl": {
  38525. "description": "法人身份证正面照地址",
  38526. "type": "string"
  38527. },
  38528. "legalpersonname": {
  38529. "description": "法人姓名(企业)",
  38530. "type": "string"
  38531. },
  38532. "mobile": {
  38533. "description": "手机号码(加密存储)",
  38534. "type": "string"
  38535. },
  38536. "mobile2": {
  38537. "description": "手机号码[明文-尚志]",
  38538. "type": "string"
  38539. },
  38540. "modifierid": {
  38541. "description": "修改人",
  38542. "type": "integer"
  38543. },
  38544. "modifiertime": {
  38545. "description": "修改时间",
  38546. "type": "string"
  38547. },
  38548. "needinvoice": {
  38549. "description": "是否需要发票 - 0:不需要 1:需要",
  38550. "type": "integer"
  38551. },
  38552. "nickname": {
  38553. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  38554. "type": "string"
  38555. },
  38556. "openmode": {
  38557. "description": "开户方式 - 1:管理端开户 2\t:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册",
  38558. "type": "integer"
  38559. },
  38560. "otherurl": {
  38561. "description": "其它图片地址[使用分号分隔]",
  38562. "type": "string"
  38563. },
  38564. "postalcode": {
  38565. "description": "邮政编码",
  38566. "type": "string"
  38567. },
  38568. "provinceid": {
  38569. "description": "省",
  38570. "type": "integer"
  38571. },
  38572. "proxystatementurl": {
  38573. "description": "授权委托书",
  38574. "type": "string"
  38575. },
  38576. "qq": {
  38577. "description": "QQ(加密存储",
  38578. "type": "string"
  38579. },
  38580. "remark": {
  38581. "description": "备注",
  38582. "type": "string"
  38583. },
  38584. "sex": {
  38585. "description": "用户性别 0: 女 1: 男",
  38586. "type": "integer"
  38587. },
  38588. "signpdfurl": {
  38589. "description": "签约pdf文件",
  38590. "type": "string"
  38591. },
  38592. "taxpayernum": {
  38593. "description": "纳税人识别号",
  38594. "type": "string"
  38595. },
  38596. "telphone": {
  38597. "description": "联系电话(加密存储)",
  38598. "type": "string"
  38599. },
  38600. "userid": {
  38601. "description": "用户ID",
  38602. "type": "integer"
  38603. },
  38604. "userinfotype": {
  38605. "description": "用户信息类型 - 1:个人 2:企业",
  38606. "type": "integer"
  38607. },
  38608. "userstatus": {
  38609. "description": "用户状态 - 1:正常 2:注销",
  38610. "type": "integer"
  38611. },
  38612. "usertype": {
  38613. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者",
  38614. "type": "integer"
  38615. },
  38616. "wechat": {
  38617. "description": "微信(加密存储)",
  38618. "type": "string"
  38619. },
  38620. "wskhinfo": {
  38621. "description": "开户申请信息(JSON)",
  38622. "type": "string"
  38623. }
  38624. }
  38625. },
  38626. "models.WrFAProductDetail": {
  38627. "type": "object",
  38628. "properties": {
  38629. "accountid": {
  38630. "description": "资金账号",
  38631. "type": "integer"
  38632. },
  38633. "areauserid": {
  38634. "description": "金融机构ID",
  38635. "type": "integer"
  38636. },
  38637. "financingdays": {
  38638. "description": "天数(天)",
  38639. "type": "integer"
  38640. },
  38641. "interestminlen": {
  38642. "description": "最小起息天数",
  38643. "type": "integer"
  38644. },
  38645. "interestrate": {
  38646. "description": "利率",
  38647. "type": "number"
  38648. },
  38649. "interestratemode": {
  38650. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  38651. "type": "integer"
  38652. },
  38653. "interestsettlemode": {
  38654. "description": "结息方式 - 1:按日结息 3:按月结息",
  38655. "type": "integer"
  38656. },
  38657. "interestsettlevalue": {
  38658. "description": "结息方式值",
  38659. "type": "integer"
  38660. },
  38661. "isautoloan": {
  38662. "description": "是否自动放款 0-手动 1-自动 (当为自动放款时,显示\"放款快\")",
  38663. "type": "integer"
  38664. },
  38665. "loantag": {
  38666. "description": "放款标识: \"放款快\" 或者为空",
  38667. "type": "string"
  38668. },
  38669. "marginratio": {
  38670. "description": "保证金比率质押率 - [仓单质押]",
  38671. "type": "number"
  38672. },
  38673. "productdetailid": {
  38674. "description": "产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)",
  38675. "type": "integer"
  38676. },
  38677. "productid": {
  38678. "description": "金融产品ID",
  38679. "type": "integer"
  38680. },
  38681. "productname": {
  38682. "description": "产品名称",
  38683. "type": "string"
  38684. },
  38685. "updatetime": {
  38686. "description": "更新时间",
  38687. "type": "string"
  38688. },
  38689. "username": {
  38690. "description": "融出方",
  38691. "type": "string"
  38692. }
  38693. }
  38694. },
  38695. "models.WrFactorTypeInfo": {
  38696. "type": "object",
  38697. "properties": {
  38698. "deliverygoodscode": {
  38699. "description": "品种代码",
  38700. "type": "string"
  38701. },
  38702. "deliverygoodsname": {
  38703. "description": "品种名称",
  38704. "type": "string"
  38705. },
  38706. "dgfactoryitemid": {
  38707. "description": "选择项id",
  38708. "type": "integer"
  38709. },
  38710. "dgfactoryitemtypeid": {
  38711. "description": "要素选择项ID (1-仓库 2-品牌)",
  38712. "type": "integer"
  38713. },
  38714. "dgfactoryitemvalue": {
  38715. "description": "要素项值",
  38716. "type": "string"
  38717. },
  38718. "itemtypename": {
  38719. "description": "要素项名称",
  38720. "type": "string"
  38721. },
  38722. "optioncompare": {
  38723. "description": "选择比较串",
  38724. "type": "string"
  38725. },
  38726. "warehouseid": {
  38727. "description": "仓库id",
  38728. "type": "integer"
  38729. },
  38730. "wrfactortypeid": {
  38731. "description": "仓单要素ID",
  38732. "type": "string"
  38733. },
  38734. "wrfactortypename": {
  38735. "description": "要素名称",
  38736. "type": "string"
  38737. },
  38738. "wrfactortypename2": {
  38739. "description": "要素名称(不含仓库)",
  38740. "type": "string"
  38741. },
  38742. "wrstandardcode": {
  38743. "description": "品类代码",
  38744. "type": "string"
  38745. },
  38746. "wrstandardid": {
  38747. "description": "品类id",
  38748. "type": "integer"
  38749. },
  38750. "wrstandardname": {
  38751. "description": "品类名称",
  38752. "type": "string"
  38753. }
  38754. }
  38755. },
  38756. "models.WrFilterItem": {
  38757. "type": "object",
  38758. "properties": {
  38759. "itemcode": {
  38760. "description": "代码",
  38761. "type": "string"
  38762. },
  38763. "itemid": {
  38764. "description": "项id",
  38765. "type": "integer"
  38766. },
  38767. "itemname": {
  38768. "description": "名称",
  38769. "type": "string"
  38770. },
  38771. "itemtype": {
  38772. "description": "类型 1-品种 2-品类(商品) 3-仓库",
  38773. "type": "integer"
  38774. }
  38775. }
  38776. },
  38777. "models.WrFinanceBuyApply": {
  38778. "type": "object",
  38779. "properties": {
  38780. "applydate": {
  38781. "description": "申请时间",
  38782. "type": "string"
  38783. },
  38784. "applystatus": {
  38785. "description": "申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败",
  38786. "type": "integer"
  38787. },
  38788. "applyuserid": {
  38789. "description": "申请人",
  38790. "type": "integer"
  38791. },
  38792. "auditdate": {
  38793. "description": "审核时间",
  38794. "type": "string"
  38795. },
  38796. "auditremark": {
  38797. "description": "审核备注",
  38798. "type": "string"
  38799. },
  38800. "audituserid": {
  38801. "description": "审核人",
  38802. "type": "integer"
  38803. },
  38804. "buyaccountid": {
  38805. "description": "买方资金账号",
  38806. "type": "integer"
  38807. },
  38808. "buyorsell": {
  38809. "description": "买卖 - 0:买 1:卖",
  38810. "type": "integer"
  38811. },
  38812. "buyuserid": {
  38813. "description": "买方用户ID",
  38814. "type": "integer"
  38815. },
  38816. "buyusername": {
  38817. "description": "买方名称",
  38818. "type": "string"
  38819. },
  38820. "buywrtradeorderid": {
  38821. "description": "融资方买委托单ID",
  38822. "type": "string"
  38823. },
  38824. "deliverygoodscode": {
  38825. "description": "品种代码",
  38826. "type": "string"
  38827. },
  38828. "deliverygoodsid": {
  38829. "description": "品种ID",
  38830. "type": "integer"
  38831. },
  38832. "deliverygoodsname": {
  38833. "description": "品种名称",
  38834. "type": "string"
  38835. },
  38836. "deliverymonth": {
  38837. "description": "交收月(yyyy-MM) [无仓单HasWR =0]",
  38838. "type": "string"
  38839. },
  38840. "enumdicname": {
  38841. "description": "单位名称",
  38842. "type": "string"
  38843. },
  38844. "financeaccountid": {
  38845. "description": "融资方资金帐户ID",
  38846. "type": "integer"
  38847. },
  38848. "financeapplyid": {
  38849. "description": "融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  38850. "type": "string"
  38851. },
  38852. "financeareauserid": {
  38853. "description": "融资方用户ID",
  38854. "type": "string"
  38855. },
  38856. "financename": {
  38857. "description": "融出方名称",
  38858. "type": "string"
  38859. },
  38860. "financetype": {
  38861. "description": "融资类型 1-融资回购",
  38862. "type": "integer"
  38863. },
  38864. "financingdays": {
  38865. "description": "天数(天)",
  38866. "type": "integer"
  38867. },
  38868. "freezebuymargin": {
  38869. "description": "冻结融资保证金(买方)",
  38870. "type": "number"
  38871. },
  38872. "handleremark": {
  38873. "description": "处理备注",
  38874. "type": "string"
  38875. },
  38876. "handlestatus": {
  38877. "description": "处理状态",
  38878. "type": "integer"
  38879. },
  38880. "interestminlen": {
  38881. "description": "最小起息天数",
  38882. "type": "integer"
  38883. },
  38884. "interestrate": {
  38885. "description": "利率",
  38886. "type": "number"
  38887. },
  38888. "interestratemode": {
  38889. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  38890. "type": "integer"
  38891. },
  38892. "interestsettlemode": {
  38893. "description": "结息方式 - 1:按日结息 3:按月结息",
  38894. "type": "integer"
  38895. },
  38896. "interestsettlevalue": {
  38897. "description": "结息方式值",
  38898. "type": "integer"
  38899. },
  38900. "isautoloan": {
  38901. "description": "是否自动放款 - 0:手动 1:自动",
  38902. "type": "integer"
  38903. },
  38904. "marginratio": {
  38905. "description": "保证金比率质押率 - [仓单质押]",
  38906. "type": "number"
  38907. },
  38908. "marketid": {
  38909. "description": "市场ID",
  38910. "type": "integer"
  38911. },
  38912. "minivalue": {
  38913. "description": "现货商品最小变动值",
  38914. "type": "integer"
  38915. },
  38916. "optioncompare": {
  38917. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  38918. "type": "string"
  38919. },
  38920. "orderqty": {
  38921. "description": "委托数量(商品数量)",
  38922. "type": "number"
  38923. },
  38924. "productdetailid": {
  38925. "description": "产品组合ID",
  38926. "type": "integer"
  38927. },
  38928. "productid": {
  38929. "description": "金融产品ID",
  38930. "type": "integer"
  38931. },
  38932. "productname": {
  38933. "description": "产品名称",
  38934. "type": "string"
  38935. },
  38936. "remark": {
  38937. "description": "备注",
  38938. "type": "string"
  38939. },
  38940. "scfcontractid": {
  38941. "description": "仓单回购合同ID",
  38942. "type": "string"
  38943. },
  38944. "sellaccountid": {
  38945. "description": "卖方资金账号",
  38946. "type": "integer"
  38947. },
  38948. "selluserid": {
  38949. "description": "卖方用户ID",
  38950. "type": "integer"
  38951. },
  38952. "sellwrtradeorderid": {
  38953. "description": "卖方委托单ID",
  38954. "type": "string"
  38955. },
  38956. "tradeamount": {
  38957. "description": "成交金额(借款金额)",
  38958. "type": "number"
  38959. },
  38960. "tradedate": {
  38961. "description": "交易日(yyyyMMdd)",
  38962. "type": "string"
  38963. },
  38964. "tradeprice": {
  38965. "description": "成交价格",
  38966. "type": "number"
  38967. },
  38968. "warehouseid": {
  38969. "description": "仓库ID",
  38970. "type": "integer"
  38971. },
  38972. "warehousename": {
  38973. "description": "仓库名称",
  38974. "type": "string"
  38975. },
  38976. "wrfactortypeid": {
  38977. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  38978. "type": "string"
  38979. },
  38980. "wrfactortypename": {
  38981. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  38982. "type": "string"
  38983. },
  38984. "wrpricetype": {
  38985. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌单]",
  38986. "type": "integer"
  38987. },
  38988. "wrstandardcode": {
  38989. "description": "现货商品代码",
  38990. "type": "string"
  38991. },
  38992. "wrstandardid": {
  38993. "description": "现货商品ID",
  38994. "type": "integer"
  38995. },
  38996. "wrstandardname": {
  38997. "description": "商品名称",
  38998. "type": "string"
  38999. },
  39000. "wrtypename": {
  39001. "description": "商品",
  39002. "type": "string"
  39003. }
  39004. }
  39005. },
  39006. "models.WrFriendApply": {
  39007. "type": "object",
  39008. "properties": {
  39009. "applicantid": {
  39010. "description": "申请人",
  39011. "type": "integer"
  39012. },
  39013. "applyname": {
  39014. "description": "申请人名称",
  39015. "type": "string"
  39016. },
  39017. "applysrc": {
  39018. "description": "申请来源 - 1:管理端 2:终端",
  39019. "type": "integer"
  39020. },
  39021. "applystatus": {
  39022. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  39023. "type": "integer"
  39024. },
  39025. "applytime": {
  39026. "description": "申请时间",
  39027. "type": "string"
  39028. },
  39029. "auditname": {
  39030. "description": "审核人名称",
  39031. "type": "string"
  39032. },
  39033. "auditorid": {
  39034. "description": "审核人",
  39035. "type": "integer"
  39036. },
  39037. "auditremark": {
  39038. "description": "审核备注",
  39039. "type": "string"
  39040. },
  39041. "auditsrc": {
  39042. "description": "审核来源 - 1:管理端 2:终端",
  39043. "type": "integer"
  39044. },
  39045. "audittime": {
  39046. "description": "审核时间",
  39047. "type": "string"
  39048. },
  39049. "friendapplyid": {
  39050. "description": "申请ID(SEQ_FRIENDAPPLY)",
  39051. "type": "string"
  39052. },
  39053. "friendname": {
  39054. "description": "好友名字(已脱敏)",
  39055. "type": "string"
  39056. },
  39057. "frienduserid": {
  39058. "description": "好友用户ID",
  39059. "type": "string"
  39060. },
  39061. "remark": {
  39062. "description": "备注",
  39063. "type": "string"
  39064. },
  39065. "userid": {
  39066. "description": "申请人用户ID",
  39067. "type": "integer"
  39068. }
  39069. }
  39070. },
  39071. "models.WrFtDeliveryGoods": {
  39072. "type": "object",
  39073. "properties": {
  39074. "deliverygoodscode": {
  39075. "description": "品种代码",
  39076. "type": "string"
  39077. },
  39078. "deliverygoodsid": {
  39079. "description": "品种ID",
  39080. "type": "integer"
  39081. },
  39082. "deliverygoodsname": {
  39083. "description": "品种名称",
  39084. "type": "string"
  39085. },
  39086. "wdlst": {
  39087. "description": "商品列表",
  39088. "type": "array",
  39089. "items": {
  39090. "$ref": "#/definitions/models.WrFtWrstandard"
  39091. }
  39092. }
  39093. }
  39094. },
  39095. "models.WrFtWrstandard": {
  39096. "type": "object",
  39097. "properties": {
  39098. "enumdicname": {
  39099. "description": "单位名称",
  39100. "type": "string"
  39101. },
  39102. "minivalue": {
  39103. "description": "最小变动值",
  39104. "type": "integer"
  39105. },
  39106. "wrstandardcode": {
  39107. "description": "现货商品代码",
  39108. "type": "string"
  39109. },
  39110. "wrstandardid": {
  39111. "description": "现货商品ID",
  39112. "type": "integer"
  39113. },
  39114. "wrstandardname": {
  39115. "description": "商品名称",
  39116. "type": "string"
  39117. }
  39118. }
  39119. },
  39120. "models.WrGoodsInfo": {
  39121. "type": "object",
  39122. "properties": {
  39123. "haswr": {
  39124. "description": "0:仓单预售 1:仓单贸易",
  39125. "type": "integer"
  39126. },
  39127. "lstitem": {
  39128. "description": "商品信息项",
  39129. "type": "array",
  39130. "items": {
  39131. "$ref": "#/definitions/models.WrTypeItem"
  39132. }
  39133. },
  39134. "lststep": {
  39135. "description": "履约规则",
  39136. "type": "array",
  39137. "items": {
  39138. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  39139. }
  39140. },
  39141. "marketid": {
  39142. "description": "市场id",
  39143. "type": "integer"
  39144. }
  39145. }
  39146. },
  39147. "models.WrGoodsPerformanceStep": {
  39148. "type": "object",
  39149. "properties": {
  39150. "autoid": {
  39151. "description": "AutoID",
  39152. "type": "integer"
  39153. },
  39154. "isauto": {
  39155. "description": "是否自动 - 0:不自动 1:自动",
  39156. "type": "integer"
  39157. },
  39158. "remark": {
  39159. "description": "备注",
  39160. "type": "string"
  39161. },
  39162. "stepdate": {
  39163. "description": "天数信息(T+N)",
  39164. "type": "string"
  39165. },
  39166. "stepdays": {
  39167. "description": "距离上一步天数",
  39168. "type": "integer"
  39169. },
  39170. "stepindex": {
  39171. "description": "步骤序号",
  39172. "type": "integer"
  39173. },
  39174. "stepinfo": {
  39175. "description": "步骤信息(步骤名称+步骤值)",
  39176. "type": "string"
  39177. },
  39178. "steptypeid": {
  39179. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  39180. "type": "integer"
  39181. },
  39182. "steptypename": {
  39183. "description": "步骤名称",
  39184. "type": "string"
  39185. },
  39186. "stepvalue": {
  39187. "description": "步骤值",
  39188. "type": "number"
  39189. },
  39190. "templateid": {
  39191. "description": "履约计划模板ID",
  39192. "type": "integer"
  39193. }
  39194. }
  39195. },
  39196. "models.WrHoldLB": {
  39197. "type": "object",
  39198. "properties": {
  39199. "accountid": {
  39200. "description": "持有人帐户ID",
  39201. "type": "integer"
  39202. },
  39203. "bannerpicurl": {
  39204. "description": "Banner图",
  39205. "type": "string"
  39206. },
  39207. "createtime": {
  39208. "description": "创建时间(过户时间)",
  39209. "type": "string"
  39210. },
  39211. "deliverygoodscode": {
  39212. "description": "品种代码",
  39213. "type": "string"
  39214. },
  39215. "deliverygoodsid": {
  39216. "description": "品种ID",
  39217. "type": "integer"
  39218. },
  39219. "deliverygoodsname": {
  39220. "description": "品种名称",
  39221. "type": "string"
  39222. },
  39223. "enableqty": {
  39224. "description": "可用数量",
  39225. "type": "number"
  39226. },
  39227. "enumdicname": {
  39228. "description": "单位名称",
  39229. "type": "string"
  39230. },
  39231. "freezerqty": {
  39232. "description": "冻结数量",
  39233. "type": "number"
  39234. },
  39235. "ladingbillid": {
  39236. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  39237. "type": "string"
  39238. },
  39239. "minivalue": {
  39240. "description": "现货商品最小变动值",
  39241. "type": "integer"
  39242. },
  39243. "optioncompare": {
  39244. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  39245. "type": "string"
  39246. },
  39247. "parentsubnum": {
  39248. "description": "拆分父子单号",
  39249. "type": "integer"
  39250. },
  39251. "pledgeqty": {
  39252. "description": "质押数量",
  39253. "type": "number"
  39254. },
  39255. "qty": {
  39256. "description": "数量",
  39257. "type": "number"
  39258. },
  39259. "subnum": {
  39260. "description": "提单子单号",
  39261. "type": "integer"
  39262. },
  39263. "thumurls": {
  39264. "description": "缩略图",
  39265. "type": "string"
  39266. },
  39267. "tradedate": {
  39268. "description": "交易日(yyyyMMdd)",
  39269. "type": "string"
  39270. },
  39271. "userid": {
  39272. "description": "持有人ID",
  39273. "type": "integer"
  39274. },
  39275. "warehouseid": {
  39276. "description": "仓库ID",
  39277. "type": "integer"
  39278. },
  39279. "warehousename": {
  39280. "description": "仓库名称",
  39281. "type": "string"
  39282. },
  39283. "wrfactortypeid": {
  39284. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  39285. "type": "string"
  39286. },
  39287. "wrfactortypename": {
  39288. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  39289. "type": "string"
  39290. },
  39291. "wrholdeno": {
  39292. "description": "仓单编号",
  39293. "type": "string"
  39294. },
  39295. "wrid": {
  39296. "description": "仓单变更ID",
  39297. "type": "string"
  39298. },
  39299. "wrstandardcode": {
  39300. "description": "现货商品代码",
  39301. "type": "string"
  39302. },
  39303. "wrstandardid": {
  39304. "description": "现货商品ID",
  39305. "type": "integer"
  39306. },
  39307. "wrstandardname": {
  39308. "description": "商品名称",
  39309. "type": "string"
  39310. },
  39311. "wrtypename": {
  39312. "description": "商品",
  39313. "type": "string"
  39314. }
  39315. }
  39316. },
  39317. "models.WrMarketTradeConfig": {
  39318. "type": "object",
  39319. "properties": {
  39320. "basisdownratio": {
  39321. "description": "浮动价基差下限比例(仓单贸易)",
  39322. "type": "number"
  39323. },
  39324. "basisupratio": {
  39325. "description": "浮动价基差上限比例(仓单贸易)",
  39326. "type": "number"
  39327. },
  39328. "buychargealgorithm": {
  39329. "description": "买方手续费收取方式 1:比率 2:固定",
  39330. "type": "integer"
  39331. },
  39332. "buychargealgorithm2": {
  39333. "description": "回购买方手续费收取方式 1:比率 2:固定 --77:现货商城",
  39334. "type": "integer"
  39335. },
  39336. "buychargealgorithmvalue": {
  39337. "description": "买方手续费设置值(交易所部分)",
  39338. "type": "number"
  39339. },
  39340. "buychargealgorithmvalue2": {
  39341. "description": "买方手续费设置值(会员部分)",
  39342. "type": "number"
  39343. },
  39344. "buychargealgorithmvalue3": {
  39345. "description": "回购买方手续费设置值(交易所部分) --77:现货商城",
  39346. "type": "number"
  39347. },
  39348. "buychargealgorithmvalue4": {
  39349. "description": "回购买方手续费设置值(会员部分) --77:现货商城",
  39350. "type": "number"
  39351. },
  39352. "buyfirstmarginalgorithm": {
  39353. "description": "买方出价保证金方式 - 1:比率 2:固定 - [竞拍]",
  39354. "type": "integer"
  39355. },
  39356. "buyfirstmarginvalue": {
  39357. "description": "买方出价保证金设置值 - [竞拍]",
  39358. "type": "number"
  39359. },
  39360. "buymarginalgorithm": {
  39361. "description": "买方保证金方式 - 1:比率 2:固定",
  39362. "type": "integer"
  39363. },
  39364. "buymarginvalue": {
  39365. "description": "买方保证金设置值",
  39366. "type": "number"
  39367. },
  39368. "buyreleaseratio": {
  39369. "description": "买方释放比率[2:分步履约]",
  39370. "type": "number"
  39371. },
  39372. "executemode": {
  39373. "description": "执行方式[2:分步履约] - 1:顺序执行 2:交叉执行",
  39374. "type": "integer"
  39375. },
  39376. "executeside": {
  39377. "description": "执行方[2:分步履约] - 1:买方 2:卖方",
  39378. "type": "integer"
  39379. },
  39380. "failedchargealgorithm": {
  39381. "description": "流拍手续费收取方式 1:比率 2:固定",
  39382. "type": "integer"
  39383. },
  39384. "failedchargevalue": {
  39385. "description": "流拍手续费设置值",
  39386. "type": "number"
  39387. },
  39388. "failedchargevalue2": {
  39389. "description": "流拍卖方手续费设置值",
  39390. "type": "number"
  39391. },
  39392. "holddays": {
  39393. "description": "合同期限[2:分步履约]",
  39394. "type": "integer"
  39395. },
  39396. "listingmode": {
  39397. "description": "挂牌方式 - 1:一口价 2:浮动价 3:贸易圈 4:协议指定",
  39398. "type": "integer"
  39399. },
  39400. "marketid": {
  39401. "description": "市场ID-仓单贸易、竞拍、预售",
  39402. "type": "integer"
  39403. },
  39404. "minqty": {
  39405. "description": "最小执行量[2:分步履约]",
  39406. "type": "number"
  39407. },
  39408. "modifierid": {
  39409. "description": "修改人",
  39410. "type": "integer"
  39411. },
  39412. "nowrquotaflag": {
  39413. "description": "是否校验无仓单额度(仓单贸易) - 0:否 1:是",
  39414. "type": "integer"
  39415. },
  39416. "performancetempid": {
  39417. "description": "履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)",
  39418. "type": "integer"
  39419. },
  39420. "performancetempid2": {
  39421. "description": "履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行",
  39422. "type": "integer"
  39423. },
  39424. "performancetempid2s": {
  39425. "description": "履约计划模板IDs(无仓单) - 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行",
  39426. "type": "string"
  39427. },
  39428. "performancetempids": {
  39429. "description": "履约计划模板IDs(有仓单)- 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)",
  39430. "type": "string"
  39431. },
  39432. "performanceway": {
  39433. "description": "交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]",
  39434. "type": "integer"
  39435. },
  39436. "sellchargealgorithm": {
  39437. "description": "卖方手续费收取方式 1:比率 2:固定",
  39438. "type": "integer"
  39439. },
  39440. "sellchargealgorithm2": {
  39441. "description": "回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城",
  39442. "type": "integer"
  39443. },
  39444. "sellchargealgorithmvalue": {
  39445. "description": "卖方手续费设置值(交易所部分)",
  39446. "type": "number"
  39447. },
  39448. "sellchargealgorithmvalue2": {
  39449. "description": "卖方手续费设置值(会员部分)",
  39450. "type": "number"
  39451. },
  39452. "sellchargealgorithmvalue3": {
  39453. "description": "回购卖方手续费设置值(交易所部分) --77:现货商城",
  39454. "type": "number"
  39455. },
  39456. "sellchargealgorithmvalue4": {
  39457. "description": "回购卖方手续费设置值(会员部分) --77:现货商城",
  39458. "type": "number"
  39459. },
  39460. "sellmarginalgorithm": {
  39461. "description": "卖方保证金方式 - 1:比率 2:固定",
  39462. "type": "integer"
  39463. },
  39464. "sellmarginvalue": {
  39465. "description": "卖方保证金设置值",
  39466. "type": "number"
  39467. },
  39468. "sellmarginvalue2": {
  39469. "description": "卖方保证金设置值(无仓单)",
  39470. "type": "number"
  39471. },
  39472. "sellreleaseratio": {
  39473. "description": "卖方释放比率[2:分步履约]",
  39474. "type": "number"
  39475. },
  39476. "updatetime": {
  39477. "description": "更新时间",
  39478. "type": "string"
  39479. }
  39480. }
  39481. },
  39482. "models.WrOrderDetail": {
  39483. "type": "object",
  39484. "properties": {
  39485. "accountid": {
  39486. "description": "交易账号(资金账号)",
  39487. "type": "integer"
  39488. },
  39489. "allfriendsflag": {
  39490. "description": "是否全好友可见 - 0:否 1:是",
  39491. "type": "integer"
  39492. },
  39493. "amount": {
  39494. "description": "挂牌金额 = 委托数量 * 固定价或升贴水",
  39495. "type": "number"
  39496. },
  39497. "bannerpicurl": {
  39498. "description": "Banner图",
  39499. "type": "string"
  39500. },
  39501. "begindate": {
  39502. "description": "开始交易日(yyyymmdd)",
  39503. "type": "string"
  39504. },
  39505. "buyorsell": {
  39506. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  39507. "type": "integer"
  39508. },
  39509. "canbargain": {
  39510. "description": "是否可议价 - 0:不可 1:可",
  39511. "type": "integer"
  39512. },
  39513. "cancelqty": {
  39514. "description": "撤销数量",
  39515. "type": "number"
  39516. },
  39517. "canpart": {
  39518. "description": "是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)",
  39519. "type": "integer"
  39520. },
  39521. "delistminqty": {
  39522. "description": "起摘数量",
  39523. "type": "integer"
  39524. },
  39525. "deliverygoodscode": {
  39526. "description": "品种代码",
  39527. "type": "string"
  39528. },
  39529. "deliverygoodsid": {
  39530. "description": "品种ID",
  39531. "type": "integer"
  39532. },
  39533. "deliverygoodsname": {
  39534. "description": "品种名称",
  39535. "type": "string"
  39536. },
  39537. "deliverymonth": {
  39538. "description": "交收月",
  39539. "type": "string"
  39540. },
  39541. "enddate": {
  39542. "description": "结束交易日(yyyymmdd)",
  39543. "type": "string"
  39544. },
  39545. "enumdicname": {
  39546. "description": "单位名称",
  39547. "type": "string"
  39548. },
  39549. "fixedprice": {
  39550. "description": "固定价格 - [挂牌]",
  39551. "type": "number"
  39552. },
  39553. "freezecharge": {
  39554. "description": "冻结手续费",
  39555. "type": "number"
  39556. },
  39557. "freezemargin": {
  39558. "description": "冻结保证金(保证金)",
  39559. "type": "number"
  39560. },
  39561. "futupricemove": {
  39562. "description": "期货升贴水",
  39563. "type": "number"
  39564. },
  39565. "futushow": {
  39566. "description": "期货合约/升贴水",
  39567. "type": "string"
  39568. },
  39569. "goodscode": {
  39570. "description": "期货合约",
  39571. "type": "string"
  39572. },
  39573. "goodsid": {
  39574. "description": "期货商品id",
  39575. "type": "integer"
  39576. },
  39577. "goodsname": {
  39578. "description": "商品名称",
  39579. "type": "string"
  39580. },
  39581. "haswr": {
  39582. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  39583. "type": "integer"
  39584. },
  39585. "isspecified": {
  39586. "description": "是否指定对手 - 0:不指定 1:指定 - [挂牌]",
  39587. "type": "integer"
  39588. },
  39589. "ladingbillid": {
  39590. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  39591. "type": "string"
  39592. },
  39593. "marginvalue": {
  39594. "description": "保证金设置值(履约保证金)",
  39595. "type": "number"
  39596. },
  39597. "marketid": {
  39598. "description": "市场ID",
  39599. "type": "integer"
  39600. },
  39601. "matchusername": {
  39602. "description": "对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)",
  39603. "type": "string"
  39604. },
  39605. "minivalue": {
  39606. "description": "现货商品最小变动值",
  39607. "type": "integer"
  39608. },
  39609. "optioncompare": {
  39610. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  39611. "type": "string"
  39612. },
  39613. "orderqty": {
  39614. "description": "委托数量",
  39615. "type": "number"
  39616. },
  39617. "ordertime": {
  39618. "description": "委托时间(挂牌时间)",
  39619. "type": "string"
  39620. },
  39621. "performancetemplateid": {
  39622. "description": "履约模板id",
  39623. "type": "integer"
  39624. },
  39625. "pricemove": {
  39626. "description": "升贴水(浮动价时填写) - [挂牌]",
  39627. "type": "number"
  39628. },
  39629. "taname": {
  39630. "description": "交易用户名称(资金账号名称)",
  39631. "type": "string"
  39632. },
  39633. "thumurls": {
  39634. "description": "缩略图",
  39635. "type": "string"
  39636. },
  39637. "tradedate": {
  39638. "description": "交易日(yyyyMMdd)",
  39639. "type": "string"
  39640. },
  39641. "tradeprice": {
  39642. "description": "成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)* 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)",
  39643. "type": "number"
  39644. },
  39645. "tradeqty": {
  39646. "description": "成交数量",
  39647. "type": "number"
  39648. },
  39649. "userid": {
  39650. "description": "用户ID",
  39651. "type": "integer"
  39652. },
  39653. "validtime": {
  39654. "description": "挂牌有效期",
  39655. "type": "string"
  39656. },
  39657. "validtype": {
  39658. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  39659. "type": "integer"
  39660. },
  39661. "warehouseid": {
  39662. "description": "仓库ID",
  39663. "type": "integer"
  39664. },
  39665. "warehousename": {
  39666. "description": "仓库名称",
  39667. "type": "string"
  39668. },
  39669. "wrfactortypeid": {
  39670. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  39671. "type": "string"
  39672. },
  39673. "wrfactortypename": {
  39674. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  39675. "type": "string"
  39676. },
  39677. "wrpricetype": {
  39678. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  39679. "type": "integer"
  39680. },
  39681. "wrstandardcode": {
  39682. "description": "现货商品代码",
  39683. "type": "string"
  39684. },
  39685. "wrstandardid": {
  39686. "description": "现货商品ID",
  39687. "type": "integer"
  39688. },
  39689. "wrstandardname": {
  39690. "description": "商品名称",
  39691. "type": "string"
  39692. },
  39693. "wrtradeorderid": {
  39694. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  39695. "type": "string"
  39696. },
  39697. "wrtradeorderstatus": {
  39698. "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:撤单解冻贷款失败",
  39699. "type": "integer"
  39700. },
  39701. "wrtradetype": {
  39702. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  39703. "type": "integer"
  39704. },
  39705. "wrtypename": {
  39706. "description": "商品",
  39707. "type": "string"
  39708. }
  39709. }
  39710. },
  39711. "models.WrOrderQuote": {
  39712. "type": "object",
  39713. "properties": {
  39714. "bannerpicurl": {
  39715. "description": "Banner图",
  39716. "type": "string"
  39717. },
  39718. "buyprice": {
  39719. "description": "买价",
  39720. "type": "number"
  39721. },
  39722. "buypricemove": {
  39723. "description": "买升贴水(基差)",
  39724. "type": "number"
  39725. },
  39726. "buyqty": {
  39727. "description": "买量",
  39728. "type": "number"
  39729. },
  39730. "deliverygoodscode": {
  39731. "description": "品种代码",
  39732. "type": "string"
  39733. },
  39734. "deliverygoodsid": {
  39735. "description": "品种id",
  39736. "type": "integer"
  39737. },
  39738. "deliverygoodsname": {
  39739. "description": "品种名称",
  39740. "type": "string"
  39741. },
  39742. "deliverymonth": {
  39743. "description": "交收月",
  39744. "type": "string"
  39745. },
  39746. "enumdicname": {
  39747. "description": "单位名称",
  39748. "type": "string"
  39749. },
  39750. "goodscode": {
  39751. "description": "商品合约(浮动价列表才有)",
  39752. "type": "string"
  39753. },
  39754. "goodsid": {
  39755. "description": "商品id(浮动价列表才有)",
  39756. "type": "integer"
  39757. },
  39758. "minivalue": {
  39759. "description": "现货商品最小变动值",
  39760. "type": "integer"
  39761. },
  39762. "pictureurls": {
  39763. "description": "详情图片(逗号分隔)",
  39764. "type": "string"
  39765. },
  39766. "sellprice": {
  39767. "description": "卖价",
  39768. "type": "number"
  39769. },
  39770. "sellpricemove": {
  39771. "description": "卖升贴水(基差)",
  39772. "type": "number"
  39773. },
  39774. "sellqty": {
  39775. "description": "卖量",
  39776. "type": "number"
  39777. },
  39778. "thumurls": {
  39779. "description": "缩略图片(1:1)(逗号分隔)",
  39780. "type": "string"
  39781. },
  39782. "warehousecode": {
  39783. "description": "仓库代码",
  39784. "type": "string"
  39785. },
  39786. "warehouseid": {
  39787. "description": "仓库id",
  39788. "type": "integer"
  39789. },
  39790. "warehousename": {
  39791. "description": "仓库名称",
  39792. "type": "string"
  39793. },
  39794. "wrfactortypeid": {
  39795. "description": "仓单要素id",
  39796. "type": "string"
  39797. },
  39798. "wrfactortypename": {
  39799. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  39800. "type": "string"
  39801. },
  39802. "wrgoodsname": {
  39803. "description": "商品(商品名称+仓库要素名称 拼接)",
  39804. "type": "string"
  39805. },
  39806. "wrstandardcode": {
  39807. "description": "商品代码",
  39808. "type": "string"
  39809. },
  39810. "wrstandardid": {
  39811. "description": "商品id",
  39812. "type": "integer"
  39813. },
  39814. "wrstandardname": {
  39815. "description": "商品名称",
  39816. "type": "string"
  39817. }
  39818. }
  39819. },
  39820. "models.WrOrderQuoteDetail": {
  39821. "type": "object",
  39822. "properties": {
  39823. "buyorsell": {
  39824. "description": "买卖 - 0:买 1:卖",
  39825. "type": "integer"
  39826. },
  39827. "delistminqty": {
  39828. "description": "起摘数量",
  39829. "type": "number"
  39830. },
  39831. "deliverymonth": {
  39832. "description": "交收月",
  39833. "type": "string"
  39834. },
  39835. "enumdicname": {
  39836. "description": "单位名称",
  39837. "type": "string"
  39838. },
  39839. "fixedprice": {
  39840. "description": "买(卖)价",
  39841. "type": "number"
  39842. },
  39843. "marketid": {
  39844. "description": "市场id",
  39845. "type": "integer"
  39846. },
  39847. "minivalue": {
  39848. "description": "现货商品最小变动值",
  39849. "type": "integer"
  39850. },
  39851. "orderqty": {
  39852. "description": "买(卖)量(=委托量-成交量)",
  39853. "type": "number"
  39854. },
  39855. "ordertime": {
  39856. "description": "委托时间",
  39857. "type": "string"
  39858. },
  39859. "pricemove": {
  39860. "description": "买(卖)升贴水- 基差",
  39861. "type": "number"
  39862. },
  39863. "userid": {
  39864. "description": "购买方(销售方)用户ID",
  39865. "type": "integer"
  39866. },
  39867. "username": {
  39868. "description": "购买方(销售方)",
  39869. "type": "string"
  39870. },
  39871. "wrtradeorderid": {
  39872. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  39873. "type": "string"
  39874. }
  39875. }
  39876. },
  39877. "models.WrOutInApply": {
  39878. "type": "object",
  39879. "properties": {
  39880. "applyid": {
  39881. "description": "申请单id",
  39882. "type": "string"
  39883. },
  39884. "applystatus": {
  39885. "description": "申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  39886. "type": "integer"
  39887. },
  39888. "applytime": {
  39889. "description": "申请时间",
  39890. "type": "string"
  39891. },
  39892. "applytype": {
  39893. "description": "申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销",
  39894. "type": "integer"
  39895. },
  39896. "bannerpicurl": {
  39897. "description": "Banner图",
  39898. "type": "string"
  39899. },
  39900. "begindate": {
  39901. "description": "开始交易日(yyyymmdd)",
  39902. "type": "string"
  39903. },
  39904. "deliverygoodscode": {
  39905. "description": "品种代码",
  39906. "type": "string"
  39907. },
  39908. "deliverygoodsid": {
  39909. "description": "品种ID",
  39910. "type": "integer"
  39911. },
  39912. "deliverygoodsname": {
  39913. "description": "品种名称",
  39914. "type": "string"
  39915. },
  39916. "enddate": {
  39917. "description": "结束交易日(yyyymmdd)",
  39918. "type": "string"
  39919. },
  39920. "enumdicname": {
  39921. "description": "单位名称",
  39922. "type": "string"
  39923. },
  39924. "expresscompany": {
  39925. "description": "物流公司",
  39926. "type": "string"
  39927. },
  39928. "expressnum": {
  39929. "description": "物流单号",
  39930. "type": "string"
  39931. },
  39932. "minivalue": {
  39933. "description": "现货商品最小变动值",
  39934. "type": "integer"
  39935. },
  39936. "optioncompare": {
  39937. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  39938. "type": "string"
  39939. },
  39940. "qty": {
  39941. "description": "数量",
  39942. "type": "integer"
  39943. },
  39944. "userid": {
  39945. "description": "用户id",
  39946. "type": "integer"
  39947. },
  39948. "warehouseid": {
  39949. "description": "仓库ID",
  39950. "type": "integer"
  39951. },
  39952. "warehousename": {
  39953. "description": "仓库名称",
  39954. "type": "string"
  39955. },
  39956. "wrfactortypeid": {
  39957. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  39958. "type": "string"
  39959. },
  39960. "wrfactortypename": {
  39961. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  39962. "type": "string"
  39963. },
  39964. "wrstandardcode": {
  39965. "description": "现货商品代码",
  39966. "type": "string"
  39967. },
  39968. "wrstandardid": {
  39969. "description": "现货商品ID",
  39970. "type": "integer"
  39971. },
  39972. "wrstandardname": {
  39973. "description": "商品名称",
  39974. "type": "string"
  39975. },
  39976. "wrtypename": {
  39977. "description": "商品",
  39978. "type": "string"
  39979. }
  39980. }
  39981. },
  39982. "models.WrPerformancePlan": {
  39983. "type": "object",
  39984. "required": [
  39985. "userid"
  39986. ],
  39987. "properties": {
  39988. "activatemonth": {
  39989. "description": "履约激活月 [无仓单的交易收月](yyyy-MM)",
  39990. "type": "string"
  39991. },
  39992. "amount": {
  39993. "description": "履约金额(总金额)",
  39994. "type": "number"
  39995. },
  39996. "begindate": {
  39997. "description": "开始交易日(yyyymmdd)",
  39998. "type": "string"
  39999. },
  40000. "buyaccountid": {
  40001. "description": "买方账号",
  40002. "type": "integer"
  40003. },
  40004. "buyerfreezeamount": {
  40005. "description": "履约冻结(买履约)",
  40006. "type": "number"
  40007. },
  40008. "buyerfreezeamountremain": {
  40009. "description": "履约冻结剩余(买履约)",
  40010. "type": "number"
  40011. },
  40012. "buyorsell": {
  40013. "description": "买卖方向 0-买 1-卖",
  40014. "type": "integer"
  40015. },
  40016. "buypaidamount": {
  40017. "description": "买方已冻/已扣金额 (已付金额)",
  40018. "type": "number"
  40019. },
  40020. "buyusername": {
  40021. "description": "买方名字",
  40022. "type": "string"
  40023. },
  40024. "contractid": {
  40025. "description": "合同ID",
  40026. "type": "integer"
  40027. },
  40028. "createtime": {
  40029. "description": "创建时间",
  40030. "type": "string"
  40031. },
  40032. "creatorid": {
  40033. "description": "创建人",
  40034. "type": "integer"
  40035. },
  40036. "curstepdeadline": {
  40037. "description": "当前步骤到期时间",
  40038. "type": "string"
  40039. },
  40040. "curstepid": {
  40041. "description": "当前步骤ID",
  40042. "type": "string"
  40043. },
  40044. "curstepname": {
  40045. "description": "当前步骤名称",
  40046. "type": "string"
  40047. },
  40048. "deliverygoodscode": {
  40049. "description": "品种代码",
  40050. "type": "string"
  40051. },
  40052. "deliverygoodsid": {
  40053. "description": "品种ID",
  40054. "type": "integer"
  40055. },
  40056. "deliverygoodsname": {
  40057. "description": "品种名称",
  40058. "type": "string"
  40059. },
  40060. "enddate": {
  40061. "description": "结束交易日(yyyymmdd)",
  40062. "type": "string"
  40063. },
  40064. "enumdicname": {
  40065. "description": "单位名称",
  40066. "type": "string"
  40067. },
  40068. "expressfee": {
  40069. "description": "运费",
  40070. "type": "number"
  40071. },
  40072. "expressfeeconfirmed": {
  40073. "description": "是否确认运费 - 0:无 1:买方确认 2:卖方确认",
  40074. "type": "integer"
  40075. },
  40076. "hasovershort": {
  40077. "description": "是否确认溢短 - 0:没有 1:买方确认 2:卖方确认",
  40078. "type": "integer"
  40079. },
  40080. "haswr": {
  40081. "description": "类型 0-仓单预售 1-仓单贸易",
  40082. "type": "integer"
  40083. },
  40084. "marketid": {
  40085. "description": "市场ID",
  40086. "type": "integer"
  40087. },
  40088. "middleaccountid": {
  40089. "description": "中间商资金账号ID",
  40090. "type": "integer"
  40091. },
  40092. "middleuserid": {
  40093. "description": "中间商用户ID",
  40094. "type": "integer"
  40095. },
  40096. "minivalue": {
  40097. "description": "现货商品最小变动值",
  40098. "type": "integer"
  40099. },
  40100. "optioncompare": {
  40101. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  40102. "type": "string"
  40103. },
  40104. "overshortamount": {
  40105. "description": "溢短金额",
  40106. "type": "number"
  40107. },
  40108. "overshortqty": {
  40109. "description": "溢短数量",
  40110. "type": "number"
  40111. },
  40112. "paymenttype": {
  40113. "description": "付款方式 - 1:冻结 2:扣款",
  40114. "type": "integer"
  40115. },
  40116. "performanceplanid": {
  40117. "description": "履约计划ID(130+yyMMddHHmmss+xxxx)",
  40118. "type": "string"
  40119. },
  40120. "performancestatus": {
  40121. "description": "履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭",
  40122. "type": "integer"
  40123. },
  40124. "performancetype": {
  40125. "description": "履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统",
  40126. "type": "integer"
  40127. },
  40128. "qty": {
  40129. "description": "履约数量",
  40130. "type": "number"
  40131. },
  40132. "relatedorderid": {
  40133. "description": "关联单号(履约类型的关联单号)",
  40134. "type": "string"
  40135. },
  40136. "remark": {
  40137. "description": "备注",
  40138. "type": "string"
  40139. },
  40140. "sellaccountid": {
  40141. "description": "卖方账号",
  40142. "type": "integer"
  40143. },
  40144. "sellerfreezeamount": {
  40145. "description": "履约冻结(卖履约)",
  40146. "type": "number"
  40147. },
  40148. "sellerfreezeamountremain": {
  40149. "description": "履约冻结剩余(卖履约)",
  40150. "type": "number"
  40151. },
  40152. "sellreceivedamount": {
  40153. "description": "卖方已收金额",
  40154. "type": "number"
  40155. },
  40156. "sellusername": {
  40157. "description": "卖方名字",
  40158. "type": "string"
  40159. },
  40160. "shipremark": {
  40161. "description": "发货备注[物流单号]",
  40162. "type": "string"
  40163. },
  40164. "starttime": {
  40165. "description": "开始时间",
  40166. "type": "string"
  40167. },
  40168. "steptypeid": {
  40169. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  40170. "type": "integer"
  40171. },
  40172. "typename": {
  40173. "description": "履约类型 名称",
  40174. "type": "string"
  40175. },
  40176. "unpaidamount": {
  40177. "description": "剩余款(待支付金额)",
  40178. "type": "number"
  40179. },
  40180. "userid": {
  40181. "description": "用户id",
  40182. "type": "integer"
  40183. },
  40184. "warehouseid": {
  40185. "description": "仓库ID",
  40186. "type": "integer"
  40187. },
  40188. "warehousename": {
  40189. "description": "仓库名称",
  40190. "type": "string"
  40191. },
  40192. "wrfactortypeid": {
  40193. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  40194. "type": "string"
  40195. },
  40196. "wrfactortypename": {
  40197. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  40198. "type": "string"
  40199. },
  40200. "wrstandardcode": {
  40201. "description": "现货商品代码",
  40202. "type": "string"
  40203. },
  40204. "wrstandardid": {
  40205. "description": "现货商品ID",
  40206. "type": "integer"
  40207. },
  40208. "wrstandardname": {
  40209. "description": "商品名称",
  40210. "type": "string"
  40211. },
  40212. "wrtransferuserid": {
  40213. "description": "仓单受让用户",
  40214. "type": "integer"
  40215. },
  40216. "wrtypename": {
  40217. "description": "商品",
  40218. "type": "string"
  40219. }
  40220. }
  40221. },
  40222. "models.WrPerformancePlanStep": {
  40223. "type": "object",
  40224. "properties": {
  40225. "delaydays": {
  40226. "description": "延期申请天数",
  40227. "type": "integer"
  40228. },
  40229. "deliverygoodscode": {
  40230. "description": "品种代码",
  40231. "type": "string"
  40232. },
  40233. "deliverygoodsid": {
  40234. "description": "品种ID",
  40235. "type": "integer"
  40236. },
  40237. "deliverygoodsname": {
  40238. "description": "品种名称",
  40239. "type": "string"
  40240. },
  40241. "endtime": {
  40242. "description": "结束日期",
  40243. "type": "string"
  40244. },
  40245. "enumdicname": {
  40246. "description": "单位名称",
  40247. "type": "string"
  40248. },
  40249. "executeside": {
  40250. "description": "步骤执行方 - 1:买方 2:卖方",
  40251. "type": "integer"
  40252. },
  40253. "handlestatus": {
  40254. "description": "处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败",
  40255. "type": "integer"
  40256. },
  40257. "isauto": {
  40258. "description": "是否自动 - 0:不自动 1:自动",
  40259. "type": "integer"
  40260. },
  40261. "islastreceivestep": {
  40262. "description": "是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)",
  40263. "type": "integer"
  40264. },
  40265. "minivalue": {
  40266. "description": "现货商品最小变动值",
  40267. "type": "integer"
  40268. },
  40269. "optioncompare": {
  40270. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  40271. "type": "string"
  40272. },
  40273. "overdays": {
  40274. "description": "超期天数 = 当前时间(数据库时间) - 结束日期",
  40275. "type": "integer"
  40276. },
  40277. "performancestepid": {
  40278. "description": "履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)",
  40279. "type": "string"
  40280. },
  40281. "planid": {
  40282. "description": "所属履约计划ID",
  40283. "type": "string"
  40284. },
  40285. "realamount": {
  40286. "description": "实际完成金额",
  40287. "type": "number"
  40288. },
  40289. "relatedorderid": {
  40290. "description": "关联单号",
  40291. "type": "string"
  40292. },
  40293. "remaindays": {
  40294. "description": "剩余天数",
  40295. "type": "integer"
  40296. },
  40297. "remark": {
  40298. "description": "错误备注",
  40299. "type": "string"
  40300. },
  40301. "starttime": {
  40302. "description": "开始日期",
  40303. "type": "string"
  40304. },
  40305. "stepamount": {
  40306. "description": "步骤金额",
  40307. "type": "number"
  40308. },
  40309. "stepdays": {
  40310. "description": "距离上一步天数(分钟)",
  40311. "type": "integer"
  40312. },
  40313. "stepindex": {
  40314. "description": "步骤序号",
  40315. "type": "integer"
  40316. },
  40317. "steplanchtype": {
  40318. "description": "步骤启动类型 - 1:系统自动 2:手动",
  40319. "type": "integer"
  40320. },
  40321. "stepremark": {
  40322. "description": "步骤备注",
  40323. "type": "string"
  40324. },
  40325. "stepstatus": {
  40326. "description": "步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭",
  40327. "type": "integer"
  40328. },
  40329. "steptypeid": {
  40330. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  40331. "type": "integer"
  40332. },
  40333. "steptypename": {
  40334. "description": "步骤名称",
  40335. "type": "string"
  40336. },
  40337. "stepvalue": {
  40338. "description": "步骤值",
  40339. "type": "number"
  40340. },
  40341. "warehouseid": {
  40342. "description": "仓库ID",
  40343. "type": "integer"
  40344. },
  40345. "warehousename": {
  40346. "description": "仓库名称",
  40347. "type": "string"
  40348. },
  40349. "wrfactortypeid": {
  40350. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  40351. "type": "string"
  40352. },
  40353. "wrfactortypename": {
  40354. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  40355. "type": "string"
  40356. },
  40357. "wrstandardcode": {
  40358. "description": "现货商品代码",
  40359. "type": "string"
  40360. },
  40361. "wrstandardid": {
  40362. "description": "现货商品ID",
  40363. "type": "integer"
  40364. },
  40365. "wrstandardname": {
  40366. "description": "商品名称",
  40367. "type": "string"
  40368. },
  40369. "wrtypename": {
  40370. "description": "商品",
  40371. "type": "string"
  40372. }
  40373. }
  40374. },
  40375. "models.WrPerformanceStepType": {
  40376. "type": "object",
  40377. "properties": {
  40378. "canauto": {
  40379. "description": "能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)",
  40380. "type": "integer"
  40381. },
  40382. "steptypeid": {
  40383. "description": "步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移",
  40384. "type": "integer"
  40385. },
  40386. "steptypename": {
  40387. "description": "步骤类型名称",
  40388. "type": "string"
  40389. }
  40390. }
  40391. },
  40392. "models.WrPerformanceTemplateEx": {
  40393. "type": "object",
  40394. "properties": {
  40395. "autoid": {
  40396. "description": "AutoID 模板id",
  40397. "type": "integer"
  40398. },
  40399. "createtime": {
  40400. "description": "创建时间",
  40401. "type": "string"
  40402. },
  40403. "creatorid": {
  40404. "description": "创建人",
  40405. "type": "integer"
  40406. },
  40407. "lstStep": {
  40408. "description": "步骤信息列表",
  40409. "type": "array",
  40410. "items": {
  40411. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  40412. }
  40413. },
  40414. "paymenttype": {
  40415. "description": "支付方式 - 1:冻结 2:扣款",
  40416. "type": "integer"
  40417. },
  40418. "takemode": {
  40419. "description": "提货方式 - 1:无 2:买方自提 3:卖方发货",
  40420. "type": "integer"
  40421. },
  40422. "templatename": {
  40423. "description": "模板名称",
  40424. "type": "string"
  40425. },
  40426. "templatetype": {
  40427. "description": "模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式",
  40428. "type": "integer"
  40429. },
  40430. "userid": {
  40431. "description": "所属用户",
  40432. "type": "integer"
  40433. }
  40434. }
  40435. },
  40436. "models.WrPosition": {
  40437. "type": "object",
  40438. "properties": {
  40439. "accountid": {
  40440. "description": "帐户ID",
  40441. "type": "integer"
  40442. },
  40443. "buyexcuteqty": {
  40444. "description": "采购履约中数量",
  40445. "type": "number"
  40446. },
  40447. "creditcurqty": {
  40448. "description": "授信当前数量(预售仓单:预售当前量)",
  40449. "type": "number"
  40450. },
  40451. "creditenableqty": {
  40452. "description": "授信可用数量(预售仓单: 可用数量)",
  40453. "type": "number"
  40454. },
  40455. "creditfreezeqty": {
  40456. "description": "授信冻结数量(预售仓单: 当前数量)",
  40457. "type": "number"
  40458. },
  40459. "credittotalqty": {
  40460. "description": "授信总数量(预售仓单:预售总量)",
  40461. "type": "number"
  40462. },
  40463. "credittradeqty": {
  40464. "description": "授信成交数量(预售仓单:成交总量)",
  40465. "type": "number"
  40466. },
  40467. "deliverygoodscode": {
  40468. "description": "品种代码",
  40469. "type": "string"
  40470. },
  40471. "deliverygoodsid": {
  40472. "description": "品种ID",
  40473. "type": "integer"
  40474. },
  40475. "deliverygoodsname": {
  40476. "description": "品种名称",
  40477. "type": "string"
  40478. },
  40479. "enalbeqty": {
  40480. "description": "可用数量",
  40481. "type": "number"
  40482. },
  40483. "enumdicname": {
  40484. "description": "单位名称",
  40485. "type": "string"
  40486. },
  40487. "freezeqty": {
  40488. "description": "总冻结数量",
  40489. "type": "number"
  40490. },
  40491. "haswr": {
  40492. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  40493. "type": "integer"
  40494. },
  40495. "minivalue": {
  40496. "description": "现货商品最小变动值",
  40497. "type": "integer"
  40498. },
  40499. "modifytime": {
  40500. "description": "修改时间(过户时间)",
  40501. "type": "string"
  40502. },
  40503. "optioncompare": {
  40504. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  40505. "type": "string"
  40506. },
  40507. "pledgeqty": {
  40508. "description": "质押数量",
  40509. "type": "number"
  40510. },
  40511. "querytype": {
  40512. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总)",
  40513. "type": "integer"
  40514. },
  40515. "sellexcuteqty": {
  40516. "description": "销售履约中数量",
  40517. "type": "number"
  40518. },
  40519. "totalqty": {
  40520. "description": "总数量(库存数量)",
  40521. "type": "number"
  40522. },
  40523. "warehouseid": {
  40524. "description": "仓库ID",
  40525. "type": "integer"
  40526. },
  40527. "warehousename": {
  40528. "description": "仓库名称",
  40529. "type": "string"
  40530. },
  40531. "wrfactortypeid": {
  40532. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  40533. "type": "string"
  40534. },
  40535. "wrfactortypename": {
  40536. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  40537. "type": "string"
  40538. },
  40539. "wrpositionid": {
  40540. "description": "仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)",
  40541. "type": "string"
  40542. },
  40543. "wrpositionno": {
  40544. "description": "仓单编号",
  40545. "type": "string"
  40546. },
  40547. "wrstandardcode": {
  40548. "description": "现货商品代码",
  40549. "type": "string"
  40550. },
  40551. "wrstandardid": {
  40552. "description": "现货商品ID",
  40553. "type": "integer"
  40554. },
  40555. "wrstandardname": {
  40556. "description": "商品名称",
  40557. "type": "string"
  40558. },
  40559. "wrtypename": {
  40560. "description": "商品",
  40561. "type": "string"
  40562. },
  40563. "wruserid": {
  40564. "description": "持有人ID",
  40565. "type": "integer"
  40566. }
  40567. }
  40568. },
  40569. "models.WrPreSaleInfo": {
  40570. "type": "object",
  40571. "properties": {
  40572. "bannerpicurl": {
  40573. "description": "Banner图",
  40574. "type": "string"
  40575. },
  40576. "baseqty": {
  40577. "description": "中签基数",
  40578. "type": "number"
  40579. },
  40580. "createtime": {
  40581. "description": "创建时间",
  40582. "type": "string"
  40583. },
  40584. "deliverygoodsid": {
  40585. "description": "现货品种ID",
  40586. "type": "integer"
  40587. },
  40588. "enddate": {
  40589. "description": "预售结束日期",
  40590. "type": "string"
  40591. },
  40592. "enumdicname": {
  40593. "description": "单位名称",
  40594. "type": "string"
  40595. },
  40596. "lotteryflag": {
  40597. "description": "摇号标识 - 0:未摇号 1:已摇号",
  40598. "type": "integer"
  40599. },
  40600. "lotteryqty": {
  40601. "description": "摇号总量",
  40602. "type": "number"
  40603. },
  40604. "luckyqty": {
  40605. "description": "已中签量",
  40606. "type": "number"
  40607. },
  40608. "marketid": {
  40609. "description": "市场ID",
  40610. "type": "integer"
  40611. },
  40612. "maxbuyqty": {
  40613. "description": "单人最大申购量",
  40614. "type": "number"
  40615. },
  40616. "maxluckyqty": {
  40617. "description": "单人最大中签量",
  40618. "type": "number"
  40619. },
  40620. "pictureurls": {
  40621. "description": "详情图片(逗号分隔)",
  40622. "type": "string"
  40623. },
  40624. "placeqty": {
  40625. "description": "已配售量",
  40626. "type": "number"
  40627. },
  40628. "presaleapplyid": {
  40629. "description": "预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)",
  40630. "type": "string",
  40631. "example": "0"
  40632. },
  40633. "presaleqty": {
  40634. "description": "预售总量",
  40635. "type": "number"
  40636. },
  40637. "presalestatus": {
  40638. "description": "预售状态 - 1:未开始 2:进行中 3:已结束 4:已关闭",
  40639. "type": "integer"
  40640. },
  40641. "sellaccountid": {
  40642. "description": "发行方资金账户ID",
  40643. "type": "integer"
  40644. },
  40645. "selluserid": {
  40646. "description": "发行方用户ID",
  40647. "type": "integer"
  40648. },
  40649. "sellwrtradeorderid": {
  40650. "description": "发行方卖委托单ID",
  40651. "type": "string"
  40652. },
  40653. "startdate": {
  40654. "description": "预售开始日期",
  40655. "type": "string"
  40656. },
  40657. "takestartdate": {
  40658. "description": "提货开始日期",
  40659. "type": "string"
  40660. },
  40661. "thumurls": {
  40662. "description": "缩略图片(1:1)(逗号分隔)",
  40663. "type": "string"
  40664. },
  40665. "tradedate": {
  40666. "description": "交易日",
  40667. "type": "string"
  40668. },
  40669. "unitid": {
  40670. "description": "单位ID",
  40671. "type": "integer"
  40672. },
  40673. "unitprice": {
  40674. "description": "商品单价",
  40675. "type": "number"
  40676. },
  40677. "username": {
  40678. "description": "发行方用户名称",
  40679. "type": "string"
  40680. },
  40681. "warehousecode": {
  40682. "description": "仓库代码(仓库简称)",
  40683. "type": "string"
  40684. },
  40685. "warehouseid": {
  40686. "description": "仓库ID",
  40687. "type": "integer"
  40688. },
  40689. "warehousename": {
  40690. "description": "仓库名称",
  40691. "type": "string"
  40692. },
  40693. "wrfactortypeid": {
  40694. "description": "仓单要素类型ID - 根据现货商品\\仓库生成",
  40695. "type": "string",
  40696. "example": "0"
  40697. },
  40698. "wrstandardid": {
  40699. "description": "现货商品ID",
  40700. "type": "integer"
  40701. },
  40702. "wrstandardname": {
  40703. "description": "现货商品名称",
  40704. "type": "string"
  40705. }
  40706. }
  40707. },
  40708. "models.WrQuoteOrderMyq": {
  40709. "type": "object",
  40710. "properties": {
  40711. "buyorsell": {
  40712. "description": "买卖 - 0:买 1:卖",
  40713. "type": "integer"
  40714. },
  40715. "canbargain": {
  40716. "description": "是否可议价 - 0:不可 1:可",
  40717. "type": "integer"
  40718. },
  40719. "canpart": {
  40720. "description": "是否允许部份摘牌 - 0:不允许 1:允许",
  40721. "type": "integer"
  40722. },
  40723. "delistminqty": {
  40724. "description": "起摘数量",
  40725. "type": "number"
  40726. },
  40727. "deliverygoodscode": {
  40728. "description": "品种代码",
  40729. "type": "string"
  40730. },
  40731. "deliverygoodsid": {
  40732. "description": "品种ID",
  40733. "type": "integer"
  40734. },
  40735. "deliverygoodsname": {
  40736. "description": "品种名称",
  40737. "type": "string"
  40738. },
  40739. "deliverymonth": {
  40740. "description": "交收月",
  40741. "type": "string"
  40742. },
  40743. "enumdicname": {
  40744. "description": "单位名称",
  40745. "type": "string"
  40746. },
  40747. "fixedprice": {
  40748. "description": "买(卖)价",
  40749. "type": "number"
  40750. },
  40751. "goodscode": {
  40752. "description": "商品合约代码",
  40753. "type": "string"
  40754. },
  40755. "marginflag": {
  40756. "description": "挂牌是否指定保证金 - 0:未指定 1:指定",
  40757. "type": "integer"
  40758. },
  40759. "marginvalue": {
  40760. "description": "保证金设置值",
  40761. "type": "number"
  40762. },
  40763. "minivalue": {
  40764. "description": "现货商品最小变动值",
  40765. "type": "integer"
  40766. },
  40767. "orderqty": {
  40768. "description": "买(卖)量(=委托量-成交量)",
  40769. "type": "number"
  40770. },
  40771. "ordertime": {
  40772. "description": "委托时间",
  40773. "type": "string"
  40774. },
  40775. "performancetemplateid": {
  40776. "description": "履约模板id",
  40777. "type": "integer"
  40778. },
  40779. "pricemove": {
  40780. "description": "买(卖)升贴水- 基差",
  40781. "type": "number"
  40782. },
  40783. "templatename": {
  40784. "description": "履约模板名称",
  40785. "type": "string"
  40786. },
  40787. "userid": {
  40788. "description": "购买方(销售方)用户ID",
  40789. "type": "integer"
  40790. },
  40791. "username": {
  40792. "description": "购买方(销售方)",
  40793. "type": "string"
  40794. },
  40795. "validtime": {
  40796. "description": "有效期限",
  40797. "type": "string"
  40798. },
  40799. "validtype": {
  40800. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  40801. "type": "integer"
  40802. },
  40803. "warehousename": {
  40804. "description": "仓库名称",
  40805. "type": "string"
  40806. },
  40807. "wrfactortypeid": {
  40808. "description": "仓单要素id",
  40809. "type": "string"
  40810. },
  40811. "wrstandardcode": {
  40812. "description": "现货商品代码",
  40813. "type": "string"
  40814. },
  40815. "wrstandardid": {
  40816. "description": "现货商品ID",
  40817. "type": "integer"
  40818. },
  40819. "wrstandardname": {
  40820. "description": "商品名称",
  40821. "type": "string"
  40822. },
  40823. "wrtradeorderid": {
  40824. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  40825. "type": "string"
  40826. },
  40827. "wrtypename": {
  40828. "description": "商品",
  40829. "type": "string"
  40830. }
  40831. }
  40832. },
  40833. "models.WrReckonSpotGoodsTradeSum": {
  40834. "type": "object",
  40835. "properties": {
  40836. "begindate": {
  40837. "description": "开始日期(结果含开始日期) yyyymmdd",
  40838. "type": "string"
  40839. },
  40840. "enddate": {
  40841. "description": "结束日期(结果含结束日期) yyyymmdd",
  40842. "type": "string"
  40843. },
  40844. "istoday": {
  40845. "description": "是否当日",
  40846. "type": "boolean"
  40847. },
  40848. "marketid": {
  40849. "description": "市场ID",
  40850. "type": "integer"
  40851. },
  40852. "price": {
  40853. "description": "价格 = 日成交金额 / 日成交数量",
  40854. "type": "string"
  40855. },
  40856. "reckondate": {
  40857. "description": "日期 格式 yyyymmdd",
  40858. "type": "string"
  40859. },
  40860. "tradeamount": {
  40861. "description": "日成交金额(当日单方向成交金额)",
  40862. "type": "number"
  40863. },
  40864. "tradeqty": {
  40865. "description": "日成交数量(当日单方向成交数量)",
  40866. "type": "number"
  40867. },
  40868. "wrstandardid": {
  40869. "description": "现货商品ID",
  40870. "type": "integer"
  40871. }
  40872. }
  40873. },
  40874. "models.WrScfContract": {
  40875. "type": "object",
  40876. "properties": {
  40877. "borroweruserid": {
  40878. "description": "借款用户ID",
  40879. "type": "integer"
  40880. },
  40881. "buybackwrpositionqty": {
  40882. "description": "已回购仓单头寸数量 - [仓单回购\\仓单质押] -\u003e 已回购数量",
  40883. "type": "number"
  40884. },
  40885. "closeinterest": {
  40886. "description": "已结利息 -\u003e 已结费用",
  40887. "type": "number"
  40888. },
  40889. "currisklevel": {
  40890. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  40891. "type": "integer"
  40892. },
  40893. "deadline": {
  40894. "description": "截止日期(yyyyMMdd) -\u003e 借款到期时间",
  40895. "type": "string"
  40896. },
  40897. "deliverygoodscode": {
  40898. "description": "品种代码",
  40899. "type": "string"
  40900. },
  40901. "deliverygoodsid": {
  40902. "description": "品种ID",
  40903. "type": "integer"
  40904. },
  40905. "deliverygoodsname": {
  40906. "description": "品种名称",
  40907. "type": "string"
  40908. },
  40909. "enumdicname": {
  40910. "description": "单位名称",
  40911. "type": "string"
  40912. },
  40913. "financingdays": {
  40914. "description": "天数(天)",
  40915. "type": "integer"
  40916. },
  40917. "initmargin": {
  40918. "description": "保证金 - [仓单回购]",
  40919. "type": "number"
  40920. },
  40921. "interestamount": {
  40922. "description": "计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \\ 合同剩余金额",
  40923. "type": "number"
  40924. },
  40925. "interestdebt": {
  40926. "description": "利息欠款(记录负数) -\u003e 费用欠款",
  40927. "type": "number"
  40928. },
  40929. "interestminlen": {
  40930. "description": "最小起息天数",
  40931. "type": "integer"
  40932. },
  40933. "interestrate": {
  40934. "description": "利率",
  40935. "type": "number"
  40936. },
  40937. "interestratemode": {
  40938. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  40939. "type": "integer"
  40940. },
  40941. "interestsettlemode": {
  40942. "description": "结息方式 - 1:按日结息 3:按月结息",
  40943. "type": "integer"
  40944. },
  40945. "interestsettlevalue": {
  40946. "description": "结息方式值",
  40947. "type": "integer"
  40948. },
  40949. "isautoloan": {
  40950. "description": "是否自动放款 - 0:手动 1:自动 - [仓单质押]",
  40951. "type": "integer"
  40952. },
  40953. "lastcloseinterestday": {
  40954. "description": "最近结息日(yyyyMMdd)",
  40955. "type": "string"
  40956. },
  40957. "lenderamount": {
  40958. "description": "贷款金额 -\u003e 借款金额",
  40959. "type": "number"
  40960. },
  40961. "lenderuserid": {
  40962. "description": "贷款方用户ID -\u003e 融出方用户ID",
  40963. "type": "integer"
  40964. },
  40965. "lenderusername": {
  40966. "description": "融出方",
  40967. "type": "string"
  40968. },
  40969. "marginratio": {
  40970. "description": "保证金比率质押率 - [仓单质押]",
  40971. "type": "number"
  40972. },
  40973. "marketid": {
  40974. "description": "市场ID - 拆成三个独立模式后,根据市场ID处理",
  40975. "type": "integer"
  40976. },
  40977. "minivalue": {
  40978. "description": "现货商品最小变动值",
  40979. "type": "integer"
  40980. },
  40981. "optioncompare": {
  40982. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  40983. "type": "string"
  40984. },
  40985. "pricemove": {
  40986. "description": "估值升贴水值",
  40987. "type": "number"
  40988. },
  40989. "productdetailid": {
  40990. "description": "产品组合ID",
  40991. "type": "integer"
  40992. },
  40993. "productid": {
  40994. "description": "金融产品ID",
  40995. "type": "integer"
  40996. },
  40997. "productname": {
  40998. "description": "产品名称",
  40999. "type": "string"
  41000. },
  41001. "remainamount": {
  41002. "description": "合同剩余金额 -\u003e 剩余金额",
  41003. "type": "number"
  41004. },
  41005. "remainwrpositionqty": {
  41006. "description": "剩余仓单头寸数量 - [仓单回购\\仓单质押] -\u003e 剩余数量(待回购数量)",
  41007. "type": "number"
  41008. },
  41009. "remark": {
  41010. "description": "备注",
  41011. "type": "string"
  41012. },
  41013. "scfcontractid": {
  41014. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  41015. "type": "string"
  41016. },
  41017. "scfcontractstatus": {
  41018. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  41019. "type": "integer"
  41020. },
  41021. "scfcontracttype": {
  41022. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购",
  41023. "type": "integer"
  41024. },
  41025. "startinterestday": {
  41026. "description": "计息开始日(yyyyMMdd) -\u003e 开始计费日期",
  41027. "type": "string"
  41028. },
  41029. "totalinterest": {
  41030. "description": "已计利息 -\u003e 已计费用",
  41031. "type": "number"
  41032. },
  41033. "unpaidinterest": {
  41034. "description": "未结费用",
  41035. "type": "number"
  41036. },
  41037. "updatetime": {
  41038. "description": "更新时间",
  41039. "type": "string"
  41040. },
  41041. "warehouseid": {
  41042. "description": "仓库ID",
  41043. "type": "integer"
  41044. },
  41045. "warehousename": {
  41046. "description": "仓库名称",
  41047. "type": "string"
  41048. },
  41049. "wrfactortypeid": {
  41050. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  41051. "type": "string"
  41052. },
  41053. "wrfactortypename": {
  41054. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  41055. "type": "string"
  41056. },
  41057. "wrqty": {
  41058. "description": "仓单数量 - [仓单回购\\仓单质押] -\u003e 数量",
  41059. "type": "number"
  41060. },
  41061. "wrstandardcode": {
  41062. "description": "现货商品代码",
  41063. "type": "string"
  41064. },
  41065. "wrstandardid": {
  41066. "description": "现货商品ID",
  41067. "type": "integer"
  41068. },
  41069. "wrstandardname": {
  41070. "description": "商品名称",
  41071. "type": "string"
  41072. },
  41073. "wrtypename": {
  41074. "description": "商品",
  41075. "type": "string"
  41076. }
  41077. }
  41078. },
  41079. "models.WrScfContractInterest": {
  41080. "type": "object",
  41081. "properties": {
  41082. "closeinterest": {
  41083. "description": "已结利息",
  41084. "type": "number"
  41085. },
  41086. "closeintereststatus": {
  41087. "description": "结息状态 - 1:未结 2:已结",
  41088. "type": "integer"
  41089. },
  41090. "closetime": {
  41091. "description": "结息时间",
  41092. "type": "string"
  41093. },
  41094. "closetradedate": {
  41095. "description": "结息交易日",
  41096. "type": "string"
  41097. },
  41098. "creatorid": {
  41099. "description": "操作人ID",
  41100. "type": "integer"
  41101. },
  41102. "dayrate": {
  41103. "description": "日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)",
  41104. "type": "number"
  41105. },
  41106. "interest": {
  41107. "description": "利息",
  41108. "type": "number"
  41109. },
  41110. "interestamount": {
  41111. "description": "计息金额",
  41112. "type": "number"
  41113. },
  41114. "interestday": {
  41115. "description": "计息日(yyyyMMdd)",
  41116. "type": "string"
  41117. },
  41118. "scfcontractid": {
  41119. "description": "SCF合同ID",
  41120. "type": "string"
  41121. },
  41122. "scfcontractinterestid": {
  41123. "description": "SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)",
  41124. "type": "integer"
  41125. },
  41126. "updatetime": {
  41127. "description": "更新时间",
  41128. "type": "string"
  41129. }
  41130. }
  41131. },
  41132. "models.WrSearchUser": {
  41133. "type": "object",
  41134. "required": [
  41135. "username"
  41136. ],
  41137. "properties": {
  41138. "userid": {
  41139. "description": "用户ID",
  41140. "type": "integer"
  41141. },
  41142. "username": {
  41143. "description": "用户名称(已脱敏)",
  41144. "type": "string"
  41145. },
  41146. "username2": {
  41147. "description": "用户名称(未脱敏)",
  41148. "type": "string"
  41149. },
  41150. "usertype": {
  41151. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  41152. "type": "integer"
  41153. }
  41154. }
  41155. },
  41156. "models.WrSiteColumnDetail": {
  41157. "type": "object",
  41158. "properties": {
  41159. "brief": {
  41160. "description": "简介",
  41161. "type": "string"
  41162. },
  41163. "context": {
  41164. "description": "内容",
  41165. "type": "string"
  41166. },
  41167. "coverimage": {
  41168. "description": "封面图片",
  41169. "type": "string"
  41170. },
  41171. "creaedate": {
  41172. "description": "创建时间",
  41173. "type": "string"
  41174. },
  41175. "id": {
  41176. "description": "ID(SEQ_SITE_COLUMNDETAIL)",
  41177. "type": "integer"
  41178. },
  41179. "istop": {
  41180. "description": "是否置顶 - 0:不置 1:置顶",
  41181. "type": "integer"
  41182. },
  41183. "publishdate": {
  41184. "description": "发布日期",
  41185. "type": "string"
  41186. },
  41187. "title": {
  41188. "description": "标题",
  41189. "type": "string"
  41190. },
  41191. "updatedate": {
  41192. "description": "修改时间",
  41193. "type": "string"
  41194. }
  41195. }
  41196. },
  41197. "models.WrSpecialMatchOrder": {
  41198. "type": "object",
  41199. "properties": {
  41200. "amount": {
  41201. "description": "金额 = 数量 * 价格",
  41202. "type": "number"
  41203. },
  41204. "buyorsell": {
  41205. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  41206. "type": "integer"
  41207. },
  41208. "cancelqty": {
  41209. "description": "撤销数量",
  41210. "type": "number"
  41211. },
  41212. "deliverygoodscode": {
  41213. "description": "品种代码",
  41214. "type": "string"
  41215. },
  41216. "deliverygoodsid": {
  41217. "description": "品种ID",
  41218. "type": "integer"
  41219. },
  41220. "deliverygoodsname": {
  41221. "description": "品种名称",
  41222. "type": "string"
  41223. },
  41224. "enumdicname": {
  41225. "description": "单位名称",
  41226. "type": "string"
  41227. },
  41228. "fixedprice": {
  41229. "description": "固定价格(价格)",
  41230. "type": "number"
  41231. },
  41232. "haswr": {
  41233. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  41234. "type": "integer"
  41235. },
  41236. "isspecified": {
  41237. "description": "是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]",
  41238. "type": "integer"
  41239. },
  41240. "marketid": {
  41241. "description": "市场ID",
  41242. "type": "integer"
  41243. },
  41244. "matchuserid": {
  41245. "description": "指定方资金账号(字段名为userid,实际存的是accountid by:邓工)",
  41246. "type": "integer"
  41247. },
  41248. "matchusername": {
  41249. "description": "指定方",
  41250. "type": "string"
  41251. },
  41252. "minivalue": {
  41253. "description": "现货商品最小变动值",
  41254. "type": "integer"
  41255. },
  41256. "optioncompare": {
  41257. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  41258. "type": "string"
  41259. },
  41260. "orderqty": {
  41261. "description": "委托数量",
  41262. "type": "number"
  41263. },
  41264. "ordertime": {
  41265. "description": "委托时间",
  41266. "type": "string"
  41267. },
  41268. "pricemove": {
  41269. "description": "升贴水(浮动价时填写) - [挂牌]",
  41270. "type": "number"
  41271. },
  41272. "tradedate": {
  41273. "description": "交易日(yyyyMMdd)",
  41274. "type": "string"
  41275. },
  41276. "tradeprice": {
  41277. "description": "成交价格",
  41278. "type": "number"
  41279. },
  41280. "tradeqty": {
  41281. "description": "成交数量",
  41282. "type": "number"
  41283. },
  41284. "userid": {
  41285. "description": "用户ID",
  41286. "type": "integer"
  41287. },
  41288. "username": {
  41289. "description": "发起方",
  41290. "type": "string"
  41291. },
  41292. "warehouseid": {
  41293. "description": "仓库ID",
  41294. "type": "integer"
  41295. },
  41296. "warehousename": {
  41297. "description": "仓库名称",
  41298. "type": "string"
  41299. },
  41300. "wrfactortypeid": {
  41301. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  41302. "type": "string"
  41303. },
  41304. "wrfactortypename": {
  41305. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  41306. "type": "string"
  41307. },
  41308. "wrpricetype": {
  41309. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  41310. "type": "integer"
  41311. },
  41312. "wrstandardcode": {
  41313. "description": "现货商品代码",
  41314. "type": "string"
  41315. },
  41316. "wrstandardid": {
  41317. "description": "现货商品ID",
  41318. "type": "integer"
  41319. },
  41320. "wrstandardname": {
  41321. "description": "商品名称",
  41322. "type": "string"
  41323. },
  41324. "wrtradeorderid": {
  41325. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  41326. "type": "string"
  41327. },
  41328. "wrtradeorderstatus": {
  41329. "description": "委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤",
  41330. "type": "integer"
  41331. },
  41332. "wrtradetype": {
  41333. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  41334. "type": "integer"
  41335. },
  41336. "wrtypename": {
  41337. "description": "商品",
  41338. "type": "string"
  41339. }
  41340. }
  41341. },
  41342. "models.WrSpotGroupTradeSum": {
  41343. "type": "object",
  41344. "properties": {
  41345. "deliverygoodscode": {
  41346. "description": "现货品种代码",
  41347. "type": "string"
  41348. },
  41349. "deliverygoodsid": {
  41350. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  41351. "type": "integer"
  41352. },
  41353. "deliverygoodsname": {
  41354. "description": "现货品种名称",
  41355. "type": "string"
  41356. },
  41357. "lastavgprice": {
  41358. "description": "上上个交易日价格(前2天价格)",
  41359. "type": "string"
  41360. },
  41361. "lastreckondate": {
  41362. "description": "上上个交易日(前2天交易日)",
  41363. "type": "string"
  41364. },
  41365. "reckondate": {
  41366. "description": "上个交易日(前1天交易日)",
  41367. "type": "string"
  41368. },
  41369. "todayavgprice": {
  41370. "description": "上个交易日价格(前1天价格)",
  41371. "type": "string"
  41372. },
  41373. "updown": {
  41374. "description": "涨跌",
  41375. "type": "string"
  41376. },
  41377. "updownratio": {
  41378. "description": "涨幅(已格式化, 直接显示即可)",
  41379. "type": "string"
  41380. }
  41381. }
  41382. },
  41383. "models.WrSpotGroupTradeSumDetail": {
  41384. "type": "object",
  41385. "properties": {
  41386. "deliverygoodsid": {
  41387. "description": "现货商品id",
  41388. "type": "integer"
  41389. },
  41390. "price": {
  41391. "description": "价格",
  41392. "type": "number"
  41393. },
  41394. "reckondate": {
  41395. "description": "日期(yyymmdd, 如:20211031)",
  41396. "type": "string"
  41397. }
  41398. }
  41399. },
  41400. "models.WrSpotGroupTradeSumEx": {
  41401. "type": "object",
  41402. "properties": {
  41403. "lst": {
  41404. "description": "指数列表",
  41405. "type": "array",
  41406. "items": {
  41407. "$ref": "#/definitions/models.WrSpotGroupTradeSum"
  41408. }
  41409. },
  41410. "prereckondate": {
  41411. "description": "上上个交易日(yyymmdd)",
  41412. "type": "string"
  41413. },
  41414. "reckondate": {
  41415. "description": "上个交易日(yyyymmdd)",
  41416. "type": "string"
  41417. }
  41418. }
  41419. },
  41420. "models.WrStandardFactoryItem": {
  41421. "type": "object",
  41422. "properties": {
  41423. "dgfactoryitemid": {
  41424. "description": "选择项id",
  41425. "type": "integer"
  41426. },
  41427. "dgfactoryitemvalue": {
  41428. "description": "要素项值",
  41429. "type": "string"
  41430. },
  41431. "warehouseid": {
  41432. "description": "仓库id",
  41433. "type": "integer"
  41434. }
  41435. }
  41436. },
  41437. "models.WrStandardFactoryItemEx": {
  41438. "type": "object",
  41439. "properties": {
  41440. "dgfactoryitemtypeid": {
  41441. "description": "要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)",
  41442. "type": "integer"
  41443. },
  41444. "itemlst": {
  41445. "description": "要素项列表",
  41446. "type": "array",
  41447. "items": {
  41448. "$ref": "#/definitions/models.WrStandardFactoryItem"
  41449. }
  41450. },
  41451. "itemtypename": {
  41452. "description": "要素项类型名称",
  41453. "type": "string"
  41454. },
  41455. "wrstandardid": {
  41456. "description": "品类",
  41457. "type": "integer"
  41458. }
  41459. }
  41460. },
  41461. "models.WrTradeDetail": {
  41462. "type": "object",
  41463. "properties": {
  41464. "accountid": {
  41465. "description": "资金账号",
  41466. "type": "integer"
  41467. },
  41468. "bannerpicurl": {
  41469. "description": "Banner图",
  41470. "type": "string"
  41471. },
  41472. "begindate": {
  41473. "description": "开始交易日(yyyymmdd)",
  41474. "type": "string"
  41475. },
  41476. "buyorsell": {
  41477. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  41478. "type": "integer"
  41479. },
  41480. "chargevalue": {
  41481. "description": "手续费",
  41482. "type": "number"
  41483. },
  41484. "deliverygoodscode": {
  41485. "description": "品种代码",
  41486. "type": "string"
  41487. },
  41488. "deliverygoodsid": {
  41489. "description": "品种ID",
  41490. "type": "integer"
  41491. },
  41492. "deliverygoodsname": {
  41493. "description": "品种名称",
  41494. "type": "string"
  41495. },
  41496. "deliverymonth": {
  41497. "description": "交收月",
  41498. "type": "string"
  41499. },
  41500. "enddate": {
  41501. "description": "结束交易日(yyyymmdd)",
  41502. "type": "string"
  41503. },
  41504. "enumdicname": {
  41505. "description": "单位名称",
  41506. "type": "string"
  41507. },
  41508. "haswr": {
  41509. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  41510. "type": "integer"
  41511. },
  41512. "marketid": {
  41513. "description": "市场ID",
  41514. "type": "integer"
  41515. },
  41516. "matchaccountid": {
  41517. "description": "对手账号",
  41518. "type": "integer"
  41519. },
  41520. "matchusername": {
  41521. "description": "对手方",
  41522. "type": "string"
  41523. },
  41524. "minivalue": {
  41525. "description": "现货商品最小变动值",
  41526. "type": "integer"
  41527. },
  41528. "optioncompare": {
  41529. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  41530. "type": "string"
  41531. },
  41532. "thumurls": {
  41533. "description": "缩略图",
  41534. "type": "string"
  41535. },
  41536. "tradedate": {
  41537. "description": "交易日(yyyyMMdd)",
  41538. "type": "string"
  41539. },
  41540. "tradeprice": {
  41541. "description": "成交价格",
  41542. "type": "number"
  41543. },
  41544. "tradeqty": {
  41545. "description": "成交数量",
  41546. "type": "number"
  41547. },
  41548. "tradetime": {
  41549. "description": "成交时间",
  41550. "type": "string"
  41551. },
  41552. "userid": {
  41553. "description": "用户ID",
  41554. "type": "integer"
  41555. },
  41556. "warehouseid": {
  41557. "description": "仓库ID",
  41558. "type": "integer"
  41559. },
  41560. "warehousename": {
  41561. "description": "仓库名称",
  41562. "type": "string"
  41563. },
  41564. "wrfactortypeid": {
  41565. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  41566. "type": "string"
  41567. },
  41568. "wrfactortypename": {
  41569. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  41570. "type": "string"
  41571. },
  41572. "wrstandardcode": {
  41573. "description": "现货商品代码",
  41574. "type": "string"
  41575. },
  41576. "wrstandardid": {
  41577. "description": "现货商品ID",
  41578. "type": "integer"
  41579. },
  41580. "wrstandardname": {
  41581. "description": "商品名称",
  41582. "type": "string"
  41583. },
  41584. "wrtradedetailid": {
  41585. "description": "仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)",
  41586. "type": "string"
  41587. },
  41588. "wrtradetype": {
  41589. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  41590. "type": "integer"
  41591. },
  41592. "wrtypename": {
  41593. "description": "商品",
  41594. "type": "string"
  41595. }
  41596. }
  41597. },
  41598. "models.WrTradeOrderDetail": {
  41599. "type": "object",
  41600. "properties": {
  41601. "buyorsell": {
  41602. "description": "买卖方向 0-买 1-卖",
  41603. "type": "integer"
  41604. },
  41605. "goodsid": {
  41606. "description": "商品id",
  41607. "type": "integer"
  41608. },
  41609. "orderid": {
  41610. "description": "委托单号",
  41611. "type": "string"
  41612. },
  41613. "orderprice": {
  41614. "description": "委托价格",
  41615. "type": "number"
  41616. },
  41617. "orderqty": {
  41618. "description": "委托数量",
  41619. "type": "integer"
  41620. },
  41621. "userid": {
  41622. "description": "用户id",
  41623. "type": "integer"
  41624. },
  41625. "username": {
  41626. "description": "用户名称(已脱敏)",
  41627. "type": "string"
  41628. }
  41629. }
  41630. },
  41631. "models.WrTypeItem": {
  41632. "type": "object",
  41633. "properties": {
  41634. "name": {
  41635. "description": "名称",
  41636. "type": "string"
  41637. },
  41638. "value": {
  41639. "description": "值",
  41640. "type": "string"
  41641. }
  41642. }
  41643. },
  41644. "models.WrUserFriend": {
  41645. "type": "object",
  41646. "properties": {
  41647. "friendname": {
  41648. "description": "朋友名称(已脱敏)",
  41649. "type": "string"
  41650. },
  41651. "frienduserid": {
  41652. "description": "朋友id",
  41653. "type": "integer"
  41654. },
  41655. "isfriend": {
  41656. "description": "是否好友 0-不是 1-是",
  41657. "type": "integer"
  41658. },
  41659. "userid": {
  41660. "description": "用户id",
  41661. "type": "integer"
  41662. }
  41663. }
  41664. },
  41665. "models.WrUserReceiptInfo": {
  41666. "type": "object",
  41667. "properties": {
  41668. "address": {
  41669. "description": "地址[发票类型:企业]",
  41670. "type": "string"
  41671. },
  41672. "autoid": {
  41673. "description": "AutoID",
  41674. "type": "integer"
  41675. },
  41676. "contactinfo": {
  41677. "description": "联系方式",
  41678. "type": "string"
  41679. },
  41680. "idnum": {
  41681. "description": "身份证号码[发票类型:个人]",
  41682. "type": "string"
  41683. },
  41684. "isdefault": {
  41685. "description": "是否默认地址 - 0:否 1:是",
  41686. "type": "integer"
  41687. },
  41688. "receiptaccount": {
  41689. "description": "发票帐号[发票类型:企业]",
  41690. "type": "string"
  41691. },
  41692. "receiptbank": {
  41693. "description": "发票开户行[发票类型:企业]",
  41694. "type": "string"
  41695. },
  41696. "receipttype": {
  41697. "description": "发票类型 - 1:个人 2:企业",
  41698. "type": "integer"
  41699. },
  41700. "taxpayerid": {
  41701. "description": "纳税人识别号",
  41702. "type": "string"
  41703. },
  41704. "userid": {
  41705. "description": "用户ID",
  41706. "type": "integer"
  41707. },
  41708. "username": {
  41709. "description": "户名(个人姓名或企业名称)",
  41710. "type": "string"
  41711. }
  41712. }
  41713. },
  41714. "models.XHBRAND": {
  41715. "type": "object",
  41716. "properties": {
  41717. "brandid": {
  41718. "description": "品牌id",
  41719. "type": "integer"
  41720. },
  41721. "brandname": {
  41722. "description": "品牌名称",
  41723. "type": "string"
  41724. },
  41725. "isvalid": {
  41726. "description": "是否有效 0-无效 1-有效",
  41727. "type": "integer"
  41728. }
  41729. }
  41730. },
  41731. "models.XHDeliveryGoods": {
  41732. "type": "object",
  41733. "properties": {
  41734. "areauserid": {
  41735. "description": "所属机构",
  41736. "type": "integer"
  41737. },
  41738. "bdlst": {
  41739. "description": "品牌列表",
  41740. "type": "array",
  41741. "items": {
  41742. "$ref": "#/definitions/models.XHBRAND"
  41743. }
  41744. },
  41745. "deliverygoodscode": {
  41746. "description": "现货品种代码",
  41747. "type": "string"
  41748. },
  41749. "deliverygoodsid": {
  41750. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  41751. "type": "integer"
  41752. },
  41753. "deliverygoodsname": {
  41754. "description": "现货品种名称",
  41755. "type": "string"
  41756. },
  41757. "dgstatus": {
  41758. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  41759. "type": "integer"
  41760. },
  41761. "filterSubEmpty": {
  41762. "description": "过滤下级为空的",
  41763. "type": "integer"
  41764. },
  41765. "isvalid": {
  41766. "description": "是否有效 - 0:无效 1:有效",
  41767. "type": "integer"
  41768. },
  41769. "remark": {
  41770. "description": "备注",
  41771. "type": "string"
  41772. },
  41773. "unitid": {
  41774. "description": "单位id(目前看,数据库中是空值)",
  41775. "type": "integer"
  41776. },
  41777. "wdlst": {
  41778. "description": "品类(现货商品)列表",
  41779. "type": "array",
  41780. "items": {
  41781. "$ref": "#/definitions/models.XHWrstandard"
  41782. }
  41783. }
  41784. }
  41785. },
  41786. "models.XHMiddleGoods": {
  41787. "type": "object",
  41788. "properties": {
  41789. "GPLST": {
  41790. "description": "期货品种列表",
  41791. "type": "array",
  41792. "items": {
  41793. "$ref": "#/definitions/models.TBGoodsGroup"
  41794. }
  41795. },
  41796. "convertratio": {
  41797. "description": "拆算系数",
  41798. "type": "number"
  41799. },
  41800. "costratio": {
  41801. "description": "成本权重",
  41802. "type": "number"
  41803. },
  41804. "deliverygoodsid": {
  41805. "description": "现货商品id",
  41806. "type": "integer"
  41807. },
  41808. "enumdicname": {
  41809. "description": "单位名称",
  41810. "type": "string"
  41811. },
  41812. "middlegoodscode": {
  41813. "description": "套保品种代码",
  41814. "type": "string"
  41815. },
  41816. "middlegoodsid": {
  41817. "description": "套保品种id",
  41818. "type": "integer"
  41819. },
  41820. "middlegoodsname": {
  41821. "description": "套保品种名称",
  41822. "type": "string"
  41823. },
  41824. "unitid": {
  41825. "description": "单位id",
  41826. "type": "integer"
  41827. }
  41828. }
  41829. },
  41830. "models.XHWrstandard": {
  41831. "type": "object",
  41832. "properties": {
  41833. "bannerpicurl": {
  41834. "description": "banner图",
  41835. "type": "string"
  41836. },
  41837. "deliverygoodsid": {
  41838. "description": "品种ID",
  41839. "type": "integer"
  41840. },
  41841. "enumdicname": {
  41842. "description": "单位名称",
  41843. "type": "string"
  41844. },
  41845. "mglst": {
  41846. "description": "套保品列表",
  41847. "type": "array",
  41848. "items": {
  41849. "$ref": "#/definitions/models.XHMiddleGoods"
  41850. }
  41851. },
  41852. "pictureurls": {
  41853. "description": "详情图片(逗号分隔)",
  41854. "type": "string"
  41855. },
  41856. "thumurls": {
  41857. "description": "缩略图片(1:1)(逗号分隔)",
  41858. "type": "string"
  41859. },
  41860. "unitid": {
  41861. "description": "单位id",
  41862. "type": "integer"
  41863. },
  41864. "vatrate": {
  41865. "description": "增值税率",
  41866. "type": "number"
  41867. },
  41868. "wrstandardcode": {
  41869. "description": "现货商品代码",
  41870. "type": "string"
  41871. },
  41872. "wrstandardid": {
  41873. "description": "现货商品ID(SEQ_WRSTANDARD)",
  41874. "type": "integer"
  41875. },
  41876. "wrstandardname": {
  41877. "description": "现货商品名称",
  41878. "type": "string"
  41879. }
  41880. }
  41881. },
  41882. "models.XhcpSellBackApplyEx": {
  41883. "type": "object",
  41884. "required": [
  41885. "userid"
  41886. ],
  41887. "properties": {
  41888. "applyremark": {
  41889. "description": "申请备注",
  41890. "type": "string"
  41891. },
  41892. "expirytype": {
  41893. "description": "寄售有效期 - 1:3天 2:7天 3:15天 4:长期",
  41894. "type": "integer"
  41895. },
  41896. "goodsspec": {
  41897. "description": "商品规格 - 1:整件 2;整提 3:单罐 4:单盒",
  41898. "type": "integer"
  41899. },
  41900. "holeflag": {
  41901. "description": "是否破洞[原封] - 1:无破洞 2:破洞",
  41902. "type": "integer"
  41903. },
  41904. "isunopened": {
  41905. "description": "是否原封 - 1:否 2:是",
  41906. "type": "integer"
  41907. },
  41908. "mpflag": {
  41909. "description": "磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮",
  41910. "type": "integer"
  41911. },
  41912. "openflag": {
  41913. "description": "是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。",
  41914. "type": "integer"
  41915. },
  41916. "phonenum": {
  41917. "description": "联系电话",
  41918. "type": "string"
  41919. },
  41920. "userid": {
  41921. "description": "所属用户ID",
  41922. "type": "integer"
  41923. },
  41924. "zpflag": {
  41925. "description": "皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮",
  41926. "type": "integer"
  41927. }
  41928. }
  41929. },
  41930. "models.Xhcpsellbackapply": {
  41931. "type": "object",
  41932. "required": [
  41933. "userid"
  41934. ],
  41935. "properties": {
  41936. "applyid": {
  41937. "description": "申请人",
  41938. "type": "integer"
  41939. },
  41940. "applyremark": {
  41941. "description": "申请备注",
  41942. "type": "string"
  41943. },
  41944. "applysrc": {
  41945. "description": "申请来源 - 1:管理端 2:终端",
  41946. "type": "integer"
  41947. },
  41948. "applystatus": {
  41949. "description": "申请状态 - 1:待确认 2:已处理",
  41950. "type": "integer"
  41951. },
  41952. "applytime": {
  41953. "description": "申请时间",
  41954. "type": "string"
  41955. },
  41956. "auditremark": {
  41957. "description": "审核备注",
  41958. "type": "string"
  41959. },
  41960. "auditsrc": {
  41961. "description": "审核来源 - 1:管理端 2:终端",
  41962. "type": "integer"
  41963. },
  41964. "expirytype": {
  41965. "description": "寄售有效期 - 1:3天 2:7天 3:15天 4:长期",
  41966. "type": "integer"
  41967. },
  41968. "goodsspec": {
  41969. "description": "商品规格 - 1:整件 2;整提 3:单罐 4:单盒",
  41970. "type": "integer"
  41971. },
  41972. "holeflag": {
  41973. "description": "是否破洞[原封] - 1:无破洞 2:破洞",
  41974. "type": "integer"
  41975. },
  41976. "isunopened": {
  41977. "description": "是否原封 - 1:否 2:是",
  41978. "type": "integer"
  41979. },
  41980. "mpflag": {
  41981. "description": "磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮",
  41982. "type": "integer"
  41983. },
  41984. "openflag": {
  41985. "description": "是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。",
  41986. "type": "integer"
  41987. },
  41988. "phonenum": {
  41989. "description": "联系电话",
  41990. "type": "string"
  41991. },
  41992. "sellbackapplyid": {
  41993. "description": "回收申请ID - SEQ_XHCP_SELLBACKAPPLY",
  41994. "type": "string"
  41995. },
  41996. "userid": {
  41997. "description": "所属用户ID",
  41998. "type": "integer"
  41999. },
  42000. "zpflag": {
  42001. "description": "皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮",
  42002. "type": "integer"
  42003. }
  42004. }
  42005. },
  42006. "order.QueryHisTradeDetailRsp": {
  42007. "type": "object",
  42008. "required": [
  42009. "accountid",
  42010. "buyorsell",
  42011. "goodsid",
  42012. "histradedate",
  42013. "marketid",
  42014. "memberuserid",
  42015. "orderid",
  42016. "tradeamount",
  42017. "tradedate",
  42018. "tradeid",
  42019. "tradeprice",
  42020. "tradeqty",
  42021. "tradetime"
  42022. ],
  42023. "properties": {
  42024. "accountid": {
  42025. "description": "账户ID[报价币种]",
  42026. "type": "integer"
  42027. },
  42028. "advanceratio": {
  42029. "description": "首付比率",
  42030. "type": "number"
  42031. },
  42032. "buildtype": {
  42033. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  42034. "type": "integer"
  42035. },
  42036. "buyorsell": {
  42037. "description": "方向 - 0:买 1:卖",
  42038. "type": "integer"
  42039. },
  42040. "charge": {
  42041. "description": "手续费",
  42042. "type": "number"
  42043. },
  42044. "closecharge": {
  42045. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  42046. "type": "number"
  42047. },
  42048. "closeexchagechargevalue": {
  42049. "description": "平仓交易所手续费设置值",
  42050. "type": "number"
  42051. },
  42052. "closefeealgorithm": {
  42053. "description": "平仓手续费收取方式 1:比率 2:固定",
  42054. "type": "integer"
  42055. },
  42056. "closememberchargevalue": {
  42057. "description": "平仓会员手续费设置值",
  42058. "type": "number"
  42059. },
  42060. "closepl": {
  42061. "description": "平仓盈亏",
  42062. "type": "number"
  42063. },
  42064. "closepl2": {
  42065. "description": "平仓盈亏[逐笔]",
  42066. "type": "number"
  42067. },
  42068. "closeqty": {
  42069. "description": "平仓数量(先建后平操作 需要记录)",
  42070. "type": "number"
  42071. },
  42072. "creditamount": {
  42073. "description": "授信金额",
  42074. "type": "number"
  42075. },
  42076. "decimalplace": {
  42077. "description": "商品报价小数位",
  42078. "type": "integer"
  42079. },
  42080. "enumdicname": {
  42081. "description": "单位名称",
  42082. "type": "string"
  42083. },
  42084. "gcaccountid": {
  42085. "description": "账户ID[合约币种]",
  42086. "type": "integer"
  42087. },
  42088. "goodscode": {
  42089. "description": "商品代码",
  42090. "type": "string"
  42091. },
  42092. "goodsid": {
  42093. "description": "商品ID",
  42094. "type": "integer"
  42095. },
  42096. "goodsname": {
  42097. "description": "商品名称",
  42098. "type": "string"
  42099. },
  42100. "goodunitid": {
  42101. "description": "商品单位id",
  42102. "type": "integer"
  42103. },
  42104. "histradedate": {
  42105. "description": "历史交易日",
  42106. "type": "string"
  42107. },
  42108. "intclosepl": {
  42109. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  42110. "type": "integer"
  42111. },
  42112. "isconfirmexercise": {
  42113. "description": "是否确认行权- 0:否 1:是",
  42114. "type": "integer"
  42115. },
  42116. "ismain": {
  42117. "description": "是否主单 - 0:不是 1:是",
  42118. "type": "integer"
  42119. },
  42120. "ispreexercise": {
  42121. "description": "是否预申报- 0:否 1:是",
  42122. "type": "integer"
  42123. },
  42124. "isreckoned": {
  42125. "description": "是否结算 - 0:未结算 1:已结算",
  42126. "type": "integer"
  42127. },
  42128. "isvaliddata": {
  42129. "description": "是否有效 - 0:无效 1:有效",
  42130. "type": "integer"
  42131. },
  42132. "listingselecttype": {
  42133. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  42134. "type": "integer"
  42135. },
  42136. "marketid": {
  42137. "description": "市场ID",
  42138. "type": "integer"
  42139. },
  42140. "marketname": {
  42141. "description": "市场名称",
  42142. "type": "string"
  42143. },
  42144. "matchaccountid": {
  42145. "description": "对手账号id",
  42146. "type": "integer"
  42147. },
  42148. "memberuserid": {
  42149. "description": "会员id 个人投资者 需要填写",
  42150. "type": "integer"
  42151. },
  42152. "opencharge": {
  42153. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  42154. "type": "number"
  42155. },
  42156. "openexchagechargevalue": {
  42157. "description": "建仓交易所手续费设置值",
  42158. "type": "number"
  42159. },
  42160. "openfeealgorithm": {
  42161. "description": "建仓手续费收取方式 1:比率 2:固定",
  42162. "type": "integer"
  42163. },
  42164. "openmemberchargevalue": {
  42165. "description": "建仓会员手续费设置值",
  42166. "type": "number"
  42167. },
  42168. "openqty": {
  42169. "description": "开仓数量(先建后平操作 需要记录)",
  42170. "type": "number"
  42171. },
  42172. "optiontype": {
  42173. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  42174. "type": "integer"
  42175. },
  42176. "orderid": {
  42177. "description": "委托单号",
  42178. "type": "string"
  42179. },
  42180. "payamount": {
  42181. "description": "支付金额(付款金额)",
  42182. "type": "number"
  42183. },
  42184. "performanceplanid": {
  42185. "description": "履约计划ID[期权]",
  42186. "type": "integer"
  42187. },
  42188. "performancestatus": {
  42189. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  42190. "type": "integer"
  42191. },
  42192. "preexerciseprice": {
  42193. "description": "预申报价格",
  42194. "type": "number"
  42195. },
  42196. "premium": {
  42197. "description": "权利金 - [持仓单的权利金]",
  42198. "type": "number"
  42199. },
  42200. "qtydecimalplace": {
  42201. "description": "商品报价小数位",
  42202. "type": "integer"
  42203. },
  42204. "recvamount": {
  42205. "description": "到账金额 = 成交金额 - 手续费",
  42206. "type": "number"
  42207. },
  42208. "relatedouttradeid": {
  42209. "description": "关联外部成交单ID",
  42210. "type": "integer"
  42211. },
  42212. "status": {
  42213. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  42214. "type": "integer"
  42215. },
  42216. "totalamount": {
  42217. "description": "订单总额 = 成交金额 + 手续费",
  42218. "type": "number"
  42219. },
  42220. "tradeamount": {
  42221. "description": "成交金额[账户币种,用于所有权]",
  42222. "type": "number"
  42223. },
  42224. "tradedate": {
  42225. "description": "交易日(yyyyMMdd)",
  42226. "type": "string"
  42227. },
  42228. "tradeid": {
  42229. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  42230. "type": "string"
  42231. },
  42232. "trademode": {
  42233. "description": "交易模式",
  42234. "type": "integer"
  42235. },
  42236. "tradeprice": {
  42237. "description": "成交价格",
  42238. "type": "number"
  42239. },
  42240. "tradeproperty": {
  42241. "description": "交易属性",
  42242. "type": "integer"
  42243. },
  42244. "tradeqty": {
  42245. "description": "成交数量",
  42246. "type": "number"
  42247. },
  42248. "tradetime": {
  42249. "description": "成交时间",
  42250. "type": "string"
  42251. },
  42252. "tradetype": {
  42253. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  42254. "type": "integer"
  42255. }
  42256. }
  42257. },
  42258. "order.QueryHisTradeOrderDetailRsp": {
  42259. "type": "object",
  42260. "required": [
  42261. "accountid",
  42262. "buildtype",
  42263. "buyorsell",
  42264. "goodsid",
  42265. "histradedate",
  42266. "marketid",
  42267. "memberuserid",
  42268. "operatetype",
  42269. "orderid",
  42270. "orderqty",
  42271. "ordertime",
  42272. "pricemode",
  42273. "tradedate",
  42274. "validtype"
  42275. ],
  42276. "properties": {
  42277. "accountid": {
  42278. "description": "账户ID[报价币种]",
  42279. "type": "integer"
  42280. },
  42281. "buildtype": {
  42282. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  42283. "type": "integer"
  42284. },
  42285. "buyorsell": {
  42286. "description": "买卖 - 0:买 1:卖",
  42287. "type": "integer"
  42288. },
  42289. "cancelorderid": {
  42290. "description": "撤单单号(撤单时填写)",
  42291. "type": "string"
  42292. },
  42293. "cancelqty": {
  42294. "description": "撤单数量",
  42295. "type": "number"
  42296. },
  42297. "clientordertime": {
  42298. "description": "客户端委托时间",
  42299. "type": "string"
  42300. },
  42301. "clientticket": {
  42302. "description": "客户端流水号",
  42303. "type": "string"
  42304. },
  42305. "clienttype": {
  42306. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  42307. "type": "integer"
  42308. },
  42309. "closeexchagechargevalue": {
  42310. "description": "平仓交易所手续费设置值",
  42311. "type": "number"
  42312. },
  42313. "closefeealgorithm": {
  42314. "description": "平仓手续费收取方式 1:比率 2:固定",
  42315. "type": "integer"
  42316. },
  42317. "closefreezecharge": {
  42318. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  42319. "type": "number"
  42320. },
  42321. "closememberchargevalue": {
  42322. "description": "平仓会员手续费设置值",
  42323. "type": "number"
  42324. },
  42325. "closeqty": {
  42326. "description": "平仓数量(先建后平操作 需要记录)",
  42327. "type": "number"
  42328. },
  42329. "closetradeqty": {
  42330. "description": "平仓成交数量(先建后平操作,需要记录)",
  42331. "type": "number"
  42332. },
  42333. "closeunfreezecharge": {
  42334. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  42335. "type": "number"
  42336. },
  42337. "decimalplace": {
  42338. "description": "商品报价小数位",
  42339. "type": "integer"
  42340. },
  42341. "delistingtype": {
  42342. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  42343. "type": "integer"
  42344. },
  42345. "enumdicname": {
  42346. "description": "单位名称",
  42347. "type": "string"
  42348. },
  42349. "freezecharge": {
  42350. "description": "冻结手续费",
  42351. "type": "number"
  42352. },
  42353. "freezemargin": {
  42354. "description": "冻结保证金(冻结交易金额)",
  42355. "type": "number"
  42356. },
  42357. "gcaccountid": {
  42358. "description": "账户ID[合约币种]",
  42359. "type": "integer"
  42360. },
  42361. "goodscode": {
  42362. "description": "商品代码",
  42363. "type": "string"
  42364. },
  42365. "goodsid": {
  42366. "description": "商品ID",
  42367. "type": "integer"
  42368. },
  42369. "goodsname": {
  42370. "description": "商品名称",
  42371. "type": "string"
  42372. },
  42373. "goodunitid": {
  42374. "description": "商品单位id",
  42375. "type": "integer"
  42376. },
  42377. "histradedate": {
  42378. "description": "历史交易日",
  42379. "type": "string"
  42380. },
  42381. "isconfirmexercise": {
  42382. "description": "是否确认行权- 0:否 1:是",
  42383. "type": "integer"
  42384. },
  42385. "ispreexercise": {
  42386. "description": "是否预申报- 0:否 1:是",
  42387. "type": "integer"
  42388. },
  42389. "isvaliddata": {
  42390. "description": "是否有效 - 0:无效 1:有效",
  42391. "type": "integer"
  42392. },
  42393. "listingselecttype": {
  42394. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  42395. "type": "integer"
  42396. },
  42397. "marginalgorithm": {
  42398. "description": "保证金收取方式 1:比率 2:固定",
  42399. "type": "integer"
  42400. },
  42401. "marginvalue": {
  42402. "description": "即市保证金设置值",
  42403. "type": "number"
  42404. },
  42405. "marketid": {
  42406. "description": "市场ID",
  42407. "type": "integer"
  42408. },
  42409. "marketmaxsub": {
  42410. "description": "市价最大偏移范围",
  42411. "type": "number"
  42412. },
  42413. "marketname": {
  42414. "description": "市场名称",
  42415. "type": "string"
  42416. },
  42417. "memberuserid": {
  42418. "description": "所属会员UserID",
  42419. "type": "integer"
  42420. },
  42421. "openexchagechargevalue": {
  42422. "description": "建仓交易所手续费设置值",
  42423. "type": "number"
  42424. },
  42425. "openfeealgorithm": {
  42426. "description": "建仓手续费收取方式 1:比率 2:固定",
  42427. "type": "integer"
  42428. },
  42429. "openfreezecharge": {
  42430. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  42431. "type": "number"
  42432. },
  42433. "openmemberchargevalue": {
  42434. "description": "建仓会员手续费设置值",
  42435. "type": "number"
  42436. },
  42437. "openqty": {
  42438. "description": "开仓数量(先建后平操作,需要记录)",
  42439. "type": "number"
  42440. },
  42441. "opentradeqty": {
  42442. "description": "开仓成交数量(先建后平操作,需要记录)",
  42443. "type": "number"
  42444. },
  42445. "openunfreezecharge": {
  42446. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  42447. "type": "number"
  42448. },
  42449. "operatetype": {
  42450. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  42451. "type": "integer"
  42452. },
  42453. "operatorid": {
  42454. "description": "登录账号(LoginID)",
  42455. "type": "integer"
  42456. },
  42457. "optiontype": {
  42458. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  42459. "type": "integer"
  42460. },
  42461. "orderid": {
  42462. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  42463. "type": "string"
  42464. },
  42465. "orderprice": {
  42466. "description": "委托价格",
  42467. "type": "number"
  42468. },
  42469. "orderqty": {
  42470. "description": "委托数量",
  42471. "type": "number"
  42472. },
  42473. "ordersrc": {
  42474. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  42475. "type": "integer"
  42476. },
  42477. "orderstatus": {
  42478. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  42479. "type": "integer"
  42480. },
  42481. "ordertime": {
  42482. "description": "委托时间",
  42483. "type": "string"
  42484. },
  42485. "preexerciseprice": {
  42486. "description": "预申报价格",
  42487. "type": "number"
  42488. },
  42489. "premium": {
  42490. "description": "权利金",
  42491. "type": "number"
  42492. },
  42493. "preorderid": {
  42494. "description": "关联预埋单号(止盈止损单时填写)",
  42495. "type": "string"
  42496. },
  42497. "pricemode": {
  42498. "description": "取价方式 - 1:市价 2: 限价",
  42499. "type": "integer"
  42500. },
  42501. "qtydecimalplace": {
  42502. "description": "成交量小数位",
  42503. "type": "integer"
  42504. },
  42505. "quoteid": {
  42506. "description": "报价单ID",
  42507. "type": "integer"
  42508. },
  42509. "relatedid": {
  42510. "description": "关联单号(交割单)",
  42511. "type": "string"
  42512. },
  42513. "retcode": {
  42514. "description": "错误代码",
  42515. "type": "integer"
  42516. },
  42517. "sessionid": {
  42518. "description": "会话ID",
  42519. "type": "integer"
  42520. },
  42521. "tradedate": {
  42522. "description": "交易日(yyyyMMdd)",
  42523. "type": "string"
  42524. },
  42525. "trademode": {
  42526. "description": "交易模式",
  42527. "type": "integer"
  42528. },
  42529. "tradeproperty": {
  42530. "description": "交易属性",
  42531. "type": "integer"
  42532. },
  42533. "tradeqty": {
  42534. "description": "成交数量",
  42535. "type": "number"
  42536. },
  42537. "unfreezecharge": {
  42538. "description": "解冻手续费",
  42539. "type": "number"
  42540. },
  42541. "unfreezemargin": {
  42542. "description": "解冻保证金",
  42543. "type": "number"
  42544. },
  42545. "updatetime": {
  42546. "description": "更新时间",
  42547. "type": "string"
  42548. },
  42549. "uuid": {
  42550. "description": "发起端唯一id",
  42551. "type": "string"
  42552. },
  42553. "validtime": {
  42554. "description": "有效期限",
  42555. "type": "string"
  42556. },
  42557. "validtype": {
  42558. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  42559. "type": "integer"
  42560. },
  42561. "volumetype": {
  42562. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  42563. "type": "integer"
  42564. }
  42565. }
  42566. },
  42567. "order.QueryTradeDetailRsp": {
  42568. "type": "object",
  42569. "required": [
  42570. "accountid",
  42571. "buyorsell",
  42572. "goodsid",
  42573. "marketid",
  42574. "memberuserid",
  42575. "orderid",
  42576. "tradeamount",
  42577. "tradedate",
  42578. "tradeid",
  42579. "tradeprice",
  42580. "tradeqty",
  42581. "tradetime"
  42582. ],
  42583. "properties": {
  42584. "accountid": {
  42585. "description": "账户ID[报价币种]",
  42586. "type": "integer"
  42587. },
  42588. "advanceratio": {
  42589. "description": "首付比率",
  42590. "type": "number"
  42591. },
  42592. "buildtype": {
  42593. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  42594. "type": "integer"
  42595. },
  42596. "buyorsell": {
  42597. "description": "方向 - 0:买 1:卖",
  42598. "type": "integer"
  42599. },
  42600. "charge": {
  42601. "description": "手续费",
  42602. "type": "number"
  42603. },
  42604. "closecharge": {
  42605. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  42606. "type": "number"
  42607. },
  42608. "closeexchagechargevalue": {
  42609. "description": "平仓交易所手续费设置值",
  42610. "type": "number"
  42611. },
  42612. "closefeealgorithm": {
  42613. "description": "平仓手续费收取方式 1:比率 2:固定",
  42614. "type": "integer"
  42615. },
  42616. "closememberchargevalue": {
  42617. "description": "平仓会员手续费设置值",
  42618. "type": "number"
  42619. },
  42620. "closepl": {
  42621. "description": "平仓盈亏",
  42622. "type": "number"
  42623. },
  42624. "closepl2": {
  42625. "description": "平仓盈亏[逐笔]",
  42626. "type": "number"
  42627. },
  42628. "closeqty": {
  42629. "description": "平仓数量(先建后平操作 需要记录)",
  42630. "type": "number"
  42631. },
  42632. "creditamount": {
  42633. "description": "授信金额",
  42634. "type": "number"
  42635. },
  42636. "decimalplace": {
  42637. "description": "商品报价小数位",
  42638. "type": "integer"
  42639. },
  42640. "enumdicname": {
  42641. "description": "单位名称",
  42642. "type": "string"
  42643. },
  42644. "gcaccountid": {
  42645. "description": "账户ID[合约币种]",
  42646. "type": "integer"
  42647. },
  42648. "goodscode": {
  42649. "description": "商品代码",
  42650. "type": "string"
  42651. },
  42652. "goodsid": {
  42653. "description": "商品ID",
  42654. "type": "integer"
  42655. },
  42656. "goodsname": {
  42657. "description": "商品名称",
  42658. "type": "string"
  42659. },
  42660. "goodunitid": {
  42661. "description": "商品单位id",
  42662. "type": "integer"
  42663. },
  42664. "intclosepl": {
  42665. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  42666. "type": "integer"
  42667. },
  42668. "isconfirmexercise": {
  42669. "description": "是否确认行权- 0:否 1:是",
  42670. "type": "integer"
  42671. },
  42672. "ismain": {
  42673. "description": "是否主单 - 0:不是 1:是",
  42674. "type": "integer"
  42675. },
  42676. "ispreexercise": {
  42677. "description": "是否预申报- 0:否 1:是",
  42678. "type": "integer"
  42679. },
  42680. "isreckoned": {
  42681. "description": "是否结算 - 0:未结算 1:已结算",
  42682. "type": "integer"
  42683. },
  42684. "listingselecttype": {
  42685. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  42686. "type": "integer"
  42687. },
  42688. "marketid": {
  42689. "description": "市场ID",
  42690. "type": "integer"
  42691. },
  42692. "marketname": {
  42693. "description": "市场名称",
  42694. "type": "string"
  42695. },
  42696. "matchaccountid": {
  42697. "description": "对手账号id",
  42698. "type": "integer"
  42699. },
  42700. "memberuserid": {
  42701. "description": "会员id 个人投资者 需要填写",
  42702. "type": "integer"
  42703. },
  42704. "opencharge": {
  42705. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  42706. "type": "number"
  42707. },
  42708. "openexchagechargevalue": {
  42709. "description": "建仓交易所手续费设置值",
  42710. "type": "number"
  42711. },
  42712. "openfeealgorithm": {
  42713. "description": "建仓手续费收取方式 1:比率 2:固定",
  42714. "type": "integer"
  42715. },
  42716. "openmemberchargevalue": {
  42717. "description": "建仓会员手续费设置值",
  42718. "type": "number"
  42719. },
  42720. "openqty": {
  42721. "description": "开仓数量(先建后平操作 需要记录)",
  42722. "type": "number"
  42723. },
  42724. "optiontype": {
  42725. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  42726. "type": "integer"
  42727. },
  42728. "orderid": {
  42729. "description": "委托单号",
  42730. "type": "string"
  42731. },
  42732. "payamount": {
  42733. "description": "支付金额(付款金额)",
  42734. "type": "number"
  42735. },
  42736. "performanceplanid": {
  42737. "description": "履约计划ID[期权]",
  42738. "type": "integer"
  42739. },
  42740. "performancestatus": {
  42741. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  42742. "type": "integer"
  42743. },
  42744. "preexerciseprice": {
  42745. "description": "预申报价格",
  42746. "type": "number"
  42747. },
  42748. "premium": {
  42749. "description": "权利金 - [持仓单的权利金]",
  42750. "type": "number"
  42751. },
  42752. "qtydecimalplace": {
  42753. "description": "商品报价小数位",
  42754. "type": "integer"
  42755. },
  42756. "recvamount": {
  42757. "description": "到账金额 = 成交金额 - 手续费",
  42758. "type": "number"
  42759. },
  42760. "relatedouttradeid": {
  42761. "description": "关联外部成交单ID",
  42762. "type": "integer"
  42763. },
  42764. "status": {
  42765. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  42766. "type": "integer"
  42767. },
  42768. "totalamount": {
  42769. "description": "订单总额 = 成交金额 + 手续费",
  42770. "type": "number"
  42771. },
  42772. "tradeamount": {
  42773. "description": "成交金额[账户币种,用于所有权]",
  42774. "type": "number"
  42775. },
  42776. "tradedate": {
  42777. "description": "交易日(yyyyMMdd)",
  42778. "type": "string"
  42779. },
  42780. "tradeid": {
  42781. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  42782. "type": "string"
  42783. },
  42784. "trademode": {
  42785. "description": "交易模式",
  42786. "type": "integer"
  42787. },
  42788. "tradeprice": {
  42789. "description": "成交价格",
  42790. "type": "number"
  42791. },
  42792. "tradeproperty": {
  42793. "description": "交易属性",
  42794. "type": "integer"
  42795. },
  42796. "tradeqty": {
  42797. "description": "成交数量",
  42798. "type": "number"
  42799. },
  42800. "tradetime": {
  42801. "description": "成交时间",
  42802. "type": "string"
  42803. },
  42804. "tradetype": {
  42805. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  42806. "type": "integer"
  42807. }
  42808. }
  42809. },
  42810. "order.QueryTradeOrderDetailRsp": {
  42811. "type": "object",
  42812. "required": [
  42813. "accountid",
  42814. "buildtype",
  42815. "buyorsell",
  42816. "goodsid",
  42817. "marketid",
  42818. "operatetype",
  42819. "orderqty",
  42820. "ordertime",
  42821. "pricemode",
  42822. "tradedate",
  42823. "validtype"
  42824. ],
  42825. "properties": {
  42826. "accountid": {
  42827. "description": "账户ID[报价币种]",
  42828. "type": "integer"
  42829. },
  42830. "buildtype": {
  42831. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  42832. "type": "integer"
  42833. },
  42834. "buyorsell": {
  42835. "description": "买卖 - 0:买 1:卖",
  42836. "type": "integer"
  42837. },
  42838. "cancelorderid": {
  42839. "description": "撤单单号(撤单时填写)",
  42840. "type": "string"
  42841. },
  42842. "cancelqty": {
  42843. "description": "撤单数量",
  42844. "type": "number"
  42845. },
  42846. "clienttype": {
  42847. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  42848. "type": "integer"
  42849. },
  42850. "closefreezecharge": {
  42851. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  42852. "type": "number"
  42853. },
  42854. "closeqty": {
  42855. "description": "平仓数量(先建后平操作 需要记录)",
  42856. "type": "number"
  42857. },
  42858. "closetradeqty": {
  42859. "description": "平仓成交数量(先建后平操作,需要记录)",
  42860. "type": "number"
  42861. },
  42862. "closeunfreezecharge": {
  42863. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  42864. "type": "number"
  42865. },
  42866. "decimalplace": {
  42867. "description": "商品报价小数位",
  42868. "type": "integer"
  42869. },
  42870. "delistingtype": {
  42871. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  42872. "type": "integer"
  42873. },
  42874. "enableqty": {
  42875. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  42876. "type": "number"
  42877. },
  42878. "enumdicname": {
  42879. "description": "单位名称",
  42880. "type": "string"
  42881. },
  42882. "freezecharge": {
  42883. "description": "冻结手续费",
  42884. "type": "number"
  42885. },
  42886. "freezemargin": {
  42887. "description": "冻结保证金(冻结交易金额)",
  42888. "type": "number"
  42889. },
  42890. "goodscode": {
  42891. "description": "商品代码",
  42892. "type": "string"
  42893. },
  42894. "goodsid": {
  42895. "description": "商品ID",
  42896. "type": "integer"
  42897. },
  42898. "goodsname": {
  42899. "description": "商品名称",
  42900. "type": "string"
  42901. },
  42902. "goodunitid": {
  42903. "description": "商品单位id",
  42904. "type": "integer"
  42905. },
  42906. "listingselecttype": {
  42907. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  42908. "type": "integer"
  42909. },
  42910. "marketid": {
  42911. "description": "市场ID",
  42912. "type": "integer"
  42913. },
  42914. "marketname": {
  42915. "description": "市场名称",
  42916. "type": "string"
  42917. },
  42918. "openfreezecharge": {
  42919. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  42920. "type": "number"
  42921. },
  42922. "openqty": {
  42923. "description": "开仓数量(先建后平操作,需要记录)",
  42924. "type": "number"
  42925. },
  42926. "opentradeqty": {
  42927. "description": "开仓成交数量(先建后平操作,需要记录)",
  42928. "type": "number"
  42929. },
  42930. "openunfreezecharge": {
  42931. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  42932. "type": "number"
  42933. },
  42934. "operatetype": {
  42935. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  42936. "type": "integer"
  42937. },
  42938. "operatorid": {
  42939. "description": "登录账号(LoginID)",
  42940. "type": "integer"
  42941. },
  42942. "orderid": {
  42943. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  42944. "type": "string"
  42945. },
  42946. "orderprice": {
  42947. "description": "委托价格",
  42948. "type": "number"
  42949. },
  42950. "orderqty": {
  42951. "description": "委托数量",
  42952. "type": "number"
  42953. },
  42954. "ordersrc": {
  42955. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  42956. "type": "integer"
  42957. },
  42958. "orderstatus": {
  42959. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  42960. "type": "integer"
  42961. },
  42962. "ordertime": {
  42963. "description": "委托时间",
  42964. "type": "string"
  42965. },
  42966. "preorderid": {
  42967. "description": "关联预埋单号(止盈止损单时填写)",
  42968. "type": "string"
  42969. },
  42970. "pricemode": {
  42971. "description": "取价方式 - 1:市价 2: 限价",
  42972. "type": "integer"
  42973. },
  42974. "qtydecimalplace": {
  42975. "description": "商品报价小数位",
  42976. "type": "integer"
  42977. },
  42978. "relatedid": {
  42979. "description": "关联单号(交割单)",
  42980. "type": "string"
  42981. },
  42982. "tradedate": {
  42983. "description": "交易日(yyyyMMdd)",
  42984. "type": "string"
  42985. },
  42986. "trademode": {
  42987. "description": "交易模式",
  42988. "type": "integer"
  42989. },
  42990. "tradeqty": {
  42991. "description": "成交数量",
  42992. "type": "number"
  42993. },
  42994. "unfreezecharge": {
  42995. "description": "解冻手续费",
  42996. "type": "number"
  42997. },
  42998. "unfreezemargin": {
  42999. "description": "解冻保证金",
  43000. "type": "number"
  43001. },
  43002. "validtime": {
  43003. "description": "有效期限",
  43004. "type": "string"
  43005. },
  43006. "validtype": {
  43007. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  43008. "type": "integer"
  43009. },
  43010. "volumetype": {
  43011. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  43012. "type": "integer"
  43013. }
  43014. }
  43015. },
  43016. "order.QueryTradePositionRsp": {
  43017. "type": "object",
  43018. "required": [
  43019. "goodsid"
  43020. ],
  43021. "properties": {
  43022. "accountid": {
  43023. "description": "资金账户",
  43024. "type": "integer"
  43025. },
  43026. "agreeunit": {
  43027. "description": "合约单位",
  43028. "type": "number"
  43029. },
  43030. "averageprice": {
  43031. "description": "持仓均价",
  43032. "type": "number"
  43033. },
  43034. "buyorsell": {
  43035. "description": "方向 - 0:买 1:卖",
  43036. "type": "integer"
  43037. },
  43038. "closetotalqty": {
  43039. "description": "平仓总数量",
  43040. "type": "number"
  43041. },
  43042. "curholderamount": {
  43043. "description": "当前持仓总金额[商品币种]",
  43044. "type": "number"
  43045. },
  43046. "curpositionqty": {
  43047. "description": "当前持仓总数量",
  43048. "type": "number"
  43049. },
  43050. "currencyid": {
  43051. "description": "报价货币ID",
  43052. "type": "integer"
  43053. },
  43054. "curtdposition": {
  43055. "description": "期末今日头寸",
  43056. "type": "number"
  43057. },
  43058. "decimalplace": {
  43059. "description": "报价小数位",
  43060. "type": "integer"
  43061. },
  43062. "enableqty": {
  43063. "description": "可用量",
  43064. "type": "number"
  43065. },
  43066. "fretdposition": {
  43067. "description": "冻结今日头寸",
  43068. "type": "number"
  43069. },
  43070. "frozenqty": {
  43071. "description": "持仓冻结数量",
  43072. "type": "number"
  43073. },
  43074. "goodscode": {
  43075. "description": "商品代码",
  43076. "type": "string"
  43077. },
  43078. "goodsid": {
  43079. "description": "商品Id",
  43080. "type": "integer"
  43081. },
  43082. "goodsname": {
  43083. "description": "商品名称",
  43084. "type": "string"
  43085. },
  43086. "goodunit": {
  43087. "description": "报价单位",
  43088. "type": "string"
  43089. },
  43090. "goodunitid": {
  43091. "description": "报价单位ID",
  43092. "type": "integer"
  43093. },
  43094. "holderamount": {
  43095. "description": "期初持仓总金额[商品币种]",
  43096. "type": "number"
  43097. },
  43098. "lastprice": {
  43099. "description": "最新价",
  43100. "type": "number"
  43101. },
  43102. "marketamount": {
  43103. "description": "市值",
  43104. "type": "number"
  43105. },
  43106. "marketid": {
  43107. "description": "所属市场ID",
  43108. "type": "integer"
  43109. },
  43110. "openreqqty": {
  43111. "description": "开仓申请数量(用于比较最大持仓数量)",
  43112. "type": "number"
  43113. },
  43114. "opentotalqty": {
  43115. "description": "开仓总数量",
  43116. "type": "number"
  43117. },
  43118. "otherfrozenqty": {
  43119. "description": "持仓其他冻结数量(交割冻结)",
  43120. "type": "number"
  43121. },
  43122. "positionpl": {
  43123. "description": "持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  43124. "type": "number"
  43125. },
  43126. "positionplrate": {
  43127. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  43128. "type": "number"
  43129. },
  43130. "positionqty": {
  43131. "description": "期初持仓数量",
  43132. "type": "number"
  43133. },
  43134. "qtydecimalplace": {
  43135. "description": "成交量小数位",
  43136. "type": "integer"
  43137. },
  43138. "refgoodscode": {
  43139. "description": "参考商品代码",
  43140. "type": "string"
  43141. },
  43142. "refgoodsid": {
  43143. "description": "参考商品ID",
  43144. "type": "integer"
  43145. },
  43146. "tnqty": {
  43147. "description": "T+N冻结总量",
  43148. "type": "number"
  43149. },
  43150. "tnusedqty": {
  43151. "description": "T+N使用量(可以使用T+N的冻结数量)",
  43152. "type": "number"
  43153. },
  43154. "trademode": {
  43155. "description": "交易模式",
  43156. "type": "integer"
  43157. },
  43158. "tradeproperty": {
  43159. "description": "交易属性",
  43160. "type": "integer"
  43161. },
  43162. "usedmargin": {
  43163. "description": "占用保证金[商品币种]",
  43164. "type": "number"
  43165. }
  43166. }
  43167. },
  43168. "pb.GoodsMarginCfgStruct": {
  43169. "type": "object",
  43170. "properties": {
  43171. "CustomerTypeID": {
  43172. "description": "投资者客户类型",
  43173. "type": "integer"
  43174. },
  43175. "GoodsID": {
  43176. "description": "商品ID",
  43177. "type": "integer"
  43178. },
  43179. "IsDefault": {
  43180. "description": "是否默认标志位",
  43181. "type": "integer"
  43182. },
  43183. "LockMarginValue": {
  43184. "description": "锁仓保证金",
  43185. "type": "number"
  43186. },
  43187. "MarginAlgorithm": {
  43188. "description": "保证金计算方式",
  43189. "type": "integer"
  43190. },
  43191. "MarketMarginValue": {
  43192. "description": "即市保证金值",
  43193. "type": "number"
  43194. },
  43195. "RealMarginAlgorithm": {
  43196. "description": "实付保证金计算方式",
  43197. "type": "integer"
  43198. },
  43199. "RealMarginValue": {
  43200. "description": "实付比例",
  43201. "type": "number"
  43202. },
  43203. "ReckonMarginValue": {
  43204. "description": "结算保证金值",
  43205. "type": "number"
  43206. }
  43207. }
  43208. },
  43209. "quote.HistoryData": {
  43210. "type": "object",
  43211. "properties": {
  43212. "c": {
  43213. "description": "收盘价",
  43214. "type": "number"
  43215. },
  43216. "f": {
  43217. "description": "是否补充数据",
  43218. "type": "boolean"
  43219. },
  43220. "h": {
  43221. "description": "最高价",
  43222. "type": "number"
  43223. },
  43224. "hv": {
  43225. "description": "持仓量",
  43226. "type": "integer"
  43227. },
  43228. "l": {
  43229. "description": "最低价",
  43230. "type": "number"
  43231. },
  43232. "o": {
  43233. "description": "开盘价",
  43234. "type": "number"
  43235. },
  43236. "s": {
  43237. "description": "结算价,日线周期(包括)以上才有",
  43238. "type": "number"
  43239. },
  43240. "ts": {
  43241. "description": "时间",
  43242. "type": "string"
  43243. },
  43244. "tt": {
  43245. "description": "总金额",
  43246. "type": "number"
  43247. },
  43248. "tv": {
  43249. "description": "总量(成交量)",
  43250. "type": "integer"
  43251. }
  43252. }
  43253. },
  43254. "quote.HistoryTikData": {
  43255. "type": "object",
  43256. "properties": {
  43257. "AV": {
  43258. "description": "卖量",
  43259. "type": "integer"
  43260. },
  43261. "Ask": {
  43262. "description": "卖价",
  43263. "type": "number"
  43264. },
  43265. "BV": {
  43266. "description": "买量",
  43267. "type": "integer"
  43268. },
  43269. "Bid": {
  43270. "description": "买价",
  43271. "type": "number"
  43272. },
  43273. "HI": {
  43274. "description": "单笔持仓",
  43275. "type": "integer"
  43276. },
  43277. "HV": {
  43278. "description": "持仓量",
  43279. "type": "integer"
  43280. },
  43281. "PE": {
  43282. "description": "现价",
  43283. "type": "number"
  43284. },
  43285. "TDR": {
  43286. "description": "交易方向,0:买 1:卖",
  43287. "type": "integer"
  43288. },
  43289. "TK": {
  43290. "description": "交易类型",
  43291. "type": "integer"
  43292. },
  43293. "TS": {
  43294. "description": "行情时间文本",
  43295. "type": "string"
  43296. },
  43297. "TT": {
  43298. "description": "现金额",
  43299. "type": "number"
  43300. },
  43301. "Vol": {
  43302. "description": "现量",
  43303. "type": "integer"
  43304. }
  43305. }
  43306. },
  43307. "quote.QueryQuoteDayRsp": {
  43308. "type": "object",
  43309. "properties": {
  43310. "ask": {
  43311. "description": "卖1",
  43312. "type": "number"
  43313. },
  43314. "ask10": {
  43315. "description": "卖10",
  43316. "type": "number"
  43317. },
  43318. "ask2": {
  43319. "description": "卖2",
  43320. "type": "number"
  43321. },
  43322. "ask3": {
  43323. "description": "卖3",
  43324. "type": "number"
  43325. },
  43326. "ask4": {
  43327. "description": "卖4",
  43328. "type": "number"
  43329. },
  43330. "ask5": {
  43331. "description": "卖5",
  43332. "type": "number"
  43333. },
  43334. "ask6": {
  43335. "description": "卖6",
  43336. "type": "number"
  43337. },
  43338. "ask7": {
  43339. "description": "卖7",
  43340. "type": "number"
  43341. },
  43342. "ask8": {
  43343. "description": "卖8",
  43344. "type": "number"
  43345. },
  43346. "ask9": {
  43347. "description": "卖9",
  43348. "type": "number"
  43349. },
  43350. "askorderid": {
  43351. "description": "卖单号1",
  43352. "type": "integer"
  43353. },
  43354. "askorderid2": {
  43355. "description": "卖单号2",
  43356. "type": "integer"
  43357. },
  43358. "askorderid3": {
  43359. "description": "卖单号3",
  43360. "type": "integer"
  43361. },
  43362. "askorderid4": {
  43363. "description": "卖单号4",
  43364. "type": "integer"
  43365. },
  43366. "askorderid5": {
  43367. "description": "卖单号5",
  43368. "type": "integer"
  43369. },
  43370. "askordervolume": {
  43371. "description": "卖单量1",
  43372. "type": "integer"
  43373. },
  43374. "askordervolume10": {
  43375. "description": "卖单量10",
  43376. "type": "integer"
  43377. },
  43378. "askordervolume2": {
  43379. "description": "卖单量2",
  43380. "type": "integer"
  43381. },
  43382. "askordervolume3": {
  43383. "description": "卖单量3",
  43384. "type": "integer"
  43385. },
  43386. "askordervolume4": {
  43387. "description": "卖单量4",
  43388. "type": "integer"
  43389. },
  43390. "askordervolume5": {
  43391. "description": "卖单量5",
  43392. "type": "integer"
  43393. },
  43394. "askordervolume6": {
  43395. "description": "卖单量6",
  43396. "type": "integer"
  43397. },
  43398. "askordervolume7": {
  43399. "description": "卖单量7",
  43400. "type": "integer"
  43401. },
  43402. "askordervolume8": {
  43403. "description": "卖单量8",
  43404. "type": "integer"
  43405. },
  43406. "askordervolume9": {
  43407. "description": "卖单量9",
  43408. "type": "integer"
  43409. },
  43410. "askqueueinfo": {
  43411. "description": "大利市卖港股用",
  43412. "type": "string"
  43413. },
  43414. "askvolume": {
  43415. "description": "卖量1",
  43416. "type": "integer"
  43417. },
  43418. "askvolume10": {
  43419. "description": "卖量10",
  43420. "type": "integer"
  43421. },
  43422. "askvolume2": {
  43423. "description": "卖量2",
  43424. "type": "integer"
  43425. },
  43426. "askvolume3": {
  43427. "description": "卖量3",
  43428. "type": "integer"
  43429. },
  43430. "askvolume4": {
  43431. "description": "卖量4",
  43432. "type": "integer"
  43433. },
  43434. "askvolume5": {
  43435. "description": "卖量5",
  43436. "type": "integer"
  43437. },
  43438. "askvolume6": {
  43439. "description": "卖量6",
  43440. "type": "integer"
  43441. },
  43442. "askvolume7": {
  43443. "description": "卖量7",
  43444. "type": "integer"
  43445. },
  43446. "askvolume8": {
  43447. "description": "卖量8",
  43448. "type": "integer"
  43449. },
  43450. "askvolume9": {
  43451. "description": "卖量9",
  43452. "type": "integer"
  43453. },
  43454. "averageprice": {
  43455. "description": "均价",
  43456. "type": "number"
  43457. },
  43458. "bid": {
  43459. "description": "买1",
  43460. "type": "number"
  43461. },
  43462. "bid10": {
  43463. "description": "买10",
  43464. "type": "number"
  43465. },
  43466. "bid2": {
  43467. "description": "买2",
  43468. "type": "number"
  43469. },
  43470. "bid3": {
  43471. "description": "买3",
  43472. "type": "number"
  43473. },
  43474. "bid4": {
  43475. "description": "买4",
  43476. "type": "number"
  43477. },
  43478. "bid5": {
  43479. "description": "买5",
  43480. "type": "number"
  43481. },
  43482. "bid6": {
  43483. "description": "买6",
  43484. "type": "number"
  43485. },
  43486. "bid7": {
  43487. "description": "买7",
  43488. "type": "number"
  43489. },
  43490. "bid8": {
  43491. "description": "买8",
  43492. "type": "number"
  43493. },
  43494. "bid9": {
  43495. "description": "买9",
  43496. "type": "number"
  43497. },
  43498. "bidorderid": {
  43499. "description": "买单号1",
  43500. "type": "integer"
  43501. },
  43502. "bidorderid2": {
  43503. "description": "买单号2",
  43504. "type": "integer"
  43505. },
  43506. "bidorderid3": {
  43507. "description": "买单号3",
  43508. "type": "integer"
  43509. },
  43510. "bidorderid4": {
  43511. "description": "买单号4",
  43512. "type": "integer"
  43513. },
  43514. "bidorderid5": {
  43515. "description": "买单号5",
  43516. "type": "integer"
  43517. },
  43518. "bidordervolume": {
  43519. "description": "买单量1",
  43520. "type": "integer"
  43521. },
  43522. "bidordervolume10": {
  43523. "description": "买单量10",
  43524. "type": "integer"
  43525. },
  43526. "bidordervolume2": {
  43527. "description": "买单量2",
  43528. "type": "integer"
  43529. },
  43530. "bidordervolume3": {
  43531. "description": "买单量3",
  43532. "type": "integer"
  43533. },
  43534. "bidordervolume4": {
  43535. "description": "买单量4",
  43536. "type": "integer"
  43537. },
  43538. "bidordervolume5": {
  43539. "description": "买单量5",
  43540. "type": "integer"
  43541. },
  43542. "bidordervolume6": {
  43543. "description": "买单量6",
  43544. "type": "integer"
  43545. },
  43546. "bidordervolume7": {
  43547. "description": "买单量7",
  43548. "type": "integer"
  43549. },
  43550. "bidordervolume8": {
  43551. "description": "买单量8",
  43552. "type": "integer"
  43553. },
  43554. "bidordervolume9": {
  43555. "description": "买单量9",
  43556. "type": "integer"
  43557. },
  43558. "bidqueueinfo": {
  43559. "description": "大利市买港股用",
  43560. "type": "string"
  43561. },
  43562. "bidvolume": {
  43563. "description": "买量1",
  43564. "type": "integer"
  43565. },
  43566. "bidvolume10": {
  43567. "description": "买量10",
  43568. "type": "integer"
  43569. },
  43570. "bidvolume2": {
  43571. "description": "买量2",
  43572. "type": "integer"
  43573. },
  43574. "bidvolume3": {
  43575. "description": "买量3",
  43576. "type": "integer"
  43577. },
  43578. "bidvolume4": {
  43579. "description": "买量4",
  43580. "type": "integer"
  43581. },
  43582. "bidvolume5": {
  43583. "description": "买量5",
  43584. "type": "integer"
  43585. },
  43586. "bidvolume6": {
  43587. "description": "买量6",
  43588. "type": "integer"
  43589. },
  43590. "bidvolume7": {
  43591. "description": "买量7",
  43592. "type": "integer"
  43593. },
  43594. "bidvolume8": {
  43595. "description": "买量8",
  43596. "type": "integer"
  43597. },
  43598. "bidvolume9": {
  43599. "description": "买量9",
  43600. "type": "integer"
  43601. },
  43602. "calloptionpremiums": {
  43603. "description": "认购期权1",
  43604. "type": "integer"
  43605. },
  43606. "calloptionpremiums2": {
  43607. "description": "认购期权2",
  43608. "type": "integer"
  43609. },
  43610. "calloptionpremiums3": {
  43611. "description": "认购期权3",
  43612. "type": "integer"
  43613. },
  43614. "calloptionpremiums4": {
  43615. "description": "认购期权4",
  43616. "type": "integer"
  43617. },
  43618. "calloptionpremiums5": {
  43619. "description": "认购期权5",
  43620. "type": "integer"
  43621. },
  43622. "cleartime": {
  43623. "description": "清盘时间",
  43624. "type": "integer"
  43625. },
  43626. "exchangecode": {
  43627. "description": "交易所代码",
  43628. "type": "integer"
  43629. },
  43630. "exchangedate": {
  43631. "description": "交易日",
  43632. "type": "integer"
  43633. },
  43634. "goodscode": {
  43635. "description": "商品代码",
  43636. "type": "string"
  43637. },
  43638. "grepmarketprice": {
  43639. "description": "暗盘价 港股专用",
  43640. "type": "number"
  43641. },
  43642. "highest": {
  43643. "description": "最高价",
  43644. "type": "number"
  43645. },
  43646. "holdincrement": {
  43647. "description": "单笔持仓",
  43648. "type": "integer"
  43649. },
  43650. "holdvolume": {
  43651. "description": "持仓",
  43652. "type": "integer"
  43653. },
  43654. "iep": {
  43655. "description": "平衡价 港股专用",
  43656. "type": "number"
  43657. },
  43658. "iev": {
  43659. "description": "平衡量 港股专用",
  43660. "type": "number"
  43661. },
  43662. "inventory": {
  43663. "description": "库存",
  43664. "type": "integer"
  43665. },
  43666. "iscleared": {
  43667. "description": "是否清盘标志",
  43668. "type": "integer"
  43669. },
  43670. "issettled": {
  43671. "description": "是否结算标志",
  43672. "type": "integer"
  43673. },
  43674. "last": {
  43675. "description": "最新价",
  43676. "type": "number"
  43677. },
  43678. "lastlot": {
  43679. "description": "最新成交手数",
  43680. "type": "integer"
  43681. },
  43682. "lasttime": {
  43683. "description": "行情时间(只有现价变化行情时间才变化)",
  43684. "type": "string"
  43685. },
  43686. "lastturnover": {
  43687. "description": "最新成交金额",
  43688. "type": "number"
  43689. },
  43690. "lastvolume": {
  43691. "description": "最新成交量",
  43692. "type": "integer"
  43693. },
  43694. "limitdown": {
  43695. "description": "跌停价",
  43696. "type": "number"
  43697. },
  43698. "limitup": {
  43699. "description": "涨停价",
  43700. "type": "number"
  43701. },
  43702. "lowest": {
  43703. "description": "最低价",
  43704. "type": "number"
  43705. },
  43706. "nontotalholdervolume": {
  43707. "description": "非交易持仓量",
  43708. "type": "integer"
  43709. },
  43710. "nontotallot": {
  43711. "description": "非交易总手数",
  43712. "type": "integer"
  43713. },
  43714. "nontotalturnover": {
  43715. "description": "非交易总金额",
  43716. "type": "integer"
  43717. },
  43718. "nontotalvolume": {
  43719. "description": "非交易总量",
  43720. "type": "integer"
  43721. },
  43722. "opened": {
  43723. "description": "开盘价",
  43724. "type": "number"
  43725. },
  43726. "opentime": {
  43727. "description": "开盘时间",
  43728. "type": "string"
  43729. },
  43730. "orderid": {
  43731. "description": "序号",
  43732. "type": "integer"
  43733. },
  43734. "preclose": {
  43735. "description": "昨收",
  43736. "type": "number"
  43737. },
  43738. "preholdvolume": {
  43739. "description": "昨持仓",
  43740. "type": "integer"
  43741. },
  43742. "presettle": {
  43743. "description": "昨结价",
  43744. "type": "number"
  43745. },
  43746. "publictradetype": {
  43747. "description": "公共交易标志类型 港股专用",
  43748. "type": "string"
  43749. },
  43750. "putoptionpremiums": {
  43751. "description": "认沽期权1",
  43752. "type": "integer"
  43753. },
  43754. "putoptionpremiums2": {
  43755. "description": "认沽期权2",
  43756. "type": "integer"
  43757. },
  43758. "putoptionpremiums3": {
  43759. "description": "认沽期权3",
  43760. "type": "integer"
  43761. },
  43762. "putoptionpremiums4": {
  43763. "description": "认沽期权4",
  43764. "type": "integer"
  43765. },
  43766. "putoptionpremiums5": {
  43767. "description": "认沽期权5",
  43768. "type": "integer"
  43769. },
  43770. "settle": {
  43771. "description": "结算价",
  43772. "type": "number"
  43773. },
  43774. "strikeprice": {
  43775. "description": "发行价",
  43776. "type": "number"
  43777. },
  43778. "totalaskvolume": {
  43779. "description": "内盘",
  43780. "type": "integer"
  43781. },
  43782. "totalbidvolume": {
  43783. "description": "外盘",
  43784. "type": "integer"
  43785. },
  43786. "totallot": {
  43787. "description": "总手数",
  43788. "type": "integer"
  43789. },
  43790. "totalturnover": {
  43791. "description": "总金额",
  43792. "type": "number"
  43793. },
  43794. "totalvolume": {
  43795. "description": "总量",
  43796. "type": "integer"
  43797. },
  43798. "utclasttime": {
  43799. "description": "utc的行情时间",
  43800. "type": "string"
  43801. }
  43802. }
  43803. },
  43804. "quote.QueryTSDataRsp": {
  43805. "type": "object",
  43806. "properties": {
  43807. "Count": {
  43808. "description": "交易日应有数据个数",
  43809. "type": "integer"
  43810. },
  43811. "decimalPlace": {
  43812. "description": "小数位",
  43813. "type": "integer"
  43814. },
  43815. "endTime": {
  43816. "description": "结束时间",
  43817. "type": "string"
  43818. },
  43819. "goodsCode": {
  43820. "description": "商品代码",
  43821. "type": "string"
  43822. },
  43823. "historyDatas": {
  43824. "description": "历史数据",
  43825. "type": "array",
  43826. "items": {
  43827. "$ref": "#/definitions/quote.HistoryData"
  43828. }
  43829. },
  43830. "outGoodsCode": {
  43831. "description": "外部商品代码",
  43832. "type": "string"
  43833. },
  43834. "preSettle": {
  43835. "description": "昨结价",
  43836. "type": "number"
  43837. },
  43838. "runSteps": {
  43839. "description": "交易日开休市计划",
  43840. "type": "array",
  43841. "items": {
  43842. "$ref": "#/definitions/quote.TSDataRunStep"
  43843. }
  43844. },
  43845. "startTime": {
  43846. "description": "开始时间",
  43847. "type": "string"
  43848. },
  43849. "tradeDate": {
  43850. "description": "交易日",
  43851. "type": "string"
  43852. }
  43853. }
  43854. },
  43855. "quote.TSDataRunStep": {
  43856. "type": "object",
  43857. "properties": {
  43858. "end": {
  43859. "description": "真实结束时间",
  43860. "type": "string"
  43861. },
  43862. "endflag": {
  43863. "description": "结束日标识 - (-1:上日 0:当日 1:次日 )",
  43864. "type": "integer"
  43865. },
  43866. "endtime": {
  43867. "description": "结束时间(HH:mm)",
  43868. "type": "string"
  43869. },
  43870. "endweekday": {
  43871. "description": "结束周几",
  43872. "type": "integer"
  43873. },
  43874. "groupid": {
  43875. "description": "分组ID",
  43876. "type": "integer"
  43877. },
  43878. "runstep": {
  43879. "description": "运行阶段 - 2:连续交易",
  43880. "type": "integer"
  43881. },
  43882. "sectionid": {
  43883. "description": "从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几",
  43884. "type": "integer"
  43885. },
  43886. "start": {
  43887. "description": "真实开始时间",
  43888. "type": "string"
  43889. },
  43890. "startflag": {
  43891. "description": "开始日标识 - (-1:上日 0:当日 1:次日 )",
  43892. "type": "integer"
  43893. },
  43894. "starttime": {
  43895. "description": "起始时间(HH:mm)",
  43896. "type": "string"
  43897. },
  43898. "startweekday": {
  43899. "description": "起始周几",
  43900. "type": "integer"
  43901. },
  43902. "tradeweekday": {
  43903. "description": "交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六",
  43904. "type": "integer"
  43905. }
  43906. }
  43907. },
  43908. "szdz.QueryConvertLogRsp": {
  43909. "type": "object",
  43910. "required": [
  43911. "logid"
  43912. ],
  43913. "properties": {
  43914. "accountid": {
  43915. "description": "资金账户ID",
  43916. "type": "integer"
  43917. },
  43918. "clientticket": {
  43919. "description": "客户端流水号",
  43920. "type": "string"
  43921. },
  43922. "converttype": {
  43923. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  43924. "type": "integer"
  43925. },
  43926. "createtime": {
  43927. "description": "记账时间",
  43928. "type": "string"
  43929. },
  43930. "daymaxvalue": {
  43931. "description": "配置当日最大转入限制",
  43932. "type": "number"
  43933. },
  43934. "daymaxvalue2": {
  43935. "description": "配置当日最大转入限制(转入)",
  43936. "type": "number"
  43937. },
  43938. "goodscode": {
  43939. "description": "商品代码",
  43940. "type": "string"
  43941. },
  43942. "goodsname": {
  43943. "description": "商品名称",
  43944. "type": "string"
  43945. },
  43946. "handlestatus": {
  43947. "description": "处理状态",
  43948. "type": "integer"
  43949. },
  43950. "innergoodsid": {
  43951. "description": "内部商品ID",
  43952. "type": "integer"
  43953. },
  43954. "inratio": {
  43955. "description": "配置转入比值",
  43956. "type": "integer"
  43957. },
  43958. "invalue": {
  43959. "description": "目标值",
  43960. "type": "number"
  43961. },
  43962. "logid": {
  43963. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  43964. "type": "integer"
  43965. },
  43966. "mobile": {
  43967. "description": "手机号码(加密存储)",
  43968. "type": "string"
  43969. },
  43970. "outergoodscode": {
  43971. "description": "外部商品代码[JD\\PD]",
  43972. "type": "string"
  43973. },
  43974. "outratio": {
  43975. "description": "配置转出比值",
  43976. "type": "integer"
  43977. },
  43978. "outvalue": {
  43979. "description": "源值",
  43980. "type": "number"
  43981. },
  43982. "pddecimalplace": {
  43983. "description": "PD小数位",
  43984. "type": "integer"
  43985. },
  43986. "qty": {
  43987. "description": "数量",
  43988. "type": "string"
  43989. },
  43990. "remark": {
  43991. "description": "备注",
  43992. "type": "string"
  43993. },
  43994. "sessionid": {
  43995. "description": "会话ID",
  43996. "type": "integer"
  43997. },
  43998. "timemaxvalue": {
  43999. "description": "配置单次最大转入限制",
  44000. "type": "number"
  44001. },
  44002. "timemaxvalue2": {
  44003. "description": "配置单次最大转入限制(转入)",
  44004. "type": "number"
  44005. },
  44006. "timeminvalue": {
  44007. "description": "配置单次最小数量限制",
  44008. "type": "number"
  44009. },
  44010. "timeminvalue2": {
  44011. "description": "配置单次最小数量限制(转入)",
  44012. "type": "number"
  44013. },
  44014. "tradedate": {
  44015. "description": "交易日(yyyyMMdd)",
  44016. "type": "string"
  44017. },
  44018. "userid": {
  44019. "description": "用户ID",
  44020. "type": "integer"
  44021. }
  44022. }
  44023. },
  44024. "szdz.QueryGoodsPickupRsp": {
  44025. "type": "object",
  44026. "required": [
  44027. "takeorderid"
  44028. ],
  44029. "properties": {
  44030. "accountid": {
  44031. "description": "账户ID",
  44032. "type": "integer"
  44033. },
  44034. "address": {
  44035. "description": "提货人详细地址",
  44036. "type": "string"
  44037. },
  44038. "auditer": {
  44039. "description": "审核人",
  44040. "type": "integer"
  44041. },
  44042. "audittime": {
  44043. "description": "审核时间",
  44044. "type": "string"
  44045. },
  44046. "cardnum": {
  44047. "description": "提货人证件号码",
  44048. "type": "string"
  44049. },
  44050. "cardtypeid": {
  44051. "description": "提货人证件类型",
  44052. "type": "integer"
  44053. },
  44054. "checkremark": {
  44055. "description": "审核备注",
  44056. "type": "string"
  44057. },
  44058. "goodscode": {
  44059. "description": "商品代码",
  44060. "type": "string"
  44061. },
  44062. "goodsid": {
  44063. "description": "商品ID",
  44064. "type": "integer"
  44065. },
  44066. "goodsname": {
  44067. "description": "商品名称",
  44068. "type": "string"
  44069. },
  44070. "handlestatus": {
  44071. "description": "处理状态",
  44072. "type": "integer"
  44073. },
  44074. "marketid": {
  44075. "description": "市场ID",
  44076. "type": "integer"
  44077. },
  44078. "phonenum": {
  44079. "description": "提货人联系方式",
  44080. "type": "string"
  44081. },
  44082. "qty": {
  44083. "description": "提货数量",
  44084. "type": "number"
  44085. },
  44086. "recivername": {
  44087. "description": "提货人姓名",
  44088. "type": "string"
  44089. },
  44090. "reqtime": {
  44091. "description": "更新时间",
  44092. "type": "string"
  44093. },
  44094. "takemode": {
  44095. "description": "提货方式 - 2:自提 3:配送",
  44096. "type": "integer"
  44097. },
  44098. "takeorderid": {
  44099. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  44100. "type": "string"
  44101. },
  44102. "takeorderstatus": {
  44103. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  44104. "type": "integer"
  44105. },
  44106. "takeremark": {
  44107. "description": "提货备注",
  44108. "type": "string"
  44109. },
  44110. "tradedate": {
  44111. "description": "交易日(yyyyMMdd)",
  44112. "type": "string"
  44113. },
  44114. "userid": {
  44115. "description": "用户ID",
  44116. "type": "integer"
  44117. }
  44118. }
  44119. },
  44120. "szdz.QueryRecieptOrderRsp": {
  44121. "type": "object",
  44122. "required": [
  44123. "ordertime"
  44124. ],
  44125. "properties": {
  44126. "accountName": {
  44127. "description": "所属账号名称(已脱敏)",
  44128. "type": "string"
  44129. },
  44130. "accountid": {
  44131. "description": "资金账号",
  44132. "type": "integer"
  44133. },
  44134. "buyorsell": {
  44135. "description": "方向 - 0:买 1:卖",
  44136. "type": "integer"
  44137. },
  44138. "enableqty": {
  44139. "description": "可摘数量",
  44140. "type": "integer"
  44141. },
  44142. "goodscode": {
  44143. "description": "商品代码",
  44144. "type": "string"
  44145. },
  44146. "goodsid": {
  44147. "description": "商品ID",
  44148. "type": "integer"
  44149. },
  44150. "goodsname": {
  44151. "description": "商品名称",
  44152. "type": "string"
  44153. },
  44154. "orderid": {
  44155. "description": "委托单号",
  44156. "type": "string"
  44157. },
  44158. "orderprice": {
  44159. "description": "委托价格",
  44160. "type": "number"
  44161. },
  44162. "ordertime": {
  44163. "description": "委托时间",
  44164. "type": "string"
  44165. },
  44166. "tradedate": {
  44167. "description": "交易日(yyyyMMdd)",
  44168. "type": "string"
  44169. }
  44170. }
  44171. },
  44172. "szdz.QuerySZDZTradePositionRsp": {
  44173. "type": "object",
  44174. "properties": {
  44175. "accountid": {
  44176. "description": "账号Id",
  44177. "type": "integer"
  44178. },
  44179. "agreeunit": {
  44180. "description": "合约单位",
  44181. "type": "number"
  44182. },
  44183. "averageprice": {
  44184. "description": "持仓均价",
  44185. "type": "number"
  44186. },
  44187. "buyorsell": {
  44188. "description": "方向 - 0:买 1:卖",
  44189. "type": "integer"
  44190. },
  44191. "closetotalqty": {
  44192. "description": "平仓总数量",
  44193. "type": "integer"
  44194. },
  44195. "curholderamount": {
  44196. "description": "当前持仓总金额",
  44197. "type": "number"
  44198. },
  44199. "curpositionqty": {
  44200. "description": "当前持仓总数量",
  44201. "type": "integer"
  44202. },
  44203. "currencyid": {
  44204. "description": "报价货币ID",
  44205. "type": "integer"
  44206. },
  44207. "curtdposition": {
  44208. "description": "期末今日头寸",
  44209. "type": "integer"
  44210. },
  44211. "decimalplace": {
  44212. "description": "报价小数位",
  44213. "type": "integer"
  44214. },
  44215. "enableqty": {
  44216. "description": "可用量",
  44217. "type": "integer"
  44218. },
  44219. "fretdposition": {
  44220. "description": "冻结今日头寸",
  44221. "type": "integer"
  44222. },
  44223. "frozenqty": {
  44224. "description": "持仓冻结数量",
  44225. "type": "integer"
  44226. },
  44227. "goodscode": {
  44228. "description": "商品代码(内部)",
  44229. "type": "string"
  44230. },
  44231. "goodsid": {
  44232. "description": "商品Id",
  44233. "type": "integer"
  44234. },
  44235. "goodsname": {
  44236. "description": "商品名称",
  44237. "type": "string"
  44238. },
  44239. "goodunit": {
  44240. "description": "报价单位",
  44241. "type": "string"
  44242. },
  44243. "goodunitid": {
  44244. "description": "报价单位ID",
  44245. "type": "integer"
  44246. },
  44247. "holderamount": {
  44248. "description": "期初持仓总金额",
  44249. "type": "number"
  44250. },
  44251. "marketid": {
  44252. "description": "市场ID",
  44253. "type": "integer"
  44254. },
  44255. "openreqqty": {
  44256. "description": "开仓申请数量",
  44257. "type": "integer"
  44258. },
  44259. "opentotalqty": {
  44260. "description": "开仓总数量",
  44261. "type": "integer"
  44262. },
  44263. "otherfrozenqty": {
  44264. "description": "持仓其他冻结数量(交割冻结)",
  44265. "type": "integer"
  44266. },
  44267. "positionqty": {
  44268. "description": "期初持仓数量",
  44269. "type": "integer"
  44270. },
  44271. "szdz3freezqty": {
  44272. "description": "尚志大宗转换冻结总数量",
  44273. "type": "integer"
  44274. },
  44275. "tnqty": {
  44276. "description": "T+N冻结总量",
  44277. "type": "integer"
  44278. },
  44279. "tnusedqty": {
  44280. "description": "T+N使用量",
  44281. "type": "integer"
  44282. },
  44283. "trademode": {
  44284. "description": "交易模式",
  44285. "type": "integer"
  44286. },
  44287. "usedmargin": {
  44288. "description": "占用保证金",
  44289. "type": "number"
  44290. }
  44291. }
  44292. },
  44293. "taaccount.QueryAmountLogRsp": {
  44294. "type": "object",
  44295. "required": [
  44296. "accountid",
  44297. "amount",
  44298. "amountadjusttype",
  44299. "autoid",
  44300. "balance",
  44301. "createtime",
  44302. "currentbalance",
  44303. "operatetype"
  44304. ],
  44305. "properties": {
  44306. "OPERATETYPENAME": {
  44307. "description": "资金操作类型名称",
  44308. "type": "string"
  44309. },
  44310. "accountid": {
  44311. "description": "资金账户ID",
  44312. "type": "integer"
  44313. },
  44314. "agoodscode": {
  44315. "description": "竞拍商品代码",
  44316. "type": "string"
  44317. },
  44318. "agoodsname": {
  44319. "description": "竞拍商品名称",
  44320. "type": "string"
  44321. },
  44322. "amount": {
  44323. "description": "资金金额",
  44324. "type": "number"
  44325. },
  44326. "amountadjusttype": {
  44327. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  44328. "type": "integer"
  44329. },
  44330. "autoid": {
  44331. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  44332. "type": "integer"
  44333. },
  44334. "balance": {
  44335. "description": "期初余额",
  44336. "type": "number"
  44337. },
  44338. "businesscode": {
  44339. "description": "业务编号",
  44340. "type": "integer"
  44341. },
  44342. "createtime": {
  44343. "description": "发生时间",
  44344. "type": "string"
  44345. },
  44346. "currencyid": {
  44347. "description": "币种ID",
  44348. "type": "integer"
  44349. },
  44350. "currentbalance": {
  44351. "description": "期末余额(变动后金额)",
  44352. "type": "number"
  44353. },
  44354. "dgoodscode": {
  44355. "description": "交割商品代码",
  44356. "type": "string"
  44357. },
  44358. "dgoodsname": {
  44359. "description": "交割商品名称",
  44360. "type": "string"
  44361. },
  44362. "goodscode": {
  44363. "description": "商品代码",
  44364. "type": "string"
  44365. },
  44366. "goodsid": {
  44367. "description": "商品ID",
  44368. "type": "integer"
  44369. },
  44370. "goodsname": {
  44371. "description": "商品名称",
  44372. "type": "string"
  44373. },
  44374. "marketid": {
  44375. "description": "市场ID",
  44376. "type": "integer"
  44377. },
  44378. "marketname": {
  44379. "description": "市场名称",
  44380. "type": "string"
  44381. },
  44382. "moneyticket": {
  44383. "description": "资金流水号:银行端流水号",
  44384. "type": "integer"
  44385. },
  44386. "operatetype": {
  44387. "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:营销收款",
  44388. "type": "integer"
  44389. },
  44390. "relationorderid": {
  44391. "description": "关联单号",
  44392. "type": "string"
  44393. },
  44394. "remark": {
  44395. "description": "备注",
  44396. "type": "string"
  44397. },
  44398. "trademode": {
  44399. "description": "交易模式",
  44400. "type": "integer"
  44401. }
  44402. }
  44403. },
  44404. "taaccount.QueryHisAmountLogRsp": {
  44405. "type": "object",
  44406. "required": [
  44407. "accountid",
  44408. "amount",
  44409. "amountadjusttype",
  44410. "autoid",
  44411. "balance",
  44412. "createtime",
  44413. "currentbalance",
  44414. "histradedate",
  44415. "operatetype"
  44416. ],
  44417. "properties": {
  44418. "OPERATETYPENAME": {
  44419. "description": "资金操作类型名称",
  44420. "type": "string"
  44421. },
  44422. "accountid": {
  44423. "description": "资金账户ID",
  44424. "type": "integer"
  44425. },
  44426. "agoodscode": {
  44427. "description": "竞拍商品代码",
  44428. "type": "string"
  44429. },
  44430. "agoodsname": {
  44431. "description": "竞拍商品名称",
  44432. "type": "string"
  44433. },
  44434. "amount": {
  44435. "description": "资金金额",
  44436. "type": "number"
  44437. },
  44438. "amountadjusttype": {
  44439. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  44440. "type": "integer"
  44441. },
  44442. "autoid": {
  44443. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  44444. "type": "integer"
  44445. },
  44446. "balance": {
  44447. "description": "期初余额",
  44448. "type": "number"
  44449. },
  44450. "businesscode": {
  44451. "description": "业务编号",
  44452. "type": "integer"
  44453. },
  44454. "createtime": {
  44455. "description": "发生时间",
  44456. "type": "string"
  44457. },
  44458. "currencyid": {
  44459. "description": "币种ID",
  44460. "type": "integer"
  44461. },
  44462. "currentbalance": {
  44463. "description": "期末余额(变动后金额)",
  44464. "type": "number"
  44465. },
  44466. "dgoodscode": {
  44467. "description": "交割商品代码",
  44468. "type": "string"
  44469. },
  44470. "dgoodsname": {
  44471. "description": "交割商品名称",
  44472. "type": "string"
  44473. },
  44474. "goodscode": {
  44475. "description": "商品代码",
  44476. "type": "string"
  44477. },
  44478. "goodsid": {
  44479. "description": "商品ID",
  44480. "type": "integer"
  44481. },
  44482. "goodsname": {
  44483. "description": "商品名称",
  44484. "type": "string"
  44485. },
  44486. "histradedate": {
  44487. "description": "历史交易日",
  44488. "type": "string"
  44489. },
  44490. "isvaliddata": {
  44491. "description": "是否有效 - 0:无效 1:有效",
  44492. "type": "integer"
  44493. },
  44494. "marketid": {
  44495. "description": "市场ID",
  44496. "type": "integer"
  44497. },
  44498. "marketname": {
  44499. "description": "市场名称",
  44500. "type": "string"
  44501. },
  44502. "moneyticket": {
  44503. "description": "资金流水号:银行端流水号",
  44504. "type": "integer"
  44505. },
  44506. "operatetype": {
  44507. "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:营销收款",
  44508. "type": "integer"
  44509. },
  44510. "relationorderid": {
  44511. "description": "关联单号",
  44512. "type": "string"
  44513. },
  44514. "remark": {
  44515. "description": "备注",
  44516. "type": "string"
  44517. },
  44518. "trademode": {
  44519. "description": "交易模式",
  44520. "type": "integer"
  44521. }
  44522. }
  44523. },
  44524. "trade.QueryRecieptOrderRsp": {
  44525. "type": "object",
  44526. "required": [
  44527. "ordertime"
  44528. ],
  44529. "properties": {
  44530. "accountName": {
  44531. "description": "所属账号名称(已脱敏)",
  44532. "type": "string"
  44533. },
  44534. "accountid": {
  44535. "description": "资金账号",
  44536. "type": "integer"
  44537. },
  44538. "buyorsell": {
  44539. "description": "方向 - 0:买 1:卖",
  44540. "type": "integer"
  44541. },
  44542. "enableqty": {
  44543. "description": "可摘数量",
  44544. "type": "integer"
  44545. },
  44546. "goodscode": {
  44547. "description": "商品代码",
  44548. "type": "string"
  44549. },
  44550. "goodsid": {
  44551. "description": "商品ID",
  44552. "type": "integer"
  44553. },
  44554. "goodsname": {
  44555. "description": "商品名称",
  44556. "type": "string"
  44557. },
  44558. "orderid": {
  44559. "description": "委托单号",
  44560. "type": "string"
  44561. },
  44562. "orderprice": {
  44563. "description": "委托价格",
  44564. "type": "number"
  44565. },
  44566. "ordertime": {
  44567. "description": "委托时间",
  44568. "type": "string"
  44569. },
  44570. "tradedate": {
  44571. "description": "交易日(yyyyMMdd)",
  44572. "type": "string"
  44573. }
  44574. }
  44575. },
  44576. "user.LoginQueryRsp": {
  44577. "type": "object",
  44578. "properties": {
  44579. "areaRoles": {
  44580. "description": "所属角色信息",
  44581. "type": "array",
  44582. "items": {
  44583. "$ref": "#/definitions/models.Arearole"
  44584. }
  44585. },
  44586. "externalExchanges": {
  44587. "description": "外部交易所",
  44588. "type": "array",
  44589. "items": {
  44590. "$ref": "#/definitions/models.Externalexchange"
  44591. }
  44592. },
  44593. "goodsgroups": {
  44594. "description": "商品组",
  44595. "type": "array",
  44596. "items": {
  44597. "$ref": "#/definitions/models.Goodsgroup"
  44598. }
  44599. },
  44600. "loginAccount": {
  44601. "description": "登录账号",
  44602. "$ref": "#/definitions/models.Loginaccount"
  44603. },
  44604. "markets": {
  44605. "description": "市场",
  44606. "type": "array",
  44607. "items": {
  44608. "$ref": "#/definitions/models.Market"
  44609. }
  44610. },
  44611. "systemParams": {
  44612. "description": "系统参数",
  44613. "type": "array",
  44614. "items": {
  44615. "$ref": "#/definitions/models.Systemparam"
  44616. }
  44617. },
  44618. "userAccount": {
  44619. "description": "用户账号",
  44620. "$ref": "#/definitions/models.Useraccount"
  44621. },
  44622. "userInfo": {
  44623. "description": "用户信息",
  44624. "$ref": "#/definitions/models.Userinfo"
  44625. },
  44626. "username": {
  44627. "description": "用户姓名",
  44628. "type": "string"
  44629. }
  44630. }
  44631. }
  44632. },
  44633. "securityDefinitions": {
  44634. "ApiKeyAuth": {
  44635. "type": "apiKey",
  44636. "name": "Authorization",
  44637. "in": "header"
  44638. }
  44639. }
  44640. }`
  44641. type swaggerInfo struct {
  44642. Version string
  44643. Host string
  44644. BasePath string
  44645. Schemes []string
  44646. Title string
  44647. Description string
  44648. }
  44649. // SwaggerInfo holds exported Swagger Info so clients can modify it
  44650. var SwaggerInfo = swaggerInfo{
  44651. Version: "1.0",
  44652. Host: "",
  44653. BasePath: "/api",
  44654. Schemes: []string{},
  44655. Title: "MTP2.0 查询服务 API",
  44656. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  44657. }
  44658. type s struct{}
  44659. func (s *s) ReadDoc() string {
  44660. sInfo := SwaggerInfo
  44661. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  44662. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  44663. "marshal": func(v interface{}) string {
  44664. a, _ := json.Marshal(v)
  44665. return string(a)
  44666. },
  44667. }).Parse(doc)
  44668. if err != nil {
  44669. return doc
  44670. }
  44671. var tpl bytes.Buffer
  44672. if err := t.Execute(&tpl, sInfo); err != nil {
  44673. return doc
  44674. }
  44675. return tpl.String()
  44676. }
  44677. func init() {
  44678. swag.Register(swag.Name, &s{})
  44679. }